Network slice allocation method, terminal and storage medium
AssigneeZte Corporation
InventorCheng Wang
Life of this patent
Estimating the term…
Abstract
Embodiments of the present application relate to a network slice allocation method, a terminal and a storage medium, and belong to the field of communications. The method includes if it is monitored that an application program is in a running state, determining an application type to which the application program belongs; and selecting at least one network slice from network slices corresponding to the application type, and allocating the at least one network slice to the application program; and the network slices corresponding to the application type refer to the network slices which are matched with the application type in advance.
Claims15
A network slice allocation method, comprising:
- in response to monitoring that an application program is in a running state, determining an application type to which the application program belongs;
- and
- selecting at least one network slice from network slices corresponding to the application type, and allocating the at least one network slice to the application program;
- wherein the network slices corresponding to the application type refer to the network slices which are matched with the application type in advance,
- wherein selecting the at least one network slice from the network slices corresponding to the application type and allocating the at least one network slice to the application program comprises:
- in response to the application program being in the foreground running state and monitoring that another application program belonging to the same application type as the application program is in the background running state, selecting the L network slices with higher network performance from the K network slices corresponding to the application type, and allocating the L network slices to the application program, where both L and K are integers greater than 0, and L is less than K;
- or
- in response to the application program being in a background running state and monitoring that no other application programs belonging to the same application type as the application program are in the running state, selecting L network slices with higher network performance from K network slices corresponding to the application type, and allocating the L network slices to the application program, where both L and K are integers greater than 0, and L is less than or equal to K.
A network slice allocation method, comprising:
- in response to monitoring that an application program is in a running state, determining an application type to which the application program belongs;
- selecting at least one network slice from network slices corresponding to the application type, and allocating the at least one network slice to the application program;
- wherein the network slices corresponding to the application type refer to the network slices which are matched with the application type in advance;
- and
- in response to monitoring that a requirement of the application program for network performance of the network slices changes, determining a reason for a change in the requirement for the network performance, and adjusting the network slice allocated to the application program according to the reason,
- wherein adjusting the network slice allocated to the application program according to the reason comprises one of the following operations:
- in response to the reason being that an application type to which a current service of the application program belongs changes, selecting at least one network slice from network slices corresponding to the changed application type, and allocating the at least one network slice to the application program;
- in response to the reason being that at least one of a number of socket requests or a number of download threads of the application program decreases, reducing the network slice allocated to the application program;
- or
- in response to the reason being that the application program is frozen, releasing the network slice allocated to the application program.
A terminal, comprising:
- at least one processor;
- and
- a memory which is connected to and communicates with the at least one processor;
- wherein the memory has an instruction executable by the at least one processor stored therein which, when executed by the at least one processor, enables the at least one processor to:
- in response to monitoring that an application program is in a running state, determine an application type to which the application program belongs;
- and
- select at least one network slice from network slices corresponding to the application type, and allocate the at least one network slice to the application program;
- wherein the network slices corresponding to the application type refer to the network slices which are matched with the application type in advance,
- wherein selecting the at least one network slice from the network slices corresponding to the application type and allocating the at least one network slice to the application program comprises:
- in response to the application program being in the foreground running state and monitoring that another application program belonging to the same application type as the application program is in the background running state, selecting the L network slices with higher network performance from the K network slices corresponding to the application type, and allocating the L network slices to the application program, where both L and K are integers greater than 0, and L is less than K;
- or
- in response to the application program being in a background running state and monitoring that no other application programs belonging to the same application type as the application program are in the running state, selecting L network slices with higher network performance from K network slices corresponding to the application type, and allocating the L network slices to the application program, where both L and K are integers greater than 0, and L is less than or equal to K.
A terminal, comprising:
- at least one processor;
- and
- a memory which is connected to and communicates with the at least one processor;
- wherein the memory has an instruction executable by the at least one processor stored therein which, when executed by the at least one processor, enables the at least one processor to:
- in response to monitoring that an application program is in a running state, determine an application type to which the application program belongs;
- select at least one network slice from network slices corresponding to the application type, and allocate the at least one network slice to the application program;
- wherein the network slices corresponding to the application type refer to the network slices which are matched with the application type in advance;
- and
- in response to monitoring that a requirement of the application program for network performance of the network slices changes, determine a reason for a change in the requirement for the network performance, and adjust the network slice allocated to the application program according to the reason,
- wherein adjusting the network slice allocated to the application program according to the reason comprises one of the following operations:
- in response to the reason being that an application type to which a current service of the application program belongs changes, selecting at least one network slice from network slices corresponding to the changed application type, and allocating the at least one network slice to the application program;
- in response to the reason being that at least one of a number of socket requests or a number of download threads of the application program decreases, reducing the network slice allocated to the application program;
- or
- in response to the reason being that the application program is frozen, releasing the network slice allocated to the application program.
Dependencies are inferred from the claim text.