Disclosure of Invention
In order to solve the existing technical problems, the embodiment of the invention provides a data processing method, equipment and a computer storage medium based on service quality.
In order to achieve the above object, the technical solution of the embodiment of the present invention is as follows:
the embodiment of the invention provides a data processing method based on service quality, which comprises the following steps:
the mobile edge computing equipment obtains 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 tunneling protocol user plane (GTP-U, user plane of General Packet Radio Service Tunneling Protocol), and transmitting the downlink data in a GTP-U format to a base station; wherein, the QoS priority information is encapsulated in a packet header of the downlink data in the GTP-U format.
In the above scheme, the downlink data encapsulation 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 scheme, the mobile edge computing device obtains service data, and identifies service quality related information corresponding to the service data, including:
the mobile edge computing device 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 obtaining service data, the mobile edge computing equipment identifies whether the service data is local service data;
when the identification result is that the service data is local service data, sending the service data to a local service processing server corresponding to the service data;
and obtaining downlink data from the local service processing server.
The embodiment of the invention also provides a data processing method based on the service quality, which comprises the following steps:
the base station obtains downlink data from mobile edge computing equipment, wherein the downlink data is in a GTP-U format;
analyzing downlink data in a GTP-U format, obtaining service quality priority information carried in a packet head of the downlink data in the GTP-U format, and carrying out data scheduling based on the service quality priority information.
In the above scheme, the qos priority information is filled into an extension field of a packet header of the downlink data in the GTP-U format.
The embodiment of the invention also provides a mobile edge computing device, which comprises: the device comprises a first identification unit, a packaging unit and a first communication unit; wherein,,
the first identification unit is used for obtaining service data and identifying service quality related information corresponding to the service data; determining quality of service priority information based on the quality of service related information;
the encapsulation unit is used for encapsulating downlink data based on a general packet radio service tunneling protocol user plane GTP-U; wherein, the QoS priority information is encapsulated in a packet header of the downlink data in the GTP-U format;
the first communication unit is configured to send downlink data in the GTP-U format encapsulated by the encapsulation unit to a base station.
In the above scheme, the encapsulation 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 first identifying unit is configured to obtain service request data, and obtain service type information and/or user class information carried in the service request data.
In the above scheme, the first identifying unit is further configured to identify whether the service data is local service data after obtaining the service data;
the first communication unit is further configured to send the service data to a local service processing server corresponding to the service data when the identification result obtained by the first identification unit 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 a base station, which comprises: the device comprises a second communication unit, a second identification unit and a scheduling unit; wherein,,
the second communication unit 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 is configured to parse the downlink data in the GTP-U format, and obtain service quality priority information carried in a packet header of the downlink data in the GTP-U format;
the scheduling unit is used for performing data scheduling based on the service quality priority information obtained by the second identification unit.
In the above scheme, the qos priority information is filled into an extension field of a packet header of the downlink data in the GTP-U format.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the steps of the data processing method based on service quality, which is applied to the mobile edge computing device and described in the embodiment of the invention; or,
the program when executed by the processor implements 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.
The embodiment of the invention also provides a mobile edge computing device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the data processing method based on the service quality, which is applied to the mobile edge computing device, when the processor executes the program.
The embodiment of the invention also provides a base station, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the data processing method based on the service quality, which is applied to the base station, when the processor executes the program.
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, comprise the steps that mobile edge computing equipment obtains 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; based on GTP-U encapsulation downlink data, transmitting GTP-U format downlink data to a base station; wherein, the QoS priority information is encapsulated in a packet 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 performs data scheduling through the service quality priority information carried in the packet header of the downlink data after receiving the downlink data, and the service quality guarantee at the edge of the mobile access network (particularly through the mobile edge computing equipment) is realized.
Detailed Description
The invention will be described in further detail with reference to the accompanying drawings and specific examples.
The embodiment of the invention provides a data processing method based on service quality. Fig. 1 is a flow chart of a data processing method based on quality of service according to an embodiment of the present invention; as shown in fig. 1, the method includes:
step 101: the mobile edge computing device obtains service data and identifies service quality related information corresponding to the service data.
Step 102: and determining service quality priority information based on the service quality related information.
Step 103: based on GTP-U encapsulation downlink data, transmitting GTP-U format downlink data to a base station; wherein, the QoS priority information is encapsulated in a packet header of the downlink data in the GTP-U format.
The present embodiments are applied in a mobile edge computing device (i.e., MEC) located at the edge of a mobile access network, which in one embodiment may be located between a radio access network and a mobile core network.
In this embodiment, the mobile edge computing device obtains user plane data sent by the terminal through the base station, where the user plane data is specifically service data; as an embodiment, the service data may be service request data in particular. The service data may carry service type information and/or user class information. Then, as an implementation manner, the mobile edge computing device obtains service data, and identifies service quality related information corresponding to the service data, including: the mobile edge computing device obtains service request data and obtains service type information and/or user grade 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 GTP-U format.
In this embodiment, the downlink data encapsulation 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 the GTP-U data may be described with reference to table 1.
TABLE 1
Wherein the general format of the next extended header type (Next Extension Header Type) field is shown in table 2; where m+1=n×4 bytes, n is a positive number. The common format is an integer multiple of 4 bytes, so the Next Extension Header Type field is also a scalable field.
TABLE 2
1
|
Extension Header Length
|
2-m
|
Extension Header Content
|
m+1
|
Next Extension Header Type |
In the embodiment of the present invention, the mobile edge computing device fills the qos priority information into the extension field of the header of the downlink data in GTP-U format, and as described in the field description of the header of the GTP-U data, the qos priority information is filled into the Next Extension Header Type field.
As an example, a field description of a header of GTP-U data in an embodiment of the present invention may be shown in table 3.
TABLE 3 Table 3
In practical application, as an example, E in the first byte of the packet header of GTP-U data is identified as 1, next Extension Header Type extension field in the packet header of GTP-U is fixed to a preset value, for example, as shown in table 3, and is fixed to 0000 0011, the extension field length (Extension Header Length) is 0x01, which is expressed as 1-4 bytes in length, the first 4 bits in 8 bits in Extension Header Content field are used to indicate different service types, which may also be referred to as priorities of different services, and the 5 th bit is used to indicate user class information, for example, is a general user or VIP user type.
As an example, the format of the expanded Next Extension Header Type field is shown in table 4; wherein a value of 0000 0001 for the Extension Header Length field indicates that the GTP-U header is 4 bytes long; extension Header Content field has a value of 0001 1000 0000 0000, the first 4 bits have a value of 1, indicating that the service priority is 1, and the 5 th bit is 1, indicating that the user is a VIP user; a value of 0000 0011 in the Extension Header Type field indicates that the data type is local traffic data for transmission between the MEC and the eNB.
TABLE 4 Table 4
As an embodiment, the method further comprises: after obtaining service data, the mobile edge computing equipment identifies whether the service data is local service data; when the identification result is that the service data is local service data, sending the service data to a local service processing server corresponding to the service data; and obtaining downlink data from the local service processing server.
Specifically, the mobile edge computing device may identify, through a network address (e.g., an IP address) in the service data, whether the service data is local service data, and send the service data to a local service processing server corresponding to the service data after determining that the service data is local service data.
In practical applications, the local service processing server is also located at the edge of the mobile access network, and is used for performing local processing on service data. Wherein the local service processing server is associated with the service; for example, if a user views a video through a terminal using a video client, a local service processing server corresponding to the video client may be set at the edge of the mobile access network. The local service processing server and the mobile edge computing device may be located in the same physical entity (e.g., server), or may be deployed separately, i.e., the local service processing server and the mobile edge computing device are respectively disposed in different servers.
Further, the mobile edge computing device obtains downlink data returned by the local service processing server based on the sent service data, encapsulates the downlink data into a GTP-U format, and specifically encapsulates the service quality priority information in a packet header of the downlink data in the GTP-U format.
In an embodiment, the method further comprises: and when the identification result is that the service data is not the local service data, sending the service data to core network equipment.
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 performs data scheduling according to 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 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 a data processing method based on the service quality. Fig. 2 is a flow chart diagram of a data processing method based on quality of service according to an embodiment of the present invention; as shown in fig. 2, the method includes:
step 201: the base station obtains downlink data from the mobile edge computing device, wherein the downlink data is in a GTP-U format.
Step 202: analyzing downlink data in a GTP-U format, obtaining service quality priority information carried in a packet head of the downlink data in the GTP-U format, and carrying out data scheduling based on the service quality priority information.
In this embodiment, the qos priority information is filled into an extension field of a header of the downlink data in the GTP-U format. After obtaining the downlink data from the edge computing device, the base station analyzes the downlink data, 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 so as 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 performs data scheduling according to 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 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 diagram of an application architecture of a data processing method based on quality of service according to an embodiment of the present invention; as shown in fig. 3, includes a base station and a mobile edge computing device; wherein the number of mobile edge computing devices connected to the base station may be at least one. The base station establishes wireless connection with a plurality of terminals; the mobile edge computing device is connected with a plurality of local service processing servers; in practical applications, the local service processing server and the mobile edge computing device may be respectively disposed in different physical entities, or may be disposed in the same physical entity. The local service processor performs local processing on the corresponding service. For example, if the terminal views video through a video client, the local service processor is a local processing server for that video client.
Based on the application architecture shown in fig. 3, fig. 4 is an interactive 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, the service request reaching the mobile edge computing device. The service request carries information such as service type, user grade and the like.
Step 302: the mobile edge computing device identifies a service request and determines that the service request corresponds to a local service. In particular, the mobile edge computing device may determine whether to be a local service based on the IP address of the service request. If it is determined that the service request corresponds to a local service, step 303 is executed; if it is determined that the service request is not a corresponding 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 a local service processing server.
Step 304: the local service processing server sends a service response to the mobile edge computing device and simultaneously sends downlink data.
Step 305: after the mobile edge computing equipment obtains the downlink data, the downlink data is analyzed, the downlink data is packaged into a GTP-U format, and the service quality priority information is filled in an extension field of a Header (Header) of the downlink data in the GTP-U format; wherein the service quality priority information service type information and/or user class information is determined.
Step 306: the mobile edge computing device sends downstream data encapsulated in GTP-U format.
Step 307: the base station obtains downlink data in GTP-U format, and identifies service quality priority information carried by an extension field of a packet head of the downlink data.
Step 308: and the base station schedules downlink data based on the service quality priority information.
The embodiment of the invention also provides mobile edge computing equipment. FIG. 5 is a schematic diagram of a mobile edge computing device according to an embodiment of the present invention; as shown in fig. 5, the mobile edge computing device includes: a first recognition unit 41, a packaging unit 42, and a first communication unit 43; wherein,,
the first identifying unit 41 is configured to obtain service data, and identify service quality related information corresponding to the service data; determining quality of service priority information based on the quality of service related information;
the encapsulation unit 42 is configured to encapsulate downlink data based on a GTP-U of a gprs tunneling protocol; wherein, the QoS priority information is encapsulated in a packet header of the downlink data in the GTP-U format;
the first communication unit 43 is configured to send the GTP-U format downlink data encapsulated by the encapsulation 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 header of downlink data in GTP-U format.
In an embodiment, the first identifying unit 41 is configured to obtain service request data, and obtain service type information and/or user class information carried in the service request data.
In an embodiment, the first identifying unit 41 is further configured to identify whether the service data is local service data after obtaining the service data;
the first communication unit 43 is further configured to send the service data to a local service processing server corresponding to the service data when the identification result obtained by the first identification unit 41 is that the service data is local service data; and obtaining downlink data from the local service processing server.
In the embodiment of the present invention, the first identifying unit 41 and the packaging unit 42 in the mobile edge computing device may be implemented by a central processing unit (CPU, central Processing Unit), a digital signal processor (DSP, digital Signal Processor), a micro control unit (MCU, microcontroller Unit) or a programmable gate array (FPGA, field-Programmable Gate Array) in the mobile edge computing device in practical application; the first communication unit 43 in the mobile edge computing device may be implemented in practical application 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.
It should be noted that: in the mobile edge computing device provided in the foregoing embodiment, when performing data processing based on quality of service, only the division of each program module is used for illustration, and in practical application, the processing allocation may be performed by different program modules according to needs, 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. In addition, the mobile edge computing device provided in the above embodiment and the data processing method embodiment based on quality of service belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, and will not be described herein again.
The embodiment of the invention also provides a base station. Fig. 6 is a schematic diagram of a composition structure of a base station according to an embodiment of the present invention; 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 parse the downlink data in the GTP-U format, and obtain quality of service priority information carried in a packet header of the downlink data in the GTP-U format;
the scheduling unit 53 is configured to perform data scheduling based on the qos priority information obtained by the second identifying unit 52.
In this embodiment, the qos priority information is filled into an extension field of a header of the downlink data in the GTP-U format.
In the embodiment of the present invention, the second identifying unit 52 and the scheduling unit 53 in the base station may be implemented by CPU, DSP, MCU or FPGA in the base station in practical application; the second communication unit 51 in the mobile edge computing device may be implemented in practical application 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.
It should be noted that: in the base station provided in the above embodiment, when performing data processing based on quality of service, only the division of each program module is used for illustration, in practical application, the processing allocation may be performed 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. In addition, the base station provided in the above embodiment and the data processing method embodiment based on the quality of service belong to the same concept, and the specific implementation process is detailed in the method embodiment, which is not repeated here.
The embodiment of the invention also provides a mobile edge computing device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the program: acquiring service data and identifying service quality related information corresponding to the service data; determining quality of service priority information based on the quality of service related information; based on GTP-U encapsulation downlink data, transmitting GTP-U format downlink data to a base station; wherein, the QoS priority information is encapsulated in a packet header of the downlink data in the GTP-U format.
In one embodiment, the processor implements the program when executing the program: and filling the service quality priority information into an extension field of a packet header of downlink data in a GTP-U format.
In one embodiment, the processor implements the program when executing the program: and obtaining service request data, and obtaining service type information and/or user grade information carried in the service request data.
In one embodiment, the processor implements the program when executing the program: after obtaining service data, identifying whether the service data is local service data; when the identification result is that the service data is local service data, sending the service data to a local service processing server corresponding to the service data; and obtaining downlink data from the local service processing server.
The embodiment of the invention also provides a base station, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the following steps when executing the program: obtaining downlink data from mobile edge computing equipment, wherein the downlink data is in a GTP-U format; analyzing downlink data in a GTP-U format, obtaining service quality priority information carried in a packet head of the downlink data in the GTP-U format, and carrying out data scheduling based on the service quality priority information. And filling the QoS priority information into an extension field of a packet header of the downlink data in the GTP-U format.
The mobile edge computing device or the base station further comprises a communication interface; the various components in the mobile edge computing device or base station are coupled together by a bus system. It will be appreciated that a bus system is used to enable connected communications between these components. The bus system includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for the sake of clarity the various buses are labeled as bus systems.
It will be appreciated that the memory can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-Only Memory), electrically erasable programmable Read Only Memory (EEPROM, electrically Erasable Programmable Read-Only Memory), magnetic random access Memory (FRAM, ferromagnetic random access Memory), flash Memory (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access memory (DRAM, dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random access memory (ESDRAM, enhanced Synchronous Dynamic Random Access Memory), synchronous link dynamic random access memory (SLDRAM, syncLink Dynamic Random Access Memory), direct memory bus random access memory (DRRAM, direct Rambus Random Access Memory). The memory described by embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed by the embodiment of the invention can be applied to a processor or realized by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general purpose processor, DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiment of the invention can be directly embodied in the hardware of the decoding processor or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium having memory and a processor reading information from the memory and performing the steps of the method in combination with hardware.
The embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements: acquiring service data and identifying service quality related information corresponding to the service data; determining quality of service priority information based on the quality of service related information; based on GTP-U encapsulation downlink data, transmitting GTP-U format downlink data to a base station; wherein, the QoS priority information is encapsulated in a packet header of the downlink data in the GTP-U format.
In one embodiment, the program is implemented when executed by a processor: and filling the service quality priority information into an extension field of a packet header of downlink data in a GTP-U format.
In one embodiment, the program is implemented when executed by a processor: and obtaining service request data, and obtaining service type information and/or user grade information carried in the service request data.
In one embodiment, the program is implemented when executed by a processor: after obtaining service data, identifying whether the service data is local service data; when the identification result is that the service data is local service data, sending the service data to a local service processing server corresponding to the service data; and obtaining downlink data from the local service processing server.
The embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements: obtaining downlink data from mobile edge computing equipment, wherein the downlink data is in a GTP-U format; analyzing downlink data in a GTP-U format, obtaining service quality priority information carried in a packet head of the downlink data in the GTP-U format, and carrying out data scheduling based on the service quality priority information. And filling the QoS priority information into an extension field of a packet header of the downlink data in the GTP-U format.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.