CN109639698A - A kind of data processing method and server - Google Patents

A kind of data processing method and server Download PDF

Info

Publication number
CN109639698A
CN109639698A CN201811584013.2A CN201811584013A CN109639698A CN 109639698 A CN109639698 A CN 109639698A CN 201811584013 A CN201811584013 A CN 201811584013A CN 109639698 A CN109639698 A CN 109639698A
Authority
CN
China
Prior art keywords
information
target packet
server
packet
mark
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.)
Granted
Application number
CN201811584013.2A
Other languages
Chinese (zh)
Other versions
CN109639698B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811584013.2A priority Critical patent/CN109639698B/en
Publication of CN109639698A publication Critical patent/CN109639698A/en
Application granted granted Critical
Publication of CN109639698B publication Critical patent/CN109639698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0245Filtering by information in the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0263Rule management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of data processing method and servers, are related to field of communication technology, can solve MEC server to data packet header domain carry out detection filtering when, can there is a problem of that data group filtration is insufficient.The specific scheme is that the request message of receiving terminal apparatus, the request message is used for request target data packet, it include the first information in the request message, the first information includes the mark of the five-tuple of target packet, the mark of terminal device and the corresponding application program of target packet, and the mark of the five-tuple of target packet, the mark of terminal device and the corresponding application program of target packet is for determining whether terminal device downloaded in the application server of five-tuple instruction the target packet of application program;According to the first information, goal filtering rule is determined;According to goal filtering rule-based filtering target packet.During the embodiment of the present invention is applied to MEC server Filtration Goal data packet.

Description

A kind of data processing method and server
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of data processing method and servers.
Background technique
Mobile edge calculations (Mobile Edge Computing, MEC) is made by disposing computing capability in access net side Obtaining also can be used cloud computing technology realization communication, the unification calculated in access net side and merges.
In general, MEC server when to data group filtration, can pass through each data grouping in inspection data flow Header field is grouped to determine whether some data grouping meets filtering rule, then data grouping is performed corresponding processing again.Mesh Before, filtering rule includes the rule and Internet Protocol (Internet Protocol, IP) packet layer in radio access bearer face The rule in face.
It but since the grouping header field of data grouping is more limited, such as only include five-tuple, nothing in transmission control protocol Method distinguishes the data type of certain business in detail, therefore MEC server passes through current filtering rule, to data packet header domain Detection filtering is carried out, possibly the data type of these business can not be determined, so that these business can not be filtered, can so there is number According to the insufficient problem of packet filtering.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method and server, can solve MEC server to data grouping When header field carries out detection filtering, can there is a problem of that data group filtration is insufficient.
In order to solve the above-mentioned technical problem, the embodiment of the present invention adopts the following technical scheme that
The embodiment of the present invention in a first aspect, provide a kind of data processing method, be applied to MEC server, at the data Reason method may include: the request message of receiving terminal apparatus, which is used for request target data packet, the request message In include the first information, which includes the mark and target packet of the five-tuple of target packet, terminal device The mark of corresponding application program, the five-tuple of target packet, the mark of terminal device and target packet is corresponding answers With the mark of program for determining whether terminal device downloaded in the application server of five-tuple instruction the mesh of application program Mark data packet;According to the first information, goal filtering rule is determined;According to goal filtering rule-based filtering target packet.
The second aspect of the embodiment of the present invention provides a kind of server, which is MEC server, which can To include: receiving unit, determination unit and processing unit.Wherein, receiving unit, for the request message of receiving terminal apparatus, The request message is used for request target data packet, includes the first information in the request message, which includes target data The mark of the five-tuple of packet, the mark of terminal device and the corresponding application program of target packet, five yuan of target packet Whether the mark of group, the mark of terminal device and the corresponding application program of target packet is for determining terminal device at five yuan The target packet of application program was downloaded in the application server of group instruction.Determination unit, for being received according to receiving unit Request message in the first information, determine goal filtering rule.Processing unit, the target mistake for being determined according to determination unit Filter rule-based filtering target packet.
The third aspect of the embodiment of the present invention provides a kind of server, which includes processor, memory and storage On a memory and the computer program that can run on a processor, such as first is realized when which is executed by processor The step of data processing method described in aspect.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage medium Computer program is stored in matter, and data processing method as described in relation to the first aspect is realized when which is executed by processor The step of.
In embodiments of the present invention, MEC server can (this according to the first information in the request message of terminal device One information includes the mark of the five-tuple of target packet, the mark of terminal device and the corresponding application program of target packet Know), determine goal filtering rule, and according to the goal filtering rule-based filtering target packet.Since the first information not only includes The five-tuple of target packet, further includes the mark of terminal device and the mark of the corresponding application program of target packet, and Goal filtering rule is to be determined by MEC server according to the first information, therefore MEC server is according to goal filtering rule When Filtration Goal data packet, the data type of the business of terminal device can be determined, to realize the business to the data type Filtering.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram of communication system provided in an embodiment of the present invention;
Fig. 2 is a kind of one of schematic diagram of data processing method provided in an embodiment of the present invention;
Fig. 3 is the two of a kind of schematic diagram of data processing method provided in an embodiment of the present invention;
Fig. 4 is the three of a kind of schematic diagram of data processing method provided in an embodiment of the present invention;
Fig. 5 is a kind of one of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 6 is a kind of second structural representation of server provided in an embodiment of the present invention;
Fig. 7 is a kind of third structural representation of server provided in an embodiment of the present invention;
Fig. 8 is a kind of hardware schematic of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Term " first " and " second " in the specification and claims of the embodiment of the present invention etc. are for distinguishing not Same object, rather than it is used for the particular order of description object.For example, the first information and the second information etc. are for distinguishing difference Information, rather than be used for description information particular order.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more.Example Such as, multiple element refers to two elements or more than two elements.
The terms "and/or" is a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, For example, display panel and/or backlight, can indicate: individualism display panel exists simultaneously display panel and backlight, individually There are these three situations of backlight.Symbol "/" herein indicate affiliated partner be or relationship, such as input/output indicates defeated Enter or exports.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport Related notion is being presented in specific ways.
The embodiment of the present invention provides a kind of data processing method and server, MEC server can be according to terminal devices (first information includes the mark and target of the five-tuple of target packet, terminal device to the first information in request message The mark of the corresponding application program of data packet), determine goal filtering rule, and according to the goal filtering rule-based filtering target data Packet.It further include the mark and target packet pair of terminal device since the first information not only includes the five-tuple of target packet The mark for the application program answered, and goal filtering rule is to be determined by MEC server according to the first information, therefore MEC When server is according to the goal filtering rule-based filtering target packet, the data type of the business of terminal device can be determined, from And realize the filtering to the business of the data type.
Data processing method provided in an embodiment of the present invention and server can be applied to MEC server Filtration Goal number According to the process of packet.Specifically, can be applied to MEC server according to the process of goal filtering rule-based filtering target packet.
Fig. 1 shows a kind of configuration diagram of communication system provided in an embodiment of the present invention.As shown in Figure 1, the communication System may include equipment of the core network 01, MEC system 02, base station 03 and terminal device 04.Wherein, equipment of the core network 01 and MEC It can establish between system 02 and connect and communicated, establish connection between MEC system 02 and base station 03 and communicated, base It stands between 03 and terminal device 04 to establish connection and be communicated.
It should be noted that in the embodiment of the present invention, above-mentioned equipment of the core network 01 as shown in Figure 1 and MEC system 02 it Between and MEC system 02 and base station 03 between can be wireless connection.In order to more clearly signal equipment of the core network 01 with Connection relationship between MEC system 02 and between MEC system 02 and base station 03, Fig. 1 are to illustrate equipment of the core network 01 with solid line Connection relationship between MEC system 02 and between MEC system 02 and base station 03.
Equipment of the core network provides user's connection, completes to carry to the management of user and to business, mentions as bearer network It is supplied to the interface of external network.For example, equipment of the core network may include application server.
MEC system can be deployed in close to the position of base station side.MEC system may include layers of physical devices, application platform Management level and application layer.The data that MEC system can receive base station and/or other equipment are sent, and received data are carried out It calculates and analysis is handled.
Optionally, in the embodiment of the present invention, MEC system may include MEC server and Cloud Server (or third party's service Device).
Terminal device is a kind of equipment for providing a user voice and/or data connectivity, and there is wire/wireless to connect function The handheld device of energy, or it is connected to other processing equipments of radio modem.Terminal device can pass through wireless access Net (Radio Access Network, RAN) is communicated with one or more equipments of the core network.Terminal device can be movement Terminal is also possible to portable, pocket such as mobile phone (or be " honeycomb " phone) and the computer with mobile terminal Formula, hand-held, built-in computer or vehicle-mounted mobile device, they exchange language and/or data with RAN, for example, personal Communication service (PersonalCommunication Service, PCS) phone, wireless phone, Session initiation Protocol (SIP) words Machine, wireless local loop (Wireless Local Loop, WLL) stand, personal digital assistant (Personal Digital Assistant, PDA) etc. equipment.Terminal device is referred to as user agent (User Agent) etc..
Base station is a kind of disposes in the ran for providing the device of wireless communication function for terminal device.Base station can wrap Include various forms of macro base stations, micro-base station, relay station, access point etc..In the system using different wireless access technologys, The title for having the equipment of base station functions may be different, for example, in 3G (Third Generation) Moblie (3G) network, referred to as base Stand (Node B);In long term evolution (Long Term Evolution, LTE) system, referred to as evolved base station (evolved NodeB, eNB or eNodeB);In the 5th third-generation mobile communication (5G) network, referred to as gNB etc..With the evolution of the communication technology, " base station " this title may change.
With reference to the accompanying drawing, by specific embodiment and its application scenarios to a kind of data provided in an embodiment of the present invention Processing method and server are described in detail.
Currently, in the prior art, only being wrapped since the grouping header field of data grouping is more limited, such as in transmission control protocol Containing five-tuple, the data type of certain business can not be distinguished in detail, therefore MEC server is by current filtering rule, it is right Data grouping header field is detected, and possibly the data type of these business can not be determined, so that these business can not be filtered, so Can there is a problem of that data group filtration is insufficient.
In order to solve the above-mentioned technical problem, based on communication system as shown in Figure 1, the embodiment of the present invention provides a kind of data Processing method, as shown in Fig. 2, the data processing method may include following steps 201 to step 203.
The request message of step 201, MEC server receiving terminal equipment.
In the embodiment of the present invention, above-mentioned request message is used for request target data packet, includes the first letter in the request message Breath, which may include the five-tuple of target packet, the mark of terminal device and target packet is corresponding answers With the mark of program, the five-tuple of target packet, the mark of terminal device and the corresponding application program of target packet It identifies for determining whether terminal device downloaded the target packet of application program in the application server of five-tuple instruction.
In the embodiment of the present invention, the request message that MEC server can be sent by base station receiving terminal apparatus, the request The target packet of message request is business data packet.
It should be noted that above-mentioned five-tuple may include: the source of the source IP address of target packet, target packet The destination port and transport layer protocol of mouth, the purpose IP address of target packet, target packet.
Optionally, in the embodiment of the present invention, MEC server after receiving request message, can carry out conversion grouping, The encapsulation of GTP data or decapsulation, the processing such as abandon grouping, with obtain the mark of the five-tuple of target packet, terminal device with And the mark of the corresponding application program of target packet.
Optionally, in the embodiment of the present invention, the first information carried in request message is located at application layer header field.
It is appreciated that the corresponding application program of target packet it is to be understood that premises equipment requests target packet Affiliated application program.
Step 202, MEC server determine goal filtering rule according to the first information in request message.
In the embodiment of the present invention, above-mentioned goal filtering rule is used for MEC server Filtration Goal data packet.
It should be noted that MEC server can according to the first information, determine in Cloud Server with the presence or absence of with this first The data packet (i.e. target packet) of the target type of the corresponding data packet of information, the i.e. first information instruction, then determines again Corresponding goal filtering rule.
Optionally, in the embodiment of the present invention, in conjunction with Fig. 2, as shown in figure 3, the present invention is implemented before above-mentioned steps 202 The data processing method that example provides may include following step 301, and above-mentioned steps 202 can specifically pass through following steps Rapid 202a to step 202e is realized.
Step 301, MEC server search target packet in Cloud Server, whether there is with determining in Cloud Server Target packet.
Step 202a, in the case where target packet is not present in Cloud Server, MEC server is looked into Cloud Server Look for the second information identical with the first information.
In the embodiment of the present invention, five of the target packet in the five-tuple and the first information of the data packet in the second information Tuple is identical and the mark of terminal device in the second information is identical as the mark of the terminal device in the first information, Yi Ji The mark application program corresponding with the target packet in the first information of the corresponding application program of data packet in two information It identifies identical.
In the embodiment of the present invention, in the case where target packet is not present in Cloud Server, MEC server can pass through It searches in Cloud Server with the presence or absence of five-tuple, the mark of terminal device and the mark of application program for including in request message Know, to determine in Cloud Server with the presence or absence of the second information.
It is appreciated that MEC server can be according to cloud service in the case where target packet is not present in Cloud Server With the presence or absence of the mark of the five-tuple of target packet, the mark of terminal device and application program in the first information in device, To determine whether terminal device downloaded the target packet of application program in the application server of five-tuple instruction.Wherein, If the five-tuple of target packet in the first information, the mark of terminal device and application program are not present in Cloud Server Mark, then terminal device did not download the target packet of application program in the application server of five-tuple instruction;If cloud There are the mark of the five-tuple of the target packet in the first information, the mark of terminal device and application program in server, Then terminal device downloaded the target packet of application program in the application server that five-tuple indicates.
Step 202b, the second information and the within a preset period of time history of target packet are found in Cloud Server In the case that access times are greater than or equal to preset threshold, MEC server determines goal filtering rule are as follows: obtains from application server It takes and saves target packet.
In the embodiment of the present invention, in the case where the second information is found in Cloud Server, MEC server can take from cloud Be engaged in device in obtain preset time period in target packet history access times, and judge the history access times whether be greater than or Equal to preset threshold, corresponding goal filtering rule is then determined.
It should be noted that above-mentioned history access times are it is to be understood that the first preset time before this access In section, the accessed number of target packet.
It is appreciated that MEC server can download target packet from application server, and saved in Cloud Server The target packet.
It is appreciated that MEC server can access in the same server according to the multiple terminal devices of same producer The history number of same type of data packet (such as target packet) determines goal filtering rule;In the multiple of same producer The history number of terminal device access target data packet in the same server is greater than or equal to preset threshold (i.e. same producer Multiple terminal devices in the same server history access times of access target data packet it is more frequent) in the case where, MEC server can determine goal filtering rule are as follows: obtain and save target packet, from application server in order to the producer Terminal device next time access when, MEC server can directly obtain target packet from Cloud Server.
In the embodiment of the present invention, the history access that the second information and target packet are found in Cloud Server is compared In the case where frequent, MEC server can obtain from application server and save target packet, to realize to the number of targets According to the filtering of packet.
Step 202c, the second information and the within a preset period of time history of target packet are found in Cloud Server In the case that access times are less than preset threshold, MEC server determines goal filtering rule are as follows: the delete target in Cloud Server The resource of data packet.
In the embodiment of the present invention, in the case where the second information is found in Cloud Server, MEC server can take from cloud It is engaged in obtaining the history access times of target packet in preset time period in device, and it is pre- to judge whether the history access times are less than If threshold value, corresponding goal filtering rule is then determined.
Optionally, in the embodiment of the present invention, MEC server can be deleted in Cloud Server obtains target packet when institute The resource of use.It is adopted when downloading target packet from application server for example, MEC server can be deleted in Cloud Server Resource.
It is appreciated that the history of multiple terminal devices access target data packet in the same server in same producer Number is less than the preset threshold (history of multiple terminal devices access target data packet in the same server of i.e. same producer Access times are fewer) in the case where, MEC server can determine goal filtering rule are as follows: the delete target in Cloud Server The resource of data packet, in order to reserve memory for other data.
In the embodiment of the present invention, the history access that the second information and target packet are found in Cloud Server is compared In the case where few, MEC server can with the resource of delete target data packet, to realize the filtering to the target packet, from And save the memory of Cloud Server.
Step 202d, in the case where not finding the second information in Cloud Server, MEC server determines that goal filtering is advised Then are as follows: obtain target packet from application server.
It should be noted that MEC server can be from application in the case where not finding the second information in Cloud Server Server obtains target packet, but does not save target packet (such as target packet is not saved in Cloud Server). It is appreciated that in this case, MEC server, can be first to terminal after obtaining target packet from application server Equipment sends the target packet, then deletes the target packet again.
In the embodiment of the present invention, in the case where not finding the second information in Cloud Server, MEC server can be from answering Target packet is obtained with server, but does not save the target packet, to realize the filtering to the target packet.
Optionally, in the embodiment of the present invention, after above-mentioned steps 202d, data processing side provided in an embodiment of the present invention Method may include following step 401.
Step 401, MEC server save the first information in Cloud Server.
It is appreciated that MEC server saves the first information in Cloud Server, connect again in order to which MEC server is subsequent It is whether identical by information in comparison request message and the first information when receiving request message, to determine that goal filtering is regular.
Optionally, it in the embodiment of the present invention, after MEC server saves the first information in Cloud Server, can create Entry, with count target packet history access times (i.e. in the second time period accessed number of target packet, Second time period and first time period can be same or different), and initializing current history access times is 0 time, thus MEC server can determine corresponding target mistake according to the history access times of statistics when receiving request message next time Filter rule.
It should be noted that in the embodiment of the present invention, for step 401 and step 203 execution sequence with no restriction.? In a kind of possible implementation, step 401 can be first carried out, then execute step 203;I.e. MEC server can first take in cloud The first information is saved in business device, according still further to goal filtering rule-based filtering target packet.In alternatively possible implementation, Step 203 can be first carried out, then executes step 401;I.e. MEC server can be first according to goal filtering rule-based filtering target data Packet, then the first information is saved in Cloud Server.In another possible implementation, step 401 may be performed simultaneously, and Step 203;I.e. MEC server can save the first information in Cloud Server, while according to goal filtering rule-based filtering target Data packet.
Step 202e, in Cloud Server there are in the case where target packet, MEC server according to the first information, really Set the goal filtering rule are as follows: obtains target packet from Cloud Server.
It is appreciated that MEC server can according to the first information in the five-tuple of target packet, terminal device mark The mark of knowledge and the corresponding application program of target packet, obtains number of targets from multiple data packets stored in cloud server According to packet.
In the embodiment of the present invention, there are in the case where target packet in Cloud Server, MEC server can directly from Target packet is obtained in Cloud Server, without downloading target packet from application server, is passed so as to improve data Defeated efficiency.
Step 203, MEC server are according to goal filtering rule-based filtering target packet.
It optionally, is to be obtained from application server and save target data in goal filtering rule in the embodiment of the present invention In the case where packet, MEC server can obtain target packet from application server, and the number of targets is saved in Cloud Server According to packet.
Optionally, in the embodiment of the present invention, in the money that goal filtering rule is the delete target data packet in Cloud Server In the case where source, MEC server can delete the resource of the target packet in Cloud Server.
It optionally, is that the feelings of target packet are obtained from application server in goal filtering rule in the embodiment of the present invention Under condition, MEC server can obtain target packet (and not saving the target packet) from application server.
The embodiment of the present invention provides a kind of data processing method, and MEC server can be according to the request message of terminal device In the first information (first information includes the mark and target packet pair of the five-tuple of target packet, terminal device The mark for the application program answered), determine goal filtering rule, and according to the goal filtering rule-based filtering target packet.Due to The first information not only includes the five-tuple of target packet, further includes the mark and the corresponding application of target packet of terminal device The mark of program, and goal filtering rule is to be determined by MEC server according to the first information, therefore MEC server is pressed When according to the goal filtering rule-based filtering target packet, the data type of the business of terminal device can be determined, thus realization pair The filtering of the business of the data type.
Optionally, in the embodiment of the present invention, MEC server obtained from application server and save target packet it Afterwards, MEC server can send the target packet to terminal device.
Optionally, in the embodiment of the present invention, after MEC server obtains target packet from application server, MEC clothes Business device can send the target packet to terminal device.
Optionally, in the embodiment of the present invention, after MEC server obtains target packet from Cloud Server, MEC service Device can send the target packet to terminal device.
It is by taking the interaction between MEC server, base station, Cloud Server and server as an example, to this in following example The data processing method that inventive embodiments provide illustratively is described.
The embodiment of the present invention provides a kind of data processing method, as shown in figure 4, the data processing method may include following Step 11 to step 21.
Step 11, terminal device send request message to base station.
The request message that step 12, base station receiving terminal apparatus are sent.
Step 13, base station send request message to MEC server.
Step 14, MEC server receive the request message that base station is sent.
Step 15, MEC server search target packet according to the first information in request message in Cloud Server.
Step 16, MEC server determine goal filtering rule according to whether there is target packet in Cloud Server.
Specifically, above-mentioned steps 16 can be realized by following step 16a to step 16e.
Step 16a, in the case where target packet is not present in Cloud Server, MEC server is looked into Cloud Server Look for the second information identical with the first information.
Step 16b, the second information is found in Cloud Server and the history of target packet is visited within a preset period of time In the case where asking that number is greater than or equal to preset threshold, MEC server determines goal filtering rule are as follows: obtains from application server And save target packet.
Step 16c, the second information is found in Cloud Server and the history of target packet is visited within a preset period of time In the case where asking that number is less than preset threshold, MEC server determines goal filtering rule are as follows: the delete target number in Cloud Server According to the resource of packet.
Step 16d, in the case where not finding the second information in Cloud Server, MEC server determines that goal filtering is advised Then are as follows: obtain target packet from application server.
Step 16e, in Cloud Server there are in the case where target packet, MEC server according to the first information, is determined Goal filtering rule are as follows: obtain target packet from Cloud Server.
Step 17, MEC server are according to goal filtering rule-based filtering target packet.
Step 18, MEC server send target packet to base station.
It should be noted that the feelings realized in above-mentioned steps 16 by step 16a, step 16b, step 16d and step 16e Under condition, MEC server can send target packet to base station.
Step 19, base station receive the target packet that MEC server is sent.
Step 20, base station send target packet to terminal device.
Step 21, terminal device receive the target packet that base station is sent.
It should be noted that may refer to above-described embodiment to the related content being related in step 11- step 21 Associated description, details are not described herein again.
Fig. 5 shows a kind of possible structural schematic diagram of server involved in the embodiment of the present invention, which is MEC server.As shown in figure 5, server 50 may include: receiving unit 51, determination unit 52 and processing unit 53.
Wherein, receiving unit 51, for the request message of receiving terminal apparatus, which is used for request target data Packet, includes the first information in the request message, the first information include the five-tuple of target packet, terminal device mark with And the mark of the corresponding application program of target packet, the five-tuple of target packet, the mark of terminal device and number of targets According to wrapping the mark of corresponding application program for determining whether terminal device was downloaded in the application server of five-tuple instruction The target packet of application program.Determination unit 52, for according to the first information in the received request message of receiving unit 51, Determine goal filtering rule.Processing unit 53, the goal filtering rule-based filtering target data for being determined according to determination unit 52 Packet.
In one possible implementation, determination unit 52 are specifically used for that target data is not present in Cloud Server In the case where packet, the second information identical with the first information is searched in Cloud Server;Wherein, data packet in the second information Five-tuple is identical as the five-tuple of the target packet in the first information and the mark and first of terminal device in the second information The mark for identifying the corresponding application program of data packet in identical and the second information of terminal device in information and the first letter The mark of the corresponding application program of target packet in breath is identical;And the second information is found in Cloud Server and pre- If in the case that the history access times of target packet are greater than or equal to preset threshold in the period, determining goal filtering rule Are as follows: it is obtained from application server and saves target packet.
In one possible implementation, determination unit 52, be also used to find in Cloud Server the second information and In the case that the history access times of target packet are less than preset threshold within a preset period of time, goal filtering rule is determined Are as follows: the resource of delete target data packet in Cloud Server.
In one possible implementation, determination unit 52 are also used in Cloud Server not find the second information In the case where, determine goal filtering rule are as follows: obtain target packet from application server.
In one possible implementation, in conjunction with Fig. 5, as shown in fig. 6, server provided in an embodiment of the present invention 50 is also It may include: storage unit 54.Wherein, storage unit 54, for determining goal filtering rule in determination unit 52 are as follows: from application After server obtains target packet, the first letter in the received request message of receiving unit 51 is saved in Cloud Server Breath.
In one possible implementation, determination unit 52, specifically for there are target packets in Cloud Server In the case where, according to the first information, determine goal filtering rule are as follows: obtain target packet from Cloud Server.
In one possible implementation, in conjunction with Fig. 5, as shown in fig. 7, server provided in an embodiment of the present invention 50 is also It may include: transmission unit 55.Wherein, transmission unit 55 are used in processing unit 53 according to goal filtering rule-based filtering target After data packet, the target packet that processing unit 53 obtains is sent to terminal device.
Server provided in an embodiment of the present invention can be realized each mistake that MEC server is realized in above method embodiment Journey, to avoid repeating, which is not described herein again for detailed description.
The embodiment of the present invention provides a kind of server, which is MEC server, and MEC server can be according to terminal In the request message of equipment the first information (first information include the five-tuple of target packet, terminal device mark with And the mark of the corresponding application program of target packet), determine goal filtering rule, and according to the goal filtering rule-based filtering mesh Mark data packet.It further include the mark and number of targets of terminal device since the first information not only includes the five-tuple of target packet According to the mark for wrapping corresponding application program, and goal filtering rule is to be determined by MEC server according to the first information, because When this MEC server is according to the goal filtering rule-based filtering target packet, the data class of the business of terminal device can be determined Type, to realize the filtering to the business of the data type.
Fig. 8 shows a kind of hardware schematic of server provided in an embodiment of the present invention, which is MEC service Device.As shown in figure 8, the server 80 includes but is not limited to: at least one processor 81, memory 82, user interface 83 and extremely A few network interface 84.Various components in server 80 are coupled by bus system 85.
It should be noted that it will be understood by those skilled in the art that the structure of server shown in Fig. 8 is not constituted pair The restriction of server, server may include perhaps combining certain components or not than more or fewer components shown in Fig. 8 Same component layout.
Wherein, at least one network interface 84, for the request message of receiving terminal apparatus, the request message is for requesting Target packet includes the first information in the request message, which includes the five-tuple of target packet, terminal device Mark and the corresponding application program of target packet mark, the five-tuple of target packet, terminal device mark with And the application server whether mark of the corresponding application program of target packet indicates for determining terminal device in five-tuple The middle target packet for downloading application program.
At least one processor 81, for according to the first letter at least one received request message of network interface 84 Breath determines goal filtering rule;And according to goal filtering rule-based filtering target packet.
The embodiment of the present invention provides a kind of server, which is MEC server, and MEC server can be according to terminal In the request message of equipment the first information (first information include the five-tuple of target packet, terminal device mark with And the mark of the corresponding application program of target packet), determine goal filtering rule, and according to the goal filtering rule-based filtering mesh Mark data packet.It further include the mark and number of targets of terminal device since the first information not only includes the five-tuple of target packet According to the mark for wrapping corresponding application program, and goal filtering rule is to be determined by MEC server according to the first information, because When this MEC server is according to the goal filtering rule-based filtering target packet, the data class of the business of terminal device can be determined Type, to realize the filtering to the business of the data type.
It is understood that bus system 85 is for realizing the connection communication between these components.Bus system 85 is except packet It includes except data/address bus, further includes power bus, control bus and status signal bus in addition.But for the sake of clear explanation, Various buses are all designated as bus system 85 in Fig. 8.
Wherein, user interface 83 may include display, keyboard or pointing device (for example, mouse, trace ball, sense of touch Plate or touch screen etc..
It is understood that the memory 82 in the embodiment of the present invention can be volatile memory or non-volatile memories Device, or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-Only Memory, abbreviation ROM), programmable read only memory (Programmable ROM, PROM) erasable are compiled Journey read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.Volatile memory can be random access memory (Random Access Memory, letter Claim RAM), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available such as quiet State random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronize it is dynamic State random access memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links dynamic random access memory (Synch link DRAM, SLDRAM) and direct memory it is total Line random access memory (Direct Rambus RAM, DRRAM).The memory 82 of description of the embodiment of the present invention is intended to include But it is not limited to the memory of these and any other suitable type.
In some embodiments, memory 82 stores following element, executable modules or data structures, or Their subset or their superset: operating system 821 and application program 822.
Wherein, operating system 821 include various system programs, such as ccf layer, core library layer, driving layer etc., for real Existing various basic businesses and the hardware based task of processing.Application program 822 includes various application programs, such as media are broadcast Device, browser etc. are put, for realizing various applied business.Realize that the program of present invention method may be embodied in using journey In sequence 822.
In the embodiment of the present invention, server 80 can also include being stored on memory 82 and can running on processor 81 Computer program, the computer program by processor 81 execute when realize method provided in an embodiment of the present invention the step of.
The method that the embodiments of the present invention disclose can be applied in processor 81, or be realized by processor 81.Place Managing device 81 may be a kind of IC chip, the processing capacity with signal.During realization, each step of the above method It can be completed by the integrated logic circuit of the hardware in processor 81 or the instruction of software form.Above-mentioned processor 81 can To be general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the computer readable storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The meter Calculation machine readable storage medium storing program for executing is located at memory 82, and processor 81 reads the information in memory 82, completes in conjunction with its hardware above-mentioned The step of method.Specifically, computer program is stored on the computer readable storage medium, computer program is by processor 81 Each step such as embodiment of the method provided in an embodiment of the present invention is realized when execution.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more ASIC, DSP, digital signal Processing equipment (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), FPGA, General processor, controller, microcontroller, microprocessor, other electronic units for executing function of the present invention or its In combination.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can With portion realizes in the processor or outside the processor.
Optionally, the embodiment of the present invention also provides a kind of server, which is MEC server, which includes Processor 81 as shown in Figure 8, memory 82 are stored in the calculating that can be run on memory 82 and on the processor 81 Machine program, realizes each process of above method embodiment when which is executed by processor 81, and can reach identical Technical effect, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on the computer readable storage medium Calculation machine program realizes each process of above method embodiment when the computer program is executed by processor 81 as shown in Figure 8, And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, Such as ROM, RAM, magnetic or disk.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (15)

1. a kind of data processing method is applied to mobile edge calculations MEC server, which is characterized in that the described method includes:
The request message of receiving terminal apparatus, the request message are used for request target data packet, include in the request message The first information, the first information include the five-tuple of the target packet, the mark of the terminal device and the mesh Mark the mark of the corresponding application program of data packet, the five-tuple of the target packet, the mark of the terminal device and institute State the application the clothes whether mark of the corresponding application program of target packet indicates for determining the terminal device in five-tuple The target packet of the application program was downloaded in business device;
According to the first information, goal filtering rule is determined;
According to target packet described in the goal filtering rule-based filtering.
2. determining that goal filtering is advised the method according to claim 1, wherein described according to the first information Then, comprising:
In the case where the target packet is not present in Cloud Server, searched in the Cloud Server and first letter Cease identical second information;Wherein, the number of targets in the five-tuple Yu the first information of the data packet in second information The mark of terminal device in identical according to the five-tuple of packet and described second information and the terminal device in the first information The mark and the target in the first information for identifying the corresponding application program of data packet in identical and described second information The mark of the corresponding application program of data packet is identical;
Second information is found in the Cloud Server and the history of the target packet is visited within a preset period of time In the case where asking that number is greater than or equal to preset threshold, the goal filtering rule is determined are as follows: obtain and protect from application server Deposit the target packet.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
Second information is found in the Cloud Server and the history of the target packet is visited within a preset period of time In the case where asking that number is less than the preset threshold, the goal filtering rule is determined are as follows: institute is deleted in the Cloud Server State the resource of target packet.
4. according to the method described in claim 2, it is characterized in that, the method also includes:
In the case where not finding second information in the Cloud Server, the goal filtering rule is determined are as follows: from institute It states application server and obtains the target packet.
5. according to the method described in claim 4, it is characterized in that, the determination goal filtering rule are as follows: answered from described After obtaining the target packet with server, the method also includes:
The first information is saved in the Cloud Server.
6. determining that goal filtering is advised the method according to claim 1, wherein described according to the first information Then, comprising:
There are in the case where the target packet in Cloud Server, according to the first information, the goal filtering is determined Rule are as follows: obtain the target packet from Cloud Server.
7. according to method described in claim 2,4 or 6, which is characterized in that described according to the goal filtering rule-based filtering institute After stating target packet, the method also includes:
The target packet is sent to the terminal device.
8. a kind of server, the server is mobile edge calculations MEC server, which is characterized in that the server includes: Receiving unit, determination unit and processing unit;
The receiving unit, for the request message of receiving terminal apparatus, the request message is used for request target data packet, institute Stating in request message includes the first information, and the first information includes the five-tuple of the target packet, the terminal device Mark and the corresponding application program of the target packet mark, the five-tuple of the target packet, the terminal Whether the mark of the mark of equipment and the corresponding application program of the target packet is for determining the terminal device five The target packet of the application program was downloaded in the application server of tuple instruction;
The determination unit, for determining according to the first information in the received request message of the receiving unit Goal filtering rule;
The processing unit, for according to target data described in the determining goal filtering rule-based filtering of the determination unit Packet.
9. server according to claim 8, which is characterized in that the determination unit is specifically used in Cloud Server There is no the second letter identical with the first information in the case where the target packet, is searched in the Cloud Server Breath;Wherein, the five-tuple and the five-tuple phase of the target packet in the first information of the data packet in second information With and second information in terminal device mark it is identical as the mark of terminal device in the first information and The mark of the corresponding application program of data packet in second information is corresponding with the target packet in the first information The mark of application program is identical;And second information and described within a preset period of time is found in the Cloud Server In the case that the history access times of target packet are greater than or equal to preset threshold, the goal filtering rule is determined are as follows: from Application server obtains and saves the target packet.
10. server according to claim 9, which is characterized in that the determination unit is also used in the Cloud Server In find second information and within a preset period of time the history access times of the target packet be less than it is described default In the case where threshold value, the goal filtering rule is determined are as follows: the resource of the target packet is deleted in the Cloud Server.
11. server according to claim 9, which is characterized in that the determination unit is also used in the Cloud Server In do not find second information in the case where, determine goal filtering rule are as follows: obtain institute from the application server State target packet.
12. server according to claim 11, which is characterized in that the server further include: storage unit;
The storage unit, for determining the goal filtering rule in the determination unit are as follows: obtained from the application server After taking the target packet, the first information is saved in the Cloud Server.
13. server according to claim 8, which is characterized in that the determination unit is specifically used in Cloud Server There are in the case where the target packet, according to the first information, the goal filtering rule is determined are as follows: from Cloud Server Obtain the target packet.
14. according to server described in claim 9,11 or 13, which is characterized in that the server further include: transmission unit;
The transmission unit, for the processing unit according to target packet described in the goal filtering rule-based filtering it Afterwards, Xiang Suoshu terminal device sends the target packet.
15. a kind of server, which is characterized in that including processor, memory and be stored on the memory and can be described The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 7 The step of described in any item data processing methods.
CN201811584013.2A 2018-12-24 2018-12-24 Data processing method and server Active CN109639698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811584013.2A CN109639698B (en) 2018-12-24 2018-12-24 Data processing method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811584013.2A CN109639698B (en) 2018-12-24 2018-12-24 Data processing method and server

Publications (2)

Publication Number Publication Date
CN109639698A true CN109639698A (en) 2019-04-16
CN109639698B CN109639698B (en) 2022-02-01

Family

ID=66076976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811584013.2A Active CN109639698B (en) 2018-12-24 2018-12-24 Data processing method and server

Country Status (1)

Country Link
CN (1) CN109639698B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110337137A (en) * 2019-05-22 2019-10-15 华为技术有限公司 Packet filtering method, apparatus and system
CN115514643A (en) * 2021-06-22 2022-12-23 中国移动通信集团湖南有限公司 5G SA network service guarantee method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100095370A1 (en) * 2008-10-09 2010-04-15 Electronics And Telecommunications Research Institute Selective packet capturing method and apparatus using kernel probe
CN105939274A (en) * 2016-05-17 2016-09-14 杭州迪普科技有限公司 Message forwarding method and apparatus
CN106576074A (en) * 2015-07-31 2017-04-19 华为技术有限公司 Routing rule acquisition method, device and system
CN107222369A (en) * 2017-07-07 2017-09-29 北京小米移动软件有限公司 Recognition methods, device, switch and the storage medium of application program
US20180014224A1 (en) * 2016-07-07 2018-01-11 Industrial Technology Research Institute Method of service level traffic differentiation at radio access network, wireless network system and radio access network access node
CN108616826A (en) * 2016-12-30 2018-10-02 中国移动通信集团上海有限公司 MEC service informing methods and device
CN108712761A (en) * 2018-03-20 2018-10-26 中国科学院计算机网络信息中心 The transregional edges the holding MEC TCP traffic method of servicing of mobile terminal and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100095370A1 (en) * 2008-10-09 2010-04-15 Electronics And Telecommunications Research Institute Selective packet capturing method and apparatus using kernel probe
CN106576074A (en) * 2015-07-31 2017-04-19 华为技术有限公司 Routing rule acquisition method, device and system
CN105939274A (en) * 2016-05-17 2016-09-14 杭州迪普科技有限公司 Message forwarding method and apparatus
US20180014224A1 (en) * 2016-07-07 2018-01-11 Industrial Technology Research Institute Method of service level traffic differentiation at radio access network, wireless network system and radio access network access node
CN108616826A (en) * 2016-12-30 2018-10-02 中国移动通信集团上海有限公司 MEC service informing methods and device
CN107222369A (en) * 2017-07-07 2017-09-29 北京小米移动软件有限公司 Recognition methods, device, switch and the storage medium of application program
CN108712761A (en) * 2018-03-20 2018-10-26 中国科学院计算机网络信息中心 The transregional edges the holding MEC TCP traffic method of servicing of mobile terminal and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110337137A (en) * 2019-05-22 2019-10-15 华为技术有限公司 Packet filtering method, apparatus and system
CN110337137B (en) * 2019-05-22 2021-08-13 华为技术有限公司 Data packet filtering method, device and system
CN115514643A (en) * 2021-06-22 2022-12-23 中国移动通信集团湖南有限公司 5G SA network service guarantee method and device
CN115514643B (en) * 2021-06-22 2023-09-05 中国移动通信集团湖南有限公司 5G SA network service guaranteeing method and device

Also Published As

Publication number Publication date
CN109639698B (en) 2022-02-01

Similar Documents

Publication Publication Date Title
KR100975592B1 (en) Apparatus for measuring signal quality
CN110267327A (en) Business transmitting method and device
CN109392140A (en) It is a kind of for monitoring the method, terminal and the network equipment of PDCCH
CN108777666A (en) The shunt method and relevant device of link aggregation
CN110071876A (en) A kind of data transmission method based on block chain, device and electronic equipment
CN109152095A (en) Wireless network connecting method for terminal
CN108401037A (en) User terminal and the binding method of equipment, device and system
CN106851786A (en) A kind of method for searching network and device
CN107360247B (en) The method and the network equipment of processing business
CN109889499A (en) File transmitting method and relevant apparatus
CN107786738B (en) Network control method and equipment
CN109391967A (en) A kind of information reporting and information processing method, terminal and the network equipment
CN107466079A (en) Automatic relay switching method and device
CN110392388A (en) The method and device thereof of cell are selected in mobile communication
CN110366276A (en) Serviceization framework base station
CN107148009A (en) Multi-standard mobile communications network internet surfing data traffic measurement apparatus and its method
CN110519825A (en) Processing method, device, relevant device and the storage medium of routing strategy
CN109639698A (en) A kind of data processing method and server
CN109286988A (en) Transmission method, equipment and computer readable storage medium under unauthorized frequency range
CN105208605B (en) Link information sending method and device and flow control method and device
CN104579970B (en) A kind of strategy matching device of IPv6 messages
CN108901035A (en) The recognition methods of internet-of-things terminal and device
CN110012455A (en) A kind of management method of account information, device and electronic equipment
CN108322366A (en) Access the methods, devices and systems of network
CN110248379A (en) The performance test methods and device of base station in WLAN

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
GR01 Patent grant
GR01 Patent grant