CN110769045A - Data processing method, data processing device, computer equipment and storage medium - Google Patents

Data processing method, data processing device, computer equipment and storage medium Download PDF

Info

Publication number
CN110769045A
CN110769045A CN201910984093.9A CN201910984093A CN110769045A CN 110769045 A CN110769045 A CN 110769045A CN 201910984093 A CN201910984093 A CN 201910984093A CN 110769045 A CN110769045 A CN 110769045A
Authority
CN
China
Prior art keywords
access request
mec platform
application service
resource
cloud server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910984093.9A
Other languages
Chinese (zh)
Inventor
何志文
邵浩云
彭宁
肖锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi Digital Life Technology Co Ltd
Original Assignee
CENTURY DRAGON INFORMATION NETWORK Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CENTURY DRAGON INFORMATION NETWORK Co Ltd filed Critical CENTURY DRAGON INFORMATION NETWORK Co Ltd
Priority to CN201910984093.9A priority Critical patent/CN110769045A/en
Publication of CN110769045A publication Critical patent/CN110769045A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1012Server selection for load balancing based on compliance of requirements or conditions with available server resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application relates to a data processing method, a data processing device, computer equipment and a storage medium. The method comprises the following steps: the method comprises the steps that an MEC platform receives an access request of a user side sent by network element equipment, wherein the access request is used for requesting to access a target application service; the MEC platform detects whether the current available resources corresponding to the target application service can process the access request; if the access request cannot be processed, the MEC platform forwards the access request to a target cloud server for processing. By adopting the method, the problem that the access request of the user side cannot be processed due to limited MEC resources can be avoided, and the request processing efficiency of the user side is improved.

Description

Data processing method, data processing device, computer equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a data processing method, apparatus, computer device, and storage medium.
Background
With the development of internet technology, the requirements for networks are continuously improved, and at present, 4G networks are developed mature and widely applied.
Driven by 4G networks, 5G networks are also starting commissioning. In a 5G network, a Multi-access Edge Computing (MEC) platform is one of main network service capabilities of the 5G network, the MEC platform is closer to a network service solution at a user plane, and many feature applications of the 5G network can be realized only by depending on the MEC platform.
However, the MEC platform has limited resources and can carry limited access traffic, which results in inefficient request processing at the user end.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data processing method, an apparatus, a computer device, and a storage medium capable of improving the request processing efficiency of a user side.
In a first aspect, the present application provides a data processing method, including:
the method comprises the steps that an MEC platform receives an access request of a user side sent by network element equipment, wherein the access request is used for requesting to access a target application service;
the MEC platform detects whether the current available resources corresponding to the target application service can process the access request;
and if the access request cannot be processed, the MEC platform forwards the access request to the target cloud server for processing.
In one embodiment, the detecting, by the MEC platform, whether the currently available resource can handle the access request includes:
the MEC platform detects the resource amount required by accessing the target application service;
the MEC platform compares the resource quantity required by accessing the target application service with the resource quantity of the current available resource to obtain a comparison result;
and the MEC platform determines whether the current available resource can process the access request according to the comparison result.
In one embodiment, the detecting, by the MEC platform, an amount of resources required for processing the target application service includes:
the MEC platform determines the resource amount required by the target application service according to a preset resource information table; the preset resource information table includes the corresponding relationship between each application service and the resource amount.
In one embodiment, the determining, by the MEC platform, whether the currently available resource can handle the access request according to the comparison result includes:
if the resource quantity required by the target application service is larger than the resource quantity of the current available resource, the MEC platform determines that the current available resource cannot process the access request;
if the amount of resources required by the target application service is less than or equal to the amount of resources of the currently available resources, the MEC platform determines that the currently available resources are capable of processing the access request.
In one embodiment, the method comprises:
the MEC platform establishes an information table of a plurality of cloud servers in advance, and the information table comprises attribute information of each cloud server.
In one embodiment, the forwarding, by the MEC platform, the access request to the target cloud server for processing includes:
the MEC platform acquires attribute information corresponding to each cloud server according to the information table;
and the MEC platform determines a target cloud server for the target application service according to the attribute information corresponding to each cloud server.
In an embodiment, before the MEC platform receives the access request of the user side sent by the network element device, the method includes:
the MEC platform acquires feature information of accessible application services;
the MEC platform generates a routing strategy corresponding to each application service according to the feature information of the accessible application service, and issues the routing strategy to the network element equipment through the network element interface; and the routing strategy is used for indicating the network element equipment to filter and send the access request carrying the corresponding accessible application service to the MEC platform.
In a second aspect, the present application provides a data processing apparatus comprising:
a receiving module, configured to receive, by an MEC platform, an access request of a user side sent by a network element device, where the access request is used to request access to a target application service;
the detection module is used for detecting whether the current available resources corresponding to the target application service can process the access request by the MEC platform;
and the forwarding module is used for forwarding the access request to the target cloud server for processing by the MEC platform if the access request cannot be processed.
In a third aspect, the present application provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of any one of the embodiments of the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the embodiments of the first aspect.
The data processing method, the data processing device, the computer equipment and the storage medium have the beneficial effects that:
after receiving an access request of a user side sent by network element equipment, an MEC platform detects whether a current available resource corresponding to a target application service can process the access request, and if the access request cannot be processed, the MEC platform forwards the access request to a target cloud server for processing. In the conventional technology, due to the limitation of the MEC resources, if the access flow of the MEC exceeds the carrying capacity of the MEC, the access request cannot be processed, and the response fed back to the user side is the conditions of request error, acquisition incapability and the like. By forwarding the access request exceeding the bearing capacity of the MEC platform to the target cloud server for processing, the problem that the access request of the user side cannot be processed due to limited MEC resources is avoided, and the request processing efficiency of the user side is improved.
Drawings
FIG. 1 is a diagram of an application environment of a data processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method provided in an embodiment of the present application;
FIG. 3 is a schematic flow chart of another data processing method provided in the embodiments of the present application;
FIG. 4 is a schematic flow chart diagram of another data processing method provided in the embodiments of the present application;
FIG. 5 is a schematic flow chart diagram of another data processing method provided in the embodiments of the present application;
fig. 6 is a block diagram of a data processing apparatus provided in an embodiment of the present application;
fig. 7 is a block diagram of another data processing apparatus provided in an embodiment of the present application;
fig. 8 is a block diagram of another data processing apparatus provided in an embodiment of the present application;
fig. 9 is a block diagram of another data processing apparatus provided in an embodiment of the present application;
fig. 10 is a block diagram of another data processing apparatus provided in an embodiment of the present application;
fig. 11 is a block diagram of another data processing apparatus provided in an embodiment of the present application;
fig. 12 is an internal structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data processing method provided by the application can be applied to the application environment shown in fig. 1. The application environment includes a user terminal 101, a base station 102, a network element device 103, a Multi-access Edge Computing (MEC) platform 104, a network element interface 105, and a cloud server 106, where the cloud server 106, the MEC platform 104, and the network element device 103 may perform data transmission. The user terminal 101 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices; wherein, the base station 102 includes but is not limited to 4G base station, 5G base station, 6G base station, etc.; the network element device 103 includes a network element interface 105, where the network element interface has a User Plane Function (UPF)/Access and Mobility Management Function (AMF) for forwarding User end service data; the MEC platform 104 may be implemented by an independent server or a server cluster composed of a plurality of servers, and a plurality of application services may be deployed on the MEC platform; the cloud server 106 includes at least one server, which may be the same as or different from the server of the MEC platform, and is configured to store data related to the application service.
The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that, in the data processing method provided in the embodiments of fig. 2 to fig. 5 of the present application, the execution subject may be a server, for example, an MEC platform, or may be a data processing apparatus, and the data processing apparatus may become part or all of the data processing server by software, hardware, or a combination of software and hardware. In the following method embodiments, the embodiment will be described by taking the embodiment where the main execution body is the MEC platform as an example.
In one embodiment, as shown in fig. 2, a data processing method is provided, which is described by taking the application environment in fig. 1 as an example, and includes the following steps:
s201, the MEC platform receives an access request of a user side sent by the network element device, where the access request is used to request to access a target application service.
The access request refers to a request for accessing the target application service by the user side according to the requirement of the user. The access request may carry content including a source IP, a target IP, a transport protocol, a request method, interface parameters, etc., and may represent opening a web page, downloading a file, playing a video or music, etc.
In this embodiment, after the MEC platform receives the access request of the user side sent by the network element device, the MEC platform accesses the target application service according to the access request, the target application service implements the request of the user side according to the access request, and the forwarding of the access request can be implemented in a 3G, 4G, 5G, WIFI, or other manners. For example, if the access request received by the MEC platform indicates to download a certain file in the hundred-degree cloud disk, the MEC platform accesses the hundred-degree cloud disk service provided by the MEC platform according to the access request to implement the download request of the file.
S202, the MEC platform detects whether the current available resources corresponding to the target application service can process the access request.
The current available resource represents a resource that can be used for Processing an access request and corresponds to the current MEC platform and the target application service, and the resource may include resources such as a Central Processing Unit (CPU), a memory, a bandwidth, and a Graphics Processing Unit (GPU).
In this embodiment, because the MEC platform has limited resources, the access requests that can be processed simultaneously are limited, and when the MEC platform processes other access requests and occupies more platform resources, the MEC platform may not process an access request because the available resources are insufficient when the MEC platform receives the access request. Therefore, after the MEC receives an access request, the MEC platform will detect whether the currently available resource can handle the access request, by comparing the resource amount of the currently available resource of the MEC platform with the resource amount required for handling the access request. For example, after the MEC platform receives an access request indicating to load a picture, resources corresponding to a target application service for processing the loaded picture include four types, namely a server CPU, a memory, a bandwidth, and a GPU, and it is detected whether the four types of resources of the MEC platform can process the access request currently.
And S203, if the access request cannot be processed, the MEC platform forwards the access request to a target cloud server for processing.
The target cloud server is a cloud server capable of processing an access request forwarded by the MEC platform, and the target cloud server has a target application service accessed by the access request.
In this embodiment, if the MEC platform detects that the currently available resources corresponding to the target application service are not enough to process the access request, and meanwhile, in order to avoid the problem of low efficiency caused by the fact that the MEC platform cannot process the access request of the user side, the access request is forwarded to the target cloud server for processing, so that the request of the user side is realized. The MEC platform may forward the access request through an MEP component of the MEC platform, or through a network element interface. And after receiving the access request forwarded by the MEC platform, the target cloud service processes the access request and feeds back a processing result to the user side. For example, after detecting that the current available resource corresponding to the target application service cannot process an access request representing playing of a video, the MEC platform forwards the access request to the target cloud server, and the target cloud server processes the access request to realize the video playing request.
According to the data processing method, after receiving the access request of the user side sent by the network element device, the MEC platform detects whether the current available resource corresponding to the target application service can process the access request, and if the access request cannot be processed, the MEC platform forwards the access request to the target cloud server for processing. In the conventional technology, due to the limitation of the MEC resources, if the access flow of the MEC exceeds the carrying capacity of the MEC, the access request cannot be processed, and the response fed back to the user side is the conditions of request error, acquisition incapability and the like. By forwarding the access request exceeding the bearing capacity of the MEC platform to the target cloud server for processing, the problem that the access request of the user side cannot be processed due to limited MEC resources is avoided, and the request processing efficiency of the user side is improved.
On the basis of the embodiment shown in fig. 2, as shown in fig. 3, the step "the MEC platform detects whether the currently available resource can process the access request" in the step S202 further includes the following steps:
s301, detecting the resource amount required by accessing the target application service by the MEC platform.
Wherein the resource amount indicates how much system resources need to be allocated for the target application service on the MEC platform to process the access request. Taking the above-mentioned processing of the access request for loading the picture as an example, the resource amount indicates the number of the four resources, i.e., the CPU, the memory, the bandwidth, and the GPU of the server.
In this embodiment, after the MEC platform receives the access request, the MEC platform detects the amount of resources required for accessing the target application service, and the specific method is to pre-process the access request, and pre-configure various resources required by the target application service to process the access request, so as to obtain the amount of resources required for accessing the target application service. For example, taking the above-mentioned access request for processing a loaded picture as an example, after receiving the access request for loading a picture, the MEC platform pre-configures, according to the information such as the size and content of the loaded picture, how many resources such as a server CPU, a memory size, a bandwidth, and a GPU are required by the target application service to process and load the picture, and uses the resources as the resource amount for accessing the target application service.
S302, the MEC platform compares the resource quantity required by accessing the target application service with the resource quantity of the current available resource to obtain a comparison result.
The comparison result comprises two types of resource quantity which is larger than the current available resource quantity and is less than or equal to the current available resource quantity.
In this embodiment, the MEC platform compares the resource amount required for accessing the target application service detected in S301 with the resource amount of the available resource corresponding to the target application service, which is not occupied by the MEC platform currently, to obtain a comparison result. For example, detecting that the resource amount required for accessing the target application service is A, the resource amount of the current available resource corresponding to the MEC platform and the target application service is B, and comparing the sizes of A and B to obtain two comparison results; a is larger than B, namely the resource amount required for accessing the target application service is larger than the resource amount of the currently available resource, and A is smaller than or equal to B, namely the resource amount required for accessing the target application service is smaller than or equal to the resource amount of the currently available resource. Or, the resource amounts of various types required by the processing access of the target application service are obtained first, and then the resource amounts of various types are accumulated to obtain the total resource amount, and then the total resource amount is compared. For example, the resource amounts required for processing the target application service respectively include a server CPU of a1, a memory of a2, and a bandwidth of A3, and the total resource amount a is obtained by accumulating a value a1+ a2+ A3; the available resources corresponding to the current target application service respectively comprise a server CPU (Central processing Unit) of B1, a memory of B2 and a bandwidth of B3, and the total resource amount B of the current available resources is obtained by accumulation, namely B1+ B2+ B3; and comparing the total resource quantity A with the total resource quantity B of the current available resources to obtain a comparison result.
S303, the MEC platform determines whether the current available resource can process the access request according to the comparison result.
In this embodiment, the MEC platform determines whether the currently available resources are sufficient to allocate the resources required by the target application service to process the access request according to the comparison result obtained in S302. Optionally, if the resource amount required by the target application service is greater than the resource amount of the currently available resource, the MEC platform determines that the currently available resource cannot process the access request; if the amount of resources required by the target application service is less than or equal to the amount of resources of the currently available resources, the MEC platform determines that the currently available resources are capable of processing the access request. When the MEC platform determines that the current available resources cannot process the access request, the MEC platform forwards the access request to the target cloud server, and when the MEC platform determines that the current available resources can be processed, the MEC platform processes the access request, so that the access request of the user side can be processed.
According to the data processing method, the MEC platform detects the resource quantity required by accessing the target application service, compares the resource quantity with the resource quantity of the current available resource of the MEC platform to obtain a comparison result, and judges whether the current available resource of the MEC platform can process the access request according to the comparison result. And determining whether the current MEC platform can process the access request or not by comparing the resource amount required by processing the target application service with the resource amount of the current available resource of the MEC platform, and further determining whether the MEC platform or the target cloud server processes the access request. The method avoids the problem that the access request of the user side cannot be processed due to limited MEC platform resources, and greatly improves the request processing efficiency of the user side.
Further, based on the embodiment shown in fig. 3, a detailed explanation is made on the "MEC platform detects the amount of resources required to access the target application service" in the step S301. Optionally, the MEC platform determines the amount of resources required by the target application service according to a preset resource information table.
In this embodiment, when the MEC platform detects the amount of resources required for accessing the target application service, the MEC platform passes through the correspondence between the target application service and the amount of resources in the resource information table. Optionally, the preset resource information table includes a corresponding relationship between each application service and the resource amount. The preset resource information table may include the total resource amount of various resources required for accessing each application service, and may further include resource amounts corresponding to various resources required for accessing each application service. For example, when the accessed application service is the opening of the hundred degree front page, the amount of the resource required for accessing the opening of the hundred degree front page can be determined according to the preset resource information table, or the amount of the resource corresponding to each resource when the opening of the hundred degree front page is determined through the preset resource information table, and then the amount of the resource required for accessing the opening of the hundred degree front page is obtained by summing.
According to the data processing method, the MEC platform determines the resource quantity required by the target application service according to the preset resource information table, the preset resource information table comprises the corresponding relation between each application service and the resource quantity, the resource quantity determined through the resource information table is more comprehensive and accurate, and the fact that whether the MEC platform detects the current available resource corresponding to the target application service can process the access request or not is guaranteed to be more reliable.
Based on the embodiment shown in fig. 2, when an access request that cannot be processed by the MEC platform is forwarded to a target cloud server, the target cloud server has a target application service accessed by the access request. The specific process of determining the target cloud server will be explained next. Optionally, the MEC platform establishes an information table of the plurality of cloud servers in advance, where the information table includes attribute information of each cloud server. .
The attribute information may include detailed information such as name, size, type, application service capability, and the like of each cloud server.
In this embodiment, the MEC platform needs to establish an information table with a plurality of cloud servers in advance, and the information is established according to the capabilities of the cloud servers, the application services that the cloud servers can process, and the distance from the user side. The attribute information of each cloud server can be inquired through the information table, the servers can be determined to process the access request according to the attribute information, namely, a target cloud server is determined, and after the target cloud server is determined, the MEC platform forwards the access request which cannot be processed to the target cloud server for processing. According to the data processing method, the MEC platform establishes the information tables of the plurality of cloud servers in advance, so that when the current available resources of the MEC are not enough to process the access request, the target cloud server can be determined quickly through the information tables, and the access time of a user side is shortened.
According to the binding relationship between the MEC platform and the cloud server, as shown in fig. 4, optionally, the MEC platform forwards the access request to the target cloud server for processing, and specifically includes the following steps:
s401, the MEC platform obtains attribute information corresponding to each cloud server according to the information table.
In this embodiment, when the MEC platform detects the access request that cannot be processed, the MEC platform determines the forwarded target cloud server, and acquires the attribute information corresponding to each cloud server from the information table. For example, the detailed information such as the name, size, type, application service capability and the like corresponding to the arri cloud server, the Tencent cloud server or the Baidu cloud server is obtained through the information table and is used as a basis for determining the forwarded target cloud server.
S402, the MEC platform determines a target cloud server for the target application service according to the attribute information corresponding to each cloud server.
In this embodiment, the MEC platform obtains attribute information corresponding to each cloud server according to S401, and determines a specific certain cloud server as a forwarding target cloud server. The MEC platform analyzes the access request which cannot be processed, a mapping relation is established between the content of a source IP, a target IP, a transmission protocol, a request method, interface parameters and the like carried by the access request and the attribute information corresponding to each cloud server, and when the mapping relation is established successfully, the cloud server can process the access request, namely the cloud server is used as the target cloud server. For example, when the MEC platform detects that an access request indicating downloading of a certain file on the Baidu cloud disk cannot be processed, a mapping relationship is established between the access request and the acquired attribute information of each cloud server according to contents such as a source IP, a target IP, a transmission protocol, a request method, interface parameters and the like carried by the access request, and finally the mapping relationship is established between the access request and the Baidu cloud server, that is, the Baidu cloud server can process the access request, and then the Baidu cloud server is used as the target cloud server. And when the access request establishes a mapping relation with the plurality of cloud servers at the same time, selecting the cloud server closest to the user side as a target server.
According to the data processing method, the MEC platform obtains attribute information corresponding to each cloud server according to the information table, and determines the target cloud server. According to the attribute information corresponding to each cloud server, the nearest cloud server capable of processing the access request is determined to be used as the target cloud server, the problem that resources of the MEC platform are limited is solved, and the response time of the user side request is shortened by selecting the nearest cloud server.
On the basis of the embodiment shown in fig. 2, before "the MEC platform receives the access request of the user side sent by the network element device" in S201, as shown in fig. 5, the method further includes the following steps:
s501, the MEC platform acquires feature information of accessible application services.
The characteristic information indicates information such as request type, method, interface parameter, etc. of each application service.
In this embodiment, after the application service is deployed on the MEC platform, the MEC platform obtains feature information such as a request type, a method, an interface parameter, and the like of the deployed application service through the network element interface, and the MEC platform generates a routing policy corresponding to the application service according to the feature information. For example, if a hundred-degree cloud disk service is deployed on the MEC platform, the feature information of the access request type, method, interface parameter, and the like that can be processed by the hundred-degree cloud disk service is obtained.
S502, the MEC platform generates a routing strategy corresponding to each application service according to the feature information of the accessible application service, and issues the routing strategy to the network element equipment through the network element interface.
Optionally, the routing policy is used to instruct the network element device to filter and send an access request carrying the corresponding accessible application service to the MEC platform, and the routing policy may include DNS hijacking, an IP policy, and the like.
In this embodiment, the MEC platform generates a routing policy corresponding to each application service according to the feature information of the application service that is obtained to be accessible, the MEC platform calls an interface provided by the NEF, configures the corresponding routing policy according to the feature information, issues the routing policy to the network element device through the network element interface, and instructs the network element device to filter out an access request carrying an application service end that the MEC platform can handle, and then forwards the access request to the MEC platform. For example, the network element device establishes a mapping relationship with the routing policy according to the content of the source IP, the target IP, the transmission protocol, the request method, the interface parameter, and the like carried by the access request. If the establishment is successful, the MEC platform provides accessible application services for the access request, and the access request is forwarded to the MEC platform.
According to the data processing method, the MEC platform generates the routing strategies corresponding to the application services by acquiring the feature information of the accessible application services, and instructs the network element equipment to forward the access requests which can be processed by the MEC platform to the MEC platform for processing, so that the access flow of the user side is reduced, and the request response time of the user side is shortened.
It should be understood that although the various steps in the flow charts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in FIG. 6, there is provided a data processing apparatus 600 comprising: a receiving module 601, a detecting module 602 and a forwarding module 603, wherein:
a receiving module 601, configured to receive, by an MEC platform, an access request of a user side sent by a network element device, where the access request is used to request access to a target application service;
a detecting module 602, configured to detect, by the MEC platform, whether a current available resource corresponding to the target application service can process the access request;
the forwarding module 603 is configured to, if the access request cannot be processed, forward the access request to the target cloud server by the MEC platform for processing.
In one embodiment, as shown in fig. 7, there is provided a data processing apparatus 600, wherein the detecting module 602 includes:
a detecting unit 6021, configured to detect an amount of resources required for accessing the target application service by the MEC platform;
a comparing unit 6022, configured to compare the resource amount required for accessing the target application service with the resource amount of the currently available resource by the MEC platform, and obtain a comparison result;
a first determining unit 6023, configured to determine whether the currently available resource can process the access request according to the comparison result.
In an embodiment, there is provided a data processing apparatus 600, where the detecting unit 6021 is specifically configured to determine, by the MEC platform, a resource amount required by a target application service according to a preset resource information table; the preset resource information table includes the corresponding relationship between each application service and the resource amount.
In one embodiment, as shown in fig. 8, there is provided a data processing apparatus 600, the first determining unit 6023 described above including:
a first determining subunit 6023a, configured to determine that the currently available resource cannot process the access request if the amount of the resource required by the target application service is greater than the amount of the currently available resource;
a second determining subunit 6023b, configured to determine that the currently available resource can process the access request if the amount of the resource required by the target application service is less than or equal to the amount of the currently available resource.
In one embodiment, as shown in fig. 9, there is provided a data processing apparatus 600, the apparatus 600 further comprising:
the establishing module 604 is used for the MEC platform to establish information tables of a plurality of cloud servers in advance;
in one embodiment, as shown in fig. 10, there is provided a data processing apparatus 600, where the forwarding module 603 includes:
an obtaining unit 6031, configured to, by the MEC platform, obtain attribute information corresponding to each cloud server according to the information table;
the second determining unit 6032 is configured to, by the MEC platform, determine a target cloud server for the target application service according to the attribute information corresponding to each cloud server.
In one embodiment, as shown in fig. 11, there is provided a data processing apparatus 600, the apparatus 600 further comprising:
an obtaining module 605, configured to obtain, by the MEC platform, feature information of an accessible application service;
the generating module 606, the MEC platform generates a routing policy corresponding to each application service according to the feature information of the accessible application service, and issues the routing policy to the network element device through the network element interface.
The implementation principle and technical effect of all the embodiments of the data processing apparatus are similar to those of the embodiments corresponding to the data processing method, and are not described herein again.
For specific limitations of the data processing apparatus, reference may be made to the above limitations of the data processing method, which are not described herein again. The various modules in the data processing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data processing data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
the method comprises the steps that an MEC platform receives an access request of a user side sent by network element equipment, wherein the access request is used for requesting to access a target application service;
the MEC platform detects whether the current available resources corresponding to the target application service can process the access request;
and if the access request cannot be processed, the MEC platform forwards the access request to the target cloud server for processing.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
the method comprises the steps that an MEC platform receives an access request of a user side sent by network element equipment, wherein the access request is used for requesting to access a target application service;
the MEC platform detects whether the current available resources corresponding to the target application service can process the access request;
and if the access request cannot be processed, the MEC platform forwards the access request to the target cloud server for processing.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of data processing, the method comprising:
the method comprises the steps that an MEC platform receives an access request of a user side sent by network element equipment, wherein the access request is used for requesting to access a target application service;
the MEC platform detects whether the current available resources corresponding to the target application service can process the access request;
and if the access request cannot be processed, the MEC platform forwards the access request to a target cloud server for processing.
2. The method of claim 1, wherein the detecting, by the MEC platform, whether the access request can be processed by a currently available resource comprises:
the MEC platform detects the amount of resources required for accessing the target application service;
the MEC platform compares the resource quantity required for accessing the target application service with the resource quantity of the current available resource to obtain a comparison result;
and the MEC platform determines whether the current available resource can process the access request according to the comparison result.
3. The method of claim 2, wherein the MEC platform detects an amount of resources required to process the target application service, comprising:
the MEC platform determines the resource amount required by the target application service according to a preset resource information table; the preset resource information table includes a correspondence between each application service and a resource amount.
4. The method of claim 2 or 3, wherein the MEC platform determining whether the currently available resource can handle the access request according to the comparison result comprises:
if the resource amount required by the target application service is larger than the resource amount of the current available resource, the MEC platform determines that the current available resource cannot process the access request;
if the resource amount required by the target application service is less than or equal to the resource amount of the current available resource, the MEC platform determines that the current available resource can process the access request.
5. The method of claim 1, further comprising:
the MEC platform establishes an information table of a plurality of cloud servers in advance, and the information table comprises attribute information of each cloud server.
6. The method of claim 5, wherein the MEC platform forwards the access request to a target cloud server for processing, comprising:
the MEC platform acquires attribute information corresponding to each cloud server according to the information table;
and the MEC platform determines the target cloud server for the target application service according to the attribute information corresponding to each cloud server.
7. The method of claim 1, wherein before the MEC platform receives the access request of the user side sent by the network element device, the method comprises:
the MEC platform acquires feature information of accessible application services;
the MEC platform generates a routing strategy corresponding to each application service according to the feature information of the accessible application service, and issues the routing strategy to network element equipment through a network element interface; the routing policy is used to instruct the network element device to send an access request carrying each accessible application service to the MEC platform.
8. A data processing apparatus, characterized in that the apparatus comprises:
a receiving module, configured to receive, by an MEC platform, an access request of a user side sent by a network element device, where the access request is used to request access to a target application service;
a detection module, configured to detect, by the MEC platform, whether the current available resource corresponding to the target application service can process the access request;
and the forwarding module is used for forwarding the access request to a target cloud server for processing by the MEC platform if the access request cannot be processed.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the data processing method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the data processing method of any one of claims 1 to 7.
CN201910984093.9A 2019-10-16 2019-10-16 Data processing method, data processing device, computer equipment and storage medium Pending CN110769045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910984093.9A CN110769045A (en) 2019-10-16 2019-10-16 Data processing method, data processing device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910984093.9A CN110769045A (en) 2019-10-16 2019-10-16 Data processing method, data processing device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110769045A true CN110769045A (en) 2020-02-07

Family

ID=69331353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910984093.9A Pending CN110769045A (en) 2019-10-16 2019-10-16 Data processing method, data processing device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110769045A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294845A (en) * 2020-02-13 2020-06-16 世纪龙信息网络有限责任公司 Node switching method and device, computer equipment and storage medium
CN113891359A (en) * 2021-10-11 2022-01-04 中国联合网络通信集团有限公司 Data processing method, device and storage medium
CN115086438A (en) * 2022-08-19 2022-09-20 南京芯驰半导体科技有限公司 Task processing method, video processing unit, component and traffic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108063773A (en) * 2018-02-11 2018-05-22 清华大学 A kind of application service cut-in method and device based on mobile edge calculations
CN108243246A (en) * 2017-12-25 2018-07-03 北京市天元网络技术股份有限公司 A kind of edge calculations resource regulating method, edge device and system
US20190021033A1 (en) * 2017-07-13 2019-01-17 Hon Hai Precision Industry Co., Ltd. Handover method and apparatus
US20190243438A1 (en) * 2018-02-08 2019-08-08 Korea Advanced Institute Of Science And Technology Method and system for deploying dynamic virtual object for reducing power in mobile edge computing environment
CN110213327A (en) * 2019-04-23 2019-09-06 广东省智能制造研究所 A kind of resource regulating method based on edge calculations, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190021033A1 (en) * 2017-07-13 2019-01-17 Hon Hai Precision Industry Co., Ltd. Handover method and apparatus
CN108243246A (en) * 2017-12-25 2018-07-03 北京市天元网络技术股份有限公司 A kind of edge calculations resource regulating method, edge device and system
US20190243438A1 (en) * 2018-02-08 2019-08-08 Korea Advanced Institute Of Science And Technology Method and system for deploying dynamic virtual object for reducing power in mobile edge computing environment
CN108063773A (en) * 2018-02-11 2018-05-22 清华大学 A kind of application service cut-in method and device based on mobile edge calculations
CN110213327A (en) * 2019-04-23 2019-09-06 广东省智能制造研究所 A kind of resource regulating method based on edge calculations, apparatus and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294845A (en) * 2020-02-13 2020-06-16 世纪龙信息网络有限责任公司 Node switching method and device, computer equipment and storage medium
CN113891359A (en) * 2021-10-11 2022-01-04 中国联合网络通信集团有限公司 Data processing method, device and storage medium
CN113891359B (en) * 2021-10-11 2023-06-20 中国联合网络通信集团有限公司 Data processing method, device and storage medium
CN115086438A (en) * 2022-08-19 2022-09-20 南京芯驰半导体科技有限公司 Task processing method, video processing unit, component and traffic equipment
CN115086438B (en) * 2022-08-19 2022-11-11 南京芯驰半导体科技有限公司 Task processing method, video processing unit, component and traffic equipment

Similar Documents

Publication Publication Date Title
CN110300050B (en) Message pushing method and device, computer equipment and storage medium
CN110727499A (en) Resource data acquisition method and device, computer equipment and storage medium
CN108256114B (en) Document online preview method and device, computer equipment and storage medium
US20150213134A1 (en) Data query method and system and storage medium
CN110769045A (en) Data processing method, data processing device, computer equipment and storage medium
US10474691B2 (en) Micro-staging device and method for micro-staging
KR102292471B1 (en) Dynamic cache allocation and network management
US9967361B2 (en) Physical location influenced caching
CN112612618B (en) Interface current limiting method and device, computer equipment and storage medium
CN111490963B (en) Data processing method, system, equipment and storage medium based on QUIC protocol stack
CN108683722B (en) Data transmission method, ESB platform and client
CN113206785B (en) Network request method and device, terminal equipment and storage medium
CN112650721A (en) File storage method, device, system and equipment
CN111107176A (en) Data transmission method and device, computer equipment and storage medium
US11316916B2 (en) Packet processing method, related device, and computer storage medium
CN114281263A (en) Storage resource processing method, system and equipment of container cluster management system
CN113973136B (en) Traffic scheduling method, device and system
CN113810433A (en) File uploading method and device and computer equipment
CN110392119B (en) Data transmission method and base station
CN108388409B (en) Print request processing method, apparatus, computer device and storage medium
CN112243038A (en) Downloading method, terminal and computer storage medium
CN111629031A (en) Cluster storage method, system, computer equipment and storage medium
US9750072B2 (en) Mobile device and communication control method
CN110933121A (en) Connection establishing method, communication processing method and device and communication equipment
CN110545336A (en) IP address replacing method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220118

Address after: Room 1423, No. 1256 and 1258, Wanrong Road, Jing'an District, Shanghai 200040

Applicant after: Tianyi Digital Life Technology Co.,Ltd.

Address before: 1 / F and 2 / F, East Garden, Huatian International Plaza, 211 Longkou Middle Road, Tianhe District, Guangzhou, Guangdong 510630

Applicant before: Century Dragon Information Network Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207