CN110351157A - A kind of data packet detection method and device - Google Patents

A kind of data packet detection method and device Download PDF

Info

Publication number
CN110351157A
CN110351157A CN201810300291.4A CN201810300291A CN110351157A CN 110351157 A CN110351157 A CN 110351157A CN 201810300291 A CN201810300291 A CN 201810300291A CN 110351157 A CN110351157 A CN 110351157A
Authority
CN
China
Prior art keywords
parcel
data packet
data type
data
detection
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
CN201810300291.4A
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201810300291.4A priority Critical patent/CN110351157A/en
Publication of CN110351157A publication Critical patent/CN110351157A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/142Network analysis or design using statistical or mathematical methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Abstract

It is low to solve the problems, such as detection efficiency exists in the prior art the embodiment of the invention provides a kind of data packet detection method and device.This method comprises: obtaining data to be tested packet;In this detection cycle, successively determine whether the first data packet received in this detection cycle belongs to one kind of the non-parcel data type of the M kind according to the filtering sequence of the non-parcel data type of M kind;Wherein, M is the positive integer more than or equal to 2, first data packet is any data to be tested packet received in this detection cycle, filtering sequence are as follows: in the data packet that upper primary detection cycle obtains, the descending sequence of the corresponding data packet number of the non-parcel data type of the M kind detected.

Description

A kind of data packet detection method and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of data packet detection method and devices.
Background technique
Parcel refers to the data volume less data packet of transmission.But system does not consider different data industry when distributing resource The transmission characteristic of business and the Physical Downlink Control Channel (PDCCH) for distributing identical quantity, thus the transmission of parcel is caused to consume A large amount of resource greatly reduces the load-carrying efficiency and income of data service.
It include at present following three kinds for non-parcel data type: File Transfer Protocol (File Transfer Protocol, FTP) it data packet, the Internet packets survey meter (Packet Internet Groper, PING) data packet and is passing Transport control protocol discusses the data packet generated during (Transmission Control Protocol, TCP) link setup.To in mistake When filtering parcel, need to filter out the corresponding data packet of three kinds as above non-parcel data types.
But it according to preset detection ordering, i.e., is first detected when filtering three kinds of non-parcel data types as above at present Whether FTP data packet, if not FTP data packet, then detection is PING data packet, if not PING data packet, then is examined Survey is the data packet of generation during TCP link setup.Existing middle judgement sequence is fixed, so as to cause only successively judging not It is FTP data packet, nor could judge that the data packet is to generate in TCP link setup in the case where PING data packet, from And cause efficiency lower.
Summary of the invention
The embodiment of the invention provides a kind of data packet detection method and devices, and detection exists in the prior art to solve Low efficiency problem.
In a first aspect, the embodiment of the invention provides a kind of data packet detection methods, comprising:
Obtain data to be tested packet;
In this detection cycle, successively determine according to the filtering sequence of the non-parcel data type of M kind in this detection week Whether interim the first data packet received belongs to one kind of the non-parcel data type of the M kind;
Wherein, M is the positive integer more than or equal to 2, and first data packet is to receive in this detection cycle Any data to be tested packet;The filtering sequence are as follows: in the data packet that upper primary detection cycle obtains, what is detected is described The descending sequence of the corresponding data packet number of the non-parcel data type of M kind.
Through the above scheme, in the embodiment of the present invention, by being judged in detection n times data packet to non-parcel data type " ftp business " in the process, " Ping business ", " business in TCP link setup " type of service do quantity statistics.It is according to statistical result The corresponding descending sequence of data packet number of the non-parcel data type of three of the above determines next detection week according to ranking results Phase detects the sequence of non-parcel data type, successively judges whether to be quantity highest/time height/time secondary high non-parcel data class It is non-to reach quantity highest (the accounting highest in non-parcel data type in 3) if it is parcel testing process is directly exited for type The purpose that the business of parcel data type is preferentially detected, improves detection efficiency.
Optionally, the method also includes:
Successively determine that first data packet is not belonging to the M kind in the filtering sequence according to the non-parcel data type of M kind When non-parcel data type, then parcel detection is carried out for first data packet according to preconfigured parcel detection threshold.
Through the above scheme, non-parcel data type is preferentially being filtered out, then is being directed to whether data packet is that parcel is examined It surveys, improves detection efficiency.
Optionally, the method also includes:
When determining that first data packet belongs to the first non-parcel data type in the non-parcel data type of the M kind, The corresponding data packet number of first non-parcel data type is increased by 1, the first non-parcel data type is non-small in the M Any non-parcel data type in Packet type.
Through the above scheme, it realizes and the corresponding data packet number of every kind of non-parcel data type is counted.
Optionally, the method also includes:
At the end of this detection cycle, for the M kind detected in the data packet that this detection cycle obtains The corresponding data packet number of non-parcel data type is descending to be ranked up to obtain ranking results;And determining that the filtering is suitable It is the ranking results by the filtering sequential update when sequence and the ranking results difference.
Through the above scheme, each detection cycle updates filtering sequence, and the data packet that Lai Shiying is received is corresponding non-small The variation of bag data type, and then improve detection efficiency.
Optionally, the method also includes:
For the corresponding number of the non-parcel data type of the M kind detected in the data packet that this detection cycle obtains It is ranked up after obtaining ranking results according to packet quantity is descending, by the corresponding data of the non-parcel data type of the M kind Packet quantity is updated to 0.
Through the above scheme, it provides and a kind of counts the corresponding number-of-packet of every kind of non-parcel data type by detection cycle The mode of amount.
Based on inventive concept same as the method for first aspect, second aspect, the embodiment of the invention also provides one kind Data package detection device, comprising:
Receiving module, for receiving data to be tested packet;
Detection module, for successively being determined according to the filtering sequence of the non-parcel data type of M kind in this detection cycle Whether the first data packet received in this detection cycle belongs to one kind of the non-parcel data type of the M kind;
Wherein, M is the positive integer more than or equal to 2, and first data packet is to receive in this detection cycle Any data to be tested packet;The filtering sequence are as follows: in the data packet that upper primary detection cycle obtains, what is detected is described The descending sequence of the corresponding data packet number of the non-parcel data type of M kind.
Optionally, the detection module, is also used to:
It is described successively to determine that the data packet to be detected is not belonging in the filtering sequence according to the non-parcel data type of M kind When the non-parcel data type of M kind, then parcel inspection is carried out for first data packet according to preconfigured parcel detection threshold It surveys.
Optionally, the detection module, is also used to:
Determining that the data packet to be detected belongs to the first non-parcel data type in the non-parcel data type of the M kind When, the corresponding data packet number of the first non-parcel data type is increased by 1.
Optionally, the detection module, is also used to:
At the end of this detection cycle, for the M kind detected in the data packet that this detection cycle obtains The corresponding data packet number of non-parcel data type is descending to be ranked up to obtain ranking results;And determining that the filtering is suitable It is the ranking results by the filtering sequential update when sequence and the ranking results difference.
Optionally, the detection module, is also used to:
For the corresponding number of the non-parcel data type of the M kind detected in the data packet that this detection cycle obtains It is ranked up after obtaining ranking results according to packet quantity is descending, by the corresponding data of the non-parcel data type of the M kind Packet quantity is updated to 0.
The third aspect, the embodiment of the invention provides a kind of data package detection devices, comprising:
Memory, for storing program instruction;
Processor executes first aspect according to the program of acquisition for calling the program instruction stored in the memory The method.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer instruction, when the computer instruction is run on computers, so that computer executes first aspect The method.
Detailed description of the invention
Fig. 1 is a kind of data packet detection method flow chart provided in an embodiment of the present invention;
Fig. 2 is another data packet detection method flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of data package detection device schematic diagram provided in an embodiment of the present invention;
Fig. 4 is another data package detection device schematic diagram provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention can be adapted for 2G (second generation mobile communication system), 3G (3-G (Generation Three mobile communication system)) or Person 4G (forth generation mobile communication system) evolution system, such as LTE (Long Term Evolution, long term evolution) system, or It can also be 5G (the 5th Generation Mobile Communication System) system, such as use novel radio access technology (New Radio Access Technology, New RAT) access net;CRAN (Cloud Radio Access Network, cloud wireless access network) etc. is logical Letter system.
Base station will dispatch corresponding resource, in real time by business number in the business data packet for receiving server transmission Terminal device is forwarded to according to packet.But most of business data packet is not all high to requirement of real-time, so if coming one every time Data packet just dispatches an interface-free resources and results in waste of resources so that the utilization rate of interface-free resources can be reduced.By taking LTE as an example, The scheduling resource of LTE includes Physical Downlink Control Channel (PDCCH), and scheduling is required to occupy PDCCH every time, accordingly will Cause the waste of PDCCH resource.In addition, the data package size for not having to business datum differs greatly, it is possible to the number of certain scheduling According to a Physical Resource Block (Physical Resource Block, PRB) cannot be filled up, the waste of PRB resource will also result in.
Base station preferentially determines whether the data packet is (do not allow higher to requirement of real-time after receiving data packet Reduce transmission rate) business data packet, if it is not, determining whether is non-parcel data type.It is not non-parcel number in determination When according to type, parcel detection is then carried out.When carrying out parcel detection, it is specific first according to preconfigured parcel detection threshold into Row parcel detection, if parcel, then by the data pack buffer to designated position.The data packet of real-time monitoring designated position caching Buffer memory and/or time delay value;According to buffer memory and/or time delay value, the data packet of caching is sent to terminal device.
Non- parcel data type includes but are not limited to include: FTP data packet, PING data packet in the embodiment of the present invention And the data packet generated during TCP link setup.
For the prior art when filtering non-parcel data type, first detection is FTP data packet, if not FTP data Packet, then detection is PING data packet, if not PING data packet, then detects the number whether generated during TCP link setup According to packet.Existing middle judgement sequence is fixed, so as to cause only successively judging it is not FTP data packet, nor PING data packet In the case where, it could judge that the data packet is to generate in TCP link setup, such as the if data packet generated in TCP link setup The 90% of total data packet amount is accounted for, and is placed on for the differentiation of the data packet generated in TCP link setup most laggard in detection three times Row, then detection meaningless twice gets to third time effectively detection first to carry out every time before, and then detection efficiency is lower.
The business data packet of requirement of real-time higher (do not allow reduce transmission rate) can include according in data packet Service quality rating mark (QoS Class Identifier, QCI) determine.QoS (Quality of Service) table Show service quality.Being equal to 0~4 in QCI indicates that the business of data packet carrying is to guarantee bit rate (Guaranteed Bit Rate, GBR) business.It is non-GRB (Non-GBR) business when QCI is equal to 5, but is IMS signaling traffic, the IMS signaling The priority of business is higher than GBR traffic, therefore the data packet being directed to when QCI is equal to 0~5 is determined as non-small bag data, no longer Need to carry out non-parcel data type detection and the detection of subsequent parcel.
Wherein, so-called GBR refers to the distribution constant by network " permanent " of the bit rate of bearing requirements, even if in network In the case that resource is nervous, corresponding bit rate can not be lowered.Opposite, Non- GBR is referred in network congestion In the case where, business (or carrying) data need to bear the requirement of reduction rate.
Base station involved in the embodiment of the present invention can also be known as access node (English: Access Node, abbreviation: AN), Wirelessly access is provided for terminal.Access node specifically can be global mobile communication (Global System for Mobile communication, GSM) system or CDMA (Code Division Multiple Access, CDMA) system Base station (Base Transceiver Station, BTS) in system, is also possible to wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) base station (NodeB) in system, it can also be evolved in LTE system Base station (English: Evolutional Node B, referred to as: eNB or eNodeB), or base station equipment in future 5G network, Small base station equipment, wireless access node (WiFi AP), wireless intercommunication microwave access base station (Worldwide Interoperability for Microwave Access Base Station, WiMAX BS) etc., the present invention to this not It limits.
It should be noted that it is multiple involved in the present invention, refer to two or more."and/or", description association pair The incidence relation of elephant, indicate may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and These three situations of B, individualism B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".Additionally, it should manage Solution, although may be described in embodiments of the present invention using term first, second etc. each data packet, these data packets do not answer It is limited to these terms.These terms are only used to for each data packet being distinguished from each other out.
The embodiment of the present invention provides a kind of data packet detection method and device, to solve detection existing in the prior art The problem of low efficiency.Wherein, method and apparatus are the principles solved the problems, such as due to method and device based on the same inventive concept It is similar, therefore the implementation of apparatus and method can be with cross-reference, overlaps will not be repeated.
A kind of data packet detection method flow diagram shown in Figure 1, being provided for inventive embodiments.This method packet It includes:
S101 obtains data to be tested packet.
Data to be tested packet is in the embodiment of the present invention: detecting for the data packet received by data packet real-time (business data packet of requirement of real-time higher (not allowing to reduce transmission rate)) filtered data packet afterwards.
S102, according to the filtering sequence of the non-parcel data type of M kind, is successively determined at this in this detection cycle Whether the first data packet received in detection cycle belongs to one kind of the non-parcel data type of the M kind.
Wherein, M is the positive integer more than or equal to 2, and first data packet is to receive in this detection cycle Any data to be tested packet;The filtering sequence are as follows: in the data packet that upper primary detection cycle obtains, what is detected is described The descending sequence of the corresponding data packet number of the non-parcel data type of M kind.
In step S102, in this detection cycle, according to the filtering sequence of the non-parcel data type of M kind, successively determine The first data packet received in this detection cycle, if belong to one kind of the non-parcel data type of the M kind.If pressing According to the filtering sequence of the non-parcel data type of M kind, successively determine that the data packet to be detected is not belonging to the non-parcel number of the M kind When according to type, then parcel detection is carried out for the data packet to be detected according to preconfigured parcel detection threshold.If It is non-small by first when determining that first data packet belongs to the first non-parcel data type in the non-parcel data type of the M kind The corresponding data packet number of bag data type increases by 1, and the first non-parcel data type is the non-parcel data type of the M kind In any non-parcel data type.And determining that it is non-small that the first data packet belongs in the non-parcel data type of the M kind first When bag data type, cache occupation amount (buffer occupancy, BO) low-level mark is closed.BO low-level mark is opened State then shows that current BO packet may belong to packet services, needs to carry out parcel detection, and carry out parcel caching.BO low-level Indicate open state, then show that current BO packet is not belonging to packet services, does not need to carry out parcel detection.
In the embodiment of the present invention, at the end of this detection cycle, in the data packet that this detection cycle obtains The corresponding data packet number of the non-parcel data type of the M kind detected is descending to be ranked up to obtain ranking results;And It is the ranking results by the filtering sequential update when determining the filtering sequence with the ranking results difference.To Detection cycle is using updated filtering sequence next time.
Detection cycle can be set to preset duration or be set as default detection number (i.e. in the embodiment of the present invention The data packet number of filter).
It is illustrated by taking three kinds of non-parcel data types as an example below, detection cycle is by taking default detection number as an example.Three kinds Non- parcel data type is referred to as A traffic data type, B traffic data type and C traffic data type.Assuming that this Before detection cycle detection, filtering sequence is successively: A traffic data type, B traffic data type and C traffic data type. If this detection cycle is that detection cycle, filtering sequentially can be and be pre-configured with for the first time.If this detection cycle is not for the first time Detection cycle, then filtering sequence is the corresponding number-of-packet of the non-parcel data type of M kind described in last detection cycle Measure descending sequence.
It is shown in Figure 2, it is data packet detection method flow diagram provided in an embodiment of the present invention.Below to detect one It is illustrated for a data packet.Other testing processes are repeated no more referring to this process.
S201 obtains business data packet.
S202, determining that the corresponding DCI of the business data packet is identified whether is 0~5, if so, the inspection of business data packet Survey terminates, and sends the business data packet, if it is not, executing S203.
S203 determines whether the business data packet is A traffic data type according to the filtering sequence, if so, holding Row S204, if it is not, then executing S205.
The corresponding data packet number of the A traffic data type is added 1, executes S206 by S204.
S205 determines whether the business data packet is B traffic data type according to the filtering sequence, if so, executing S207, if it is not, then executing S208.
S206 closes BO low-level mark.The detection of the business data packet terminates, and will send the business data packet.
The corresponding data packet number of the B traffic data type is added 1, executes S206 by S207.
S208 determines whether the business data packet is C traffic data type according to the filtering sequence, if so, executing S209, if it is not, then executing S210 and S211.
The corresponding data packet number of the C traffic data type is added 1, executes S206 by S209.
S210, into parcel testing process.Process terminates.
S211, determines whether the number of detection business data packet reaches n times, if so, S212 is executed, if it is not, then detecting knot Beam.
S212, for the non-parcel data type pair of the M kind detected in the data packet that this detection cycle obtains The data packet number answered is descending to be ranked up to obtain ranking results.Execute S213 and S214.
The filtering sequential update is described when determining the filtering sequence with the ranking results difference by S213 Ranking results.Detection terminates
S214, by the A traffic data type, B traffic data type and the corresponding data of B traffic data type Packet zeroing number.Detection terminates.
In the embodiment of the present invention, pass through " the FTP industry to non-parcel data type, in detection n times data packet deterministic process Business ", " Ping business ", " business in TCP link setup " type of service do quantity statistics.It is the non-parcel of three of the above according to statistical result The descending sequence of the corresponding data packet number of data type determines that next detection cycle detects non-parcel number according to ranking results According to the sequence of type, successively judge whether be quantity highest/time height/time time high non-parcel data type, if it is directly moving back Parcel testing process out reaches highest (the accounting highest in non-parcel data type in 3) the non-parcel data type of quantity The purpose that business is preferentially detected, improves detection efficiency.In addition, the embodiment of the present invention can be assigned under non-artificial intervention it is small Adaptive, self-learning function is screened in packet detection, and according to network traffic types self-optimization filtering sequence, improves the inspection of non-parcel Efficiency out reduces parcel and detects network delay.And the artificial network optimization is reduced, the self-optimization function of network is done step-by-step.
Based on inventive concept same as embodiment of the method, the embodiment of the invention provides a kind of data package detection device, Shown in Figure 3, which includes:
Receiving module 301, for receiving data to be tested packet
Detection module 302, in this detection cycle, according to the non-parcel data type of M kind filtering sequence successively Determine whether the first data packet received in this detection cycle belongs to one kind of the non-parcel data type of the M kind.
Wherein, M is the positive integer more than or equal to 2, and first data packet is to receive in this detection cycle Any data to be tested packet;The filtering sequence are as follows: in the data packet that upper primary detection cycle obtains, what is detected is described The descending sequence of the corresponding data packet number of the non-parcel data type of M kind.
Optionally, the detection module 302, is also used to:
It is described successively to determine that the data packet to be detected is not belonging in the filtering sequence according to the non-parcel data type of M kind When the non-parcel data type of M kind, then parcel inspection is carried out for first data packet according to preconfigured parcel detection threshold It surveys.
Optionally, the detection module 302, is also used to:
Determining that the data packet to be detected belongs to the first non-parcel data type in the non-parcel data type of the M kind When, the corresponding data packet number of the first non-parcel data type is increased by 1.
Optionally, the detection module 302, is also used to:
At the end of this detection cycle, for the M kind detected in the data packet that this detection cycle obtains The corresponding data packet number of non-parcel data type is descending to be ranked up to obtain ranking results;And determining that the filtering is suitable It is the ranking results by the filtering sequential update when sequence and the ranking results difference.
Optionally, the detection module 302, is also used to:
For the corresponding number of the non-parcel data type of the M kind detected in the data packet that this detection cycle obtains It is ranked up after obtaining ranking results according to packet quantity is descending, by the corresponding data of the non-parcel data type of the M kind Packet quantity is updated to 0.
It is schematical, only a kind of logical function partition to the division of unit in the embodiment of the present invention, it is practical to realize When there may be another division manner.In addition, each functional unit in each embodiment of the present invention can integrate at one It manages in device, is also possible to physically exist alone, can also be integrated in one unit with two or more units.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
The embodiment of the present application also provides another data package detection device, as shown in figure 4, the device includes:
Memory 420, for storing program instruction;
Processor 400 executes the application according to the program of acquisition for calling the program instruction stored in the memory Method process either described in embodiment.
Transceiver 410, for sending and receiving data packet under the control of processor 400.
Wherein, in Fig. 4, bus architecture may include the bus and bridge of any number of interconnection, specifically by processor 400 The various circuits for the memory that the one or more processors and memory 420 of representative represent link together.Bus architecture is also Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like can be linked together, these are all It is it is known in the art, therefore, it will not be further described herein.Bus interface provides interface.Transceiver 410 can To be multiple element, that is, includes transmitter and transceiver, the list for communicating over a transmission medium with various other devices is provided Member.Processor 400, which is responsible for management bus architecture and common processing, memory 420, can store processor 400 and is executing behaviour Used data when making.
Processor 400 can be centre and bury device (CPU), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, ) or Complex Programmable Logic Devices (Complex Programmable Logic Device, CPLD) FPGA.
The embodiment of the present application also provides a kind of computer storage mediums, for being stored as institute in above-mentioned the embodiment of the present application Computer program instructions used in any device stated, it includes for executing above-mentioned either method provided by the embodiments of the present application Program.
The computer storage medium can be any usable medium or data storage device that computer can access, packet Include but be not limited to magnetic storage (such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc.), optical memory (such as CD, DVD, BD, HVD etc.) and semiconductor memory (such as ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), Solid state hard disk (SSD)) etc..
In the embodiment of the present invention, pass through " the FTP industry to non-parcel data type, in detection n times data packet deterministic process Business ", " Ping business ", " business in TCP link setup " type of service do quantity statistics.It is the non-parcel of three of the above according to statistical result The descending sequence of the corresponding data packet number of data type determines that next detection cycle detects non-parcel number according to ranking results According to the sequence of type, successively judge whether be quantity highest/time height/time time high non-parcel data type, if it is directly moving back Parcel testing process out reaches highest (the accounting highest in non-parcel data type in 3) the non-parcel data type of quantity The purpose that business is preferentially detected, improves detection efficiency.In addition, the embodiment of the present invention can be assigned under non-artificial intervention it is small Adaptive, self-learning function is screened in packet detection, and according to network traffic types self-optimization filtering sequence, improves the inspection of non-parcel Efficiency out reduces parcel and detects network delay.And the artificial network optimization is reduced, the self-optimization function of network is done step-by-step.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer journeys Sequence instruct to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with A machine is generated, so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for Realize the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of data packet detection method characterized by comprising
Obtain data to be tested packet;
In this detection cycle, successively determined in this detection cycle according to the filtering sequence of the non-parcel data type of M kind Whether the first data packet received belongs to one kind of the non-parcel data type of the M kind;
Wherein, M is the positive integer more than or equal to 2, and first data packet is times received in this detection cycle One data to be tested packet;Filtering sequence are as follows: in the data packet that upper primary detection cycle obtains, the M kind that detects The descending sequence of the corresponding data packet number of non-parcel data type.
2. the method as described in claim 1, which is characterized in that the method also includes:
It is non-small successively to determine that first data packet is not belonging to the M kind in the filtering sequence according to the non-parcel data type of M kind When bag data type, then parcel detection is carried out for first data packet according to preconfigured parcel detection threshold.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
When determining that first data packet belongs to the first non-parcel data type in the non-parcel data type of the M kind, by The corresponding data packet number of one non-parcel data type increases by 1, and the first non-parcel data type is non-parcel class in the M Any non-parcel data type in type.
4. method as claimed in claim 3, which is characterized in that the method also includes:
It is non-small for the M kind detected in the data packet that this detection cycle obtains at the end of this detection cycle The corresponding data packet number of bag data type is descending to be ranked up to obtain ranking results;And determine filtering sequence with It is the ranking results by the filtering sequential update when ranking results difference.
5. method as claimed in claim 4, which is characterized in that the method also includes:
For the corresponding data packet of the non-parcel data type of the M kind detected in the data packet that this detection cycle obtains Quantity is descending to be ranked up after obtaining ranking results, by the corresponding number-of-packet of the non-parcel data type of the M kind Amount is updated to 0.
6. a kind of data package detection device characterized by comprising
Receiving module, for receiving data to be tested packet;
Detection module, for successively determining according to the filtering sequence of the non-parcel data type of M kind at this in this detection cycle Whether the first data packet received in secondary detection cycle belongs to one kind of the non-parcel data type of the M kind;
Wherein, M is the positive integer more than or equal to 2, and first data packet is times received in this detection cycle One data to be tested packet;Filtering sequence are as follows: in the data packet that upper primary detection cycle obtains, the M kind that detects The descending sequence of the corresponding data packet number of non-parcel data type.
7. device as claimed in claim 6, which is characterized in that the detection module is also used to:
Successively determine that the data packet to be detected is not belonging to the M kind in the filtering sequence according to the non-parcel data type of M kind When non-parcel data type, then parcel detection is carried out for first data packet according to preconfigured parcel detection threshold.
8. device as claimed in claims 6 or 7, which is characterized in that the detection module is also used to:
When determining that the data packet to be detected belongs to the first non-parcel data type in the non-parcel data type of the M kind, The corresponding data packet number of first non-parcel data type is increased by 1.
9. device as claimed in claim 8, which is characterized in that the detection module is also used to:
It is non-small for the M kind detected in the data packet that this detection cycle obtains at the end of this detection cycle The corresponding data packet number of bag data type is descending to be ranked up to obtain ranking results;And determine filtering sequence with It is the ranking results by the filtering sequential update when ranking results difference.
10. device as claimed in claim 9, which is characterized in that the detection module is also used to:
For the corresponding data packet of the non-parcel data type of the M kind detected in the data packet that this detection cycle obtains Quantity is descending to be ranked up after obtaining ranking results, by the corresponding number-of-packet of the non-parcel data type of the M kind Amount is updated to 0.
11. a kind of data package detection device characterized by comprising
Memory, for storing program instruction;
Processor requires 1~5 according to the program execution benefit of acquisition for calling the program instruction stored in the memory Described in any item methods.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to It enables, when the computer instruction is run on computers, so that computer perform claim requires described in any one of 1~5 Method.
CN201810300291.4A 2018-04-04 2018-04-04 A kind of data packet detection method and device Pending CN110351157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810300291.4A CN110351157A (en) 2018-04-04 2018-04-04 A kind of data packet detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810300291.4A CN110351157A (en) 2018-04-04 2018-04-04 A kind of data packet detection method and device

Publications (1)

Publication Number Publication Date
CN110351157A true CN110351157A (en) 2019-10-18

Family

ID=68172739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810300291.4A Pending CN110351157A (en) 2018-04-04 2018-04-04 A kind of data packet detection method and device

Country Status (1)

Country Link
CN (1) CN110351157A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7586924B2 (en) * 2004-02-27 2009-09-08 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Apparatus and method for coding an information signal into a data stream, converting the data stream and decoding the data stream
CN102082762A (en) * 2009-11-30 2011-06-01 华为技术有限公司 Protocol identification method and device and system for same
CN102158414A (en) * 2011-04-12 2011-08-17 中兴通讯股份有限公司 Protocol processing method for intermediate device and device thereof
CN104219712A (en) * 2013-06-03 2014-12-17 华为技术有限公司 Data transmission method and apparatus
CN106792608A (en) * 2016-09-29 2017-05-31 展讯通信(上海)有限公司 Transmitting small data packets method, device and terminal
CN107302802A (en) * 2016-04-14 2017-10-27 大唐移动通信设备有限公司 A kind of method and apparatus of data transfer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7586924B2 (en) * 2004-02-27 2009-09-08 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Apparatus and method for coding an information signal into a data stream, converting the data stream and decoding the data stream
CN102082762A (en) * 2009-11-30 2011-06-01 华为技术有限公司 Protocol identification method and device and system for same
CN102158414A (en) * 2011-04-12 2011-08-17 中兴通讯股份有限公司 Protocol processing method for intermediate device and device thereof
CN104219712A (en) * 2013-06-03 2014-12-17 华为技术有限公司 Data transmission method and apparatus
CN107302802A (en) * 2016-04-14 2017-10-27 大唐移动通信设备有限公司 A kind of method and apparatus of data transfer
CN106792608A (en) * 2016-09-29 2017-05-31 展讯通信(上海)有限公司 Transmitting small data packets method, device and terminal

Similar Documents

Publication Publication Date Title
US9780997B2 (en) Method and system for controlling an operation of an application by classifying an application type using data bearer characteristics
CN108028780B (en) Method and apparatus for data analysis management
CN109526029B (en) Service optimization method, medium, related device and equipment
US10447558B2 (en) Measurement coordination in communications
ES2556381T3 (en) A planning concept
US10701217B2 (en) System, method, and apparatus for service grouping of users to different speed tiers for wireless communication
CN102017697B (en) QCI mapping at roaming and handover
US11677643B2 (en) Traffic classification of elephant and mice data flows in managing data networks
ES2539927T3 (en) Method and device for assigning switched packet traffic in a multi-technology wireless communication network
EP3855839A1 (en) Method and apparatus for distribution and synchronization of radio resource assignments in a wireless communication system
CN110972150B (en) Network capacity expansion method and device, electronic equipment and computer storage medium
CN104145473B (en) Information processing device, usage charges method of calculation
CN108271219B (en) Method and device for controlling wireless network resources
Dighriri et al. Big data environment for smart healthcare applications over 5g mobile network
CN107371179A (en) Measurement result report method, measurement result method of reseptance, relevant device and system
CN103945462B (en) A kind of auxiliary serving cell configuration method and equipment
US20210409998A1 (en) Quality of experience flow control for dual connectivity
WO2023045931A1 (en) Network performance abnormality analysis method and apparatus, and readable storage medium
CN110351157A (en) A kind of data packet detection method and device
CN111294848B (en) Method and device for determining transmission bandwidth limited base station
Türk et al. An experimental analysis of differentiated quality of service support for LTE users
CN113784376B (en) Communication system processing method, server and storage medium
CN111212447B (en) Load balancing method and device
EP3024282B1 (en) Method and device for data transmission
CN103874165B (en) A kind of business access method and device applied to LTE A systems

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191018

RJ01 Rejection of invention patent application after publication