CN111586867B - Resource allocation method and device of SCMA (sparse code multiple access) system - Google Patents
Resource allocation method and device of SCMA (sparse code multiple access) system Download PDFInfo
- Publication number
- CN111586867B CN111586867B CN202010349626.9A CN202010349626A CN111586867B CN 111586867 B CN111586867 B CN 111586867B CN 202010349626 A CN202010349626 A CN 202010349626A CN 111586867 B CN111586867 B CN 111586867B
- Authority
- CN
- China
- Prior art keywords
- terminal device
- codebook
- resource
- transmission rate
- quality information
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000013468 resource allocation Methods 0.000 title claims abstract description 48
- 230000005540 biological transmission Effects 0.000 claims abstract description 361
- 238000004891 communication Methods 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 14
- 238000007619 statistical method Methods 0.000 claims description 9
- 238000004422 calculation algorithm Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 2
- 239000011159 matrix material Substances 0.000 description 61
- 238000010586 diagram Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 2
- 238000005562 fading Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 208000037918 transfusion-transmitted disease Diseases 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/20—Control channels or signalling for resource management
- H04W72/23—Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例提供了一种SCMA系统的资源分配方法及装置,上述方法包括:基于子载波资源向各个终端设备发送下行参考信号,接收各个终端设备发送的各个第一传输质量信息,并预测基于各个码本资源向各个终端设备传输数据时的理论传输速率;根据理论传输速率以及各个终端设备的历史平均传输速率,确定将码本资源分配给终端设备的优先级;并确定基于各个码本资源向各个终端设备传输数据时的第二传输质量信息;基于优先级以及第二传输质量信息,为各个终端设备分配码本资源。应用本实施例提供的方案对SCMA系统的资源进行分配时,能够提高为终端设备分配码本资源的效率,进而提高为终端设备所提供服务的质量。
Embodiments of the present invention provide a resource allocation method and device for an SCMA system. The above method includes: sending a downlink reference signal to each terminal device based on subcarrier resources, receiving each first transmission quality information sent by each terminal device, and predicting The theoretical transmission rate when each codebook resource transmits data to each terminal device; according to the theoretical transmission rate and the historical average transmission rate of each terminal device, determine the priority of allocating the codebook resource to the terminal device; and determine the priority based on each codebook resource second transmission quality information when data is transmitted to each terminal device; codebook resources are allocated to each terminal device based on the priority and the second transmission quality information. When the solution provided in this embodiment is applied to allocate the resources of the SCMA system, the efficiency of allocating codebook resources to the terminal equipment can be improved, thereby improving the quality of the service provided for the terminal equipment.
Description
技术领域technical field
本发明涉及无线通信技术领域,特别是涉及一种SCMA系统的资源分配方法及装置。The present invention relates to the technical field of wireless communication, and in particular, to a resource allocation method and device of an SCMA system.
背景技术Background technique
越来越多用户的终端设备需要接入基站实现通信,SCMA(Sparse Code MultipeAccess,稀疏码分多址接入技术)作为一种非正交多址接入技术,可以使得海量终端设备接入基站。在基于SCMA技术的SCMA系统中,基站为各个终端设备提供通信服务时,基于各个码本资源向各个终端设备传输数据,从而向用户提供通信服务。因此,基站在向各个终端设备传输数据前,需要对SCMA系统的资源进行分配,为各个终端设备分配码本资源。More and more terminal devices of users need to access the base station to realize communication. SCMA (Sparse Code MultipeAccess, sparse code division multiple access technology), as a non-orthogonal multiple access technology, can enable a large number of terminal devices to access the base station . In an SCMA system based on SCMA technology, when a base station provides communication services for each terminal device, it transmits data to each terminal device based on each codebook resource, thereby providing communication services to users. Therefore, before transmitting data to each terminal device, the base station needs to allocate resources of the SCMA system, and allocate codebook resources to each terminal device.
现有技术中,基站为各个终端设备分配码本资源时,是基于每一码本资源向各个终端设备传输数据时的传输质量进行分配的。例如:假设基于码本资源S向终端设备UE1传输数据的传输质量优于向终端设备UE2传输数据的传输质量,可以将码本资源S确定为向终端设备UE1进行数据传输的码本资源。In the prior art, when the base station allocates codebook resources to each terminal device, the allocation is based on the transmission quality of each codebook resource when transmitting data to each terminal device. For example, assuming that the transmission quality of data transmitted to the terminal equipment UE1 based on the codebook resource S is better than the transmission quality of the data transmitted to the terminal equipment UE2, the codebook resource S can be determined as the codebook resource for data transmission to the terminal equipment UE1.
然而,由于基站是基于每一码本资源向各个终端设备传输数据时的传输质量来分配码本资源的,若向一终端设备传输数据时的传输质量一直都很差,则该终端设备难以分配到码本资源。尤其是,当终端设备的数量远大于码本资源时,可能会使得该终端设备长时间内一直无法分配到码本资源,从而难以获得通信服务,这样会导致基站为一些终端设备分配码本资源的效率低,进一步的,也会降低基站为这些终端设备所提供服务的质量。However, since the base station allocates codebook resources based on the transmission quality of each codebook resource when transmitting data to each terminal device, if the transmission quality of data transmission to a terminal device is always poor, it is difficult for the terminal device to allocate the codebook resources. to the codebook resource. In particular, when the number of terminal devices is much larger than the codebook resources, the terminal device may be unable to allocate the codebook resources for a long time, thus making it difficult to obtain communication services, which will cause the base station to allocate codebook resources to some terminal devices. The efficiency is low, and further, the quality of the service provided by the base station for these terminal equipment will also be reduced.
发明内容SUMMARY OF THE INVENTION
本发明实施例的目的在于提供一种SCMA系统的资源分配方法及装置,以提高为终端设备分配码本资源的效率,进而提高为终端设备所提供服务的质量。具体技术方案如下:The purpose of the embodiments of the present invention is to provide a resource allocation method and apparatus for an SCMA system, so as to improve the efficiency of allocating codebook resources to terminal equipment, thereby improving the quality of services provided to the terminal equipment. The specific technical solutions are as follows:
第一方面,本发明实施例提供了一种SCMA系统的资源分配方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a resource allocation method for an SCMA system, the method comprising:
基于子载波资源向各个终端设备发送下行参考信号,以使得各个终端设备根据接收到的下行参考信号预测基于子载波资源向各个终端设备自身传输数据时的第一传输质量信息;Send downlink reference signals to each terminal device based on the subcarrier resources, so that each terminal device predicts, according to the received downlink reference signal, first transmission quality information when transmitting data to each terminal device itself based on the subcarrier resources;
接收各个终端设备发送的各个第一传输质量信息,并根据接收到的第一传输质量信息,预测基于各个码本资源向各个终端设备传输数据时的第一理论传输速率,其中,所述码本资源包括至少一个子载波资源;Receive each first transmission quality information sent by each terminal device, and predict, according to the received first transmission quality information, a first theoretical transmission rate when data is transmitted to each terminal device based on each codebook resource, wherein the codebook The resources include at least one subcarrier resource;
根据所预测的第一理论传输速率以及各个终端设备的历史平均传输速率,确定将各个码本资源分配给各个终端设备的优先级;Determine the priority of allocating each codebook resource to each terminal device according to the predicted first theoretical transmission rate and the historical average transmission rate of each terminal device;
根据所预测的第一理论传输速率以及向各个终端设备传输数据的预设最小传输速率,确定基于各个码本资源向各个终端设备传输数据时的第二传输质量信息;According to the predicted first theoretical transmission rate and the preset minimum transmission rate for transmitting data to each terminal device, determine the second transmission quality information when transmitting data to each terminal device based on each codebook resource;
基于所确定的优先级以及第二传输质量信息,为各个终端设备分配码本资源。Based on the determined priority and the second transmission quality information, codebook resources are allocated to each terminal device.
本发明的一个实施例中,所述第一传输质量信息包括:至少一个子载波资源的信噪比,In an embodiment of the present invention, the first transmission quality information includes: a signal-to-noise ratio of at least one subcarrier resource,
所述接收各个终端设备发送的各个第一传输质量信息,并根据接收到的第一传输质量信息,预测基于各个码本资源向各个终端设备传输数据时的第一理论传输速率,包括:The receiving each first transmission quality information sent by each terminal device, and predicting, according to the received first transmission quality information, the first theoretical transmission rate when data is transmitted to each terminal device based on each codebook resource, including:
接收各个终端设备发送的各个子载波资源的信噪比;Receive the signal-to-noise ratio of each subcarrier resource sent by each terminal device;
针对每一码本资源,根据接收到的该码本资源包括的各个子载波资源的信噪比,计算基于该码本资源包括的各个子载波资源向各个终端设备传输数据时的第二理论传输速率,并针对每一终端设备,在基于该码本资源包括的各个子载波资源向该终端设备传输数据时的第二理论传输速率中,采用预设的统计分析方式选择一最小第二理论传输速率,作为基于该码本资源向该终端设备传输数据时的第一理论传输速率。For each codebook resource, according to the received signal-to-noise ratio of each subcarrier resource included in the codebook resource, calculate the second theoretical transmission when data is transmitted to each terminal device based on each subcarrier resource included in the codebook resource For each terminal device, among the second theoretical transmission rates when transmitting data to the terminal device based on each subcarrier resource included in the codebook resource, a preset statistical analysis method is used to select a minimum second theoretical transmission rate rate, as the first theoretical transmission rate when transmitting data to the terminal device based on the codebook resource.
本发明的一个实施例中,上述针对每一码本资源,根据接收到的该码本资源包括的各个子载波资源的信噪比,计算基于该码本资源包括的各个子载波资源向各个终端设备传输数据时的第二理论传输速率,包括:In an embodiment of the present invention, for each codebook resource, according to the received signal-to-noise ratio of each subcarrier resource included in the codebook resource, the calculation method based on each subcarrier resource included in the codebook resource to each terminal is calculated. The second theoretical transfer rate when the device transmits data, including:
按照以下表达式计算第二理论传输速率:Calculate the second theoretical transmission rate according to the following expression:
ru,l(n)=B*log(1+SNRu,l)r u,l (n)=B*log(1+SNR u,l )
其中,u为终端设备的序号,l为子载波资源的序号,SNRu,l为基于第l个子载波资源向第u个终端设备传输数据时第l个子载波资源的信噪比,B为子载波频带宽度,n为传输时间间隔的序号,ru,l(n)为第n个传输时间间隔内基于第l个子载波资源向第u个终端设备传输数据时的第二理论传输速率。Where, u is the serial number of the terminal device, l is the serial number of the subcarrier resource, SNR u,l is the signal-to-noise ratio of the lth subcarrier resource when transmitting data to the uth terminal device based on the lth subcarrier resource, and B is the subcarrier resource. Carrier frequency bandwidth, n is the sequence number of the transmission time interval, r u,l (n) is the second theoretical transmission rate when data is transmitted to the uth terminal device based on the lth subcarrier resource in the nth transmission time interval.
本发明的一个实施例中,上述根据所预测的第一理论传输速率以及各个终端设备的历史平均传输速率,确定将各个码本资源分配给各个终端设备的优先级,包括:In an embodiment of the present invention, the above-mentioned determining the priority of allocating each codebook resource to each terminal device according to the predicted first theoretical transmission rate and the historical average transmission rate of each terminal device includes:
计算所预测的第一理论传输速率与各个终端设备的历史平均传输速率间的比值,按照预设的排列顺序确定所计算的比值的排列标识,将所确定的标识作为将各个码本资源分配给各个终端设备的优先级。Calculate the ratio between the predicted first theoretical transmission rate and the historical average transmission rate of each terminal device, determine the arrangement identifier of the calculated ratio according to the preset arrangement order, and use the determined identifier as the assignment of each codebook resource to each codebook resource. The priority of each end device.
本发明的一个实施例中,上述根据所预测的第一理论传输速率以及向各个终端设备传输数据的预设最小传输速率,确定基于各个码本资源向各个终端设备传输数据时的第二传输质量信息,包括:In an embodiment of the present invention, the second transmission quality when transmitting data to each terminal device based on each codebook resource is determined according to the predicted first theoretical transmission rate and the preset minimum transmission rate for transmitting data to each terminal device. information, including:
针对每一终端设备,判断基于码本资源向该终端设备传输数据时的第一理论传输速率是否小于向该终端设备传输数据的预设最小传输速率;For each terminal device, determine whether the first theoretical transmission rate when transmitting data to the terminal device based on the codebook resource is less than the preset minimum transmission rate for transmitting data to the terminal device;
若为是,根据终端设备的数量,预测基于码本资源向该终端设备传输数据时的第二传输质量信息;If yes, according to the number of terminal devices, predict the second transmission quality information when data is transmitted to the terminal device based on the codebook resources;
若为否,将预设传输质量信息确定为基于码本资源向该终端设备传输数据时的第二质量信息。If no, the preset transmission quality information is determined as the second quality information when data is transmitted to the terminal device based on the codebook resource.
本发明的一个实施例中,上述基于所确定的优先级以及第二传输质量信息,为各个终端设备分配码本资源,包括:In an embodiment of the present invention, the above-mentioned allocation of codebook resources to each terminal device based on the determined priority and the second transmission quality information includes:
针对每一终端设备,根据各个码本资源分配给该终端设备的优先级与各个码本资源向该终端设备传输数据时的第二传输质量信息,确定各个码本资源分配给该终端设备的权重;For each terminal device, the weight of each codebook resource allocated to the terminal device is determined according to the priority of each codebook resource allocated to the terminal device and the second transmission quality information when each codebook resource transmits data to the terminal device ;
基于所确定的权重,为各个终端设备分配码本资源。Based on the determined weights, codebook resources are allocated to each terminal device.
本发明的一个实施例中,上述基于所确定的优先级以及第二传输质量信息,为各个终端设备分配码本资源,包括:In an embodiment of the present invention, the above-mentioned allocation of codebook resources to each terminal device based on the determined priority and the second transmission quality information includes:
基于所确定的优先级以及第二传输质量信息,采用匈牙利算法为各个终端设备分配码本资源。Based on the determined priority and the second transmission quality information, the Hungarian algorithm is used to allocate codebook resources to each terminal device.
第二方面,本发明实施例提供了一种SCMA系统的资源分配装置,所述装置包括:In a second aspect, an embodiment of the present invention provides an apparatus for resource allocation of an SCMA system, the apparatus comprising:
信号发送模块,用于基于子载波资源向各个终端设备发送下行参考信号,以使得各个终端设备根据接收到的下行参考信号预测基于子载波资源向各个终端设备自身传输数据时的第一传输质量信息;A signal sending module, configured to send a downlink reference signal to each terminal device based on the subcarrier resources, so that each terminal device predicts, according to the received downlink reference signal, the first transmission quality information when transmitting data to each terminal device itself based on the subcarrier resources ;
速率预测模块,用于接收各个终端设备发送的各个第一传输质量信息,并根据接收到的第一传输质量信息,预测基于各个码本资源向各个终端设备传输数据时的第一理论传输速率,其中,所述码本资源包括至少一个子载波资源;A rate prediction module, configured to receive each first transmission quality information sent by each terminal device, and predict, according to the received first transmission quality information, a first theoretical transmission rate when data is transmitted to each terminal device based on each codebook resource, Wherein, the codebook resource includes at least one subcarrier resource;
优先级确定模块,用于根据所预测的第一理论传输速率以及各个终端设备的历史平均传输速率,确定将各个码本资源分配给各个终端设备的优先级;a priority determining module, configured to determine the priority of allocating each codebook resource to each terminal device according to the predicted first theoretical transmission rate and the historical average transmission rate of each terminal device;
质量信息确定模块,用于根据所预测的第一理论传输速率以及向各个终端设备传输数据的预设最小传输速率,确定基于各个码本资源向各个终端设备传输数据时的第二传输质量信息;a quality information determination module, configured to determine, according to the predicted first theoretical transmission rate and the preset minimum transmission rate for transmitting data to each terminal device, the second transmission quality information when transmitting data to each terminal device based on each codebook resource;
码本资源分配模块,用于基于所确定的优先级以及第二传输质量信息,为各个终端设备分配码本资源。The codebook resource allocation module is configured to allocate codebook resources to each terminal device based on the determined priority and the second transmission quality information.
本发明的一个实施例中,所述第一传输质量信息包括:至少一个子载波资源的信噪比,In an embodiment of the present invention, the first transmission quality information includes: a signal-to-noise ratio of at least one subcarrier resource,
所述速率预测模块,包括:The rate prediction module includes:
信噪比接收子模块,用于接收各个终端设备发送的各个子载波资源的信噪比;a signal-to-noise ratio receiving sub-module, configured to receive the signal-to-noise ratio of each subcarrier resource sent by each terminal device;
速率预测子模块,用于针对每一码本资源,根据接收到的该码本资源包括的各个子载波资源的信噪比,计算基于该码本资源包括的各个子载波资源向各个终端设备传输数据时的第二理论传输速率,并针对每一终端设备,在基于该码本资源包括的各个子载波资源向该终端设备传输数据时的第二理论传输速率中,采用预设的统计分析方式选择一第二理论传输速率,作为基于该码本资源向该终端设备传输数据时的第一理论传输速率。The rate prediction submodule is used for, for each codebook resource, according to the received signal-to-noise ratio of each subcarrier resource included in the codebook resource, calculate the transmission to each terminal device based on each subcarrier resource included in the codebook resource The second theoretical transmission rate when data is used, and for each terminal device, the preset statistical analysis method is used in the second theoretical transmission rate when data is transmitted to the terminal device based on each subcarrier resource included in the codebook resource. A second theoretical transmission rate is selected as the first theoretical transmission rate when transmitting data to the terminal device based on the codebook resource.
本发明的一个实施例中,上述速率预测子模块,具体用于按照以下表达式计算第二理论传输速率:In an embodiment of the present invention, the above-mentioned rate prediction sub-module is specifically configured to calculate the second theoretical transmission rate according to the following expression:
ru,l(n)=B*log(1+SNRu,l)r u,l (n)=B*log(1+SNR u,l )
其中,u为终端设备的序号,l为子载波资源的序号,SNRu,l为基于第l个子载波资源向第u个终端设备传输数据时第l个子载波资源的信噪比,B为子载波频带宽度,n为传输时间间隔的序号,ru,l(n)为第n个传输时间间隔内基于第l个子载波资源向第u个终端设备传输数据时的第二理论传输速率。Where, u is the serial number of the terminal device, l is the serial number of the subcarrier resource, SNR u,l is the signal-to-noise ratio of the lth subcarrier resource when transmitting data to the uth terminal device based on the lth subcarrier resource, and B is the subcarrier resource. Carrier frequency bandwidth, n is the sequence number of the transmission time interval, r u,l (n) is the second theoretical transmission rate when data is transmitted to the uth terminal device based on the lth subcarrier resource in the nth transmission time interval.
本发明的一个实施例中,上述优先级确定模块,具体用于计算所预测的第一理论传输速率与各个终端设备的历史平均传输速率间的比值,按照预设的排列顺序确定所计算的比值的排列标识,将所确定的标识作为将各个码本资源分配给各个终端设备的优先级。In an embodiment of the present invention, the above-mentioned priority determination module is specifically configured to calculate the ratio between the predicted first theoretical transmission rate and the historical average transmission rate of each terminal device, and determine the calculated ratio according to a preset order. The identified identifier is used as the priority for allocating each codebook resource to each terminal device.
本发明的一个实施例中,上述质量信息确定模块,具体用于针对每一终端设备,判断基于码本资源向该终端设备传输数据时的第一理论传输速率是否小于向该终端设备传输数据的预设最小传输速率;若为是,根据终端设备的数量,预测基于码本资源向该终端设备传输数据时的第二传输质量信息;若为否,将预设传输质量信息确定为基于码本资源向该终端设备传输数据时的第二质量信息。In an embodiment of the present invention, the quality information determination module is specifically configured to, for each terminal device, determine whether the first theoretical transmission rate when transmitting data to the terminal device based on the codebook resources is smaller than the data transmission rate to the terminal device. Preset the minimum transmission rate; if yes, predict the second transmission quality information when transmitting data to the terminal device based on codebook resources according to the number of terminal devices; if no, determine the preset transmission quality information to be based on the codebook The second quality information when the resource transmits data to the terminal device.
本发明的一个实施例中,上述码本资源分配模块,具体用于针对每一终端设备,根据各个码本资源分配给该终端设备的优先级与各个码本资源向该终端设备传输数据时的第二传输质量信息,确定各个码本资源分配给该终端设备的权重;基于所确定的权重,为各个终端设备分配码本资源。In an embodiment of the present invention, the above codebook resource allocation module is specifically configured to, for each terminal device, according to the priority of each codebook resource allocated to the terminal device and the priority of each codebook resource when transmitting data to the terminal device In the second transmission quality information, the weight of each codebook resource allocated to the terminal device is determined; based on the determined weight, the codebook resource is allocated to each terminal device.
本发明的一个实施例中,上述码本资源分配模块,具体用于基于所确定的优先级以及第二传输质量信息,采用匈牙利算法为各个终端设备分配码本资源。In an embodiment of the present invention, the above codebook resource allocation module is specifically configured to use the Hungarian algorithm to allocate codebook resources to each terminal device based on the determined priority and the second transmission quality information.
第三方面,本发明实施例提供了一种基站,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In a third aspect, an embodiment of the present invention provides a base station, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
存储器,用于存放计算机程序;memory for storing computer programs;
处理器,用于执行存储器上所存放的程序时,实现上述第一方面所述的方法步骤。The processor is configured to implement the method steps described in the first aspect above when executing the program stored in the memory.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面所述的方法步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps described in the first aspect are implemented .
由以上可见,应用本发明实施例提供的方案对SCMA系统的资源进行分配时,由于是根据所确定的优先级以及第二传输质量信息为各个终端设备分配码本资源的,而上述优先级是根据所预测的第一理论传输速率以及基于各个码本资源向各个终端设备传输数据时的历史平均传输速率进行确定的,又由于上述第一理论传输速率可以用于表示各个码本资源向各个终端设备传输数据时的传输速率,且各个终端设备的历史平均传输速率可以用于表示各个终端设备历史分配的资源情况,因此,在根据所确定的优先级确定为各个终端设备分配码本资源时,在使得各个终端设备尽可能地均可以分配到码本资源的基础上,能够提高基于所分配的码本资源向终端设备传输数据时的传输速率。因此,相较于现有技术,提高了基站为终端设备分配码本资源的效率,进而提高为终端设备所提供服务的质量。It can be seen from the above that when the solution provided by the embodiment of the present invention is applied to allocate the resources of the SCMA system, the codebook resources are allocated to each terminal device according to the determined priority and the second transmission quality information, and the above priority is It is determined according to the predicted first theoretical transmission rate and the historical average transmission rate when data is transmitted to each terminal device based on each codebook resource, and because the above-mentioned first theoretical transmission rate can be used to indicate that each codebook resource transmits data to each terminal The transmission rate when the device transmits data, and the historical average transmission rate of each terminal device can be used to represent the historically allocated resources of each terminal device. Therefore, when determining to allocate codebook resources to each terminal device according to the determined priority, On the basis that each terminal device can be allocated to the codebook resources as much as possible, the transmission rate when data is transmitted to the terminal device based on the allocated codebook resources can be improved. Therefore, compared with the prior art, the efficiency of allocating codebook resources for the terminal equipment by the base station is improved, thereby improving the quality of the service provided for the terminal equipment.
另外,由于第二传输质量信息用于表征基于各个码本资源向各个终端设备传输数据时的传输质量的,基于上述第二传输质量信息为各个终端设备分配码本资源时,能够使得基于所分配的码本资源向终端设备提供该终端设备所请求业务的业务质量较高。因此,提高了基站为终端设备分配码本资源的效率,还使得基于所分配的码本资源向终端设备提供该终端设备业务的业务质量较高,进一步地提高了为各个终端设备提供通信服务的服务质量。In addition, since the second transmission quality information is used to characterize the transmission quality when data is transmitted to each terminal device based on each codebook resource, when codebook resources are allocated to each terminal device based on the second transmission quality information, it is possible to make the allocation based on the allocated codebook resources. The codebook resources provided to the terminal equipment have higher service quality of the service requested by the terminal equipment. Therefore, the efficiency of allocating codebook resources for the terminal equipment by the base station is improved, and the service quality of the terminal equipment service provided to the terminal equipment based on the allocated codebook resources is also higher, which further improves the communication service for each terminal equipment. service quality.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明实施例提供的第一种SCMA系统的资源分配方法的流程示意图;FIG. 1 is a schematic flowchart of a first method for resource allocation in an SCMA system according to an embodiment of the present invention;
图2为本发明实施例提供的一种SCMA系统的资源分配方法的信令交互图;2 is a signaling interaction diagram of a resource allocation method of an SCMA system according to an embodiment of the present invention;
图3为本发明实施例提供的第二种SCMA系统的资源分配方法的流程示意图;3 is a schematic flowchart of a second method for resource allocation in an SCMA system according to an embodiment of the present invention;
图4为本发明实施例提供的一种高效信道占比的示意图;4 is a schematic diagram of an efficient channel ratio according to an embodiment of the present invention;
图5为本发明实施例提供的一种系统吞吐量的对比示意图;FIG. 5 is a schematic diagram of a comparison of system throughput according to an embodiment of the present invention;
图6为本发明实施例提供的一种分配码本资源公平性的对比示意图;6 is a schematic diagram of a comparison of fairness of allocated codebook resources according to an embodiment of the present invention;
图7为本发明实施例提供的一种有效用户数的对比示意图;7 is a schematic diagram of a comparison of the number of valid users provided by an embodiment of the present invention;
图8为本发明实施例提供的一种SCMA系统的资源分配装置的结构示意图;8 is a schematic structural diagram of a resource allocation apparatus of an SCMA system according to an embodiment of the present invention;
图9为本发明实施例提供的一种基站的结构示意图。FIG. 9 is a schematic structural diagram of a base station according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
参见图1,图1为本发明实施例提供的第一种SCMA系统的资源分配方法的流程示意图,上述方法包括S101-S105。Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a first method for resource allocation of an SCMA system according to an embodiment of the present invention. The foregoing method includes S101-S105.
S101:基于子载波资源向各个终端设备发送下行参考信号,以使得各个终端设备根据接收到的下行参考信号预测基于子载波资源向各个终端设备自身传输数据时的第一传输质量信息。S101: Send a downlink reference signal to each terminal device based on subcarrier resources, so that each terminal device predicts, according to the received downlink reference signal, first transmission quality information when transmitting data to each terminal device based on subcarrier resources.
上述子载波资源可以理解为:用于传输信号的资源。The above-mentioned subcarrier resources can be understood as: resources used for signal transmission.
上述终端设备可以为用户所使用的手机、平板电脑、计算机等设备。The above-mentioned terminal devices may be mobile phones, tablet computers, computers and other devices used by users.
上述下行参考信号为:基站发送给终端设备的、用于估计传输数据时传输质量的信号。The above-mentioned downlink reference signal is a signal sent by the base station to the terminal device and used for estimating the transmission quality when transmitting data.
具体的,基站在基于子载波资源向各个终端设备发送下行参考信号时,可以基于子载波资源同时向各个终端设备发送下行参考信号,还可以基于子载波资源依次向各个终端设备发送下行参考信号。Specifically, when sending the downlink reference signal to each terminal device based on the subcarrier resources, the base station can simultaneously send the downlink reference signal to each terminal device based on the subcarrier resource, and can also send the downlink reference signal to each terminal device sequentially based on the subcarrier resource.
由于基于间隔较近的子载波资源传输下行参考信号的传输质量差别较小,因此,在基于子载波资源向各个终端设备发送下行参考信号时,可以基于子载波资源间的间隔较大的子载波资源向各个终端设备发送下行参考信号。Since the difference in transmission quality of downlink reference signals transmitted based on closely spaced subcarrier resources is small, when sending downlink reference signals to each terminal device based on subcarrier resources, it is possible to transmit downlink reference signals based on subcarrier resources with a large space between subcarrier resources. The resource sends downlink reference signals to each terminal device.
上述第一传输质量信息用于表示基于子载波资源向各个终端设备自身传输数据时的传输质量。The above-mentioned first transmission quality information is used to indicate the transmission quality when data is transmitted to each terminal device itself based on the subcarrier resources.
本发明的一个实施例中,上述第一传输信息可以包括:至少一个子载波资源的信噪比。In an embodiment of the present invention, the above-mentioned first transmission information may include: a signal-to-noise ratio of at least one subcarrier resource.
终端设备根据接收到的下行参考信号预测基于子载波资源向各个终端设备自身传输数据时的第一传输质量信息时,可以根据现有技术中任意一种方法预测上述第一传输质量信息。When the terminal equipment predicts, according to the received downlink reference signal, the first transmission quality information when transmitting data to each terminal equipment itself based on the subcarrier resources, the above-mentioned first transmission quality information can be predicted according to any method in the prior art.
S102:接收各个终端设备发送的各个第一传输质量信息,并根据接收到的第一传输质量信息,预测基于各个码本资源向各个终端设备传输数据时的第一理论传输速率。S102: Receive each first transmission quality information sent by each terminal device, and predict, according to the received first transmission quality information, a first theoretical transmission rate when data is transmitted to each terminal device based on each codebook resource.
上述码本资源可以理解为:用于传输信号的资源。由于信道也是用于传输信号的资源,因此上述码本资源也可以简单理解为信道。The above codebook resources can be understood as: resources used for signal transmission. Since a channel is also a resource for transmitting signals, the above codebook resource can also be simply understood as a channel.
上述码本资源包括至少一个子载波资源。具体的,可以根据SCMA系统内的子载波资源确定码本资源。例如:可以将连续n个子载波资源分为一组,对分组后的每一组的子载波资源采用SCMA编码技术,产生个码本资源,其中,为码本资源的数量,n为子载波资源的数量,dv为每个码本资源包括的子载波数量。The above codebook resources include at least one subcarrier resource. Specifically, the codebook resources may be determined according to the subcarrier resources in the SCMA system. For example, n consecutive subcarrier resources can be grouped into a group, and SCMA coding technology can be applied to the subcarrier resources of each group after the grouping to generate codebook resources, where, is the number of codebook resources, n is the number of subcarrier resources, and d v is the number of subcarriers included in each codebook resource.
上述基于各个码本资源向各个终端设备传输数据时的第一理论传输速率可以理解为:基站在基于各个码本资源向各个终端设备传输服务数据时的传输速率。The above-mentioned first theoretical transmission rate when transmitting data to each terminal device based on each codebook resource can be understood as: the transmission rate of the base station when transmitting service data to each terminal device based on each codebook resource.
由于上述第一传输质量信息用于表示基于各个子载波资源向各个终端设备传输信号时的传输质量,且码本资源中包括至少一个子载波资源,因此,基站根据接收到的第一传输质量信息,可以预测在基于各个码本资源向各个终端设备传输数据时的第一理论传输速率。Since the above-mentioned first transmission quality information is used to indicate the transmission quality when transmitting signals to each terminal device based on each subcarrier resource, and the codebook resource includes at least one subcarrier resource, the base station according to the received first transmission quality information , the first theoretical transmission rate when data is transmitted to each terminal device based on each codebook resource can be predicted.
具体的,在上述第一传输质量信息用基于子载波资源向各个终端设备传输信号时各个子载波资源的信噪比表征时,可以采用香农公式,计算基于各个码本资源向各个终端设备传输数据时的第一理论传输速率。Specifically, when the above-mentioned first transmission quality information is represented by the signal-to-noise ratio of each subcarrier resource when transmitting a signal to each terminal device based on the subcarrier resource, the Shannon formula can be used to calculate the data transmitted to each terminal device based on each codebook resource The first theoretical transfer rate at .
在预测基于各个码本资源向各个终端设备传输数据时的第一理论传输速率后,可以根据所预测的各个第一理论传输速率构建第一理论传输速率矩阵,由于上述第一理论传输速率表示基于各个码本资源向各个终端设备传输数据时的传输速率,因此,上述矩阵又可以称为用户-码本速率矩阵。After predicting the first theoretical transmission rate when transmitting data to each terminal device based on each codebook resource, a first theoretical transmission rate matrix can be constructed according to each predicted first theoretical transmission rate. The transmission rate when each codebook resource transmits data to each terminal device, therefore, the above matrix may also be called a user-codebook rate matrix.
S103:根据所预测的第一理论传输速率以及各个终端设备的历史平均传输速率,确定将各个码本资源分配给各个终端设备的优先级。S103: Determine the priority of allocating each codebook resource to each terminal device according to the predicted first theoretical transmission rate and the historical average transmission rate of each terminal device.
由于是在每个TTI(Transmission Time Interval,传输时间间隔)时刻进行码本资源的分配,假设当前资源分配的时刻为n时刻,那么上述基于各个码本资源向各个终端设备传输数据时的历史平均传输速率可以理解为:从TT1 1时刻到TTI(n-1)时刻的这段时间内基站基于所分配的码本资源向各个终端设备传输数据时的实时传输速率的平均值。上述TTI 1时刻表示第一次分配码本资源的时刻,TTI(n-1)时刻表示第n-1次分配码本资源的时刻,也就是在当前分配码本资源时的上一时刻。Since the allocation of codebook resources is performed at each TTI (Transmission Time Interval, transmission time interval) moment, assuming that the moment of current resource allocation is time n, the above-mentioned historical average of data transmission to each terminal device based on each codebook resource The transmission rate can be understood as: the average real-time transmission rate when the base station transmits data to each terminal device based on the allocated codebook resources during the period from
具体的,可以按照以下公式计算上述各个终端设备的历史平均传输速率Tu(n)。Specifically, the historical average transmission rate T u (n) of each of the above-mentioned terminal devices can be calculated according to the following formula.
当n=1时,Tu(n)=ru(n)。When n=1, Tu (n)=r u ( n).
当n=2,3,……,N时, When n=2,3,...,N,
其中,u为终端设备的序号,n为传输时间间隔的序号,Tu(n)为第n个传输时间间隔时第u个终端设备的历史平均传输速率,Tu(n-1)为第n-1个传输时间间隔时第u个终端设备的历史平均传输速率,ru(n)为第n个传输时间间隔时第u个终端设备的实际传输速率,ru(n-1)为第n-1个传输时间间隔时第u个终端设备的实际传输速率。Among them, u is the serial number of the terminal device, n is the serial number of the transmission time interval, T u (n) is the historical average transmission rate of the u-th terminal device during the n-th transmission time interval, and T u (n-1) is the th The historical average transmission rate of the u-th terminal device at n-1 transmission time intervals, r u (n) is the actual transmission rate of the u-th terminal device at the n-th transmission time interval, and r u (n-1) is The actual transmission rate of the uth terminal device at the n-1th transmission time interval.
上述各个码本资源分配给各个终端设备的优先级用于确定各个码本资源分配给各个终端设备的先后顺序。当码本资源分配给一终端设备的优先级高于另一终端设备时,表示该码本资源优先分配给前者终端设备。The aforementioned priorities of each codebook resource allocated to each terminal device are used to determine the sequence in which each codebook resource is allocated to each terminal device. When the priority of the codebook resource allocated to one terminal device is higher than that of another terminal device, it means that the codebook resource is preferentially allocated to the former terminal device.
由于上述第一理论传输速率可以用于表示各个码本资源向各个终端设备传输数据时的传输速率,而各个终端设备的历史平均传输速率可以用于表示各个终端设备历史分配的资源情况,因此,为了提高数据传输速率,且使得各个终端设备尽可能地均可以分配到码本资源,可以综合根据所预测的第一理论传输速率以及各个终端设备的历史平均传输速率,确定将各个码本资源分配给各个终端设备的优先级。例如:可以根据第一理论传输速率的权重以及各个终端设备的历史平均传输速率的权重,确定将各个码本资源分配给各个终端设备的优先级。Since the above-mentioned first theoretical transmission rate can be used to represent the transmission rate when each codebook resource transmits data to each terminal device, and the historical average transmission rate of each terminal device can be used to represent the historically allocated resources of each terminal device, therefore, In order to improve the data transmission rate and enable each terminal device to be allocated codebook resources as much as possible, it is possible to determine the allocation of each codebook resource based on the predicted first theoretical transmission rate and the historical average transmission rate of each terminal device. Priority given to individual end devices. For example, the priority of allocating each codebook resource to each terminal device may be determined according to the weight of the first theoretical transmission rate and the weight of the historical average transmission rate of each terminal device.
在确定将各个码本资源分配给各个终端设备的优先级后,可以根据各个码本资源分配给各个终端设备的优先级构建优先级矩阵。具体的,在构建矩阵时,每一行表示每一终端设备,每一列表示每一码本资源,针对每一码本资源,根据该码本资源分配给各个终端设备的优先级确定各个元素值。由于上述优先级表示将各个码本资源分配给各个终端设备的优先级,因此,上述矩阵又可以称为用户-码本优先级矩阵。After the priority of allocating each codebook resource to each terminal device is determined, a priority matrix may be constructed according to the priority of each codebook resource allocated to each terminal device. Specifically, when constructing the matrix, each row represents each terminal device, each column represents each codebook resource, and for each codebook resource, each element value is determined according to the priority assigned to each terminal device by the codebook resource. Since the above priority represents the priority of allocating each codebook resource to each terminal device, the above matrix may also be called a user-codebook priority matrix.
S104:根据所预测的第一理论传输速率以及向各个终端设备传输数据的预设最小传输速率,确定基于各个码本资源向各个终端设备传输数据时的第二传输质量信息。S104: According to the predicted first theoretical transmission rate and the preset minimum transmission rate for transmitting data to each terminal device, determine second transmission quality information when transmitting data to each terminal device based on each codebook resource.
上述向各个终端设备传输数据的预设最小传输速率可以为:各个终端设备的GBR(Guaranted Bit Rate,保证比特速率)。The above-mentioned preset minimum transmission rate for data transmission to each terminal device may be: GBR (Guaranted Bit Rate, guaranteed bit rate) of each terminal device.
上述基于各个码本资源向各个终端设备传输数据时的第二传输质量信息用于表征基于各个码本资源向各个终端设备传输数据时的传输质量。The foregoing second transmission quality information when data is transmitted to each terminal device based on each codebook resource is used to represent the transmission quality when data is transmitted to each terminal device based on each codebook resource.
上述第二传输质量信息可以用质量分数表征,当码本资源向终端设备传输数据时的传输质量较差时,质量分数较低;当码本资源向终端设备传输数据时的传输质量较好时,质量分数较高。The above-mentioned second transmission quality information can be represented by a quality score. When the transmission quality of the codebook resource when transmitting data to the terminal device is poor, the quality score is low; when the transmission quality of the codebook resource when transmitting data to the terminal device is good. , with a higher quality score.
具体的,当基于码本资源向终端设备传输数据时的第一理论传输速率低于向上述终端设备传输数据的预设最小传输速率时,表示基于上述码本资源无法达到预期的传输要求。Specifically, when the first theoretical transmission rate when transmitting data to the terminal equipment based on the codebook resources is lower than the preset minimum transmission rate for transmitting data to the terminal equipment, it means that the expected transmission requirements cannot be met based on the codebook resources.
当基于码本资源向终端设备传输数据时的第一理论传输速率高于向上述终端设备传输数据的预设最小传输速率时,表示基于上述码本资源向上述终端设备提供该终端设备所请求业务的业务质量较高。When the first theoretical transmission rate when transmitting data to the terminal device based on the codebook resource is higher than the preset minimum transmission rate for transmitting data to the terminal device, it means that the service requested by the terminal device is provided to the terminal device based on the codebook resource business quality is high.
因此,可以根据所预测的第一理论传输速率以及向各个终端设备传输数据的预设最小传输速率,确定基于各个码本资源向各个终端设备传输数据时的第二传输质量信息。Therefore, the second transmission quality information when transmitting data to each terminal device based on each codebook resource can be determined according to the predicted first theoretical transmission rate and the preset minimum transmission rate for transmitting data to each terminal device.
在确定基于各个码本资源向各个终端设备传输数据时的第二传输质量信息,可以根据所确定的第二传输质量信息,构建第二传输质量信息矩阵。由于可以用质量分数表征上述第二传输质量信息,可以构建用户-码本质量分数矩阵。When determining the second transmission quality information when transmitting data to each terminal device based on each codebook resource, a second transmission quality information matrix may be constructed according to the determined second transmission quality information. Since the above-mentioned second transmission quality information can be characterized by a quality score, a user-codebook quality score matrix can be constructed.
S105:基于所确定的优先级以及第二传输质量信息,为各个终端设备分配码本资源。S105: Allocate codebook resources to each terminal device based on the determined priority and the second transmission quality information.
基于上述分析可知,基于所确定的优先级在向各个终端设备分配码本资源时,在使得各个终端设备尽可能地均可以分配到码本资源的基础上,能够提高基于所分配的码本资源向终端设备传输数据时的传输速率。而第二传输质量信息用于表征基于各个码本资源向各个终端设备传输数据时的传输质量的,基于上述第二传输质量信息为各个终端设备分配码本资源时,能够使得基于所分配的码本资源向终端设备提供该终端设备所请求业务的业务质量较高。因此,基于所确定的优先级以及第二传输质量信息,为各个终端设备分配码本资源时在使得各个终端设备尽可能地均可以分配到码本资源的基础上,能够提高基于所分配的码本资源向终端设备传输数据时的传输速率,还使得基于所分配的码本资源向终端设备提供该终端设备业务的业务质量较高。Based on the above analysis, it can be seen that when allocating codebook resources to each terminal device based on the determined priority, on the basis that each terminal device can be allocated to the codebook resources as much as possible, it is possible to improve the codebook resources based on the allocated codebook resources. The transmission rate when transmitting data to the end device. The second transmission quality information is used to characterize the transmission quality when data is transmitted to each terminal device based on each codebook resource. When codebook resources are allocated to each terminal device based on the second transmission quality information, it is This resource provides the terminal equipment with the service requested by the terminal equipment with high service quality. Therefore, based on the determined priority and the second transmission quality information, when allocating codebook resources to each terminal device, on the basis that each terminal device can be allocated to the codebook resources as much as possible, it is possible to improve the performance based on the allocated codebook resources. The transmission rate when this resource transmits data to the terminal device also makes the service quality of the terminal device service provided to the terminal device based on the allocated codebook resources higher.
本发明的一个实施例中,可以按照以下方式实现上述S105中基于所确定的优先级以及第二传输质量信息,为各个终端设备分配码本资源。In an embodiment of the present invention, the allocation of codebook resources to each terminal device based on the determined priority and the second transmission quality information in the above S105 may be implemented in the following manner.
针对每一终端设备,根据各个码本资源分配给该终端设备的优先级与各个码本资源向该终端设备传输数据时的第二传输质量信息,确定各个码本资源分配给该终端设备的权重;基于所确定的权重,为各个终端设备分配码本资源。For each terminal device, the weight of each codebook resource allocated to the terminal device is determined according to the priority of each codebook resource allocated to the terminal device and the second transmission quality information when each codebook resource transmits data to the terminal device ; Based on the determined weights, codebook resources are allocated to each terminal device.
在确定各个码本资源分配给各个终端设备的权重时,可以针对每一终端设备,计算各个码本资源分配给该终端设备的优先级与各个码本资源向该终端设备传输数据时的第二传输质量信息之和,还可以计算各个码本资源分配给该终端设备的优先级与各个码本资源向该终端设备传输数据时的第二传输质量信息间的平均值。When determining the weight of each codebook resource allocated to each terminal device, for each terminal device, the priority of each codebook resource allocated to the terminal device and the second priority when each codebook resource transmits data to the terminal device can be calculated. The sum of the transmission quality information can also be calculated as an average value between the priority assigned to the terminal device by each codebook resource and the second transmission quality information when each codebook resource transmits data to the terminal device.
本发明的一个实施例中,还可以根据所确定的各个码本资源分配给各个终端设备的权重构建权值矩阵。上述权值矩阵还可以称为用户-码本权重矩阵。In an embodiment of the present invention, a weight matrix may also be constructed according to the determined weights of each codebook resource allocated to each terminal device. The above weight matrix may also be referred to as a user-codebook weight matrix.
具体的,在构建矩阵时,每一行表示每一终端设备,每一列表示每一码本资源,针对每一码本资源,根据该码本资源分配给各个终端设备的权值确定各个元素值。Specifically, when constructing the matrix, each row represents each terminal device, each column represents each codebook resource, and for each codebook resource, each element value is determined according to the weight assigned to each terminal device by the codebook resource.
例如:假设有三个码本资源,三个终端设备,将码本资源分配给终端设备的优先级的范围为[1,10]、且1表示优先级顺序最高,10表示优先级顺序最低。码本资源向终端设备传输数据的第二传输质量信息为1或者100,其中,1表示第二传输质量信息较好,100表示第二传输质量信息较差。For example, assuming that there are three codebook resources and three terminal devices, the priority range for assigning codebook resources to terminal devices is [1, 10], and 1 indicates the highest priority order, and 10 indicates the lowest priority order. The second transmission quality information of the data transmitted from the codebook resource to the terminal device is 1 or 100, where 1 indicates that the second transmission quality information is good, and 100 indicates that the second transmission quality information is poor.
其中,第一个码本资源分配给各个终端设备的优先级为[1,2,3]、且传输质量[100,1,100],第二个码本资源分配给各个终端设备的优先级为[3,1,2]、传输质量为[100,1,100],第三个码本资源分配给各个终端设备的优先级为[1,2,3]、且传输质量为[1,1,1]。Among them, the priority of the first codebook resource allocated to each terminal device is [1, 2, 3], and the transmission quality is [100, 1, 100], and the priority of the second codebook resource allocated to each terminal device is [ 3,1,2], the transmission quality is [100,1,100], the priority of the third codebook resource allocated to each terminal device is [1,2,3], and the transmission quality is [1,1,1] .
根据上述优先级以及第二传输质量信息,可以确定权值矩阵为:According to the above priority and the second transmission quality information, the weight matrix can be determined as:
其中,上述权值矩阵中,行表示各个码本资源,列表示各个终端设备,每一元素值表示将该元素所在的行对应的码本资源分配给该元素所在的列对应的终端设备的权值。Wherein, in the above weight matrix, the row represents each codebook resource, the column represents each terminal device, and each element value represents the weight of allocating the codebook resource corresponding to the row where the element is located to the terminal device corresponding to the column where the element is located value.
在基于所确定的权重,为各个终端设备分配码本资源时。可以确定将各个码本资源分配各个终端设备的多种资源分配方案,确定每一种资源分配方案的方案权值和,将最小权值和的资源分配方案作为最终资源分配方案,从而为各个终端设备分配码本资源。When allocating codebook resources to each terminal device based on the determined weight. It is possible to determine a variety of resource allocation schemes for allocating each codebook resource to each terminal device, determine the weight sum of each resource allocation scheme, and use the resource allocation scheme with the smallest weight sum as the final resource allocation scheme, so as to provide each terminal. The device allocates codebook resources.
例如:沿用上述例子,可以有多种资源分配方案。For example, following the above example, there can be multiple resource allocation schemes.
一种资源分配方案可以为:将第一行对应的码本资源分配给第一列对应的终端设备、将第二行对应的码本资源分配给第二列对应的终端设备、将第三行对应的码本资源分配给第三列对应的终端设备。根据上述矩阵可以计算上述资源分配方案的权值和为:101+2+4=107。A resource allocation scheme may be: allocating the codebook resources corresponding to the first row to the terminal equipment corresponding to the first column, allocating the codebook resources corresponding to the second row to the terminal equipment corresponding to the second column, and assigning the codebook resources corresponding to the third row to the terminal equipment corresponding to the second column. The corresponding codebook resources are allocated to the terminal equipment corresponding to the third column. According to the above matrix, the weight sum of the above resource allocation scheme can be calculated as: 101+2+4=107.
一种资源分配方案还可以为:将第一行对应的码本资源分配给第一列对应的终端设备、将第二行对应的码本资源分配给第三列对应的终端设备、将第三行对应的码本资源分配给第二列对应的终端设备。根据上述矩阵可以计算上述资源分配方案的权值和为:101+102+3=206。A resource allocation scheme may also be: allocating the codebook resources corresponding to the first row to the terminal equipment corresponding to the first column, allocating the codebook resources corresponding to the second row to the terminal equipment corresponding to the third column, and The codebook resource corresponding to the row is allocated to the terminal device corresponding to the second column. According to the above matrix, the weight sum of the above resource allocation scheme can be calculated as: 101+102+3=206.
按照这样的方法,可以根据上述矩阵计算出各种资源分配方案的权值和,选择最小权值和的资源分配方案作为最终资源分配方案,从而按照最终资源分配方案为各个终端设备分配资源。According to this method, the weight sum of various resource allocation schemes can be calculated according to the above matrix, and the resource allocation scheme with the smallest weight sum can be selected as the final resource allocation scheme, thereby allocating resources to each terminal device according to the final resource allocation scheme.
由以上可见,应用本实施例提供的方案对SCMA系统的资源进行分配时,由于是根据所确定的优先级以及第二传输质量信息为各个终端设备分配码本资源的,而上述优先级是根据所预测的第一理论传输速率以及基于各个码本资源向各个终端设备传输数据时的历史平均传输速率进行确定的,又由于上述第一理论传输速率可以用于表示各个码本资源向各个终端设备传输数据时的传输速率,且各个终端设备的历史平均传输速率可以用于表示各个终端设备历史分配的资源情况,因此,在根据所确定的优先级确定为各个终端设备分配码本资源时,在使得各个终端设备尽可能地均可以分配到码本资源的基础上,能够提高基于所分配的码本资源向终端设备传输数据时的传输速率。因此,相较于现有技术,提高了基站为终端设备分配码本资源的效率,进而提高为终端设备所提供服务的质量。It can be seen from the above that when applying the solution provided in this embodiment to allocate the resources of the SCMA system, the codebook resources are allocated to each terminal device according to the determined priority and the second transmission quality information, and the above priority is based on The predicted first theoretical transmission rate is determined based on the historical average transmission rate when each codebook resource transmits data to each terminal device, and because the above-mentioned first theoretical transmission rate can be used to indicate that each codebook resource is transmitted to each terminal device. The transmission rate when transmitting data, and the historical average transmission rate of each terminal device can be used to represent the historical resource allocation of each terminal device. Therefore, when the codebook resources are allocated to each terminal device according to the determined priority, the On the basis that each terminal device can be allocated to the codebook resources as much as possible, the transmission rate when data is transmitted to the terminal device based on the allocated codebook resources can be improved. Therefore, compared with the prior art, the efficiency of allocating codebook resources for the terminal equipment by the base station is improved, thereby improving the quality of the service provided for the terminal equipment.
另外,由于第二传输质量信息用于表征基于各个码本资源向各个终端设备传输数据时的传输质量的,基于上述第二传输质量信息为各个终端设备分配码本资源时,能够使得基于所分配的码本资源向向终端设备提供该终端设备所请求业务的业务质量较高。因此,提高了基站为终端设备分配码本资源的效率,还使得基于所分配的码本资源向终端设备提供该终端设备业务的业务质量较高,进一步地提高了为各个终端设备提供通信服务的服务质量。In addition, since the second transmission quality information is used to characterize the transmission quality when data is transmitted to each terminal device based on each codebook resource, when codebook resources are allocated to each terminal device based on the second transmission quality information, it is possible to make the allocation based on the allocated codebook resources. The codebook resources provided to the terminal equipment provide the terminal equipment with the service requested by the terminal equipment with high service quality. Therefore, the efficiency of allocating codebook resources for the terminal equipment by the base station is improved, and the service quality of the terminal equipment service provided to the terminal equipment based on the allocated codebook resources is also higher, which further improves the communication service for each terminal equipment. service quality.
本发明的一个实施例中,当码本资源中包括至少一个子载波资源,第一传输质量信息包括至少一个子载波资源的信噪比时,可以按照以下步骤A1-步骤A3实现上述S102中接收各个终端设备发送的各个第一传输质量信息,并根据接收到的第一传输质量信息,预测基于各个码本资源向各个终端设备传输数据时的第一理论传输速率。In an embodiment of the present invention, when the codebook resource includes at least one subcarrier resource, and the first transmission quality information includes the signal-to-noise ratio of at least one subcarrier resource, the receiving in S102 can be implemented according to the following steps A1-A3 Each first transmission quality information sent by each terminal device, and according to the received first transmission quality information, a first theoretical transmission rate when data is transmitted to each terminal device based on each codebook resource is predicted.
步骤A1:接收各个终端设备发送的各个子载波资源的信噪比。Step A1: Receive the signal-to-noise ratio of each subcarrier resource sent by each terminal device.
由于码本资源可以包括至少一个子载波资源,因此基站在基于各个子载波资源向各个终端设备发送下行参考信号后,各个终端设备可以根据接收到的下行参考信号预测基于各个子载波资源向自身传输数据时各个子载波资源的信噪比,各个终端设备将预测到的各个子载波资源的信噪比发送给基站。Since the codebook resource can include at least one subcarrier resource, after the base station sends the downlink reference signal to each terminal device based on each subcarrier resource, each terminal device can predict the transmission to itself based on each subcarrier resource according to the received downlink reference signal When the data is the signal-to-noise ratio of each sub-carrier resource, each terminal device sends the predicted signal-to-noise ratio of each sub-carrier resource to the base station.
步骤A2:针对每一码本资源,根据接收到的该码本资源包括的各个子载波资源的信噪比,计算基于该码本资源包括的各个子载波资源向各个终端设备传输数据时的第二理论传输速率,并针对每一终端设备,在基于该码本资源包括的各个子载波资源向该终端设备传输数据时的第二理论传输速率中,采用预设的统计分析方式选择一第二理论传输速率,作为基于该码本资源向该终端设备传输数据时的第一理论传输速率。Step A2: For each codebook resource, according to the received signal-to-noise ratio of each subcarrier resource included in the codebook resource, calculate the number of times when data is transmitted to each terminal device based on each subcarrier resource included in the codebook resource. Two theoretical transmission rates, and for each terminal equipment, among the second theoretical transmission rates when transmitting data to the terminal equipment based on each subcarrier resource included in the codebook resource, a preset statistical analysis method is used to select a second theoretical transmission rate. The theoretical transmission rate is used as the first theoretical transmission rate when data is transmitted to the terminal device based on the codebook resource.
具体的,针对每一码本资源,根据接收到的该码本资源包括的各个子载波资源的信噪比,可以采用香农公式计算基于该码本资源包括的各个子载波资源向各个终端设备传输数据时的第二理论传输速率。Specifically, for each codebook resource, according to the received signal-to-noise ratio of each subcarrier resource included in the codebook resource, Shannon's formula can be used to calculate the transmission to each terminal device based on each subcarrier resource included in the codebook resource The second theoretical transfer rate for data.
本发明的一个实施例中,可以按照以下表达式计算第二理论传输速率。In one embodiment of the present invention, the second theoretical transmission rate can be calculated according to the following expression.
ru,l(n)=B*log(1+SNRu,l)r u,l (n)=B*log(1+SNR u,l )
其中,u为终端设备的序号,l为子载波资源的序号,SNRu,l为基于第l个子载波资源向第u个终端设备传输数据时第l个子载波资源的信噪比,B为子载波频带宽度,n为传输时间间隔的序号,ru,l(n)为第n个传输时间间隔内基于第l个子载波资源向第u个终端设备传输数据时的第二理论传输速率。Where, u is the serial number of the terminal device, l is the serial number of the subcarrier resource, SNR u,l is the signal-to-noise ratio of the lth subcarrier resource when transmitting data to the uth terminal device based on the lth subcarrier resource, and B is the subcarrier resource. Carrier frequency bandwidth, n is the sequence number of the transmission time interval, r u,l (n) is the second theoretical transmission rate when data is transmitted to the uth terminal device based on the lth subcarrier resource in the nth transmission time interval.
这样,针对每一码本资源,采用上述公式能够更加准确计算基于该码本资源包括的各个子载波资源向各个终端设备传输数据时的第二理论传输速率。In this way, for each codebook resource, the above formula can more accurately calculate the second theoretical transmission rate when data is transmitted to each terminal device based on each subcarrier resource included in the codebook resource.
具体的,上述预设的统计分析方式可以为:取最小值、取平均值或者取中值等。Specifically, the above-mentioned preset statistical analysis method may be: taking a minimum value, taking an average value, or taking a median value, and the like.
以上述预设的统计分析方式为取最小值为例,假设SCMA系统中包括终端设备Ue1,两个码本资源分别为:S1、S2,其中S1中包括子载波资源S11、S12,S2中包括子载波资源S21、S22。Taking the preset statistical analysis method as taking the minimum value as an example, it is assumed that the SCMA system includes the terminal equipment Ue1, and the two codebook resources are: S1 and S2, wherein S1 includes subcarrier resources S11 and S12, and S2 includes the subcarrier resources S11 and S12. Subcarrier resources S21 and S22.
基于各个子载波资源向各个终端设备传输数据时的第二理论传输速率如下表1所示。The second theoretical transmission rate when data is transmitted to each terminal device based on each subcarrier resource is shown in Table 1 below.
表1Table 1
其中,上述表1中的RUe1,S11表示基于子载波资源S11向终端设备Ue1传输数据时的第二理论传输速率,RUe2,S11表示基于子载波资源S12向终端设备Ue2传输数据时的第二理论传输速率,类似的,RUe1,S12、RUe1,S21、RUe1,S22、RUe2,S12、RUe2,S21、RUe2,S22表示基于各个子载波资源向终端设备传输数据时的第二理论传输速率。Wherein, R Ue1 and S11 in the above Table 1 represent the second theoretical transmission rate when transmitting data to the terminal equipment Ue1 based on the subcarrier resource S11, and R Ue2 and S11 represent the second theoretical transmission rate when transmitting data to the terminal equipment Ue2 based on the subcarrier resource S12. Two theoretical transmission rates, similarly, R Ue1, S12 , R Ue1, S21 , R Ue1, S22 , R Ue2, S12 , R Ue2, S21 , R Ue2, S22 represent the data transmission rate to the terminal device based on each subcarrier resource The second theoretical transmission rate.
基于上述表1,可以确定基于各个码本资源向各个终端设备传输数据时的第一理论传输速率如下表2所示。Based on the above Table 1, it can be determined that the first theoretical transmission rate when data is transmitted to each terminal device based on each codebook resource is shown in Table 2 below.
表2Table 2
其中,上述表2中Min(RUe1,S11,RUe1,S12)表示基于码本资源S1向终端设备Ue1传输数据时的第一理论传输速率,由于RUe1,S11表示基于子载波资源S11向终端设备Ue1传输数据时的第二理论传输速率,RUe1,S12表示基于子载波资源S12向终端设备Ue1传输数据时的第二理论传输速率,而码本资源S1包括子载波资源S11、S12,因此,将RUe1,S11与RUe1,S12间的最小值作为基于码本资源S1向终端设备Ue1传输数据时的第一理论传输速率。类似的,Min(RUe2,S11,RUe2,S12)、Min(RUe1,S21,RUe1,S22)、Min(RUe2,S21,RUe2,S22)为基于各个码本资源向各个终端设备传输数据时的第一理论传输速率。Among them, Min(R Ue1, S11 , R Ue1, S12 ) in the above Table 2 represents the first theoretical transmission rate when transmitting data to the terminal equipment Ue1 based on the codebook resource S1, since R Ue1, S11 represents the subcarrier resource S11 The second theoretical transmission rate when the terminal equipment Ue1 transmits data, R Ue1, S12 represent the second theoretical transmission rate when transmitting data to the terminal equipment Ue1 based on the subcarrier resource S12, and the codebook resource S1 includes the subcarrier resources S11, S12, Therefore, the minimum value between R Ue1, S11 and R Ue1, S12 is taken as the first theoretical transmission rate when data is transmitted to the terminal device Ue1 based on the codebook resource S1. Similarly, Min(R Ue2, S11 , R Ue2, S12 ), Min(R Ue1, S21 , R Ue1, S22 ), Min(R Ue2, S21 , R Ue2, S22 ) are sent to each terminal based on each codebook resource The first theoretical transfer rate when the device transmits data.
这样,由于码本资源中包括至少一个子载波资源,且针对每一码本资源,基于该码本资源包括的各个子载波资源向各个终端设备传输数据时的第二理论传输速率不相同,因此,针对每一终端设备,在该码本资源包括的各个子载波资源向该终端设备传输数据时的第二理论传输速率中,采用预设的统计分析方式选择一第二理论传输速率作为基于该码本资源向该终端设备传输数据时的第一理论传输速率,能够更加准确确定基于各个码本资源向各个终端设备传输数据时的第一理论传输速率。In this way, since the codebook resource includes at least one subcarrier resource, and for each codebook resource, the second theoretical transmission rates when transmitting data to each terminal device based on each subcarrier resource included in the codebook resource are different, so the second theoretical transmission rate is different. , for each terminal equipment, among the second theoretical transmission rates when each subcarrier resource included in the codebook resource transmits data to the terminal equipment, a preset statistical analysis method is used to select a second theoretical transmission rate as the basis for the second theoretical transmission rate. The first theoretical transmission rate when the codebook resource transmits data to the terminal device can more accurately determine the first theoretical transmission rate when data is transmitted to each terminal device based on each codebook resource.
本发明的一个实施例中,可以按照以下方式实现上述S103中根据所预测的第一理论传输速率以及已为各个终端设备分配的码本资源,确定将各个码本资源分配给各个终端设备的优先级。In an embodiment of the present invention, the above-mentioned S103 can be implemented in the following manner to determine the priority of allocating each codebook resource to each terminal device according to the predicted first theoretical transmission rate and the codebook resources that have been allocated to each terminal device class.
计算所预测的第一理论传输速率与各个终端设备的历史平均传输速率间的比值,按照预设的排列顺序确定所计算的比值的排列标识,将所确定的标识作为将各个码本资源分配给各个终端设备的优先级。Calculate the ratio between the predicted first theoretical transmission rate and the historical average transmission rate of each terminal device, determine the arrangement identifier of the calculated ratio according to the preset arrangement order, and use the determined identifier as the assignment of each codebook resource to each codebook resource. The priority of each end device.
这样,将所预测的第一理论传输速率以及各个终端设备的历史平均传输速率间的比值,按照预设的排列顺序确定所计算的比值的排列标识,将所确定的标识作为将各个码本资源分配给各个终端设备的优先级,在根据所确定的优先级确定为各个终端设备分配码本资源时,在使得各个终端设备尽可能地均可以分配到码本资源的基础上,能够提高基于所分配的码本资源向终端设备传输数据时的传输速率In this way, the ratio between the predicted first theoretical transmission rate and the historical average transmission rate of each terminal device is determined in accordance with the preset arrangement order to determine the arrangement identifier of the calculated ratio, and the determined identifier is used as the codebook resource for each codebook resource. The priority assigned to each terminal device, when the codebook resource is determined to be allocated to each terminal device according to the determined priority, on the basis that each terminal device can be allocated to the codebook resource as much as possible, it is possible to improve the performance based on the determined priority. The transmission rate when the allocated codebook resources transmit data to the terminal device
本发明的一个实施例中,可以按照以下方式实现上述S104中根据所预测的第一理论传输速率以及向各个终端设备传输数据的预设最小传输速率,确定基于各个码本资源向各个终端设备传输数据时的第二传输质量信息。In an embodiment of the present invention, according to the predicted first theoretical transmission rate and the preset minimum transmission rate for data transmission to each terminal device in the above S104 can be implemented in the following manner, determining the transmission to each terminal device based on each codebook resource Second transmission quality information for data.
针对每一终端设备,判断基于码本资源向该终端设备传输数据时的第一理论传输速率是否小于向该终端设备传输数据的预设最小传输速率;若为是,根据终端设备的数量,预测基于码本资源向该终端设备传输数据时的第二传输质量信息;若为否,将预设传输质量信息确定为基于码本资源向该终端设备传输数据时的第二质量信息。For each terminal device, determine whether the first theoretical transmission rate when transmitting data to the terminal device based on the codebook resources is less than the preset minimum transmission rate for transmitting data to the terminal device; if so, predict based on the number of terminal devices. The second transmission quality information when data is transmitted to the terminal device based on the codebook resource; if not, the preset transmission quality information is determined as the second quality information when data is transmitted to the terminal device based on the codebook resource.
具体的,假设用质量分数表征上述第二传输质量信息,且当质量分数越高时,表示码本资源向终端设备传输数据时的传输质量越差,当质量分数越低时,表示码本资源向终端设备传输数据时的传输质量越优,因此,当所预测的第一理论传输速率小于向各个终端设备传输数据的预设最小传输速率时,可以计算终端设备的数量的平方或者三次方等,将计算得到的值确定为基于码本资源向终端设备传输数据时的第二传输质量信息。Specifically, it is assumed that the above-mentioned second transmission quality information is represented by a quality score, and when the quality score is higher, it indicates that the transmission quality of the codebook resource when transmitting data to the terminal device is worse, and when the quality score is lower, it indicates that the codebook resource The better the transmission quality when transmitting data to the terminal equipment, therefore, when the predicted first theoretical transmission rate is less than the preset minimum transmission rate for transmitting data to each terminal equipment, the square or cube of the number of terminal equipment can be calculated, etc., The calculated value is determined as the second transmission quality information when data is transmitted to the terminal device based on the codebook resource.
当所预测的第一理论传输速率大于或者等于向各个终端设备传输数据的预设最小传输速率时,可以将“1”确定为基于码本资源向终端设备传输数据时的第二传输质量信息。When the predicted first theoretical transmission rate is greater than or equal to the preset minimum transmission rate for transmitting data to each terminal device, "1" may be determined as the second transmission quality information when transmitting data to the terminal device based on codebook resources.
这样,根据所预测的第一理论传输速率以及向各个终端设备传输数据的预设最小传输速率,确定基于各个码本资源向各个终端设备传输数据时的第二传输质量信息,基于上述第二传输质量信息为各个终端设备分配码本资源时,能够使得基于所分配的码本资源向终端设备传输数据时传输成功率较高。In this way, according to the predicted first theoretical transmission rate and the preset minimum transmission rate for transmitting data to each terminal device, the second transmission quality information when transmitting data to each terminal device based on each codebook resource is determined, and based on the above-mentioned second transmission quality information When the quality information allocates codebook resources for each terminal device, it can make the transmission success rate higher when data is transmitted to the terminal device based on the allocated codebook resources.
在上述实施例的基础上,本发明的一个实施例中,还可以按照以下方式实现上述S105中基于所确定的优先级以及第二传输质量信息,为各个终端设备分配码本资源。On the basis of the foregoing embodiment, in an embodiment of the present invention, the codebook resource allocation to each terminal device based on the determined priority and the second transmission quality information in the foregoing S105 may also be implemented in the following manner.
基于所确定的优先级以及第二传输质量信息,采用匈牙利算法为各个终端设备分配码本资源。Based on the determined priority and the second transmission quality information, the Hungarian algorithm is used to allocate codebook resources to each terminal device.
具体的,采用匈牙利算法为各个终端设备分配码本资源时,可以按照以下步骤。Specifically, when using the Hungarian algorithm to allocate codebook resources to each terminal device, the following steps may be followed.
第一步:判断终端设备的数量U与SCMA系统中的码本资源的数量M的关系,当U<M时,通过补0将用户-码本权重矩阵补充为M*M的矩阵;当U≥M时,通过补0将用户-码本权重矩阵补充为U*U的矩阵。上述用户-码本权重矩阵可以基于用户-码本优先级矩阵以及用户-码本质量分数矩阵所确定的。例如:可以将用户-码本优先级矩阵与用户-码本质量分数矩阵之和作为用户-码本权重矩阵。Step 1: Determine the relationship between the number U of terminal devices and the number M of codebook resources in the SCMA system. When U<M, supplement the user-codebook weight matrix to M*M by adding 0; when U When ≥M, the user-codebook weight matrix is supplemented to a U*U matrix by supplementing 0. The above user-codebook weight matrix may be determined based on the user-codebook priority matrix and the user-codebook quality score matrix. For example, the sum of the user-codebook priority matrix and the user-codebook quality score matrix can be used as the user-codebook weight matrix.
以下每一步骤为对补0后的用户-码本权重矩阵进行操作。Each of the following steps is to operate on the user-codebook weight matrix after 0-filling.
第二步:针对每行元素,减去该行元素中的最小值;并针对每列元素,减去该列元素中的最小值。Step 2: For each row element, subtract the minimum value in the row element; and for each column element, subtract the minimum value in the column element.
第三步:遍历每行元素,当某行元素中只有一个独立0元素时,将该独立0元素确定为独立0元素,并将该0元素所在的行和列中其他0元素标为不可选0元素。上述独立0元素为:与矩阵中已选择的独立0元素的不在同一行、同一列的0元素。按照同样的操作,遍历每列元素,确定每列中独立0元素以及不可选元素。Step 3: Traverse each row of elements, when there is only one independent 0 element in a row element, determine the independent 0 element as an independent 0 element, and mark the other 0 elements in the row and column where the 0 element is located as non-selectable 0 elements. The above independent 0 elements are: 0 elements that are not in the same row and in the same column as the selected independent 0 elements in the matrix. Follow the same operation to traverse each column of elements to determine the independent 0 elements and non-optional elements in each column.
当按照第三步的方法标不出新的独立0元素时,进行第四步。When no new independent 0 element can be marked according to the method of the third step, go to the fourth step.
第四步:将剩余可选0元素用*号标注,作为0*元素。Step 4: Mark the remaining optional 0 elements with * as 0* elements.
第五步:遍历每行元素,将每行中列号最小的可选0*元素确定为独立0元素,然后将该元素所在的行和列中其他0*元素标为不可选元素,获得预选择矩阵,并将所有0*元素标为可选。Step 5: Traverse the elements of each row, determine the optional 0* element with the smallest column number in each row as an independent 0 element, and then mark the other 0* elements in the row and column where the element is located as non-optional elements, and obtain the pre- Select the matrix and mark all 0* elements as optional.
第六步:遍历上述预选择矩阵中每行元素,对于不存在独立0元素的行,确定该行中的一个可选0*元素,记录该元素在预选择矩阵中的第一位置,然后在第一位置中的列中确定独立0元素,记录该元素在预选择矩阵中的第二位置,然后在第二位置中的行中进行递归操作。Step 6: Traverse each row of elements in the above pre-selection matrix. For the row without independent 0 elements, determine an optional 0* element in the row, record the first position of the element in the pre-selection matrix, and then in the An independent 0 element is determined in the column in the first position, the second position of the element in the preselected matrix is recorded, and the recursive operation is performed in the row in the second position.
当递归操作的结束条件为寻找0*元素,假设最后一个独立0元素在预选择矩阵中的位置为第三位置。如果第三位置中的行为第一行时,退出对该行进行操作,而是对矩阵中的下一行进行操作。如果第三位置中的行不是第一行时,删除所记录的预选择矩阵中的第三位置和该第三位置的上一行位置,然后将第三位置的上一行位置处的0*元素标记为不可选元素。When the end condition of the recursive operation is to find 0* elements, it is assumed that the position of the last independent 0 element in the preselected matrix is the third position. If the row in the third position is the first row, exit the operation on that row, and instead operate on the next row in the matrix. If the row in the third position is not the first row, delete the third position in the recorded pre-selection matrix and the position of the previous row of the third position, and then mark the 0* element at the position of the previous row of the third position is an optional element.
当递归操作的结束条件为寻找独立0元素,根据记录的所有0元素进行互换操作,即将0*元素确定为独立0元素,将独立0元素确定为0*元素。When the end condition of the recursive operation is to find an independent 0 element, the exchange operation is performed according to all the 0 elements recorded, that is, the 0* element is determined as the independent 0 element, and the independent 0 element is determined as the 0* element.
从上述第三步到上述第六步用于寻找最多的独立0元素的数量。From the third step above to the sixth step above is used to find the maximum number of independent 0 elements.
第七步:对于第六步得到的矩阵,遍历每一行元素,当某一行没有独立0元素时,将该行标记为1,然后查看该列上是否有其他0元素。如果有,将该列标记为1,并对每一个0元素所在的行元素进行上述操作,如果没有,结束操作。继续遍历矩阵每一行元素,将标记为1的行元素取消标记,将未标记为1的行元素标记为1。Step 7: For the matrix obtained in step 6, traverse each row of elements. When a row has no independent 0 elements, mark the row as 1, and then check whether there are other 0 elements in the column. If there is, mark the column as 1, and perform the above operation on the row element where each 0 element is located, if not, end the operation. Continue to traverse each row element of the matrix, unmark the row elements marked as 1, and mark the row elements not marked as 1 as 1.
第八步:寻找矩阵中所有行和列均没有被标记为1的元素,并记录最小元素值,如果不存在所有行和列均没有被标记为1的元素时,进行下一步骤;如果存在,将没有标记为1的行上的所有元素值减去所记录的最小元素值,标记为1的行上的所有元素值加上所记录的最小元素值,并开始执行上述第三步。Step 8: Find elements in the matrix where all rows and columns are not marked as 1, and record the minimum element value. If there are no elements whose rows and columns are not marked as 1, go to the next step; if there is , subtract the recorded minimum element value from all element values on the row not marked 1, add all element values on the row marked 1 with the recorded minimum element value, and start executing the third step above.
第九步,初始化一个与预选择矩阵同等大小的分配矩阵Alloc_scheme,根据每一独立0元素的位置,在上述Alloc_scheme的相同位置处赋值为1。The ninth step, initialize an allocation matrix Alloc_scheme of the same size as the pre-selection matrix, and assign a value of 1 at the same position of the above Alloc_scheme according to the position of each independent 0 element.
其中,矩阵元素为1的元素所在的位置(u,m),u为码本资源的序号,m为终端设备的序号,(u,m)表示将第m个码本资源分配给第u个终端设备。同时,矩阵中每一行、每一列中只有一个1,代表终端设备和码本资源一一对应。Among them, the position of the element whose matrix element is 1 is (u, m), u is the serial number of the codebook resource, m is the serial number of the terminal device, (u, m) indicates that the mth codebook resource is allocated to the uth codebook resource. Terminal Equipment. At the same time, there is only one 1 in each row and each column of the matrix, which represents a one-to-one correspondence between terminal devices and codebook resources.
当U>M时,将分配矩阵Alloc_scheme中补充的U-M列删除,缩减为U*M。When U>M, the supplemented U-M column in the allocation matrix Alloc_scheme is deleted and reduced to U*M.
当U<M时,根据U个终端设备的实际传输速率,将分配给M-U个虚拟终端设备的剩余资源重新分配给未达到GBR要求的终端设备。When U<M, according to the actual transmission rates of the U terminal devices, the remaining resources allocated to the M-U virtual terminal devices are reallocated to the terminal devices that do not meet the GBR requirement.
具体的,可以对未达到预先设定GBR要求的终端设备重新设定新的GBR要求,在为终端设备重新设定新的GBR要求时,可以将已预先设定的GBR要求与该终端设备对应的第一理论传输速率间的差值作为该终端设备新的GBR要求。在为终端设备重新确定新的GBR要求后,遍历上述第一步到第九步的过程,实现剩余资源的重新分配。Specifically, a new GBR requirement can be reset for a terminal device that does not meet the preset GBR requirement, and when a new GBR requirement is reset for a terminal device, the preset GBR requirement can be corresponding to the terminal device The difference between the first theoretical transmission rates is taken as the new GBR requirement of the terminal equipment. After re-determining the new GBR requirement for the terminal device, traverse the process from the first step to the ninth step to realize the reallocation of the remaining resources.
基于第九步所得到的矩阵Alloc_scheme,可以向各个终端设备分配码本资源。Based on the matrix Alloc_scheme obtained in the ninth step, codebook resources can be allocated to each terminal device.
参见图2,图2为本发明实施例提供的一种SCMA系统的码本资源分配方法的信令交互图。上述方法包括S201-S206。Referring to FIG. 2, FIG. 2 is a signaling interaction diagram of a method for allocating codebook resources in an SCMA system according to an embodiment of the present invention. The above method includes S201-S206.
图2中包括基站和UE(User Equipment,用户设备),上述用户设备又可以称为终端设备。FIG. 2 includes a base station and a UE (User Equipment, user equipment), and the above-mentioned user equipment may also be referred to as terminal equipment.
S201:基站基于子载波资源向UE发送下行参考信号。S201: The base station sends a downlink reference signal to the UE based on the subcarrier resources.
S202:UE根据接收到的下行参考信号对各个子载波资源的信噪比进行估计。S202: The UE estimates the signal-to-noise ratio of each subcarrier resource according to the received downlink reference signal.
S203:UE将估计的信噪比向基站发送。S203: The UE sends the estimated SNR to the base station.
S204:基站根据接收到的信噪比,确定将各个码本资源分配给UE的优先级以及基于各个码本资源向UE传输数据时的传输质量信息。S204: The base station determines, according to the received signal-to-noise ratio, the priority of allocating each codebook resource to the UE and the transmission quality information when transmitting data to the UE based on each codebook resource.
S205:基于所确定的优先级以及传输质量信息,为UE分配码本资源。S205: Based on the determined priority and transmission quality information, allocate codebook resources to the UE.
S206:基于所分配的码本资源向UE传输下行数据。S206: Transmit downlink data to the UE based on the allocated codebook resources.
参见图3,图3为本发明实施例提供的第二种SCMA系统的资源分配方法的流程示意图。上述方法包括S301-S305。Referring to FIG. 3 , FIG. 3 is a schematic flowchart of a second method for resource allocation of an SCMA system according to an embodiment of the present invention. The above method includes S301-S305.
S301:获得用户-码本速率矩阵。S301: Obtain a user-codebook rate matrix.
上述用户-码本速率矩阵为:根据上述S102中所预测的各个第一理论传输速率构建的矩阵。The above-mentioned user-codebook rate matrix is: a matrix constructed according to each of the first theoretical transmission rates predicted in the above-mentioned S102.
S302:获得用户-码本优先级矩阵。S302: Obtain a user-codebook priority matrix.
上述用户-码本优先级矩阵为;根据上述S103中所确定的将各个码本资源分配给各个终端设备的优先级构建的矩阵。The above-mentioned user-codebook priority matrix is: a matrix constructed according to the priorities of allocating each codebook resource to each terminal device determined in the above S103.
S303:获得用户-码本质量矩阵。S303: Obtain a user-codebook quality matrix.
上述用户-码本质量矩阵为:根据上述S104中所确定的基于各个码本资源向各个终端设备传输数据时的第二传输质量信息构建的矩阵。The above user-codebook quality matrix is: a matrix constructed according to the second transmission quality information when data is transmitted to each terminal device based on each codebook resource determined in the above S104.
S304:获得用户-码本权值矩阵。S304: Obtain a user-codebook weight matrix.
上述用户-码本权值矩阵为:将S302中所获得的用户-码本优先级矩阵和S303中所获得的用户-码本质量矩阵进行矩阵加法运算后所获得的矩阵。The above user-codebook weight matrix is: a matrix obtained by performing matrix addition on the user-codebook priority matrix obtained in S302 and the user-codebook quality matrix obtained in S303.
S305:对用户-码本权值矩阵采用匈牙利算法,为各个终端设备分配码本资源。S305: Use the Hungarian algorithm for the user-codebook weight matrix to allocate codebook resources to each terminal device.
以下为采用本发明实施例提供的方案以及其他方案在对SCMA系统的资源进行分配时的实验仿真结果。The following are experimental simulation results when the solutions provided by the embodiments of the present invention and other solutions are used in allocating the resources of the SCMA system.
假设SCMA系统包括6个码本资源,载波频率为2GHz,子载波间隔为15KHz,频率资源为60个子载波。信道模型为大尺度衰落路径损耗模型加上小尺度衰落瑞利信道。It is assumed that the SCMA system includes 6 codebook resources, the carrier frequency is 2GHz, the subcarrier spacing is 15KHz, and the frequency resource is 60 subcarriers. The channel model is a large-scale fading path loss model plus a small-scale fading Rayleigh channel.
其中,上述路径损耗模型使用的是对数距离损耗模型,参考距离为1m时的损耗由弗林斯Friis传输公式得到的。The above path loss model uses the logarithmic distance loss model, and the loss when the reference distance is 1m is obtained by the Friis transmission formula.
小区的服务半径500m,用户是随机分布在距离基站超过40m的区域,用户的移动速度为0.556km/h。总调度时长为100个TTI,用户的GBR设置为相同值,为256kbps、316kbps两种情况。The service radius of the cell is 500m, the users are randomly distributed in the area more than 40m away from the base station, and the user's moving speed is 0.556km/h. The total scheduling duration is 100 TTIs, and the user's GBR is set to the same value, 256kbps and 316kbps.
参见图4,图4为本发明实施例提供的一种高效信道占比的示意图。横坐标为用户数,纵坐标为高效信道占比,上述高效信道占比为:在各个信道中向用户传输数据时的理论传输速率高于GBR的信道占总信道数量的比率。图4中实线表示在GBR为316Kbps的情况下高效信道占比率的情况,虚线表示在GBR为256Kbps的情况下高效信息占比率的情况。Referring to FIG. 4, FIG. 4 is a schematic diagram of an efficient channel ratio provided by an embodiment of the present invention. The abscissa is the number of users, and the ordinate is the ratio of high-efficiency channels. The above-mentioned ratio of high-efficiency channels is: the ratio of channels whose theoretical transmission rate is higher than GBR when transmitting data to users in each channel to the total number of channels. The solid line in FIG. 4 represents the high-efficiency channel ratio when the GBR is 316Kbps, and the dotted line represents the high-efficiency information ratio when the GBR is 256Kbps.
由图4可以看出,GBR要求的提高会使高效信道占比下降。It can be seen from Figure 4 that the increase in the GBR requirement will reduce the proportion of efficient channels.
参见图5,图5为本发明实施例提供的一种系统吞吐量的对比示意图。横坐标为用户数,纵坐标为吞吐率,单位为Mbps。图5在GBR为256Kbps和GBR为316Kbps的情况下,将本发明实施例提出的方案与SCMA-PF方案进行对比,获得各个方案在不同GBR要求的情况下的系统吞吐量。Referring to FIG. 5 , FIG. 5 is a schematic diagram for comparison of system throughput provided by an embodiment of the present invention. The horizontal axis is the number of users, and the vertical axis is the throughput rate, in Mbps. FIG. 5 compares the solution proposed in the embodiment of the present invention with the SCMA-PF solution when the GBR is 256Kbps and the GBR is 316Kbps, and the system throughput of each solution under different GBR requirements is obtained.
由图5可以看出,随着用户数量的增加,本发明实施例提出的方案的系统吞吐量在不同GBR要求的情况下均有所增加。It can be seen from FIG. 5 that, with the increase of the number of users, the system throughput of the solution proposed in the embodiment of the present invention increases under different GBR requirements.
参见图6,图6为本发明实施例提供的一种分配资源公平性的对比示意图。横坐标为用户数,纵坐标为分配码本资源的公平性指标fairness index。图6在GBR为256Kbps和GBR为316Kbps的情况下,将本发明实施例提出方案与SCMA-PF方案进行对比,获得各个方案在不同GBR要求的情况下的分配资源公平性程度。Referring to FIG. 6, FIG. 6 is a schematic diagram of a comparison of fairness of resource allocation provided by an embodiment of the present invention. The abscissa is the number of users, and the ordinate is the fairness index for allocating codebook resources. FIG. 6 compares the solution proposed in the embodiment of the present invention with the SCMA-PF solution when the GBR is 256Kbps and the GBR is 316Kbps, and obtains the fairness degree of resource allocation of each solution under different GBR requirements.
由图6可知,在GBR为256Kbps时,本发明实施例提出方案的公平性下降不多;在GBR为316Kbps时,本发明实施例提出方案的公平性随着用户数量增加,下降较多,但最终还是稳定在0.9以上。It can be seen from FIG. 6 that when the GBR is 256Kbps, the fairness of the solution proposed by the embodiment of the present invention does not decrease much; when the GBR is 316Kbps, the fairness of the solution proposed by the embodiment of the present invention decreases more as the number of users increases, but In the end, it stabilized above 0.9.
参见图7,图7为本发明实施例提供的一种有效用户数的对比示意图。横坐标为用户数,纵坐标为有效用户数。Referring to FIG. 7 , FIG. 7 is a schematic diagram for comparing the number of valid users according to an embodiment of the present invention. The horizontal axis is the number of users, and the vertical axis is the number of valid users.
上述有效用户是指:在每次码本资源分配结束后,基于各个码本资源向各个终端设备传输时的实际传输速率不小于GBR的终端设备。The above-mentioned valid users refer to terminal devices whose actual transmission rate is not less than GBR when transmitting to each terminal device based on each codebook resource after each codebook resource allocation is completed.
图7在GBR为256Kbps和GBR为316Kbps的情况下,将本发明实施例提出方案与SCMA-PF方案进行对比,获得各个方案在不同GBR要求的情况下的有效用户的数量。FIG. 7 compares the solution proposed in the embodiment of the present invention with the SCMA-PF solution when the GBR is 256Kbps and the GBR is 316Kbps, and the number of valid users of each solution under different GBR requirements is obtained.
由图7可知,在GBR为256Kbps时,本发明实施例提出方案的有效用户数量可以达到最大可服务用户数量,在GBR为316Kbps时,随着用户数量的增加,本发明实施例提出方案能够使有效用户数量逐渐提高到最大可服务用户数量。It can be seen from FIG. 7 that when the GBR is 256Kbps, the number of effective users of the solution proposed by the embodiment of the present invention can reach the maximum number of serviceable users. When the GBR is 316Kbps, with the increase of the number of users, the solution proposed by the embodiment of the present invention can make The number of effective users is gradually increased to the maximum number of users that can be served.
与上述SCMA系统中的码本资源分配方法相对应,本发明实施例还提供了一种SCMA系统中的码本资源分配装置。Corresponding to the codebook resource allocation method in the SCMA system, an embodiment of the present invention further provides a codebook resource allocation apparatus in the SCMA system.
参见图8,图8为本发明实施例提供的一种SCMA系统的资源分配装置的结构示意图。上述装置包括801-805。Referring to FIG. 8, FIG. 8 is a schematic structural diagram of a resource allocation apparatus of an SCMA system according to an embodiment of the present invention. The above devices include 801-805.
信号发送模块801,用于基于子载波资源向各个终端设备发送下行参考信号,以使得各个终端设备根据接收到的下行参考信号预测基于子载波资源向各个终端设备自身传输数据时的第一传输质量信息;A
速率预测模块802,用于接收各个终端设备发送的各个第一传输质量信息,并根据接收到的第一传输质量信息,预测基于各个码本资源向各个终端设备传输数据时的第一理论传输速率,其中,所述码本资源包括至少一个子载波资源;The
优先级确定模块803,用于根据所预测的第一理论传输速率以及各个终端的历史平均传输速率,确定将各个码本资源分配给各个终端设备的优先级;a
质量信息确定模块804,用于根据所预测的第一理论传输速率以及向各个终端设备传输数据的预设最小传输速率,确定基于各个码本资源向各个终端设备传输数据时的第二传输质量信息;A quality
码本资源分配模块805,用于基于所确定的优先级以及第二传输质量信息,为各个终端设备分配码本资源。The codebook
由以上可见,应用本实施例提供的方案对SCMA系统的资源进行分配时,由于是根据所确定的优先级以及第二传输质量信息为各个终端设备分配码本资源的,而上述优先级是根据所预测的第一理论传输速率以及基于各个码本资源向各个终端设备传输数据时的历史平均传输速率进行确定的,又由于上述第一理论传输速率可以用于表示各个码本资源向各个终端设备传输数据时的传输速率,且各个终端设备的历史平均传输速率可以用于表示各个终端设备历史分配的资源情况,因此,在根据所确定的优先级确定为各个终端设备分配码本资源时,在使得各个终端设备尽可能地均可以分配到码本资源的基础上,能够提高基于所分配的码本资源向终端设备传输数据时的传输速率。因此,相较于现有技术,提高了基站为终端设备分配码本资源的效率,进而提高为终端设备所提供服务的质量。It can be seen from the above that when applying the solution provided in this embodiment to allocate the resources of the SCMA system, the codebook resources are allocated to each terminal device according to the determined priority and the second transmission quality information, and the above priority is based on The predicted first theoretical transmission rate is determined based on the historical average transmission rate when each codebook resource transmits data to each terminal device, and because the above-mentioned first theoretical transmission rate can be used to indicate that each codebook resource is transmitted to each terminal device. The transmission rate when transmitting data, and the historical average transmission rate of each terminal device can be used to represent the historical resource allocation of each terminal device. Therefore, when the codebook resources are allocated to each terminal device according to the determined priority, the On the basis that each terminal device can be allocated to the codebook resources as much as possible, the transmission rate when data is transmitted to the terminal device based on the allocated codebook resources can be improved. Therefore, compared with the prior art, the efficiency of allocating codebook resources for the terminal equipment by the base station is improved, thereby improving the quality of the service provided for the terminal equipment.
另外,由于第二传输质量信息用于表征基于各个码本资源向各个终端设备传输数据时的传输质量的,基于上述第二传输质量信息为各个终端设备分配码本资源时,能够使得基于所分配的码本资源向向终端设备提供该终端设备所请求业务的业务质量较高。因此,提高了基站为终端设备分配码本资源的效率,还使得基于所分配的码本资源向终端设备提供该终端设备业务的业务质量较高,进一步地提高了为各个终端设备提供通信服务的服务质量。In addition, since the second transmission quality information is used to represent the transmission quality when data is transmitted to each terminal device based on each codebook resource, when codebook resources are allocated to each terminal device based on the second transmission quality information, it is possible to make the allocation based on the allocated codebook resources. The codebook resources provided to the terminal equipment provide the terminal equipment with the service requested by the terminal equipment with high service quality. Therefore, the efficiency of allocating codebook resources for the terminal equipment by the base station is improved, and the service quality of the terminal equipment service provided to the terminal equipment based on the allocated codebook resources is also higher, which further improves the communication service for each terminal equipment. service quality.
本发明的一个实施例中,所述第一传输质量信息包括:至少一个子载波资源的信噪比,In an embodiment of the present invention, the first transmission quality information includes: a signal-to-noise ratio of at least one subcarrier resource,
所述速率预测模块802,包括:The
信噪比接收子模块,用于接收各个终端设备发送的各个子载波资源的信噪比;a signal-to-noise ratio receiving sub-module, configured to receive the signal-to-noise ratio of each subcarrier resource sent by each terminal device;
速率预测子模块,用于针对每一码本资源,根据接收到的该码本资源包括的各个子载波资源的信噪比,计算基于该码本资源包括的各个子载波资源向各个终端设备传输数据时的第二理论传输速率,并针对每一终端设备,在基于该码本资源包括的各个子载波资源向该终端设备传输数据时的第二理论传输速率中,采用预设的统计分析方式选择一第二理论传输速率,作为基于该码本资源向该终端设备传输数据时的第一理论传输速率。The rate prediction submodule is used for, for each codebook resource, according to the received signal-to-noise ratio of each subcarrier resource included in the codebook resource, calculate the transmission to each terminal device based on each subcarrier resource included in the codebook resource The second theoretical transmission rate when data is used, and for each terminal device, the preset statistical analysis method is used in the second theoretical transmission rate when data is transmitted to the terminal device based on each subcarrier resource included in the codebook resource. A second theoretical transmission rate is selected as the first theoretical transmission rate when transmitting data to the terminal device based on the codebook resource.
这样,由于码本资源中包括至少一个子载波资源,且针对每一码本资源,基于该码本资源包括的各个子载波资源向各个终端设备传输数据时的第二理论传输速率不相同,因此,针对每一终端设备,在该码本资源包括的各个子载波资源向该终端设备传输数据时的第二理论传输速率中,采用预设的统计分析方式选择一第二理论传输速率作为基于该码本资源向该终端设备传输数据时的第一理论传输速率,能够更加准确确定基于各个码本资源向各个终端设备传输数据时的第一理论传输速率。In this way, since the codebook resource includes at least one subcarrier resource, and for each codebook resource, the second theoretical transmission rates when transmitting data to each terminal device based on each subcarrier resource included in the codebook resource are different, so the second theoretical transmission rate is different. , for each terminal equipment, among the second theoretical transmission rates when each subcarrier resource included in the codebook resource transmits data to the terminal equipment, a preset statistical analysis method is used to select a second theoretical transmission rate as the basis for the second theoretical transmission rate. The first theoretical transmission rate when the codebook resource transmits data to the terminal device can more accurately determine the first theoretical transmission rate when data is transmitted to each terminal device based on each codebook resource.
本发明的一个实施例中,上述速率预测子模块,具体用于按照以下表达式计算第二理论传输速率:In an embodiment of the present invention, the above-mentioned rate prediction sub-module is specifically configured to calculate the second theoretical transmission rate according to the following expression:
ru,l(n)=B*log(1+SNRu,l)r u,l (n)=B*log(1+SNR u,l )
其中,u为终端设备的序号,l为子载波资源的序号,SNRu,l为基于第l个子载波资源向第u个终端设备传输数据时第l个子载波资源的信噪比,B为子载波频带宽度,n为传输时间间隔的序号,ru,l(n)为第n个传输时间间隔内基于第l个子载波资源向第u个终端设备传输数据时的第二理论传输速率。Where, u is the serial number of the terminal device, l is the serial number of the subcarrier resource, SNR u,l is the signal-to-noise ratio of the lth subcarrier resource when transmitting data to the uth terminal device based on the lth subcarrier resource, and B is the subcarrier resource. Carrier frequency bandwidth, n is the sequence number of the transmission time interval, r u,l (n) is the second theoretical transmission rate when data is transmitted to the uth terminal device based on the lth subcarrier resource in the nth transmission time interval.
本发明的一个实施例中,上述优先级确定模块,具体用于计算所预测的第一理论传输速率与各个终端设备的历史平均传输速率间的比值,按照预设的排列顺序确定所计算的比值的排列标识,将所确定的标识作为将各个码本资源分配给各个终端设备的优先级。In an embodiment of the present invention, the above-mentioned priority determination module is specifically configured to calculate the ratio between the predicted first theoretical transmission rate and the historical average transmission rate of each terminal device, and determine the calculated ratio according to a preset order. The identified identifier is used as the priority for allocating each codebook resource to each terminal device.
本发明的一个实施例中,上述质量信息确定模块,具体用于针对每一终端设备,判断基于码本资源向该终端设备传输数据时的第一理论传输速率是否小于向该终端设备传输数据的预设最小传输速率;若为是,根据终端设备的数量,预测基于码本资源向该终端设备传输数据时的第二传输质量信息;若为否,将预设传输质量信息确定为基于码本资源向该终端设备传输数据时的第二质量信息。In an embodiment of the present invention, the quality information determination module is specifically configured to, for each terminal device, determine whether the first theoretical transmission rate when transmitting data to the terminal device based on the codebook resources is smaller than the data transmission rate to the terminal device. Preset the minimum transmission rate; if yes, predict the second transmission quality information when transmitting data to the terminal device based on codebook resources according to the number of terminal devices; if no, determine the preset transmission quality information to be based on the codebook The second quality information when the resource transmits data to the terminal device.
本发明的一个实施例中,上述码本资源分配模块,具体用于针对每一终端设备,根据各个码本资源分配给该终端设备的优先级与各个码本资源向该终端设备传输数据时的第二传输质量信息,确定各个码本资源分配给该终端设备的权重;基于所确定的权重,为各个终端设备分配码本资源。In an embodiment of the present invention, the above codebook resource allocation module is specifically configured to, for each terminal device, according to the priority of each codebook resource allocated to the terminal device and the priority of each codebook resource when transmitting data to the terminal device In the second transmission quality information, the weight of each codebook resource allocated to the terminal device is determined; based on the determined weight, the codebook resource is allocated to each terminal device.
本发明的一个实施例中,上述码本资源分配模块,具体用于基于所确定的优先级以及第二传输质量信息,采用匈牙利算法为各个终端设备分配码本资源。In an embodiment of the present invention, the above codebook resource allocation module is specifically configured to use the Hungarian algorithm to allocate codebook resources to each terminal device based on the determined priority and the second transmission quality information.
这样,采用匈牙利算法为各个终端设备分配码本资源能够提高服务质量。In this way, using the Hungarian algorithm to allocate codebook resources to each terminal device can improve the quality of service.
与上述SCMA系统的资源分配方法相对应,本发明实施例还提供了一种基站。Corresponding to the resource allocation method of the SCMA system, an embodiment of the present invention further provides a base station.
参见图9,图9为本发明实施例提供的一种基站的结构示意图,包括处理器901、通信接口902、存储器903和通信总线904,其中,处理器901,通信接口902,存储器903通过通信总线904完成相互间的通信,Referring to FIG. 9, FIG. 9 is a schematic structural diagram of a base station according to an embodiment of the present invention, including a
存储器903,用于存放计算机程序;a
处理器901,用于执行存储器903上所存放的程序时,实现本发明实施例提供的一种SCMA系统的资源分配方法。The
上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral ComponentInterconnect,PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the above electronic device and other devices.
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital SignalProcessing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; may also be a digital signal processor (Digital Signal Processing, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
在本发明提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例提供的一种SCMA系统的资源分配方法。In another embodiment provided by the present invention, a computer-readable storage medium is also provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program provided by the embodiment of the present invention is implemented. A resource allocation method of SCMA system.
在本发明提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行时实现本发明实施例提供的一种SCMA系统的资源分配方法。In another embodiment provided by the present invention, there is also provided a computer program product including instructions, which, when executed on a computer, enables the computer to implement a resource allocation method for an SCMA system provided by the embodiment of the present invention .
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, Solid State Disk (SSD)), among others.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置、基站、计算机可读存储介质实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。Each embodiment in this specification is described in a related manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the apparatus, the base station, and the computer-readable storage medium, since they are basically similar to the method embodiments, the description is relatively simple. The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010349626.9A CN111586867B (en) | 2020-04-28 | 2020-04-28 | Resource allocation method and device of SCMA (sparse code multiple access) system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010349626.9A CN111586867B (en) | 2020-04-28 | 2020-04-28 | Resource allocation method and device of SCMA (sparse code multiple access) system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111586867A CN111586867A (en) | 2020-08-25 |
CN111586867B true CN111586867B (en) | 2022-04-22 |
Family
ID=72126906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010349626.9A Active CN111586867B (en) | 2020-04-28 | 2020-04-28 | Resource allocation method and device of SCMA (sparse code multiple access) system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111586867B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112596892B (en) * | 2020-11-23 | 2021-08-31 | 中标慧安信息技术股份有限公司 | Data interaction method and system of multi-node edge computing equipment |
CN114302413B (en) * | 2022-01-13 | 2024-02-23 | 北京艾灵客科技有限公司 | Base station position deployment method, base station position deployment device, computer equipment and storage medium |
CN117828389B (en) * | 2024-03-05 | 2024-06-04 | 深圳市互盟科技股份有限公司 | Distributed system monitoring method based on intelligent operation and maintenance |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106455101A (en) * | 2016-10-31 | 2017-02-22 | 中国联合网络通信集团有限公司 | Wireless resource scheduling method and apparatus |
CN110650539A (en) * | 2018-06-26 | 2020-01-03 | 北京大学 | Wireless communication downlink resource allocation method based on SCMA |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102049652B1 (en) * | 2018-02-06 | 2019-11-28 | 한국과학기술원 | Superposition transmission for uplink scma systems and codebook design thereof |
CN109768851B (en) * | 2019-01-18 | 2021-07-13 | 重庆邮电大学 | A resource allocation method based on energy efficiency in SCMA downlink system |
CN110769432B (en) * | 2019-11-29 | 2023-04-21 | 南京邮电大学 | SCMA uplink spectrum resource allocation method based on minimized interference |
-
2020
- 2020-04-28 CN CN202010349626.9A patent/CN111586867B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106455101A (en) * | 2016-10-31 | 2017-02-22 | 中国联合网络通信集团有限公司 | Wireless resource scheduling method and apparatus |
CN110650539A (en) * | 2018-06-26 | 2020-01-03 | 北京大学 | Wireless communication downlink resource allocation method based on SCMA |
Non-Patent Citations (1)
Title |
---|
A Resource Allocation Method Based on Energy Efficiency in SCMA Systems;Quan Yuan等;《IEEE》;20191219;第34-39页 * |
Also Published As
Publication number | Publication date |
---|---|
CN111586867A (en) | 2020-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111586867B (en) | Resource allocation method and device of SCMA (sparse code multiple access) system | |
JP6038348B2 (en) | Resource allocation method, apparatus and program for inter-device communication | |
US20060045047A1 (en) | Random access method in multi-cell OFDMA networks | |
KR102382913B1 (en) | Method and Apparatus for Wireless Resource Scheduling with Guaranteed QoS in Mobile Communication System | |
KR102476368B1 (en) | Integrated Dynamic Bandwidth Allocation Method and Apparatus in Passive Optical Networks | |
WO2012121751A1 (en) | Grouped machine-to-machine communications | |
CN105188151A (en) | Non-orthogonal multi-address random access method, device and system | |
TWI692989B (en) | Uplink data packet resource configuration method and user terminal | |
WO2014094310A1 (en) | Resource scheduling method and device | |
WO2014100957A1 (en) | Mocn cell communication method and device | |
CN104768197B (en) | The method and apparatus of channel selection | |
CN107333337B (en) | A random access method and device based on space grouping | |
CN108029113A (en) | communication resource distribution | |
CN110049474A (en) | A kind of wireless resource allocation methods, device and base station | |
US8718080B2 (en) | Techniques for quick access channel information loading in wireless networks | |
JP5393672B2 (en) | Wireless communication system, communication apparatus, wireless communication method, and wireless communication program | |
CN108307412A (en) | The super-intensive network interferences management method based on grouping game of user-center | |
US10440676B2 (en) | Method and apparatus for processing data | |
CN109041236A (en) | A kind of wireless resource allocation methods and device of difference weight business | |
WO2020238797A1 (en) | Data multiplexing transmission method, base station, terminal, and storage medium | |
CN110650540B (en) | Wireless resource allocation method and device | |
CN114642067A (en) | Random access method, terminal equipment and network equipment | |
CN111224761B (en) | Uplink scheduling method and device | |
JP2007267106A (en) | Base station device and radio resource allocating method | |
CN116056220A (en) | Resource unit assignment for selective fading |
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 |