Automatic switching method and device for 5G network and storage medium

文档序号:1617475 发布日期:2020-01-10 浏览:21次 中文

阅读说明:本技术 一种5g网络自动切换方法、装置及存储介质 (Automatic switching method and device for 5G network and storage medium ) 是由 王宏民 唐衡云 张密 陈邦印 王建生 康献民 于 2019-09-03 设计创作,主要内容包括:本发明公开了一种5G网络自动切换方法、装置及存储介质,其中网络自动切换方法包括对与用户交互的数据通过聚类方法分组;构建每组数据在5G网络中传输的传输网络;对要传输的数据分组并按照分组的类别选择最近的传输路径及信号最优的传输信道自动切换。通过路径规划,在服务质量、移动性和移动带宽具有良好的表现。(The invention discloses a method, a device and a storage medium for automatically switching a 5G network, wherein the method for automatically switching the network comprises the steps of grouping data interacted with a user by a clustering method; constructing a transmission network for transmitting each group of data in the 5G network; and selecting the nearest transmission path and the transmission channel with the optimal signal for the data packet to be transmitted according to the packet type and automatically switching. The path planning has good performance in service quality, mobility and mobile bandwidth.)

1. A5G network automatic switching method is characterized by comprising the following steps:

grouping data interacted with a user by a clustering method;

constructing a transmission network for transmitting each group of data in a 5G network, wherein the transmission network comprises a plurality of transmission paths, and each transmission path comprises a plurality of channels;

and selecting the nearest transmission path and the transmission channel with the optimal signal for the data packet to be transmitted according to the packet type and automatically switching.

2. The automatic switching method for 5G network according to claim 1, wherein the grouping the data interacted with the user by clustering method comprises the following steps:

generating a central point: generating three central points, wherein the three central points comprise a central point of a text class, a central point of an audio class and a central point of a video class;

classifying data: classifying the data into a class closest to the center point;

calculating a central point: recalculating the three center points according to the data of each category;

repeating the classifying data and the calculating the central points until all three central points are unchanged.

3. The automatic switching method for 5G network according to claim 2, wherein the grouping the data interacted with the user by clustering method further comprises the following steps: after the classification is completed, calculating a loss function, wherein the loss function specifically comprises:

Figure FDA0002189662080000011

4. The automatic switching method of 5G network according to claim 2 or 3,the data is at a distance from the center point of

Figure FDA0002189662080000021

5. The method according to claim 1, wherein in the step of constructing a transmission network for transmitting each group of data in the 5G network, the following steps are specifically performed for each group of data:

extracting features of the single group of data;

constructing a decision tree with a base station as a node on the basis of a 5G network;

selecting m data from a single group of data in a back-to-back manner to form a training set, taking the training set as a sample of a root node, and sequentially training from the root node, wherein the root node is a base station closest to a user, and the training process specifically comprises the following steps:

obtaining an optimal feature k from n features selected randomly;

obtaining data with a characteristic k from a sample of a current node;

when the number of the data with the characteristic k is smaller than a division threshold value, dividing the data with the characteristic k into left nodes, otherwise, dividing the data with the characteristic k into right nodes;

and circulating the training process until all the nodes are trained, and obtaining the transmission network for transmitting single group of data in the 5G network.

6. A 5G network automatic switching apparatus to which the 5G network automatic switching method according to any one of claims 1 to 5 is applied, comprising:

the grouping module is used for grouping the data interacted with the user by a clustering method;

the network construction module is used for constructing a transmission network for transmitting each group of data in the 5G network, wherein the transmission network comprises a plurality of transmission paths, and each transmission path comprises a plurality of channels;

and the switching module is used for automatically switching the data packets to be transmitted according to the type of the packets, the closest transmission path and the transmission channel with the optimal signal.

7. An automatic switching device for a 5G network, comprising:

a processor; and

a memory for storing processor-executable instructions;

wherein the processor is configured to:

grouping data interacted with a user by a clustering method;

constructing a transmission network for transmitting each group of data in a 5G network, wherein the transmission network comprises a plurality of transmission paths, and each transmission path comprises a plurality of channels;

and selecting the nearest transmission path and the transmission channel with the optimal signal for the data packet to be transmitted according to the packet type and automatically switching.

8. A storage medium storing a plurality of executable instructions, the executable instructions being loadable by a processor and operable to:

grouping data interacted with a user by a clustering method;

constructing a transmission network for transmitting each group of data in a 5G network, wherein the transmission network comprises a plurality of transmission paths, and each transmission path comprises a plurality of channels;

and selecting the nearest transmission path and the transmission channel with the optimal signal for the data packet to be transmitted according to the packet type and automatically switching.

Technical Field

The invention relates to the technical field of 5G networks, in particular to an automatic switching method, an automatic switching device and a storage medium for a 5G network.

Background

The 5G network is a network mode emerging at present, and has a faster transmission speed and a lower delay than the conventional network mode. An important goal of 5G networks is by providing an acceptable, fast network handoff. 5G network handover has three main indicators: quality of service, mobility, and mobile bandwidth. How to make the 5G network switch have better performance on the three indexes is an important subject in the field at present.

Disclosure of Invention

The present invention is directed to solve at least one of the technical problems in the prior art, and provides a method, an apparatus and a storage medium for automatic handover in a 5G network, which have good performance in terms of quality of service, mobility and mobility bandwidth.

The technical scheme adopted by the invention for solving the problems is as follows:

in a first aspect of the present invention, a method for automatically switching a 5G network includes the following steps:

grouping data interacted with a user by a clustering method;

constructing a transmission network for transmitting each group of data in a 5G network, wherein the transmission network comprises a plurality of transmission paths, and each transmission path comprises a plurality of channels;

and selecting the nearest transmission path and the transmission channel with the optimal signal for the data packet to be transmitted according to the packet type and automatically switching.

According to a first aspect of the invention, said grouping of data interacting with a user by means of a clustering method comprises the steps of:

generating a central point: generating three central points, wherein the three central points comprise a central point of a text class, a central point of an audio class and a central point of a video class;

classifying data: classifying the data into a class closest to the center point

Calculating a central point: recalculating the three center points according to the data of each category;

repeating the classifying data and the calculating the central points until all three central points are unchanged.

According to the first aspect of the present invention, the grouping of the data interacted with the user by the clustering method further comprises the steps of: after the classification is completed, calculating a loss function, wherein the loss function specifically comprises:

Figure BDA0002189662090000021

wherein, mujIs the jth center point, tiIs the ith class, xiIs the data.

According to a first aspect of the invention, the data is at a distance from the centre point of

Figure BDA0002189662090000022

Wherein mujIs the jth center point, xiFor data, p takes the value 1 or 2.

According to the first aspect of the present invention, in the step of constructing a transmission network for transmitting each set of data in the 5G network, for each set of data, the following steps are specifically performed:

extracting features of the single group of data;

constructing a decision tree with a base station as a node on the basis of a 5G network;

selecting m data from a single group of data in a back-to-back manner to form a training set, taking the training set as a sample of a root node, and sequentially training from the root node, wherein the root node is a base station closest to a user, and the training process specifically comprises the following steps:

obtaining an optimal feature k from n features selected randomly;

obtaining data with a characteristic k from a sample of a current node;

when the number of the data with the characteristic k is smaller than a division threshold value, dividing the data with the characteristic k into left nodes, otherwise, dividing the data with the characteristic k into right nodes;

and circulating the training process until all the nodes are trained, and obtaining the transmission network for transmitting single group of data in the 5G network.

In a second aspect of the present invention, a 5G network automatic switching apparatus is applied to the 5G network automatic switching method according to the first aspect of the present invention, and includes:

the grouping module is used for grouping the data interacted with the user by a clustering method;

the network construction module is used for constructing a transmission network for transmitting each group of data in the 5G network, wherein the transmission network comprises a plurality of transmission paths, and each transmission path comprises a plurality of channels;

and the switching module is used for automatically switching the data packets to be transmitted according to the type of the packets, the closest transmission path and the transmission channel with the optimal signal.

In a third aspect of the present invention, a 5G network automatic switching apparatus includes:

a processor; and

a memory for storing processor-executable instructions;

wherein the processor is configured to:

grouping data interacted with a user by a clustering method;

constructing a transmission network for transmitting each group of data in a 5G network, wherein the transmission network comprises a plurality of transmission paths, and each transmission path comprises a plurality of channels;

and selecting the nearest transmission path and the transmission channel with the optimal signal for the data packet to be transmitted according to the packet type and automatically switching.

In a fourth aspect of the present invention, a storage medium stores a plurality of executable instructions, the executable instructions being capable of being loaded and executed by a processor to:

grouping data interacted with a user by a clustering method;

constructing a transmission network for transmitting each group of data in a 5G network, wherein the transmission network comprises a plurality of transmission paths, and each transmission path comprises a plurality of channels;

and selecting the nearest transmission path and the transmission channel with the optimal signal for the data packet to be transmitted according to the packet type and automatically switching.

According to the technical scheme, the data are classified into different groups according to the similarity of the data; the transport network is constructed so that it is easy to search and find the next handover target so that the data set moves in the correct way. After the network is constructed, the data to be transmitted can be subjected to planning of a transmission path according to the grouping type of the data and the network constructed before, and automatic switching of the transmission path or the transmission channel is realized. Has good performance in service quality, mobility and mobile bandwidth.

Drawings

The invention is further illustrated with reference to the following figures and examples.

Fig. 1 is a flowchart illustrating a method for automatic handover in a 5G network according to an embodiment of the present invention;

fig. 2 is a detailed step diagram of step S100;

fig. 3 is a detailed step diagram of step S200;

fig. 4 is a structural diagram of an automatic switching device of a 5G network according to an embodiment of the present invention.

Detailed Description

Reference will now be made in detail to the present preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.

In the description of the present invention, the meaning of several is one or more, and the meaning of several is more than two, and it cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the precedence of the indicated technical features.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种SSB配置方案的规划方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!