Disclosure of Invention
In view of the above, the present invention is proposed in order to provide a wireless communication method and a wireless access device, a network planning device, a terminal device that overcome or at least partially solve the above problems.
In a first aspect of the present invention, a wireless communication method is provided, including:
acquiring network planning parameters issued by network planning equipment, wherein the network planning parameters comprise a time slot period of a TDMA frame and a network uplink and downlink time slot ratio;
determining a time slot structure of the time slot period according to the time slot period and a network uplink and downlink time slot ratio, wherein the time slot structure comprises preset time lengths corresponding to all service types and positions of the time lengths corresponding to all the service types in the time slot period;
distributing corresponding time slot resources for each terminal device according to the determined time slot structure;
and communicating with each terminal device based on the time slot resource allocation result.
Optionally, each service type includes a broadcast service, an uplink data service, and a downlink data service;
the determining the time slot structure of the time slot cycle according to the time slot cycle and the network uplink and downlink time slot ratio comprises the following steps:
and distributing a broadcast time slot corresponding to a broadcast service at the initial position of the time slot period, and distributing an uplink data time slot and a distribution position corresponding to an uplink data service and a downlink data time slot and a distribution position corresponding to a downlink data service according to the network uplink and downlink time slot distribution ratio and the residual time length after the broadcast time slot is distributed to the time slot period.
Optionally, each service type further includes a contention access service;
after the broadcast time slot corresponding to the broadcast service is allocated at the initial position of the time slot cycle, the method further includes:
and allocating random access time slots and distribution positions corresponding to the competitive access service based on the residual time length after the time slot period is allocated with the broadcast time slot.
Optionally, the network planning parameter further includes a user uplink/downlink guaranteed bandwidth;
the allocating corresponding time slot resources to each terminal device according to the determined time slot structure includes:
acquiring uplink/downlink data volume to be sent of each terminal device and a minimum index value of a Modulation and Coding Strategy (MCS) adopted currently;
and allocating uplink/downlink data time slot resources meeting the uplink/downlink guaranteed bandwidth of the user to the corresponding terminal equipment according to the uplink/downlink data quantity to be sent of each terminal equipment and the minimum index value of the MCS adopted currently.
Optionally, after allocating uplink/downlink data timeslot resources meeting the uplink/downlink guaranteed bandwidth of the user to the corresponding terminal device according to the minimum index value of the to-be-transmitted uplink/downlink data amount and the currently-used MCS of each terminal device, the method further includes:
and if the residual uplink/downlink data time slot resources exist, distributing the residual uplink/downlink data time slot resources according to the user priority of each terminal device and/or the uplink/downlink data volume to be sent.
Optionally, the network planning parameter further includes a user uplink/downlink guaranteed time slot;
after allocating uplink/downlink data time slot resources satisfying the uplink/downlink guaranteed bandwidth of the user to the corresponding terminal device according to the uplink/downlink data amount to be sent of each terminal device and the minimum index value of the currently adopted MCS, the method further includes:
and if the allocated uplink/downlink data time slot resources do not meet the terminal equipment of the user uplink/downlink guaranteed bandwidth, allocating the time slot resources for the terminal equipment according to the user uplink/downlink guaranteed time slot corresponding to each terminal equipment.
Optionally, the method further comprises:
when terminal equipment with the transmission block error rate higher than a preset threshold value occurs, reserving heartbeat monitoring time slot resources with preset length for terminal equipment with low priority, and releasing time slot resources of the terminal equipment with low priority except the heartbeat monitoring time slot resources.
In a second aspect of the present invention, a wireless communication method is provided, including:
acquiring network planning parameters of a current network;
and issuing the network planning parameters to corresponding wireless access equipment, wherein the network planning parameters comprise a time slot cycle of a TDMA frame of the wireless access equipment and network uplink and downlink time slot ratios, so that the wireless access equipment determines a time slot structure of the time slot cycle according to the time slot cycle and the network uplink and downlink time slot ratios, and communicates with each terminal equipment according to the determined time slot structure.
Optionally, the obtaining the network planning parameter of the current network includes:
determining the network user capacity of the current network;
configuring user uplink/downlink guaranteed bandwidth of each terminal device according to the network user capacity and the QoS of each terminal device in the current network;
respectively determining user uplink/downlink guarantee time slots of each terminal device according to the moving range of each terminal device in the current network and the user uplink/downlink guarantee bandwidth of each terminal device;
and configuring the time slot cycle of the TDMA frame of the current wireless access equipment and the network uplink and downlink time slot ratio based on the user uplink/downlink guarantee time slots of all the terminal equipment.
Optionally, after configuring the timeslot period of the TDMA frame of the wireless access device and the network uplink and downlink timeslot ratio based on the user uplink and downlink guaranteed timeslots of all the terminal devices, the method further includes:
and adjusting the ratio of the uplink and downlink time slots of the network according to the ratio of the uplink and downlink services of any terminal equipment in the current scene.
In a third aspect of the present invention, a wireless communication method is provided, including:
acquiring a time slot resource allocation result of the wireless access equipment, wherein the time slot resource allocation result is allocated by the wireless access equipment according to a time slot structure of a time slot period of a TDMA frame; the time slot structure comprises preset time length corresponding to each service type and the position of the time length corresponding to each service type in the time slot period;
and communicating with the wireless access equipment according to the time slot resource allocation result.
Optionally, the obtaining a timeslot resource allocation result of the wireless access device includes:
and receiving broadcast information sent by the wireless access equipment, wherein the broadcast information comprises the identification number of the wireless access equipment, the identification number of each terminal equipment and the uplink and downlink time slot resource allocation results corresponding to each terminal equipment.
In a fourth aspect of the present invention, there is provided a wireless access device, including:
the access side acquisition module is used for acquiring network planning parameters issued by network planning equipment, wherein the network planning parameters comprise a time slot period of a TDMA frame and a network uplink and downlink time slot ratio;
the configuration module is used for determining a time slot structure of the time slot cycle according to the time slot cycle and the ratio of uplink time slots and downlink time slots of the network, wherein the time slot structure comprises preset time lengths corresponding to all service types and positions of the time lengths corresponding to all the service types in the time slot cycle;
the resource allocation module is used for allocating corresponding time slot resources to each terminal device according to the determined time slot structure;
and the access side communication module is used for communicating with each terminal device based on the time slot resource allocation result.
Optionally, each service type includes a broadcast service, an uplink data service, and a downlink data service;
the configuration module is specifically configured to allocate a broadcast time slot corresponding to a broadcast service at an initial position of the time slot cycle, and allocate an uplink data time slot and a distribution position corresponding to an uplink data service and a downlink data time slot and a distribution position corresponding to a downlink data service according to a remaining duration after the network uplink and downlink time slot allocation is compared with the network uplink and downlink time slot allocation.
Optionally, each service type further includes a contention access service;
the configuration module is specifically configured to allocate a random access time slot and a distribution position corresponding to a contention access service based on a remaining duration after the broadcast time slot is allocated in the time slot cycle after the broadcast time slot is allocated in the initial position of the time slot cycle.
Optionally, the network planning parameter further includes a user uplink/downlink guaranteed bandwidth;
the resource allocation module comprises:
an obtaining submodule, configured to obtain a minimum index value of an uplink/downlink data amount to be sent and a Modulation and Coding Scheme (MCS) currently adopted by each terminal device;
and the allocation submodule is used for allocating uplink/downlink data time slot resources meeting the uplink/downlink guaranteed bandwidth of the user for the corresponding terminal equipment according to the uplink/downlink data quantity to be sent of each terminal equipment and the minimum index value of the MCS adopted currently.
Optionally, the allocating sub-module is further configured to, after allocating, according to the uplink/downlink data amount to be sent by each terminal device and the minimum index value of the currently-used MCS, uplink/downlink data slot resources that meet the user uplink/downlink guaranteed bandwidth to the corresponding terminal device, allocate, if remaining uplink/downlink data slot resources still exist, the remaining uplink/downlink data slot resources according to the user priority of each terminal device and/or the uplink/downlink data amount to be sent.
Optionally, the network planning parameter further includes a user uplink/downlink guaranteed time slot;
the allocation submodule is further configured to, after allocating, to a corresponding terminal device, an uplink/downlink data time slot resource that satisfies the user uplink/downlink guaranteed bandwidth according to the amount of uplink/downlink data to be sent of each terminal device and the minimum index value of the currently-used MCS, allocate, to the terminal device, the time slot resource according to the user uplink/downlink guaranteed time slot corresponding to each terminal device if there is a terminal device whose allocated uplink/downlink data time slot resource does not satisfy the user uplink/downlink guaranteed bandwidth.
In a fifth aspect of the present invention, a network planning apparatus is provided, including:
the network planning module is used for determining the network planning parameters of the current network;
and the network side communication module is used for issuing the network planning parameters determined by the network planning module to corresponding wireless access equipment, wherein the network planning parameters comprise a time slot period of a TDMA frame of the wireless access equipment and network uplink and downlink time slot ratios, so that the wireless access equipment determines a time slot structure of the time slot period according to the time slot period and the network uplink and downlink time slot ratios, and communicates with each terminal equipment according to the determined time slot structure.
Optionally, the network planning module is specifically configured to:
determining the network user capacity of the current network;
configuring user uplink/downlink guaranteed bandwidth of each terminal device according to the network user capacity and the QoS of each terminal device in the current network;
respectively determining user uplink/downlink guarantee time slots of each terminal device according to the moving range of each terminal device in the current network and the user uplink/downlink guarantee bandwidth of each terminal device;
and configuring the time slot cycle of the TDMA frame of the current wireless access equipment and the network uplink and downlink time slot ratio based on the user uplink/downlink guarantee time slots of all the terminal equipment.
A sixth aspect of the present invention provides a terminal device, including:
a terminal side obtaining module, configured to obtain a time slot resource allocation result of a wireless access device, where the time slot resource allocation result is allocated by the wireless access device according to a time slot structure of a time slot cycle of a TDMA frame; the time slot structure comprises preset time length corresponding to each service type and the position of the time length corresponding to each service type in the time slot period;
and the terminal side communication module is used for communicating with the wireless access equipment according to the time slot resource allocation result.
According to the wireless communication method, the wireless access equipment, the network planning equipment and the terminal equipment, the time slot structure of the time slot period is determined by performing functional time slot division on the time slot period according to the network planning parameters planned by the network planning equipment, wherein the network planning parameters comprise the time slot period of a TDMA frame and the ratio of uplink time slots and downlink time slots of a network, corresponding time slot resources are distributed to the terminal equipment through a centralized time slot resource distribution mode based on the determined time slot structure, the real-time service bearing performance and the service quality QoS of a wireless network are improved, the utilization rate of air interface resources and the average throughput of the network are improved, and the wireless communication network based on low cost is realized.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
In order to solve the problems of high user QoS delay and low utilization rate of air interface resources in the existing WLAN technology, the present invention provides a wireless communication method, which overcomes the above problems by using a TDMA (Time Division Multiple Access) technology. Since the WLAN chip does not support TDMA technology, it is very expensive to redesign and develop a chip. Therefore, if the mature WLAN chip capable of being utilized supports the TDMA protocol, the development cost can be greatly reduced, and the performance of the network can be improved. The embodiment of the invention realizes the TDMA function on the traditional 802.11 equipment to realize flexible networking in a low-cost mode. The method not only can carry out different uplink and downlink resource allocation according to different scenes, but also can improve the real-time service bearing performance of the network, improve the QoS guarantee of the network, increase the air interface utilization rate of the network and improve the overall average throughput of the network in a centralized resource scheduling mode.
Fig. 1 schematically shows a flow chart of a wireless communication method according to an embodiment of the present invention. Referring to fig. 1, the wireless communication method provided in this embodiment of the present invention is executed by a wireless access device, and specifically includes the following steps:
and S11, acquiring network planning parameters issued by the network planning equipment, wherein the network planning parameters comprise the time slot period of the TDMA frame and the ratio of uplink time slots and downlink time slots of the network.
In this embodiment, a network planning device performs network planning on a current network to obtain a network planning parameter, and issues the network planning parameter to a wireless access device AP to obtain the network planning parameter, where the network planning parameter includes, but is not limited to, a time slot period of a TDMA frame and a network uplink and downlink time slot ratio.
The network planning equipment, as centralized network planning equipment, plans network user capacity, user uplink and downlink guarantee bandwidth, user uplink and downlink guarantee time slot and other contents reasonably, and plans network planning parameters such as time slot period of TDMA frame, network uplink and downlink time slot ratio and the like based on the network planning contents and relevant information of terminal equipment RT in the network, so as to realize network adaptation, and issues the obtained network planning parameters to the wireless access equipment.
The ratio of the uplink time slot to the downlink time slot of the network in this step indicates a ratio of a time length for the wireless access device AP to send the air interface data to a time length for the terminal device to send the air interface data. In the embodiment of the invention, when time slot allocation is carried out, the unit granularity for carrying out time slot allocation is one OFDM symbol, namely 4us (400ns GI) or 3.6us (800ns GI) by combining with the WIFI physical layer standard.
S12, determining a time slot structure of the time slot cycle according to the time slot cycle and the ratio of the network uplink time slot to the network downlink time slot, wherein the time slot structure comprises preset time length corresponding to each service type and the position of the time length corresponding to each service type in the time slot cycle.
And the time length of each service type and the position of the time length corresponding to each service type in the working cycle are determined according to the corresponding service type, and/or the channel quality, and/or the service requirement of each terminal device to be accessed, and/or the priority of each terminal device to be accessed.
The service types in the embodiment of the present invention are not limited to data services such as uplink and downlink, but also include other service types such as broadcast service, contention access service, and the like.
In this embodiment, the TDMA frame structure is a periodic frame structure, that is, the TDMA frame structure is circulated according to a certain frame period, and the circulation period is planned by the network planning device according to the user capacity. If the user capacity is large, combining the user uplink and downlink guarantee bandwidth and the user uplink and downlink guarantee time slot to judge whether the time slot period of the TDMA frame needs to be enlarged or not, and then bearing all the users can be realized. The up/down time slot conversion point in the time slot cycle is set according to the network up/down time slot ratio issued by the network planning equipment. In practical application, the ratio can flexibly adapt to the ratio of the uplink and downlink time slots of the network according to the proportion of the uplink and downlink services in a real-time service scene.
And S13, distributing corresponding time slot resources for each terminal device according to the determined time slot structure.
In the embodiment of the invention, the wireless access equipment allocates corresponding time slot resources for each terminal equipment based on the determined time slot structure and according to the service requirement of each terminal equipment in the current network coverage range, so that the terminal equipment transmits uplink data or receives downlink data within the designated time according to the time slot resource allocation result.
Specifically, the wireless access device dynamically allocates corresponding timeslot resources to each terminal device for uplink/downlink data transmission according to the actual service requirement of each user. The dynamic allocation method comprises the steps of determining the priority by combining the user priority, the amount of user cache data, the QoS time delay of the user and the satisfaction degree of the user guarantee rate, and occupying more resources for the user with high priority to send data preferentially.
And S14, communicating with each terminal device based on the time slot resource allocation result.
According to the wireless communication method provided by the embodiment of the invention, the network planning parameters planned according to the network planning equipment comprise the time slot period of a TDMA frame and the functional time slot division of the time slot period according to the uplink and downlink time slot ratio of the network, the time slot structure of the time slot period is determined, and corresponding time slot resources are distributed to each terminal equipment through a centralized time slot resource distribution mode based on the determined time slot structure, so that the real-time service bearing performance and the service quality QoS of a wireless network are improved, the utilization rate of air interface resources and the average throughput of the network are improved, and the wireless communication network based on low cost is realized. In addition, the network can flexibly configure uplink/downlink resources according to the applicable scenes so as to meet different service requirements of different scenes.
In a specific embodiment, the service types include a broadcast service, an uplink data service, and a downlink data service.
Correspondingly, the determining the timeslot structure of the timeslot period according to the timeslot period and the network uplink and downlink timeslot ratio specifically includes:
and distributing a broadcast time slot corresponding to a broadcast service at the initial position of the time slot period, and distributing an uplink data time slot and a distribution position corresponding to an uplink data service and a downlink data time slot and a distribution position corresponding to a downlink data service according to the network uplink and downlink time slot distribution ratio and the residual time length after the broadcast time slot is distributed to the time slot period.
In practical application, the specific duration of the broadcast timeslot may be specifically determined according to the size of the broadcast information and the modulation and coding scheme.
The method comprises the steps that a switching protection interval with a first specified length is included between an uplink data time slot and a downlink data time slot; the initial position of each unit time slot in the uplink data time slot comprises a protection time length with a second specified length; the initial position of each unit time slot in the time length of the downlink data time slot comprises a protection time length with a third specified length. Wherein the first specified length may generally be greater than the second specified length and the third specified length.
In a specific embodiment, each service type further includes a contention access service in addition to a broadcast service, an uplink data service, and a downlink data service.
Correspondingly, after the broadcast time slot corresponding to the broadcast service is allocated at the initial position of the time slot cycle, the method further includes: and allocating random access time slots and distribution positions corresponding to the competitive access service based on the residual time length after the time slot period is allocated with the broadcast time slot. Specifically, the random access time slot corresponding to the contention access service may be allocated according to the round trip time required by the farthest terminal device within the coverage of the current network to initiate the access request.
In this embodiment, the time slot structure of the time slot cycle is determined according to the time slot cycle and the ratio of the network uplink time slot to the network downlink time slot, and the specific implementation is as follows:
firstly, distributing a broadcast time slot corresponding to a broadcast service at the initial position of the time slot cycle;
then, distributing random access time slots and distribution positions corresponding to the competitive access service based on the residual time length after the time slot period is distributed with the broadcast time slot;
and finally, distributing the uplink data time slot and the distribution position corresponding to the uplink data service and the downlink data time slot and the distribution position corresponding to the downlink data service according to the residual time length after the broadcast time slot and the random access time slot are distributed in the time slot period by the network uplink and downlink time slot matching.
In this embodiment, the wireless access device determines the starting position of each functional timeslot by obtaining the network planning parameter issued by the network planning device and implementing the periodic cycle of the TDMA frame according to the network planning parameter. As shown in fig. 2, in a specific example, a timeslot period of a TDMA frame specifically includes a Beacon broadcast timeslot, a downlink data timeslot, an uplink and downlink switching guard interval, an uplink data timeslot, and a random access timeslot. The broadcast information is sent in the Beacon broadcast time slot, the downlink data of each terminal device is sent in the downlink data time slot, and the return data of each terminal device is received in the uplink data time slot. And reserving the random access time slot as a time window for each terminal device to compete to access the AP. In this embodiment, by distinguishing the broadcast time slot, the uplink/downlink data time slot and the random access time slot in the time slot period, the terminal device performs contention access or uplink data transmission or downlink data reception within a specified time, thereby implementing uplink and downlink data transceiving synchronization between different APs and reducing cross interference caused by asynchronous uplink and downlink durations; the switching frequency of AP sending and receiving and the hardware processing complexity are reduced, and the power consumption of the workstation is reduced. In addition, the AP in the embodiment of the invention allocates the time slot resources in a centralized manner, thereby effectively improving the resource utilization rate, reducing the collision between the competitive access and the normal uplink data transmission, improving the success probability of the competitive access, reducing the time length of the accessed workstation waiting for the uplink data transmission, reducing the service transmission delay and improving the service quality and perception of the workstation.
Referring to fig. 3, the wireless communication system in the embodiment of the present invention is divided into 3 main nodes, namely, a network planning device, a wireless access device, and a terminal device. Wherein, the network planning device is used as a node of centralized network planning, and reasonably plans the configuration parameters of the number of terminal devices in the network, the uplink and downlink guaranteed bandwidth of each terminal device, the uplink and downlink guaranteed time slot resources, the time slot ratio, the time slot period of a TDMA frame and the like according to the current network distribution environment and relevant requirements, and related network planning parameters are configured to the wireless access equipment, the wireless access equipment node is used as an access point of the whole wireless communication system and is also a resource centralized control node of the whole network, according to the network planning parameter, making functional time slot division for the time slot period of TDMA frame, determining the time slot structure of said time slot period, and based on the time slot structure of the time slot cycle, the time slot resource allocation is carried out for all the terminal equipment in a centralized way, and the terminal equipment realizes the functions of receiving and sending data in the appointed time slot resource according to the time slot resource allocation result.
The wireless communication method provided by the embodiment of the invention realizes the TDMA function on the traditional low-cost 802.11 equipment, performs functional time slot division on the time slot cycle planned by the network planning equipment through the wireless access equipment, determines the time slot structure of the time slot cycle, improves the real-time service bearing performance of the wireless network through a centralized time slot resource allocation mode, improves the service quality QoS of the network, improves the utilization rate of air interface resources and the average throughput of the network, realizes the low-cost wireless communication network, and can flexibly configure uplink and downlink resources according to applicable scenes so as to meet different service requirements of different scenes. The method can be applied to various wireless network transmission scenes such as video monitoring, broadband access and the like.
In a specific embodiment, the network planning parameter further includes a user uplink/downlink guaranteed bandwidth.
Correspondingly, the step S13 is a flow of implementing subdivision for allocating corresponding time slot resources to each terminal device according to the determined time slot structure, as shown in fig. 4, and specifically includes the following steps:
s131, obtaining the uplink/downlink data volume to be sent of each terminal device and the minimum index value of the modulation and coding strategy MCS adopted currently. Specifically, the uplink/downlink data volume to be sent can be determined by obtaining the data volume to be sent in the uplink and downlink of each terminal device, and the minimum index value of the modulation and coding strategy MCS currently adopted by each terminal device is obtained by obtaining the modulation and coding mode adopted by the current data sending in the uplink and downlink of each terminal device.
S132, allocating uplink/downlink data time slot resources meeting the uplink/downlink guaranteed bandwidth of the user to the corresponding terminal equipment according to the uplink/downlink data quantity to be sent of each terminal equipment and the minimum index value of the MCS adopted currently.
Further, after the wireless access device allocates the corresponding timeslot resource to each terminal device, the timeslot resource allocation result is sent to each terminal device through the broadcast information sent to each terminal device in the broadcast timeslot. In this embodiment, the wireless access device informs each terminal device of a resource allocation result through broadcast information, where the resource allocation result includes an uplink timeslot, a downlink timeslot corresponding to each accessed terminal device, and a random access timeslot not accessed to the terminal device, so that the terminal device receives downlink data or sends uplink data in the corresponding timeslot or accesses a node.
In a specific embodiment, after allocating uplink/downlink data timeslot resources satisfying the user uplink/downlink guaranteed bandwidth to the corresponding terminal device according to the uplink/downlink data amount to be sent of each terminal device and the minimum index value of the currently-used MCS, if remaining uplink/downlink data timeslot resources still exist, allocating the remaining uplink/downlink data timeslot resources according to the user priority of each terminal device and/or the uplink/downlink data amount to be sent. In practical application, if there are remaining resource time slots after time slot resource allocation is performed based on the uplink and downlink guaranteed bandwidth of the user, the remaining resource time slots are allocated again according to the user priority of each terminal device and the amount of data to be sent.
In a specific embodiment, the network planning parameters further include user uplink/downlink guaranteed time slots.
Correspondingly, after allocating uplink/downlink data time slot resources meeting the user uplink/downlink guaranteed bandwidth for the corresponding terminal equipment according to the uplink/downlink data volume to be sent of each terminal equipment and the minimum index value of the currently adopted MCS, if the allocated uplink/downlink data time slot resources do not meet the user uplink/downlink guaranteed bandwidth, allocating time slot resources for the terminal equipment according to the user uplink/downlink guaranteed time slot corresponding to each terminal equipment.
Further, after allocating time slot resources to the terminal device according to the user uplink and downlink guaranteed time slots corresponding to each terminal device, when a terminal device with a transmission block error rate BLER higher than a preset threshold occurs, reserving heartbeat monitoring time slot resources with a preset length for the terminal device with a low priority, and releasing the time slot resources of the terminal device with the low priority except the heartbeat monitoring time slot resources.
Specifically, when time slot resource allocation is performed according to uplink and downlink guaranteed time slots of users, if the BLER of some users is increased, it indicates that the link quality has deteriorated to a certain extent and cannot provide a guaranteed rate when allocation is performed according to the guaranteed time slots, the time slot resources of the terminal equipment with low user priority are released, only the minimum keep-alive resources (heartbeat monitoring resources) are reserved for controlling data transmission, and the released resources are used for reducing the MCS of the user with high priority to continue to transmit data, so as to guarantee the guaranteed bandwidth of the user with high priority.
The embodiment of the invention also comprises a heartbeat resource reservation mechanism, namely, each terminal device is ensured to be capable of reserving heartbeat monitoring resources with preset length so as to keep the transmission of heartbeat data of a user, the size of the heartbeat resource is the size of time slot resources which can ensure the smooth transmission of a control data packet or a fragment under the condition of the lowest MCS, and the resource is reserved for each terminal device at least under the condition of bad channel conditions.
In practical application, the steps of sending and receiving data by the terminal device and the wireless access device according to the allocated time slot resources specifically include the following steps:
1. forming a data packet from a newly transmitted data queue in a transmission time slot (the wireless access equipment is in a downlink time slot, and the terminal equipment is in an uplink time slot), and filling the data packet into a time slot resource for transmission;
2. and judging whether the transmitted data is correctly received or not according to the confirmation information of the data packet, retransmitting the data packet which is not correctly received, and filling the data packet into time slot resources for transmission.
In addition, the terminal device and the wireless access device are in the WiFi physical layer, and also need to perform modulation coding on data that needs to be sent by the wireless access device (downlink) and the terminal device node (uplink) according to the 802.11g/a/n/ac physical layer standard, and generate a PPDU preamble, complete encapsulation of a physical layer packet, and send out through a radio frequency port. And the receiving terminal judges that the data packet based on the WiFi physical layer is received by detecting the lead code and analyzes the data packet.
Compared with the prior art, the wireless communication method provided by the embodiment of the invention has the following advantages and beneficial effects:
the embodiment of the invention adopts the TDMA technology, overcomes the problems of high QoS time delay and low utilization rate of air interface resources of WLAN users, and realizes a multi-user wireless communication system.
The embodiment of the invention can flexibly configure the uplink and downlink resources according to different scenes, and can improve the real-time service bearing performance of the network, improve the service quality guarantee of the network, increase the air interface utilization rate of the network and improve the overall average throughput of the network by a centralized resource scheduling mode.
Compared with a wireless communication system based on WiMAX, LTE and other systems, the embodiment of the invention has the advantages of low cost and flexible network deployment.
Fig. 5 schematically shows a flow chart of a wireless communication method according to an embodiment of the invention. The wireless communication method provided in this embodiment is executed by a network planning device, and referring to fig. 5, the wireless communication method according to the embodiment of the present invention specifically includes the following steps:
and S21, acquiring the network planning parameters of the current network.
And S22, issuing the network planning parameters to corresponding wireless access equipment, wherein the network planning parameters include the time slot cycle of the TDMA frame of the wireless access equipment and the network uplink and downlink time slot ratio, so that the wireless access equipment determines the time slot structure of the time slot cycle according to the time slot cycle and the network uplink and downlink time slot ratio, and communicates with each terminal equipment according to the determined time slot structure.
The wireless communication method provided by the embodiment of the invention is characterized in that the acquired network planning parameters of the current network are issued to the corresponding wireless access equipment, so that the wireless access equipment can perform functional time slot division on the time slot cycle according to the network planning parameters planned by the network planning equipment, wherein the network planning parameters comprise the time slot cycle of a TDMA frame and the uplink and downlink time slot ratio of the network, determine the time slot structure of the time slot cycle, and allocate corresponding time slot resources to each terminal equipment through a centralized time slot resource allocation mode based on the determined time slot structure, thereby improving the real-time service bearing performance and the service quality QoS of the wireless network, improving the utilization rate of air interface resources and the average throughput of the network, and realizing the wireless communication network based on low cost. In addition, the network can flexibly configure uplink/downlink resources according to the applicable scenes so as to meet different service requirements of different scenes.
In this embodiment, as shown in fig. 6, the obtaining of the network planning parameter of the current network specifically includes the following steps:
s211, determining the network user capacity of the current network.
S212, configuring the user uplink/downlink guaranteed bandwidth of each terminal device according to the network user capacity and the QoS of each terminal device in the current network.
S213, respectively determining the user uplink/downlink guarantee time slots of each terminal device according to the moving range of each terminal device in the current network and the user uplink/downlink guarantee bandwidth of each terminal device. The method specifically comprises the following steps: planning a lowest Modulation and Coding Scheme (MCS) index value of each terminal device according to the moving range of the terminal device and the closest and farthest distances from the terminal device to the AP; and converting the user uplink and downlink guarantee time slot of each terminal device according to the user uplink and downlink guarantee bandwidth of each terminal device and the planned MCS value.
S214, configuring the time slot cycle of the TDMA frame of the current wireless access equipment and the network uplink and downlink time slot ratio based on the user uplink/downlink guarantee time slots of all the terminal equipment.
The network planning equipment mainly completes configuration and issuing of network planning parameters, and is specifically realized as follows: planning the user number capacity in the network according to the coverage range, planning the uplink and downlink guaranteed bandwidth of the user according to the QoS characteristics of each user, further combining the moving range of each user and the nearest and farthest distance to the AP, evaluating the MCS value range, planning the uplink and downlink guaranteed time slot of the user according to the uplink and downlink guaranteed bandwidth of the user and the MCS index value, finally integrating the uplink and downlink guaranteed time slots of all users, planning the frame period of the TDMA frame and the network uplink and downlink time slot ratio of the whole network.
In the embodiment of the invention, a network planner establishes the network user number capacity, the uplink and downlink guaranteed bandwidth of each terminal device and the corresponding MCS value according to the current network distribution environment and related requirements through network planning equipment, and aims to provide a set of reasonable configuration. Because the network channel environment varies, the set of configuration is a set of conservative configuration, and can meet the bandwidth required to be ensured by each terminal device under a certain number of users under the condition of being slightly lower than a normal channel.
Further, after configuring the timeslot period of the TDMA frame of the wireless access device and the network uplink and downlink timeslot ratio based on the user uplink and downlink guaranteed timeslots of all the terminal devices, the method further includes the following steps: and adjusting the ratio of the uplink and downlink time slots of the network according to the ratio of the uplink and downlink services of any terminal equipment in the current scene. In this embodiment, the network uplink and downlink timeslot proportion can be flexibly configured according to the uplink and downlink service proportion in the real-time service scenario.
Fig. 7 schematically shows a flow chart of a wireless communication method of one embodiment of the present invention. Referring to fig. 7, the wireless communication method provided in this embodiment of the present invention is executed by a terminal device, and specifically includes the following steps:
s31, acquiring a time slot resource allocation result of the wireless access equipment, wherein the time slot resource allocation result is allocated by the wireless access equipment according to a time slot structure of a time slot period of a TDMA frame; the time slot structure comprises preset time length corresponding to each service type and the position of the time length corresponding to each service type in the time slot period.
And S32, communicating with the wireless access equipment according to the time slot resource allocation result.
According to the wireless communication method provided by the embodiment of the invention, the terminal equipment communicates with the wireless access equipment by acquiring the time slot resource allocation result of the wireless access equipment and based on the time slot resource allocation result, wherein the time slot resource allocation result is allocated by the wireless access equipment according to the time slot structure of the time slot cycle of the TDMA frame, so that the real-time service bearing performance and the service quality QoS of a wireless network are improved, the utilization rate of air interface resources and the average throughput of the network are improved, and the wireless communication network based on low cost is realized. In addition, the network can flexibly configure uplink and downlink resources according to the applicable scenes so as to meet different service requirements of different scenes.
In this embodiment, the obtaining of the time slot resource allocation result of the wireless access device is specifically implemented by the following steps: and receiving broadcast information sent by the wireless access equipment, wherein the broadcast information comprises the identification number of the wireless access equipment, the identification number of each terminal equipment and the uplink and downlink time slot resource allocation results corresponding to each terminal equipment.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Fig. 8 is a schematic structural diagram of a wireless access device according to an embodiment of the present invention. Referring to fig. 8, the wireless access device in the embodiment of the present invention includes an access side obtaining module 401, a configuration module 402, a resource allocation module 403, and an access side communication module 404, where:
an access side obtaining module 401, configured to obtain a network planning parameter issued by a network planning device, where the network planning parameter includes a time slot cycle of a TDMA frame and a network uplink and downlink time slot ratio;
a configuration module 402, configured to determine a time slot structure of the time slot cycle according to the time slot cycle and a network uplink and downlink time slot ratio, where the time slot structure includes a preset time length corresponding to each service type and a position of the time length corresponding to each service type in the time slot cycle;
a resource allocation module 403, configured to allocate, according to the determined timeslot structure, corresponding timeslot resources to each terminal device;
an access side communication module 404, configured to communicate with the terminal devices based on the timeslot resource allocation result.
In the embodiment of the present invention, each service type includes a broadcast service, an uplink data service, and a downlink data service.
Correspondingly, the configuration module 402 is specifically configured to allocate a broadcast time slot corresponding to a broadcast service at an initial position of the time slot cycle, and allocate an uplink data time slot and a distribution position corresponding to an uplink data service and a downlink data time slot and a distribution position corresponding to a downlink data service according to a remaining duration after the network uplink and downlink time slot allocation is compared with the time slot cycle and the broadcast time slot allocation is performed.
In the embodiment of the present invention, each service type further includes a contention access service.
Correspondingly, the configuration module 402 is specifically configured to allocate a random access time slot and a distribution position corresponding to a contention access service based on a remaining duration after the broadcast time slot is allocated in the time slot cycle after the broadcast time slot is allocated in the initial position of the time slot cycle.
In the embodiment of the present invention, the network planning parameter further includes a user uplink/downlink guaranteed bandwidth;
correspondingly, the resource allocation module 403 specifically includes an acquisition sub-module and an allocation sub-module, which are not shown in the drawings, where:
the obtaining submodule is used for obtaining the uplink/downlink data volume to be sent of each terminal device and the minimum index value of the modulation and coding strategy MCS adopted currently;
and the allocation submodule is used for allocating uplink/downlink data time slot resources meeting the uplink/downlink guaranteed bandwidth of the user for the corresponding terminal equipment according to the uplink/downlink data quantity to be sent of each terminal equipment and the minimum index value of the MCS adopted currently.
Further, the allocating submodule is further configured to, after allocating, to the corresponding terminal device, the uplink/downlink data timeslot resources that meet the user uplink/downlink guaranteed bandwidth according to the uplink/downlink data amount to be sent of each terminal device and the minimum index value of the currently-used MCS, allocate, if remaining uplink/downlink data timeslot resources still exist, the remaining uplink/downlink data timeslot resources according to the user priority of each terminal device and/or the uplink/downlink data amount to be sent.
Further, the network planning parameter further includes a user uplink/downlink guaranteed time slot.
Correspondingly, the allocating submodule is further configured to, after allocating, to the corresponding terminal device, the uplink/downlink data timeslot resources that meet the uplink/downlink guaranteed bandwidth of the user according to the uplink/downlink data amount to be sent by each terminal device and the minimum index value of the currently-used MCS, allocate, to the terminal device, the timeslot resources according to the user uplink/downlink guaranteed timeslot corresponding to each terminal device if there is a terminal device whose allocated uplink/downlink data timeslot resources do not meet the uplink/downlink guaranteed bandwidth of the user.
Further, the allocation sub-module is further configured to, when a terminal device with a transmission block error rate higher than a preset threshold occurs, reserve a heartbeat monitoring time slot resource with a preset length for a terminal device with a low priority, and release time slot resources of the terminal device with the low priority except for the heartbeat monitoring time slot resource.
Fig. 9 is a schematic structural diagram of a network planning apparatus according to an embodiment of the present invention. Referring to fig. 9, the network planning apparatus according to the embodiment of the present invention includes a network planning module 501 and a network side communication module 502, where:
a network planning module 501, configured to determine a network planning parameter of a current network;
a network side communication module 502, configured to issue the network planning parameter determined by the network planning module to a corresponding wireless access device, where the network planning parameter includes a timeslot period of a TDMA frame of the wireless access device and a network uplink and downlink timeslot ratio, so that the wireless access device determines a timeslot structure of the timeslot period according to the timeslot period and the network uplink and downlink timeslot ratio, and communicates with each terminal device according to the determined timeslot structure.
In this embodiment, the network planning module 502 is specifically configured to: determining the network user capacity of the current network; configuring user uplink/downlink guaranteed bandwidth of each terminal device according to the network user capacity and the QoS of each terminal device in the current network; respectively determining user uplink/downlink guarantee time slots of each terminal device according to the moving range of each terminal device in the current network and the user uplink/downlink guarantee bandwidth of each terminal device; and configuring the time slot cycle of the TDMA frame of the current wireless access equipment and the network uplink and downlink time slot ratio based on the user uplink/downlink guarantee time slots of all the terminal equipment.
Further, the network side communication module 502 is further configured to, after the time slot cycle of the TDMA frame of the wireless access device and the network uplink and downlink time slot ratio are configured based on the user uplink and downlink guaranteed time slots of all the terminal devices, adjust the network uplink and downlink time slot ratio according to the uplink and downlink service ratio of any terminal device in the current scene.
Fig. 10 schematically shows a structural diagram of a terminal device according to an embodiment of the present invention. Referring to fig. 10, the terminal device according to the embodiment of the present invention includes a terminal side obtaining module 601 and a terminal side communication module 602, where:
a terminal side obtaining module 601, configured to obtain a time slot resource allocation result of a wireless access device, where the time slot resource allocation result is allocated by the wireless access device according to a time slot structure of a time slot cycle of a TDMA frame; the time slot structure comprises preset time length corresponding to each service type and the position of the time length corresponding to each service type in the time slot period;
a terminal side communication module 602, configured to communicate with the wireless access device according to the timeslot resource allocation result.
Further, the terminal side obtaining module 601 is specifically configured to receive broadcast information sent by the wireless access device, where the broadcast information includes an identification number of the wireless access device, an identification number of each terminal device, and an uplink and downlink timeslot resource allocation result corresponding to each terminal device.
The terminal device provided by the embodiment of the invention is communicated with the wireless access device by acquiring the time slot resource allocation result of the wireless access device and based on the time slot resource allocation result, wherein the time slot resource allocation result is allocated by the wireless access device according to the time slot structure of the time slot cycle of the TDMA frame, so that the real-time service bearing performance and the quality of service (QoS) of a wireless network are improved, the utilization rate of air interface resources and the average throughput of the network are improved, and the wireless communication network based on low cost is realized. In addition, the network can flexibly configure uplink and downlink resources according to the applicable scenes so as to meet different service requirements of different scenes.
In addition, the wireless access device and the terminal device each include: a data link module and a WiFi physical layer module.
The data link module realizes the whole end-to-end data receiving and transmitting process, and the steps comprise:
1) according to the time slot resources distributed by the resource distribution module, transmitting and receiving data, wherein the method comprises the steps of 1, forming a data packet from a newly transmitted data queue in a transmitting time slot (an access device is in a downlink time slot, and a terminal device is in an uplink time slot), filling the data packet into the time slot resources and transmitting the data packet to a physical layer, and 2, judging whether the transmitted data is correctly received or not according to the confirmation information of the data packet, retransmitting the data packet which is not correctly received, filling the data packet into the time slot resources and transmitting the data packet to the physical layer;
2) after receiving the data packet, the data packet is put into a receiving buffer, and is sent to an upper layer after being reordered
Wherein, the WiFi physical layer module
According to the 802.11g/a/n/ac physical layer standard, data which needs to be sent by an AP node (downlink) and a terminal equipment node (uplink) are modulated and coded, a PPDU lead code is generated, and a physical layer data packet is packaged and sent out through a radio frequency port. And the receiving terminal judges that the data packet based on the WiFi physical layer is received by detecting the lead code and analyzes the data packet.
In summary, according to the above method, based on reasonable network planning, multi-user wireless communication can be realized, and the indexes such as efficiency, QoS satisfaction degree, rate, and network establishment cost are all improved compared with the previous scheme.
For the apparatus embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The above-described system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
According to the wireless communication method, the wireless access equipment, the network planning equipment and the terminal equipment, which are provided by the embodiment of the invention, the network planning parameters planned by the network planning equipment comprise a time slot period of a TDMA frame and network uplink and downlink time slot proportion, the network planning parameters carry out functional time slot division on the time slot period, a time slot structure of the time slot period is determined, corresponding time slot resources are distributed to the terminal equipment through a centralized time slot resource distribution mode based on the determined time slot structure, the real-time service bearing performance and the service quality QoS of a wireless network are improved, the utilization rate of air interface resources and the average throughput of the network are improved, and the wireless communication network based on low cost is realized.
In the embodiments of the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the described unit or division of units is only one division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical or other form.
The functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be an independent physical module. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device, such as a personal computer, a server, or a network device, or a processor (processor) to execute all or part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a Universal Serial Bus flash drive (usb flash drive), a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
Those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than others, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.