Service data transmission method, device, equipment, medium and product
By establishing a joint optimization function model of service data transmission delay and transmission rate in the base station unit of the power communication network, and using the improved taboo search algorithm for subcarrier allocation, the shortage of 5G spectrum resources and security of service data caused by massive service data access by distributed power supplies is solved, and efficient and secure service data transmission is achieved.
Patent Information
- Application Number
- CN202510140041.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2025-05-27
AI Technical Summary
In the power communication network, massive service data of distributed power supplies lead to a shortage of 5G spectrum resources, and the application cost of power service data is high and the security is difficult to guarantee, which affects the coexistence of NR-U and WiFi and service data transmission.
By obtaining subcarrier information, service data sets of distributed power terminals and WiFi attribute information of WiFi nodes in the base station unit, a joint optimization function model of service data transmission delay and transmission rate is established, and calculation is performed using an improved taboo search algorithm to obtain the subcarrier allocation results of service data for transmission.
It ensures that the communication needs of distributed power services are guaranteed, the complexity of algorithms is reduced, the system performance is improved, the interference between terminals is reduced, and the communication performance is differentiated guarantee.
Smart Images

Figure CN120050662A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of communication networks, and in particular to a service data transmission method, apparatus, device, medium and product. Background Art
[0002] The massive information collection and high-frequency control instruction interaction requirements brought about by the widespread access of distributed power sources to the power grid have put forward higher requirements for the transmission rate and delay guarantee of power communication networks. Wireless communication technologies such as 5G have the characteristics of flexible access and low network construction cost. There are certain advantages in using wireless communication technologies such as 5G for the massive access of distributed power source service data. However, with the massive access of distributed power source service data to the wireless network, the limited 5G spectrum resources are becoming increasingly scarce, and the application cost of power service data is relatively high, and the security is difficult to guarantee. The authorized spectrum cost and security also restrict the widespread application in the application of power service data.
[0003] 5G NR-U is the world's first cellular communication standard that can operate independently without authorized spectrum. It can flexibly utilize unlicensed spectrum, enabling 5G networks to be deployed in unlicensed frequency bands. This allows the high performance of 5G NR-U to be extended to unlicensed spectrum. In addition, the 5G NR-U air interface technology (5G NR in Unlicensed Spectrum) network has more advantages than the power 5G virtual private network in terms of network isolation and management, and has broad application prospects in fields such as the Internet of Things in power.
[0004] However, when operating in the unlicensed frequency band, NR-U needs to ensure fair coexistence with other systems such as Wi-Fi. This includes researching and evaluating issues such as the large-concurrency and low-latency access requirements for distributed power source service data, the interference and system performance when NR-U coexists with Wi-Fi, and the communication guarantee for differential bearing of service data. Summary of the Invention
[0005] The present invention provides a service data transmission method, apparatus, device, medium and product to realize the normal transmission of service data when NR-U coexists with Wi-Fi.
[0006] According to a first aspect of the present invention, there is provided a service data transmission method, which is applied to a base station unit and includes:
[0007] Obtain subcarrier information, a service data set of distributed power source terminals, and Wi-Fi attribute information of Wi-Fi nodes sharing an unlicensed frequency band;
[0008] For each service data in the service data set, determine a joint optimization function model of the service data transmission delay and transmission rate according to the service data information of the service data and the Wi-Fi attribute information;
[0009] Based on the improved tabu search algorithm and the subcarrier information, calculate the joint optimization function model to obtain the subcarrier allocation result of the service data and perform transmission.
[0010] According to the second aspect of the present invention, there is provided a service data transmission device applied to a base station unit, including:
[0011] An information acquisition module, configured to acquire subcarrier information, a service data set of distributed power terminals, and WiFi attribute information of WiFi nodes sharing unlicensed frequency bands;
[0012] A model establishment module, configured to determine a joint optimization function model of the service data transmission delay and transmission rate for each service data in the service data set according to the service data information of the service data and the WiFi attribute information;
[0013] A data transmission module, configured to calculate the joint optimization function model based on the improved tabu search algorithm and the subcarrier information to obtain the subcarrier allocation result of the service data and perform transmission.
[0014] According to the third aspect of the present invention, there is provided an electronic device, where the electronic device includes:
[0015] At least one processor; and
[0016] A memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the service data transmission method according to any embodiment of the present invention.
[0018] According to the fourth aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the service data transmission method according to any embodiment of the present invention when executed.
[0019] According to the fifth aspect of the present invention, an embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program, and the computer program implements the service data transmission method according to any embodiment of the present invention when executed by a processor.
[0020] The technical solution of the embodiment of the present invention, by applying the method to a base station unit, includes: obtaining subcarrier information, a service data set of a distributed power terminal, and WiFi attribute information of a WiFi node sharing an unlicensed frequency band; for each service data in the service data set, determining a joint optimization function model of service data transmission delay and transmission rate according to the service data information and WiFi attribute information of the service data; calculating the joint optimization function model based on an improved tabu search algorithm and subcarrier information to obtain a subcarrier allocation result of the service data and perform transmission. By establishing a joint optimization function model under transmission delay and transmission rate, it is ensured that the communication requirements of the distributed power service are guaranteed. The improved tabu search algorithm is used for calculation to obtain the subcarrier allocation result. The algorithm complexity is reduced and repeated search is avoided, increasing the probability of finding the global optimal solution, reducing the computational complexity, improving the system performance, and providing differentiated guarantee of communication performance while minimizing interference between terminals.
[0021] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0023] Figure 1 is a flowchart of a service data transmission method provided in Embodiment 1 of the present invention;
[0024] Figure 2 is a flowchart of a service data transmission method provided in Embodiment 2 of the present invention;
[0025] Figure 3 is an example diagram of the delay compliance of control services in a service data transmission method provided in Embodiment 2 of the present invention;
[0026] Figure 4 is an example diagram of the rate of control services in a service data transmission method provided in Embodiment 2 of the present invention;
[0027] Figure 5 is a schematic structural diagram of a service data transmission device provided in Embodiment 3 of the present invention;
[0028] Figure 6It is a schematic structural diagram of the electronic device implementing the embodiments of the present invention. Detailed implementation manners
[0029] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with 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, rather than 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.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present invention described here can be implemented in an order different from those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment 1
[0032] Figure 1 A flowchart of a service data transmission method is provided for Embodiment 1 of the present invention. This embodiment is applicable to the service data transmission situation under the coexistence of NR-U and WiFi. This method can be executed by a service data transmission device, which is applied to a base station unit. The service data transmission device can be implemented in the form of hardware and / or software, and the service data transmission device can be configured in an electronic device.
[0033] As Figure 1 shown, the method includes:
[0034] S110. Obtain subcarrier information, a service data set of distributed power terminals, and WiFi attribute information of WiFi nodes sharing an unlicensed band.
[0035] In this embodiment, a subcarrier is a signal unit used for data transmission in an orthogonal frequency division multiplexing system. Each subcarrier has its own carrier frequency and is orthogonal to each other to reduce interference and improve data transmission efficiency. The number and bandwidth of subcarriers can be flexibly configured according to system requirements to adapt to different communication environments and transmission requirements. Subcarrier information can be understood as information including the bandwidth and power of different subcarriers. A distributed power terminal can be understood as a power device integrating functions such as intelligent power monitoring, remote control, communication transmission, data processing, and analysis. A service data set can be understood as a set composed of service data sent by different distributed power terminals. A shared unlicensed band can be understood as a technology that allows multiple wireless communication technologies to use the same band. In this application, 5G and WiFi share the same band. A WiFi node can be understood as a node providing WiFi communication in the shared unlicensed band. WiFi attribute information may include the number of WiFi nodes and the rate of WiFi, etc.
[0036] Specifically, the base station unit gNodeB continuously monitors the channel state of the unlicensed band and notifies all power terminals served by NR-U of the channel idle information in a broadcast manner after detecting that the channel is idle. When the service data of the distributed power arrives, the base station unit can obtain the current subcarrier information to form a service data set of the distributed power terminal and the WiFi attribute information of the WiFi nodes in the shared unlicensed band.
[0037] Exemplarily, for the convenience of understanding the access mechanism of the distributed power terminal in the unlicensed band, a specific example is presented. Figure 2 It is a schematic diagram of accessing the unlicensed band in a service data transmission method provided in Embodiment 1 of the present invention. As Figure 2 shown, at the top layer is a distributed power group regulation and control server, which is deployed in the unlicensed band through two base station units (gNodeB) in the 5G network. The user area includes 4 distributed power terminals transmitted through NR-U and 2 WiFi mobile terminal users transmitted through WiFi. When transmitting in the unlicensed band, there are two transmission methods, namely 5G new radio air interface NR-U and WiFi, and interference will occur between NR-U and WiFi.
[0038] S120. For each service data in the service data set, determine a joint optimization function model of the service data transmission delay and transmission rate according to the service data information and WiFi attribute information of the service data.
[0039] In this embodiment, the service data information may include service data packets, the types and requirements corresponding to the service, etc. The transmission delay can be understood as the time required for data to travel from the sending end to the receiving end. The transmission rate can be understood as the network rate during transmission. The joint optimization function model can be understood as a mathematical tool for minimizing or maximizing an objective function by adjusting variables under given constraints.
[0040] Specifically, for each service data in the service data set, the base station unit can first divide the priorities according to the service data information of the service data. Since NR-U adopts a CAT-4 LBT competitive access channel, different priorities will be assigned different backoff windows to divide the priorities. The deployment mode of NR-U dual connection allows the distributed power terminal to send an RTS frame through the authorized spectrum after receiving the channel idle information, avoiding collisions and improving the reliability and spectrum efficiency of communication. To avoid interference between power terminals, orthogonal frequency division multiplexing (OFDM) is used to transmit data through subcarriers. The base station unit can calculate the transmission delay and transmission rate of each service data based on different priorities and WiFi attribute information, and establish a corresponding joint optimization function model.
[0041] S130. Calculate the joint optimization function model based on the improved tabu search algorithm and subcarrier information, obtain the subcarrier allocation result of the service data, and perform transmission.
[0042] In this embodiment, the improved tabu search algorithm can be understood as a tabu search algorithm improved for the subcarrier allocation situation. The subcarrier allocation result can be understood as the subcarriers adapted to transmit the service data.
[0043] Specifically, the base station unit can first determine an initial solution from the set of idle subcarriers based on the subcarrier information according to the improved tabu search algorithm, determine candidate solutions by splitting intervals from the initial solution and substituting them into the joint optimization function model for calculation, and maintain the tabu list in the improved tabu search algorithm based on the candidate solutions until the termination condition is met. Obtain the subcarrier allocation result belonging to the service data from the tabu list, and perform service data transmission based on the subcarrier allocation result.
[0044] The technical solution of the embodiment of the present invention, by applying this method to a base station unit, includes: obtaining subcarrier information, a service data set of a distributed power terminal, and WiFi attribute information of a WiFi node sharing an unlicensed band; for each service data in the service data set, according to the service data information and WiFi attribute information of the service data, determining a joint optimization function model of the service data transmission delay and transmission rate; based on an improved tabu search algorithm and subcarrier information, calculating the joint optimization function model to obtain a subcarrier allocation result of the service data and performing transmission. By establishing a joint optimization function model under the transmission delay and transmission rate, it is ensured that the communication requirements of the distributed power service are guaranteed, and an improved tabu search algorithm is used for calculation to obtain the subcarrier allocation result. The algorithm complexity is reduced and repeated searches are avoided, increasing the probability of finding the global optimal solution, reducing the computational complexity, improving the system performance, minimizing interference between terminals, and providing differentiated communication performance guarantees at the same time.
[0045] Embodiment 2
[0046] Figure 2 The flowchart of a service data transmission method provided by the second embodiment of the present invention. This embodiment is a further refinement of the above embodiment. As Figure 2 shown, the method includes:
[0047] S201. Obtain subcarrier information, a service data set of a distributed power terminal, and WiFi attribute information of a WiFi node sharing an unlicensed band.
[0048] S202. For each service data in the service data set, according to the service data information of the service data, determine the priority to which the service data belongs and the corresponding backoff window size of the priority.
[0049] In this embodiment, the priority can be understood as a level for dividing the priority of different service data. The backoff window size can be understood as that the backoff window refers to in network communication, when two or more devices attempt to send data on the same communication medium simultaneously, in order to avoid data conflicts, the device will randomly select a time period not to send data temporarily, and this time period is called the backoff window.
[0050] Specifically, for each service data in the service data set, the base station unit can first determine the service category to which the service data belongs according to the service data information of the service data, and then further determine the service priority to which the service data belongs through the delay requirement of each service data, and determine the backoff window size corresponding to the priority based on a pre-set backoff window table.
[0051] Exemplarily, the distributed power supply services include control services and acquisition services. Among the control services, there are two types: oscillation suppression (the service data information may require a delay < 200 ms and a bandwidth requirement of 10 - 200 kbps) and island restoration (the service data information may require a delay < 50 ms and a bandwidth requirement of 10 - 200 kbps). The acquisition services include real-time energy data acquisition (the service data information may require a delay < 500 ms and a bandwidth requirement > 2 Mbps), voltage monitoring (the service data information may require a delay < 1 s and a bandwidth requirement > 100 - 500 kbps), and frequency monitoring (the service data information may require a delay < 2 s and a bandwidth requirement > 100 - 500 kbps). Specifically, the control services refer to the interaction of control instructions, which have high requirements for the real-time performance of communication; the acquisition services have a large amount of service data and high rate requirements. The service priority can be divided according to the set division criteria (such as delay or bandwidth requirements, etc.). For example, when divided according to delay, the delay corresponding to service level A is < 50 ms, the delay corresponding to service level B is < 200 ms, the delay corresponding to service level C is < 500 ms, and the delay corresponding to service level D is < 2 s. The gNodeB allocates different backoff windows for these two types of services, so as to ensure that when control services occur, the transmission of control data can be completed as best as possible first.
[0052] S203. Determine the node collision probability of the 5G New Radio in Unlicensed Spectrum (NR-U) in different situations according to the backoff window size with the highest priority level and the WiFi attribute information.
[0053] In this embodiment, different situations can be understood as different collision situations, for example, it may include the channel idle situation, the situation where only one node transmits on the channel, and the situation where collisions occur between nodes. The node collision probability can be understood as the probability of data transmission collisions occurring in different situations.
[0054] Specifically, the base station unit can first determine the access probability of each NR-U channel according to the backoff window size with the highest priority level, and secondly, combined with the WiFi attribute information, it can determine the node collision probability of the 5G New Radio in Unlicensed Spectrum NR-U in different situations.
[0055] Further, on the basis of the above embodiment, different situations include the channel idle situation, the situation where only one node transmits on the channel, and the situation where collisions occur between nodes. Correspondingly, the step of determining the node collision probability of the 5G New Radio in Unlicensed Spectrum NR-U in different situations according to the backoff window size with the highest priority level and the WiFi attribute information can be refined as:
[0056] Determine the node access probability of NR-U according to the backoff window size and backoff times with the highest priority level; determine the first node collision probability in the case of an idle channel according to the number of WiFi nodes and the node access probability in the WiFi attribute information; determine the second node collision probability in the case of only one node transmitting on the channel according to the product of the number of WiFi nodes and the node access probability; determine the third node collision probability in the case of a collision between nodes according to the first node collision probability and the second node collision probability.
[0057] In this embodiment, the backoff times can be understood as the number of time units that the device needs to wait within the backoff window. The node access probability can be understood as the probability that each NR-U accesses the network. The number of WiFi nodes can be understood as the number of WiFi nodes in the shared unlicensed band. The first node collision probability can be understood as the probability of a collision between NR-U nodes in the case of an idle channel. The second node collision probability can be understood as the probability of a collision in the case of only one node transmitting on the channel. The third node collision probability can be understood as the probability in the case of a collision between nodes.
[0058] Specifically, since NR-U uses the CAT-4 LBT-based contention method to access the channel, the backoff times K need to be considered. It can be deduced that the NR-U channel access probability is:
[0059]
[0060] Among them, represents the NR-U node access probability (the subscript a refers to access, and the superscript NRU refers to the NR-U network), refers to the collision probability (the subscript c refers to collision), refers to the contention window size with the highest priority level.
[0061] Specifically, assume that there are R Wi-Fi nodes in the unlicensed band. When multiple NR-U nodes successfully access, the probability of a collision of one NR-U node should be considered from the following three aspects, namely, an idle channel, only one node transmitting on the channel, and a collision between nodes. The node collision probabilities in these three cases are:
[0062] The first node collision probability in the case of an idle channel (the subscript i refers to idle) is:
[0063]
[0064] The second node collision probability in the case of only one node transmitting on the channel (the subscript s refers to successful transmission) is:
[0065]
[0066] The third node collision probability in the case of node - to - node collision is as follows:
[0067]
[0068] S204. Determine the total network rate of NR - U according to the probability that the spectrum is busy at any moment when sharing the unlicensed band, the packet information in the service data information, and the collision probability of each node.
[0069] In this embodiment, the total network rate can be understood as the total transmission rate of the NR - U network. The packet information can be understood as information such as the length of the data packet to be transmitted. The probability that the spectrum is busy at any moment when sharing the unlicensed band can be understood as the probability that the spectrum in the unlicensed band is in a busy state at any time, and can be set according to requirements, for example.
[0070] Specifically, the base station unit can determine the total network rate of NR - U based on the probability that the spectrum is busy at any moment when sharing the unlicensed band, the packet information in the service data information, and the collision probability of each node.
[0071] Exemplarily, the total network rate can be determined by the following formula:
[0072]
[0073] where P bs,co represents the probability that the spectrum is busy at any moment when sharing the unlicensed band, T s , T c and σ respectively represent the successful transmission time, the collision time, and the spectrum idle time, E[P] represents the length of the distributed power service data packet, T nru (t) represents the total duration of successful data transmission of NR - U, represents the probability of successful transmission of the WiFi node in any time slot.
[0074] S205. Determine the total transmission delay of the service data according to the collision probability of each node, the packet information, and the sub - carrier information.
[0075] Further, based on the above - mentioned embodiment, the step of determining the total transmission delay of the service data according to the collision probability of each node, the packet information, and the sub - carrier information can be refined as follows:
[0076] Determine the waiting - for - transmission delay according to the node collision probability in the case of node - to - node collision and the response time of the distributed power terminal; determine the transmission - process delay according to the packet information and the sub - carrier information; determine the total transmission delay of the service data according to the waiting - for - transmission delay and the transmission - process delay.
[0077] In this embodiment, the response time can be understood as the time from when the base station unit sends out the channel idle signal to when the distributed power terminal responds. The waiting transmission delay can be understood as the time delay required for waiting to perform transmission. The transmission process delay can be understood as the time delay during the transmission process from the start to the end of the transmission. The total transmission delay can be understood as the time delay required during the entire transmission process.
[0078] Specifically, considering the control service delay problem, it is necessary to start from two stages, namely the waiting transmission stage and the transmission stage. In the waiting transmission stage, assuming that collisions have occurred in the previous n - 1 times, but the nth access is successful, then the waiting transmission delay T wait is:
[0079]
[0080] where T 0 represents the response time from when the base station unit sends out the channel idle signal to when the terminal responds.
[0081] Specifically, the base station unit can determine the transmission rate based on the sub - carrier information and jointly determine the transmission process delay in combination with the packet length in the packet information. It can be deduced that the transmission process delay T trans is:
[0082]
[0083] where represents the rate of the distributed power terminal r and can be expressed as:
[0084]
[0085] where B i represents the bandwidth of the ith sub - carrier, σ 2 represents the power of additive white Gaussian noise (AWGN) on a single sub - carrier, F(m, i) represents the power of the power terminal on the ith sub - carrier, d(m, i) represents the path loss on the ith sub - carrier, and h(m, i) represents the Rayleigh fading on the ith sub - carrier. Thus, the transmission process delay can be expressed by the following formula:
[0086]
[0087] In summary, the total delay is the sum of the waiting delay and the transmission delay, that is:
[0088] T total = T wait + T trans
[0089] S206. Determine the joint optimization function of the joint optimization function model of service data according to the total transmission delay, the total network rate, and the preset reward factor set.
[0090] In this embodiment, the preset reward factor set may include a rate reward factor and a delay reward factor, which are used to balance the proportion between the two and can be set according to requirements. The joint optimization function can be understood as a function that maximizes a specific objective by adjusting the values of input variables under given constraint conditions.
[0091] Specifically, the base station unit can determine the rate ratio corresponding to each NR-U according to the total network rate, and then balance the total transmission delay and the rate ratio corresponding to each NR-U through the preset reward factor set to determine the joint optimization function of the joint optimization function model of service data.
[0092] Exemplarily, for service data S NRU the joint optimization function f NRU (S NRU ) can be expressed as:
[0093]
[0094] where α t , α v are the rate reward factor and the delay reward factor respectively, and U NRU represents the number of users in the NR-U network. In the optimization model, the rate should be maximized and the delay should be minimized. Since the rate unit is Mbit / s and the delay unit is ms, in order to unify the time unit, α s = 1, α t = -0.001.
[0095] S207. Determine the constraint conditions of the joint optimization function model according to the total network rate, the total transmission delay, the minimum rate requirement in the WiFi attribute information, and the total number of users in the shared unlicensed band.
[0096] In this embodiment, the constraint conditions can be understood as the key factors that determine the acceptable solutions in the optimization problem. They are a series of rules imposed on the decision variables to ensure that the solution not only optimizes the objective function but also meets specific requirements or limitations. The minimum rate requirement can be understood as the minimum rate used to limit WiFi users. The total number of users can be understood as the sum of the number of users in the NR-U network and the number of users in the WiFi network in the shared network.
[0097] Specifically, while optimizing the rate and latency of NR-U users, the experience of Wi-Fi users should also be taken into account. The rate of Wi-Fi users in a self-built power private network should not be less than the rate when there are only Wi-Fi users in the network. Therefore, Wi-Fi users should not be excluded when considering the communication performance of distributed power services. The base station unit can determine the constraint conditions of the joint optimization function model according to the total network rate, total transmission latency, the minimum rate requirement in the Wi-Fi attribute information, and the total number of users under the shared unlicensed band.
[0098] Exemplarily, the constraint conditions may include:
[0099]
[0100] S w <S net
[0101] Where S net is the total number of users in the coexistence network, S w represents the number of users in the Wi-Fi network, and V w represents the data transmission rate of Wi-Fi users. It represents the minimum average rate requirement V w,min that needs to be guaranteed for Wi-Fi STAs.
[0102] Exemplarily, for different types of services, the corresponding requirements are different. For control services, the carrier with the optimal joint optimization function will be selected; for collection services, on the basis of meeting their communication requirements, the subcarrier with the minimum joint optimization function will be selected. Specifically, it is shown in the following formula:
[0103] K = 0
[0104]
[0105] Where K represents that the backoff counter is 0, means that when dealing with control services, among the optional subcarriers, the subcarrier that can provide the lowest latency and the highest rate should be selected. means that for collection services, while meeting the communication requirements of collection services, the subcarrier with the lowest occupied network resources should be selected for data transmission.
[0106] In summary, combined with the Physical-layer based dynamicspectrum access (PBDSA) model, the joint optimization function model can be expressed as:
[0107]
[0108] S w<S net
[0109] T total <T m , m ∈ S NRU
[0110]
[0111] Among them, the first formula is the joint optimization function, and the rest are all constraint conditions, where T total <T m , m ∈ S NRU indicates that different distributed power supply services need to be transmitted successfully within the minimum delay; is the constraint for the base station unit to allocate OFDM subcarriers to the NR-U network.
[0112] S208. Determine the candidate set according to the subcarrier information and the idle subcarriers, and use it as the initial solution of the improved tabu search algorithm.
[0113] In this embodiment, the idle subcarriers can be understood as the subcarriers without current transmission tasks. The candidate set can be understood as the set of candidate subcarriers. The initial solution can be understood as the first selected solution.
[0114] Specifically, the base station unit can screen out the candidate carrier set from the idle subcarriers according to the different service requirements of each service data. The subcarriers in the candidate set are sorted in ascending order according to the number of services carried to form the candidate set N H , and select the middle value S mid as the initial solution.
[0115] S209. Update the tabu list of the improved tabu search algorithm according to the joint optimization function model and the candidate set.
[0116] In this embodiment, the tabu list can be understood as the tabu list in the tabu search algorithm, which is used to store (remember) the tabu objects.
[0117] Specifically, the base station unit can input the initial solution into the joint optimization function to determine whether the initial solution meets the constraint conditions, and then determine whether it is used as a candidate solution. By each candidate solution, the candidate set is divided into two intervals to generate a neighborhood and search for candidate solutions. Compare the candidate solution with the current optimal solution. If it is better than the optimal solution, replace it, and then update the tabu list based on the current optimal solution.
[0118] Furthermore, on the basis of the above embodiment, the step of updating the tabu list of the improved tabu search algorithm according to the joint optimization function model and the candidate set can be refined as:
[0119] Split the candidate set into two intervals, search using the two intervals as neighborhoods, and determine the mid-values of each interval; judge the mid-values of each interval according to the joint optimization function model to determine candidate solutions and generate a candidate solution set; use the neighborhood boundaries generated by the candidate solutions as the boundaries of another candidate solution or candidate solution set; compare the candidate solution set with the optimal solution in the tabu list of the improved tabu search algorithm, and update the tabu list according to the comparison result.
[0120] In this embodiment, an interval can be understood as different intervals divided by candidate solutions. A neighborhood can be understood as the set of all solutions obtained by probing from the current solution in a series of specific search directions. A candidate solution can be understood as a solution that satisfies the joint optimization function model in the current search. A candidate solution set can be understood as a set composed of candidate sets respectively determined by two intervals. The optimal solution can be understood as the optimal solution determined in the previous search. The comparison result can be understood as the result of the currently compared optimal solution.
[0121] Specifically, each candidate solution can divide the candidate set into two intervals, use these two intervals as neighborhoods for search, substitute the mid-values of these two intervals into the joint optimization function (objective function) of the joint optimization function model respectively. If the constraint conditions are satisfied, it is used as a candidate solution. To avoid repeated search, the neighborhood boundary generated by each candidate solution is the boundary of another candidate solution or candidate set. Compare the candidate solution with the optimal solution to obtain a comparison result. If the comparison result shows that the candidate solution is better than the optimal solution, replace the candidate solution with the optimal solution and add the previous optimal solution to the tabu list. If the comparison result shows that the candidate solution is less than the optimal solution, add the candidate solution to the tabu list. Assume that the subcarrier serial number represented by the solution selected into the tabu list is i. In N H no neighborhood can be generated in the interval below i.
[0122] S210. When the termination condition is satisfied, determine the subcarrier allocation result of the service data according to the service data type to which the service data belongs and the tabu list.
[0123] In this embodiment, the termination condition can be understood as the condition for ending the improved tabu search algorithm. For example, it can be that when there are only two values or one value in the searched neighborhood interval, perform the last search and end after the search. The service data type can include collection services and control services.
[0124] Specifically, when the determined neighborhood interval satisfies the termination condition, the base station unit can determine the subcarrier selection method corresponding to its type in the joint optimization function model according to the service data type to which the service data belongs (that is, the two types of subcarrier schemes corresponding to the examples in step S207), and determine the subcarrier allocation result of the service data through the optimal solution recorded in the tabu list.
[0125] The technical solution of the embodiment of the present invention divides by the category of service data, determines the priorities of different service data, provides different allocation strategies for different distributed power services, and provides a best-effort service for control services with high requirements for communication real-time and certainty; for collection services with relatively low latency requirements but dense service quantities, it can meet their minimum requirements, provides differential guarantees for distributed power services, and optimizes the usage efficiency of wireless network spectrum resources. By calculating the transmission delay and transmission rate to establish a joint function, it ensures that the communication requirements of distributed power services are guaranteed. The subcarrier selection algorithm based on tabu search is adopted to reduce the algorithm complexity and avoid repeated searches to increase the probability of finding the global optimal solution, reduce the computational complexity, and improve the system performance. By greatly expanding the access frequency range of the 5G network, while guaranteeing the communication requirements of distributed power services, it effectively improves the network load capacity and the concurrent access quantity of distributed power services.
[0126] Exemplarily, in order to better determine the effect of this method, a specific example is used to show the latency effect. Figure 3 This is a diagram showing the latency compliance example of the control service in a service data transmission method provided in the second embodiment of the present invention. As Figure 3 shown, for comparison, the commonly used NOPB-DSA allocation method in the prior art is used as the comparison. NOPB-DSA refers to the application of combining dynamic spectrum access in the unlicensed band. This method is represented by PBDSA. It can be seen from the figure that the latency qualification rate of this method is higher than that of the comparison method. Although the qualification rate decreases with the increase in the number of control services, it is still better than the comparison method.
[0127] Exemplarily, in order to better determine the effect of this method, a specific example is used to show the rate effect. Figure 4 This is a diagram showing the rate example of the control service in a service data transmission method provided in the second embodiment of the present invention. As Figure 4 shown, three existing allocation methods are used as the comparison, namely NOPB-DSA, average value allocation, and random allocation. It can be seen that under the category of control services, the total rate of this method is also higher than the other three methods.
[0128] Embodiment Three
[0129] Figure 5 This is a schematic structural diagram of a service data transmission device provided in the third embodiment of the present invention. As Figure 5 shown, the device includes: an information acquisition module 51, a model establishment module 52, and a data transmission module 53.
[0130] An information acquisition module 51, configured to acquire subcarrier information, a service data set of a distributed power terminal, and WiFi attribute information of a WiFi node sharing an unlicensed band;
[0131] A model establishment module 52, configured to determine a joint optimization function model of the service data transmission delay and transmission rate for each service data in the service data set according to the service data information of the service data and the WiFi attribute information;
[0132] A data transmission module 53, configured to calculate the joint optimization function model based on an improved tabu search algorithm and the subcarrier information, obtain a subcarrier allocation result of the service data, and perform transmission.
[0133] The technical solution of the embodiment of the present invention, by applying this method to a base station unit, includes: acquiring subcarrier information, a service data set of a distributed power terminal, and WiFi attribute information of a WiFi node sharing an unlicensed band; for each service data in the service data set, determining a joint optimization function model of the service data transmission delay and transmission rate according to the service data information of the service data and the WiFi attribute information; calculating the joint optimization function model based on an improved tabu search algorithm and the subcarrier information, obtaining a subcarrier allocation result of the service data, and performing transmission. By establishing a joint optimization function model under transmission delay and transmission rate, it is ensured that the communication requirements of the distributed power service are guaranteed. The improved tabu search algorithm is used for calculation to obtain the subcarrier allocation result. The algorithm complexity is reduced and repeated search is avoided, increasing the probability of finding the global optimal solution, reducing the computational complexity, improving the system performance, minimizing the interference between terminals, and providing differential guarantee for communication performance at the same time.
[0134] Further, the model establishment module 53 includes:
[0135] A first determination unit, configured to determine the priority to which the service data belongs and the backoff window size corresponding to the priority according to the service data information of the service data;
[0136] A second determination unit, configured to determine the node collision probability of the 5G new radio air interface NR-U in different cases according to the backoff window size with the highest priority level and the WiFi attribute information;
[0137] A third determination unit, configured to determine the total network rate of the NR-U according to the probability that the spectrum in the shared unlicensed band is busy at any time, the packet information in the service data information, and each node collision probability;
[0138] A fourth determination unit, configured to determine the total transmission delay of the service data according to each of the node collision probabilities, the data packet information, and the subcarrier information;
[0139] A fifth determination unit, configured to determine the joint optimization function of the joint optimization function model of the service data according to the total transmission delay, the total network rate, and a preset reward factor set;
[0140] A sixth determination unit, configured to determine the constraint conditions of the joint optimization function model according to the total network rate, the total transmission delay, the minimum rate requirement in the WiFi attribute information, and the total number of users in the shared unlicensed band.
[0141] Wherein, the different situations include a channel idle situation, a situation where only one node transmits on the channel, and a situation where collisions occur between nodes. Correspondingly, the second determination unit is specifically configured to:
[0142] Determine the node access probability of NR-U according to the backoff window size and the number of backoff times with the highest priority level;
[0143] Determine the first node collision probability in the channel idle situation according to the number of WiFi nodes in the WiFi attribute information and the node access probability;
[0144] Determine the second node collision probability in the situation where only one node transmits on the channel according to the product of the number of WiFi nodes and the node access probability;
[0145] Determine the third node collision probability in the situation where collisions occur between nodes according to the first node collision probability and the second node collision probability.
[0146] Wherein, the fourth transmission unit is specifically configured to:
[0147] Determine the waiting transmission delay according to the node collision probability in the situation where collisions occur between nodes and the response time of the distributed power terminal;
[0148] Determine the transmission process delay according to the data packet information and the subcarrier information;
[0149] Determine the total transmission delay of the service data according to the waiting transmission delay and the transmission process delay.
[0150] Further, the data transmission module 53 includes:
[0151] A seventh determination unit, configured to determine a candidate set according to the subcarrier information and the idle subcarriers, and use it as the initial solution of the improved tabu search algorithm;
[0152] An eighth determination unit, configured to update the tabu list of the improved tabu search algorithm according to the joint optimization function model and the candidate set;
[0153] A ninth determination unit, configured to determine a subcarrier allocation result of the service data according to the service data type to which the service data belongs and the tabu list when a termination condition is met.
[0154] Wherein, the eighth determination unit is specifically configured to:
[0155] Split the candidate set into two intervals, search with the two intervals as neighborhoods, and determine the intermediate value of each interval;
[0156] Judge each intermediate value of the interval according to the joint optimization function model, determine candidate solutions and generate a candidate solution set;
[0157] Take the domain boundary generated by the candidate solution as the boundary of another candidate solution or the candidate solution set;
[0158] Compare the candidate solution set with the optimal solution in the tabu list of the improved tabu search algorithm, and update the tabu list according to the comparison result.
[0159] The service data transmission device provided by the embodiments of the present invention can execute the service data transmission method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
[0160] Embodiment 4
[0161] Figure 6 FIG. shows a schematic structural diagram of an electronic device 60 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device (such as a helmet, glasses, a watch, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0162] As Figure 6As shown, the electronic device 60 includes at least one processor 61 and a memory communicatively connected to the at least one processor 61, such as a read-only memory (ROM) 62, a random access memory (RAM) 63, etc. The memory stores a computer program executable by the at least one processor. The processor 61 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 62 or the computer program loaded from the storage unit 68 into the random access memory (RAM) 63. In the RAM 63, various programs and data required for the operation of the electronic device 60 can also be stored. The processor 61, the ROM 62, and the RAM 63 are connected to each other via a bus 64. An input / output (I / O) interface 65 is also connected to the bus 64.
[0163] Multiple components in the electronic device 60 are connected to the I / O interface 65, including: an input unit 66, such as a keyboard, a mouse, etc.; an output unit 67, such as various types of displays, speakers, etc.; a storage unit 68, such as a magnetic disk, an optical disc, etc.; and a communication unit 69, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 69 allows the electronic device 60 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0164] The processor 61 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 61 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 61 executes the various methods and processes described above, such as the business data transmission method.
[0165] In some embodiments, the business data transmission method can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 68. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 60 via the ROM 62 and / or the communication unit 69. When the computer program is loaded into the RAM 63 and executed by the processor 61, one or more steps of the business data transmission method described above can be executed. Alternatively, in other embodiments, the processor 61 can be configured to execute the business data transmission method by any other appropriate means (e.g., by means of firmware).
[0166] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems-on-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from a storage system, at least one input device, and at least one output device, and transmits the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0167] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, a special purpose computer, or other programmable data processing device, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on the remote machine or server.
[0168] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0169] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).
[0170] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0171] The computing system can include a client and a server. The client and the server are generally far from each other and typically interact through a communication network. The client-server relationship is created by computer programs that run on the respective computers and have a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business data scalability existing in traditional physical hosts and VPS services.
[0172] In one embodiment, the embodiment of the present invention further includes a computer program product, which includes a computer program that, when executed by a processor, implements the business data transmission method of any embodiment of the present invention.
[0173] In the process of implementing a computer program product, computer program code for performing the operations of the present invention may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network - including a local area network (LAN) or a wide area network (WAN) - or, alternatively, may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0174] It should be understood that the various forms of the processes shown above may be used, steps may be reordered, added or deleted. For example, the steps recited in the present invention may be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.
[0175] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for transmitting business data, characterized in that: Applicable to base station units, including: Obtain subcarrier information, a service data set of a distributed power supply terminal, and WiFi attribute information of WiFi nodes sharing an unlicensed frequency band; For each service data in the service data set, determining a joint optimization function model of the service data transmission delay and the transmission rate according to the service data information of the service data and the WiFi attribute information; The joint optimization function model is calculated based on the improved tabu search algorithm and the subcarrier information to obtain the subcarrier allocation result of the service data and transmit it.
2. The method according to claim 1, characterized in that The determining, according to the service data information of the service data and the WiFi attribute information, a joint optimization function model of the service data transmission delay and the transmission rate includes: Determining, according to the service data information of the service data, the priority level of the service data and the backoff window size corresponding to the priority level; Determine the node collision probability of the 5G new wireless air interface NR-U under different circumstances according to the backoff window size with the highest priority level and the WiFi attribute information; Determine the total network rate of the NR-U according to the probability that the spectrum is busy at any time when the shared unlicensed frequency band is used, the data packet information in the service data information, and the collision probability of each of the nodes; Determining a total transmission delay of the service data according to the collision probability of each node, the data packet information and the subcarrier information; Determining a joint optimization function of a joint optimization function model of the service data according to the total transmission delay, the total network rate and a preset reward factor set; The constraints of the joint optimization function model are determined according to the total network rate, the total transmission delay, the minimum rate requirement in the WiFi attribute information, and the total number of users in the shared unlicensed frequency band.
3. The method according to claim 2, characterized in that The different situations include a channel idle situation, a channel with only one node transmitting, and a collision situation between nodes. Accordingly, the node collision probability of the 5G new wireless air interface NR-U in different situations is determined according to the backoff window size with the highest priority level and the WiFi attribute information, including: Determine the access probability of the NR-U node based on the backoff window size and backoff times with the highest priority level; Determine the first node collision probability when the channel is idle according to the number of WiFi nodes in the WiFi attribute information and the node access probability; Determine, according to the product of the number of WiFi nodes and the node access probability, a second node collision probability when only one node transmits on the channel; A third node collision probability when a collision occurs between the nodes is determined according to the first node collision probability and the second node collision probability.
4. The method according to claim 2, characterized in that: The determining the total transmission delay of the service data according to the collision probability of each node, the data packet information and the subcarrier information includes: Determine the waiting transmission delay according to the node collision probability when a collision occurs between nodes and the response time of the distributed power supply terminal; Determine a transmission process delay according to the data packet information and the subcarrier information; The total transmission delay of the service data is determined according to the waiting transmission delay and the transmission process delay.
5. The method according to claim 1, characterized in that: The calculating the joint optimization function model based on the improved tabu search algorithm and the subcarrier information to obtain the subcarrier allocation result of the service data includes: According to the subcarrier information and idle subcarriers, a candidate set is determined and used as an initial solution of an improved tabu search algorithm; updating the taboo table of the improved taboo search algorithm according to the joint optimization function model and the candidate set; When the termination condition is met, the subcarrier allocation result of the service data is determined according to the type of service data to which the service data belongs and the taboo table.
6. The method according to claim 5, characterized in that The updating of the taboo table of the improved taboo search algorithm according to the joint optimization function model and the candidate set includes: Splitting the candidate set into two intervals, searching the two intervals as neighborhoods, and determining the middle value of each interval; Judging the intermediate values of each of the intervals according to the joint optimization function model, determining a candidate solution and generating a candidate solution set; Using the boundary of the domain generated by the candidate solution as the boundary of another candidate solution or the set of candidate solutions; The candidate solution set is compared with the optimal solution in the taboo table of the improved taboo search algorithm, and the taboo table is updated according to the comparison result.
7. A service data transmission device, characterized in that: Applicable to base station units, including: An information acquisition module, used to acquire subcarrier information, a service data set of a distributed power supply terminal, and WiFi attribute information of WiFi nodes sharing an unlicensed frequency band; A model building module, used for determining, for each service data in the service data set, a joint optimization function model of the service data transmission delay and the transmission rate according to the service data information of the service data and the WiFi attribute information; The data transmission module is used to calculate the joint optimization function model based on the improved tabu search algorithm and the subcarrier information, obtain the subcarrier allocation result of the service data and transmit it.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the service data transmission method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the service data transmission method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the service data transmission method according to any one of claims 1 to 6 is implemented.