Disclosure of Invention
In order to solve the existing technical problems, embodiments of the present invention provide data processing methods, apparatuses, and computer storage media based on quality of service.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides data processing methods based on service quality, which comprise the following steps:
the mobile edge computing equipment acquires service data and identifies service quality related information corresponding to the service data;
determining quality of service priority information based on the quality of service related information;
encapsulating downlink data based on a General packet radio Service (GTP-U) tunnel Protocol User plane (User plane of General packet radio Service Tunneling Protocol), and sending the downlink data in a GTP-U format to a base station; and the service quality priority information is encapsulated in the header of the downlink data in the GTP-U format.
In the foregoing solution, the encapsulating downlink data based on GTP-U includes:
and filling the service quality priority information into an extension field of a packet header of downlink data in a GTP-U format.
In the above solution, the obtaining, by the mobile edge computing device, the service data, and identifying the service quality related information corresponding to the service data includes:
the mobile edge computing equipment obtains service request data and obtains service type information and/or user grade information carried in the service request data.
In the above scheme, the method further comprises:
after the mobile edge computing equipment obtains the service data, identifying whether the service data is local service data;
when the identification result is that the service data is local service data, the service data is sent to a local service processing server corresponding to the service data;
and acquiring downlink data from the local service processing server.
The embodiment of the invention also provides data processing methods based on the service quality, which comprises the following steps:
a base station obtains downlink data from mobile edge computing equipment, wherein the downlink data is in a GTP-U format;
analyzing the downlink data in the GTP-U format, obtaining the service quality priority information carried in the packet header of the downlink data in the GTP-U format, and scheduling the data based on the service quality priority information.
In the above scheme, the qos priority information is filled in an extension field of a packet header of the GTP-U format downlink data.
The embodiment of the invention also provides kinds of mobile edge computing equipment, which comprises a th identification unit, a packaging unit and a th communication unit, wherein,
the identification unit is used for obtaining service data and identifying the service quality related information corresponding to the service data;
the encapsulating unit is used for encapsulating the downlink data based on a general packet radio service tunnel protocol user plane GTP-U; wherein, the service quality priority information is encapsulated in the packet header of the downlink data in the GTP-U format;
and the th communication unit is configured to send the downlink data in the GTP-U format encapsulated by the encapsulating unit to a base station.
In the foregoing solution, the encapsulating unit is configured to fill the qos priority information into an extension field of a packet header of downlink data in a GTP-U format.
In the above scheme, the th identification unit is configured to obtain service request data, and obtain service type information and/or user level information carried in the service request data.
In the above scheme, the th identification unit is further configured to identify whether the service data is local service data after the service data is obtained;
the th communication unit is further configured to send the service data to a local service processing server corresponding to the service data when the th identification unit obtains the identification result that the service data is local service data, and obtain downlink data from the local service processing server.
The embodiment of the invention also provides base stations, which comprise a second communication unit, a second identification unit and a scheduling unit, wherein,
the second communication unit is used for obtaining downlink data from the mobile edge computing equipment, and the downlink data is in a GTP-U format;
the second identification unit is used for analyzing the downlink data in the GTP-U format and obtaining service quality priority information carried in a packet header of the downlink data in the GTP-U format;
the scheduling unit is configured to perform data scheduling based on the qos priority information obtained by the second identifying unit.
In the above scheme, the qos priority information is filled in an extension field of a packet header of the GTP-U format downlink data.
Embodiments of the present invention also provide computer-readable storage media having stored thereon a computer program that, when executed by a processor, performs the steps of the quality of service-based data processing method applied to a mobile edge computing device according to embodiments of the present invention, or,
the program, when executed by a processor, implements the steps of a quality of service based data processing method applied to a base station as described in embodiments of the present invention.
The embodiment of the present invention further provides kinds of mobile edge computing devices, which include a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the steps of the quality of service-based data processing method applied to the mobile edge computing device according to the embodiment of the present invention.
The embodiment of the present invention further provides base stations, which include a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the steps of the data processing method based on quality of service applied to the base station according to the embodiment of the present invention are implemented.
According to the data processing method, the data processing equipment and the computer storage medium based on the service quality, provided by the embodiment of the invention, the mobile edge computing equipment obtains the service data and identifies the service quality related information corresponding to the service data; determining quality of service priority information based on the quality of service related information; packaging the downlink data based on GTP-U, and sending the downlink data in a GTP-U format to a base station; and the service quality priority information is encapsulated in the header of the downlink data in the GTP-U format. By adopting the technical scheme of the embodiment of the invention, the mobile edge computing equipment carries the service quality priority information in the packet header of the corresponding downlink data based on the service quality related information corresponding to the service data, so that the base station carries out data scheduling through the service quality priority information carried in the packet header of the downlink data after receiving the downlink data, thereby realizing the service quality guarantee at the edge of the mobile access network (specifically through the mobile edge computing equipment).
Detailed Description
The invention is described in further detail with reference to the figures and the embodiments.
The embodiment of the invention provides data processing methods based on service quality, FIG. 1 is a schematic flow chart of the data processing method based on service quality, as shown in FIG. 1, the method comprises:
step 101: and the mobile edge computing equipment acquires the service data and identifies the service quality related information corresponding to the service data.
Step 102: determining quality of service priority information based on the quality of service related information.
Step 103: packaging the downlink data based on GTP-U, and sending the downlink data in a GTP-U format to a base station; and the service quality priority information is encapsulated in the header of the downlink data in the GTP-U format.
The embodiment is applied to a mobile edge computing device (i.e. MEC) which is located at the edge of a mobile access network, and in embodiments, the mobile edge device may be located between a radio access network and a mobile core network.
In this embodiment, a mobile edge computing device obtains user plane data sent by a terminal through a base station, where the user plane data is specifically service data, and as embodiments, the service data may specifically be service request data, where the service data may carry service type information and/or user class information, then as embodiments, the mobile edge computing device obtains the service data and identifies service quality related information corresponding to the service data, including that the mobile edge computing device obtains the service request data and obtains the service type information and/or user class information carried in the service request data.
In this embodiment, the mobile edge computing device determines the qos priority information according to the service type information and/or the user class information of different service data, and encapsulates the qos priority information into a Header (Header) of downlink data in a GTP-U format.
In this embodiment, the encapsulating downlink data based on GTP-U includes: and filling the service quality priority information into an extension field of a packet header of downlink data in a GTP-U format.
Specifically, the field description of the header of GTP-U data may be as shown in table 1.
TABLE 1
The general format of the Next Extension Header Type (Next Extension Header Type) fields is shown in table 2, where m +1 is n × 4 bytes, n is a positive number, and the general format is an integer multiple of 4 bytes, so the Next Extension Header Type field is also an expandable field.
TABLE 2
1
|
Extension Header Length
|
2-m
|
Extension Header Content
|
m+1
|
Next Extension Header Type |
In the embodiment of the invention, the mobile edge computing device fills the service quality priority information into the Extension field of the packet Header of the downlink data with the GTP-U format, and as shown in the field description of the packet Header of the GTP-U data, the service quality priority information is filled into the Next Extension Header Type field.
As examples, the field description of the GTP-U data packet header in the embodiment of the present invention may be as shown in table 3.
TABLE 3
In practical applications, as examples, E in the bytes of the GTP-U data Header is identified as 1, the Next Extension Header Type Extension field in the GTP-U Header is fixed to a preset value, for example, fixed to 00000011 as shown in table 3, the Length of the Extension field (Extension Header Length) is 0x01 and is expressed as 14 bytes, the first 4 bits in the 8 bits of the Extension Header Content field are used to indicate different service types and may also be referred to as priorities of different services, and the 5 th bit is used to indicate user level information, for example, a general user or a VIP user Type.
As examples, the format of the extended Next Extension Header Type field is shown in Table 4, wherein the value of Extension Header Length field is 00000001 to indicate that the GTP-U Header Length is 4 bytes, the value of Extension Header Content field is 0001100000000000, the first 4 bits are 1 to indicate that the service priority is 1, the 5 th bit is 1 to indicate that the user is a VIP user, and the value of Extension Header Type field is 00000011 to indicate that the data Type is the local service data transmitted between the MEC and the eNB.
TABLE 4
As implementation manners, the method further includes identifying whether the service data is local service data after the mobile edge computing device obtains the service data, sending the service data to a local service processing server corresponding to the service data when the identification result is that the service data is local service data, and obtaining downlink data from the local service processing server.
Specifically, the mobile edge computing device may identify whether the service data is local service data by using a network address (e.g., an IP address) in the service data, and after determining that the service data is local service data, send the service data to a local service processing server corresponding to the service data.
For example, if a user uses a certain video client to watch a video through a terminal, the local service processing server corresponding to the video client may be set at the edge of the mobile access network, wherein the local service processing server and the mobile edge computing device may be located in the same physical entity (such as a server) or may be deployed separately, that is, the local service processing server and the mobile edge computing device are respectively set in different servers.
And , the mobile edge computing device obtains the downlink data returned by the local service processing server based on the sent service data, packages the downlink data into a GTP-U format, and specifically packages the service quality priority information into the header of the downlink data in the GTP-U format.
In an embodiment, the method further includes sending the service data to a core network device when the identification result is that the service data is not local service data.
By adopting the technical scheme of the embodiment of the invention, the mobile edge computing equipment carries the service quality priority information in the packet header of the corresponding downlink data based on the service quality related information corresponding to the service data, so that the base station carries out data scheduling through the service quality priority information carried in the packet header of the downlink data after receiving the downlink data, thereby realizing the service quality guarantee at the edge of the mobile access network (particularly through the mobile edge computing equipment) and realizing the service quality guarantee based on different service types and/or service grades.
The embodiment of the invention also provides data processing methods based on the service quality, FIG. 2 is a flow diagram II of the data processing method based on the service quality, as shown in FIG. 2, the method comprises:
step 201: and the base station obtains downlink data from the mobile edge computing equipment, wherein the downlink data is in a GTP-U format.
Step 202: analyzing the downlink data in the GTP-U format, obtaining the service quality priority information carried in the packet header of the downlink data in the GTP-U format, and scheduling the data based on the service quality priority information.
In this embodiment, the qos priority information is filled in an extension field of a packet header of the GTP-U format downlink data. The base station analyzes the downlink data after obtaining the downlink data from the edge computing device, identifies the service quality priority information carried in the packet header of the downlink data, and performs data scheduling based on the service quality priority information to ensure the transmission quality of different local services.
By adopting the technical scheme of the embodiment of the invention, the mobile edge computing equipment carries the service quality priority information in the packet header of the corresponding downlink data based on the service quality related information corresponding to the service data, so that the base station carries out data scheduling through the service quality priority information carried in the packet header of the downlink data after receiving the downlink data, thereby realizing the service quality guarantee at the edge of the mobile access network (particularly through the mobile edge computing equipment) and realizing the service quality guarantee based on different service types and/or service grades.
Fig. 3 is a schematic view of an application architecture of a data processing method based on quality of service according to an embodiment of the present invention, and as shown in fig. 3, the data processing method includes a base station and a mobile edge computing device, where the number of the mobile edge computing devices connected to the base station may be at least , the base station establishes a wireless connection with a plurality of terminals, the mobile edge computing device is connected to a plurality of local service processing servers, and in practical applications, the local service processing servers and the mobile edge computing devices may be respectively disposed in different physical entities or disposed in the same physical entities.
Based on the application architecture shown in fig. 3, fig. 4 is an interaction flow diagram of a data processing method based on quality of service according to an embodiment of the present invention; as shown in fig. 4, the method includes:
step 301: the terminal sends a service request through the base station, and the service request reaches the mobile edge computing device. The service request carries information such as service type and user grade.
Step 302: the mobile edge computing device identifies the service request and determines that the service request corresponds to a local service. In particular, the mobile edge computing device may determine whether it is a local service based on the IP address of the service request. If the service request is determined to correspond to the local service, executing step 303; if it is determined that the service request does not correspond to the local service, the mobile edge computing device sends the service request to a core network device (the core network device is not shown in the figure).
Step 303: the mobile edge computing device sends the service request to the local service processing server.
Step 304: and the local business processing server sends a business response to the mobile edge computing equipment and simultaneously sends downlink data.
Step 305: after the mobile edge computing equipment obtains the downlink data, analyzing the downlink data, packaging the downlink data into a GTP-U format, and filling service quality priority information in an extension field of a Header (Header) of the downlink data in the GTP-U format; wherein the service type information and/or the user level information of the service quality priority information are determined.
Step 306: and the mobile edge computing equipment sends the downlink data encapsulated into the GTP-U format.
Step 307: the base station obtains downlink data in a GTP-U format and identifies service quality priority information carried by an extension field of a packet header of the downlink data.
Step 308: and the base station schedules the downlink data based on the service quality priority information.
The embodiment of the invention also provides kinds of mobile edge computing devices, fig. 5 is a schematic structural diagram of the mobile edge computing device of the embodiment of the invention, as shown in fig. 5, the mobile edge computing device comprises a th identification unit 41, an encapsulation unit 42 and a th communication unit 43, wherein,
the th identification unit 41 is configured to obtain service data, identify quality of service related information corresponding to the service data, determine quality of service priority information based on the quality of service related information;
the encapsulating unit 42 is configured to encapsulate downlink data based on a general packet radio service tunneling protocol user plane GTP-U; wherein, the service quality priority information is encapsulated in the packet header of the downlink data in the GTP-U format;
the th communication unit 43 is configured to send the GTP-U format downlink data encapsulated by the encapsulating unit 42 to a base station.
In this embodiment, the encapsulating unit 42 is configured to fill the qos priority information into an extension field of a packet header of downlink data in a GTP-U format.
In , the identification unit 41 is configured to obtain service request data, and obtain service type information and/or user level information carried in the service request data.
In , the identification unit 41 is further configured to identify whether the service data is local service data after obtaining the service data;
the th communication unit 43 is further configured to, when the identification result obtained by the th identification unit 41 indicates that the service data is local service data, send the service data to a local service processing server corresponding to the service data, and obtain downlink data from the local service processing server.
In the embodiment of the present invention, the th identification Unit 41 and the encapsulation Unit 42 in the mobile edge computing device can be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU) or a Programmable Array (FPGA) in the mobile edge computing device in practical application, and the th communication Unit 43 in the mobile edge computing device can be implemented by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface, a standardized protocol, etc.) and a transceiver antenna in practical application.
It should be noted that, when the mobile edge computing device provided in the foregoing embodiment performs data processing based on quality of service, only the division of each program module is described as an example, and in practical applications, the processing allocation may be completed by different program modules as needed, that is, the internal structure of the mobile edge computing device is divided into different program modules to complete all or part of the processing described above.
The embodiment of the present invention further provides base stations, fig. 6 is a schematic view of a structure of the base station according to the embodiment of the present invention, and as shown in fig. 6, the base station includes a second communication unit 51, a second identification unit 52 and a scheduling unit 53, wherein,
the second communication unit 51 is configured to obtain downlink data from the mobile edge computing device, where the downlink data is in a GTP-U format;
the second identifying unit 52 is configured to analyze the GTP-U format downlink data to obtain the qos priority information carried in the packet header of the GTP-U format downlink data;
the scheduling unit 53 is configured to schedule data based on the qos priority information obtained by the second identifying unit 52.
In this embodiment, the qos priority information is filled in an extension field of a packet header of the GTP-U format downlink data.
In the embodiment of the present invention, the second identifying unit 52 and the scheduling unit 53 in the base station can be implemented by a CPU, a DSP, an MCU, or an FPGA in the base station in practical application; the second communication unit 51 in the mobile edge computing device can be implemented in practical applications by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface, a protocol, etc.) and a transceiver antenna.
It should be noted that, when the base station provided in the foregoing embodiment performs data processing based on quality of service, only the division of the program modules is illustrated, and in practical applications, the processing allocation may be completed by different program modules according to needs, that is, the internal structure of the base station is divided into different program modules to complete all or part of the processing described above.
The embodiment of the invention also provides kinds of mobile edge computing equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can be run on the processor, wherein the processor realizes the steps of obtaining service data, identifying service quality related information corresponding to the service data, determining service quality priority information based on the service quality related information, encapsulating downlink data based on GTP-U and sending the downlink data in a GTP-U format to a base station, wherein the service quality priority information is encapsulated in a packet header of the downlink data in the GTP-U format.
In the embodiment, the processor executes the program to implement the filling of the qos priority information into an extension field of a header of downlink data in GTP-U format.
In the embodiment, the processor implements, when executing the program, obtaining service request data, and obtaining service type information and/or user level information carried in the service request data.
In the embodiment, the processor executes the program to recognize whether the service data is local service data after acquiring the service data, send the service data to a local service processing server corresponding to the service data after the recognition result is that the service data is local service data, and acquire downlink data from the local service processing server.
The embodiment of the invention also provides base stations, which comprise a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to obtain downlink data from mobile edge computing equipment, the downlink data is in a GTP-U format, the downlink data in the GTP-U format is analyzed to obtain service quality priority information carried in a packet header of the downlink data in the GTP-U format, and data scheduling is carried out based on the service quality priority information, wherein the service quality priority information is filled into an extension field of the packet header of the downlink data in the GTP-U format.
The mobile edge computing device or base station also includes a communications interface, and the various components of the mobile edge computing device or base station are coupled via a bus system.
It will be appreciated that the memory can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The described memory for embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The steps of the methods disclosed in the embodiments of the present invention may be implemented or performed by a processor, which may be a integrated circuit chip, having signal processing capabilities, or by instructions in the form of hardware, integrated logic circuits or software in the processor.
The embodiment of the invention also provides computer-readable storage media, wherein the computer-readable storage media stores computer programs, and when the computer programs are executed by a processor, the programs realize that the service data are obtained, the service quality related information corresponding to the service data are identified, the service quality priority information is determined based on the service quality related information, the downlink data in the GTP-U format are sent to a base station based on the downlink data encapsulated by GTP-U, and the service quality priority information is encapsulated in the packet header of the downlink data in the GTP-U format.
In an embodiment , the program when executed by a processor implements padding the quality of service priority information into an extension field of a header of downstream data in GTP-U format.
In the embodiment, the program is implemented, when executed by a processor, to obtain service request data, and obtain service type information and/or user level information carried in the service request data.
In the embodiment, the program when executed by a processor implements identifying whether the service data is local service data after obtaining the service data, sending the service data to a local service processing server corresponding to the service data after the identification result is that the service data is local service data, and obtaining downlink data from the local service processing server.
The embodiment of the invention also provides computer-readable storage media, wherein the computer-readable storage media stores computer programs, and when the programs are executed by a processor, the programs are realized by obtaining downlink data from a mobile edge computing device, the downlink data is in a GTP-U format, analyzing the downlink data in the GTP-U format, obtaining service quality priority information carried in a packet header of the downlink data in the GTP-U format, and performing data scheduling based on the service quality priority information.
The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units into only logical functional divisions, and other divisions may be possible in actual practice, e.g., multiple units or components may be combined, or may be integrated into another systems, or features may be omitted or not executed.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in places, may also be distributed on multiple network units, and some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into processing units, or each unit may be used as units individually, or two or more units may be integrated into units, and the integrated units may be implemented in the form of hardware, or in the form of hardware and software functional units.
It will be understood by those skilled in the art that all or part of the steps of implementing the above method embodiments may be implemented by hardware related to program instructions, and that the program may be stored in computer readable storage media, and when executed, the program performs the steps including the above method embodiments, and the storage media include various media capable of storing program codes, such as removable storage devices, ROMs, RAMs, magnetic or optical disks, etc.
Based on the understanding, the technical solution of the embodiments of the present invention or the portions contributing to the prior art may be embodied in the form of a software product stored in storage media, which includes several instructions for making computer devices (which may be personal computers, servers, or network devices) execute all or part of the methods described in the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.