CN114006908A - Method and terminal for allocating point-to-point communication resources - Google Patents
Method and terminal for allocating point-to-point communication resources Download PDFInfo
- Publication number
- CN114006908A CN114006908A CN202010669864.8A CN202010669864A CN114006908A CN 114006908 A CN114006908 A CN 114006908A CN 202010669864 A CN202010669864 A CN 202010669864A CN 114006908 A CN114006908 A CN 114006908A
- Authority
- CN
- China
- Prior art keywords
- target terminal
- message
- parameter
- slot
- terminal
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application relates to the technical field of point-to-point communication, in particular to a method and a terminal for allocating point-to-point communication resources, wherein the method comprises the steps of receiving a P2P indication message sent by network access equipment; performing P2P transmission with a target terminal according to the parameter "P2P parameter set" and a P2P indication message sent by the network access equipment; the parameters include a sub-field "P2P interval" indicating the period of the P2P slot allocation pattern and a sub-field "P2P bit map" indicating the slot distribution situation for P2P within one slot allocation period; by allocating and managing the P2P time slots, efficient utilization of the time slots for P2P communication is facilitated.
Description
Technical Field
The present application relates to the field of peer-to-peer communication technologies, and in particular, to a method and a terminal for allocating peer-to-peer communication resources.
Background
802.11be networks, also known as Extreme High Throughput (EHT) networks, are enhanced by a range of system features and a variety of mechanisms to achieve very High Throughput. As the use of Wireless Local Area Networks (WLANs) continues to grow, it becomes increasingly important to provide wireless data services in many environments, such as homes, businesses, and hot spots. In particular, video traffic will continue to be the dominant type of traffic in many WLAN deployments. With the advent of 4k and 8k video (uncompressed rates of 20 Gbps), the throughput requirements for these applications are constantly evolving. New high throughput, low latency applications such as virtual reality or augmented reality, gaming, remote office and cloud computing will proliferate (e.g., latency for real-time gaming is less than 5 milliseconds).
In view of the high throughput and stringent real-time latency requirements of these applications, users expect higher throughput, higher reliability, less latency and jitter, and higher power efficiency when supporting their applications over a WLAN. Users desire improved integration with Time Sensitive Networks (TSNs) to support applications on heterogeneous ethernet and wireless LANs. 802.11be networks aim to ensure the competitiveness of WLANs 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.
In an 802.11bc network, a point-to-point communication enhancement mode based on AP scheduling is provided, wireless resources are uniformly scheduled by the AP, and packet loss caused by interference during receiving and transmitting of other equipment in the network is avoided while intermediate transmission nodes are reduced and transmission delay is reduced.
The prior art includes a first scheme, as shown in fig. 2, in the scheme, an AP sends multicast-like information, called DiL-a, to notify a time duration during which peer-to-peer communication devices need to perform peer-to-peer communication, in this time, a resource is occupied by two peer-to-peer communication devices, and after the end, one of the peer-to-peer devices initiates a request for ending peer-to-peer communication to the AP.
The disadvantages of the above scheme are: in order to avoid interference, when devices assigned to peer-to-peer communication transmit and receive data, other devices in the network cannot transmit and receive data, generally, peer-to-peer communication is assigned to consider that the amount of data between two devices is large and is sensitive to delay, such as video transmission, VR, and the like. In general, in the field of point-to-point application, such as video transmission, VR data is actually transmitted in frames, and there is no data to be transmitted for a while, thereby causing resource waste.
The prior art includes a second scheme, as shown in fig. 3, the scheme divides a transmission channel from a frequency domain, and bandwidth of a channel in which a BA Frame, a PHY Preamble, and a Direct link portion are located is allocated to a peer-to-peer communication device at a specified time for use, while other bandwidth may still be provided for other users for use, so that on the basis of the first scheme, a problem of large delay in data transmission of other devices during peer-to-peer communication can be avoided. However, the same method is to divide continuous time intervals to the point-to-point devices, which causes a large waste of resources for the impulse data traffic.
In summary, in the 802.11be network, in order to improve data throughput and reduce data transmission delay, it is proposed to adopt the P2P transmission method controlled by the network access point AP. Before that, the 802.11 network supports direct connection of devices and is also a point-to-point transmission mode, but in the two previous scenarios, the first scenario is that no AP is provided, so that transmission does not interfere with transmission of other devices, and the second scenario is that an AP is provided, and after the two devices establish connection through the AP, the two devices directly transmit.
The invention provides a method and a terminal for allocating point-to-point communication resources on the basis of the background, which can ensure the performance of point-to-point communication transmission and limit the influence of the point-to-point communication transmission on the network performance.
Disclosure of Invention
In view of the above, the present application provides a method and a terminal for peer-to-peer communication resource allocation.
A method of peer-to-peer communication resource allocation, comprising:
receiving a P2P indication message sent by a network access device;
performing P2P transmission with a target terminal according to the parameter "P2P parameter set" and a P2P indication message sent by the network access equipment; the parameters include a subfield "P2P interval" indicating the period of the P2P slot allocation pattern and a subfield "P2P bit map" indicating the slot distribution situation for P2P within one slot allocation period.
Preferably, the P2P transmission with the target terminal according to the parameter "P2P parameter set" and the P2P indication message sent by the network access device includes:
the P2P bitmap is used to indicate slots for P2P traffic and slots for all traffic, a slot represents a time unit;
if the P2P indication message indicates that the service of P2P is used for confirmation;
the first terminal receives the message confirming the use of the P2P service, and transmits data to the target terminal in the time slot for the P2P service according to the P2P bitmap;
the target terminal receives a message confirming use of the P2P service, and receives data from the first terminal in a slot for the P2P service according to the P2P bitmap.
Preferably, the P2P transmission with the target terminal according to the parameter "P2P parameter set" and the P2P indication message sent by the network access device includes:
the P2P bitmap is used to indicate slots for P2P traffic and slots for all traffic, a slot represents a time unit;
if the P2P indicates that the message indicates a message rejecting P2P service,
the first terminal receives a P2P indication message indicating that operation using P2P is not accepted.
Preferably, the P2P transmission with the target terminal according to the parameter "P2P parameter set" and the P2P indication message sent by the network access device includes:
the P2P bitmap is used to indicate slots for P2P traffic and slots for all traffic, a slot represents a time unit, and slots for P2P traffic include P2P transmit slots and P2P receive slots;
if the P2P indication message indicates that the P2P traffic message is acknowledged,
the first terminal receives the message confirming the use of the P2P service, transmits data to the target terminal at the P2P transmission time slot according to the P2P bitmap, and receives data from the target terminal at the P2P reception time slot;
the target terminal receives the message confirming the use of the P2P service, receives data from the first terminal at the P2P transmission slot according to the P2P bitmap, and transmits data to the first terminal at the P2P reception slot.
Preferably, the network access device transmits a broadcast message including a parameter "P2P parameter set".
Preferably, the first terminal sends a P2P setup request message to the network access device, the network access device generates a response message according to the P2P setup request message, the response message includes a message indicating that the P2P service is confirmed to be used, and the response message includes a parameter "P2P parameter set".
Preferably, the P2P setup request message includes a parameter "P2P parameter set".
Preferably, the P2P setup request message includes parameters "service identifier" and buffer data size, or "service identifier", buffer data size and signal strength of the target terminal, or "service identifier", buffer data size and signal quality of the target terminal.
Preferably, the performing P2P transmission with the target terminal according to the parameter "P2P parameter set" and the response message sent by the network access device includes:
if the target terminal supports the P2P operation, the network access equipment sends a response message containing an instruction for confirming to use the P2P operation to the first terminal and the target terminal;
and if the target terminal does not support the P2P operation, the network access equipment sends a response message containing an indication of not accepting to use the P2P operation to the first terminal.
Preferably, the determination that the target terminal supports the P2P operation includes:
judging whether the target terminal supports P2P operation or not according to the capability information of the target terminal locally stored by the network access equipment;
or sending a request message to the target terminal through the network access device to request to acquire the capability of the target terminal, and judging whether the target terminal supports the P2P operation or not through the capability information fed back by the target terminal.
Preferably, the P2P setup request message includes a parameter P2P Option for indicating a requested P2P operation type and a parameter P2P STA for indicating a target terminal requiring connection, the P2P Option includes a "setup" indicating a request to establish a P2P connection or a "release" indicating a request to release a P2P connection, and the P2P STA includes an address or an identification of the target terminal.
Preferably, the network access device comprises at least one parameter set, and the parameter "P2P parameter set" comprises MCS parameters for indicating modulation and coding strategy indexes.
A terminal comprising
A memory for storing a program;
a processor coupled to the memory, wherein the processor is configured to execute the program to cause the terminal to perform the method of peer-to-peer communication resource allocation as described above.
A terminal comprising
The message receiving module is used for receiving a P2P indication message sent by the network access equipment;
a P2P transmission module, configured to perform P2P transmission with a target terminal according to the parameter "P2P parameter set" and the P2P indication message sent by the network access device; the parameters include a sub-field "P2P interval" indicating the period of the P2P slot allocation pattern and a sub-field "P2P bit map" indicating the slot distribution situation for P2P within one slot allocation period.
The method and the device have the advantages that the time slot cycle is allocated, the time slot for P2P service and the time slots for all services are included, the P2P time slot is set, the data transmission of P2P communication is ensured, meanwhile, the time slot is effectively utilized, and the defect that all the time slots are forbidden in the existing P2P communication is avoided; and meanwhile, judging whether the point-to-point communication is available or not according to the data type and setting the time slot of the point-to-point communication.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a schematic flow chart of the method of example 1 of the present application;
FIG. 2 is a schematic diagram of a first prior art solution of the present application;
FIG. 3 is a schematic diagram of a first prior art solution of the present application;
FIG. 4 is a first diagram illustrating the distribution of timeslots in a timeslot period according to the parameters of the present application;
FIG. 5 is a second diagram illustrating the distribution of timeslots in a timeslot period according to the parameters of the present application;
FIG. 6 is a schematic diagram of the method of examples 2 and 3 of the present application;
fig. 7 is a schematic diagram of the method in example 4 of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Furthermore, it should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the following invention scheme, STA represents a terminal in a wireless local area network, AP represents a network access device in the wireless local area network, and P2P service identifies a service that a data transmission path between terminals directly transmits between two terminals without passing through the AP.
STA1 and STA2 are two terminals in the coverage area of the AP, and STA1 and STA2 are communicating using the P2P method in the present invention.
In the P2P mode, the STA that first initiates the request for P2P connection is the initiator, and the target STA that the initiator requests to connect is the peer.
STA3 is a terminal within the coverage of the AP and uses the normal communication scheme with the AP in the present invention.
The Slot is the minimum time unit in the wireless local area network, for example, a Slot is set to be 9 microseconds, and then the transmission time is 5 slots, that is, 45 microseconds.
The AP sets the P2P parameter set in such a way that it is assigned according to a pre-evaluated traffic data model, for example, with a video transmission traffic model as a standard for the P2P traffic model,
frame rate: 60 Hz;
resolution ratio: 3840x 2160;
pixel size: 24 bits/pixel;
compression ratio: 100, respectively;
then one frame of video data is transmitted every 16.7ms, and the transmission rate is approximately 120 Mbps.
Then, according to the MCS corresponding rate table, such as table 1, the transmission time is calculated, and then according to the time value of each slot, the number of slots required for transmitting one frame of data is determined.
TABLE 1 MCS corresponding speed table
Example 1
Referring to fig. 1, a flowchart of a method for allocating peer-to-peer communication resources according to an embodiment of the present application is shown, where a terminal may be a television, a projector, a smart phone, a tablet computer, and the like, and a network access device may be a router, and the like.
The inventor researches and discovers that the current P2P communication process occupies all timeslots and has low communication efficiency, and in order to solve the above problems, the applicant proposes a method for allocating peer-to-peer communication resources, as shown in fig. 1, which includes the steps of:
receiving a P2P indication message sent by a network access device;
performing P2P transmission with a target terminal according to the parameter "P2P parameter set" and a P2P indication message sent by the network access equipment; the parameters include a subfield "P2P interval" indicating the period of the P2P slot allocation pattern and a subfield "P2P bit map" indicating the slot distribution situation for P2P within one slot allocation period.
In the embodiment of the application, a P2P indication message sent by a network access device indicates to confirm to use a P2P service or to refuse to use a P2P service, and when the indication indicates to confirm to use a P2P service, P2P transmission is performed with a target terminal according to a parameter "P2P parameter set"; specifically, the first terminal receives a message confirming that the P2P service is used, and sends data to the target terminal in a time slot for the P2P service according to the P2P bitmap parameter; the target terminal receives a message confirming the use of the P2P service, receives data from the first terminal in a slot for the P2P service according to the P2P bitmap parameter; when the first terminal and the target terminal end P2P communication, the time slot is used for all traffic. If the P2P indication message indicates a message rejecting the P2P service, the first terminal receives the P2P indication message indicating that the operation using the P2P is not accepted.
In a use scene, the first terminal is a projector, the second terminal is a mobile smart phone, the third terminal is a smart television, the network access device is a router, when the projector and the mobile smart phone need P2P communication, the network access device configures time slots into time slots for P2P services and time slots for all services, the projector and the mobile smart phone perform P2P communication in the time slots for P2P services, and after the P2P communication is finished, the projector, the mobile smart phone and the smart television perform communication in the time slots for all services.
Example 2
Based on embodiment 1, the parameter "P2P parameter set" comes from AP broadcast message, as shown in fig. 6, the method includes the steps of:
step 01: STA1, STA2, and STA3 receive Beacon messages broadcasted by the AP, where the messages include a parameter "P2P parameter set" including a sub-field "P2P interval" indicating the period of the P2P slot allocation mode and a sub-field "P2P bitmap" indicating the slot distribution condition for P2P in one slot allocation period, and are set as shown in table 2:
TABLE 2 parameter "P2P parameter set" table
The above parameters may include different P2P interval and P2P bitmap groups of parameter values according to different MCS policies, for example, MCS is 0, P2P interval is 10, P2P bitmap is {1,1,1,0,0,0,0,0,0,0, 0,0, MCS is 1, P2P interval is 20, P2P bitmap is {1,1,1,1, 0,0,0,0,0,0,0,0, 0,1,1,1,1,1, 1 };
wherein, 1 represents a slot available for P2P service transmission or represents a slot of all services, and 0 represents a slot of all services or represents a slot available for P2P service transmission; P2P slot and Normal slot as in FIG. 4; the slot of the present embodiment includes 0 and 1, and may also adopt 00 and 01, etc., and may also adopt other forms such as letters, etc.
Step 02: STA1 needs to establish P2P connection with STA2 for P2P transmission, and STA1 sends a P2P setup request message to the AP, where the message includes parameters:
P2P Option: indicating the type of P2P operation requested; "setup", meaning that the P2P connection is requested to be established, "release", meaning that the P2P connection is requested to be released, here set to "setup";
P2P STA: a target STA for indicating that connection is required, which is set as the address or identification of the STA 2;
optional parameters:
TID: the service identifier is used for identifying the service to which the request for sending the data belongs;
step 03: after receiving the P2P setup request message, the AP reads the content in the message, and confirms whether STA2 supports P2P operation, which may be confirmed by:
judging whether STA2 supports P2P operation or not through capability information of STA2 locally stored by the AP;
or sending a request message to the STA2 through the AP to request to acquire the capability thereof, and judging whether the STA2 supports the P2P operation through the capability information fed back by the STA 2;
step 04: if STA2 supports P2P operation, the AP sends a P2P indication message to STA1 and STA2, the P2P indication message comprising a P2P setup confirm message indicating agreement to use P2P operation;
if STA2 does not support P2P operation, the AP sends a P2P setup request message to STA1, the P2P indication message comprising a P2P setup request message indicating that STA1 is not approved to operate using P2P;
if more than one parameter set is included in the AP broadcast P2P parameter set, MCS parameters need to be included in the P2P setup confirm to indicate which set of parameters STA1 and STA2 use.
Step 05: STA1 receives the message sent by the AP, and if it receives a P2P setup confirm message, i.e., a message indicating that it agrees to use P2P, it sends data to STA2 in the slot set to "1" according to the P2P bitmap parameter.
In addition, if the P2P setup confirm message contains MCS, it first searches the corresponding P2P bitmap parameter according to MCS, and then sends data to STA2 in the slot set to "1" according to P2P bitmap parameter.
In addition, if the P2P setup request message contains TID, when TID contained in the data packet to be transmitted is TID in the request message, the data is transmitted in slot set to "1" according to P2P bitmap parameter.
Step 06: STA2 receives the message sent by the AP, and if it receives a P2P setup confirm message, i.e., a message indicating approval to use P2P, it receives data from STA1 at the slot corresponding to the setting of "1" according to the P2P bitmap parameter.
In addition, STA1 and STA2 may also transmit data or receive data in the slot corresponding to the setting of "0" according to the P2P bitmap parameter;
during the P2P operation of STA1 and STA2, the AP does not allocate the slot for P2P in the P2P bitmap, i.e. the slot indicated as "1" or "0", to other STAs for transmitting data;
step 07: after the data transmission of STA1 is finished, sending a P2P release request message to AP and STA 2;
step 08: after receiving the P2P release request message, the AP allocates the slot in the P2P bitmap for P2P, i.e. the slot indicated as "1" or "0", to any STA for transmitting data.
By allocating the slot cycle, including the slots for the P2P service and the slots for all the services, and setting the P2P slots, the data transmission of the P2P communication is ensured, and the slots are effectively utilized, thereby avoiding the defect that all the slots are disabled in the existing P2P communication.
Example 3
Based on embodiment 1, the parameter "P2P parameter set" comes from the response message generated by the AP, as shown in fig. 6, the method includes the steps of:
step 001: STA1 needs to establish P2P connection with STA2 to perform P2P transmission mode, STA1 sends P2P setup request message to AP, where the message includes parameters:
P2P Option: indicating the type of P2P operation requested; "setup" indicates a request to establish a P2P connection and "release" indicates a request to release a P2P connection. Set here to "setup";
P2P STA: a target STA for indicating that connection is required, which is set as the address or identification of the STA 2;
optional parameters:
TID: the service identifier is used for identifying the service to which the request for sending the data belongs;
P2P parameter set: same as in example 2;
step 002: after receiving the P2P setup request message, the AP reads the content in the message, and confirms whether STA2 supports P2P operation, which may be confirmed by:
judging whether STA2 supports P2P operation or not through capability information of STA2 locally stored by the AP;
or sending a request message to the STA2 through the AP to request to acquire the capability thereof, and judging whether the STA2 supports the P2P operation through the capability information fed back by the STA 2;
step 003: if STA2 supports P2P operation, the AP sends a P2P indication message to STA1 and STA2, the P2P indication message comprises a P2P setup confirm message containing parameter "P2P parameter set" in the message, the details of which are shown in Table 2:
if STA2 does not support P2P operation, the AP sends a P2P indication message to STA1, the P2P indication message comprising a P2P setup request message indicating that STA1 is not permitted to operate using P2P;
if the P2P setup request message received by the AP contains P2P parameter set, then whether the parameters requested by the STA1 can be accepted is judged according to the capability of the STA2 and the strategy of the AP, if so, the P2P parameter set requested by the STA1 is contained in the P2P setup confirm message, if not, the parameters in the P2P parameter set which can be supported are determined to be contained in the P2P setup confirm message.
Step 004: STA1 receives the message sent by the AP, and if it receives a P2P setup confirm message, i.e., a message indicating that it agrees to use P2P, it sends data to STA2 in the slot set to "1" according to the P2P bitmap parameter.
In addition, if the request message in step 2 contains a TID, when the TID contained in the data packet to be transmitted is the TID in the request message, the data is sent in the slot corresponding to the setting of "1" according to the P2P bitmap parameter.
Step 005: the STA2 receives the message sent by the AP, and if it receives a P2P setup confirm message, i.e. a message indicating that the operation using P2P is agreed, it receives the data sent by the STA1 at the slot corresponding to the setting of "1" according to the P2P bitmap parameter.
In addition, STA1 and STA2 may also transmit data or receive data in the slot set to "0" or "1" according to the P2P bitmap parameter;
during the P2P operation of STA1 and STA2, the AP does not allocate the slot for P2P in the P2P bitmap, i.e. the slot indicated as "1", to other STAs for transmitting data; in other words, only the slot indicated as "0" in P2P bitmap is allocated to other STAs to transmit data.
Step 006: after STA1 finishes transmitting data, it sends P2P setup release message to AP and STA 2.
Step 007: after receiving the P2P release request message, the AP allocates the slot in the P2P bitmap for P2P, i.e. the slot indicated as "1", to any STA to transmit data.
Example 4
Based on embodiment 1, the timeslot for P2P service of this embodiment is further optimized, as shown in fig. 7, the method includes the steps of:
step 0001: STA1, STA2, and STA3 receive Beacon messages broadcast by the AP, which include the parameter "P2P parameter set" including the sub-field "P2P bitmap" and the sub-field "P2P interval", as set forth in table 2:
the above parameters may include different sets of P2P interval and P2P bitmap parameter values according to different MCS policies, for example, MCS is 0, P2P interval is 10, P2P bitmap is {1,1,1,0,0,0,0,0,0,2 };
in this embodiment, the P2P bitmap parameter is used to indicate a timeslot for P2P service and timeslots for all services, where the timeslots represent time units, as shown in fig. 5, the timeslots for P2P service include a P2P transmission timeslot and a P2P reception timeslot, that is, P2P-F slot and P2P-R slot; for example, 0 indicates a slot of all traffic, i.e., a Normal slot, 1 indicates a P2P transmit slot among slots for P2P traffic, and 2 indicates a P2P receive slot among slots for P2P traffic. The slot value may take other numerical values in the form of a numerical value, or take other forms such as a letter.
Step 0002: STA1 needs to establish P2P connection with STA2 to perform P2P transmission mode, STA1 sends P2P setup request message to AP, where the message includes parameters:
P2P Option: indicating the type of P2P operation requested; "setup" indicates a request to establish a P2P connection and "release" indicates a request to release a P2P connection. Set here to "setup";
P2P STA: a target STA for indicating that connection is required, which is set as the address or identification of the STA 2;
optional parameters:
TID: the service identifier is used for identifying the service to which the request for sending the data belongs;
step 0003: after receiving the P2P setup request message, the AP reads the content in the message, and confirms whether STA2 supports P2P operation, which may be confirmed by:
judging whether STA2 supports P2P operation or not through capability information of STA2 locally stored by the AP;
or sending a request message to the STA2 through the AP to request to acquire the capability thereof, and judging whether the STA2 supports the P2P operation through the capability information fed back by the STA 2;
step 0004: if STA2 supports P2P operation, the AP sends a P2P indication message to STA1 and STA2, the P2P indication message comprising a P2P setup confirm message indicating agreement to use P2P operation;
if STA2 does not support P2P operation, the AP sends a P2P indication message to STA1, the P2P indication message comprising a P2P setup request message indicating that STA1 is not permitted to operate using P2P;
if more than one parameter set is included in the AP broadcast P2P parameter set, MCS parameters need to be included in the P2P setup confirm to indicate which set of parameters STA1 and STA2 use.
Step 0005: STA1 receives the message sent by the AP, and if it receives a P2P setup confirm message, i.e. a message indicating that P2P is agreed to use, it sends data to STA2 at the slot set to "1" and receives data from STA2 at the slot set to "2" according to the P2P bitmap parameter.
In addition, if the P2P setup confirm message contains MCS, then first look up the corresponding P2P bitmap parameter according to MCS, then send data at the slot set as "1" according to the P2P bitmap parameter, and receive data at the slot set as "2".
In addition, if the request message in step 2 contains a TID, when the TID contained in the data packet to be transmitted is the TID in the request message, according to the P2P bitmap parameter, data is sent at the slot set to "1" and received at the slot set to "2".
Step 0006: STA2 receives the message sent by the AP, and if it receives a P2P setup confirm message, i.e. a message indicating that P2P is agreed to use, it receives data from STA1 at the slot set to "1" and sends data to STA1 at the slot set to "2" according to the P2P bitmap parameter.
In addition, STA1 and STA2 may also send data in the slot corresponding to the setting of "0" according to the P2P bitmap parameter;
during the P2P operation of STA1 and STA2, the AP does not allocate the slots for P2P in the P2P bitmap, i.e., the slots indicated as "1" and "2", to other STAs for transmitting data;
step 0007: after STA1 finishes transmitting data, it sends P2P release request message to AP and STA 2.
Step 0008: after receiving the P2P release request message, the AP allocates slots for P2P in the P2P bitmap, i.e., slots indicated as "1" and "2", to any STA for transmitting data.
In a use scenario, the first terminal is a projector, the second terminal is a mobile smart phone, the third terminal is a smart television, and the network access device is a router, which is different from embodiment 1 in that the projector and the mobile smart phone of this embodiment both have a function of sending and receiving at the same time when communicating in P2P, so that the terminal is changed from a message passive party to an active party, for example, a message sent from the smart phone to the projector is changed into a message sent to the smart phone, and the message can also be sent to the smart phone, thereby facilitating active collection of data of the projector.
Meanwhile, the parameter "P2P parameter set" in this embodiment may come from a message broadcast by the AP.
Example 5
Based on any of the above embodiments, the P2P setup request message includes parameters "service identifier" and buffer data size, or "service identifier", buffer data size and signal strength of the target terminal, or "service identifier", buffer data size and signal quality of the target terminal. Setting the parameters as judgment parameters of AP distribution P2P channel, for example, if the cache data volume is large, point-to-point communication can be carried out, the data volume is small, and point-to-point communication channel distribution is not recommended; when the service identification is large data volume data, such as video data and the like, point-to-point communication is recommended; for example, the signal strength of the target terminal is weak, which is not favorable for performing point-to-point communication.
Example 6
Based on the same inventive concept as the method for allocating the peer-to-peer communication resource, the embodiment of the application also provides a terminal. The terminal comprises
A memory for storing a program;
a processor coupled to the memory, wherein the processor is configured to execute the program to enable the terminal to perform the method for peer-to-peer communication resource allocation according to any of the embodiments.
The embodiment of the application also provides a terminal, which comprises
The message receiving module is used for receiving a P2P indication message sent by the network access equipment;
a P2P transmission module, configured to perform P2P transmission with a target terminal according to the parameter "P2P parameter set" and the P2P indication message sent by the network access device; the parameters include a sub-field "P2P interval" indicating the period of the P2P slot allocation pattern and a sub-field "P2P bit map" indicating the slot distribution situation for P2P within one slot allocation period.
The P2P transmission module comprises a first transmission module and a second transmission module, the first transmission module is configured to receive, by the first terminal, a message confirming that the P2P service is used when the P2P indication message indicates that the P2P service is used, and send data to the target terminal in the timeslot for the P2P service according to the P2P bitmap parameter; the second transmission module is configured to receive, by the target terminal, the message confirming the use of the P2P service when the P2P indication message indicates that the use of the P2P service is confirmed, and receive data from the first terminal in the slot for the P2P service according to the P2P bitmap parameter. Or the first transmission module is configured to receive, by the first terminal, a message confirming that the P2P service is used when the P2P indication message indicates that the P2P service is confirmed to be used, send data to the target terminal in the P2P transmission timeslot according to the P2P bitmap parameter, and receive data from the target terminal in the P2P reception timeslot; the second transmission module is configured to receive, by the target terminal, a message confirming that the P2P service is used when the P2P indication message indicates that the P2P service is confirmed to be used, receive data from the first terminal at the P2P transmission slot according to the P2P bitmap parameter, and transmit data to the first terminal at the P2P reception slot.
In addition, an embodiment of the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed, the method for allocating peer-to-peer communication resources provided in the foregoing method embodiment is implemented.
To sum up, the method for allocating peer-to-peer communication resources provided in this embodiment of the present application manages time slots, allocates time slot periods to be P2P service time slots and all service time slots, determines and confirms to use P2P service through each parameter, performs peer-to-peer communication in P2P service time slots, and recovers P2P service time slots after peer-to-peer communication is completed, so as to avoid that all time slots are occupied during peer-to-peer communication in the prior art, which affects channel transmission and network performance.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in each embodiment of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in each embodiment of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), a magnetic disk, or an optical disk.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Moreover, it is noted that, in this document, relational terms such as "first," "second," "third," and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Claims (14)
1. A method of peer-to-peer communication resource allocation, comprising:
receiving a P2P indication message sent by a network access device;
performing P2P transmission with a target terminal according to the parameter "P2P parameter set" and a P2P indication message sent by the network access equipment; the parameters include a subfield "P2P interval" indicating the period of the P2P slot allocation pattern and a subfield "P2P bit map" indicating the slot distribution situation for P2P within one slot allocation period.
2. The method of peer-to-peer communications resource allocation according to claim 1, wherein the P2P transmission with the target terminal according to the parameter "P2P parameter set" and the P2P indication message sent by the network access device comprises:
the P2P bitmap is used to indicate slots for P2P traffic and slots for all traffic, a slot represents a time unit;
if the P2P indication message indicates that the service of P2P is used for confirmation;
the first terminal receives the message confirming the use of the P2P service, and transmits data to the target terminal in the time slot for the P2P service according to the P2P bitmap;
the target terminal receives a message confirming use of the P2P service, and receives data from the first terminal in a slot for the P2P service according to the P2P bitmap.
3. The method of peer-to-peer communications resource allocation according to claim 1, wherein the P2P transmission with the target terminal according to the parameter "P2P parameter set" and the P2P indication message sent by the network access device comprises:
the P2P bitmap is used to indicate slots for P2P traffic and slots for all traffic, a slot represents a time unit;
if the P2P indicates that the message indicates a message rejecting P2P service,
the first terminal receives a P2P indication message indicating that operation using P2P is not accepted.
4. The method of peer-to-peer communications resource allocation according to claim 1, wherein the P2P transmission with the target terminal according to the parameter "P2P parameter set" and the P2P indication message sent by the network access device comprises:
the P2P bitmap is used to indicate slots for P2P traffic and slots for all traffic, a slot represents a time unit, and slots for P2P traffic include P2P transmit slots and P2P receive slots;
if the P2P indication message indicates that the P2P traffic message is acknowledged,
the first terminal receives the message confirming the use of the P2P service, transmits data to the target terminal at the P2P transmission time slot according to the P2P bitmap, and receives data from the target terminal at the P2P reception time slot;
the target terminal receives the message confirming the use of the P2P service, receives data from the first terminal at the P2P transmission slot according to the P2P bitmap, and transmits data to the first terminal at the P2P reception slot.
5. The method of point-to-point communication resource allocation according to claim 1, wherein said network access device sends a broadcast message, said broadcast message comprising the parameter "P2P parameter set".
6. The method of peer-to-peer communication resource allocation according to claim 1, wherein the first terminal sends a P2P setup request message to the network access device, the network access device generates a response message according to the P2P setup request message, the response message includes a message indicating that the P2P service is confirmed to be used, and the response message includes a parameter "P2P parameter set".
7. The method of peer-to-peer communications resource allocation according to claim 6, wherein said P2P setup request message includes the parameter "P2P parameter set".
8. The method of claim 6, wherein the P2P setup request message contains parameters "service ID" and buffer data amount, or "service ID", buffer data amount and signal strength of the target terminal, or "service ID", buffer data amount and signal quality of the target terminal.
9. The method of peer-to-peer communications resource allocation according to claim 6, wherein the P2P transmission with the target terminal according to the parameter "P2P parameter set" and the response message sent by the network access device comprises:
if the target terminal supports the P2P operation, the network access equipment sends a response message containing an instruction for confirming to use the P2P operation to the first terminal and the target terminal;
and if the target terminal does not support the P2P operation, the network access equipment sends a response message containing an indication of not accepting to use the P2P operation to the first terminal.
10. The method of claim 9, wherein the determination that the target terminal supports P2P operation comprises:
judging whether the target terminal supports P2P operation or not according to the capability information of the target terminal locally stored by the network access equipment;
or sending a request message to the target terminal through the network access device to request to acquire the capability of the target terminal, and judging whether the target terminal supports the P2P operation or not through the capability information fed back by the target terminal.
11. The method of peer-to-peer communication resource allocation according to claim 6, wherein said P2P setup request message includes a parameter P2P Option for indicating the type of P2P operation requested and a parameter P2P STA for indicating the target terminal requiring connection, said P2P Option includes "setup" indicating a request to establish a P2P connection or "release" indicating a request to release a P2P connection, said P2P STA includes the address or identity of the target terminal.
12. The method of point-to-point communication resource allocation according to any of claims 1-8, wherein said network access device comprises at least one parameter set, said parameter "P2P parameter set" comprising MCS parameters for indicating modulation and coding strategy indices.
13. A terminal, comprising
A memory for storing a program;
a processor coupled to the memory, wherein the processor is configured to execute the program to cause the terminal to perform the method of peer-to-peer communication resource allocation according to any of claims 1-12.
14. A terminal, comprising
The message receiving module is used for receiving a P2P indication message sent by the network access equipment;
a P2P transmission module, configured to perform P2P transmission with a target terminal according to the parameter "P2P parameter set" and the P2P indication message sent by the network access device; the parameters include a sub-field "P2P interval" indicating the period of the P2P slot allocation pattern and a sub-field "P2P bit map" indicating the slot distribution situation for P2P within one slot allocation period.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010669864.8A CN114006908B (en) | 2020-07-13 | 2020-07-13 | Method and terminal for allocating point-to-point communication resources |
PCT/CN2020/108351 WO2022011766A1 (en) | 2020-07-13 | 2020-08-11 | Point-to-point communication resource allocation method, and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010669864.8A CN114006908B (en) | 2020-07-13 | 2020-07-13 | Method and terminal for allocating point-to-point communication resources |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114006908A true CN114006908A (en) | 2022-02-01 |
CN114006908B CN114006908B (en) | 2023-03-10 |
Family
ID=79556098
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010669864.8A Active CN114006908B (en) | 2020-07-13 | 2020-07-13 | Method and terminal for allocating point-to-point communication resources |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114006908B (en) |
WO (1) | WO2022011766A1 (en) |
Citations (8)
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 |
CN101132617A (en) * | 2006-08-24 | 2008-02-27 | 华为技术有限公司 | Method and system for implementing point-to-point peer communication |
US20090005057A1 (en) * | 2007-06-29 | 2009-01-01 | Samsung Electronics Co. Ltd. | Apparatus and method for peer-to-peer (p2p) communications in a broadband wireless communication system |
CN105284175A (en) * | 2013-11-20 | 2016-01-27 | 华为技术有限公司 | Method and apparatus for establishing direct link in wireless local area network |
CN105722051A (en) * | 2010-11-16 | 2016-06-29 | 交互数字专利控股公司 | Method For Wireless Direct Link Operation And Central Entity |
US20180026891A1 (en) * | 2014-07-21 | 2018-01-25 | Cisco Technology, Inc. | Predictive time allocation scheduling for computer networks |
CN109792320A (en) * | 2018-12-25 | 2019-05-21 | 北京小米移动软件有限公司 | Data transmission method and device |
CN111405684A (en) * | 2020-06-08 | 2020-07-10 | 成都极米科技股份有限公司 | Method for connecting to network access device, terminal and computer readable storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549613A (en) * | 2003-05-19 | 2004-11-24 | �ʼҷ����ֵ��ӹɷ�����˾ | Method and apparatus for soft switching between P2P communication mode and traditional communication mode in radio communication system |
CN105451368B (en) * | 2014-08-27 | 2020-04-28 | 华为技术有限公司 | Communication method and device |
US10028205B2 (en) * | 2015-12-16 | 2018-07-17 | Qualcomm Incorporated | Techniques for wireless local area network (WLAN) scanning in coexistence scenarios |
EP3654723B1 (en) * | 2018-08-23 | 2021-12-29 | LG Electronics Inc. | Methods and device for transmitting or receiving information on size of resource unit in wireless lan system |
CN111050289B (en) * | 2019-12-18 | 2022-04-19 | 展讯通信(上海)有限公司 | Beacon transmitting and receiving method and device, storage medium and terminal |
CN111385828B (en) * | 2020-05-19 | 2020-09-15 | 成都极米科技股份有限公司 | Method, terminal and system for receiving and transmitting data in wireless local area network and network access equipment |
-
2020
- 2020-07-13 CN CN202010669864.8A patent/CN114006908B/en active Active
- 2020-08-11 WO PCT/CN2020/108351 patent/WO2022011766A1/en active Application Filing
Patent Citations (8)
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 |
CN101132617A (en) * | 2006-08-24 | 2008-02-27 | 华为技术有限公司 | Method and system for implementing point-to-point peer communication |
US20090005057A1 (en) * | 2007-06-29 | 2009-01-01 | Samsung Electronics Co. Ltd. | Apparatus and method for peer-to-peer (p2p) communications in a broadband wireless communication system |
CN105722051A (en) * | 2010-11-16 | 2016-06-29 | 交互数字专利控股公司 | Method For Wireless Direct Link Operation And Central Entity |
CN105284175A (en) * | 2013-11-20 | 2016-01-27 | 华为技术有限公司 | Method and apparatus for establishing direct link in wireless local area network |
US20180026891A1 (en) * | 2014-07-21 | 2018-01-25 | Cisco Technology, Inc. | Predictive time allocation scheduling for computer networks |
CN109792320A (en) * | 2018-12-25 | 2019-05-21 | 北京小米移动软件有限公司 | Data transmission method and device |
CN111405684A (en) * | 2020-06-08 | 2020-07-10 | 成都极米科技股份有限公司 | Method for connecting to network access device, terminal and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
INTEL: ""11-15-1429-01-0000-liaison-response-to-3gpp-r4-156870"", 《3GPP TSG_RAN\WG2_RL2》 * |
Also Published As
Publication number | Publication date |
---|---|
CN114006908B (en) | 2023-03-10 |
WO2022011766A1 (en) | 2022-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10873961B2 (en) | Method and apparatus for scheduling uplink data in mobile communication system | |
US11071168B2 (en) | Multi-station access method, apparatus, and system | |
US11418999B2 (en) | Buffer status report for high priority transmission | |
RU2233031C2 (en) | Device and method for assigning extension code to common-user backward channel message in code-division multiple access communication system | |
CN110505000B (en) | Communication method, base station and user equipment | |
WO2017148205A1 (en) | Data transmission method and apparatus | |
JP2010517490A (en) | Resource request for wireless communication system | |
KR102483135B1 (en) | Data transmission method and related device | |
CN112911729A (en) | Method, terminal and storage medium for establishing tunnel direct link | |
CN113473622B (en) | OFDMA frequency domain resource scheduling method, STA, AP and communication system | |
JP7316427B2 (en) | Direct link and downlink transmission in trigger-based multi-user transmission | |
CN115209568B (en) | Management method, device and storage medium for service flow data transmission of multi-link system | |
CN112911680B (en) | Method, device and storage medium for establishing access point in wireless local area network | |
CN112911687B (en) | Method for establishing connection between terminal and access equipment, wireless local area network and storage medium | |
CN113938490B (en) | Method, device and storage medium for establishing point-to-point communication connection | |
CN106411764B (en) | Dynamic adjustment method for bandwidth configuration and base station equipment | |
CN114006908B (en) | Method and terminal for allocating point-to-point communication resources | |
CN116633401A (en) | Beam scheduling method, device, system, communication equipment and storage medium | |
CN114095504B (en) | Method, apparatus and storage medium for peer-to-peer communication using multilink | |
CN115397039A (en) | Method, apparatus, device and medium for establishing soft access point through link reconfiguration | |
CN115529650B (en) | Method, device, system and medium for terminal discovery and connection to access equipment | |
KR100999039B1 (en) | Wireless Network System of Multi tier and Communication Method and Apparatus thereof | |
CN115334617B (en) | Method, device and storage medium for data transmission through establishing access point | |
CN114339926B (en) | Method for converting terminal operation mode, terminal, network access equipment and medium | |
JP7523080B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND INTEGRATED CIRCUIT |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |