CN107888449A - The recognition methods of type of service and the network equipment - Google Patents

The recognition methods of type of service and the network equipment Download PDF

Info

Publication number
CN107888449A
CN107888449A CN201711131518.9A CN201711131518A CN107888449A CN 107888449 A CN107888449 A CN 107888449A CN 201711131518 A CN201711131518 A CN 201711131518A CN 107888449 A CN107888449 A CN 107888449A
Authority
CN
China
Prior art keywords
data
service
flows
type
history
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
CN201711131518.9A
Other languages
Chinese (zh)
Inventor
袁晓静
翟京卿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201711131518.9A priority Critical patent/CN107888449A/en
Publication of CN107888449A publication Critical patent/CN107888449A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/06Generation of reports
    • H04L43/062Generation of reports related to network traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The recognition methods of type of service provided by the invention and the network equipment, the data on flows sent by receiving user terminal;According to each historical data feature in the history service characteristic record to prestore, the type of service of data on flows is identified;If recognition failures, to property data base transmitted traffic data, the type of service of property data base return flow data and corresponding data characteristics are received;History service characteristic record is updated according to the type of service of data on flows and corresponding data characteristics.By after data on flows is received, first each historical data feature in the history service characteristic record to prestore, the type of service of data on flows is identified, and only in recognition failures, to the property data base transmitted traffic data of distal end, so as to effectively increase the recognition efficiency that identification obtains the type of service of data on flows, the also relative reduction operating pressure of property data base.

Description

The recognition methods of type of service and the network equipment
Technical field
The present invention relates to recognition methods and the network equipment in communication service field, more particularly to a kind of type of service.
Background technology
Deep-packet detection (deep packet inspection, abbreviation DPI) technology refers to a kind of answering based on packet With the flow detection and control technology of layer, depth detection and analysis are carried out by the data of the different layers to data on flows, so as to Obtain entirely carrying out statistical analysis to flow according to application layer message and default strategy to the application layer message of data on flows And control.
In actual applications, the network equipment such as gateway or router needs the data on flows of the active user's terminal obtained, And the data on flows is forwarded to the service characteristic data base of far-end server side, so that service characteristic data base utilizes storage Each data characteristics is compared and analyzed to the data on flows, obtains and the service class of the data on flows is returned to the network equipment Type, consequently facilitating network equipment statistics and control flow.
But the data characteristics of substantial amounts of business is typically stored with service characteristic data base, service characteristic data base is entered The row time required when comparing and analyzing is longer, and therefore, the network equipment needs to wait longer time to obtain by business The type of service for the data on flows that property data base returns, recognition efficiency are low.
The content of the invention
The business for needing to wait longer time to identify data on flows for the network equipment present in prior art Type, and the low problem of recognition efficiency, the invention provides a kind of recognition methods of type of service and the network equipment.
On the one hand, the invention provides a kind of recognition methods of type of service, including:
Receive the data on flows that user terminal is sent;
According to each historical data feature in the history service characteristic record to prestore, to the business of the data on flows Type is identified;Wherein, the history service characteristic record includes each historical data feature, and each historical data Type of service corresponding to feature;
If recognition failures, the data on flows is sent to property data base, is received described in the property data base return The type of service of data on flows and corresponding data characteristics;According to the type of service of the data on flows and corresponding data characteristics History service characteristic record is updated.
In other optional embodiments, the data on flows for receiving user terminal transmission includes:
Receive terminal iidentification and the data on flows that user terminal is sent;
Accordingly, each historical data feature in the history service characteristic record that the basis prestores, to the stream Before the type of service of amount data is identified, in addition to:
History access record according to prestoring judges whether the user terminal is the terminal accessed first;It is wherein described to go through History access record includes the terminal iidentification of whole terminals of access;
If the user terminal is the terminal accessed first, perform described to the property data base transmission data on flows The step of;
If the user terminal is not the terminal accessed first, the history service characteristic that the basis prestores is performed Each historical data feature in record, the step of the type of service of the data on flows is identified.
In other optional embodiments, if the user terminal is the terminal accessed first, the type of service Recognition methods also include:
History access record is updated according to the terminal iidentification that the user terminal is sent.
In other optional embodiments, after the terminal iidentification for receiving user terminal transmission and data on flows, Before history that the basis prestores access record judges whether the user terminal be the terminal accessed first, in addition to:
The identity of the user terminal is verified according to the terminal iidentification that the user terminal is sent;
If being proved to be successful, perform the history access record that the basis prestores and judge whether the user terminal is first The step of terminal of access;
If authentication failed, the message of authentication failed is returned to user terminal.
In other optional embodiments, each history number in the history service characteristic record that the basis prestores According to feature, the type of service of the data on flows is identified, including:
The data on flows is parsed, obtains the five-tuple message of the data on flows;
The target histories for determining whether to match with the five-tuple message according to history service characteristic record Data characteristics;
If so, then the type of service corresponding to the target histories data characteristics is the type of service of the data on flows;
If it is not, then recognition failures, and perform it is described to property data base send the data on flows the step of.
On the other hand, the invention provides a kind of network equipment, including:
Communication unit, for receiving the data on flows of user terminal transmission;
Recognition unit, for each historical data feature in the history service characteristic record to prestore, to described The type of service of data on flows is identified;Wherein, the history service characteristic record includes each historical data feature, And type of service corresponding to each historical data feature;
If recognition failures, the communication unit is additionally operable to send the data on flows to property data base, described in reception Property data base returns to the type of service of the data on flows and corresponding data characteristics;The recognition unit is additionally operable to according to institute The type of service and corresponding data characteristics for stating data on flows are updated to history service characteristic record.
In other optional embodiments, the network equipment also includes:Access judging unit;
The communication unit is specifically used for receiving terminal iidentification and the data on flows that user terminal is sent;
The access judging unit respectively going through in the history service characteristic record to prestore in shown recognition unit History data characteristics, before the type of service of the data on flows is identified, for being sentenced according to the history access record to prestore Whether the user terminal that breaks is the terminal accessed first;Wherein described history access record includes the end of whole terminals of access End mark;
If the user terminal is the terminal accessed first, the communication unit performs described to property data base transmission The step of data on flows;If the user terminal does not perform described for the terminal accessed first, the recognition unit According to each historical data feature in the history service characteristic record to prestore, the type of service of the data on flows is known Other step.
In other optional embodiments, the access judging unit is additionally operable to when the user terminal is to access first Terminal when, according to the user terminal send terminal iidentification to the history access record be updated.
In other optional embodiments, the access judging unit is additionally operable to:
Before judging whether the user terminal is the terminal accessed first according to the history to prestore access record, according to The terminal iidentification that the user terminal is sent is verified to the identity of the user terminal;If being proved to be successful, described in execution History access record according to prestoring judges the step of whether user terminal is the terminal accessed first;If authentication failed, Then the communication unit returns to the message of authentication failed to user terminal.
In other optional embodiments, the recognition unit, it is specifically used for:
The data on flows is parsed, obtains the five-tuple message of the data on flows;
The target histories for determining whether to match with the five-tuple message according to history service characteristic record Data characteristics;
If so, then the type of service corresponding to the target histories data characteristics is the type of service of the data on flows;
If it is not, then recognition failures, and the communication unit performs and described sends the data on flows to property data base Step.
The recognition methods of type of service provided by the invention and the network equipment, the flow number sent by receiving user terminal According to;According to each historical data feature in the history service characteristic record to prestore, to the type of service of the data on flows It is identified;Wherein, the history service characteristic record includes each historical data feature, and each historical data feature Corresponding type of service;If recognition failures, the data on flows is sent to property data base, the property data base is received and returns Return the type of service of the data on flows and corresponding data characteristics;According to the type of service of the data on flows and corresponding number History service characteristic record is updated according to feature.Compared with prior art, by receive data on flows it Afterwards, each historical data feature in first being recorded according to the history service characteristic to prestore, to the service class of the data on flows Type is identified, and only in recognition failures, the data on flows is sent to the property data base of distal end, so as to effectively increase Identification obtains the recognition efficiency of the type of service of data on flows, also the relative reduction operating pressure of property data base.
Brief description of the drawings
Fig. 1 is network architecture schematic diagram provided by the invention;
Fig. 2 is a kind of schematic flow sheet of the recognition methods for type of service that the embodiment of the present invention one provides;
Fig. 3 is a kind of schematic flow sheet of the recognition methods for type of service that the embodiment of the present invention two provides;
Fig. 4 is a kind of structural representation for network equipment that the embodiment of the present invention three provides;
Fig. 5 is a kind of structural representation for network equipment that the embodiment of the present invention four provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described.
Deep-packet detection (deep packet inspection, abbreviation DPI) technology refers to a kind of answering based on packet With the flow detection and control technology of layer.In actual applications, the network equipment such as gateway or router needs the current use obtained Family terminal to data on flows, and the data on flows is forwarded to the service characteristic data base of far-end server side, for business Property data base is compared and analyzed to data on flows to this using each data characteristics of storage, is obtained and is returned to the network equipment The type of service of the data on flows is returned, is easy to the network equipment to count and control flow.
Further, since the data volume in property data base is very big, it is when carrying out type of service identification, it is necessary to by flow number Compared one by one according to data characteristics, this is big by the operating pressure for causing property data base, identifies and obtains recognition result institute The time needed is longer, thus the network equipment receive property data base return type of service recognition result required for when Between it is also longer, recognition efficiency is low.
This problem is directed to, the invention provides a kind of recognition methods of type of service and the network equipment, wherein, Fig. 1 For network architecture schematic diagram provided by the invention, the recognition methods of type of service provided by the invention and the network equipment are applicable to The network architecture shown in Fig. 1.
As shown in figure 1, the network architecture includes:User terminal 1, the network equipment 2 being connected with user terminal 1 and it is located at The property data base 3 of distal end.
Above-mentioned user terminal 1 can be that wireless terminal can also be catv terminal.Wireless terminal can be directed to user and carry For the connective equipment of voice and/or other business datums, there is the portable equipment of wireless connecting function or be connected to wireless Other processing equipments of modem.Wireless terminal can be through wireless access network (Radio Access Network, abbreviation RAN) communicated with the network equipment, wireless terminal can be mobile terminal, such as mobile phone (or being " honeycomb " phone) and Computer with mobile terminal, for example, it may be the mobile dress of portable, pocket, hand-held or built-in computer Put, they exchange language and/or data with wireless access network.For another example wireless terminal can also be PCS (Personal Communication Service, abbreviation PCS) phone, wireless phone, Session initiation Protocol (Session Initiation Protocol, abbreviation SIP) phone, WLL (Wireless Local Loop, abbreviation WLL) stand, The equipment such as personal digital assistant (Personal Digital Assistant, abbreviation PDA).Wireless terminal is referred to as System, subscri er unit (Subscriber Unit), subscriber station (Subscriber Station), movement station (Mobile Station), mobile station (Mobile), distant station (Remote Station), remote terminal (Remote Terminal), access Terminal (Access Terminal), user terminal (User Terminal), user agent (User Agent), user equipment (User Device or User Equipment), is not limited thereto.Optionally, above-mentioned terminal device can also be intelligence The equipment such as wrist-watch, tablet personal computer.
The network equipment 2 can be then gateway, router etc., and corresponding user terminal 1 can be by way of wired connection and net Network equipment 2 is connected, and can also obtain connection with the network equipment 2 by the way of WLAN, and the present invention is not limited to this. The property data base 3 being connected with the network equipment 2 by communication network, the database of far-end server is specially set up in, it is deposited The total data feature for identifying all types of types of service is contained, those skilled in the art can be according to the renewal pair of type of service Corresponding data feature in database is updated.
Fig. 2 is a kind of schematic flow sheet of the recognition methods for type of service that the embodiment of the present invention one provides, such as Fig. 1 institutes Show, the recognition methods of the type of service includes:
Step 101, receive the data on flows that user terminal is sent.
It should be noted that the executive agent of the recognition methods of type of service provided by the invention is net as shown in Figure 1 Network equipment 2, its physical equipment that can be specifically made up of electronic devices such as processor, memory, logic circuit, combined chips, tool Body can be the equipment that gateway, router etc. provide network connecting function.Wherein, the network equipment 2 by network and is erected at remote End server data characteristics storehouse 3 communicate to connect, also by way of wireless connection or wired connection with the communication link of user terminal 1 Connect.
Specifically, in a step 101, the network equipment receives the data on flows sent by user terminal.The data on flows The data flow or packet that concretely user is generated by user terminal uploads or download.
Step 102, each historical data feature in the history service characteristic record to prestore, to data on flows Type of service is identified.
Wherein, history service characteristic record includes each historical data feature, and each historical data feature corresponds to Type of service.
Specifically, after data on flows is received, the network equipment can be according to being pre-stored in local history service feature Data record, the type of service of data on flows is identified, wherein it is appreciated that type of service includes but is not limited to:Immediately Communication class data, video class data, navigation type data, browser download class data, game class data etc..In addition, history service Include each historical data feature, and type of service corresponding to each historical data feature, these history in characteristic record Data characteristics and corresponding type of service can be downloaded by network to be obtained and updates, it is also possible to passes through this underground such as mobile device The mode of load obtains.
Furthermore, it is understood that first can be parsed in a step 102 to data on flows, the five-tuple report of data on flows is obtained Text, then, the target histories data characteristics for determining whether to match with five-tuple message according to history service characteristic record; If so, then the type of service corresponding to target histories data characteristics is the type of service of data on flows, if it is not, then recognition failures, And perform step 103.
That is, in a step 102, the network equipment can respectively going through in the history service characteristic record to prestore History data characteristics, the type of service of data on flows is tentatively identified.
If step 103, recognition failures, to property data base transmitted traffic data, property data base return flow is received The type of service of data and corresponding data characteristics.
Step 104, according to the type of service of data on flows and corresponding data characteristics history service characteristic is recorded It is updated.
Specifically, in step 103 and step 104, historical data feature in being recorded due to history service characteristic And corresponding type of service is limited, there is the situation of the type of service of None- identified outflow data unavoidably in it, now, will adopt With the operation such as of the prior art to characteristic transmitted traffic data.That is, can not basis when there is the network equipment Each historical data feature in the history service characteristic record to prestore, the feelings that the type of service of data on flows is identified During condition, the data on flows is transmitted to the property data base of distal end by the network equipment, for receiving the characteristic of the data on flows According to storehouse according to the identification method in existing, the type of service of the data on flows is identified, and by corresponding recognition result and Corresponding data characteristics returns to the network equipment.Now, the network equipment deposits corresponding data characteristics and corresponding type of service It is stored in history service characteristic record, so that next time uses.
The data on flows that the recognition methods for the type of service that the embodiment of the present invention one provides is sent by receiving user terminal; According to each historical data feature in the history service characteristic record to prestore, the type of service of data on flows is known Not;Wherein, history service characteristic record includes each historical data feature, and business corresponding to each historical data feature Type;If recognition failures, to property data base transmitted traffic data, the service class of reception property data base return flow data Type and corresponding data characteristics;History service characteristic is remembered according to the type of service of data on flows and corresponding data characteristics Record is updated.Compared with prior art, by the way that after data on flows is received, elder generation is according to the history service characteristic to prestore Each historical data feature in record, the type of service of data on flows is identified, and only in recognition failures, to distal end Property data base transmitted traffic data, so as to effectively increase the recognition efficiency that identification obtains the type of service of data on flows, The relative reduction operating pressure of property data base.
In order to better illustrate the recognition methods of type of service provided by the invention, on the basis of embodiment one, Fig. 3 is The schematic flow sheet of the recognition methods for a kind of type of service that the embodiment of the present invention two provides, as shown in figure 3, provided by the invention The recognition methods of type of service includes:
Step 201, receive terminal iidentification and data on flows that user terminal is sent.
Specifically, unlike step 101, step 201 is receiving the situation for the data on flows that user terminal is sent Under, the terminal iidentification that user terminal is sent also is received, the terminal iidentification concretely use by terminal MAC address, terminal serial number etc. In the unique mark for representing terminal identity information.
The history access record that step 202, basis prestore judges whether user terminal is the terminal accessed first.Wherein go through History access record includes the terminal iidentification of whole terminals of access.
If so, then perform step 205;If it is not, then perform step 203.
Specifically, unlike embodiment one, in respectively going through in the history service characteristic to prestore record History data characteristics, before the type of service of data on flows is identified, step 202 will be performed.
The use habit of user terminal is used in view of user, if the user terminal that the network equipment is accessed is often access The terminal of the network equipment, the type of service corresponding to it are relatively fixed.In this case, can directly be according to user terminal No is the judgement for the terminal for accessing the network equipment first, to be handled accordingly.That is, the network equipment will be according to going through History access record judge user terminal whether be access network device first terminal, it is known that, history access record in wrap Include whole accesses the terminal of the network equipment terminal iidentification.Connect by using the terminal iidentification and history of user terminal Each terminal iidentification entered in record is compared one by one, it may be determined that whether the user terminal is the terminal accessed first.
, in general, will in history service characteristic record when it is determined that the user terminal is the terminal accessed first In the absence of the respective record for having the user terminal, therefore, the step of can directly execution to property data base transmitted traffic data, with Just type of service recognition result is obtained faster.In addition, perform to property data base transmitted traffic data the step of basis On, history access record can be also updated according to the terminal iidentification that user terminal is sent, used when being identified for next time.
Accordingly, when it is determined that the user terminal is not the terminal accessed first, in general, history service characteristic The respective record that will have the user terminal in record, therefore, in the executable record according to the history service characteristic to prestore Each historical data feature, the step of the type of service of data on flows is identified.
Step 203, parsing data on flows, obtain the five-tuple message of data on flows.
Step 204, judgement is recorded according to history service characteristic and determines the target histories matched with five-tuple message Data characteristics.
Wherein, history service characteristic record includes each historical data feature, and each historical data feature corresponds to Type of service, type of service corresponding to target histories data characteristics is the type of service of data on flows.If not with five yuan The target histories data characteristics of group message matching, then perform step 205.
Step 205, to property data base transmitted traffic data, receive the type of service of property data base return flow data With corresponding data characteristics.
Step 206, according to the type of service of data on flows and corresponding data characteristics history service characteristic is recorded It is updated.
In step 203 to step 206, with embodiment one similarly, first data on flows can be parsed, be flowed The five-tuple message of data is measured, then, determines whether what is matched with five-tuple message according to history service characteristic record Target histories data characteristics;If so, then the type of service corresponding to target histories data characteristics is the type of service of data on flows. Further, since historical data feature and corresponding type of service are limited in history service characteristic record, its unavoidable appearance The situation of the type of service of None- identified outflow data, now, of the prior art sent to characteristic such as will be used to flow Measure the operation of data.That is, can not be according to each in the history service characteristic record to prestore when there is the network equipment Historical data feature, during the situation that the type of service of data on flows is identified, the data on flows is transmitted to by the network equipment The property data base of distal end, for receiving the property data base of the data on flows according to the identification method in existing, to the stream The type of service of amount data is identified, and corresponding recognition result and corresponding data characteristics are returned into the network equipment.This When, corresponding data characteristics and corresponding type of service are stored in history service characteristic record by the network equipment, for Next time uses.
In other optional embodiments, in order to ensure the safety of the network equipment, before step 202, it is whole to receive user After holding the terminal iidentification sent and data on flows, judge whether user terminal is to connect first according to the history access record to prestore Before the terminal entered, in addition to:The identity of user terminal is verified according to the terminal iidentification that user terminal is sent;If checking Success, then perform according to the history access record to prestore judges the step of whether user terminal is the terminal accessed first;If test Card failure, then the message of authentication failed is returned to user terminal.
On the basis of embodiment one, the recognition methods for the type of service that the embodiment of the present invention two provides is also by user Whether terminal is that the terminal of access network device first is judged, so that the network equipment is according to the history service characteristic to prestore According to each historical data feature in record, only the type of service of the data on flows of the terminal of non-access network device first is carried out Identification.That is, what is utilized due to the application is historical data feature, therefore, the end of access network device first is directed to There is the situation of None- identified unavoidably in end, in this case, by above-mentioned judgement, can effectively improve recognition efficiency, avoid Invalid identification.
Fig. 4 is a kind of structural representation for network equipment that the embodiment of the present invention three provides, as shown in figure 5, the network is set It is standby to specifically include:Communication unit 10 and recognition unit 20.
Specifically, communication unit 10, for receiving the data on flows of user terminal transmission.
Recognition unit 20, for each historical data feature in the history service characteristic record to prestore, convection current The type of service of amount data is identified;Wherein, history service characteristic record includes each historical data feature, and respectively Type of service corresponding to historical data feature.
If recognition failures, communication unit 10 is additionally operable to, to property data base transmitted traffic data, receive property data base The type of service of return flow data and corresponding data characteristics;Recognition unit 20 is additionally operable to the type of service according to data on flows History service characteristic record is updated with corresponding data characteristics.
Alternatively, recognition unit 20, it is specifically used for:Data on flows is parsed, obtains the five-tuple message of data on flows;According to History service characteristic record determines whether the target histories data characteristics matched with five-tuple message;If so, then target Type of service corresponding to historical data feature is the type of service of data on flows;If it is not, then recognition failures, and communication unit 10 The step of performing to property data base transmitted traffic data.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description Specific work process, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
The network equipment that the embodiment of the present invention three provides, the data on flows sent by receiving user terminal;According to prestoring History service characteristic record in each historical data feature, the type of service of data on flows is identified;Wherein, go through History service feature data record includes each historical data feature, and type of service corresponding to each historical data feature;If know Do not fail, then to property data base transmitted traffic data, receive the type of service and correspondingly of property data base return flow data Data characteristics;History service characteristic record is carried out more according to the type of service of data on flows and corresponding data characteristics Newly.Compared with prior art, in being recorded by the history service characteristic that after data on flows is received, first basis prestores Each historical data feature, the type of service of data on flows is identified, and only in recognition failures, to the characteristic of distal end Storehouse transmitted traffic data, so as to effectively increase the recognition efficiency that identification obtains the type of service of data on flows, also relative reduction The operating pressure of property data base.
On the basis of embodiment three, Fig. 5 is a kind of structural representation for network equipment that the embodiment of the present invention four provides, As shown in figure 5, the network equipment includes:
Communication unit 10, recognition unit 20 and access judging unit 30.
Specifically, communication unit 10, for receiving the terminal iidentification and data on flows of user terminal transmission.
Recognition unit 20, for each historical data feature in the history service characteristic record to prestore, convection current The type of service of amount data is identified;Wherein, history service characteristic record includes each historical data feature, and respectively Type of service corresponding to historical data feature;If recognition failures, communication unit 10 is additionally operable to property data base transmitted traffic Data, receive the type of service of property data base return flow data and corresponding data characteristics;Recognition unit 20 is additionally operable to root History service characteristic record is updated according to the type of service and corresponding data characteristics of data on flows.
Access judging unit 30 respectively going through in the history service characteristic record to prestore in shown recognition unit 20 History data characteristics, before the type of service of data on flows is identified, for judging to use according to the history access record to prestore Whether family terminal is the terminal accessed first;Wherein history access record includes the terminal iidentification of whole terminals of access;
If user terminal is the terminal accessed first, communication unit 10 is performed to property data base transmitted traffic data Step;If user terminal is not the terminal accessed first, recognition unit 20 is performed according to the history service characteristic to prestore Each historical data feature in record, the step of the type of service of data on flows is identified.
In other optional embodiments, it is the terminal accessed first that access judging unit 30, which is additionally operable to work as user terminal, When, history access record is updated according to the terminal iidentification that user terminal is sent.
In other optional embodiments, access judging unit 30 is additionally operable to:Record is being accessed according to the history to prestore Before judging whether user terminal be the terminal accessed first, the body according to the terminal iidentification that user terminal is sent to user terminal Part is verified;If being proved to be successful, perform and judge whether user terminal is to access first according to the history access record to prestore Terminal the step of;If authentication failed, communication unit 10 returns to the message of authentication failed to user terminal.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description Specific work process, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
On the basis of embodiment three, the embodiment of the present invention four provide the network equipment also by user terminal whether be The terminal of access network device is judged first, so that during the network equipment records according to the history service characteristic to prestore Each historical data feature, only the type of service of the data on flows of the terminal of non-access network device first is identified.Also It is to say, what is utilized due to the application is historical data feature, and therefore, the terminal for being directed to access network device first occurs unavoidably The situation of None- identified, in this case, by above-mentioned judgement, recognition efficiency can be effectively improved, avoids invalid identification.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (10)

  1. A kind of 1. recognition methods of type of service, it is characterised in that including:
    Receive the data on flows that user terminal is sent;
    According to each historical data feature in the history service characteristic record to prestore, to the type of service of the data on flows It is identified;Wherein, the history service characteristic record includes each historical data feature, and each historical data feature Corresponding type of service;
    If recognition failures, the data on flows is sent to property data base, the property data base is received and returns to the flow The type of service of data and corresponding data characteristics;According to the type of service of the data on flows and corresponding data characteristics to institute History service characteristic record is stated to be updated.
  2. 2. the recognition methods of type of service according to claim 1, it is characterised in that described to receive what user terminal was sent Data on flows includes:
    Receive terminal iidentification and the data on flows that user terminal is sent;
    Accordingly, each historical data feature in the history service characteristic record that the basis prestores, to the flow number According to type of service be identified before, in addition to:
    History access record according to prestoring judges whether the user terminal is the terminal accessed first;Wherein described history connects Entering record includes the terminal iidentification of whole terminals of access;
    If the user terminal is the terminal accessed first, the step that the data on flows is sent to property data base is performed Suddenly;
    If the user terminal is not the terminal accessed first, the history service characteristic record that the basis prestores is performed In each historical data feature, the step of the type of service of the data on flows is identified.
  3. 3. the recognition methods of the type of service according to right wants 2, it is characterised in that if the user terminal is to access first Terminal, then the recognition methods of the type of service also includes:
    History access record is updated according to the terminal iidentification that the user terminal is sent.
  4. 4. the recognition methods of type of service according to claim 2, it is characterised in that described to receive what user terminal was sent After terminal iidentification and data on flows, the history access record that the basis prestores judges whether the user terminal is to connect first Before the terminal entered, in addition to:
    The identity of the user terminal is verified according to the terminal iidentification that the user terminal is sent;
    If being proved to be successful, perform the history access record that the basis prestores and judge whether the user terminal is to access first Terminal the step of;
    If authentication failed, the message of authentication failed is returned to user terminal.
  5. 5. the recognition methods of the type of service according to claim any one of 1-4, it is characterised in that what the basis prestored Each historical data feature in history service characteristic record, the type of service of the data on flows is identified, including:
    The data on flows is parsed, obtains the five-tuple message of the data on flows;
    The target histories data for determining whether to match with the five-tuple message according to history service characteristic record Feature;
    If so, then the type of service corresponding to the target histories data characteristics is the type of service of the data on flows;
    If it is not, then recognition failures, and perform it is described to property data base send the data on flows the step of.
  6. A kind of 6. network equipment, it is characterised in that including:
    Communication unit, for receiving the data on flows of user terminal transmission;
    Recognition unit, for each historical data feature in the history service characteristic record to prestore, to the flow The type of service of data is identified;Wherein, the history service characteristic record includes each historical data feature, and Type of service corresponding to each historical data feature;
    If recognition failures, the communication unit is additionally operable to send the data on flows to property data base, receives the feature Database returns to the type of service of the data on flows and corresponding data characteristics;The recognition unit is additionally operable to according to the stream The type of service and corresponding data characteristics for measuring data are updated to history service characteristic record.
  7. 7. the network equipment according to claim 6, it is characterised in that also include:Access judging unit;
    The communication unit is specifically used for receiving terminal iidentification and the data on flows that user terminal is sent;
    Each history number of the access judging unit in shown recognition unit in the history service characteristic record to prestore According to feature, before the type of service of the data on flows is identified, for judging institute according to the history access record to prestore State whether user terminal is the terminal accessed first;Wherein described history access record includes the terminal mark of whole terminals of access Know;
    If the user terminal is the terminal accessed first, the communication unit performs described to described in property data base transmission The step of data on flows;If the user terminal is not the terminal accessed first, it is pre- that the recognition unit performs the basis Each historical data feature in the history service characteristic record deposited, the type of service of the data on flows is identified Step.
  8. 8. the network equipment according to right wants 7, it is characterised in that the access judging unit is additionally operable to when the user is whole During the terminal for holding to access first, record is accessed to the history according to the terminal iidentification that the user terminal is sent and carried out more Newly.
  9. 9. the network equipment according to claim 7, it is characterised in that the access judging unit is additionally operable to:
    Before judging whether the user terminal is the terminal accessed first according to the history to prestore access record, according to described The terminal iidentification that user terminal is sent is verified to the identity of the user terminal;If being proved to be successful, the basis is performed The history access record to prestore judges the step of whether user terminal is the terminal accessed first;If authentication failed, institute State the message that communication unit returns to authentication failed to user terminal.
  10. 10. according to the network equipment described in claim any one of 6-9, it is characterised in that the recognition unit, be specifically used for:
    The data on flows is parsed, obtains the five-tuple message of the data on flows;
    The target histories data for determining whether to match with the five-tuple message according to history service characteristic record Feature;
    If so, then the type of service corresponding to the target histories data characteristics is the type of service of the data on flows;
    If it is not, then recognition failures, and the communication unit perform it is described to property data base send the data on flows the step of.
CN201711131518.9A 2017-11-15 2017-11-15 The recognition methods of type of service and the network equipment Pending CN107888449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711131518.9A CN107888449A (en) 2017-11-15 2017-11-15 The recognition methods of type of service and the network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711131518.9A CN107888449A (en) 2017-11-15 2017-11-15 The recognition methods of type of service and the network equipment

Publications (1)

Publication Number Publication Date
CN107888449A true CN107888449A (en) 2018-04-06

Family

ID=61777416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711131518.9A Pending CN107888449A (en) 2017-11-15 2017-11-15 The recognition methods of type of service and the network equipment

Country Status (1)

Country Link
CN (1) CN107888449A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881392A (en) * 2018-05-22 2018-11-23 中国联合网络通信集团有限公司 The update method and device of service characteristic data base
CN109447320A (en) * 2018-09-27 2019-03-08 中国联合网络通信集团有限公司 The recognition methods of customer service, apparatus and system
CN111934951A (en) * 2020-07-30 2020-11-13 杭州迪普科技股份有限公司 Network packet loss detection method and device
CN111931797A (en) * 2019-05-13 2020-11-13 ***通信集团湖南有限公司 Method, device and equipment for identifying network to which service belongs
CN113037792A (en) * 2019-12-24 2021-06-25 ***通信集团四川有限公司 Method, device and gateway for verifying service identification parameters

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060056409A1 (en) * 2003-08-19 2006-03-16 Christopher Piche Method and apparatus to permit data transmission to traverse firewalls
CN101072138A (en) * 2006-05-10 2007-11-14 华为技术有限公司 Method and device for providing multi public network service for small networks
CN101247396A (en) * 2008-02-20 2008-08-20 北大方正集团有限公司 Method, device and system for distributing IP address
CN103095604A (en) * 2013-01-04 2013-05-08 海信集团有限公司 System and method for identifying specific application of home network
CN105100241A (en) * 2015-07-23 2015-11-25 中国联合网络通信集团有限公司 Method of identifying service types and apparatus thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060056409A1 (en) * 2003-08-19 2006-03-16 Christopher Piche Method and apparatus to permit data transmission to traverse firewalls
CN101072138A (en) * 2006-05-10 2007-11-14 华为技术有限公司 Method and device for providing multi public network service for small networks
CN101247396A (en) * 2008-02-20 2008-08-20 北大方正集团有限公司 Method, device and system for distributing IP address
CN103095604A (en) * 2013-01-04 2013-05-08 海信集团有限公司 System and method for identifying specific application of home network
CN105100241A (en) * 2015-07-23 2015-11-25 中国联合网络通信集团有限公司 Method of identifying service types and apparatus thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881392A (en) * 2018-05-22 2018-11-23 中国联合网络通信集团有限公司 The update method and device of service characteristic data base
CN108881392B (en) * 2018-05-22 2021-10-22 中国联合网络通信集团有限公司 Method and device for updating service characteristic database
CN109447320A (en) * 2018-09-27 2019-03-08 中国联合网络通信集团有限公司 The recognition methods of customer service, apparatus and system
CN111931797A (en) * 2019-05-13 2020-11-13 ***通信集团湖南有限公司 Method, device and equipment for identifying network to which service belongs
CN111931797B (en) * 2019-05-13 2023-09-08 ***通信集团湖南有限公司 Method, device and equipment for identifying network to which service belongs
CN113037792A (en) * 2019-12-24 2021-06-25 ***通信集团四川有限公司 Method, device and gateway for verifying service identification parameters
CN113037792B (en) * 2019-12-24 2022-07-26 ***通信集团四川有限公司 Method, device and gateway for verifying service identification parameters
CN111934951A (en) * 2020-07-30 2020-11-13 杭州迪普科技股份有限公司 Network packet loss detection method and device

Similar Documents

Publication Publication Date Title
CN107888449A (en) The recognition methods of type of service and the network equipment
KR101431929B1 (en) Providing remote field testing for mobile devices
CN107342952A (en) Service link selects control method and equipment
US9954737B2 (en) Policy formulating method, policy server, and gateway
CN103475746B (en) A kind of terminal service method and device
CN105933854A (en) Method, system and device for realizing machine to machine service
CN101222676A (en) Method and apparatus for connecting emergency call in portable terminal
CN108092913A (en) A kind of method and the multi-core CPU network equipment of message shunting
CN107197462A (en) Detection method, device and the electronic equipment of wireless network type
CN108243404A (en) Ratification method, device and the equipment of phone number binding state
US11575671B2 (en) Network ID device history and mobile account attributes used as a risk indicator in mobile network-based authentication
CN103906055B (en) Business datum shunt method and system
CN107086979A (en) A kind of user terminal method for verifying login and device
CN108200568A (en) Mobile communication electronics SIM card data processing method and device
CN109783357A (en) The method and device of test application program, computer equipment, storage medium
CN103581881B (en) Comprehensive number-obtaining device as well as system and method for obtaining cell phone number of user on network side
CN105657781A (en) Method and device for accessing WiFi network
CN107135506A (en) A kind of portal authentication methods, apparatus and system
CN106131153A (en) Business recognition method based on intelligent gateway and device
KR101933594B1 (en) Charging control apparatus, method and system
CN109688096A (en) Recognition methods, device, equipment and the computer readable storage medium of IP address
CN108156586A (en) Phone number acquisition methods and system, server, storage medium
CN110120960A (en) A kind of webpage redirects jump method and its system
CN108881392B (en) Method and device for updating service characteristic database
CN106341374A (en) Method and device for restricting access of unlicensed user device to home gateway

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: 20180406

RJ01 Rejection of invention patent application after publication