WO2022011765A1 - Method and apparatus for establishing point-to-point communication connection, and storage medium - Google Patents

Method and apparatus for establishing point-to-point communication connection, and storage medium Download PDF

Info

Publication number
WO2022011765A1
WO2022011765A1 PCT/CN2020/108350 CN2020108350W WO2022011765A1 WO 2022011765 A1 WO2022011765 A1 WO 2022011765A1 CN 2020108350 W CN2020108350 W CN 2020108350W WO 2022011765 A1 WO2022011765 A1 WO 2022011765A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
parameter
establishing
data
terminal
Prior art date
Application number
PCT/CN2020/108350
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 成都极米科技股份有限公司
Publication of WO2022011765A1 publication Critical patent/WO2022011765A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of wireless communication, and in particular, to a method, device and storage medium for establishing a point-to-point communication connection.
  • 802.11be networking also known as Extremely High Throughput (EHT) networking
  • EHT Extremely High Throughput
  • WLANs wireless local area networks
  • video traffic will continue to be the dominant traffic type in many WLAN deployments.
  • the throughput requirements of these applications are evolving due to the advent of 4k and 8k video (20Gbps uncompressed rate).
  • New high-throughput, low-latency applications such as virtual or augmented reality, gaming, remote offices, and cloud computing will proliferate (for example, real-time gaming with sub-5ms latency).
  • 802.11be networks are designed to ensure WLAN competitiveness by further increasing overall throughput and reducing latency, while ensuring backward compatibility and coexistence with legacy technology standards. 802.11 compatible devices operating in the 2.4GHz, 5GHz and 6GHz bands.
  • a point-to-point communication enhancement method based on AP scheduling is proposed.
  • the AP schedules the wireless resources uniformly. While reducing the intermediate transmission nodes and reducing the transmission delay, it ensures that the transmission and reception of other devices in the network will not be lost due to interference. .
  • 802.11be in order to improve the data throughput and reduce the data transmission delay, it is proposed to use the point-to-point (P2P) transmission controlled by network access devices (such as routers, network access points, APs, etc., and the AP will be used as an example for illustration below).
  • P2P point-to-point
  • network access devices such as routers, network access points, APs, etc.
  • the AP will be used as an example for illustration below.
  • 802.11 network supports direct device connection, which is also a point-to-point transmission method, but in the previous two scenarios, the first is without AP, so that the transmission will not interfere with the transmission of other devices, and the second is with AP , after the two devices establish a connection through the AP, they will transmit directly. In this mode, it will cause interference to the data transmission between other devices within the coverage area of the AP and the AP. Therefore, it is proposed in 802.11be that the AP allocates point-to-point Wireless resources for communication, so as to avoid
  • This application is based on such a background, and proposes a network access device that controls the devices in the network to perform point-to-point connections, and uniformly allocates resources used for point-to-point connections in the entire network, so as to ensure network performance and provide transmission flexibility. .
  • the present application provides a method for establishing a point-to-point communication connection, including: sending capability information to a network access device, where the capability information includes a parameter P2P mode, which is used to indicate whether a terminal supports a point-to-point operation; sending a data-bearing message to the network Access device, the message carrying the data includes the source address and the destination address; receiving the P2P setup message sent by the network access device, the P2P setup message includes the parameter P2P parameter set, the parameter P2P parameter set is used to indicate the resources allocated to the point-to-point operation .
  • the capability information includes a parameter P2P mode, which is used to indicate whether a terminal supports a point-to-point operation
  • sending a data-bearing message to the network Access device, the message carrying the data includes the source address and the destination address
  • receiving the P2P setup message sent by the network access device the P2P setup message includes the parameter P2P parameter set, the parameter P2P parameter set is used to indicate the resources allocated to the
  • the parameter P2P parameter set contains the fields MCS, P2P bitmap and P2P interval, or contains the fields Link, P2P bitmap and P2P interval, or contains the fields P2P duration, or contains the fields P2P duration and Channel, or contains the fields P2P duration and P2P interval ,
  • MCS is used to indicate the modulation and coding method used in point-to-point operations
  • P2P bitmap is used to indicate the distribution of point-to-point time slots and ordinary time slots within a time slot allocation period
  • P2P interval is used to indicate the time slot allocation period
  • Link It is used to identify the specified link in the multi-link network system
  • P2P duration is used to indicate the duration of resource occupied by the point-to-point operation
  • Channel is used to indicate the channel used by the point-to-point operation or the frequency band used by the point-to-point operation.
  • the P2P setup message also includes a parameter P2P option, where the parameter P2P option is used to indicate a point-to-point operation mode.
  • the parameter P2P option includes one or more of the following items: setup, which means establishing a point-to-point connection; release, which means releasing the point-to-point connection; reject, which means rejecting the point-to-point connection.
  • the method further includes: directly sending the data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set.
  • the method further includes: if the value of the parameter P2P option indicates that a point-to-point connection is established, sending the data directly to the peer-to-peer operation resource provided in the parameter P2P parameter set. peer terminal.
  • the specific sending method of directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: modulating and coding the data packet according to the MCS in the parameter, and then using the P2P bitmap The data is sent during the period specified in the P2P interval, and periodic data transmission is performed according to the period of the P2P interval.
  • the specific sending method of directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: according to the Link in the parameter, on the specified link according to the P2P bitmap The data is sent during the period specified in the P2P interval, and periodic data transmission is performed according to the period of the P2P interval.
  • the specific sending method for directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: sending the data within the duration indicated by the P2P duration.
  • the specific sending method for directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: within the time period indicated by the P2P duration, in the channel indicated by the Channel where the channel is located. data is sent on the frequency band.
  • the specific sending method of directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: sending the data within the time period indicated by the P2P duration, and sending the data according to the P2P interval Periodic data transmission is performed at the indicated period.
  • sending the data directly to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: acquiring the signal strength or signal quality of the peer terminal, and converting the acquired signal strength or signal strength of the peer terminal. The quality is compared with the preset threshold value. If the signal strength or signal quality of the peer terminal is greater than or equal to the preset threshold value, the data will be sent directly to the peer-to-peer operation resources given in the parameter P2P parameter set. peer terminal.
  • sending the data directly to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: acquiring the signal strength or signal quality of the peer terminal, and converting the acquired signal strength or signal strength of the peer terminal. The quality is compared with a preset threshold value, and if the signal strength or signal quality of the peer terminal is less than the preset threshold value, the data to be sent to the peer terminal is sent to the network access device.
  • the method before receiving the P2P setup message sent by the network access device, the method further includes: receiving a trigger message sent by the network access device, the trigger message includes a parameter Target, and the parameter Target is used to indicate the target to be measured; obtaining; The signal strength or signal quality of the target to be measured is sent to the network access device including the acquired signal strength or signal quality of the target to be measured.
  • the trigger message also includes the parameter Measure enable, and the parameter Measure enable is used to indicate whether to instruct the terminal to perform measurement.
  • Measure enable indicates that the terminal is instructed to perform measurement, the terminal obtains the signal strength or signal quality of the target to be measured.
  • the method further includes: periodically measuring the signal strength or signal quality of the target to be measured at the period of the P2P interval, and sending the measurement to the network access device.
  • the present application provides a method for establishing a point-to-point communication connection, including: receiving capability information sent by a terminal, where the capability information includes a parameter P2P mode, which is used to indicate whether the terminal supports a point-to-point operation; receiving a data-bearing message sent by the terminal, The message carrying the data includes the source address and the target address; confirm that the terminal corresponding to the target address is within the coverage of the network access device; check whether the terminals corresponding to the source address and the target address support point-to-point operations; send a P2P setup message to the terminal, The P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used to indicate the resources allocated to the peer-to-peer operation.
  • the capability information includes a parameter P2P mode, which is used to indicate whether the terminal supports a point-to-point operation
  • receiving a data-bearing message sent by the terminal The message carrying the data includes the source address and the target address; confirm that the terminal corresponding to the target
  • the parameter P2P parameter set contains the fields MCS, P2P bitmap and P2P interval, or contains the fields Link, P2P bitmap and P2P interval, or contains the fields P2P duration, or contains the fields P2P duration and Channel, or contains the fields P2P duration and P2P interval ,
  • MCS is used to indicate the modulation and coding method used in point-to-point operations
  • P2P bitmap is used to indicate the distribution of point-to-point time slots and ordinary time slots within a time slot allocation period
  • P2P interval is used to indicate the time slot allocation period
  • Link It is used to identify the specified link in the multi-link network system
  • P2P duration is used to indicate the duration of resource occupied by the point-to-point operation
  • Channel is used to indicate the channel used by the point-to-point operation or the frequency band used by the point-to-point operation.
  • the P2P setup message also includes a parameter P2P option, where the parameter P2P option is used to indicate a point-to-point operation mode.
  • the parameter P2P option includes one or more of the following items: setup, which means establishing a point-to-point connection; release, which means releasing the point-to-point connection; reject, which means rejecting the point-to-point connection.
  • the method before sending the P2P setup message to the terminal, the method further includes: sending a trigger message to the terminal, where the trigger message includes a parameter Target, and the parameter Target is used to indicate the target to be measured; Information about the signal strength or signal quality of the target to be measured; compares the signal strength or signal quality of the target to be measured with a preset threshold.
  • the trigger message also includes the parameter Measure enable, and the parameter Measure enable is used to indicate whether to instruct the terminal to perform measurement.
  • the method further includes: periodically receiving a message containing the signal strength or signal quality of the target to be measured sent by the terminal; sending each time the signal strength or signal quality of the target to be measured sent by the terminal Compare with the preset threshold value, if the signal strength or signal quality of the target to be measured is greater than or equal to the preset threshold value, no operation is performed.
  • the method further includes: periodically receiving a message containing the signal strength or signal quality of the target to be measured sent by the terminal; The quality is compared with the preset threshold value. If the signal strength or signal quality of the target to be measured is less than the preset threshold value, a P2P setup message is sent to the terminal, and the parameter P2P option in the P2P setup message is set to indicate Release the point-to-point connection.
  • the present application provides an apparatus for establishing a point-to-point communication connection, including: a capability information sending module, configured to send capability information to a network access device, where the capability information includes a parameter P2P mode, which is used to indicate whether the terminal supports a point-to-point operation;
  • the data-bearing message sending module is used to send the data-bearing message to the network access device, and the data-bearing message includes the source address and the destination address;
  • the P2P setup message receiving module is used to receive the P2P setup message sent by the network access device , the P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used to indicate the resources allocated to the point-to-point operation.
  • the present application provides an apparatus for establishing a point-to-point communication connection, comprising: a capability information receiving module for receiving capability information sent by a terminal, the capability information including a parameter P2P mode, which is used to indicate whether the terminal supports a point-to-point operation; bears data
  • the message receiving module is used to receive the data-bearing message sent by the terminal, and the data-bearing message includes the source address and the target address;
  • the confirmation module is used to confirm that the terminal corresponding to the target address is within the coverage of the network access device; view
  • view is used to check whether the terminals corresponding to the source address and the target address support point-to-point operations;
  • the P2P setup message sending module is used to send the P2P setup message to the terminal.
  • the P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used for Indicates the resources allocated for peer-to-peer operations.
  • the present application provides an apparatus for establishing a point-to-point communication connection, comprising: a memory for storing a program; a processor coupled to the memory, wherein the processor is configured to run the program, so that the apparatus executes the The method for establishing a point-to-point communication connection according to any one of the first aspect or possible implementation manners of the first aspect.
  • the present application provides an apparatus for establishing a point-to-point communication connection, comprising: a memory for storing a program; a processor coupled to the memory, wherein the processor is configured to run the program, so that the apparatus executes the The method for establishing a point-to-point communication connection according to any one of the second aspect or possible implementation manners of the second aspect.
  • the present application provides a computer-readable storage medium, comprising computer instructions, which, when executed by a processor, can implement the first aspect or a possible implementation manner of the first aspect or the second aspect or the first aspect.
  • the method for establishing a point-to-point communication connection is described in any one of the possible implementation manners of the second aspect.
  • the devices described in the third aspect to the sixth aspect and the computer-readable storage medium described in the seventh aspect in this application are used to execute the method provided in the first aspect or the second aspect, and therefore can To achieve the same beneficial effects as the method described in the first aspect or the second aspect, the embodiments of the present application will not be repeated here.
  • the present application realizes that the network access equipment controls the equipment in the network to perform point-to-point connection, and the resources used for the point-to-point connection are uniformly allocated in the entire network, so as to ensure network performance and provide transmission flexibility.
  • the present application also obtains the signal strength or signal quality of the peer terminal, the terminal or network access device compares it with a preset threshold value, and then the terminal performs different sending behaviors or network access device judgments according to the comparison result Whether to perform P2P operation to ensure the quality of P2P communication.
  • FIG. 1 is a flowchart of a method for establishing a point-to-point communication connection according to an embodiment of the present application
  • FIG. 2 is a flowchart of another method for establishing a point-to-point communication connection according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of time slot distribution in a time slot period according to an embodiment of the present application.
  • FIG. 4 is a flowchart of another method for establishing a point-to-point communication connection according to an embodiment of the present application.
  • STA represents the terminal in the wireless local area network
  • AP represents the network access point in the wireless local area network
  • the P2P service identifies the data transmission path between the terminals without passing through the AP, and the service directly transmitted between the two terminals .
  • STA1 and STA2 are two terminals within the coverage of the AP, and in the present invention, STA1 and STA2 use the P2P mode to communicate.
  • the initiator the first party that initiates a request for a P2P connection
  • the target STA that the initiator requests for connection is called the peer.
  • a time slot is the smallest time unit in a wireless local area network. For example, if a slot is set to 9 microseconds, the transmission time is 5 slots, which is 45 microseconds.
  • the video transmission service model is used as the standard of the P2P service model.
  • Pixel size 24bits/pixel
  • the MCS corresponding rate table such as Table 1, calculate the transmission time, and then determine the number of slots required to transmit a frame of data according to the time value of each slot.
  • FIG. 1 is a flowchart of a method for establishing a point-to-point communication connection according to an embodiment of the present application. As shown in Figure 1, the method for establishing a point-to-point communication connection includes the following steps:
  • the terminal sends capability information to the network access device.
  • the capability information includes the parameter P2P mode, which is used to indicate whether the terminal supports point-to-point operation.
  • the initiating terminal sends a data-bearing message to the network access device, and the data-bearing message includes a source address and a destination address.
  • the network access device confirms that the peer terminal is within its coverage.
  • the network access device checks whether both the initiating terminal and the peer terminal support P2P operations.
  • the network access device sends a P2P setup message to the initiating terminal.
  • the P2P setup message contains the parameter P2P parameter set, which is used to indicate the resources allocated to the point-to-point operation.
  • the P2P setup message also includes a parameter P2P option, where the parameter P2P option is used to indicate a point-to-point operation mode.
  • the initiating terminal receives the P2P setup message sent by the network access device.
  • the method for establishing a point-to-point communication connection further includes the step of directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set. If the P2P setup message also contains the parameter P2P option, when the value of the parameter P2P option indicates that a point-to-point connection is established, the data is directly sent to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set.
  • the network access device may be a router, a network access point AP, etc., and the AP is used as an example for description below.
  • FIG. 2 is a flowchart of another method for establishing a point-to-point communication connection according to an embodiment of the present application. As shown in Figure 2, the method for establishing a point-to-point communication connection includes the following steps:
  • STA1 connects to the AP, and sends the capability information of STA1 to the AP.
  • the parameters included in the capability information are shown in Table 2.
  • STA1 may send its capability information to the AP in a probe request or association request or reassociation request.
  • STA2 connects to the AP, and sends the capability information of STA2 to the AP.
  • STA1 has data that needs to be sent to STA2 (that is, STA1 is the initiating terminal and STA2 is the peer terminal), then STA1 sends a data-carrying message to the AP.
  • data-carrying message in “data” ” can refer to both business data and service request indications.
  • the data-carrying message contains the following parameters:
  • SA source address, here is set to the address of STA1;
  • DA target address, here is set to the address of STA2;
  • Payload Data sent from STA1 to STA2.
  • the AP checks the DA parameters and confirms that the corresponding STA2 is within the coverage of the AP.
  • the AP checks whether both STA1 and STA2 support the P2P operation. If they do, it sends a P2P setup message to STA1.
  • the P2P setup message contains the following parameters:
  • P2P parameter set This parameter is used to indicate the resources allocated to the P2P operation.
  • the parameter P2P parameter set can be set as follows:
  • the P2P setup message also includes a parameter P2P option: this parameter is used to indicate a point-to-point operation mode, for example, set to "setup” means to establish a P2P connection; set to "release” means to release the P2P connection; set “reject” indicates that point-to-point connections are rejected.
  • RSSI signal strength
  • Q P1/(P1+N)
  • N the strength of the interference signal
  • STA1 compares the acquired signal strength or signal quality of STA2 with the preset threshold Th-RSSI, and if the signal strength or signal quality of STA2 is greater than or equal to Th-RSSI, according to the given value in the P2P parameter set in the P2P setup message.
  • the resource of the P2P operation is sent directly to the STA2.
  • the specific sending method includes:
  • the data packet is modulated and encoded according to the MCS in the parameter, and the data is sent in the period specified in the P2P bitmap, and periodic data transmission is carried out according to the period of the P2P interval.
  • MCS is 0, P2P interval is 10, P2P bitmap is ⁇ 1, 1, 1, 0, 0, 0, 0, 0, 0 ⁇ , where 1 means P2P time slot, 0 means normal time slot , such as P2P slot and Normal slot in Figure 3.
  • the slot in this embodiment includes 0 and 1, and may also use 00 and 01, and may also use other forms such as letters, which are not limited in this application.
  • STA1 sends data directly to STA2, and other terminals within the coverage area of the AP cannot perform data transmission.
  • all terminals within the coverage area of the AP can perform data transmission, so periodic data transmission is carried out with 10 time slots as a period.
  • the P2P parameter set contains Link, P2P bitmap and P2P interval, then according to the Link in the parameter, data is sent on the specified link according to the period specified in the P2P bitmap, and periodic data transmission is carried out according to the period of the P2P interval.
  • the P2P operation is performed in the P2P time slot specified in the P2P bitmap, STA1 sends data directly to STA2, and other terminals within the AP coverage area cannot perform data transmission. All terminals within the coverage area of the AP can transmit data in the ordinary time slot specified in
  • the data is sent within the duration indicated by the P2P duration. For example, if the P2P duration is 20, the P2P operation is performed within the 20 slots indicated by the P2P duration, and STA1 sends data directly to STA2, and other terminals within the coverage area of the AP cannot transmit data. In the remaining slots, the AP covers All terminals within range can transmit data.
  • the P2P parameter set includes P2P duration and Channel
  • data is sent on the frequency band where the channel indicated by Channel is located. For example, if the P2P duration is 20, and the frequency band used for the P2P operation indicated by Channel is 2, then within the 20 slots indicated by the P2P duration, the P2P operation is performed on frequency band 2, and STA1 sends data directly to STA2, within the coverage of the AP.
  • Other terminals in the AP cannot transmit data, and other bandwidths can still be provided to other terminals. In the remaining slots, all terminals within the coverage area of the AP can transmit data.
  • the data is sent within the time period indicated by the P2P duration, and periodic data transmission is performed according to the period indicated by the P2P interval.
  • the P2P duration is less than the P2P interval. For example, if the P2P duration is 5 and the P2P interval is 10, the P2P operation is performed within the 5 slots indicated by the P2P duration, STA1 sends data directly to STA2, and other terminals within the coverage of the AP cannot transmit data. For the remaining slots, all terminals within the coverage area of the AP can perform data transmission, so periodic data transmission is performed with 10 time slots as a period.
  • STA1 compares the acquired signal strength or signal quality of STA2 with the preset threshold Th-RSSI. If the signal strength or signal quality of STA2 is less than Th-RSSI, it will send the data that needs to be sent to STA2 to the AP .
  • FIG. 4 is a flowchart of another method for establishing a point-to-point communication connection according to an embodiment of the present application. As shown in Figure 4, the method for establishing a point-to-point communication connection includes the following steps:
  • STA1 connects to the AP, and sends the capability information of STA1 to the AP.
  • the parameters included in the capability information are shown in Table 3.
  • STA2 connects to the AP, and sends the capability information of STA2 to the AP.
  • STA1 has data that needs to be sent to STA2 (that is, STA1 is the initiating terminal and STA2 is the peer terminal), then STA1 sends a data-carrying message to the AP.
  • data-carrying message in “data” ” can refer to both business data and service request indications.
  • the data-carrying message contains the following parameters:
  • SA source address, here is set to the address of STA1;
  • DA target address, here is set to the address of STA2;
  • Payload Data sent from STA1 to STA2.
  • the AP checks the DA parameters and confirms that the corresponding STA2 is within the coverage of the AP.
  • the AP checks whether both STA1 and STA2 support the P2P operation, and if both support it, it sends a trigger message to STA1.
  • the message contains the following parameters:
  • Target used to indicate the target to be measured, which is set to the identity or address of STA2 here.
  • the trigger message also includes a parameter Measure enable: used to indicate whether to instruct the terminal to perform measurement, for example, setting it to 1 indicates that the terminal is instructed to perform measurement.
  • STA1 After receiving the trigger message from the AP, STA1 performs measurement on STA2, obtains the signal strength or signal quality of STA2, and sends a message including the obtained signal strength or signal quality of STA2 to the AP.
  • the AP After the AP receives the measurement result, it compares the reported signal strength or signal quality of STA2 with the preset threshold Th-RSSI. If the signal strength or signal quality of STA2 is greater than or equal to Th-RSSI, it sends a P2P setup message For STA1, for example, the P2P setup message contains the following parameters:
  • P2P parameter set This parameter is used to indicate the resources allocated to P2P operations.
  • P2P parameter set This parameter is used to indicate the resources allocated to P2P operations.
  • the P2P setup message also includes a parameter P2P option: this parameter is used to indicate a point-to-point operation mode, for example, set to "setup” means to establish a P2P connection; set to "release” means to release the P2P connection; set “reject” indicates that point-to-point connections are rejected.
  • STA1 After STA1 receives the P2P setup message sent by the AP, it directly sends the data to STA2 according to the resources of the P2P operation given in the P2P parameter set in the P2P setup message. In some embodiments, if the P2P setup message contains the parameter P2P option, when the value of the P2P option is "setup", STA1 directly sends data to STA2 according to the resources of the P2P operation given in the P2P parameter set in the P2P setup message. For the specific sending manner, reference may be made to step 6 in the embodiment shown in FIG. 2 , which will not be repeated here.
  • the method of establishing a point-to-point communication connection further comprises the steps of:
  • STA1 measures the signal strength or signal quality of STA2 with the P2P interval as the period, and sends it to the AP during the non-P2P operation period.
  • the AP compares the signal strength or signal quality of STA2 sent by STA1 with Th-RSSI each time. If the signal strength or signal quality of STA2 is greater than or equal to Th-RSSI, no operation is performed. If the quality is less than Th-RSSI, send a P2P setup message to STA1, and set the P2P option to "release" in the message, indicating that the P2P connection is released.
  • STA1 After STA1 receives the P2P setup message sent by the AP, if the value of the P2P option is "release", STA1 ends the P2P operation and sends the data to be sent to STA2 to the AP.
  • the embodiment of the present application also provides an apparatus for establishing a point-to-point communication connection, including: a capability information sending module, configured to send capability information to a network access device, where the capability information includes a parameter P2P mode, which is used to indicate whether the terminal supports a point-to-point operation; bearer
  • the data message sending module is used to send the data-bearing message to the network access device, and the data-bearing message includes the source address and the destination address;
  • the P2P setup message receiving module is used to receive the P2P setup message sent by the network access device,
  • the P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used to indicate the resources allocated to the peer-to-peer operation.
  • the embodiment of the present application also provides another device for establishing a point-to-point communication connection, including: a capability information receiving module, configured to receive capability information sent by a terminal, where the capability information includes a parameter P2P mode, which is used to indicate whether the terminal supports point-to-point operations; bearer data
  • the message receiving module is used to receive the data-bearing message sent by the terminal, and the data-bearing message includes the source address and the target address;
  • the confirmation module is used to confirm that the terminal corresponding to the target address is within the coverage of the network access device; view The module is used to check whether the terminals corresponding to the source address and the target address support point-to-point operations;
  • the P2P setup message sending module is used to send the P2P setup message to the terminal.
  • the P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used for Indicates the resources allocated for peer-to-peer operations.
  • Embodiments of the present application further provide an apparatus for establishing a point-to-point communication connection, including a memory for storing a program, and a processor coupled to the memory, wherein the processor is configured to run the program, so that all The apparatus executes the method involved in the embodiment shown in FIG. 1 or FIG. 2 or FIG. 4 .
  • Embodiments of the present application further provide a computer-readable storage medium, including computer instructions, which, when executed by a processor, can implement the methods involved in the embodiments shown in FIG. 1 or FIG. 2 or FIG. 4 .
  • the device and computer-readable storage medium for establishing a point-to-point communication connection provided by the embodiments of the present application are used to execute the method involved in the embodiment shown in FIG. 1 or FIG. 2 or FIG.
  • the beneficial effects of the methods involved in the embodiments shown in FIG. 2 or FIG. 4 are the same, and the embodiments of the present application will not be repeated here.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the modules is only a logical function division. In actual implementation, there may be other division methods.
  • multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of modules or units, and may be in electrical, mechanical or other forms.
  • modules described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, a network device or a terminal device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, removable hard disk, ROM, RAM) disk or optical disk and other media that can store program codes.
  • the words “if” or “if” as used herein may be interpreted as “at” or “when” or “in response to determining” or “in response to detecting.”
  • the phrases “if determined” or “if detected (the stated condition or event)” can be interpreted as “when determined” or “in response to determining” or “when detected (the stated condition or event),” depending on the context )” or “in response to detection (a stated condition or event)”.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a method and apparatus for establishing a point-to-point communication connection, and a storage medium. The method comprises: sending capability information to a network access device, wherein the capability information includes a parameter P2P mode and is used for representing whether a terminal supports a point-to-point operation; sending a data-bearing message to the network access device, wherein the data-bearing message comprises a source address and a target address; and receiving a P2P setup message sent by the network access device, wherein the P2P setup message includes a parameter P2P parameter set, and the parameter P2P parameter set is used for indicating a resource allocated to the point-to-point operation. By means of the present application, a network access device controls a device in a network to perform a point-to-point connection, and resources used during point-to-point connection are uniformly allocated in the whole network, such that transmission flexibility is provided while network performance is guaranteed.

Description

建立点对点通信连接的方法、装置及存储介质Method, device and storage medium for establishing point-to-point communication connection 技术领域technical field
本申请涉及无线通信领域,尤其涉及一种建立点对点通信连接的方法、装置及存储介质。The present application relates to the field of wireless communication, and in particular, to a method, device and storage medium for establishing a point-to-point communication connection.
背景技术Background technique
802.11be网络,也称为Extremely High Throughput(EHT)网络,通过一系列***特性和多种机制增强功能以实现极高的吞吐量。随着无线局域网(WLAN)的使用持续增长,对于在许多环境(例如家庭,企业和热点)中提供无线数据服务越来越重要。特别是,视频流量将继续是许多WLAN部署中的主要流量类型。由于出现了4k和8k视频(20Gbps的未压缩速率),这些应用的吞吐量要求正在不断发展。诸如虚拟现实或增强现实,游戏,远程办公室和云计算之类的新型高吞吐量,低延迟应用程序将会激增(例如,实时游戏的延迟低于5毫秒)。802.11be networking, also known as Extremely High Throughput (EHT) networking, is enhanced by a number of system features and mechanisms to achieve extremely high throughput. As the use of wireless local area networks (WLANs) continues to grow, it is increasingly important to provide wireless data services in many environments, such as homes, businesses, and hotspots. In particular, video traffic will continue to be the dominant traffic type in many WLAN deployments. The throughput requirements of these applications are evolving due to the advent of 4k and 8k video (20Gbps uncompressed rate). New high-throughput, low-latency applications such as virtual or augmented reality, gaming, remote offices, and cloud computing will proliferate (for example, real-time gaming with sub-5ms latency).
鉴于这些应用程序的高吞吐量和严格的实时延迟要求,用户期望通过WLAN支持其应用程序时,吞吐量更高,可靠性更高,延迟和抖动更少,电源效率更高。用户期望改进与时敏网络(TSN)的集成,以支持异构以太网和无线LAN上的应用程序。802.11be网络旨在通过进一步提高总吞吐量和降低延迟来确保WLAN的竞争力,同时确保与旧版技术标准向后兼容和共存。在2.4GHz,5GHz和6GHz频段运行的802.11兼容设备。Given the high throughput and stringent real-time latency requirements of these applications, users expect higher throughput, higher reliability, less latency and jitter, and better power efficiency when supporting their applications over WLAN. Users expect improved integration with Time Sensitive Networking (TSN) to support applications over heterogeneous Ethernet and wireless LANs. 802.11be networks are designed to ensure WLAN competitiveness by further increasing overall throughput and reducing latency, while ensuring backward compatibility and coexistence with legacy technology standards. 802.11 compatible devices operating in the 2.4GHz, 5GHz and 6GHz bands.
在802.11be网络中,提出了基于AP调度的点对点通信增强方式,由AP统一调度无线资源,在减少中间传输节点和降低传输延迟的同时,保证网络内其他设备的收发不会因为干扰而丢包。In the 802.11be network, a point-to-point communication enhancement method based on AP scheduling is proposed. The AP schedules the wireless resources uniformly. While reducing the intermediate transmission nodes and reducing the transmission delay, it ensures that the transmission and reception of other devices in the network will not be lost due to interference. .
发明内容SUMMARY OF THE INVENTION
在802.11be网络中,为了提升数据吞吐量和减少数据传输延迟,提出采用网络接入设备(如路由器、网络接入点AP等,以下直接以AP为例进行说明)控制的点对点(P2P)传输方式。在此之前,802.11网络中支持设备直连,也是点对点的一种传输方式,但是之前的两种场景下,第一是无AP,这样传输不会对其他设备传输有干扰,第二是有AP,两个设备通过AP建立连接后,直接传输,在这种模式下,会对AP覆盖范围内的其他设备与AP之间的数据传输造成 干扰,因此在802.11be中提出,由AP来分配点对点通信的无线资源,从而避免在有AP的场景下,点对点通信对整个网络性能和吞吐量造成的影响。In the 802.11be network, in order to improve the data throughput and reduce the data transmission delay, it is proposed to use the point-to-point (P2P) transmission controlled by network access devices (such as routers, network access points, APs, etc., and the AP will be used as an example for illustration below). Way. Before that, 802.11 network supports direct device connection, which is also a point-to-point transmission method, but in the previous two scenarios, the first is without AP, so that the transmission will not interfere with the transmission of other devices, and the second is with AP , after the two devices establish a connection through the AP, they will transmit directly. In this mode, it will cause interference to the data transmission between other devices within the coverage area of the AP and the AP. Therefore, it is proposed in 802.11be that the AP allocates point-to-point Wireless resources for communication, so as to avoid the impact of point-to-point communication on the performance and throughput of the entire network in scenarios with APs.
本申请就是基于这样的背景下,提出一种由网络接入设备控制网络内的设备进行点对点连接,并在整个网络内统一分配点对点连接时使用的资源,保障网络性能的同时提供传输的灵活性。This application is based on such a background, and proposes a network access device that controls the devices in the network to perform point-to-point connections, and uniformly allocates resources used for point-to-point connections in the entire network, so as to ensure network performance and provide transmission flexibility. .
第一方面,本申请提供一种建立点对点通信连接的方法,包括:发送能力信息给网络接入设备,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作;发送承载数据的消息给网络接入设备,承载数据的消息中包含源地址和目标地址;接收网络接入设备发送的P2P setup消息,P2P setup消息中包含参数P2P parameter set,参数P2P parameter set用于指示分配给点对点操作的资源。In a first aspect, the present application provides a method for establishing a point-to-point communication connection, including: sending capability information to a network access device, where the capability information includes a parameter P2P mode, which is used to indicate whether a terminal supports a point-to-point operation; sending a data-bearing message to the network Access device, the message carrying the data includes the source address and the destination address; receiving the P2P setup message sent by the network access device, the P2P setup message includes the parameter P2P parameter set, the parameter P2P parameter set is used to indicate the resources allocated to the point-to-point operation .
示例地,参数P2P parameter set包含字段MCS、P2P bitmap和P2P interval,或包含字段Link、P2P bitmap和P2P interval,或包含字段P2P duration,或包含字段P2P duration和Channel,或包含字段P2P duration和P2P interval,其中,MCS用于指示点对点操作时使用的调制编码方式;P2P bitmap用于表示在一个时隙分配周期内,点对点时隙和普通时隙的分布;P2P interval用于表示时隙分配周期;Link用于在多链路网络***中标识指定的链路;P2P duration用于指示点对点操作对资源占有的时长;Channel用于指示点对点操作使用的信道或点对点操作使用的频段。Illustratively, the parameter P2P parameter set contains the fields MCS, P2P bitmap and P2P interval, or contains the fields Link, P2P bitmap and P2P interval, or contains the fields P2P duration, or contains the fields P2P duration and Channel, or contains the fields P2P duration and P2P interval , where MCS is used to indicate the modulation and coding method used in point-to-point operations; P2P bitmap is used to indicate the distribution of point-to-point time slots and ordinary time slots within a time slot allocation period; P2P interval is used to indicate the time slot allocation period; Link It is used to identify the specified link in the multi-link network system; P2P duration is used to indicate the duration of resource occupied by the point-to-point operation; Channel is used to indicate the channel used by the point-to-point operation or the frequency band used by the point-to-point operation.
可选地,P2P setup消息中还包含参数P2P option,参数P2P option用于表示点对点的操作方式。Optionally, the P2P setup message also includes a parameter P2P option, where the parameter P2P option is used to indicate a point-to-point operation mode.
示例地,参数P2P option包含以下各项中一者或者多者:setup,表示建立点对点连接;release,表示释放点对点连接;reject,表示拒绝点对点连接。For example, the parameter P2P option includes one or more of the following items: setup, which means establishing a point-to-point connection; release, which means releasing the point-to-point connection; reject, which means rejecting the point-to-point connection.
可选地,该方法还包括:根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端。Optionally, the method further includes: directly sending the data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set.
可选地,当P2P setup消息中包含参数P2P option时,该方法还包括:如果参数P2P option的值表示建立点对点连接,则根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端。Optionally, when the parameter P2P option is included in the P2P setup message, the method further includes: if the value of the parameter P2P option indicates that a point-to-point connection is established, sending the data directly to the peer-to-peer operation resource provided in the parameter P2P parameter set. peer terminal.
在一种可能的设计中,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端的具体发送方法包括:根据参数中的MCS对数据 包进行调制编码,在P2P bitmap中指定的时段发送数据,并按照P2P interval的周期进行周期性数据发送。In a possible design, the specific sending method of directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: modulating and coding the data packet according to the MCS in the parameter, and then using the P2P bitmap The data is sent during the period specified in the P2P interval, and periodic data transmission is performed according to the period of the P2P interval.
在另一种可能的设计中,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端的具体发送方法包括:根据参数中的Link在指定的链路上按照P2P bitmap中指定的时段发送数据,并按照P2P interval的周期进行周期性数据发送。In another possible design, the specific sending method of directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: according to the Link in the parameter, on the specified link according to the P2P bitmap The data is sent during the period specified in the P2P interval, and periodic data transmission is performed according to the period of the P2P interval.
在又一种可能的设计中,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端的具体发送方法包括:在P2P duration指示的时长内发送数据。In yet another possible design, the specific sending method for directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: sending the data within the duration indicated by the P2P duration.
在又一种可能的设计中,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端的具体发送方法包括:在P2P duration指示的时长内,在Channel指示的信道所在频段上发送数据。In another possible design, the specific sending method for directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: within the time period indicated by the P2P duration, in the channel indicated by the Channel where the channel is located. data is sent on the frequency band.
在又一种可能的设计中,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端的具体发送方法包括:在P2P duration指示的时长内发送数据,并按照P2P interval指示的周期进行周期性数据发送。In another possible design, the specific sending method of directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: sending the data within the time period indicated by the P2P duration, and sending the data according to the P2P interval Periodic data transmission is performed at the indicated period.
可选地,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端包括:获取对等终端的信号强度或信号质量,并将获取的对等终端的信号强度或信号质量与预设的门限值进行比较,若对等终端的信号强度或信号质量大于或等于预设的门限值,则根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端。Optionally, sending the data directly to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: acquiring the signal strength or signal quality of the peer terminal, and converting the acquired signal strength or signal strength of the peer terminal. The quality is compared with the preset threshold value. If the signal strength or signal quality of the peer terminal is greater than or equal to the preset threshold value, the data will be sent directly to the peer-to-peer operation resources given in the parameter P2P parameter set. peer terminal.
可选地,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端包括:获取对等终端的信号强度或信号质量,并将获取的对等终端的信号强度或信号质量与预设的门限值进行比较,若对等终端的信号强度或信号质量小于预设的门限值,则将需要发送给对等终端的数据发送给网络接入设备。Optionally, sending the data directly to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set includes: acquiring the signal strength or signal quality of the peer terminal, and converting the acquired signal strength or signal strength of the peer terminal. The quality is compared with a preset threshold value, and if the signal strength or signal quality of the peer terminal is less than the preset threshold value, the data to be sent to the peer terminal is sent to the network access device.
可选地,在接收网络接入设备发送的P2P setup消息前,该方法还包括:接收网络接入设备发送的触发消息,触发消息中包含参数Target,参数Target用于指示要测量的目标;获取要测量的目标的信号强度或信号质量,将包含获取的要测量的目标的信号强度或信号质量发送给网络接入设备。Optionally, before receiving the P2P setup message sent by the network access device, the method further includes: receiving a trigger message sent by the network access device, the trigger message includes a parameter Target, and the parameter Target is used to indicate the target to be measured; obtaining; The signal strength or signal quality of the target to be measured is sent to the network access device including the acquired signal strength or signal quality of the target to be measured.
示例地,触发消息中还包含参数Measure enable,参数Measure enable用于 表示是否指示终端执行测量,当Measure enable表示指示终端执行测量时,终端获取要测量的目标的信号强度或信号质量。For example, the trigger message also includes the parameter Measure enable, and the parameter Measure enable is used to indicate whether to instruct the terminal to perform measurement. When Measure enable indicates that the terminal is instructed to perform measurement, the terminal obtains the signal strength or signal quality of the target to be measured.
可选地,该方法还包括:以P2P interval的周期对要测量的目标的信号强度或信号质量进行周期性测量,并发送给网络接入设备。Optionally, the method further includes: periodically measuring the signal strength or signal quality of the target to be measured at the period of the P2P interval, and sending the measurement to the network access device.
第二方面,本申请提供一种建立点对点通信连接的方法,包括:接收终端发送的能力信息,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作;接收终端发送的承载数据的消息,承载数据的消息中包含源地址和目标地址;确认目标地址对应的终端在网络接入设备的覆盖范围内;查看源地址和目标地址对应的终端是否都支持点对点操作;发送P2P setup消息给终端,P2P setup消息中包含参数P2P parameter set,参数P2P parameter set用于指示分配给点对点操作的资源。In a second aspect, the present application provides a method for establishing a point-to-point communication connection, including: receiving capability information sent by a terminal, where the capability information includes a parameter P2P mode, which is used to indicate whether the terminal supports a point-to-point operation; receiving a data-bearing message sent by the terminal, The message carrying the data includes the source address and the target address; confirm that the terminal corresponding to the target address is within the coverage of the network access device; check whether the terminals corresponding to the source address and the target address support point-to-point operations; send a P2P setup message to the terminal, The P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used to indicate the resources allocated to the peer-to-peer operation.
示例地,参数P2P parameter set包含字段MCS、P2P bitmap和P2P interval,或包含字段Link、P2P bitmap和P2P interval,或包含字段P2P duration,或包含字段P2P duration和Channel,或包含字段P2P duration和P2P interval,其中,MCS用于指示点对点操作时使用的调制编码方式;P2P bitmap用于表示在一个时隙分配周期内,点对点时隙和普通时隙的分布;P2P interval用于表示时隙分配周期;Link用于在多链路网络***中标识指定的链路;P2P duration用于指示点对点操作对资源占有的时长;Channel用于指示点对点操作使用的信道或点对点操作使用的频段。Illustratively, the parameter P2P parameter set contains the fields MCS, P2P bitmap and P2P interval, or contains the fields Link, P2P bitmap and P2P interval, or contains the fields P2P duration, or contains the fields P2P duration and Channel, or contains the fields P2P duration and P2P interval , where MCS is used to indicate the modulation and coding method used in point-to-point operations; P2P bitmap is used to indicate the distribution of point-to-point time slots and ordinary time slots within a time slot allocation period; P2P interval is used to indicate the time slot allocation period; Link It is used to identify the specified link in the multi-link network system; P2P duration is used to indicate the duration of resource occupied by the point-to-point operation; Channel is used to indicate the channel used by the point-to-point operation or the frequency band used by the point-to-point operation.
可选地,P2P setup消息中还包含参数P2P option,参数P2P option用于表示点对点的操作方式。Optionally, the P2P setup message also includes a parameter P2P option, where the parameter P2P option is used to indicate a point-to-point operation mode.
示例地,参数P2P option包含以下各项中一者或者多者:setup,表示建立点对点连接;release,表示释放点对点连接;reject,表示拒绝点对点连接。For example, the parameter P2P option includes one or more of the following items: setup, which means establishing a point-to-point connection; release, which means releasing the point-to-point connection; reject, which means rejecting the point-to-point connection.
在一种可能的设计中,在发送P2P setup消息给终端前,该方法还包括:发送触发消息给终端,触发消息中包含参数Target,参数Target用于指示要测量的目标;接收终端发送的包含要测量的目标的信号强度或信号质量的消息;比较要测量的目标的信号强度或信号质量与预设的门限值。In a possible design, before sending the P2P setup message to the terminal, the method further includes: sending a trigger message to the terminal, where the trigger message includes a parameter Target, and the parameter Target is used to indicate the target to be measured; Information about the signal strength or signal quality of the target to be measured; compares the signal strength or signal quality of the target to be measured with a preset threshold.
示例地,触发消息中还包含参数Measure enable,参数Measure enable用于表示是否指示终端执行测量。For example, the trigger message also includes the parameter Measure enable, and the parameter Measure enable is used to indicate whether to instruct the terminal to perform measurement.
在一种可能的设计中,该方法还包括:周期性地接收终端发送的包含要测量的目标的信号强度或信号质量的消息;将每一次终端发送的要测量的目标的信号强度或信号质量与预设的门限值进行比较,如果要测量的目标的信号强度或信号质量大于或等于预设的门限值,则不做操作。In a possible design, the method further includes: periodically receiving a message containing the signal strength or signal quality of the target to be measured sent by the terminal; sending each time the signal strength or signal quality of the target to be measured sent by the terminal Compare with the preset threshold value, if the signal strength or signal quality of the target to be measured is greater than or equal to the preset threshold value, no operation is performed.
在另一种可能的设计中,该方法还包括:周期性地接收终端发送的包含要测量的目标的信号强度或信号质量的消息;将每一次终端发送的要测量的目标的信号强度或信号质量与预设的门限值进行比较,如果要测量的目标的信号强度或信号质量小于预设的门限值,则发送P2P setup消息给终端,将P2P setup消息中的参数P2P option设置为表示释放点对点连接。In another possible design, the method further includes: periodically receiving a message containing the signal strength or signal quality of the target to be measured sent by the terminal; The quality is compared with the preset threshold value. If the signal strength or signal quality of the target to be measured is less than the preset threshold value, a P2P setup message is sent to the terminal, and the parameter P2P option in the P2P setup message is set to indicate Release the point-to-point connection.
第三方面,本申请提供一种建立点对点通信连接的装置,包括:能力信息发送模块,用于发送能力信息给网络接入设备,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作;承载数据的消息发送模块,用于发送承载数据的消息给网络接入设备,承载数据的消息中包含源地址和目标地址;P2P setup消息接收模块,用于接收网络接入设备发送的P2P setup消息,P2P setup消息中包含参数P2P parameter set,参数P2P parameter set用于指示分配给点对点操作的资源。In a third aspect, the present application provides an apparatus for establishing a point-to-point communication connection, including: a capability information sending module, configured to send capability information to a network access device, where the capability information includes a parameter P2P mode, which is used to indicate whether the terminal supports a point-to-point operation; The data-bearing message sending module is used to send the data-bearing message to the network access device, and the data-bearing message includes the source address and the destination address; the P2P setup message receiving module is used to receive the P2P setup message sent by the network access device , the P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used to indicate the resources allocated to the point-to-point operation.
第四方面,本申请提供一种建立点对点通信连接的装置,包括:能力信息接收模块,用于接收终端发送的能力信息,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作;承载数据的消息接收模块,用于接收终端发送的承载数据的消息,承载数据的消息中包含源地址和目标地址;确认模块,用于确认目标地址对应的终端在网络接入设备的覆盖范围内;查看模块,用于查看源地址和目标地址对应的终端是否都支持点对点操作;P2P setup消息发送模块,用于发送P2P setup消息给终端,P2P setup消息中包含参数P2P parameter set,参数P2P parameter set用于指示分配给点对点操作的资源。In a fourth aspect, the present application provides an apparatus for establishing a point-to-point communication connection, comprising: a capability information receiving module for receiving capability information sent by a terminal, the capability information including a parameter P2P mode, which is used to indicate whether the terminal supports a point-to-point operation; bears data The message receiving module is used to receive the data-bearing message sent by the terminal, and the data-bearing message includes the source address and the target address; the confirmation module is used to confirm that the terminal corresponding to the target address is within the coverage of the network access device; view The module is used to check whether the terminals corresponding to the source address and the target address support point-to-point operations; the P2P setup message sending module is used to send the P2P setup message to the terminal. The P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used for Indicates the resources allocated for peer-to-peer operations.
第五方面,本申请提供一种建立点对点通信连接的装置,包括:存储器,用于存储程序;处理器,耦合到所述存储器,其中,所述处理器用于运行所述程序,使得装置执行如第一方面或第一方面的可能的实现方式中任一项所述建立点对点通信连接的方法。In a fifth aspect, the present application provides an apparatus for establishing a point-to-point communication connection, comprising: a memory for storing a program; a processor coupled to the memory, wherein the processor is configured to run the program, so that the apparatus executes the The method for establishing a point-to-point communication connection according to any one of the first aspect or possible implementation manners of the first aspect.
第六方面,本申请提供一种建立点对点通信连接的装置,包括:存储器,用 于存储程序;处理器,耦合到所述存储器,其中,所述处理器用于运行所述程序,使得装置执行如第二方面或第二方面的可能的实现方式中任一项所述建立点对点通信连接的方法。In a sixth aspect, the present application provides an apparatus for establishing a point-to-point communication connection, comprising: a memory for storing a program; a processor coupled to the memory, wherein the processor is configured to run the program, so that the apparatus executes the The method for establishing a point-to-point communication connection according to any one of the second aspect or possible implementation manners of the second aspect.
第七方面,本申请提供一种计算机可读存储介质,包括计算机指令,所述计算机指令由处理器执行时,可实现如第一方面或第一方面的可能的实现方式或第二方面或第二方面的可能的实现方式中任一项所述建立点对点通信连接的方法。In a seventh aspect, the present application provides a computer-readable storage medium, comprising computer instructions, which, when executed by a processor, can implement the first aspect or a possible implementation manner of the first aspect or the second aspect or the first aspect. The method for establishing a point-to-point communication connection is described in any one of the possible implementation manners of the second aspect.
需要说明的是,本申请中第三方面至第六方面所述的装置及第七方面所述的计算机可读存储介质,用于执行上述第一方面或第二方面所提供的方法,因此可以达到与第一方面或第二方面所述的方法相同的有益效果,本申请实施例在此不再一一赘述。It should be noted that the devices described in the third aspect to the sixth aspect and the computer-readable storage medium described in the seventh aspect in this application are used to execute the method provided in the first aspect or the second aspect, and therefore can To achieve the same beneficial effects as the method described in the first aspect or the second aspect, the embodiments of the present application will not be repeated here.
本申请实现了由网络接入设备控制网络内的设备进行点对点连接,在整个网络内统一分配点对点连接时使用的资源,保障网络性能的同时提供传输的灵活性。此外,本申请还获取对等终端的信号强度或信号质量,终端或网络接入设备将其与预设的门限值进行比较,然后终端根据比较结果执行不同的发送行为或网络接入设备判断是否执行P2P操作,保证了P2P通信的质量。The present application realizes that the network access equipment controls the equipment in the network to perform point-to-point connection, and the resources used for the point-to-point connection are uniformly allocated in the entire network, so as to ensure network performance and provide transmission flexibility. In addition, the present application also obtains the signal strength or signal quality of the peer terminal, the terminal or network access device compares it with a preset threshold value, and then the terminal performs different sending behaviors or network access device judgments according to the comparison result Whether to perform P2P operation to ensure the quality of P2P communication.
附图说明Description of drawings
本申请将通过实施例并参照附图的方式说明,其中:The present application will be described by way of example and with reference to the accompanying drawings, wherein:
图1为为本申请实施例的建立点对点通信连接的方法流程图;1 is a flowchart of a method for establishing a point-to-point communication connection according to an embodiment of the present application;
图2为本申请实施例的另一建立点对点通信连接的方法流程图;2 is a flowchart of another method for establishing a point-to-point communication connection according to an embodiment of the present application;
图3为本申请实施例的时隙周期内的时隙分布示意图;FIG. 3 is a schematic diagram of time slot distribution in a time slot period according to an embodiment of the present application;
图4为本申请实施例的又一建立点对点通信连接的方法流程图。FIG. 4 is a flowchart of another method for establishing a point-to-point communication connection according to an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。此外,虽然本申请中公开内容按照示范性一个或几个实例来介绍,但应理解,可以就这些公开内容的各个方面也可 以单独构成一个完整技术方案。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described The embodiments are only a part of the embodiments of the present application, but not all of the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application. In addition, although the disclosures in this application are presented in terms of one or several exemplary examples, it should be understood that each aspect of these disclosures can also constitute a complete technical solution individually. The embodiments described below and features in the embodiments may be combined with each other without conflict.
在本申请实施例中,“示例地”、“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。In the embodiments of the present application, words such as "exemplarily" and "for example" are used to represent examples, illustrations or illustrations. Any embodiment or design described in this application as "exemplary" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the word example is intended to present a concept in a concrete way.
除非另外定义,本申请使用的技术术语或者科学术语应当为本申请所属领域内具有一般技能的人士所理解的通常意义。本申请中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而是仅用于区分描述。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。术语“和/或”包括一个或多个相关联的所列项目的任何和所有组合。Unless otherwise defined, technical or scientific terms used in this application shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. As used in this application, "first," "second," and similar words do not denote any order, quantity, or importance, but are merely used to differentiate the description. "Comprises" or "comprising" and similar words mean that the elements or things appearing before the word encompass the elements or things recited after the word and their equivalents, but do not exclude other elements or things. The term "and/or" includes any and all combinations of one or more of the associated listed items.
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
在以下的实施例中,STA表示无线局域网中的终端,AP表示无线局域网中的网络接入点,P2P业务标识终端之间的数据传输路径不经过AP,在两个终端之间直接传输的业务。In the following embodiments, STA represents the terminal in the wireless local area network, AP represents the network access point in the wireless local area network, and the P2P service identifies the data transmission path between the terminals without passing through the AP, and the service directly transmitted between the two terminals .
STA1和STA2是在AP覆盖范围内的两个终端,在本发明中STA1和STA2要使用P2P方式进行通信。STA1 and STA2 are two terminals within the coverage of the AP, and in the present invention, STA1 and STA2 use the P2P mode to communicate.
在P2P模式中,首先发起请求进行P2P连接的称为发起方,发起方请求连接的目标STA,称为对等方。In the P2P mode, the first party that initiates a request for a P2P connection is called the initiator, and the target STA that the initiator requests for connection is called the peer.
时隙(slot)为无线局域网中最小时间单位,例如,设置一个slot是9微秒,那么传输时间为5个slot,即为45微秒。A time slot (slot) is the smallest time unit in a wireless local area network. For example, if a slot is set to 9 microseconds, the transmission time is 5 slots, which is 45 microseconds.
AP设置P2P parameter set的方式可以是根据预先评估的业务数据模型分配,例如,以视频传输业务模型作为P2P业务模型的标准,The way the AP sets the P2P parameter set can be allocated according to the pre-evaluated service data model. For example, the video transmission service model is used as the standard of the P2P service model.
帧率:60Hz;Frame rate: 60Hz;
分辨率:3840x2160;Resolution: 3840x2160;
像素大小:24bits/pixel;Pixel size: 24bits/pixel;
压缩率:100;Compression ratio: 100;
那么每16.7ms发送一帧视频数据,那么传输速率大概为120Mbps。Then one frame of video data is sent every 16.7ms, so the transmission rate is about 120Mbps.
然后根据MCS对应速率表,如表1,计算传输时间,然后根据每个slot的时间值,确定可以传输完一帧数据所需要的slot的数量。Then, according to the MCS corresponding rate table, such as Table 1, calculate the transmission time, and then determine the number of slots required to transmit a frame of data according to the time value of each slot.
表1Table 1
Figure PCTCN2020108350-appb-000001
Figure PCTCN2020108350-appb-000001
图1为本申请实施例的建立点对点通信连接的方法流程图。如图1所示,建立点对点通信连接的方法包括以下步骤:FIG. 1 is a flowchart of a method for establishing a point-to-point communication connection according to an embodiment of the present application. As shown in Figure 1, the method for establishing a point-to-point communication connection includes the following steps:
1.终端发送能力信息给网络接入设备,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作。1. The terminal sends capability information to the network access device. The capability information includes the parameter P2P mode, which is used to indicate whether the terminal supports point-to-point operation.
2.发起终端发送承载数据的消息给网络接入设备,承载数据的消息中包含源地址和目标地址。2. The initiating terminal sends a data-bearing message to the network access device, and the data-bearing message includes a source address and a destination address.
3.网络接入设备确认对等终端在其覆盖范围内。3. The network access device confirms that the peer terminal is within its coverage.
4.网络接入设备查看发起终端和对等终端是否都支持P2P操作。4. The network access device checks whether both the initiating terminal and the peer terminal support P2P operations.
5.网络接入设备发送P2P setup消息给发起终端,P2P setup消息中包含参数P2P parameter set,参数P2P parameter set用于指示分配给点对点操作的资源。在一些实施例中,P2P setup消息中还包含参数P2P option,参数P2P option用于表示点对点的操作方式。5. The network access device sends a P2P setup message to the initiating terminal. The P2P setup message contains the parameter P2P parameter set, which is used to indicate the resources allocated to the point-to-point operation. In some embodiments, the P2P setup message also includes a parameter P2P option, where the parameter P2P option is used to indicate a point-to-point operation mode.
6.发起终端接收网络接入设备发送的P2P setup消息。6. The initiating terminal receives the P2P setup message sent by the network access device.
在一些实施例中,建立点对点通信连接的方法还包括步骤:根据参数P2P  parameter set中给出的点对点操作的资源将数据直接发送给对等终端。如果P2P setup消息中还包含参数P2P option,则当参数P2P option的值表示建立点对点连接时,才根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端。In some embodiments, the method for establishing a point-to-point communication connection further includes the step of directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set. If the P2P setup message also contains the parameter P2P option, when the value of the parameter P2P option indicates that a point-to-point connection is established, the data is directly sent to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set.
示例地,网络接入设备可以为路由器、网络接入点AP等,以下以AP作为示例进行说明。By way of example, the network access device may be a router, a network access point AP, etc., and the AP is used as an example for description below.
图2为本申请实施例的另一建立点对点通信连接的方法流程图。如图2所示,建立点对点通信连接的方法包括以下步骤:FIG. 2 is a flowchart of another method for establishing a point-to-point communication connection according to an embodiment of the present application. As shown in Figure 2, the method for establishing a point-to-point communication connection includes the following steps:
1.STA1连接到AP,将STA1的能力信息发送给AP,示例地,能力信息包含的参数如表2所示。在一些实施例中,STA1可在探测请求消息(probe request)或关联请求消息(association request)或重关联请求消息(reassociation request)中将其能力信息发送给AP。1. STA1 connects to the AP, and sends the capability information of STA1 to the AP. For example, the parameters included in the capability information are shown in Table 2. In some embodiments, STA1 may send its capability information to the AP in a probe request or association request or reassociation request.
表2Table 2
Figure PCTCN2020108350-appb-000002
Figure PCTCN2020108350-appb-000002
2.STA2连接到AP,将STA2的能力信息发送给AP。2. STA2 connects to the AP, and sends the capability information of STA2 to the AP.
3.STA1有数据需要发送到STA2(即,STA1为发起终端,STA2为对等终端),则STA1发送承载数据的消息给AP,需要说明的是,术语“承载数据的消息”中的“数据”既可以指业务数据,也可以指服务请求指示。示例地,承载数据的消息中包含以下参数:3. STA1 has data that needs to be sent to STA2 (that is, STA1 is the initiating terminal and STA2 is the peer terminal), then STA1 sends a data-carrying message to the AP. It should be noted that the term "data-carrying message" in "data" ” can refer to both business data and service request indications. Illustratively, the data-carrying message contains the following parameters:
SA:源地址,这里设置为STA1的地址;SA: source address, here is set to the address of STA1;
DA:目标地址,这里设置为STA2的地址;DA: target address, here is set to the address of STA2;
Payload:从STA1发送到STA2的数据。Payload: Data sent from STA1 to STA2.
4.AP查看DA参数,确认其对应的STA2在AP的覆盖范围内。4. The AP checks the DA parameters and confirms that the corresponding STA2 is within the coverage of the AP.
5.AP查看STA1和STA2是否都支持P2P操作,如果都支持,则发送P2P setup消息给STA1,示例地,P2P setup消息中包含以下参数:5. The AP checks whether both STA1 and STA2 support the P2P operation. If they do, it sends a P2P setup message to STA1. For example, the P2P setup message contains the following parameters:
P2P parameter set:该参数用于表示分配给P2P操作的资源,示例地,参数P2P parameter set可以有如下的设置方式:P2P parameter set: This parameter is used to indicate the resources allocated to the P2P operation. For example, the parameter P2P parameter set can be set as follows:
方式一:method one:
Figure PCTCN2020108350-appb-000003
Figure PCTCN2020108350-appb-000003
方式二:Method two:
Figure PCTCN2020108350-appb-000004
Figure PCTCN2020108350-appb-000004
方式三:Method three:
P2P parameter setP2P parameter set
P2P durationP2P duration
用于指示P2P操作对资源占有的时长Used to indicate how long a P2P operation occupies a resource
方式四:Method four:
Figure PCTCN2020108350-appb-000005
Figure PCTCN2020108350-appb-000005
方式五:Method five:
Figure PCTCN2020108350-appb-000006
Figure PCTCN2020108350-appb-000006
在一些实施例中,P2P setup消息中还包含参数P2P option:该参数用于表示点对点的操作方式,示例地,设置为“setup”表示建立P2P连接;设置为“release”表示释放P2P连接;设置为“reject”表示拒绝点对点连接。In some embodiments, the P2P setup message also includes a parameter P2P option: this parameter is used to indicate a point-to-point operation mode, for example, set to "setup" means to establish a P2P connection; set to "release" means to release the P2P connection; set "reject" indicates that point-to-point connections are rejected.
6.STA1接收到AP发送的P2P setup消息后,测量STA2的信号,获取STA2的信号强度(RSSI)P1或信号质量Q,其中,Q=P1/(P1+N),N为干扰信号的强度,在一些实施例中,如果P2P setup消息中包含参数P2P option,当P2P option的值为“setup”时,STA1获取STA2的信号强度或信号质量。STA1将获取的STA2的信号强度或信号质量与预设的门限值Th-RSSI进行比较,如果STA2的信号强度 或信号质量大于或等于Th-RSSI,则根据P2P setup消息中P2P parameter set中给出的P2P操作的资源将数据直接发送到STA2,示例地,具体发送方式包括:6. After STA1 receives the P2P setup message sent by the AP, it measures the signal of STA2 and obtains the signal strength (RSSI) P1 or signal quality Q of STA2, where Q=P1/(P1+N), N is the strength of the interference signal , in some embodiments, if the parameter P2P option is included in the P2P setup message, when the value of the P2P option is "setup", STA1 obtains the signal strength or signal quality of STA2. STA1 compares the acquired signal strength or signal quality of STA2 with the preset threshold Th-RSSI, and if the signal strength or signal quality of STA2 is greater than or equal to Th-RSSI, according to the given value in the P2P parameter set in the P2P setup message. The resource of the P2P operation is sent directly to the STA2. For example, the specific sending method includes:
6.1如果P2P parameter set包含MCS,P2P bitmap和P2P interval,则根据参数中的MCS对数据包进行调制编码,在P2P bitmap中指定的时段发送数据,并按照P2P interval的周期进行周期性数据发送。6.1 If the P2P parameter set contains MCS, P2P bitmap and P2P interval, the data packet is modulated and encoded according to the MCS in the parameter, and the data is sent in the period specified in the P2P bitmap, and periodic data transmission is carried out according to the period of the P2P interval.
示例地,MCS为0,P2P interval为10,P2P bitmap为{1,1,1,0,0,0,0,0,0,0},其中,1表示P2P时隙,0表示普通时隙,如图3中的P2P slot和Normal slot。本实施例slot包括0和1,也可以采用00和01等,还可以采用字母等其他形式,本申请对此不做限制。如图3所示,在每一个时隙分配周期的前3个时隙,执行P2P操作,STA1将数据直接发送到STA2,AP覆盖范围内的其他终端不可以进行数据传输,在每一个时隙分配周期的后7个时隙,AP覆盖范围内的所有终端均可以进行数据传输,如此以10个时隙为周期进行周期性数据传输。For example, MCS is 0, P2P interval is 10, P2P bitmap is {1, 1, 1, 0, 0, 0, 0, 0, 0, 0}, where 1 means P2P time slot, 0 means normal time slot , such as P2P slot and Normal slot in Figure 3. The slot in this embodiment includes 0 and 1, and may also use 00 and 01, and may also use other forms such as letters, which are not limited in this application. As shown in Figure 3, in the first 3 time slots of each time slot allocation period, the P2P operation is performed, STA1 sends data directly to STA2, and other terminals within the coverage area of the AP cannot perform data transmission. In the last 7 time slots of the allocation period, all terminals within the coverage area of the AP can perform data transmission, so periodic data transmission is carried out with 10 time slots as a period.
6.2如果P2P parameter set包含Link,P2P bitmap和P2P interval,则根据参数中的Link在指定的链路上按照P2P bitmap中指定的时段发送数据,并按照P2P interval的周期进行周期性数据发送。与6.1相同,在一个P2P interval的周期内,在P2P bitmap中指定的P2P时隙,执行P2P操作,STA1将数据直接发送到STA2,AP覆盖范围内的其他终端不可以进行数据传输,在P2P bitmap中指定的普通时隙,AP覆盖范围内的所有终端均可以进行数据传输,如此以P2P interval的周期进行周期性数据传输。6.2 If the P2P parameter set contains Link, P2P bitmap and P2P interval, then according to the Link in the parameter, data is sent on the specified link according to the period specified in the P2P bitmap, and periodic data transmission is carried out according to the period of the P2P interval. Same as 6.1, in a P2P interval period, the P2P operation is performed in the P2P time slot specified in the P2P bitmap, STA1 sends data directly to STA2, and other terminals within the AP coverage area cannot perform data transmission. All terminals within the coverage area of the AP can transmit data in the ordinary time slot specified in
6.3如果P2P parameter set包含P2P duration,则在P2P duration指示的时长内发送数据。示例地,P2P duration为20,则在P2P duration指示的20个slot内,执行P2P操作,STA1将数据直接发送到STA2,AP覆盖范围内的其他终端不可以进行数据传输,在其余slot,AP覆盖范围内的所有终端均可以进行数据传输。6.3 If the P2P parameter set contains the P2P duration, the data is sent within the duration indicated by the P2P duration. For example, if the P2P duration is 20, the P2P operation is performed within the 20 slots indicated by the P2P duration, and STA1 sends data directly to STA2, and other terminals within the coverage area of the AP cannot transmit data. In the remaining slots, the AP covers All terminals within range can transmit data.
6.4如果P2P parameter set包含P2P duration和Channel,则在P2P duration指示的时长内,在Channel指示的信道所在频段上发送数据。示例地,P2P duration为20,Channel指示的P2P操作使用的频段为2,则在P2P duration指示的20个slot内,在频段2上执行P2P操作,STA1将数据直接发送到STA2,AP覆盖范围内的其他终端不可以进行数据传输,而其他带宽仍可以提供给其他终端使用,在其余slot,AP覆盖范围内的所有终端均可以进行数据传输。6.4 If the P2P parameter set includes P2P duration and Channel, then within the time period indicated by the P2P duration, data is sent on the frequency band where the channel indicated by Channel is located. For example, if the P2P duration is 20, and the frequency band used for the P2P operation indicated by Channel is 2, then within the 20 slots indicated by the P2P duration, the P2P operation is performed on frequency band 2, and STA1 sends data directly to STA2, within the coverage of the AP. Other terminals in the AP cannot transmit data, and other bandwidths can still be provided to other terminals. In the remaining slots, all terminals within the coverage area of the AP can transmit data.
6.5如果P2P parameter set包含P2P duration和P2P interval,则在P2P duration指示的时长内发送数据,并按照P2P interval指示的周期进行周期性数据发送。通常情况下,P2P duration小于P2P interval。示例地,P2P duration为5,P2P interval为10,则在P2P duration指示的5个slot内,执行P2P操作,STA1将数据直接发送到STA2,AP覆盖范围内的其他终端不可以进行数据传输,在其余slot,AP覆盖范围内的所有终端均可以进行数据传输,如此以10个时隙为周期进行周期性数据传输。6.5 If the P2P parameter set includes P2P duration and P2P interval, the data is sent within the time period indicated by the P2P duration, and periodic data transmission is performed according to the period indicated by the P2P interval. Typically, the P2P duration is less than the P2P interval. For example, if the P2P duration is 5 and the P2P interval is 10, the P2P operation is performed within the 5 slots indicated by the P2P duration, STA1 sends data directly to STA2, and other terminals within the coverage of the AP cannot transmit data. For the remaining slots, all terminals within the coverage area of the AP can perform data transmission, so periodic data transmission is performed with 10 time slots as a period.
7.STA1将获取的STA2的信号强度或信号质量与预设的门限值Th-RSSI进行比较,如果STA2的信号强度或信号质量小于Th-RSSI,则将需要发送给STA2的数据发送给AP。7. STA1 compares the acquired signal strength or signal quality of STA2 with the preset threshold Th-RSSI. If the signal strength or signal quality of STA2 is less than Th-RSSI, it will send the data that needs to be sent to STA2 to the AP .
图4为本申请实施例的又一建立点对点通信连接的方法流程图。如图4所示,建立点对点通信连接的方法包括以下步骤:FIG. 4 is a flowchart of another method for establishing a point-to-point communication connection according to an embodiment of the present application. As shown in Figure 4, the method for establishing a point-to-point communication connection includes the following steps:
1.STA1连接到AP,将STA1的能力信息发送给AP,示例地,能力信息包含的参数如表3所示。1. STA1 connects to the AP, and sends the capability information of STA1 to the AP. For example, the parameters included in the capability information are shown in Table 3.
表3table 3
Figure PCTCN2020108350-appb-000007
Figure PCTCN2020108350-appb-000007
2.STA2连接到AP,将STA2的能力信息发送给AP。2. STA2 connects to the AP, and sends the capability information of STA2 to the AP.
3.STA1有数据需要发送到STA2(即,STA1为发起终端,STA2为对等终端),则STA1发送承载数据的消息给AP,需要说明的是,术语“承载数据的消息”中的“数据”既可以指业务数据,也可以指服务请求指示。示例地,承载数据的消息中包含以下参数:3. STA1 has data that needs to be sent to STA2 (that is, STA1 is the initiating terminal and STA2 is the peer terminal), then STA1 sends a data-carrying message to the AP. It should be noted that the term "data-carrying message" in "data" ” can refer to both business data and service request indications. Illustratively, the data-carrying message contains the following parameters:
SA:源地址,这里设置为STA1的地址;SA: source address, here is set to the address of STA1;
DA:目标地址,这里设置为STA2的地址;DA: target address, here is set to the address of STA2;
Payload:从STA1发送到STA2的数据。Payload: Data sent from STA1 to STA2.
4.AP查看DA参数,确认其对应的STA2在AP的覆盖范围内。4. The AP checks the DA parameters and confirms that the corresponding STA2 is within the coverage of the AP.
5.AP查看STA1和STA2是否都支持P2P操作,如果都支持,则发送触发消息给STA1,示例地,消息中包含以下参数:5. The AP checks whether both STA1 and STA2 support the P2P operation, and if both support it, it sends a trigger message to STA1. For example, the message contains the following parameters:
Target:用于指示要测量的目标,这里设置为STA2的标识或地址。Target: used to indicate the target to be measured, which is set to the identity or address of STA2 here.
在一些实施例中,触发消息中还包含参数Measure enable:用于表示是否指示终端执行测量,示例地,设置为1表示指示终端执行测量。In some embodiments, the trigger message also includes a parameter Measure enable: used to indicate whether to instruct the terminal to perform measurement, for example, setting it to 1 indicates that the terminal is instructed to perform measurement.
6.STA1接收到AP的触发消息后,执行对STA2的测量,获取STA2的信号强度或信号质量,将包含获取的STA2的信号强度或信号质量的消息发送给AP。6. After receiving the trigger message from the AP, STA1 performs measurement on STA2, obtains the signal strength or signal quality of STA2, and sends a message including the obtained signal strength or signal quality of STA2 to the AP.
7.AP接收到测量结果后,比较上报的STA2的信号强度或信号质量与预设的门限值Th-RSSI,如果STA2的信号强度或信号质量大于或等于Th-RSSI,则发送P2P setup消息给STA1,示例地,P2P setup消息中包含以下参数:7. After the AP receives the measurement result, it compares the reported signal strength or signal quality of STA2 with the preset threshold Th-RSSI. If the signal strength or signal quality of STA2 is greater than or equal to Th-RSSI, it sends a P2P setup message For STA1, for example, the P2P setup message contains the following parameters:
P2P parameter set:该参数用于表示分配给P2P操作的资源。其设置方式可参考图2所示实施例中的步骤5,这里不再赘述。P2P parameter set: This parameter is used to indicate the resources allocated to P2P operations. For the setting method, reference may be made to step 5 in the embodiment shown in FIG. 2 , which will not be repeated here.
在一些实施例中,P2P setup消息中还包含参数P2P option:该参数用于表示点对点的操作方式,示例地,设置为“setup”表示建立P2P连接;设置为“release”表示释放P2P连接;设置为“reject”表示拒绝点对点连接。In some embodiments, the P2P setup message also includes a parameter P2P option: this parameter is used to indicate a point-to-point operation mode, for example, set to "setup" means to establish a P2P connection; set to "release" means to release the P2P connection; set "reject" indicates that point-to-point connections are rejected.
8.STA1接收到AP发送的P2P setup消息后,根据P2P setup消息中P2P parameter set中给出的P2P操作的资源将数据直接发送到STA2,在一些实施例中,如果P2P setup消息中包含参数P2P option,当P2P option的值为“setup”时,STA1根据P2P setup消息中P2P parameter set中给出的P2P操作的资源将数据直接发送到STA2。其具体的发送方式可参考图2所示实施例中的步骤6,这里不再赘述。8. After STA1 receives the P2P setup message sent by the AP, it directly sends the data to STA2 according to the resources of the P2P operation given in the P2P parameter set in the P2P setup message. In some embodiments, if the P2P setup message contains the parameter P2P option, when the value of the P2P option is "setup", STA1 directly sends data to STA2 according to the resources of the P2P operation given in the P2P parameter set in the P2P setup message. For the specific sending manner, reference may be made to step 6 in the embodiment shown in FIG. 2 , which will not be repeated here.
在一些实施例中,建立点对点通信连接的方法还包括以下步骤:In some embodiments, the method of establishing a point-to-point communication connection further comprises the steps of:
9.如果参数P2P parameter set中包含P2P interval,则STA1以P2P interval为周期测量STA2的信号强度或信号质量,并在非P2P操作时段发送给AP。9. If the parameter P2P parameter set includes P2P interval, STA1 measures the signal strength or signal quality of STA2 with the P2P interval as the period, and sends it to the AP during the non-P2P operation period.
10.AP将每一次STA1发送的STA2的信号强度或信号质量与Th-RSSI进行比较,如果STA2的信号强度或信号质量大于或等于Th-RSSI,则不做操作,如果STA2的信号强度或信号质量小于Th-RSSI,则发送P2P setup消息给STA1,消息中将P2P option设置为“release”,表示释放P2P连接。10. The AP compares the signal strength or signal quality of STA2 sent by STA1 with Th-RSSI each time. If the signal strength or signal quality of STA2 is greater than or equal to Th-RSSI, no operation is performed. If the quality is less than Th-RSSI, send a P2P setup message to STA1, and set the P2P option to "release" in the message, indicating that the P2P connection is released.
11.STA1接收到AP发送的P2P setup消息后,如果P2P option值为“release”,STA1结束使用P2P操作,即将需要发送给STA2的数据发送给AP。11. After STA1 receives the P2P setup message sent by the AP, if the value of the P2P option is "release", STA1 ends the P2P operation and sends the data to be sent to STA2 to the AP.
本申请实施例还提供一种建立点对点通信连接的装置,包括:能力信息发送 模块,用于发送能力信息给网络接入设备,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作;承载数据的消息发送模块,用于发送承载数据的消息给网络接入设备,承载数据的消息中包含源地址和目标地址;P2P setup消息接收模块,用于接收网络接入设备发送的P2P setup消息,P2P setup消息中包含参数P2P parameter set,参数P2P parameter set用于指示分配给点对点操作的资源。The embodiment of the present application also provides an apparatus for establishing a point-to-point communication connection, including: a capability information sending module, configured to send capability information to a network access device, where the capability information includes a parameter P2P mode, which is used to indicate whether the terminal supports a point-to-point operation; bearer The data message sending module is used to send the data-bearing message to the network access device, and the data-bearing message includes the source address and the destination address; the P2P setup message receiving module is used to receive the P2P setup message sent by the network access device, The P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used to indicate the resources allocated to the peer-to-peer operation.
本申请实施例还提供另一种建立点对点通信连接的装置,包括:能力信息接收模块,用于接收终端发送的能力信息,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作;承载数据的消息接收模块,用于接收终端发送的承载数据的消息,承载数据的消息中包含源地址和目标地址;确认模块,用于确认目标地址对应的终端在网络接入设备的覆盖范围内;查看模块,用于查看源地址和目标地址对应的终端是否都支持点对点操作;P2P setup消息发送模块,用于发送P2P setup消息给终端,P2P setup消息中包含参数P2P parameter set,参数P2P parameter set用于指示分配给点对点操作的资源。The embodiment of the present application also provides another device for establishing a point-to-point communication connection, including: a capability information receiving module, configured to receive capability information sent by a terminal, where the capability information includes a parameter P2P mode, which is used to indicate whether the terminal supports point-to-point operations; bearer data The message receiving module is used to receive the data-bearing message sent by the terminal, and the data-bearing message includes the source address and the target address; the confirmation module is used to confirm that the terminal corresponding to the target address is within the coverage of the network access device; view The module is used to check whether the terminals corresponding to the source address and the target address support point-to-point operations; the P2P setup message sending module is used to send the P2P setup message to the terminal. The P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used for Indicates the resources allocated for peer-to-peer operations.
本申请实施例还提供一种建立点对点通信连接的装置,包括存储器,所述存储器用于存储程序,处理器,耦合到所述存储器,其中,所述处理器用于运行所述程序,以使得所述装置执行如图1或图2或图4所示实施例涉及的方法。Embodiments of the present application further provide an apparatus for establishing a point-to-point communication connection, including a memory for storing a program, and a processor coupled to the memory, wherein the processor is configured to run the program, so that all The apparatus executes the method involved in the embodiment shown in FIG. 1 or FIG. 2 or FIG. 4 .
本申请实施例还提供一种计算机可读存储介质,包括计算机指令,所述计算机指令由处理器执行时,可实现如图1或图2或图4所示实施例涉及的方法。Embodiments of the present application further provide a computer-readable storage medium, including computer instructions, which, when executed by a processor, can implement the methods involved in the embodiments shown in FIG. 1 or FIG. 2 or FIG. 4 .
需要说明的是,本申请实施例提供的建立点对点通信连接的装置和计算机可读存储介质,用于执行图1或图2或图4所示实施例涉及的方法,因此可以达到与图1或图2或图4所示实施例涉及的方法相同的有益效果,本申请实施例在此不再一一赘述。It should be noted that the device and computer-readable storage medium for establishing a point-to-point communication connection provided by the embodiments of the present application are used to execute the method involved in the embodiment shown in FIG. 1 or FIG. 2 or FIG. The beneficial effects of the methods involved in the embodiments shown in FIG. 2 or FIG. 4 are the same, and the embodiments of the present application will not be repeated here.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,部分或全部步骤可以并行执行或先后执行,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not imply the sequence of execution, some or all of the steps may be executed in parallel or sequentially, and the execution sequence of each process should be based on its functions and It is determined by the internal logic and should not constitute any limitation on the implementation process of the embodiments of the present application.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约 束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of modules or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,网络设备或者终端设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM)磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, a network device or a terminal device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, ROM, RAM) disk or optical disk and other media that can store program codes.
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何 或所有可能组合。本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. As used in the embodiments of this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items. The character "/" in this article generally indicates that the related objects are an "or" relationship.
取决于语境,如在此所使用的词语“如果”或“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if" or "if" as used herein may be interpreted as "at" or "when" or "in response to determining" or "in response to detecting." Similarly, the phrases "if determined" or "if detected (the stated condition or event)" can be interpreted as "when determined" or "in response to determining" or "when detected (the stated condition or event)," depending on the context )" or "in response to detection (a stated condition or event)".
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关硬件来完成,所述的程序可以存储于一个设备的可读存储介质中,该程序在执行时,包括上述全部或部分步骤,所述的存储介质,如:FLASH、EEPROM等。Those of ordinary skill in the art can understand that all or part of the steps in the methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a readable storage medium of a device, and when the program is executed , including all or part of the above steps, the storage medium, such as: FLASH, EEPROM, etc.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (29)

  1. 一种建立点对点通信连接的方法,其特征在于,该方法包括:A method for establishing a point-to-point communication connection, characterized in that the method comprises:
    发送能力信息给网络接入设备,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作;Send capability information to the network access device. The capability information includes the parameter P2P mode, which is used to indicate whether the terminal supports point-to-point operation;
    发送承载数据的消息给网络接入设备,承载数据的消息中包含源地址和目标地址;Send a data-bearing message to the network access device, and the data-bearing message includes a source address and a destination address;
    接收网络接入设备发送的P2P setup消息,P2P setup消息中包含参数P2P parameter set,参数P2P parameter set用于指示分配给点对点操作的资源。Receive the P2P setup message sent by the network access device, the P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used to indicate the resources allocated to the point-to-point operation.
  2. 根据权利要求1所述的一种建立点对点通信连接的方法,其特征在于,参数P2P parameter set包含字段MCS、P2P bitmap和P2P interval,或包含字段Link、P2P bitmap和P2P interval,或包含字段P2P duration,或包含字段P2P duration和Channel,或包含字段P2P duration和P2P interval,A method for establishing a point-to-point communication connection according to claim 1, wherein the parameter P2P parameter set includes fields MCS, P2P bitmap and P2P interval, or includes fields Link, P2P bitmap and P2P interval, or includes fields P2P duration , or contains the fields P2P duration and Channel, or contains the fields P2P duration and P2P interval,
    其中,MCS用于指示点对点操作时使用的调制编码方式;P2P bitmap用于表示在一个时隙分配周期内,点对点时隙和普通时隙的分布;P2P interval用于表示时隙分配周期;Link用于在多链路网络***中标识指定的链路;P2P duration用于指示点对点操作对资源占有的时长;Channel用于指示点对点操作使用的信道或点对点操作使用的频段。Among them, MCS is used to indicate the modulation and coding method used in point-to-point operation; P2P bitmap is used to indicate the distribution of point-to-point time slots and ordinary time slots in a time slot allocation period; P2P interval is used to indicate the time slot allocation period; Link uses It is used to identify the specified link in the multi-link network system; P2P duration is used to indicate the time length of the resource occupied by the point-to-point operation; Channel is used to indicate the channel used by the point-to-point operation or the frequency band used by the point-to-point operation.
  3. 根据权利要求2所述的一种建立点对点通信连接的方法,其特征在于,P2P setup消息中还包含参数P2P option,参数P2P option用于表示点对点的操作方式。A method for establishing a point-to-point communication connection according to claim 2, wherein the P2P setup message also includes a parameter P2P option, and the parameter P2P option is used to represent a point-to-point operation mode.
  4. 根据权利要求3所述的一种建立点对点通信连接的方法,其特征在于,参数P2P option包含以下各项中一者或者多者:A method for establishing a point-to-point communication connection according to claim 3, wherein the parameter P2P option comprises one or more of the following items:
    setup,表示建立点对点连接;setup, which means to establish a point-to-point connection;
    release,表示释放点对点连接;release, which means to release the point-to-point connection;
    reject,表示拒绝点对点连接。reject, indicating that the point-to-point connection is rejected.
  5. 根据权利要求2所述的一种建立点对点通信连接的方法,其特征在于,该方法还包括:根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端。A method for establishing a point-to-point communication connection according to claim 2, wherein the method further comprises: directly sending the data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set.
  6. 根据权利要求3所述的一种建立点对点通信连接的方法,其特征在于,该方法还包括:如果参数P2P option的值表示建立点对点连接,则根据参数P2P  parameter set中给出的点对点操作的资源将数据直接发送给对等终端。A method for establishing a point-to-point communication connection according to claim 3, wherein the method further comprises: if the value of the parameter P2P option indicates that a point-to-point connection is established, then according to the resources of the point-to-point operation given in the parameter P2P parameter set Send data directly to the peer terminal.
  7. 根据权利要求5或6所述的一种建立点对点通信连接的方法,其特征在于,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端的具体发送方法包括:A method for establishing a point-to-point communication connection according to claim 5 or 6, wherein the specific sending method for directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set comprises:
    根据参数中的MCS对数据包进行调制编码,在P2P bitmap中指定的时段发送数据,并按照P2P interval的周期进行周期性数据发送。According to the MCS in the parameters, the data packets are modulated and encoded, the data is sent in the period specified in the P2P bitmap, and the periodic data transmission is carried out according to the period of the P2P interval.
  8. 根据权利要求5或6所述的一种建立点对点通信连接的方法,其特征在于,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端的具体发送方法包括:A method for establishing a point-to-point communication connection according to claim 5 or 6, wherein the specific sending method for directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set comprises:
    根据参数中的Link在指定的链路上按照P2P bitmap中指定的时段发送数据,并按照P2P interval的周期进行周期性数据发送。According to the Link in the parameter, data is sent on the specified link according to the period specified in the P2P bitmap, and periodic data transmission is performed according to the period of the P2P interval.
  9. 根据权利要求5或6所述的一种建立点对点通信连接的方法,其特征在于,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端的具体发送方法包括:A method for establishing a point-to-point communication connection according to claim 5 or 6, wherein the specific sending method for directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set comprises:
    在P2P duration指示的时长内发送数据。Send data within the duration indicated by the P2P duration.
  10. 根据权利要求5或6所述的一种建立点对点通信连接的方法,其特征在于,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端的具体发送方法包括:A method for establishing a point-to-point communication connection according to claim 5 or 6, wherein the specific sending method for directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set comprises:
    在P2P duration指示的时长内,在Channel指示的信道所在频段上发送数据。Within the time period indicated by the P2P duration, data is sent on the frequency band where the channel indicated by Channel is located.
  11. 根据权利要求5或6所述的一种建立点对点通信连接的方法,其特征在于,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端的具体发送方法包括:A method for establishing a point-to-point communication connection according to claim 5 or 6, wherein the specific sending method for directly sending data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set comprises:
    在P2P duration指示的时长内发送数据,并按照P2P interval指示的周期进行周期性数据发送。Data is sent within the time period indicated by P2P duration, and periodic data transmission is performed according to the period indicated by P2P interval.
  12. 根据权利要求5或6所述的一种建立点对点通信连接的方法,其特征在于,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端包括:A method for establishing a point-to-point communication connection according to claim 5 or 6, wherein the direct sending of data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set comprises:
    获取对等终端的信号强度或信号质量,并将获取的对等终端的信号强度或信号质量与预设的门限值进行比较,若对等终端的信号强度或信号质量大于或等于 预设的门限值,则根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端。Acquire the signal strength or signal quality of the peer terminal, and compare the acquired signal strength or signal quality of the peer terminal with a preset threshold value, if the signal strength or signal quality of the peer terminal is greater than or equal to the preset value If the threshold value is set, the data is sent directly to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set.
  13. 根据权利要求5或6所述的一种建立点对点通信连接的方法,其特征在于,根据参数P2P parameter set中给出的点对点操作的资源将数据直接发送给对等终端包括:A method for establishing a point-to-point communication connection according to claim 5 or 6, wherein the direct sending of data to the peer terminal according to the resources of the point-to-point operation given in the parameter P2P parameter set comprises:
    获取对等终端的信号强度或信号质量,并将获取的对等终端的信号强度或信号质量与预设的门限值进行比较,若对等终端的信号强度或信号质量小于预设的门限值,则将需要发送给对等终端的数据发送给网络接入设备。Acquire the signal strength or signal quality of the peer terminal, and compare the acquired signal strength or signal quality of the peer terminal with a preset threshold, if the signal strength or signal quality of the peer terminal is less than the preset threshold value, the data that needs to be sent to the peer terminal is sent to the network access device.
  14. 根据权利要求5或6所述的一种建立点对点通信连接的方法,其特征在于,在接收网络接入设备发送的P2P setup消息前,该方法还包括:A method for establishing a point-to-point communication connection according to claim 5 or 6, characterized in that, before receiving the P2P setup message sent by the network access device, the method further comprises:
    接收网络接入设备发送的触发消息,触发消息中包含参数Target,参数Target用于指示要测量的目标;Receive the trigger message sent by the network access device, the trigger message contains the parameter Target, and the parameter Target is used to indicate the target to be measured;
    获取要测量的目标的信号强度或信号质量,将包含获取的要测量的目标的信号强度或信号质量发送给网络接入设备。Obtain the signal strength or signal quality of the target to be measured, and send the obtained signal strength or signal quality of the target to be measured to the network access device.
  15. 根据权利要求14所述的一种建立点对点通信连接的方法,其特征在于,触发消息中还包含参数Measure enable,参数Measure enable用于表示是否指示终端执行测量,当Measure enable表示指示终端执行测量时,终端获取要测量的目标的信号强度或信号质量。The method for establishing a point-to-point communication connection according to claim 14, wherein the trigger message further includes a parameter Measure enable, and the parameter Measure enable is used to indicate whether to instruct the terminal to perform measurement, and when Measure enable indicates to instruct the terminal to perform measurement , the terminal obtains the signal strength or signal quality of the target to be measured.
  16. 根据权利要求14所述的一种建立点对点通信连接的方法,其特征在于,该方法还包括:The method for establishing a point-to-point communication connection according to claim 14, wherein the method further comprises:
    以P2P interval的周期对要测量的目标的信号强度或信号质量进行周期性测量,并发送给网络接入设备。Periodically measure the signal strength or signal quality of the target to be measured at the P2P interval period, and send it to the network access device.
  17. 一种建立点对点通信连接的方法,其特征在于,该方法包括:A method for establishing a point-to-point communication connection, characterized in that the method comprises:
    接收终端发送的能力信息,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作;Receive the capability information sent by the terminal. The capability information includes the parameter P2P mode, which is used to indicate whether the terminal supports point-to-point operation;
    接收终端发送的承载数据的消息,承载数据的消息中包含源地址和目标地址;receiving a data-bearing message sent by the terminal, where the data-bearing message includes a source address and a destination address;
    确认目标地址对应的终端在网络接入设备的覆盖范围内;Confirm that the terminal corresponding to the target address is within the coverage of the network access device;
    查看源地址和目标地址对应的终端是否都支持点对点操作;Check whether the terminals corresponding to the source address and the destination address support point-to-point operations;
    发送P2P setup消息给终端,P2P setup消息中包含参数P2P parameter set, 参数P2P parameter set用于指示分配给点对点操作的资源。Send a P2P setup message to the terminal. The P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used to indicate the resources allocated to the point-to-point operation.
  18. 根据权利要求17所述的一种建立点对点通信连接的方法,其特征在于,参数P2P parameter set包含字段MCS、P2P bitmap和P2P interval,或包含字段Link、P2P bitmap和P2P interval,或包含字段P2P duration,或包含字段P2P duration和Channel,或包含字段P2P duration和P2P interval,A method for establishing a point-to-point communication connection according to claim 17, wherein the parameter P2P parameter set includes fields MCS, P2P bitmap and P2P interval, or includes fields Link, P2P bitmap and P2P interval, or includes fields P2P duration , or contains the fields P2P duration and Channel, or contains the fields P2P duration and P2P interval,
    其中,MCS用于指示点对点操作时使用的调制编码方式;P2P bitmap用于表示在一个时隙分配周期内,点对点时隙和普通时隙的分布;P2P interval用于表示时隙分配周期;Link用于在多链路网络***中标识指定的链路;P2P duration用于指示点对点操作对资源占有的时长;Channel用于指示点对点操作使用的信道或点对点操作使用的频段。Among them, MCS is used to indicate the modulation and coding method used in point-to-point operation; P2P bitmap is used to indicate the distribution of point-to-point time slots and ordinary time slots in a time slot allocation period; P2P interval is used to indicate the time slot allocation period; Link uses It is used to identify the specified link in the multi-link network system; P2P duration is used to indicate the time length of the resource occupied by the point-to-point operation; Channel is used to indicate the channel used by the point-to-point operation or the frequency band used by the point-to-point operation.
  19. 根据权利要求18所述的一种建立点对点通信连接的方法,其特征在于,P2P setup消息中还包含参数P2P option,参数P2P option用于表示点对点的操作方式。A method for establishing a point-to-point communication connection according to claim 18, wherein the P2P setup message also includes a parameter P2P option, and the parameter P2P option is used to represent a point-to-point operation mode.
  20. 根据权利要求19所述的一种建立点对点通信连接的方法,其特征在于,参数P2P option包含以下各项中一者或者多者:A method for establishing a point-to-point communication connection according to claim 19, wherein the parameter P2P option comprises one or more of the following items:
    setup,表示建立点对点连接;setup, which means to establish a point-to-point connection;
    release,表示释放点对点连接;release, which means to release the point-to-point connection;
    reject,表示拒绝点对点连接。reject, indicating that the point-to-point connection is rejected.
  21. 根据权利要求17-20中任一项所述的一种建立点对点通信连接的方法,其特征在于,在发送P2P setup消息给终端前,该方法还包括:A method for establishing a point-to-point communication connection according to any one of claims 17-20, characterized in that, before sending the P2P setup message to the terminal, the method further comprises:
    发送触发消息给终端,触发消息中包含参数Target,参数Target用于指示要测量的目标;Send a trigger message to the terminal, the trigger message contains the parameter Target, and the parameter Target is used to indicate the target to be measured;
    接收终端发送的包含要测量的目标的信号强度或信号质量的消息;receiving a message sent by the terminal containing the signal strength or signal quality of the target to be measured;
    比较要测量的目标的信号强度或信号质量与预设的门限值。Compare the signal strength or signal quality of the target to be measured with a preset threshold.
  22. 根据权利要求21所述的一种建立点对点通信连接的方法,其特征在于,触发消息中还包含参数Measure enable,参数Measure enable用于表示是否指示终端执行测量。A method for establishing a point-to-point communication connection according to claim 21, wherein the trigger message also includes a parameter Measure enable, and the parameter Measure enable is used to indicate whether to instruct the terminal to perform measurement.
  23. 根据权利要求21所述的一种建立点对点通信连接的方法,其特征在于,该方法还包括:A method for establishing a point-to-point communication connection according to claim 21, wherein the method further comprises:
    周期性地接收终端发送的包含要测量的目标的信号强度或信号质量的消息;Periodically receive messages sent by the terminal containing the signal strength or signal quality of the target to be measured;
    将每一次终端发送的要测量的目标的信号强度或信号质量与预设的门限值进行比较,如果要测量的目标的信号强度或信号质量大于或等于预设的门限值,则不做操作。Compare the signal strength or signal quality of the target to be measured sent by the terminal with the preset threshold value each time. If the signal strength or signal quality of the target to be measured is greater than or equal to the preset threshold value, do not do it. operate.
  24. 根据权利要求21所述的一种建立点对点通信连接的方法,其特征在于,该方法还包括:A method for establishing a point-to-point communication connection according to claim 21, wherein the method further comprises:
    周期性地接收终端发送的包含要测量的目标的信号强度或信号质量的消息;Periodically receive messages sent by the terminal containing the signal strength or signal quality of the target to be measured;
    将每一次终端发送的要测量的目标的信号强度或信号质量与预设的门限值进行比较,如果要测量的目标的信号强度或信号质量小于预设的门限值,则发送P2P setup消息给终端,将P2P setup消息中的参数P2P option设置为表示释放点对点连接。Compare the signal strength or signal quality of the target to be measured sent by the terminal each time with a preset threshold value, and if the signal strength or signal quality of the target to be measured is less than the preset threshold value, send a P2P setup message To the terminal, set the parameter P2P option in the P2P setup message to indicate that the point-to-point connection is released.
  25. 一种建立点对点通信连接的装置,其特征在于,该装置包括:A device for establishing a point-to-point communication connection, characterized in that the device comprises:
    能力信息发送模块,用于发送能力信息给网络接入设备,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作;The capability information sending module is used to send capability information to the network access device. The capability information includes the parameter P2P mode, which is used to indicate whether the terminal supports point-to-point operation;
    承载数据的消息发送模块,用于发送承载数据的消息给网络接入设备,承载数据的消息中包含源地址和目标地址;a data-bearing message sending module, configured to send a data-bearing message to a network access device, where the data-bearing message includes a source address and a destination address;
    P2P setup消息接收模块,用于接收网络接入设备发送的P2P setup消息,P2P setup消息中包含参数P2P parameter set,参数P2P parameter set用于指示分配给点对点操作的资源。The P2P setup message receiving module is used to receive the P2P setup message sent by the network access device. The P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used to indicate the resources allocated to the point-to-point operation.
  26. 一种建立点对点通信连接的装置,其特征在于,该装置包括:A device for establishing a point-to-point communication connection, characterized in that the device comprises:
    能力信息接收模块,用于接收终端发送的能力信息,能力信息包含参数P2P mode,用于表示终端是否支持点对点操作;The capability information receiving module is used to receive capability information sent by the terminal. The capability information includes the parameter P2P mode, which is used to indicate whether the terminal supports point-to-point operation;
    承载数据的消息接收模块,用于接收终端发送的承载数据的消息,承载数据的消息中包含源地址和目标地址;a data-bearing message receiving module, configured to receive a data-bearing message sent by a terminal, where the data-bearing message includes a source address and a destination address;
    确认模块,用于确认目标地址对应的终端在网络接入设备的覆盖范围内;Confirmation module, used to confirm that the terminal corresponding to the target address is within the coverage of the network access device;
    查看模块,用于查看源地址和目标地址对应的终端是否都支持点对点操作;The viewing module is used to check whether the terminals corresponding to the source address and the destination address support point-to-point operations;
    P2P setup消息发送模块,用于发送P2P setup消息给终端,P2P setup消息中包含参数P2P parameter set,参数P2P parameter set用于指示分配给点对点操作的资源。The P2P setup message sending module is used to send the P2P setup message to the terminal. The P2P setup message contains the parameter P2P parameter set, and the parameter P2P parameter set is used to indicate the resources allocated to the point-to-point operation.
  27. 一种建立点对点通信连接的装置,其特征在于,该装置包括:A device for establishing a point-to-point communication connection, characterized in that the device comprises:
    存储器,用于存储程序;memory for storing programs;
    处理器,耦合到所述存储器,其中,所述处理器用于运行所述程序,使得装置执行如权利要求1-16中任一项所述建立点对点通信连接的方法。A processor, coupled to the memory, wherein the processor is configured to run the program to cause an apparatus to perform a method of establishing a point-to-point communication connection as claimed in any one of claims 1-16.
  28. 一种建立点对点通信连接的装置,其特征在于,该装置包括:A device for establishing a point-to-point communication connection, characterized in that the device comprises:
    存储器,用于存储程序;memory for storing programs;
    处理器,耦合到所述存储器,其中,所述处理器用于运行所述程序,使得装置执行如权利要求17-24中任一项所述建立点对点通信连接的方法。A processor, coupled to the memory, wherein the processor is configured to run the program to cause an apparatus to perform a method of establishing a point-to-point communication connection as claimed in any of claims 17-24.
  29. 一种计算机可读存储介质,其特征在于,包括计算机指令,所述计算机指令由处理器执行时,可实现如权利要求1-24中任一项所述建立点对点通信连接的方法。A computer-readable storage medium, comprising computer instructions, which, when executed by a processor, can implement the method for establishing a point-to-point communication connection according to any one of claims 1-24.
PCT/CN2020/108350 2020-07-13 2020-08-11 Method and apparatus for establishing point-to-point communication connection, and storage medium WO2022011765A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010670972.7A CN113938490B (en) 2020-07-13 2020-07-13 Method, device and storage medium for establishing point-to-point communication connection
CN202010670972.7 2020-07-13

Publications (1)

Publication Number Publication Date
WO2022011765A1 true WO2022011765A1 (en) 2022-01-20

Family

ID=79273509

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/108350 WO2022011765A1 (en) 2020-07-13 2020-08-11 Method and apparatus for establishing point-to-point communication connection, and storage medium

Country Status (2)

Country Link
CN (1) CN113938490B (en)
WO (1) WO2022011765A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114529853A (en) * 2022-02-21 2022-05-24 创新奇智(成都)科技有限公司 Real-time video processing method and device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116709577B (en) * 2022-12-30 2024-06-11 荣耀终端有限公司 Communication method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527621A (en) * 2003-03-07 2004-09-08 皇家飞利浦电子股份有限公司 Method and apparatus for establishing point-to-point coordinate communication in radio communication network
CN1622678A (en) * 2003-11-27 2005-06-01 皇家飞利浦电子股份有限公司 Method and apparatus for establishing point-to-point communication between subscriber terminals in different cells
CN101132617A (en) * 2006-08-24 2008-02-27 华为技术有限公司 Method and system for implementing point-to-point peer communication
US20140057670A1 (en) * 2011-05-02 2014-02-27 Lg Electronics Inc. Method for performing device-to-device communication in wireless access system and apparatus therefor
CN111386749A (en) * 2018-10-25 2020-07-07 三星电子株式会社 Method for establishing point-to-point service sessions over infrastructure links

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617473A (en) * 2003-11-10 2005-05-18 皇家飞利浦电子股份有限公司 Method and device for clearing p2p interference in support p2p mode communication system
CN101002432A (en) * 2004-08-10 2007-07-18 皇家飞利浦电子股份有限公司 Method and apparatus for limiting P2P communication interference
CN1735224A (en) * 2004-08-10 2006-02-15 皇家飞利浦电子股份有限公司 Method and device for limiting P2P communication interfere
JP4781940B2 (en) * 2006-08-21 2011-09-28 パナソニック株式会社 Wireless communication system, communication control method, and communication node
CN101772199A (en) * 2008-11-24 2010-07-07 华为终端有限公司 Method and device for establishing D2D network
KR101713096B1 (en) * 2010-11-16 2017-03-07 인터디지탈 패튼 홀딩스, 인크 Method and apparatus for wireless direct link operation
US8660008B2 (en) * 2011-03-02 2014-02-25 3Inova Networks Inc. Traffic management in distributed wireless networks
US9125096B2 (en) * 2012-05-04 2015-09-01 Qualcomm Incorporated Method and apparatus for reducing interference in a wireless system
WO2015074199A1 (en) * 2013-11-20 2015-05-28 华为技术有限公司 Method and apparatus for establishing direct link in wireless local area network
US10863494B2 (en) * 2018-01-22 2020-12-08 Apple Inc. Control signaling for uplink multiple input multiple output, channel state information reference signal configuration and sounding reference signal configuration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1527621A (en) * 2003-03-07 2004-09-08 皇家飞利浦电子股份有限公司 Method and apparatus for establishing point-to-point coordinate communication in radio communication network
CN1622678A (en) * 2003-11-27 2005-06-01 皇家飞利浦电子股份有限公司 Method and apparatus for establishing point-to-point communication between subscriber terminals in different cells
CN101132617A (en) * 2006-08-24 2008-02-27 华为技术有限公司 Method and system for implementing point-to-point peer communication
US20140057670A1 (en) * 2011-05-02 2014-02-27 Lg Electronics Inc. Method for performing device-to-device communication in wireless access system and apparatus therefor
CN111386749A (en) * 2018-10-25 2020-07-07 三星电子株式会社 Method for establishing point-to-point service sessions over infrastructure links

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CARIOU, LAURENT: "IEEE 802.11 EHT draft Proposed CSD", IEEE 802.11-12/1077R07, 14 March 2019 (2019-03-14) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114529853A (en) * 2022-02-21 2022-05-24 创新奇智(成都)科技有限公司 Real-time video processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113938490B (en) 2023-04-07
CN113938490A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
JP6656347B2 (en) Wireless communication device and wireless communication method
JP6656348B2 (en) Wireless communication device and wireless communication method
Naik et al. Performance analysis of uplink multi-user OFDMA in IEEE 802.11 ax
US11418999B2 (en) Buffer status report for high priority transmission
CN108064084B (en) System and method for wireless communication
WO2021248629A1 (en) Method and terminal for connection to network access device, and computer readable storage medium
CN112911729B (en) Method, terminal and storage medium for establishing tunnel direct link
WO2022011765A1 (en) Method and apparatus for establishing point-to-point communication connection, and storage medium
CN112911728B (en) Method for searching peer-to-peer terminal in tunnel direct link establishment, terminal and medium
CN112911685B (en) Method, terminal and storage medium for scanning and synchronizing wireless local area network
CN113573341B (en) Method, device, equipment and storage medium for negotiating business and link mapping configuration
US9253792B2 (en) Method and apparatus of frame scheduling in wireless local area network system
US11770740B2 (en) Automatic classification and enforcement of low-bandwidth internet of things (IoT) devices
CN112911687B (en) Method for establishing connection between terminal and access equipment, wireless local area network and storage medium
WO2022011764A1 (en) Method and apparatus for performing point-to-point communication using multiple links, and storage medium
WO2019222999A1 (en) Access control method and device, and readable storage medium
CN115397039A (en) Method, apparatus, device and medium for establishing soft access point through link reconfiguration
WO2022011766A1 (en) Point-to-point communication resource allocation method, and terminal
CN115150037B (en) Method, device, system and storage medium for establishing multi-link block acknowledgement protocol
CN115695895B (en) Method, device, equipment and storage medium for improving data transmission rate
CN115334617B (en) Method, device and storage medium for data transmission through establishing access point
CN115529650B (en) Method, device, system and medium for terminal discovery and connection to access equipment
Carrascosa et al. Wi-Fi multi-link operation: An experimental study of latency and throughput
CN115396986B (en) Method, device, equipment and storage medium for controlling data transmission by soft access point
CN114339926B (en) Method for converting terminal operation mode, terminal, network access equipment and medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20945057

Country of ref document: EP

Kind code of ref document: A1