Service Quality Adjustment Method, Device, Equipment and Storage Medium
By dynamically adjusting the service quality of mobile edge applications (MEA), the performance problems caused by delay in mobile edge computing (MEC) devices are solved based on the channel quality and wireless bandwidth between the base station and the terminal, and high-performance and flexible service provision are achieved.
Patent Information
- Application Number
- CN202111191361.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-13
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2041-10-13
AI Technical Summary
Currently, there are large communication and computing delays in mobile edge computing (MEC) devices, resulting in deterioration of system performance and unable to meet the resource requirements of wireless environments.
By dynamically adjusting the service quality provided by the mobile edge application (MEA) to the terminal, a service quality adjustment strategy is formulated based on the channel quality between the base station and the terminal and the current remaining wireless bandwidth, and instructing the MEA in the MEC device to adjust.
It improves the flexibility of MEA to provide services to terminals, ensures high performance quality between end-to-end, and enables the quality of service to be compatible with channel quality and wireless bandwidth.
Smart Images

Figure CN113993170B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of edge computing technology, and in particular, to a method, device, equipment, and storage medium for service quality adjustment. Background Art
[0002] An MEC (Mobile Edge Computing) device is a server deployed near a base station, which can mainly implement various functions such as wireless data local offloading, wireless positioning, and wireless information services. Usually, an MEA (Mobile Edge Application) can be deployed in the MEC device, and the MEC device can specifically provide service to a terminal through the MEA and interact with the terminal for service data.
[0003] Currently, due to delays in communication and computing, etc., there are large errors, resulting in the deterioration of system performance and inability to meet the requirements of resources for the wireless environment. Summary of the Invention
[0004] Based on this, the embodiments of this application provide a method, device, equipment, and storage medium for service quality adjustment. By dynamically adjusting the service quality of the service provided by the MEA to the terminal, the flexibility of the MEA to provide service to the terminal can be improved, and thus the high-performance quality between end-to-end can be guaranteed.
[0005] In a first aspect, a method for service quality adjustment is provided, which is used in a base station. The method includes:
[0006] Obtain the channel quality of the channel between the base station and the terminal; determine a service quality adjustment strategy according to the channel quality and the remaining wireless bandwidth of the base station currently; based on the service quality adjustment strategy, instruct the Mobile Edge Application (MEA) deployed in the Mobile Edge Computing (MEC) device to adjust the service quality of the service provided to the terminal.
[0007] In a second aspect, a method for service quality adjustment is provided, which is used in an MEC device. The method includes:
[0008] According to the instruction of the base station, control the MEA deployed in the MEC device to adjust the service quality of the service provided to the terminal based on the service quality adjustment strategy; wherein, the service quality adjustment strategy is determined by the base station according to the channel quality of the channel between the base station and the terminal and the remaining wireless bandwidth of the base station currently.
[0009] In a third aspect, a service quality adjustment device is provided, which is used in a base station. The device includes:
[0010] An obtaining module, configured to obtain the channel quality of the channel between the base station and the terminal;
[0011] A determination module, configured to determine a quality-of-service adjustment policy according to the channel quality and the remaining radio bandwidth of the base station currently.
[0012] An indication module, configured to, based on the quality-of-service adjustment policy, indicate the mobile edge application (MEA) deployed in the mobile edge computing (MEC) device to adjust the quality of service of the service provided for the terminal.
[0013] In one embodiment, the determination module is specifically configured to:
[0014] If the channel quality is better than the target channel quality, and the remaining radio bandwidth of the base station currently is greater than or equal to the radio bandwidth required to adjust the second service level to the first service level, then the quality-of-service adjustment policy is to adjust the second service level to the first service level; wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the first service level is higher than the second service level.
[0015] In one embodiment, the determination module is specifically configured to:
[0016] If the channel quality is better than the target channel quality, and the remaining radio bandwidth of the base station currently is less than the radio bandwidth required to adjust the second service level to the first service level, then the quality-of-service adjustment policy is to maintain the second service level unchanged; wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the first service level is higher than the second service level.
[0017] In one embodiment, the determination module is specifically configured to:
[0018] If the channel quality is not better than the target channel quality, then the quality-of-service adjustment policy is to adjust the second service level to the third service level; wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the third service level is lower than the second service level.
[0019] In one embodiment, the determination module is specifically configured to:
[0020] Obtain a terminal sequence, where the terminal sequence includes multiple terminals having traffic flows with the MEAs subscribed to the quality-of-service adjustment service in the base station, and the terminals in the terminal sequence are sorted according to user priorities; according to the sorting of the terminals in the terminal sequence, sequentially execute the step of determining the quality-of-service adjustment policy according to the channel quality and the remaining radio bandwidth of the base station for each terminal in the terminal sequence.
[0021] In one embodiment, in the terminal sequence, the same user priority corresponds to multiple terminals, and among them, the multiple terminals corresponding to the same user priority are sorted according to the number of historical service quality adjustment times.
[0022] In one embodiment, the indication module is specifically configured to:
[0023] If the service quality needs to be adjusted, send target indication information to the MEC device, where the target indication information includes a service flow identifier and service quality adjustment policy information. The service flow identifier is used to identify the service flow between the MEA and the terminal, and the service quality adjustment policy information is obtained according to the service quality adjustment policy; the target indication information is used to instruct the MEA deployed in the MEC device to adjust the service quality of the service provided for the terminal according to the service quality adjustment policy information.
[0024] In one embodiment, the device further includes an adjustment module;
[0025] The adjustment module is used to adjust the radio resources allocated by the base station for the service flow between the MEA and the terminal based on the service quality adjustment policy.
[0026] In one embodiment, the device further includes a first receiving module;
[0027] The first receiving module is used to receive the quality adjustment response information sent by the MEC device, where the quality adjustment response information is used to indicate whether the MEA agrees to adjust the service quality of the service provided for the terminal based on the service quality adjustment policy;
[0028] Correspondingly, the adjustment module is specifically configured to: if the MEA agrees to adjust the service quality of the service provided for the terminal based on the service quality adjustment policy, then adjust the radio resources allocated by the base station for the service flow between the MEA and the terminal based on the service quality adjustment policy.
[0029] In one embodiment, the device further includes a second receiving module;
[0030] The second receiving module is used to receive the subscription information sent by the MEC device for the service quality adjustment service. The subscription information carries the identifier of the terminal, the service flow identifier, the second service level, each service level provided by the MEA, and the radio bandwidth requirements corresponding to each service level; where the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the service flow identifier is used to identify the service flow between the MEA and the terminal.
[0031] In one embodiment, the device further includes a first sending module;
[0032] The first sending module is configured to send traffic flow establishment information to the MEC device after detecting the creation of a traffic flow between the terminal and the MEA. The traffic flow establishment information includes the traffic flow identifier, traffic flow address information, and the cell identifier of the cell corresponding to the base station, so that the MEC device can establish a correspondence between the traffic flow identifier, the traffic flow address information, and the registration information of the base station. The registration information of the base station is determined by the MEC device according to the cell identifier; the correspondence is used for the MEC device to send the subscription information to the base station according to the correspondence.
[0033] In one embodiment, the apparatus further includes a second sending module;
[0034] The second sending module is configured to send a registration request to the MEC device. The registration request carries the registration information of the base station, and the registration information of the base station includes the cell identifier and the address information of the base station.
[0035] In a fourth aspect, a quality of service adjustment apparatus is provided, which is used in an MEC device. The apparatus includes:
[0036] A control module, configured to control the MEA deployed in the MEC device to adjust the quality of service provided to the terminal based on a quality of service adjustment policy according to an instruction of the base station;
[0037] Wherein, the quality of service adjustment policy is determined by the base station according to the channel quality of the channel between the base station and the terminal and the remaining radio bandwidth of the base station.
[0038] In one embodiment, the control module is specifically configured to:
[0039] Receive target indication information sent by the base station. The target indication information includes a traffic flow identifier and quality of service adjustment policy information. The traffic flow identifier is used to identify the traffic flow between the MEA and the terminal, and the quality of service adjustment policy information is obtained according to the quality of service adjustment policy; if the MEA agrees to adjust the quality of service provided to the terminal based on the quality of service adjustment policy, then according to the target indication information, control the MEA to adjust the quality of service provided to the terminal.
[0040] In one embodiment, the apparatus further includes a first sending module;
[0041] The first sending module is configured to send quality adjustment response information to the base station, and the quality adjustment response information is used to indicate whether the MEA agrees to adjust the quality of service provided to the terminal based on the quality of service adjustment policy.
[0042] In one embodiment, the apparatus further includes a second sending module;
[0043] The second sending module is configured to send subscription information for a quality of service adjustment service to the base station. The subscription information carries the identifier of the terminal, a service flow identifier, a second service level, each service level provided by the MEA, and the wireless bandwidth requirements corresponding to each service level. Wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the service flow identifier is used to identify the service flow between the MEA and the terminal.
[0044] In one embodiment, the apparatus further includes:
[0045] An obtaining module, configured to obtain a target quality of service policy template corresponding to the deployed MEA from a plurality of pre-configured quality of service policy templates in the MEC device when the MEA is deployed in the MEC device. The target quality of service policy template includes service level items and quality of service information items corresponding to each service level item. The quality of service information item at least includes a wireless bandwidth requirement item.
[0046] An input value receiving module, configured to receive input values for the service level items included in the target quality of service policy template and the quality of service information items corresponding to each service level item.
[0047] A generating module, configured to generate a final quality of service policy template according to the input values.
[0048] Correspondingly, the second sending module is specifically configured to: obtain each service level provided by the MEA and the wireless bandwidth requirements corresponding to each service level from the final quality of service policy template; and send the subscription information to the base station according to each service level provided by the MEA and the wireless bandwidth requirements corresponding to each service level.
[0049] In one embodiment, the apparatus further includes a first receiving module and a creating module;
[0050] The first receiving module is configured to receive service flow establishment information sent by the base station after detecting the creation of a service flow between the terminal and the MEA. The service flow establishment information includes the service flow identifier, service flow address information, and the cell identifier of the cell corresponding to the base station.
[0051] The creating module is configured to create a correspondence relationship among the service flow identifier, the service flow address information, and the registration information of the base station according to the service flow establishment information. The registration information of the base station is determined according to the cell identifier.
[0052] Correspondingly, the second sending module is specifically configured to: send the subscription information to the base station according to the correspondence relationship.
[0053] In one embodiment, the apparatus further includes a second receiving module;
[0054] The second receiving module is configured to receive a registration request sent by the base station. The registration request carries the registration information of the base station, and the registration information of the base station includes the cell identifier and the address information of the base station.
[0055] In a fifth aspect, a communication device is provided, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, it implements the method described in any one of the first aspects above, or when the computer program is executed by the processor, it implements the method described in any one of the second aspects above.
[0056] In a sixth aspect, a communication system is provided, which includes a base station, a MEC device, and a terminal;
[0057] wherein, the base station is configured to execute the quality of service adjustment method described in any one of the first aspects above;
[0058] The MEC device is configured to execute the quality of service adjustment method described in any one of the second aspects above.
[0059] In a seventh aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it implements the method described in any one of the first aspects above, or when the computer program is executed by the processor, it implements the method described in any one of the second aspects above.
[0060] The beneficial effects brought by the technical solution provided by the embodiments of the present application at least include:
[0061] In the quality of service adjustment method, the base station can obtain the channel quality between itself and the terminal, and determine a quality of service adjustment strategy according to the obtained channel quality and the remaining radio bandwidth of the base station. Then, the base station can, based on the quality of service adjustment strategy, instruct the MEA deployed in the MEC device to adjust the quality of service provided for the terminal. In this way, the quality of service provided by the MEA for the terminal can be adapted to the channel quality between the base station and the terminal and the remaining radio bandwidth of the base station, that is, adapted to the air interface radio environment, thereby improving the flexibility of the MEA to provide services for the terminal and ensuring high-performance quality between end-to-end. Description of the Drawings
[0062] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0063] Figure 2 It is a flowchart of a quality of service adjustment method provided by an embodiment of the present application;
[0064] Figure 3Flowchart of a method for adjusting quality of service provided by an embodiment of the present application;
[0065] Figure 4 Flowchart of a method for adjusting quality of service provided by an embodiment of the present application;
[0066] Figure 5 Flowchart of a method for adjusting quality of service provided by an embodiment of the present application;
[0067] Figure 6 Flowchart of a method for adjusting quality of service provided by an embodiment of the present application;
[0068] Figure 7 Flowchart of a method for adjusting quality of service provided by an embodiment of the present application;
[0069] Figure 8 Flowchart of a method for adjusting quality of service provided by an embodiment of the present application;
[0070] Figure 9 Flowchart of a method for adjusting quality of service provided by an embodiment of the present application;
[0071] Figure 10 Block diagram of a device for adjusting quality of service provided by an embodiment of the present application;
[0072] Figure 11 Block diagram of a device for adjusting quality of service provided by an embodiment of the present application;
[0073] Figure 12 Block diagram of a device for adjusting quality of service provided by an embodiment of the present application;
[0074] Figure 13 Block diagram of a device for adjusting quality of service provided by an embodiment of the present application;
[0075] Figure 14 Block diagram of a communication device provided by an embodiment of the present application. Detailed implementation manners
[0076] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0077] The MEC (Mobile Edge Computing) device is a server deployed near the base station, which can mainly implement various functions such as wireless data local offloading, wireless positioning, and wireless information services.
[0078] In a traditional mobile communication system, the service data sent by a terminal can be sent to the core network via a base station. After reaching the core network, the service data is forwarded through multiple routes and finally reaches an application server, so that the application server can process the service data. Correspondingly, the service data sent by the application server to the terminal also needs to pass through the same transmission path to finally reach the terminal. This working mode of forwarding service data layer by layer in the traditional mobile communication system through the core network will bring a relatively large service processing delay and increase the processing burden of the core network.
[0079] In view of this, the present application provides a service quality adjustment method. In this service quality adjustment method, a base station can obtain the channel quality between itself and a terminal, and determine a service quality adjustment strategy according to the obtained channel quality and the remaining radio bandwidth of the base station. Then, the base station can, based on this service quality adjustment strategy, instruct the MEA deployed in the MEC device to adjust the service quality of the service provided for the terminal. In this way, the service quality of the service provided by the MEA for the terminal can be adapted to the channel quality between the base station and the terminal and the remaining radio bandwidth of the base station, that is, adapted to the radio air interface environment, so as to improve the flexibility of the MEA to provide services for the terminal. The present application enables an edge node to directly send a radio capability opening request to a target transmission node on the radio access network side, and the target transmission node can also directly send the capability opening response information to the edge node without passing through the core network, which well solves the problems of information transmission delay and increased core network processing burden existing in the prior art in the radio capability opening manner.
[0080] Next, a brief description will be given of the implementation environment involved in the service quality adjustment method provided by the embodiments of the present application.
[0081] Please refer to Figure 1 , this implementation environment may include a terminal 101, a base station 102, and a MEC device 103. Among them, an MEA is deployed in the MEC device 103. The terminal 101 can communicate with the base station 102, and the base station 102 can communicate with the MEC device 103.
[0082] It should be noted that the terminal 101 can be a user equipment (UE), an access terminal, a UE unit, a UE station, a mobile station, a mobile unit, a remote station, a remote terminal, a mobile device, a UE terminal, a wireless communication device, a UE agent, or a UE device, etc. The access terminal can be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device, or other processing devices connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal in a 5G network, or a terminal in a future evolved public land mobile network (PLMN) network, etc.
[0083] In addition, the base station 102 can be a base transceiver station (BTS) in a global system for mobile communication (GSM) or a code division multiple access (CDMA) network, or an NB (NodeB) in a wideband code division multiple access (WCDMA), or an eNB or eNodeB (evolutional NodeB) in a long term evolution (LTE), or a gNB in a 5G communication system, or a radio controller in a cloud radio access network (CRAN) scenario. The embodiments of the present application do not make specific limitations thereto.
[0084] It should be noted that although Figure 1 only one base station 102 is shown, in actual applications, the MEC device 103 can communicate with multiple base stations 102. In addition, multiple MEAs can be deployed in the MEC device 103. The terminal 101 is a terminal accessing the base station 102, and there is a traffic flow between the terminal 101 and the MEA. The number of terminals 101 can be multiple.
[0085] Please continue to refer to Figure 1 as Figure 1As shown in the figure, the base station 102 may include a wireless proxy service, a wireless resource scheduling service, a traffic flow monitoring service, and a wireless measurement service. Among them, the wireless proxy service, the wireless resource scheduling service, the traffic flow monitoring service, and the wireless measurement service may all be microservices. The function of the wireless proxy service includes communicating with the MEC device 103. The function of the wireless resource scheduling service includes allocating wireless resources for the terminal 101. The wireless resources include time-domain resources and frequency-domain resources. The function of the traffic flow monitoring service includes monitoring the traffic flow between the terminal 101 and the MEA. The function of the wireless measurement service includes obtaining the channel quality between the base station 102 and the terminal 101.
[0086] The MEC device 103 may include a wireless capability open service, an MEA, an application management service, a UPF service (User Plane Function), a gateway service, a resource orchestrator, K8S, an operating system, and a hardware infrastructure. Among them, the wireless capability open service, the application management service, the UPF service, the gateway service, the resource orchestrator, and K8S may all be microservices. The function of the wireless capability open service includes communicating with the base station 102. The function of the application management service includes managing the MEAs deployed in the MEC device 103. The UPF service is a link connecting the core network and the MEC device 103 and can provide functions such as data splitting and traffic statistics. The function of the gateway service includes forwarding the data sent by the base station 102 received by the wireless capability open service to the MEA, and forwarding the data of the MEA to the wireless capability open service. Usually, the MEAs in the MEC device 103 are generally deployed in different virtual machines or containers. The function of the resource orchestrator includes orchestrating computing resources and storage resources for the containers or virtual machines in the MEC device 103. K8S is a container creation and management tool. Of course, other portable container orchestration and management tools similar to K8S can also be used.
[0087] Please refer to Figure 2 , which shows a schematic diagram of a service quality adjustment method provided by an embodiment of the present application. The service quality adjustment method can be applied to Figure 1 the base station shown in Figure 2 As shown in
[0088] Step 201: The base station obtains the channel quality of the channel between itself and the terminal.
[0089] In an alternative embodiment of the present application, the base station may first obtain a terminal sequence, where the terminal sequence includes multiple terminals, all of the multiple terminals are connected to the base station, and the multiple terminals are terminals with traffic flows to MEAs that subscribe to quality of service adjustment services in the base station. The technical process of an MEA subscribing to a quality of service adjustment service in the base station will be described in the embodiments below.
[0090] The terminals in the terminal sequence are sorted according to user priorities. Optionally, the terminals in the terminal sequence are sorted in descending order of user priorities. In practical applications, multiple terminals correspond to the same user priority, where the multiple terminals corresponding to the same user priority are sorted according to the number of historical quality of service adjustment times. Optionally, the multiple terminals corresponding to the same user priority are arranged in ascending order of the number of historical quality of service adjustment times.
[0091] The terminal sequence may be (P UE (1), P UE (2),..., P UE (p)), P UE (i), where i = 1... p refers to the i-th user priority. Among P UE (i), i = 1... p, there are N terminals UE(j), j = 1... N, and the N terminals UE(j), j = 1... N are arranged in ascending order of the number of historical quality of service adjustment times.
[0092] For each terminal in the terminal sequence, the base station can obtain the channel quality of the channel between itself and the terminal. The channel quality of the channel between the base station and the terminal can be obtained by using the CSI (Channel State Information) of the uplink channel and the CQI (Channel Quality Indication) of the downlink channel. For example, the channel quality of the channel between the base station and the terminal can be the user radio link quality NR_LINK_Q(j) of the terminal calculated by using CSI and CQI. The user radio link quality NR_LINK_Q(j) can be a quality level, and the quality level can include two levels: high and low.
[0093] Step 202: The base station determines a quality of service adjustment strategy according to the channel quality and the remaining radio bandwidth of the base station currently.
[0094] In an alternative embodiment of the present application, the base station may execute the step of determining a quality of service adjustment strategy according to the channel quality and the remaining radio bandwidth of the base station currently for each terminal in the terminal sequence in turn according to the sorting of the terminals in the terminal sequence.
[0095] Among them, the service quality adjustment strategy can be a strategy for adjusting the service quality of the service currently provided by the MEA to the terminal. The service quality adjustment strategy can include a strategy for increasing the service quality of the service currently provided by the MEA to the terminal and a strategy for decreasing the service quality of the service currently provided by the MEA to the terminal.
[0096] The currently remaining radio bandwidth of the base station refers to the unoccupied radio bandwidth in the base station, which is the bandwidth that the base station can currently provide for communication services. That is, the currently remaining radio bandwidth of the base station is the remaining radio bandwidth after the base station provides radio bandwidth for the traffic flow between the terminal and the MEA.
[0097] Step 203: Based on the service quality adjustment strategy, the base station instructs the MEA deployed in the MEC device to adjust the service quality of the service provided to the terminal.
[0098] In an alternative embodiment of the present application, for some terminals, the base station determines that the MEA does not need to adjust the service quality provided for them according to the channel quality and the currently remaining radio bandwidth of the base station, while for some terminals, the base station determines that the MEA needs to adjust the service quality provided for them according to the channel quality and the currently remaining radio bandwidth of the base station.
[0099] In order to reduce the communication data volume between the base station and the MEC device and save bandwidth, the base station can only instruct the MEC device in the case where the service quality needs to be adjusted, and for the case where the service quality does not need to be adjusted, the base station can not instruct the MEC device.
[0100] In addition, in the embodiment of the present application, the base station does not send the measurement information of the channel, that is, the channel quality between the base station and the terminal, to the MEC device, and the MEC device adjusts the service quality of the service provided to the terminal according to the channel quality. Instead, the base station itself obtains the service quality adjustment strategy according to the channel quality and instructs the MEA deployed in the MEC device to adjust the service quality of the service provided to the terminal according to the service quality adjustment strategy. In this way, the communication data volume between the base station and the MEC device can also be reduced and bandwidth can be saved.
[0101] In the embodiment of the present application, the base station can obtain the channel quality between itself and the terminal, and determine the service quality adjustment strategy according to the obtained channel quality and the currently remaining radio bandwidth of the base station. Then, the base station can, based on the service quality adjustment strategy, instruct the MEA deployed in the MEC device to adjust the service quality of the service provided to the terminal. In this way, the service quality of the service provided by the MEA to the terminal can be adapted to the channel quality between the base station and the terminal and the currently remaining radio bandwidth of the base station, that is, adapted to the radio environment of the air interface, so as to improve the flexibility of the MEA to provide services to the terminal.
[0102] For example, assume that the MEA is a video application that provides an online video viewing service for the terminal. If the quality of service (QoS) of the service currently provided by the MEA to the terminal is high, for example, it provides a 4K high-definition video stream to the terminal. However, if the radio air interface environment between the current terminal and the base station is poor, then there is a high probability that the video playback on the terminal will freeze. In the technical solution provided in this application, when the radio air interface environment is poor, the base station can instruct the MEA to lower the QoS of the service currently provided to the terminal. For example, after the MEA lowers the QoS of the service currently provided to the terminal, it provides a standard-definition video stream to the terminal, so that the terminal will not freeze.
[0103] If the QoS of the service currently provided by the MEA to the terminal is low, for example, it provides a standard-definition video stream to the terminal. However, if the radio air interface environment between the current terminal and the base station is good, in the technical solution provided in this application, the base station can instruct the MEA to increase the QoS of the service currently provided to the terminal. For example, after the MEA increases the QoS of the service currently provided to the terminal, it provides a 4K high-definition video stream to the terminal, so that the QoS of the service provided to the terminal can be improved on the premise of making full use of radio resources.
[0104] As can be seen from the above example, by dynamically adjusting the QoS of the service provided by the MEA to the terminal, the flexibility of the MEA to provide services to the terminal can be greatly improved.
[0105] The embodiments of this application provide three possible QoS adjustment strategies. Next, the embodiments of this application will explain these three QoS adjustment strategies one by one:
[0106] First, if the channel quality between the base station and the terminal is better than the target channel quality, and the remaining radio bandwidth of the base station is greater than or equal to the radio bandwidth required to adjust the second service level to the first service level, then the QoS adjustment strategy is to adjust the second service level to the first service level. Here, the second service level is the service level corresponding to the service currently provided by the MEA to the terminal, and the first service level is higher than the second service level.
[0107] In an alternative embodiment of this application, the first service level is one level higher than the second service level.
[0108] As described above, the channel quality between the base station and the terminal can be the user radio link quality NR_LINK_Q(j) of the terminal. The user radio link quality NR_LINK_Q(j) can be a quality level, and the quality level can include two levels: high and low. In this case, that the channel quality between the base station and the terminal is better than the target channel quality means that the user radio link quality NR_LINK_Q(j) is at a high level.
[0109] It should be noted that, in an alternative embodiment of the present application, multiple quality of service policy templates can be pre-configured in the MEC device. Each quality of service policy template includes a service level item and a quality of service information item corresponding to each service level item. The quality of service information item at least includes a radio bandwidth requirement item. Optionally, the quality of service information item may further include a service delay item, a service packet loss rate item, etc.
[0110] After the MEA is deployed in the MEC device, the target quality of service policy template corresponding to the deployed MEA can be obtained from the multiple quality of service policy templates pre-configured in the MEC device. Then, the MEC device can receive the input values of the service level item included in the target quality of service policy template and the quality of service information items corresponding to each service level item from the technician, and generate a final quality of service policy template according to the input values. Among them, the final quality of service policy template includes each service level that the MEA can provide and the radio bandwidth requirements corresponding to each service level.
[0111] When the MEA subscribes to the quality of service adjustment service from the base station, it can extract each service level that the MEA can provide and the radio bandwidth requirements corresponding to each service level from the final quality of service policy template and send them to the base station. At the same time, when the MEA subscribes to the quality of service adjustment service from the base station, the MEC device can also send the service level of the service currently provided by the MEA to the terminal (that is, the second service level described above) to the base station. In this way, the base station can determine the quality of service adjustment policy according to the above information reported by the MEC device, combined with the channel quality between the base station and the terminal and the remaining radio bandwidth of the base station.
[0112] In the embodiment of the present application, the MEC device formulates a unified quality of service policy template, and the technician can customize the template parameter values corresponding to the MEA, thereby improving system consistency.
[0113] Second, if the channel quality is better than the target channel quality, and the remaining radio bandwidth of the base station is less than the radio bandwidth required to adjust the second service level to the first service level, the quality of service adjustment policy is to maintain the second service level unchanged.
[0114] Since the first service level is higher than the second service level, generally, the wireless bandwidth required for the first service level is greater than that required for the second service level. Therefore, adjusting the second service level to the first service level will necessarily require more wireless bandwidth support. If the remaining wireless bandwidth of the base station is less than the wireless bandwidth required to adjust the second service level to the first service level, it means that there is no wireless bandwidth condition to adjust the second service level to the first service level. In this case, the second service level can be maintained unchanged. On the contrary, if the remaining wireless bandwidth of the base station is greater than or equal to the wireless bandwidth required to adjust the second service level to the first service level, it means that there is a wireless bandwidth condition to adjust the second service level to the first service level. In this case, the second service level can be adjusted to the first service level.
[0115] Thirdly, if the channel quality is not better than the target channel quality, the service quality adjustment strategy is to adjust the second service level to the third service level, where the third service level is lower than the second service level.
[0116] In an optional embodiment of the present application, the third service level is a service level one level lower than the second service level.
[0117] As described above, the channel quality between the base station and the terminal can be the user radio link quality NR_LINK_Q(j) of the terminal. This user radio link quality NR_LINK_Q(j) can be a quality level, and this quality level can include two levels: high and low. In this case, the channel quality between the base station and the terminal not being better than the target channel quality means that the user radio link quality NR_LINK_Q(j) is at a low level.
[0118] The embodiments of the present application provide an optional technical process for indicating the service quality provided by the MEA deployed in the MEC device to the terminal. Among them, this technical process can include the following content:
[0119] For the case where the service quality needs to be adjusted, the base station sends target indication information to the MEC device. This target indication information includes a traffic flow identifier and service quality adjustment strategy information. The traffic flow identifier is used to identify the traffic flow between the MEA and the terminal. The service quality adjustment strategy information is obtained according to the service quality adjustment strategy. It should be noted that the traffic flow identifier in the above text is reported by the MEA to the base station when subscribing to the service quality adjustment service from the base station.
[0120] After the MEC device receives this target indication information, it can locate the traffic flow between the MEA and the terminal according to the traffic flow identifier, and can execute the process of adjusting the service quality for the located traffic flow according to the service quality adjustment strategy information.
[0121] In addition, after determining the service quality adjustment policy, the base station can also adjust the radio resources allocated by the base station for the traffic flow between the MEA and the terminal based on the service quality adjustment policy.
[0122] In an alternative embodiment of the present application, the base station can receive the quality adjustment response information sent by the MEC device. The quality adjustment response information is used to indicate whether the MEA agrees to adjust the service quality provided for the terminal based on the service quality adjustment policy. If the MEA agrees to adjust the service quality provided for the terminal based on the service quality adjustment policy, the base station can adjust the radio resources allocated by the base station for the traffic flow between the MEA and the terminal based on the service quality adjustment policy.
[0123] For example, in the case where the MEA agrees to lower the service quality provided for the terminal, the base station can reduce the quantity and / or size of the radio resources allocated for the traffic flow between the MEA and the terminal. In the case where the MEA agrees to increase the service quality provided for the terminal, the base station can increase the quantity and / or size of the radio resources allocated for the traffic flow between the MEA and the terminal.
[0124] The base station adjusts the radio resources allocated by itself for the traffic flow between the MEA and the terminal based on the service quality adjustment policy, which can improve the utilization rate of radio resources and avoid waste of radio resources.
[0125] As described above, the MEA can subscribe to the service quality adjustment service from the base station. Next, the technical process of the subscription will be briefly described in the present application:
[0126] The base station receives the subscription information for the service quality adjustment service sent by the MEC device. The subscription information carries the identifier of the terminal, the traffic flow identifier, the second service level, each service level provided by the MEA, and the radio bandwidth requirements corresponding to each service level.
[0127] As can be known from the above description, the base station can construct a terminal sequence according to the identifier of the terminal, and perform the steps of determining the service quality adjustment policy for each terminal in the terminal sequence. The base station can send target indication information to the MEC device according to the traffic flow identifier, so that the MEC device can locate the traffic flow between the MEA and the terminal according to the traffic flow identifier, and can perform the process of adjusting the service quality for the located traffic flow according to the service quality adjustment policy information. In addition, the base station can determine the service quality adjustment policy based on the second service level, each service level provided by the MEA, and the radio bandwidth requirements corresponding to each service level, and in combination with the channel quality between the base station and the terminal and the remaining radio bandwidth of the base station.
[0128] Before the MEA subscribes to the quality of service adjustment service from the base station, after detecting the creation of a service flow between the terminal and the MEA, the base station may send service flow establishment information to the MEC device, so that the MEA can subscribe to the quality of service adjustment service from the base station based on the service flow establishment information.
[0129] Among them, after detecting the creation of a service flow between the terminal and the MEA, the base station may send service flow establishment information to the MEC device. The service flow establishment information includes a service flow identifier, service flow address information, and a cell identifier of the cell corresponding to the base station, for the MEC device to establish a correspondence between the service flow identifier, service flow address information, and the registration information of the base station. Optionally, the registration information of the base station is determined by the MEC device according to the cell identifier. The above correspondence is used for the MEC device to send subscription information to the base station according to the correspondence.
[0130] Specifically, the MEA generally can only obtain the service flow address information, that is, the source address information and target address information of the service flow. The MEC device may query the above-mentioned correspondence based on the service flow address information obtained by the MEA, and obtain the service flow identifier and the registration information of the base station based on the correspondence. The MEC device may send subscription information to the base station based on the registration information of the base station, and carry the service flow identifier in the subscription information.
[0131] In an alternative embodiment of the present application, the base station may send a registration request to the MEC device, where the registration request carries the registration information of the base station, and the registration information of the base station includes a cell identifier and the address information of the base station.
[0132] In addition to the quality of service adjustment method described above, the embodiments of the present application also provide another quality of service adjustment method, which can be applied to Figure 1 the MEC device shown in, and the quality of service adjustment method may include the following steps:
[0133] According to the instruction of the base station, the MEC device controls the MEA deployed in the MEC device to adjust the quality of service provided for the terminal; among them, the quality of service adjustment strategy is determined by the base station according to the channel quality of the channel between the base station and the terminal and the remaining wireless bandwidth of the base station.
[0134] Please refer to Figure 3 , in an alternative embodiment of the present application, the technical process of controlling the MEA deployed in the MEC device to adjust the quality of service provided for the terminal may include the following steps:
[0135] Step 301, the MEC device receives the target indication information sent by the base station, and the target indication information includes a service flow identifier and quality of service adjustment policy information.
[0136] Step 302: If the MEA agrees to adjust the quality of service provided to the terminal based on the quality of service adjustment policy, the MEC device controls the MEA to adjust the quality of service provided to the terminal according to the target indication information.
[0137] Optionally, after receiving the target indication information, the MEC device can locate the service flow between the MEA and the terminal according to the service flow identifier, and can execute the process of adjusting the quality of service for the located service flow according to the quality of service adjustment policy information.
[0138] In an optional embodiment of the present application, the MEC device can also send a quality adjustment response information to the base station, and the quality adjustment response information is used to indicate whether the MEA agrees to adjust the quality of service provided to the terminal based on the quality of service adjustment policy.
[0139] As described above, the MEA deployed in the MEC device can subscribe to the quality of service adjustment service from the base station. During the process of subscribing to the quality of service adjustment service from the base station, the MEC device can send subscription information for the quality of service adjustment service to the base station, where the subscription information carries the identifier of the terminal, the service flow identifier, the second service level, each service level provided by the MEA, and the wireless bandwidth requirements corresponding to each service level.
[0140] As described above, when the MEA is deployed in the MEC device, the MEC device can obtain the target quality of service policy template corresponding to the deployed MEA from multiple pre-configured quality of service policy templates. The target quality of service policy template includes service level items and service quality information items corresponding to each service level item, where the service quality information item at least includes a wireless bandwidth requirement item. Then, the MEC device can receive input values for the service level items included in the target quality of service policy template and the service quality information items corresponding to each service level item, and generate a final quality of service policy template according to the input values. The MEC device can obtain each service level provided by the MEA and the wireless bandwidth requirements corresponding to each service level from the final quality of service policy template, and send subscription information to the base station according to each service level provided by the MEA and the wireless bandwidth requirements corresponding to each service level.
[0141] Before subscribing to the quality of service (QoS) service from the base station, the MEC device may also receive the traffic flow establishment information sent by the base station after detecting the creation of a traffic flow between the terminal and the MEA. The traffic flow establishment information includes a traffic flow identifier, traffic flow address information, and a cell identifier of the cell corresponding to the base station. The MEC device may create a correspondence relationship among the traffic flow identifier, traffic flow address information, and the registration information of the base station according to the traffic flow establishment information, where the registration information of the base station is determined according to the cell identifier. Then, the MEC device may send a subscription information to the base station according to the correspondence relationship.
[0142] Previously, the MEC device may also receive a registration request sent by the base station, and the registration request carries the registration information of the base station. The registration information of the base station includes a cell identifier and the address information of the base station.
[0143] Please refer to Figure 4 , which shows a flowchart of a quality of service adjustment method provided by an embodiment of the present application. As Figure 4 shown, the quality of service adjustment method may include the following steps;
[0144] Step 401: The base station obtains a terminal sequence.
[0145] Among them, the terminal sequence includes multiple terminals. All of the multiple terminals are connected to the base station, and the multiple terminals are terminals that have a traffic flow with the MEA that subscribes to the quality of service adjustment service in the base station. The technical process of the MEA subscribing to the quality of service adjustment service in the base station will be described in the embodiments below.
[0146] The terminals in the terminal sequence are sorted according to the user priority. Optionally, the terminals in the terminal sequence are sorted in descending order of user priority. In practical applications, multiple terminals correspond to the same user priority. Among them, the multiple terminals corresponding to the same user priority are sorted according to the number of historical quality of service adjustment times. Optionally, the multiple terminals corresponding to the same user priority are arranged in ascending order of the number of historical quality of service adjustment times.
[0147] The terminal sequence may be (P UE (1), P UE (2),..., P UE (p)), P UE (i), where i = 1...p refers to the i-th user priority. Among them, P UE (i), i = 1...p includes N terminals UE(j), j = 1...N, and the N terminals UE(j), j = 1...N are arranged in ascending order of the number of historical quality of service adjustment times.
[0148] Step 402: For each terminal in the terminal sequence, the radio measurement service in the base station measures the uplink channel between the base station and the terminal to obtain CSI (Channel State Information), and obtains the CQI (Channel Quality Indication) measured by the terminal for the downlink channel between itself and the base station.
[0149] Step 403: For each terminal in the terminal sequence, the radio proxy service in the base station performs smoothing filtering on the CSI and CQI described above, and calculates the user radio link quality NR_LINK_Q(j) of the terminal based on the smoothed CSI and CQI. The user radio link quality NR_LINK_Q(j) is used to characterize the channel quality between the terminal and the base station.
[0150] It should be noted that the user radio link quality NR_LINK_Q(j) can be a quality level, and the quality level can include two levels: high and low.
[0151] Step 404: According to the sorting of the terminals in the terminal sequence, the base station sequentially executes the steps of determining the service quality adjustment strategy for each terminal in the terminal sequence.
[0152] Among them, for each terminal in the terminal sequence, the steps of determining the service quality adjustment strategy include:
[0153] Obtain the remaining radio bandwidth NR_BAND_REST of the base station currently.
[0154] If the level of the terminal's NR_LINK_Q(j) is high, it can be considered that the channel quality between the base station and the terminal is better than the target channel quality. In this case, obtain the radio bandwidth requirement NR_BAND corresponding to the service level (the first service level) that is one level higher than the service level (the second service level) corresponding to the service currently provided by the MEA for the terminal. next If NR_BAND_REST >= NR_BAND next - NR_BAND current (j), then the service quality adjustment strategy is to adjust the second service level to the first service level. If NR_BAND_RES < NR_BAND next - NR_BAND current (j), the service quality adjustment strategy is to maintain the second service level unchanged. It should be noted that if the second service level is the highest service level, the base station can directly jump out of the process.
[0155] If the NR_LINK_Q(j) level is low, it can be considered that the channel quality between the base station and the terminal is not better than the target channel quality. In this case, the quality of service adjustment strategy can be determined as adjusting the second service level to the third service level, where the third service level is one level lower than the second service level. It should be noted that if the second service level is the lowest service level, the base station can directly jump out of the process.
[0156] Step 405: For each terminal in the terminal sequence that needs to adjust the service level, the radio proxy service in the base station sends target indication information to the radio capability open service in the MEC device respectively.
[0157] Among them, the target indication information includes a traffic flow identifier and quality of service adjustment strategy information. The traffic flow identifier is used to identify the traffic flow between the MEA and the terminal, and the quality of service adjustment strategy information is obtained according to the quality of service adjustment strategy corresponding to the terminal.
[0158] In addition, the target indication information may also include the cell identifier of the cell corresponding to the base station and the identifier of the terminal itself.
[0159] Step 406: After receiving the target indication information, the radio capability open service in the MEC device queries the MEA application identifier and notification URL corresponding to the traffic flow identifier according to the received traffic flow identifier in the target indication information.
[0160] Among them, the MEA application identifier is the identifier of the MEA with which there is a traffic flow with the terminal, and the notification URL is the notification address corresponding to the MEA.
[0161] Step 407: The radio capability open service in the MEC device forwards the target indication information, the MEA application identifier, and the notification URL to the gateway service in the MEC device.
[0162] Step 408: The gateway service in the MEC device sends the target indication information to the MEA with which there is a traffic flow with the terminal based on the notification URL and the MEA application identifier.
[0163] Step 409: After receiving the target indication information, the MEA with which there is a traffic flow with the terminal decides whether to agree to adjust the quality of service provided to the terminal based on the quality of service adjustment strategy.
[0164] Step 410: The MEA with which there is a traffic flow with the terminal sends quality adjustment response information to the gateway service. The quality adjustment response information includes a traffic flow identifier and a first status code, and the first status code is used to indicate whether to agree to adjust the quality of service provided to the terminal based on the quality of service adjustment strategy.
[0165] Among them, the response information may further include the identifier of the cell and the identifier of the terminal itself.
[0166] Step 411, the gateway service in the MEC device sends the quality adjustment response information to the radio capability open service in the MEC device.
[0167] Step 412, the radio capability open service in the MEC device queries the base station registration information corresponding to the service flow identifier according to the service flow identifier in the quality adjustment response information. The base station registration information at least includes the communication address of the radio proxy service in the base station and the cell identifier of the cell corresponding to the base station.
[0168] Step 413, the radio capability open service in the MEC device sends the quality adjustment response information to the radio proxy service in the base station according to the communication address of the radio proxy service.
[0169] Step 414, the radio proxy service in the base station receives the quality adjustment response information.
[0170] Step 415, if the first status code in the quality adjustment response information indicates that the MEA agrees to adjust the quality of service provided to the terminal based on the quality of service adjustment policy, the radio resource scheduling service in the base station adjusts the radio resources allocated by the base station for the service flow between the MEA and the terminal based on the quality of service adjustment policy.
[0171] Please refer to Figure 5 , this embodiment of the present application will describe the technical process of the MEA subscribing to the quality of service adjustment service in the base station. As Figure 5 shown, this technical process may include the following steps:
[0172] Step 501, the MEA in the MEC device sends initial subscription information to the gateway service.
[0173] Among them, the initial subscription information includes the MEA application identifier, service flow address information, service level of the service currently provided by the MEA to the terminal (that is, the second service level described above), token information, notification URL, and the identifier of the terminal. Among them, the service flow address information includes uplink source address information and uplink destination address information, and downlink source address information and downlink destination address information. The service flow address information may include an IP address and a port number.
[0174] Step 502, the gateway service in the MEC device receives the initial subscription information, authenticates and authorizes the MEA according to the MEA application identifier and token information included in the initial subscription information. After the authentication and authorization are passed, the initial subscription information is forwarded to the radio capability open service in the MEC device.
[0175] Step 503: After the wireless capability open service in the MEC device receives the subscription message, it obtains the service flow address information from the initial subscription information.
[0176] Step 504: The wireless capability open service in the MEC device queries the service flow identifier corresponding to the service flow address information according to the service flow address information obtained from the initial subscription information, and then queries the base station registration information corresponding to the service flow identifier according to the service flow identifier. The base station registration information at least includes the communication address of the wireless proxy service in the base station and the cell identifier of the cell corresponding to the base station.
[0177] Step 505: The wireless capability open service in the MEC device sends the subscription information to the wireless proxy service in the base station according to the communication address of the wireless proxy service.
[0178] Wherein, the subscription information may include a second service level, an identifier of the terminal, a service flow identifier, and a cell identifier.
[0179] In addition, the subscription information may further include each service level that the MEA can provide and the quality of service information corresponding to each service level. The quality of service information at least includes service radio bandwidth, service delay, service packet loss rate, etc.
[0180] In an alternative embodiment of the present application, multiple quality of service policy templates may be pre-created in the MEC device. Each quality of service policy template may include a service type, different service levels, and the quality of service information corresponding to different service levels. After successfully deploying a certain MEA, technicians can select a quality of service policy template that matches the deployed MEA, and fill in the values of the service level, the values of the quality of service information, etc. in the quality of service policy template. These values can be configured for the wireless capability open service in the MEC device.
[0181] In step 505, the wireless capability open service in the MEC device can find each service level provided by the MEA and the quality of service information corresponding to each service level from the quality of service policy template of the MEA, and send each service level provided by the MEA and the quality of service information corresponding to each service level to the wireless proxy service in the base station through the subscription information.
[0182] Step 506: The wireless proxy service in the base station obtains the cell identifier, the identifier of the terminal, the service flow identifier, and the second service level from the subscription information, and stores them correspondingly. At the same time, the wireless proxy service can also obtain each service level that the MEA can provide and the quality of service information corresponding to each service level.
[0183] Step 507: The wireless proxy service in the base station sends a subscription response message to the wireless capability open service in the MEC device.
[0184] Among them, the subscription response information carries a cell identifier, an identifier of the terminal, a service flow identifier, and a second status code; the second status code is used to indicate whether the subscription is successful or failed. If it fails, the subscription response information further needs to carry the reason for the subscription failure.
[0185] Step 508: The radio capability open service in the MEC device receives a subscription response message. If the second status code indicates that the subscription is successful, the radio capability open service saves the corresponding relationship between the service flow identifier, the MEA application identifier, the notification URL address, the cell identifier, and the identifier of the terminal. If the second status code indicates that the subscription fails, the radio capability open service module does not save the corresponding relationship described above.
[0186] Step 509: The radio capability open service in the MEC device sends a subscription response message to the gateway service.
[0187] Step 510: The gateway service in the MEC device sends a subscription response message to the MEA.
[0188] In practical applications, after the MEA subscribes to the quality of service adjustment service in the base station, it can also cancel the subscription to the quality of service adjustment service. For example, in cases such as the end of the service flow or manual intervention, the MEA can cancel the subscription to the quality of service adjustment service.
[0189] Please refer to Figure 6 , this embodiment of the present application will describe the technical process of the MEA canceling the subscription to the quality of service adjustment service. As Figure 6 shown, this technical process may include the following steps:
[0190] Step 601: The MEA in the MEC device sends initial unsubscribe information to the gateway service.
[0191] Among them, the unsubscribe information at least carries the MEA application identifier, the token information, the identifier of the terminal, and the service flow address information.
[0192] Step 602: The gateway service in the MEC device receives the initial unsubscribe information, authenticates and authorizes the MEA according to the MEA application identifier and the token information included in the initial unsubscribe information. After the authentication and authorization are passed, the initial unsubscribe information is forwarded to the radio capability open service in the MEC device.
[0193] Step 603: The wireless capability open service in the MEC device obtains the service flow address information from the initial unsubscribe information, queries the service flow identifier corresponding to the service flow address information, and then queries the base station registration information corresponding to the service flow identifier according to the service flow identifier. The base station registration information at least includes the communication address of the wireless proxy service in the base station and the cell identifier of the cell corresponding to the base station.
[0194] Step 604: The wireless capability open service in the MEC device sends the unsubscribe information to the wireless proxy service in the base station based on the communication address of the wireless proxy service.
[0195] Among them, the unsubscribe information may include the identifier of the terminal, the service flow identifier, and the cell identifier.
[0196] Step 605: The wireless proxy service in the base station obtains the service flow identifier from the unsubscribe information, queries the corresponding relationship between the cell identifier, the identifier of the terminal, the service flow identifier, and the second service level according to the service flow identifier, and deletes the corresponding relationship.
[0197] Step 606: The wireless proxy service in the base station sends an unsubscribe response message to the wireless capability open service in the MEC device.
[0198] The unsubscribe response message may carry the service flow identifier, the cell identifier, and the identifier of the terminal.
[0199] Step 607: The wireless capability open service in the MEC device deletes the corresponding relationship between the stored service flow identifier, the MEA application identifier, the notification URL address, the cell identifier, and the identifier of the terminal according to the unsubscribe response message.
[0200] Step 608: The wireless capability open service in the MEC device forwards the unsubscribe response message to the gateway service.
[0201] Step 609: The gateway service in the MEC device forwards the unsubscribe response message to the MEA.
[0202] As described above, in Figure 5 and Figure 6 the corresponding technical process, the MEC stores the corresponding relationship between the service flow address information, the service flow identifier, and the base station registration information. Among them, this corresponding relationship is obtained by the MEC through the service flow establishment process. Please refer to Figure 7 , and this application embodiment will briefly describe the service flow registration process:
[0203] Step 701: If the traffic monitoring service in the base station detects that the traffic flow between the terminal and the MEA is successfully created, the traffic monitoring service detects the uplink user data packets and downlink user data packets of the traffic flow to obtain the source address information and destination address information of the traffic flow.
[0204] Step 702: The traffic monitoring service in the base station sends a traffic flow establishment notification to the wireless proxy service. The traffic flow establishment notification includes the cell identifier of the cell corresponding to the base station, the identifier of the terminal, the identifier of the QoS flow, and the traffic flow address information. Among them, the traffic flow address information includes the source address information and the destination address information.
[0205] Step 703: The wireless proxy service in the base station generates a globally unique traffic flow identifier using the cell identifier, the identifier of the terminal, and the identifier of the QoS flow. The wireless proxy service establishes the corresponding relationship between the traffic flow identifier and the traffic flow address information.
[0206] Step 704: The wireless proxy service in the base station forwards the traffic flow establishment information to the wireless capability open service in the MEC device. Among them, the traffic flow establishment information includes the traffic flow identifier, the traffic flow address information, and the cell identifier.
[0207] Step 705: After receiving the traffic flow establishment information, the wireless capability open service in the MEC device searches for the base station registration information according to the cell identifier carried in the traffic flow establishment information. The base station registration information includes the cell identifier and the address information of the wireless proxy service in the base station. Then, the wireless capability open service establishes the corresponding relationship between the traffic flow identifier, the traffic flow address information, and the base station registration information.
[0208] Step 706: The wireless capability open service in the MEC device returns the traffic flow establishment response information to the wireless proxy service in the base station. The traffic flow establishment response information includes the cell identifier, the traffic flow identifier, and the third status code. Among them, the third status code is used to indicate whether the traffic flow registration is successful or failed. If the third status code indicates that the traffic flow registration fails, the third status code can also carry the reason for the registration failure.
[0209] Step 707: The wireless proxy service in the base station receives the traffic flow establishment response information and forwards the traffic flow establishment response information to the traffic monitoring service in the base station.
[0210] In the embodiment of the present application, after the traffic flow is released, it is necessary to execute the traffic flow release process. Please refer to Figure 8 The traffic flow release process includes the following steps:
[0211] Step 801: The traffic monitoring service in the base station detects that a certain traffic flow is released.
[0212] Step 802: The traffic monitoring service in the base station sends a traffic release notification to the wireless proxy service. The traffic release notification includes the cell identifier, the identifier of the terminal, and the traffic flow identifier.
[0213] Step 803: The wireless proxy service in the base station forwards the traffic release notification to the wireless capability open service in the MEC device.
[0214] Step 804: The wireless capability open service in the MEC device obtains the traffic flow identifier from the traffic release notification, looks up the corresponding relationship between the traffic flow identifier, the traffic flow address information, and the base station registration information saved locally, and deletes the corresponding relationship.
[0215] Step 805: The wireless capability open service in the MEC device sends traffic release response information to the wireless proxy service in the base station. The traffic release response information includes the identifier of the terminal, the traffic flow identifier, and a fourth status code. The fourth status code is used to indicate whether the traffic flow release is successful or failed. If the traffic flow release fails, the fourth status code may carry the reason for the traffic flow release failure.
[0216] Step 806: The wireless proxy service in the base station deletes the corresponding relationship between the traffic flow identifier and the traffic flow address information saved locally, and forwards the traffic release response information to the traffic monitoring service.
[0217] In an optional embodiment of the present application, the wireless capability open service in the MEC device may obtain the base station registration information through the base station registration process. Please refer to Figure 9 , and the base station registration process may include the following steps:
[0218] Step 901: The wireless proxy service in the base station sends a registration request to the wireless capability open service in the MEC device. The registration request includes the cell identifier of the cell corresponding to the base station and the address information of the wireless proxy service.
[0219] Among them, the address information of the wireless proxy service includes an IP address and a port number. The address information of the wireless capability open service in the MEC device is pre-configured in the wireless proxy service. The address information of the wireless capability open service includes an IP address and a port number. The wireless proxy service may send a registration request to the wireless capability open service based on the pre-configured address information of the wireless capability open service.
[0220] It should be noted that the wireless service proxy in the base station and the wireless capability open service in the MEC device may communicate through the HTTP / HTTPs protocol and adopt the REST API style.
[0221] Step 902: After the wireless capability open service in the MEC device receives the registration request, it saves the address information of the wireless proxy service and the cell identifier.
[0222] Step 903: The MEC device replies a registration response to the wireless proxy service in the base station. The registration response contains a fifth status code, which is used to indicate whether the MEC device accepts the registration of the wireless proxy service and the error description information when the registration fails.
[0223] Please refer to Figure 10 , which shows a block diagram of a quality of service adjustment device 1000 provided by an embodiment of the present application. The quality of service adjustment device 1000 can be configured in the Figure 1 base station shown. As Figure 10 shown, the quality of service adjustment device 1000 may include: an acquisition module 1001, a determination module 1002, and an indication module 1003.
[0224] The acquisition module 1001 is used to acquire the channel quality of the channel between the base station and the terminal.
[0225] The determination module 1002 is used to determine a quality of service adjustment policy according to the channel quality and the remaining wireless bandwidth of the base station currently.
[0226] The indication module 1003 is used to indicate, based on the quality of service adjustment policy, the mobile edge application MEA deployed in the mobile edge computing MEC device to adjust the quality of service of the service provided for the terminal.
[0227] In an optional embodiment of the present application, the determination module 1002 is specifically used for:
[0228] If the channel quality is better than the target channel quality, and the remaining wireless bandwidth of the base station currently is greater than or equal to the wireless bandwidth required to adjust the second service level to the first service level, then the quality of service adjustment policy is to adjust the second service level to the first service level; wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the first service level is higher than the second service level.
[0229] In an optional embodiment of the present application, the determination module 1002 is specifically used for:
[0230] If the channel quality is better than the target channel quality, and the remaining wireless bandwidth of the base station currently is less than the wireless bandwidth required to adjust the second service level to the first service level, then the quality of service adjustment policy is to keep the second service level unchanged; wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the first service level is higher than the second service level.
[0231] In an alternative embodiment of the present application, the determining module 1002 is specifically configured to:
[0232] If the channel quality is not better than the target channel quality, the quality of service adjustment policy is to adjust the second quality of service level to the third quality of service level; wherein, the second quality of service level is the quality of service level corresponding to the service currently provided by the MEA for the terminal, and the third quality of service level is lower than the second quality of service level.
[0233] In an alternative embodiment of the present application, the determining module 1002 is specifically configured to:
[0234] Obtain a terminal sequence, where the terminal sequence includes multiple terminals having traffic flows with the MEAs subscribed to the quality of service adjustment service in the base station, and the terminals in the terminal sequence are sorted according to user priorities; according to the sorting of the terminals in the terminal sequence, successively execute the step of determining the quality of service adjustment policy for each terminal in the terminal sequence according to the channel quality and the remaining radio bandwidth of the base station currently.
[0235] In an alternative embodiment of the present application, the same user priority in the terminal sequence corresponds to multiple terminals, and among them, the multiple terminals corresponding to the same user priority are sorted according to the number of historical quality of service adjustment times.
[0236] In an alternative embodiment of the present application, the indicating module 1003 is specifically configured to:
[0237] If the quality of service needs to be adjusted, send target indication information to the MEC device, where the target indication information includes a traffic flow identifier and quality of service adjustment policy information, the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal, and the quality of service adjustment policy information is obtained according to the quality of service adjustment policy; the target indication information is used to instruct the MEA deployed in the MEC device to adjust the quality of service of the service provided for the terminal according to the quality of service adjustment policy information.
[0238] Please refer to Figure 11 , which shows a block diagram of another quality of service adjustment device 1100 provided by an embodiment of the present application. In addition to including each module included in the quality of service adjustment device 1000, the quality of service adjustment device 700 further includes an adjustment module 1004, a first receiving module 1005, a second receiving module 1006, a first sending module 1007, and a second sending module 1008.
[0239] The adjustment module 1004 is configured to adjust the radio resources allocated by the base station for the traffic flow between the MEA and the terminal based on the quality of service adjustment policy.
[0240] The first receiving module 1005 is configured to receive the quality adjustment response information sent by the MEC device, where the quality adjustment response information is used to indicate whether the MEA agrees to adjust the quality of service provided to the terminal based on the quality of service adjustment policy.
[0241] Correspondingly, the adjustment module 1004 is specifically configured to: if the MEA agrees to adjust the quality of service provided to the terminal based on the quality of service adjustment policy, adjust the radio resources allocated by the base station for the traffic flow between the MEA and the terminal based on the quality of service adjustment policy.
[0242] The second receiving module 1006 is configured to receive the subscription information for the quality of service adjustment service sent by the MEC device, where the subscription information carries the identifier of the terminal, the traffic flow identifier, the second service level, each service level provided by the MEA, and the radio bandwidth requirements corresponding to each service level; where the second service level is the service level corresponding to the service currently provided by the MEA to the terminal, and the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal.
[0243] The first sending module 1007 is configured to, after detecting the creation of a traffic flow between the terminal and the MEA, send traffic flow establishment information to the MEC device, where the traffic flow establishment information includes the traffic flow identifier, the traffic flow address information, and the cell identifier of the cell corresponding to the base station, so that the MEC device establishes a corresponding relationship between the traffic flow identifier, the traffic flow address information, and the registration information of the base station, and the registration information of the base station is determined by the MEC device according to the cell identifier; the corresponding relationship is used for the MEC device to send the subscription information to the base station according to the corresponding relationship.
[0244] The second sending module 1008 is configured to send a registration request to the MEC device, where the registration request carries the registration information of the base station, and the registration information of the base station includes the cell identifier and the address information of the base station.
[0245] The quality of service adjustment device provided in the embodiments of the present application can implement the above method embodiments, and its implementation principle and technical effects are similar, and will not be described in detail here.
[0246] For the specific limitations on the quality of service adjustment device, reference can be made to the limitations on the quality of service adjustment method in the above text, which will not be described in detail here. Each module in the above quality of service adjustment device can be implemented in whole or in part by software, hardware, and their combinations. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0247] Please refer to Figure 12, which shows a block diagram of a quality of service adjustment device 1200 provided by an embodiment of the present application. The quality of service adjustment device 1200 can be configured in Figure 1 the MEC device shown. As Figure 12 shown, the quality of service adjustment device 1200 may include: a control module 1201.
[0248] The control module 1201 is configured to control, according to an instruction of the base station, the quality of service of the service provided by the MEA deployed in the MEC device to the terminal based on a quality of service adjustment policy. Wherein, the quality of service adjustment policy is determined by the base station according to the channel quality of the channel between the base station and the terminal and the remaining wireless bandwidth of the base station currently.
[0249] In an alternative embodiment of the present application, the control module 1201 is specifically configured to: receive target indication information sent by the base station, where the target indication information includes a traffic flow identifier and quality of service adjustment policy information, the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal, and the quality of service adjustment policy information is obtained according to the quality of service adjustment policy; if the MEA agrees to adjust the quality of service of the service provided to the terminal based on the quality of service adjustment policy, then according to the target indication information, control the MEA to adjust the quality of service of the service provided to the terminal.
[0250] Please refer to Figure 13 , which shows a block diagram of another quality of service adjustment device 1300 provided by an embodiment of the present application. In addition to including each module included in the quality of service adjustment device 1200, the quality of service adjustment device 1300 further includes a first sending module 1202, a second sending module 1203, an obtaining module 1204, an input value receiving module 1205, a generating module 1206, a first receiving module 1207, a creating module 1208, and a second receiving module 1209.
[0251] The first sending module 1202 is configured to send quality adjustment response information to the base station, where the quality adjustment response information is used to indicate whether the MEA agrees to adjust the quality of service of the service provided to the terminal based on the quality of service adjustment policy.
[0252] The second sending module 1203 is configured to send subscription information for a quality of service adjustment service to the base station, where the subscription information carries an identifier of the terminal, a traffic flow identifier, a second service level, each service level provided by the MEA, and the wireless bandwidth requirements corresponding to each service level; wherein, the second service level is the service level corresponding to the service currently provided by the MEA to the terminal, and the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal.
[0253] An obtaining module 1204, configured to obtain a target quality of service (QoS) policy template corresponding to the deployed MEA from multiple pre-configured QoS policy templates of the MEC device when the MEA is deployed in the MEC device. The target QoS policy template includes service level items and QoS information items corresponding to each service level item, and the QoS information item at least includes a wireless bandwidth requirement item.
[0254] An input value receiving module 1205, configured to receive input values for the service level items included in the target QoS policy template and the QoS information items corresponding to each service level item.
[0255] A generating module 1206, configured to generate a final QoS policy template according to the input values.
[0256] Correspondingly, the second sending module 1203 is specifically configured to: obtain each service level provided by the MEA and the wireless bandwidth requirement corresponding to each service level from the final QoS policy template; and send the subscription information to the base station according to each service level provided by the MEA and the wireless bandwidth requirement corresponding to each service level.
[0257] A first receiving module 1207, configured to receive traffic flow establishment information sent by the base station after detecting the creation of a traffic flow between the terminal and the MEA. The traffic flow establishment information includes the traffic flow identifier, traffic flow address information, and cell identifier of the cell corresponding to the base station.
[0258] A creating module 1208, configured to create a correspondence relationship among the traffic flow identifier, the traffic flow address information, and the registration information of the base station according to the traffic flow establishment information. The registration information of the base station is determined according to the cell identifier.
[0259] Correspondingly, the second sending module 1203 is specifically configured to: send the subscription information to the base station according to the correspondence relationship.
[0260] A second receiving module 1209, configured to receive a registration request sent by the base station. The registration request carries the registration information of the base station, and the registration information of the base station includes the cell identifier and the address information of the base station.
[0261] The QoS adjustment device provided by the embodiments of the present application can implement the above method embodiments, and the implementation principles and technical effects are similar, which will not be elaborated herein.
[0262] For the specific limitations of the service quality adjustment device, reference may be made to the limitations of the service quality adjustment method in the foregoing text, which will not be elaborated herein. Each module in the foregoing service quality adjustment device may be implemented in whole or in part by software, hardware, and their combination. Each of the foregoing modules may be embedded in or independent of a processor in a computer device in the form of hardware, or stored in a memory in the computer device in the form of software, so as to facilitate the processor to call and execute the operations corresponding to each of the foregoing modules.
[0263] An exemplary internal structure diagram of a communication device is provided in an embodiment of the present application. The communication device may be a base station or a MEC device. As Figure 14 shown, the communication device includes a processor, a memory, a receiver, and a transmitter connected by a system bus. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the foregoing computer program is executed by the processor, the service quality adjustment method provided in the embodiment of the present application can be implemented. The receiver is used to receive communication data sent by other communication devices, and the transmitter is used to send communication data to other communication devices.
[0264] Those skilled in the art can understand that Figure 14 the structure shown in
[0265] merely shows a block diagram of some structures of the communication device, and does not constitute a limitation on the communication device to which the solution of the present application is applied. The specific communication device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.
[0266] In an embodiment of the present application, a communication device is provided. The communication device may be a base station. The communication device includes a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:
[0267] Obtain the channel quality of the channel between the base station and the terminal; determine a service quality adjustment strategy according to the channel quality and the remaining radio bandwidth of the base station; based on the service quality adjustment strategy, instruct the mobile edge application (MEA) deployed in the mobile edge computing (MEC) device to adjust the service quality of the service provided to the terminal.
[0268] In an embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: If the channel quality is better than the target channel quality, and the remaining wireless bandwidth of the base station is greater than or equal to the wireless bandwidth required to adjust the second service level to the first service level, then the service quality adjustment policy is to adjust the second service level to the first service level; where the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the first service level is higher than the second service level.
[0269] In an embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: If the channel quality is better than the target channel quality, and the remaining wireless bandwidth of the base station is less than the wireless bandwidth required to adjust the second service level to the first service level, then the service quality adjustment policy is to keep the second service level unchanged; where the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the first service level is higher than the second service level.
[0270] In an embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: If the channel quality is not better than the target channel quality, then the service quality adjustment policy is to adjust the second service level to the third service level; where the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the third service level is lower than the second service level.
[0271] In an embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: Obtain a terminal sequence, where the terminal sequence includes multiple terminals that have traffic flows with the MEAs subscribed to the service quality adjustment service in the base station, and the terminals in the terminal sequence are sorted according to user priorities; According to the sorting of the terminals in the terminal sequence, successively execute the steps of determining the service quality adjustment policy for each terminal in the terminal sequence according to the channel quality and the remaining wireless bandwidth of the base station.
[0272] In an embodiment of the present application, multiple terminals correspond to the same user priority in the terminal sequence, where the multiple terminals corresponding to the same user priority are sorted according to the number of historical service quality adjustment times.
[0273] In an embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: If it is necessary to adjust the quality of service, target indication information is sent to the MEC device, where the target indication information includes a service flow identifier and quality of service adjustment policy information. The service flow identifier is used to identify the service flow between the MEA and the terminal, and the quality of service adjustment policy information is obtained according to the quality of service adjustment policy; the target indication information is used to instruct the MEA deployed in the MEC device to adjust the quality of service of the service provided for the terminal according to the quality of service adjustment policy information.
[0274] In an embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: Based on the quality of service adjustment policy, the radio resources allocated by the base station for the service flow between the MEA and the terminal are adjusted.
[0275] In an embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: Receive the quality adjustment response information sent by the MEC device. The quality adjustment response information is used to indicate whether the MEA agrees to adjust the quality of service of the service provided for the terminal based on the quality of service adjustment policy; if the MEA agrees to adjust the quality of service of the service provided for the terminal based on the quality of service adjustment policy, then based on the quality of service adjustment policy, the radio resources allocated by the base station for the service flow between the MEA and the terminal are adjusted.
[0276] In an embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: Receive the subscription information for the quality of service adjustment service sent by the MEC device. The subscription information carries the identifier of the terminal, the service flow identifier, the second service level, each service level provided by the MEA, and the radio bandwidth requirements corresponding to each service level; where the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the service flow identifier is used to identify the service flow between the MEA and the terminal.
[0277] In an embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: After detecting the creation of a service flow between the terminal and the MEA, send service flow establishment information to the MEC device. The service flow establishment information includes the service flow identifier, service flow address information, and the cell identifier of the cell corresponding to the base station, for the MEC device to establish a correspondence between the service flow identifier, the service flow address information, and the registration information of the base station. The registration information of the base station is determined by the MEC device according to the cell identifier; the correspondence is used for the MEC device to send the subscription information to the base station according to the correspondence.
[0278] In one embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: sending a registration request to the MEC device, where the registration request carries the registration information of the base station, and the registration information of the base station includes the cell identifier and the address information of the base station.
[0279] For the communication device provided in the embodiment of the present application, its implementation principle and technical effects are similar to those of the above method embodiment, and will not be elaborated here.
[0280] In one embodiment of the present application, a communication device is provided. The communication device can be an MEC device. The communication device includes a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:
[0281] According to the indication of the base station, based on the quality of service adjustment policy, control the quality of service of the MEA deployed in the MEC device for the terminal; wherein, the quality of service adjustment policy is determined by the base station according to the channel quality of the channel between the base station and the terminal and the remaining wireless bandwidth of the base station currently.
[0282] In one embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: receiving the target indication information sent by the base station, where the target indication information includes a traffic flow identifier and quality of service adjustment policy information. The traffic flow identifier is used to identify the traffic flow between the MEA and the terminal, and the quality of service adjustment policy information is obtained according to the quality of service adjustment policy; if the MEA agrees to adjust the quality of service for the terminal based on the quality of service adjustment policy, then according to the target indication information, control the MEA to adjust the quality of service for the terminal.
[0283] In one embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: sending quality adjustment response information to the base station, where the quality adjustment response information is used to indicate whether the MEA agrees to adjust the quality of service for the terminal based on the quality of service adjustment policy.
[0284] In one embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: sending subscription information for the quality of service adjustment service to the base station, where the subscription information carries the identifier of the terminal, the traffic flow identifier, the second service level, each service level provided by the MEA, and the wireless bandwidth requirements corresponding to each service level; wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal.
[0285] In one embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: when the MEA is deployed in the MEC device, obtain a target quality of service (QoS) policy template corresponding to the deployed MEA from multiple pre-configured QoS policy templates in the MEC device, where the target QoS policy template includes service level items and QoS information items corresponding to each service level item, and the QoS information item at least includes a wireless bandwidth requirement item; receive input values for the service level items included in the target QoS policy template and the QoS information items corresponding to each service level item; generate a final QoS policy template according to the input values; obtain each service level provided by the MEA and the wireless bandwidth requirement corresponding to each service level from the final QoS policy template; and send the subscription information to the base station according to each service level provided by the MEA and the wireless bandwidth requirement corresponding to each service level.
[0286] In one embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: receive traffic flow establishment information sent by the base station after detecting the creation of a traffic flow between the terminal and the MEA, where the traffic flow establishment information includes the traffic flow identifier, traffic flow address information, and the cell identifier of the cell corresponding to the base station; create a correspondence between the traffic flow identifier, the traffic flow address information, and the registration information of the base station according to the traffic flow establishment information, where the registration information of the base station is determined according to the cell identifier; and send the subscription information to the base station according to the correspondence.
[0287] In one embodiment of the present application, when the processor executes the computer program, the following steps are further implemented: receive a registration request sent by the base station, where the registration request carries the registration information of the base station, and the registration information of the base station includes the cell identifier and the address information of the base station.
[0288] The communication device provided by the embodiments of the present application has a similar implementation principle and technical effect to the above method embodiments, and will not be described in detail here.
[0289] In one embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0290] Obtain the channel quality of the channel between the base station and the terminal; determine a QoS adjustment policy according to the channel quality and the remaining wireless bandwidth of the base station currently; and based on the QoS adjustment policy, instruct the mobile edge application (MEA) deployed in the mobile edge computing (MEC) device to adjust the QoS of the service provided for the terminal.
[0291] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: If the channel quality is better than the target channel quality, and the remaining radio bandwidth of the base station is greater than or equal to the radio bandwidth required to adjust the second service level to the first service level, then the service quality adjustment policy is to adjust the second service level to the first service level; wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the first service level is higher than the second service level.
[0292] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: If the channel quality is better than the target channel quality, and the remaining radio bandwidth of the base station is less than the radio bandwidth required to adjust the second service level to the first service level, then the service quality adjustment policy is to keep the second service level unchanged; wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the first service level is higher than the second service level.
[0293] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: If the channel quality is not better than the target channel quality, then the service quality adjustment policy is to adjust the second service level to the third service level; wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the third service level is lower than the second service level.
[0294] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: Obtain a terminal sequence, where the terminal sequence includes multiple terminals having traffic flows with the MEAs subscribed to the service quality adjustment service in the base station, and the terminals in the terminal sequence are sorted according to user priorities; According to the sorting of the terminals in the terminal sequence, the steps of determining the service quality adjustment policy according to the channel quality and the remaining radio bandwidth of the base station are sequentially executed for each terminal in the terminal sequence.
[0295] In an embodiment of the present application, multiple terminals correspond to the same user priority in the terminal sequence, wherein the multiple terminals corresponding to the same user priority are sorted according to the number of historical service quality adjustment times.
[0296] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: If it is necessary to adjust the quality of service, target indication information is sent to the MEC device, where the target indication information includes a traffic flow identifier and quality of service adjustment policy information. The traffic flow identifier is used to identify the traffic flow between the MEA and the terminal, and the quality of service adjustment policy information is obtained according to the quality of service adjustment policy; the target indication information is used to instruct the MEA deployed in the MEC device to adjust the quality of service of the service provided for the terminal according to the quality of service adjustment policy information.
[0297] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: Based on the quality of service adjustment policy, the radio resources allocated by the base station for the traffic flow between the MEA and the terminal are adjusted.
[0298] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: The quality adjustment response information sent by the MEC device is received, where the quality adjustment response information is used to indicate whether the MEA agrees to adjust the quality of service of the service provided for the terminal based on the quality of service adjustment policy;
[0299] If the MEA agrees to adjust the quality of service of the service provided for the terminal based on the quality of service adjustment policy, then based on the quality of service adjustment policy, the radio resources allocated by the base station for the traffic flow between the MEA and the terminal are adjusted.
[0300] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: The subscription information for the quality of service adjustment service sent by the MEC device is received, where the subscription information carries the identifier of the terminal, the traffic flow identifier, the second service level, each service level provided by the MEA, and the radio bandwidth requirements corresponding to each service level; where the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal.
[0301] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: After detecting the creation of a traffic flow between the terminal and the MEA, traffic flow establishment information is sent to the MEC device, where the traffic flow establishment information includes the traffic flow identifier, traffic flow address information, and the cell identifier of the cell corresponding to the base station, for the MEC device to establish a correspondence relationship between the traffic flow identifier, the traffic flow address information, and the registration information of the base station. The registration information of the base station is determined by the MEC device according to the cell identifier; the correspondence relationship is used for the MEC device to send the subscription information to the base station according to the correspondence relationship.
[0302] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: sending a registration request to the MEC device, where the registration request carries the registration information of the base station, and the registration information of the base station includes the cell identifier and the address information of the base station.
[0303] The computer-readable storage medium provided in this embodiment has the same implementation principle and technical effects as the above method embodiment, and will not be elaborated here.
[0304] In one embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0305] According to the instruction of the base station, controlling the quality of service of the service provided by the MEA deployed in the MEC device to the terminal based on the quality of service adjustment policy; wherein, the quality of service adjustment policy is determined by the base station according to the channel quality of the channel between the base station and the terminal and the remaining wireless bandwidth of the base station currently.
[0306] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: receiving the target indication information sent by the base station, where the target indication information includes the traffic flow identifier and the quality of service adjustment policy information, the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal, and the quality of service adjustment policy information is obtained according to the quality of service adjustment policy; if the MEA agrees to adjust the quality of service of the service provided to the terminal based on the quality of service adjustment policy, then according to the target indication information, controlling the MEA to adjust the quality of service of the service provided to the terminal.
[0307] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented:
[0308] Sending quality adjustment response information to the base station, where the quality adjustment response information is used to indicate whether the MEA agrees to adjust the quality of service of the service provided to the terminal based on the quality of service adjustment policy.
[0309] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: sending subscription information for the quality of service adjustment service to the base station, where the subscription information carries the identifier of the terminal, the traffic flow identifier, the second service level, each service level provided by the MEA, and the wireless bandwidth requirements corresponding to each service level; wherein, the second service level is the service level corresponding to the service currently provided by the MEA to the terminal, and the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal.
[0310] In one embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented:
[0311] When the MEA is deployed in the MEC device, obtain a target quality of service (QoS) policy template corresponding to the deployed MEA from multiple pre-configured QoS policy templates in the MEC device. The target QoS policy template includes service level items and QoS information items corresponding to each service level item. The QoS information item at least includes a wireless bandwidth requirement item; receive input values for the service level items included in the target QoS policy template and the QoS information items corresponding to each service level item; generate a final QoS policy template based on the input values; obtain each service level provided by the MEA and the wireless bandwidth requirements corresponding to each service level from the final QoS policy template; and send the subscription information to the base station according to each service level provided by the MEA and the wireless bandwidth requirements corresponding to each service level.
[0312] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented:
[0313] Receive traffic flow establishment information sent by the base station after detecting the creation of a traffic flow between the terminal and the MEA. The traffic flow establishment information includes the traffic flow identifier, traffic flow address information, and the cell identifier of the cell corresponding to the base station; create a correspondence between the traffic flow identifier, the traffic flow address information, and the registration information of the base station according to the traffic flow establishment information. The registration information of the base station is determined according to the cell identifier; and send the subscription information to the base station according to the correspondence.
[0314] In an embodiment of the present application, when the computer program is executed by a processor, the following steps are further implemented: receive a registration request sent by the base station. The registration request carries the registration information of the base station, and the registration information of the base station includes the cell identifier and the address information of the base station.
[0315] The computer-readable storage medium provided in this embodiment has the same implementation principle and technical effects as the above method embodiment, and will not be described in detail here.
[0316] Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application may include non-volatile and / or volatile memories. The non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. The volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0317] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0318] The above-described embodiments merely represent several implementation manners of the present application. Their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the patent application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.
Claims
1. A method for adjusting service quality, characterized in that, In a base station, the method includes: Obtaining the channel quality of the channel between the base station and the terminal; Determining a quality of service adjustment strategy according to the channel quality and the remaining radio bandwidth of the base station currently; Based on the quality of service adjustment strategy, instructing a mobile edge application (MEA) deployed in a mobile edge computing (MEC) device to adjust the quality of service of the service provided for the terminal.
2. The method according to claim 1, characterized in that, The determining a quality of service adjustment strategy according to the channel quality and the remaining radio bandwidth of the base station currently includes: If the channel quality is better than a target channel quality, and the remaining radio bandwidth of the base station currently is greater than or equal to the radio bandwidth required to adjust a second service level to a first service level, then the quality of service adjustment strategy is to adjust the second service level to the first service level; Wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the first service level is higher than the second service level.
3. The method according to claim 1, wherein The determining a quality of service adjustment strategy according to the channel quality and the remaining radio bandwidth of the base station currently includes: If the channel quality is better than a target channel quality, and the remaining radio bandwidth of the base station currently is less than the radio bandwidth required to adjust a second service level to a first service level, then the quality of service adjustment strategy is to keep the second service level unchanged; Wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the first service level is higher than the second service level.
4. The method according to claim 1, wherein The determining a quality of service adjustment strategy according to the channel quality and the remaining radio bandwidth of the base station currently includes: If the channel quality is not better than a target channel quality, then the quality of service adjustment strategy is to adjust the second service level to a third service level; Wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the third service level is lower than the second service level.
5. The method according to any one of claims 1 to 4, characterized in that, The determining a quality of service adjustment strategy according to the channel quality and the remaining radio bandwidth of the base station currently includes: Obtaining a terminal sequence, where the terminal sequence includes multiple terminals having traffic flows with MEAs subscribed to a quality of service adjustment service in the base station, and the terminals in the terminal sequence are sorted according to user priorities; According to the sorting of each terminal in the terminal sequence, sequentially execute the step of determining a quality of service adjustment strategy according to the channel quality and the remaining radio bandwidth of the base station currently for each terminal in the terminal sequence.
6. The method according to claim 5, wherein In the terminal sequence, the same user priority corresponds to multiple terminals, wherein the multiple terminals corresponding to the same user priority are sorted according to the number of historical quality of service adjustment times.
7. The method according to any one of claims 1 to 4, characterized in that The instructing a mobile edge application (MEA) deployed in a mobile edge computing (MEC) device to adjust the quality of service of the service provided for the terminal based on the quality of service adjustment strategy includes: If it is necessary to adjust the service quality, target indication information is sent to the MEC device. The target indication information includes a traffic flow identifier and service quality adjustment policy information. The traffic flow identifier is used to identify the traffic flow between the MEA and the terminal, and the service quality adjustment policy information is obtained according to the service quality adjustment policy; The target indication information is used to instruct the MEA deployed in the MEC device to adjust the service quality of the service provided for the terminal according to the service quality adjustment policy information.
8. The method according to any one of claims 1 to 4, characterized in that, The method further includes: Based on the service quality adjustment policy, adjust the radio resources allocated by the base station for the traffic flow between the MEA and the terminal.
9. The method according to claim 8, characterized in that, Before adjusting the radio resources allocated by the base station for the traffic flow between the MEA and the terminal based on the service quality adjustment policy, the method further includes: Receive quality adjustment response information sent by the MEC device. The quality adjustment response information is used to indicate whether the MEA agrees to adjust the service quality of the service provided for the terminal based on the service quality adjustment policy; Adjusting the radio resources allocated by the base station for the traffic flow between the MEA and the terminal based on the service quality adjustment policy includes: If the MEA agrees to adjust the service quality of the service provided for the terminal based on the service quality adjustment policy, then based on the service quality adjustment policy, adjust the radio resources allocated by the base station for the traffic flow between the MEA and the terminal.
10. The method according to claim 5, wherein The method further includes: Receive subscription information sent by the MEC device for the service quality adjustment service. The subscription information carries the identifier of the terminal, the traffic flow identifier, the second service level, each service level provided by the MEA, and the radio bandwidth requirements corresponding to each service level; Wherein, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal.
11. The method according to claim 10, wherein The method further includes: After detecting the creation of a traffic flow between the terminal and the MEA, send traffic flow establishment information to the MEC device. The traffic flow establishment information includes the traffic flow identifier, traffic flow address information, and the cell identifier of the cell corresponding to the base station, so that the MEC device establishes a correspondence relationship between the traffic flow identifier, the traffic flow address information, and the registration information of the base station. The registration information of the base station is determined by the MEC device according to the cell identifier; the correspondence relationship is used for the MEC device to send the subscription information to the base station according to the correspondence relationship.
12. The method according to claim 11, wherein The method further includes: Send a registration request to the MEC device. The registration request carries the registration information of the base station. The registration information of the base station includes the cell identifier and the address information of the base station.
13. A method for adjusting quality of service, characterized in that, For use in the MEC device, the method includes: According to the indication of the base station, control the MEA deployed in the MEC device to adjust the service quality of the service provided for the terminal based on the service quality adjustment policy; Among them, the service quality adjustment strategy is determined by the base station according to the channel quality of the channel between the base station and the terminal and the remaining radio bandwidth of the base station currently.
14. The method according to claim 13, characterized in that, Controlling, according to the instruction of the base station and based on the service quality adjustment strategy, the service quality of the MEA deployed in the MEC device for the terminal includes: Receiving target indication information sent by the base station, where the target indication information includes a traffic flow identifier and service quality adjustment strategy information, the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal, and the service quality adjustment strategy information is obtained according to the service quality adjustment strategy; If the MEA agrees to adjust the service quality of the service provided for the terminal based on the service quality adjustment strategy, then according to the target indication information, controlling the MEA to adjust the service quality of the service provided for the terminal.
15. The method according to claim 14, wherein The method further includes: Sending quality adjustment response information to the base station, where the quality adjustment response information is used to indicate whether the MEA agrees to adjust the service quality of the service provided for the terminal based on the service quality adjustment strategy.
16. The method according to claim 13, wherein The method further includes: Sending subscription information for the service quality adjustment service to the base station, where the subscription information carries the identifier of the terminal, the traffic flow identifier, the second service level, each service level provided by the MEA, and the radio bandwidth requirements corresponding to each service level; Among them, the second service level is the service level corresponding to the service currently provided by the MEA for the terminal, and the traffic flow identifier is used to identify the traffic flow between the MEA and the terminal.
17. The method according to claim 16, wherein Before sending the subscription information for the service quality adjustment service to the base station, the method further includes: When the MEA is deployed in the MEC device, obtaining a target service quality strategy template corresponding to the deployed MEA from multiple pre-configured service quality strategy templates in the MEC device, where the target service quality strategy template includes service level items and service quality information items corresponding to each service level item, and the service quality information items at least include radio bandwidth requirement items; Receiving input values for the service level items included in the target service quality strategy template and the service quality information items corresponding to each service level item; Generating a final service quality strategy template according to the input values; Correspondingly, sending the subscription information for the service quality adjustment service to the base station includes: Obtaining each service level provided by the MEA and the radio bandwidth requirements corresponding to each service level from the final service quality strategy template; Sending the subscription information to the base station according to each service level provided by the MEA and the radio bandwidth requirements corresponding to each service level.
18. The method according to claim 16, wherein Before sending the subscription information for the service quality adjustment service to the base station, the method further includes: Receiving traffic flow establishment information sent by the base station after detecting the establishment of a traffic flow between the terminal and the MEA, where the traffic flow establishment information includes the traffic flow identifier, traffic flow address information, and the cell identifier of the cell corresponding to the base station; Create a correspondence relationship among the service flow identifier, the service flow address information, and the registration information of the base station according to the information created based on the service flow, where the registration information of the base station is determined according to the cell identifier; The sending the subscription information for the service quality adjustment service to the base station includes: Sending the subscription information to the base station according to the correspondence relationship.
19. The method according to claim 18, wherein The method further includes: Receiving a registration request sent by the base station, where the registration request carries the registration information of the base station, and the registration information of the base station includes the cell identifier and the address information of the base station.
20. A quality of service adjustment device, characterized in that, For use in a base station, the apparatus includes: An acquisition module, configured to acquire the channel quality of the channel between the base station and the terminal; A determination module, configured to determine a service quality adjustment policy according to the channel quality and the remaining radio bandwidth of the base station; An indication module, configured to, based on the service quality adjustment policy, indicate a mobile edge application (MEA) deployed in a mobile edge computing (MEC) device to adjust the service quality of the service provided for the terminal.
21. A quality of service adjustment device, characterized in that, For use in an MEC device, the apparatus includes: A control module, configured to, according to an indication of the base station, control, based on a service quality adjustment policy, an MEA deployed in the MEC device to adjust the service quality of the service provided for the terminal; Wherein, the service quality adjustment policy is determined by the base station according to the channel quality of the channel between the base station and the terminal and the remaining radio bandwidth of the base station.
22. A communication device, characterized in that, Including a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1 to 12 is implemented, or when the computer program is executed by the processor, the method according to any one of claims 13 to 19 is implemented.
23. A communication system, characterized in that, The communication system includes a base station, an MEC device, and a terminal; Wherein, the base station is configured to execute the service quality adjustment method according to any one of claims 1 to 12; The MEC device is configured to execute the service quality adjustment method according to any one of claims 13 to 19.
24. A computer-readable storage medium, characterized in that, Stored thereon is a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 12 is implemented, or when the computer program is executed by the processor, the method according to any one of claims 13 to 19 is implemented.
Citation Information
Patent Citations
Data shunting method and system for edge application
CN111629401A
Application instance determination method, device and system
CN113132897A