Multi-factor vertical switching method and system for distribution network service
Through the multi-factor vertical switching method, the Q network is used to optimize the network switching decision of the power business, solving the problems of frequent user switching and unstable communication quality, and achieving stable and efficient communication of the power business.
Patent Information
- Application Number
- CN202410761457.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-23
AI Technical Summary
With a high proportion of distributed new energy being connected to the power distribution communication network, traditional communication methods cannot meet the security and reliability needs of smart power distribution services, especially unnecessary handovers and handover failures caused by frequent user switching, and Existing algorithms fail to effectively optimize the handover process, resulting in unstable communication quality.
Using a multi-factor vertical handover method, by obtaining network handover decision attribute information, service type and user preference information, using the pre-trained Q network for processing, selecting the network with the largest Q value for handover, and dynamically adjusting resource allocation to minimize system costs Turn it into a goal to optimize switching decisions.
It effectively improves network throughput, reduces the number of switching times, ensures the stable operation of power services, avoids frequent network switching and congestion problems, and improves user experience.
Smart Images

Figure CN118540755A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power business communication, and in particular to a multi-factor vertical switching method and system for distribution network business. Background Art
[0002] With the high proportion of distributed renewable energy connected to the distribution communication network, the power business requirements and network environment have become more diverse and complex. A single communication method cannot fully meet the security and reliability requirements of smart distribution business. The management and control of distributed renewable energy requires the introduction of complex heterogeneous communication networks to take into account the bandwidth, latency and reliability requirements of multiple services.
[0003] Since different power services have different communication requirements in different operating states and operating periods, the traditional standard communication scheme can no longer meet the dynamic changes in the communication requirements of power terminals, and the communication network needs to be changed intelligently to meet different network requirements. Therefore, research on the adaptation of distribution network power communication services to heterogeneous networks has become an inevitable trend. Most of the switching management technologies of traditional base stations are optimized to reduce the terminal switching time. In fact, due to the increasingly dense distribution of distribution network power terminals and the need to consider the impact of user mobility, the switching management of distribution network business communication networks should consider the problems caused by the frequent switching of users. Unnecessary switching and ping-pong switching are the main reasons for frequent user switching. On the other hand, with the complexity of the network topology in the distribution network communication network and the increase in interference between different services, the possibility of switching failure is also greatly increased.
[0004] In the current power system, heterogeneous networks are composed of various types of communication networks. Various networks integrate, complement and promote each other, so they can meet diverse business needs while providing network connections. At present, domestic and foreign research has been conducted on the problems of frequent switching, network congestion and unstable user service quality in heterogeneous networks, and some results have been achieved. The network selection algorithm based on the decision function comprehensively considers network characteristics, user needs and terminal status. The decision algorithm only judges the instantaneous state of the network without analyzing the user movement trend. The randomness of the user's movement trajectory can easily cause the base station to blindly initiate switching, and the excessive switching (ping-pong effect) caused by this will affect the user experience.
[0005] The research on vertical handover decision mechanism is mainly to make a comprehensive judgment in the coverage network of the terminal area according to the different conditions and characteristics of the network, taking into account the different requirements of current services and users for network parameters. A handover prediction mechanism can estimate the throughput of different candidate access networks after the handover is executed. However, the complex iterative algorithm used in the prediction algorithm reduces the performance of the handover. Although the use of deep learning to predict the user's trajectory reduces the complexity of the algorithm, when designing the handover process, the handover interruption time and the user's QoS are not considered. Most of the above existing algorithms process the user's parameters and then prepare the handover resources in advance, without optimizing the specific handover process. When the communication quality is poor, the measurement data report and handover instruction may still be lost. It can only be decided whether to switch and when to switch based on the uploaded data, which will bring great delay and interference problems to both the base station and the user. Summary of the invention
[0006] The object of the present invention is to provide a multi-factor vertical switching method and system for distribution network services to solve at least one technical problem existing in the above-mentioned background technology.
[0007] In order to achieve the above object, the present invention adopts the following technical solutions:
[0008] In a first aspect, the present invention provides a multi-factor vertical switching method for distribution network services, characterized in that it includes:
[0009] Obtaining network switching decision attribute information, service type and user preference information; Obtaining network switching decision attribute information including received signal strength, bandwidth, delay, network cost and terminal energy consumption;
[0010] Using a pre-trained Q network, the obtained network switching decision attribute information, service type and user preference information are processed to obtain a candidate network Q value; training the Q network includes: taking the network state and decision action as input, taking the minimum system cost as the goal, taking the current state as input corresponding to all possible actions, and outputting the Q value by adjusting the weight;
[0011] The network with the largest Q value is selected as the optimal target network for switching.
[0012] Furthermore, it is assumed that there are M candidate networks in the heterogeneous wireless network area, denoted as N = {1, 2, ..., M}; in the area composed of M wireless networks, the mobile terminal device needs to make a switching decision after a certain period of time, the decision time interval is τ, and the decision time sequence is T = {1, 2, ..., t, ..., T}, where t Nis the time when the connection is terminated, that is, the service ends; at each decision moment, the user can only choose one network to access, and the network state of the mobile terminal is determined by the QoS parameters provided by each candidate network, which can be represented by a multidimensional vector; four communication parameters are selected to represent the network state, namely, the available received signal strength RSS, bandwidth B, delay D and terminal energy consumption E, and the network state is:
[0013] s=[RSS1,B1,D1,E1,RSS2,B2,D2,E2,...,RSS M ,B M ,D M ,E M ,n,k];
[0014] Among them, D i represents the delay of candidate network i, B i represents the available bandwidth of candidate network i, E i represents the bit error rate of candidate network i; n represents the network to which the terminal user is currently connected, n∈{0,1,2,...,M}, and the value of n is 0 only at the beginning of the connection, i.e., at time t=t0, indicating that it has not yet connected to any wireless network; k represents the service type of the arriving service, k∈{0,1,2,3,4}, indicating that the services arriving at the terminal are medium-voltage control services, low-voltage control services, narrowband acquisition services, and broadband image and video services, respectively;
[0015] The decision action selects the access network of the service according to the Q value, and then dynamically adjusts the allocated resources. The set of all selectable switching action spaces at time t is defined as a = {a|a∈{1,2,…,M}}.
[0016] Furthermore, the optimization goal is to minimize the system cost, which is negatively correlated with the optimization goal, that is, according to the actions performed, if the system minimizes the system cost, the agent receives a positive reward, otherwise it receives a negative reward; the cumulative reward is maximized through exploration and updating, thereby obtaining the best operation;
[0017] The reward function of the system is:
[0018]
[0019] The long-term cumulative reward of the system is defined as:
[0020]
[0021] γ∈[0,1] is the discount rate, which is a factor that reflects the impact of subsequent state rewards on the current value. The future reward effect is determined by selecting access to different networks. The smaller the value of γ, the greater the impact of the current reward on the value.
[0022] Furthermore, in order to obtain the maximum total network score average, it is necessary to choose a suitable network access selection scheme to maximize future cumulative rewards:
[0023]
[0024] Q π (s,a) is the action value function, which represents the cumulative expectation of taking action a in state s, expressed as:
[0025]
[0026] Q * (s,a) is the optimal value function, which recursively obtains information (s,a,r,s',a') and updates it according to the following formula:
[0027]
[0028] where α∈[0,1] is the learning rate.
[0029] Furthermore, the system cost includes delay overhead and energy overhead;
[0030] System latency costs include local computing latency costs of devices. and MEC computing latency cost overhead
[0031]
[0032] The delay cost of the system processing u in time slot t is:
[0033]
[0034] The system energy cost includes the device local computing energy cost Calculate energy cost with MEC
[0035]
[0036] The energy cost of the system processing u in time slot t is:
[0037]
[0038] In summary, the total cost of the optimal target network calculated by the system for time slot t is expressed as:
[0039]
[0040] Furthermore, local computing delay, local computing energy consumption, MEC computing service delay and MEC computing energy consumption are considered as system cost overhead. Local computing delay and local computing energy consumption are respectively the time and energy consumed by the terminal to screen nearby networks according to the threshold; MEC computing delay includes: transmission delay and MEC server computing delay; MEC computing energy consumption only considers the energy consumption of the terminal device, that is, the energy consumed by uploading the collected service type, user preference information and candidate network list judgment attribute information to the MEC server.
[0041] In a second aspect, the present invention provides a multi-factor vertical switching system for distribution network services, comprising:
[0042] An acquisition module is used to acquire network switching decision attribute information, service type and user preference information; the acquired network switching decision attribute information includes received signal strength, bandwidth, delay, network cost and terminal energy consumption;
[0043] The calculation module is used to process the obtained network switching decision attribute information, service type and user preference information using a pre-trained Q network to obtain a candidate network Q value; training the Q network includes: taking the network state and decision action as input, taking the minimum system cost as the goal, taking the current state as input corresponding to all possible actions, and outputting the Q value by adjusting the weight;
[0044] The switching module is used to select the network with the largest Q value as the optimal target network for switching.
[0045] In a third aspect, the present invention provides a non-transitory computer-readable storage medium, which is used to store computer instructions. When the computer instructions are executed by a processor, the multi-factor vertical switching method for distribution network services as described in the first aspect is implemented.
[0046] In a fourth aspect, the present invention provides a computer device comprising a memory and a processor, wherein the processor and the memory communicate with each other, the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the multi-factor vertical switching method for distribution network services as described in the first aspect.
[0047] In a fifth aspect, the present invention provides an electronic device, comprising: a processor, a memory and a computer program; wherein the processor is connected to the memory, the computer program is stored in the memory, and when the electronic device is running, the processor executes the computer program stored in the memory so that the electronic device executes instructions for implementing the multi-factor vertical switching method for distribution network services as described in the first aspect.
[0048] The beneficial effects of the present invention are as follows: by using the hierarchical analysis method to model the service weight value, comprehensively considering the service type, terminal mobility, network load conditions and other states, and selecting the appropriate network for switching according to the network state value, the network throughput can be effectively improved and the number of switching times can be reduced, thereby ensuring the stable operation of the power business and avoiding the problems of frequent network switching and congestion.
[0049] Additional advantages of the present invention will be more clearly given in the following description or learned through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0051] Figure 1 This is a scenario diagram of a heterogeneous network system described in an embodiment of the present invention.
[0052] Figure 2 This is a schematic diagram of the AHP-based structural model described in an embodiment of the present invention.
[0053] Figure 3 This is a flow chart of the Q network training method described in an embodiment of the present invention.
[0054] Figure 4 This is a flow chart of a DQN-based vertical switching method according to an embodiment of the present invention.
[0055] Figure 5 A schematic diagram of a system simulation scenario according to an embodiment of the present invention.
[0056] Figure 6 A schematic diagram of network throughput comparison according to an embodiment of the present invention.
[0057] Figure 7 It is a schematic diagram of comparing the number of switching times according to an embodiment of the present invention. DETAILED DESCRIPTION
[0058] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below by the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0059] It should be understood by those skilled in the art that unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art to which this invention belongs.
[0060] It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have a meaning consistent with that in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless as defined herein.
[0061] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements and / or groups thereof.
[0062] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. Different embodiments or examples described in this specification and features of different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
[0063] To facilitate understanding of the present invention, the present invention is further explained below with reference to specific embodiments in conjunction with the accompanying drawings, and the specific embodiments do not constitute a limitation on the embodiments of the present invention.
[0064] Those skilled in the art should understand that the drawings are merely schematic diagrams of embodiments, and the components in the drawings are not necessarily necessary for implementing the present invention.
[0065] The present invention mainly studies the problem of vertical switching of heterogeneous networks in new power systems, and proposes a multi-factor fusion vertical switching algorithm based on DQN. First, the weight of the influence of switching decision attributes on business types in heterogeneous networks of power systems is studied and analyzed, and multiple business types and multiple network attributes are considered as switching decision attributes. The switching between power terminal equipment and the network is jointly constrained according to multiple switching decision attributes, so as to reduce the number of vertical switching. Then, a screening mechanism based on RSS threshold is set to reduce the scale of candidate networks, and the RSS threshold is updated and optimized by predicting the RSS of terminal equipment in future time slots, reducing unnecessary network parameter signaling interactions, so as to achieve the purpose of reducing system and equipment energy consumption and service delay. Finally, a multi-factor fusion vertical switching algorithm based on DQN is proposed to realize adaptive vertical switching decision. The simulation experiment analysis shows that the scheme proposed by the present invention has certain advantages.
[0066] Example 1
[0067] In this embodiment 1, a multi-factor vertical switching system for distribution network services is first provided, including: an acquisition module, used to obtain network switching decision attribute information, service type and user preference information; the obtained network switching decision attribute information includes received signal strength, bandwidth, delay, network cost and terminal energy consumption. A calculation module is used to use a pre-trained Q network to process the obtained network switching decision attribute information, service type and user preference information to obtain the candidate network Q value; training the Q network includes: taking the network state and decision action as input, taking the minimum system cost as the goal, taking the current state as input corresponding to all possible actions, and then outputting the Q value by adjusting the weight. A switching module is used to select the network with the largest Q value as the optimal target network for switching.
[0068] In this embodiment 1, a multi-factor vertical switching method for distribution network services is implemented using the above-mentioned system, including: obtaining network switching decision attribute information, service type and user preference information; obtaining network switching decision attribute information including received signal strength, bandwidth, delay, network cost and terminal energy consumption; using a pre-trained Q network to process the obtained network switching decision attribute information, service type and user preference information to obtain a candidate network Q value; training the Q network includes: taking the network state and decision action as input, with the minimum system cost as the goal, taking the current state as input corresponding to all possible actions, and outputting the Q value by adjusting the weight; selecting the network with the largest Q value as the optimal target network for switching.
[0069] In this embodiment, a distribution network scenario with a coverage length of L and a width of W is considered, such as Figure 1The system includes F 4G base stations acting as macro base stations (MBS), M 5G base stations acting as micro base stations (SBS), N WLAN-APs and U terminal devices. The set of 4G base stations is represented as The set of 5G base stations is represented as The set of WLAN-APs is represented as The set of terminal devices is denoted as , and the set of candidate networks is denoted as . Assume that 5G and WLAN networks can fully cover the system area. The transmission radius of 4G MBS is R 4G , the transmission radius of each 5G SBS is R 5G , the transmission radius of each WLAN-AP is R W M 5G base stations and N WLAN-APs are randomly deployed in the area, and adjacent BSs are crossed to achieve full coverage of the area. It is stipulated that each terminal device supports the connection of three networks: 4G, 5G and WLAN. It is assumed that the mobile speed of the power terminal is 3m / s.
[0070] Heterogeneous networks for power services need vertical switching to ensure safe and stable operation of services, so that different services can switch access networks according to actual conditions. In this embodiment, the distribution network service type, network type, and communication and computing resources are considered, including received signal strength, bandwidth, delay, network cost, and terminal energy consumption.
[0071] For distribution network service types, the new power system distribution network can be divided into medium voltage and low voltage distribution networks according to the voltage level. The power services can be divided into control services and non-control services. The non-control services can be divided into narrowband acquisition services and broadband image and video services. According to the differentiated requirements of different services for real-time, transmission delay, packet loss rate, fault tolerance, etc., the typical distribution network services are classified into medium voltage control services, low voltage control services, narrowband acquisition services, and broadband image and video services. The set of the above typical services is expressed as Where b∈{1,2,3,4}; the service type of terminal device u in time slot t can be expressed as
[0072] For the network type, this embodiment mainly studies the switching problem of heterogeneous wireless networks composed of three different networks: 4G, 5G, and WLAN. The three networks need to complement each other to meet the communication needs of different types of services. Among them, the 5G network is known for its high transmission rate, large bandwidth, low latency and high reliability, and can meet the business types with high real-time requirements. However, its coverage is narrow and its signal penetration ability is relatively poor, so dense small base station deployment is required. In contrast, the 4G network has a wide coverage, wide spectrum, good compatibility, and high cost. Although the transmission rate is average, it can still support general real-time business needs. The WLAN network is flexible to install, easy to expand, and low-cost, but due to its small coverage and limited user mobility, it is mostly suitable for use in homes and offices.
[0073] Consider five attributes that affect network switching decisions: received signal strength RSS, bandwidth B, delay D, network cost C, and terminal energy consumption E. The network cost C can be expressed as data traffic (upload and download) multiplied by the traffic unit price.
[0074] Since different network parameters have different dimensions, the data vary greatly. In order to improve the accuracy of data analysis results, it is necessary to normalize the data of different dimensions and then input them into the neural network for calculation. Here, the parameter normalization uses the minimum and maximum normalization method as shown in formula (1):
[0075]
[0076] Among them, r ij represents the normalized value, b ij Represents the value of a decision attribute in the candidate network, Indicates the minimum value of the decision attribute. Indicates the maximum value of this decision attribute.
[0077] Since different types of power services have different requirements for communication network performance, different decision attributes have different importance to the services. This embodiment uses the Analytic Hierarchy Process (AHP) to model and analyze and calculate the weight values of the decision attributes corresponding to the five types of services, and then optimizes the calculated weight values according to user preferences.
[0078] Firstly, a hierarchical structure model is constructed according to the service type and the switching decision attribute. Then, a judgment matrix is constructed based on the objective judgment analysis of the importance of the decision attribute to the service type. The eigenvector and the maximum eigenroot are calculated according to the judgment matrix, and the weight vector is calculated after normalization. Finally, the consistency test is performed to analyze and judge its effectiveness.
[0079] like Figure 2 As shown in the figure, the hierarchical structure model is divided into three layers. The first layer is the target layer, which is to select the optimal target switching network. The second layer is the criterion layer, which includes the service layer and the decision attribute layer. By comparing the importance of the decision attribute to the service type, the weight values can be determined and the target switching network can be calculated and determined. The third layer is the solution layer, which includes the candidate networks for the current time slot.
[0080] For different types of power business, according to the different importance of judgment attributes to business types, the 1-9 scaling method is used to construct judgment matrices for different business types. The 1-9 scaling method can reflect the degree of influence or being influenced, and the specific content is shown in Table 1.
[0081] Table 1
[0082]
[0083] The judgment matrix constructed using the 1-9 scaling method is as follows:
[0084]
[0085] where a ij =1(i=j;i,j=1,2,...,5),a ji =1 / a ij (i≤j);
[0086] According to the constructed judgment matrix, the eigenvalue method is used to calculate the judgment attribute weight value. The specific calculation steps are as follows:
[0087] Find the matrix A=(a ij ) n×n The maximum eigenvalue λ max and its corresponding eigenvector ω=(ρ1,ρ2...,ρ q );
[0088] Use formula (1) to normalize the eigenvector ω so that the sum of the elements in the vector is 1, and then get the weight vector W = (ω1, ω2, ..., ω q ) T . Among them, ω1+ω2+…+ω q =1,0≤ω q ≤1.
[0089] The judgment matrix is tested for consistency to determine whether it meets the conditions. The specific steps are as follows:
[0090] Calculate the consistency index CI to measure the inconsistency of matrix A:
[0091]
[0092] Among them, n represents the order of the judgment matrix;
[0093] Calculate the consistency ratio CR:
[0094]
[0095] Among them, the value of RI is shown in Table 2 below.
[0096] n 1 2 3 4 5 6 7 8 9 RI 0 0 0.58 0.90 1.12 1.24 1.32 1.41 1.45
[0097] When CR<0.1, it means that the inconsistency of the judgment matrix A is acceptable. Otherwise, the condition is not met and the judgment matrix needs to be modified again until the CR value requirement is met.
[0098] According to the AHP method, the weight values of each switching decision attribute corresponding to the four service types can be determined. However, there are other factors that may also affect the weight of the switching decision attribute. For example, users pay more attention to network costs or prefer to connect to low-power networks. In the process of constructing the judgment matrix, the importance of network costs or power consumption should be increased to make the weight sequence of the switching decision attribute change moderately. Therefore, considering various factors that affect the switching decision, a weight re-optimization method based on user preference is proposed. In this embodiment, only three user preference attributes are considered, namely network cost C, network delay D and terminal energy consumption E. Use represents the user preference set, where p∈{1,2,3}, χ1 represents C, χ2 represents D, and χ3 represents E; the user preference of user u in time slot t can be expressed as
[0099] The purpose of weight re-optimization is to increase the importance of the preference judgment attribute, thereby increasing its weight value. Its calculation formula is expressed as:
[0100]
[0101] Among them, the larger the k value is, the more important the switching decision attribute is, j is the preferred switching decision attribute, after determination, j remains unchanged, and i increases. After re-optimizing the preferred switching decision attribute, a new judgment matrix is obtained, and then the weight is updated.
[0102] Based on the historical information of the RSS of the terminal device and the communication base station and the corresponding location information of the terminal, the optimal RSS of the terminal device in the future time slot is predicted, and the predicted RSS is used to update the RSS threshold in the optimization screening mechanism to reduce the signaling communication between the device and the BS, thereby reducing unnecessary network parameter signaling interaction, terminal energy consumption and service delay.
[0103] Adopt a collection To represent the historical RSS information of the terminal, each RSS information includes the target base station number to which the terminal is connected in time slot t The RSS value of the optimal target network received by the terminal Terminal location tag information Dwell time and user preference information The location tag information. In summary, the historical RSS information of mobile device u in time slot t can be expressed as:
[0104]
[0105] The probability set of the target network predicted by the GRU model for terminal i at time slot t+1 is expressed as:
[0106]
[0107] Where N represents the number of current networks. Select the probability set The largest median value is the optimal target network for terminal i. The corresponding information.
[0108] After the terminal device interacts with nearby networks through signaling, it first screens nearby networks according to the threshold value and adds qualified ones to the candidate network list. Then the terminal uploads its service type, user preference information and switching decision attribute information in the candidate network list to the current BS server for calculation.
[0109] According to Shannon's formula, switch judgment attribute information The transmission rate to the MEC server is:
[0110]
[0111] Among them B u represents the uplink bandwidth, p u Indicates the transmit power of the terminal device, g u represents the channel gain between the terminal and the base station, σ 2 Represents the variance of Gaussian white noise. Since the amount of data of the calculation result of the target network is very small, the delay of the calculation result returning to the terminal device is ignored.
[0112] Consider local computing delay, local computing energy consumption, MEC computing service delay and MEC computing energy consumption as system cost overhead. Local computing delay and local computing energy consumption are respectively the time and energy consumed by the terminal to screen nearby networks according to the threshold; MEC computing delay includes: transmission delay and MEC server computing delay; MEC computing energy consumption only considers the energy consumption of the terminal device, that is, the energy consumed by uploading the collected service type, user preference information and candidate network list judgment attribute information to the MEC server.
[0113] Assume that represents the decision attribute information collected by user u in time slot t, Indicates the CPU computing power of device u (CPU cycles per second). Indicates decision attribute information The number of CPU cycles required to determine the attribute information The local computing delay is expressed as:
[0114]
[0115] Energy consumption is expressed as:
[0116]
[0117] Here, k represents the CPU energy consumption coefficient, which is related to the CPU model. In this embodiment, the value of k is 10-26.
[0118] (2) MEC computing service latency and energy consumption model
[0119] MEC computing delay includes transmission delay and execution delay use Indicates the computing capacity allocated by the MEC server to device u, signaling The data size is expressed as The MEC calculation delay is expressed as:
[0120]
[0121] The energy consumed by the terminal device uploading signaling is:
[0122]
[0123] The system cost mainly includes delay cost and energy cost. Assume that the weight of delay cost is η and the weight of energy cost is ξ, where 0≤η≤1, 0≤ξ≤1, η+ξ=1, and the actual value can be adjusted according to user preference.
[0124] System latency costs include local computing latency costs of devices. and MEC computing latency cost overhead
[0125]
[0126] The delay cost of the system processing u in time slot t is:
[0127]
[0128] The system energy cost includes the device local computing energy cost Calculate energy cost with MEC
[0129]
[0130] The energy cost of the system processing u in time slot t:
[0131]
[0132] In summary, the total cost of the optimal target network calculated by the system for time slot t is expressed as:
[0133]
[0134] Delay cost and energy cost are key indicators that can measure the size of the candidate network and the frequency of handovers between the terminal device and the BS. Delay cost and energy cost determine the system cost. The optimization goal is to minimize the system cost. The system cost minimization problem is modeled as follows:
[0135]
[0136] C3:η+ξ=1
[0137]
[0138] Where T max is the maximum delay tolerated by the system, E max is the maximum battery capacity of the terminal device, The maximum CPU computing capacity of the terminal device. For server signaling The maximum amount of CPU computing resources to allocate.
[0139] The traditional network switching decision algorithm based on multiple attributes cannot realize adaptive network switching decision, which makes it unsuitable to solve the problem of frequent base station switching caused by the dense deployment of base stations and massive terminal device requests, as well as the large amount of data calculation and terminal device movement. Based on this, the multi-attribute adaptive switching decision algorithm based on deep reinforcement learning algorithm proposed in this embodiment 1 has the following algorithm structure: Figure 3As shown in the figure. First, the target network selection problem is modeled as a Markov decision process (MDP). By setting the state space, action space and reward function, the state value function is determined. Then, the state and action are used as input to calculate the neural network in the deep reinforcement learning algorithm to obtain the target network. Finally, the neural network parameters are continuously trained through the input data to obtain a better target network.
[0140] Assume that there are M candidate networks in the heterogeneous wireless network area, denoted as N = {1, 2, ..., M}. In the area composed of M wireless networks, the mobile terminal device needs to make a switching decision after a certain period of time, the decision time interval is τ, and the decision time sequence is:
[0141] T={1,2,...,t,...,T} (21)
[0142] Among them, t N This is the time when the connection is terminated, that is, the service ends.
[0143] At each decision moment, the user can only choose one network to access, and the network status of the mobile terminal is determined by the QoS parameters provided by each candidate network, which can be represented by a multidimensional vector. According to the characteristics of different types of power services, four communication parameters are selected to represent the network status, namely, the available received signal strength RSS, bandwidth B, delay D and terminal energy consumption E. The network status can be defined as:
[0144] s=[RSS1,B1,D1,E1,RSS2,B2,D2,E2,...,RSS M ,B M ,D M ,E M ,n,k] (22)
[0145] Among them, D i represents the delay of candidate network i, B i represents the available bandwidth of candidate network i, E i Represents the bit error rate of candidate network i; n represents the network to which the terminal user is currently connected, n∈{0,1,2,...,M}, and the value of n is 0 only at the beginning of the connection, i.e., at t=t0, indicating that it has not yet connected to any wireless network; k represents the service type of the arriving service, k∈{0,1,2,3,4}, indicating that the services arriving at the terminal are medium-voltage control services, low-voltage control services, narrowband acquisition services, and broadband image and video services, respectively.
[0146] After the agent obtains the state, the decision action will select the access network of the service according to the Q value, and then dynamically adjust the allocated resources. The switching action is represented by a, and the set of all selectable switching actions at time t can be defined as a = {a|a∈{1,2,…,M}}. The constraints of C1-C4 are strictly considered in the network switching process.
[0147] The optimization goal of this embodiment is to minimize the system cost, which is negatively correlated with the optimization goal. That is, according to the actions that have been executed, if the system minimizes the system cost, the agent receives a positive reward, otherwise it receives a negative reward. The cumulative reward is maximized through exploration and updating, thereby obtaining the best operation. The reward function of the system is:
[0148]
[0149] The long-term cumulative reward of the system is defined as:
[0150]
[0151] γ∈[0,1] is the discount rate, which reflects the impact of subsequent state rewards on the current value. The future reward effect is determined by selecting different networks for access. The smaller the value of γ, the greater the impact of the current reward on the value.
[0152] In order to obtain the maximum total network score mean, it is necessary to select a suitable network access selection scheme to maximize future cumulative rewards, which can be expressed as formula (25):
[0153]
[0154] Q π (s,a) is the action value function, which represents the cumulative expectation of taking action a in state s, expressed as:
[0155]
[0156] Q * (s,a) is the optimal value function, which generally obtains information (s,a,r,s',a') recursively and updates it according to formula (26):
[0157]
[0158] where α∈[0,1] is the learning rate.
[0159] Since the reward function can only obtain the optimal value when time t tends to infinity, it is difficult to practice. Therefore, DQN uses a deep neural network as a function approximator to approximate the function Q(s,a; ω)≈Q*(s,a), trains the weight ω in the DNN, takes the state and action as the input of the DNN, and takes the output of the DNN after training as the Q value. The network is trained and the weights are updated in an iterative process to minimize the loss function:
[0160]
[0161] The overall process of the vertical switching algorithm proposed in this embodiment is as follows: Figure 4 As shown in the figure. First, the parameters are initialized and set, and the environment status, business type and its weight vector are input; secondly, the weight of the switching decision attribute is optimized according to the user preference information; whether the network meets the business requirements is judged, and the network that meets the requirements is vertically switched, and the current sample is stored in the experience replay pool m; finally, M samples are randomly sampled from m to train the network, and the network parameters are updated until the iteration is completed and the output results are output.
[0162] Based on the above switching strategy algorithm flow, the overall strategy of the algorithm is designed. The multi-factor fusion vertical switching algorithm based on DQN designed in this embodiment is shown in Algorithm 1 in Table 3. Algorithm 1 represents the current state s i As input, corresponding to all possible actions, s i =[RSS i ,B i ,D i ,E i ]. By adjusting the weight ω, the Q value is output. To ensure that the agent can balance the exploration of the unknown environment and the use of the knowledge it has mastered, the agent selects actions according to the ε-greedy strategy. The first operation of the agent is to select a suitable access network. Based on the selected network, the agent performs the next action to allocate resources. After all actions are completed, the agent transfers to a new state (s t+1 ), and calculate the reward according to formula (23), and then convert the experience (s t ,a t ,r t ,s t+1 ) is stored in the experience replay pool m.
[0163] Table 3
[0164]
[0165] In order to evaluate the performance of the switching algorithm proposed in this embodiment, a simulation experiment is conducted to prove the effectiveness of the switching decision strategy. The switching decision strategy based on reference signal received power (RSRP) is used to compare and verify the reliability and advantages of the switching decision strategy proposed in this paper. Figure 5 The simulation system is a wireless heterogeneous network composed of LTE and WLAN. The user passes through the cross coverage area to reach the target base station. The moving speed and direction of the terminal change randomly at regular intervals, but may encounter obstacles from buildings on the way, which may cause handover failure.
[0166] The performance characteristics of the switching algorithm proposed in this paper are analyzed by comparing the algorithm performance. By comparing it with the switching decision strategy based on reference signal received power (RSRP), the network throughput and number of switching of the two algorithms are analyzed, so as to evaluate the performance characteristics of the multi-factor fusion switching algorithm proposed in this paper.
[0167] Figure 6 The relationship between the network throughput of the power business terminal and the terminal moving speed is given. It can be seen that as the terminal moving speed increases, the overall trend of the service access network throughput is decreasing. The network throughput of the multi-factor fusion switching algorithm proposed in this paper is higher than that of the RSRP-based switching algorithm because the algorithm incorporates the terminal's mobility characteristics into the switching decision and is more suitable for the case of terminal movement. When the terminal moving speed is greater than 40m / s, the network throughput under the two switching algorithms changes little.
[0168] Figure 7 The curve of the change of the number of service terminal switching times with the change of call arrival rate is given. It can be seen that the switching failure rate of the multi-factor fusion switching algorithm proposed in this embodiment is lower than that of the switching algorithm based on RSRP. This is because the algorithm can adaptively adjust the decision time interval according to multiple factors such as received signal strength, bandwidth, network cost, delay and terminal energy consumption, so that the terminal can switch at the most appropriate time instead of switching at a fixed time.
[0169] It can be seen from the above simulation analysis that the multi-factor fusion switching algorithm proposed in this embodiment can effectively optimize the communication requirements of various services on the basis of ensuring the QoS of various services. Especially when the number of access services is large, the advantage of the algorithm described in this embodiment is more obvious than other algorithms, which verifies the effectiveness of this algorithm.
[0170] Example 3
[0171] This embodiment 3 provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium is used to store computer instructions. When the computer instructions are executed by a processor, the multi-factor vertical switching method for distribution network services as described above is implemented. The method includes:
[0172] Obtaining network switching decision attribute information, service type and user preference information; Obtaining network switching decision attribute information including received signal strength, bandwidth, delay, network cost and terminal energy consumption;
[0173] Using a pre-trained Q network, the obtained network switching decision attribute information, service type and user preference information are processed to obtain a candidate network Q value; training the Q network includes: taking the network state and decision action as input, taking the minimum system cost as the goal, taking the current state as input corresponding to all possible actions, and outputting the Q value by adjusting the weight;
[0174] The network with the largest Q value is selected as the optimal target network for switching.
[0175] Example 4
[0176] This embodiment 4 provides a computer device, including a memory and a processor, the processor and the memory communicate with each other, the memory stores program instructions executable by the processor, the processor calls the program instructions to execute the above-mentioned multi-factor vertical switching method for distribution network services, the method comprising:
[0177] Obtaining network switching decision attribute information, service type and user preference information; Obtaining network switching decision attribute information including received signal strength, bandwidth, delay, network cost and terminal energy consumption;
[0178] Using a pre-trained Q network, the obtained network switching decision attribute information, service type and user preference information are processed to obtain a candidate network Q value; training the Q network includes: taking the network state and decision action as input, taking the minimum system cost as the goal, taking the current state as input corresponding to all possible actions, and outputting the Q value by adjusting the weight;
[0179] The network with the largest Q value is selected as the optimal target network for switching.
[0180] Example 5
[0181] This embodiment 5 provides an electronic device, including: a processor, a memory, and a computer program; wherein the processor is connected to the memory, the computer program is stored in the memory, and when the electronic device is running, the processor executes the computer program stored in the memory, so that the electronic device executes instructions for implementing the multi-factor vertical switching method for distribution network services as described above, the method including:
[0182] Obtaining network switching decision attribute information, service type and user preference information; Obtaining network switching decision attribute information including received signal strength, bandwidth, delay, network cost and terminal energy consumption;
[0183] Using a pre-trained Q network, the obtained network switching decision attribute information, service type and user preference information are processed to obtain a candidate network Q value; training the Q network includes: taking the network state and decision action as input, taking the minimum system cost as the goal, taking the current state as input corresponding to all possible actions, and outputting the Q value by adjusting the weight;
[0184] The network with the largest Q value is selected as the optimal target network for switching.
[0185] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0186] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0187] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0188] These computer program instructions can also be loaded onto a computer or other programmable data processing device, and a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.
[0189] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art without creative work on the basis of the technical solution disclosed in the present invention should be included in the scope of protection of the present invention.
Claims
1. A multi-factor vertical switching method for distribution network services, characterized in that: include: Obtain network switching decision attribute information, service type and user preference information; Obtaining network switching decision attribute information including received signal strength, bandwidth, delay, network cost and terminal energy consumption; Using the pre-trained Q network, the acquired network switching decision attribute information, service type and user preference information are processed to obtain the candidate network Q value; Training the Q network includes: taking the network state and decision action as input, taking the minimum system cost as the goal, taking the current state as input corresponding to all possible actions, and outputting the Q value by adjusting the weight; The network with the largest Q value is selected as the optimal target network for switching.
2. The multi-factor vertical switching method for distribution network services according to claim 1 is characterized in that: Assume that there are M candidate networks in the heterogeneous wireless network area, denoted as N = {1, 2, ..., M}; in the area composed of M wireless networks, the mobile terminal device needs to make a switching decision after a certain period of time, the decision time interval is τ, and the decision time sequence is T = {1, 2, ..., t, ..., T}, where t N is the time when the connection is terminated, that is, the service ends; at each decision moment, the user can only choose one network to access, and the network state of the mobile terminal is determined by the QoS parameters provided by each candidate network, which can be represented by a multidimensional vector; four communication parameters are selected to represent the network state, namely, the available received signal strength RSS, bandwidth B, delay D and terminal energy consumption E, and the network state is: s=[RSS1,B1,D1,E1,RSS2,B2,D2,E2,...,RSS M ,B M ,D M ,E M ,n,k]; Among them, D i represents the delay of candidate network i, B i represents the available bandwidth of candidate network i, E i represents the bit error rate of candidate network i; n represents the network to which the terminal user is currently connected, n∈{0,1,2,...,M}, and the value of n is 0 only at the beginning of the connection, i.e., at time t=t0, indicating that it has not yet connected to any wireless network; k represents the service type of the arriving service, k∈{0,1,2,3,4}, indicating that the services arriving at the terminal are medium-voltage control services, low-voltage control services, narrowband acquisition services, and broadband image and video services, respectively; The decision action selects the access network of the service according to the Q value, and then dynamically adjusts the allocated resources. The set of all selectable switching action spaces at time t is defined as a = {a|a∈{1,2,…,M}}.
3. The multi-factor vertical switching method for distribution network services according to claim 2 is characterized in that: The optimization goal is to minimize the system cost, which is negatively correlated with the optimization goal. That is, according to the actions performed, if the system minimizes the system cost, the agent receives a positive reward, otherwise it receives a negative reward. The cumulative reward is maximized through exploration and update, thus obtaining the best operation. The reward function of the system is: The long-term cumulative reward of the system is defined as: γ∈[0,1] is the discount rate, which is a factor that reflects the impact of subsequent state rewards on the current value. The future reward effect is determined by selecting access to different networks. The smaller the value of γ, the greater the impact of the current reward on the value.
4. The multi-factor vertical switching method for distribution network services according to claim 3 is characterized in that: In order to obtain the maximum total network score average, it is necessary to choose a suitable network access selection scheme to maximize future cumulative rewards: Q π (s,a) is the action value function, which represents the cumulative expectation of taking action a in state s, expressed as: Q * (s,a) is the optimal value function, which recursively obtains information (s,a,r,s',a') and updates it according to the following formula: where α∈[0,1] is the learning rate.
5. The multi-factor vertical switching method for distribution network services according to claim 4 is characterized in that: System costs include delay overhead and energy overhead; System latency costs include local computing latency costs. t l and MEC computing latency cost overhead The delay cost of the system processing u in time slot t is: The system energy cost includes the device local computing energy cost Calculate energy cost with MEC The energy cost of the system processing u in time slot t is: In summary, the total cost of the optimal target network calculated by the system for time slot t is expressed as:
6. The multi-factor vertical switching method for distribution network services according to claim 5, characterized in that: Consider local computing delay, local computing energy consumption, MEC computing service delay and MEC computing energy consumption as system cost overhead. Local computing delay and local computing energy consumption are respectively the time and energy consumed by the terminal to screen nearby networks according to the threshold; MEC computing delay includes: transmission delay and MEC server computing delay; MEC computing energy consumption only considers the energy consumption of terminal devices, that is, the energy consumed by uploading the collected service type, user preference information and candidate network list judgment attribute information to the MEC server.
7. A multi-factor vertical switching system for distribution network services, characterized in that: include: An acquisition module, used to acquire network switching decision attribute information, service type and user preference information; Obtaining network switching decision attribute information including received signal strength, bandwidth, delay, network cost and terminal energy consumption; A calculation module is used to process the acquired network switching decision attribute information, service type and user preference information using a pre-trained Q network to obtain a candidate network Q value; Training the Q network includes: taking the network state and decision action as input, taking the minimum system cost as the goal, taking the current state as input corresponding to all possible actions, and outputting the Q value by adjusting the weight; The switching module is used to select the network with the largest Q value as the optimal target network for switching.
8. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium is used to store computer instructions. When the computer instructions are executed by the processor, the multi-factor vertical switching method for distribution network services as described in any one of claims 1-6 is implemented.
9. A computer device, characterized in that: It includes a memory and a processor, the processor and the memory communicate with each other, the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the multi-factor vertical switching method for distribution network services as described in any one of claims 1-6.
10. An electronic device, characterized in that: include: A processor, a memory and a computer program; wherein the processor is connected to the memory, the computer program is stored in the memory, and when the electronic device is running, the processor executes the computer program stored in the memory so that the electronic device executes instructions for implementing the multi-factor vertical switching method for distribution network services as described in any one of claims 1-6.
Citation Information
Patent Citations
Method for carrying out adaptive optimization switching on group services based on demand prediction and priority
CN101516115A
5G heterogeneous wireless network access selection method for intelligent power distribution
CN115175274A
Cited By
Vehicle-mounted signal intelligent routing method based on 5G + WLAN technology
CN119012299A
Network intelligent switching method and system for dynamic wireless environment, terminal and storage medium
CN122825184A
A network intelligent switching method and system for a dynamic wireless environment, a terminal and a storage medium
CN122825184B
