Nothing Special   »   [go: up one dir, main page]

CN113037792B - A verification method, device and gateway for service identification parameters - Google Patents

A verification method, device and gateway for service identification parameters Download PDF

Info

Publication number
CN113037792B
CN113037792B CN201911344141.4A CN201911344141A CN113037792B CN 113037792 B CN113037792 B CN 113037792B CN 201911344141 A CN201911344141 A CN 201911344141A CN 113037792 B CN113037792 B CN 113037792B
Authority
CN
China
Prior art keywords
service
historical
gateway
feature information
service type
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.)
Active
Application number
CN201911344141.4A
Other languages
Chinese (zh)
Other versions
CN113037792A (en
Inventor
姚芋伶
计宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Sichuan Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Sichuan 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 Mobile Communications Group Co Ltd, China Mobile Group Sichuan Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911344141.4A priority Critical patent/CN113037792B/en
Publication of CN113037792A publication Critical patent/CN113037792A/en
Application granted granted Critical
Publication of CN113037792B publication Critical patent/CN113037792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种业务识别参数的验证方法、装置及网关,以解决现有技术存在的对业务识别参数的验证问题。验证方法包括:网关获取历史数据,其中,历史数据包括历史业务特征信息以及根据历史业务特征信息识别出的历史业务类型;网关将历史业务特征信息与网关中所配置的业务识别参数进行匹配,并根据匹配结果确定历史业务特征信息所对应的当前业务类型;网关将当前业务类型与历史业务类型进行比对,并根据比对结果验证网关中所配置的业务识别参数是否发生变化。

Figure 201911344141

Embodiments of the present invention disclose a method, device and gateway for verifying service identification parameters, so as to solve the problem of verifying service identification parameters existing in the prior art. The verification method includes: the gateway obtains historical data, wherein the historical data includes historical service feature information and a historical service type identified according to the historical service feature information; the gateway matches the historical service feature information with the service identification parameters configured in the gateway, and The current service type corresponding to the historical service feature information is determined according to the matching result; the gateway compares the current service type with the historical service type, and verifies whether the service identification parameters configured in the gateway have changed according to the comparison result.

Figure 201911344141

Description

一种业务识别参数的验证方法、装置及网关A verification method, device and gateway for service identification parameters

技术领域technical field

本发明涉及数据通信领域,尤其涉及一种业务识别参数的验证方法、装置及网关。The present invention relates to the field of data communication, and in particular, to a verification method, device and gateway for service identification parameters.

背景技术Background technique

为了满足日益丰富的移动互联网数据业务的多样化需求,移动网络运营商需通过PGW(Packet Data Network Gateway,分组数据网网关)中配置的业务识别参数对不同业务的具体业务类型进行识别。因此,业务识别参数对识别结果的准确性具有重要影响,需要对业务识别参数进行验证,比如验证业务识别参数是否发生变化或业务识别参数是否准确配置等。In order to meet the diversified demands of increasingly abundant mobile Internet data services, mobile network operators need to identify specific service types of different services through service identification parameters configured in a PGW (Packet Data Network Gateway). Therefore, the service identification parameters have an important impact on the accuracy of the identification results, and it is necessary to verify the service identification parameters, such as verifying whether the service identification parameters have changed or whether the service identification parameters have been configured accurately.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种业务识别参数的验证方法、装置及网关,以解决现有技术存在的对业务识别参数的验证问题。Embodiments of the present invention provide a method, device and gateway for verifying service identification parameters, so as to solve the problem of verifying service identification parameters existing in the prior art.

为解决上述技术问题,本发明实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiments of the present invention are implemented as follows:

第一方面,本发明实施例提供的一种业务识别参数的验证方法,包括:In a first aspect, a method for verifying a service identification parameter provided by an embodiment of the present invention includes:

网关获取历史数据,所述历史数据包括历史业务特征信息以及根据所述历史业务特征信息识别出的历史业务类型;The gateway obtains historical data, the historical data includes historical service feature information and a historical service type identified according to the historical service feature information;

网关将所述历史业务特征信息与所述网关中所配置的业务识别参数进行匹配,并根据匹配结果确定所述历史业务特征信息所对应的当前业务类型;The gateway matches the historical service feature information with the service identification parameters configured in the gateway, and determines the current service type corresponding to the historical service feature information according to the matching result;

网关将所述当前业务类型与所述历史业务类型进行比对,并根据比对结果验证所述网关中所配置的业务识别参数是否发生变化。The gateway compares the current service type with the historical service type, and verifies whether the service identification parameter configured in the gateway changes according to the comparison result.

第二方面,本发明实施例提供的一种业务识别参数的验证方法,包括:In a second aspect, a method for verifying a service identification parameter provided by an embodiment of the present invention includes:

网关接收标准业务特征信息以及与所述标准业务特征信息相匹配的标准业务类型;The gateway receives standard service feature information and a standard service type that matches the standard service feature information;

网关根据所述标准业务特征信息,从历史数据中确定出与所述标准业务特征信息相匹配的历史业务类型,其中,所述历史业务类型基于网关历史所配置的业务识别参数对历史业务特征信息的识别得到;According to the standard service feature information, the gateway determines a historical service type that matches the standard service feature information from the historical data, wherein the historical service type is based on the historical service feature information of the historical service identification parameter configured by the gateway. identified;

网关将所述历史业务类型与所述标准业务类型进行比对,并根据比对结果对所述网关历史所配置的业务识别参数的准确性进行验证。The gateway compares the historical service type with the standard service type, and verifies the accuracy of the service identification parameters historically configured by the gateway according to the comparison result.

第三方面,本发明实施例提供一种业务识别参数的验证装置,包括:In a third aspect, an embodiment of the present invention provides a device for verifying service identification parameters, including:

历史数据获取单元,用于获取历史数据,所述历史数据包括历史业务特征信息以及根据所述历史业务特征信息识别出的历史业务类型;a historical data acquisition unit, configured to acquire historical data, the historical data includes historical service feature information and a historical service type identified according to the historical service feature information;

匹配单元,用于将所述历史业务特征信息与所述网关中所配置的业务识别参数进行匹配,并根据匹配结果确定所述历史业务特征信息所对应的当前业务类型;a matching unit, configured to match the historical service characteristic information with the service identification parameters configured in the gateway, and determine the current service type corresponding to the historical service characteristic information according to the matching result;

验证单元,用于将所述当前业务类型与所述历史业务类型进行比对,并根据比对结果验证所述网关中所配置的业务识别参数是否发生变化。A verification unit, configured to compare the current service type with the historical service type, and verify whether the service identification parameter configured in the gateway changes according to the comparison result.

第四方面,本发明实施例提供一种业务识别参数的验证装置,包括:In a fourth aspect, an embodiment of the present invention provides a device for verifying service identification parameters, including:

标准业务特征信息接收单元,用于接收标准业务特征信息以及与所述标准业务特征信息相匹配的标准业务类型;a standard service feature information receiving unit, configured to receive standard service feature information and a standard service type matching the standard service feature information;

历史数据查询单元,用于根据所述标准业务特征信息,从历史数据中确定出与所述标准业务特征信息相匹配的历史业务类型,其中,所述历史业务类型基于网关历史所配置的业务识别参数对历史业务特征信息的识别得到;A historical data query unit, configured to determine a historical service type matching the standard service characteristic information from historical data according to the standard service characteristic information, wherein the historical service type is based on the service identification configured by the gateway history The identification of historical business characteristic information by parameters is obtained;

验证单元,用于将所述历史业务类型与所述标准业务类型进行比对,并根据比对结果对所述网关历史所配置的业务识别参数的准确性进行验证。A verification unit, configured to compare the historical service type with the standard service type, and verify the accuracy of the service identification parameters configured in the history of the gateway according to the comparison result.

第五方面,本发明实施例提供一种网关,包括上述任一项所述业务识别参数的验证装置。In a fifth aspect, an embodiment of the present invention provides a gateway, including an apparatus for verifying any of the above-mentioned service identification parameters.

采用本发明实施例提供的上述至少一个技术方案,网关获取的历史数据中包括该网关识别出业务类型的历史业务特征信息,将历史业务特征信息与网关中所配置的业务识别参数进行匹配,得到的匹配结果是基于网关所配置的业务识别参数获取的,将当前业务类型和历史业务类型进行比对,比对结果即可表征业务识别参数是否发生变化。因此,使用历史数据对业务识别参数进行验证,可以快速准确的对业务识别参数完成验证。By adopting at least one of the above technical solutions provided by the embodiments of the present invention, the historical data acquired by the gateway includes historical service feature information of the service type identified by the gateway, and the historical service feature information is matched with the service identification parameters configured in the gateway to obtain The matching result is obtained based on the service identification parameters configured by the gateway. The current service type is compared with the historical service type, and the comparison result can indicate whether the service identification parameters have changed. Therefore, by using historical data to verify the service identification parameters, the verification of the service identification parameters can be completed quickly and accurately.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments described in the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本发明实施例提供的业务识别参数的验证方法的应用场景示意图;1 is a schematic diagram of an application scenario of a verification method for a service identification parameter provided by an embodiment of the present invention;

图2为本发明实施例提供的一种业务识别参数的验证方法的流程示意图;2 is a schematic flowchart of a method for verifying a service identification parameter according to an embodiment of the present invention;

图3为本发明实施例提供的一种业务识别参数的验证方法的流程示意图;3 is a schematic flowchart of a method for verifying a service identification parameter according to an embodiment of the present invention;

图4为本发明实施例提供的一种业务识别参数的验证方法的流程示意图;4 is a schematic flowchart of a method for verifying a service identification parameter according to an embodiment of the present invention;

图5为本发明实施例提供的一种业务识别参数的验证方法的流程示意图;5 is a schematic flowchart of a method for verifying a service identification parameter according to an embodiment of the present invention;

图6为本发明实施例提供的一种业务识别参数的验证装置的结构示意图;6 is a schematic structural diagram of an apparatus for verifying service identification parameters according to an embodiment of the present invention;

图7为本发明实施例提供的一种业务识别参数的验证装置的结构示意图;7 is a schematic structural diagram of an apparatus for verifying service identification parameters according to an embodiment of the present invention;

图8为本发明实施例提供的一种业务识别参数的验证装置的结构示意图;8 is a schematic structural diagram of an apparatus for verifying service identification parameters according to an embodiment of the present invention;

图9为本发明实施例提供的一种业务识别参数的验证装置的结构示意图;9 is a schematic structural diagram of an apparatus for verifying service identification parameters according to an embodiment of the present invention;

图10为本发明实施例提供的一种网关的结构示意图。FIG. 10 is a schematic structural diagram of a gateway according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

为解决现有技术中对网关中配置的业务识别参数的验证问题,本发明的实施例提供一种业务识别参数的验证方法,可应用于网关。本发明的实施例中的网关可以为PGW(Packet Data Network Gateway,分组数据网网关),PGW中配置有业务识别参数,用于进行业务类型的匹配,如图1所示,当终端发起数据业务访问时,PGW接收业务数据包,识别业务类型。In order to solve the problem of verifying the service identification parameters configured in the gateway in the prior art, an embodiment of the present invention provides a method for verifying the service identification parameters, which can be applied to the gateway. The gateway in the embodiment of the present invention may be a PGW (Packet Data Network Gateway), and a service identification parameter is configured in the PGW to match the service type. As shown in FIG. 1, when a terminal initiates a data service When accessing, the PGW receives the service data packet and identifies the service type.

实施例1Example 1

本发明实施例1提供一种业务识别参数的验证方法,如图2所示,包括如下步骤:Embodiment 1 of the present invention provides a method for verifying service identification parameters, as shown in FIG. 2 , including the following steps:

步骤101、网关获取历史数据,该历史数据包括历史业务特征信息以及根据历史业务特征信息识别出的历史业务类型。Step 101: The gateway acquires historical data, where the historical data includes historical service feature information and a historical service type identified according to the historical service feature information.

步骤102、网关将历史业务特征信息与该网关中所配置的业务识别参数进行匹配,并根据匹配结果确定历史业务特征信息所对应的当前业务类型。Step 102: The gateway matches the historical service feature information with the service identification parameters configured in the gateway, and determines the current service type corresponding to the historical service feature information according to the matching result.

步骤103、网关将当前业务类型与历史业务类型进行比对,并根据比对结果验证该网关中所配置的业务识别参数是否发生变化。Step 103: The gateway compares the current service type with the historical service type, and verifies whether the service identification parameter configured in the gateway changes according to the comparison result.

在步骤101中,历史数据包括历史业务特征信息以及根据历史业务特征信息识别出的历史业务类型,即网关在之前业务识别过程中,成功匹配出业务类型的业务特征信息为历史业务特征信息,其对应的业务类型为历史业务类型。In step 101, the historical data includes the historical service feature information and the historical service type identified according to the historical service feature information, that is, the service feature information that the gateway successfully matches the service type in the previous service identification process is the historical service feature information, which is The corresponding business type is the historical business type.

历史数据中可以包括最新匹配出业务类型的预设数量的历史业务特征信息,该预设数量可以根据网关中配置的业务识别参数配置的复杂性和验证的准确性要求来进行设置。如业务识别参数较多,配置较为复杂,验证的准确性要求较高,则预设数量可以设置较小数值,反之,如业务识别参数较少,配置较为简单,验证的准确性要求较低,则预设数量可以设置较大数值。The historical data may include a preset number of historical service feature information that has recently matched the service type, and the preset number may be set according to the complexity of the configuration of the service identification parameters configured in the gateway and the accuracy requirements of the verification. If there are many business identification parameters, the configuration is more complex, and the verification accuracy is required to be high, the preset number can be set to a smaller value. On the contrary, if there are fewer business identification parameters, the configuration is relatively simple, and the verification accuracy requirements are low. Then the preset number can be set to a larger value.

业务特征信息为用户业务的特性信息,例如数据包大小、时延、源IP地址、源端口号、URL、应用层协议类型等,是由网关对接收的业务数据包进行解析获取的。The service feature information is the feature information of the user service, such as data packet size, delay, source IP address, source port number, URL, application layer protocol type, etc., which is obtained by the gateway by parsing the received service data packets.

对于本发明实施例,业务特征信息可以为数据业务访问的目的地址,例如,应用于OSI第三层协议的IP(Internet Protocol,网际互连协议地址),或者,应用于OSI第七层协议的URL(Uniform Resoure Locator,统一资源定位符)。For this embodiment of the present invention, the service feature information may be a destination address of data service access, for example, an IP (Internet Protocol, Internet Protocol address) applied to the OSI layer 3 protocol, or an IP address applied to the OSI layer 7 protocol. URL (Uniform Resoure Locator, Uniform Resource Locator).

业务类型可以为搜狐视频、优酷视频、腾讯流媒体或迅雷下载等。The business type can be Sohu Video, Youku Video, Tencent Streaming Media or Xunlei Download, etc.

对于本发明实施例,业务类型可以利用业务标识符(英文全称:ServiceIdentification,英文缩写:SID)进行表征。For the embodiment of the present invention, the service type may be characterized by a service identifier (full name in English: ServiceIdentification, English abbreviation: SID).

对于本发明实施例,在步骤101中,网关获取的历史数据,可以如表1所示。For the embodiment of the present invention, in step 101, the historical data acquired by the gateway may be as shown in Table 1.

历史业务类型Historical business type 历史业务特征信息Historical business characteristic information 11 IP02、URL03IP02, URL03 22 IP13IP13 33 URL-12-1、URL-12-2URL-12-1, URL-12-2

在步骤102中,网关中所配置的业务识别参数可以包括多个策略条目,每个策略条目可以包括业务类型、该业务类型满足的IP或URL的匹配条件以及该策略条目的优先级。In step 102, the service identification parameter configured in the gateway may include multiple policy entries, and each policy entry may include a service type, an IP or URL matching condition satisfied by the service type, and a priority of the policy entry.

其中,业务类型可以利用业务标识符(英文全称:ServiceIdentification,英文缩写:SID)进行表征。The service type may be characterized by a service identifier (full English name: ServiceIdentification, English abbreviation: SID).

业务类型满足的IP的匹配条件可以为连续的IP地址段,如IP01-10,也可以为不连续的独立IP地址,如“IP12、IP20”。业务类型满足的URL的匹配条件可以是独立的完整URL,如URL-12,也可以是加*号进行URL的模拟匹配。The matching conditions for the IPs satisfied by the service type can be continuous IP address segments, such as IP01-10, or discontinuous independent IP addresses, such as "IP12, IP20". The matching condition of the URL that the service type satisfies can be an independent complete URL, such as URL-12, or it can be a simulated URL with an * sign.

优先级则为根据业务识别的实现逻辑,在业务识别参数中设定的优先级别,通常优先级越高则优先级数值越小,如优先级数值为1的通常为最高优先级。网关在将业务特征信息与业务识别参数中的每个策略条目进行匹配时,按照优先级从高到低的顺序,即优先级数值从小到大的顺序进行匹配。The priority is the priority level set in the business identification parameter according to the implementation logic of business identification. Usually, the higher the priority, the smaller the priority value. For example, a priority value of 1 is usually the highest priority. When the gateway matches the service feature information with each policy entry in the service identification parameter, the matching is performed according to the order of priority from high to low, that is, the order of priority value from small to large.

对于本发明实施例,在步骤102中,网关中所配置的业务识别参数,可以如表2所示。For the embodiment of the present invention, in step 102, the service identification parameters configured in the gateway may be as shown in Table 2.

优先级priority IP匹配条件IP match condition URL匹配条件URL matching conditions 业务标识business identity 11 IP01-10IP01-10 URL01-10URL01-10 11 22 IP-13IP-13 22 33 IP-14IP-14 URL-13URL-13 33 44 URL-14URL-14 44

网关获取历史数据后,提取出历史数据中的历史业务特征信息,将历史业务特征数据与该网关中所配置的业务识别参数进行匹配,按照业务识别参数中各策略条目的优先级数值从小到大的顺序依次与IP匹配条件、URL匹配条件进行匹配,确定历史业务特征信息对应的当前业务类型。After the gateway obtains the historical data, it extracts the historical service feature information in the historical data, matches the historical service feature data with the service identification parameters configured in the gateway, and increases the priority value of each policy entry in the service identification parameter from small to large. Match the IP matching conditions and the URL matching conditions in order to determine the current service type corresponding to the historical service feature information.

其中,历史业务特征信息对应的当前业务类型,可以如表3所示。The current service type corresponding to the historical service feature information may be as shown in Table 3.

当前业务类型Current business type 历史业务特征信息Historical business characteristic information 11 IP02、URL03IP02, URL03 22 IP13IP13 33

在步骤103中,网关将历史业务特征信息的当前业务类型与历史业务类型进行比对,将业务类型发生变化的历史业务特征信息作为比对结果,该比对结果可以如表4所示。In step 103, the gateway compares the current service type of the historical service characteristic information with the historical service type, and uses the historical service characteristic information of the changed service type as the comparison result, and the comparison result can be shown in Table 4.

历史业务特征信息Historical business characteristic information 历史业务类型Historical business type 当前业务类型Current business type URL-12-1URL-12-1 33 -- URL-12-2URL-12-2 33 --

基于以上比对结果验证所述网关中所配置的业务识别参数是否发生变化。Based on the above comparison results, verify whether the service identification parameters configured in the gateway have changed.

需要说明的是,后续根据验证结果,还可以对网关中所配置的业务识别参数进行调整。如,当验证结果显示,网关中所配置的业务识别参数发生了变化,则可以根据比对结果对发生变化的业务识别参数进行调整。It should be noted that, according to the verification result, the service identification parameters configured in the gateway may also be adjusted. For example, when the verification result shows that the service identification parameters configured in the gateway have changed, the changed service identification parameters can be adjusted according to the comparison result.

本发明实施例提供的业务识别参数的验证方法,网关获取的历史数据中包括该网关识别出业务类型的全部业务特征信息,将历史业务特征信息与网关中所配置的业务识别参数进行匹配,得到的匹配结果是基于当前配置的业务识别参数获取的,而其对应的历史业务类型则是基于历史配置的业务识别参数获取的,将当前业务类型和历史业务类型进行比对,比对结果即可表征业务识别参数是否发生变化。因此,使用历史数据对业务识别参数进行验证,可以快速准确的验证出业务识别参数是否发生变化。In the method for verifying service identification parameters provided by the embodiment of the present invention, the historical data acquired by the gateway includes all the service feature information of the service type identified by the gateway, and the historical service feature information is matched with the service identification parameters configured in the gateway to obtain The matching result is obtained based on the currently configured service identification parameters, and its corresponding historical service type is obtained based on the historically configured service identification parameters. Compare the current service type with the historical service type, and the comparison results Indicates whether the service identification parameters have changed. Therefore, using historical data to verify the service identification parameters can quickly and accurately verify whether the service identification parameters have changed.

实施例2Example 2

本发明实施例2提供一种业务识别参数的验证方法,在如图2所示的实施例1的基础上,在步骤101、网关获取历史数据,之前还包括如图3所示的如下步骤:Embodiment 2 of the present invention provides a method for verifying service identification parameters. On the basis of Embodiment 1 as shown in FIG. 2 , in step 101, the gateway obtains historical data, which further includes the following steps as shown in FIG. 3 :

步骤201、网关基于历史所配置的业务识别参数,对历史业务特征信息进行识别得到历史业务类型;Step 201, the gateway identifies the historical service feature information based on the service identification parameters configured in the history to obtain the historical service type;

步骤202、网关将历史业务特征信息以及历史业务类型进行存储。Step 202: The gateway stores the historical service feature information and the historical service type.

本实施例主要描述历史数据的获取过程,网关首先要接收业务特征信息,可以理解为网关接收实时业务的业务特征信息。This embodiment mainly describes the acquisition process of historical data. The gateway must first receive service feature information, which can be understood as the gateway receiving service feature information of real-time services.

通常来说,终端发送数据业务访问请求,网关接收到业务访问请求的数据包,并对数据包进行解析,获取业务特征信息。因此,网关接收经该网关解析获得的实时业务的业务特征信息,该过程为网关进行业务类型识别的实际工作过程。Generally speaking, the terminal sends a data service access request, and the gateway receives the data packet of the service access request, and parses the data packet to obtain service feature information. Therefore, the gateway receives the service characteristic information of the real-time service obtained by the analysis of the gateway, and this process is the actual working process of the gateway to identify the service type.

在步骤201中,网关中历史所配置的业务识别参数可以理解为接收的业务特征信息进行业务识别时,网关中配置的业务识别参数,可以如表5所示。In step 201, the service identification parameters historically configured in the gateway can be understood as the service identification parameters configured in the gateway when the received service feature information performs service identification, as shown in Table 5.

优先级priority IP匹配条件IP match condition URL匹配条件URL matching conditions 业务标识business identity 11 IP01-10IP01-10 URL01-10URL01-10 11 22 IP-13IP-13 22 33 URL-12URL-12 33

网关将接收的业务特征信息与网关中历史所配置的业务识别参数进行匹配,网关将经匹配成功确定出业务类型的业务特征信息作为历史业务特征信息,网关将历史业务特征信息以及与其对应的历史业务类型进行实时存储,后续可作为历史数据对业务识别参数进行验证。The gateway matches the received service feature information with the service identification parameters configured in the history of the gateway. The gateway uses the service feature information whose service type is successfully determined as the historical service feature information. The gateway uses the historical service feature information and its corresponding history. The business type is stored in real time, and the business identification parameters can be verified as historical data later.

实施例3Example 3

本发明实施例3提供一种业务识别参数的验证方法,在如图2所示的实施例1的基础上,步骤101、网关获取历史数据,包括如图4所示的如下步骤:Embodiment 3 of the present invention provides a method for verifying service identification parameters. On the basis of Embodiment 1 as shown in FIG. 2 , in step 101, the gateway obtains historical data, including the following steps as shown in FIG. 4 :

步骤301、网关检测该网关中所配置的业务识别参数是否发生变化;Step 301, the gateway detects whether the service identification parameter configured in the gateway changes;

步骤302、当检测到所述网关中所配置的业务识别参数疑似发生变化时,该网关获取历史数据。Step 302: When it is detected that the service identification parameter configured in the gateway is suspected to have changed, the gateway acquires historical data.

在步骤301中,网关对配置在网关中的业务识别参数进行监控,主要确定其是否发生变化。网关中所配置的业务识别参数的变化,可以为新增、删除以及变更。In step 301, the gateway monitors the service identification parameters configured in the gateway, and mainly determines whether they have changed. The changes of the service identification parameters configured in the gateway may be addition, deletion and modification.

其中,业务识别参数的新增可以理解为,在预存的业务识别参数中增加新的策略,并对新增策略配置业务类型、该业务类型满足的IP或URL的匹配条件以及该新增策略条目的优先级。The addition of the service identification parameter can be understood as adding a new policy to the pre-stored service identification parameters, and configuring the service type, the IP or URL matching conditions satisfied by the service type, and the newly added policy entry for the newly added policy. priority.

业务识别参数的删除可以理解为,在预存的业务识别参数中删除某一个或若干个策略。The deletion of the service identification parameters can be understood as deleting one or several policies in the pre-stored service identification parameters.

业务识别参数的变更可以理解为某一个或若干个策略的优先级发生变更,如某一策略的优先级降低,优先级数值由原来的2变更为3,还可以理解为某一策略或若干个策略的业务类型发生变更,如某一策略的业务标识符由1变更为2,还可以理解为某一策略或若干个策略中业务类型满足的IP或URL的匹配条件发生变更,如某一个策略中,业务类型满足的IP的匹配条件由IP01-10变更为IP01-05。The change of service identification parameters can be understood as a change in the priority of one or several policies. For example, the priority of a policy is lowered, and the priority value is changed from the original 2 to 3. It can also be understood as a policy or several policies. When the service type of a policy changes, for example, the service identifier of a policy changes from 1 to 2, it can also be understood as a change in the matching conditions of the IP or URL satisfied by the service type in a policy or several policies, such as a policy , the matching conditions of the IPs satisfied by the service type are changed from IP01-10 to IP01-05.

在步骤302中,当检测时发现网关中所配置的业务识别参数中有疑似新增策略、删除策略、优先级变更、业务类型变更或者业务类型满足的IP或URL的匹配条件变更时,网关获取历史数据。In step 302, when the service identification parameters configured in the gateway are found to be suspected of adding policies, deleting policies, changing priorities, changing service types, or changing the matching conditions of IPs or URLs that are satisfied by the service types, the gateway obtains historical data.

需要说明的是,在本发明实施例中,对于疑似删除和疑似变更的业务识别参数,网关可获取历史数据,并基于历史数据完成对业务识别参数的验证。对于疑似新增的业务识别参数,也就是在业务识别参数中新增的策略,网关获取历史数据时,还可以获取待匹配业务特征信息,可以包括满足新增业务识别参数的业务特征信息。It should be noted that, in this embodiment of the present invention, for service identification parameters that are suspected to be deleted or changed, the gateway may acquire historical data, and complete verification of the service identification parameters based on the historical data. For a suspected newly added service identification parameter, that is, a policy newly added in the service identification parameter, when the gateway obtains historical data, the gateway may also obtain service feature information to be matched, which may include service feature information that satisfies the newly added service identification parameter.

可以理解的是,对于疑似删除和疑似变更的业务识别参数,由于获取历史数据中的业务特征信息进行匹配,而历史数据中的历史业务特征信息是基于删除前和变更前全部策略匹配成功的,因此,该部分业务识别参数全部进行了验证;对于疑似新增的业务识别参数,由于待匹配业务特征信息可以包括满足疑似新增业务识别参数,因此,该部分业务识别参数也进行了验证。通过使用历史数据对疑似发生变化的业务识别参数进行验证,通过匹配结果的比对,即可验证出网关中所配置的业务识别参数是否发生了变化。It is understandable that, for the business identification parameters suspected to be deleted and suspected to be changed, the business feature information in the historical data is obtained for matching, and the historical business feature information in the historical data is based on the successful matching of all policies before the deletion and before the change. Therefore, all the service identification parameters of this part are verified; for the suspected newly added service identification parameters, since the feature information of the service to be matched may include the identification parameters that satisfy the suspected newly added service, this part of the service identification parameters is also verified. By using historical data to verify the suspected changed service identification parameters, and by comparing the matching results, it can be verified whether the service identification parameters configured in the gateway have changed.

另外,网关也可以定期获取历史数据,用于对网关中所配置的业务识别参数进行验证,在具体实施时,可以每天预定时间点获取历史数据进行验证,如每天7:00、15:00等,也可以预设时间间隔,周期性的获取历史数据,如每隔30分钟、每隔60分钟等。In addition, the gateway can also periodically obtain historical data to verify the service identification parameters configured in the gateway. During specific implementation, historical data can be obtained for verification at predetermined time points every day, such as 7:00, 15:00 every day, etc. , or you can preset time intervals to periodically obtain historical data, such as every 30 minutes, every 60 minutes, etc.

可以理解的是,网关定期获取历史数据,对网关中所配置的业务识别参数进行验证,亦可通过匹配结果的比对,验证出网关中所配置的业务识别参数是否发生了变化。It can be understood that the gateway periodically obtains historical data, verifies the service identification parameters configured in the gateway, and can also verify whether the service identification parameters configured in the gateway have changed by comparing the matching results.

实施例4Example 4

本发明实施例4提供一种业务识别参数的验证方法,如图5所示,包括如下步骤:Embodiment 4 of the present invention provides a method for verifying service identification parameters, as shown in FIG. 5 , including the following steps:

步骤401、网关接收标准业务特征信息以及与标准业务特征信息相匹配的标准业务类型;Step 401, the gateway receives standard service feature information and a standard service type that matches the standard service feature information;

步骤402、网关根据标准业务特征信息,从历史数据中确定出与标准业务特征信息相匹配的历史业务类型,其中,历史业务类型基于网关历史所配置的业务识别参数对历史业务特征信息的识别得到;Step 402, the gateway determines the historical service type that matches the standard service characteristic information from the historical data according to the standard service characteristic information, wherein the historical service type is obtained based on the identification of the historical service characteristic information by the service identification parameters configured by the gateway history. ;

步骤403、网关将历史业务类型与标准业务类型进行比对,并根据比对结果对网关历史所配置的业务识别参数的准确性进行验证。Step 403: The gateway compares the historical service type with the standard service type, and verifies the accuracy of the service identification parameters configured in the history of the gateway according to the comparison result.

在步骤401中,标准业务特征信息可以理解为用于验证业务识别参数中的某一个策略或若干个策略的标准验证数据,该标准业务特征信息对应的标准业务类型为经过确认的准确业务类型。In step 401, the standard service feature information can be understood as standard verification data for verifying a certain policy or several policies in the service identification parameters, and the standard service type corresponding to the standard service feature information is the confirmed and accurate service type.

对于本发明实施例,标准业务特征信息可以为数据业务访问的目的地址,例如,应用于OSI第三层协议的IP(Internet Protocol,网际互连协议地址),或者,应用于OSI第七层协议的URL(Uniform Resoure Locator,统一资源定位符)。For this embodiment of the present invention, the standard service feature information may be the destination address of data service access, for example, IP (Internet Protocol, Internet Protocol address) applied to the OSI layer 3 protocol, or applied to the OSI layer 7 protocol URL (Uniform Resoure Locator, Uniform Resource Locator).

标准业务特征信息可以为单个IP、单个URL、多个IP或多个URL,当其为单个IP或单个URL时,则可以用于验证业务识别参数中的某一个策略条目是否正确,当其为多个IP或多个URL,则可以用于验证业务识别参数中的若干个策略条目是否正确。Standard service feature information can be a single IP, a single URL, multiple IPs, or multiple URLs. When it is a single IP or a single URL, it can be used to verify whether a certain policy entry in the service identification parameter is correct. Multiple IPs or multiple URLs can be used to verify whether several policy entries in the service identification parameters are correct.

对于本发明实施例,标准业务类型可以利用业务标识符(英文全称:ServiceIdentification,英文缩写:SID)进行表征。For the embodiment of the present invention, the standard service type may be characterized by a service identifier (full name in English: ServiceIdentification, abbreviation in English: SID).

网关接收的标准业务特征信息,可以是存在疑惑的IP或URL地址,也可以是根据验证需求选取的IP或URL地址,还可以是根据第三方业务服务器的业务需求选取的IP或URL地址。The standard service feature information received by the gateway can be a suspicious IP or URL address, an IP or URL address selected according to verification requirements, or an IP or URL address selected according to the business requirements of a third-party service server.

在步骤401中,网关接收的标准业务特征信息以及标准业务特征信息的标准业务类型,可以如表6所示。In step 401, the standard service feature information and the standard service type of the standard service feature information received by the gateway may be as shown in Table 6.

标准业务类型Standard business type 标准业务特征信息Standard Service Feature Information 11 IP12IP12 33 URL-13URL-13

在步骤402中,网关根据标准业务特征信息在历史数据中确定与标准业务特征信息相匹配的业务类型。其中,历史数据包括历史业务特征信息以及根据历史业务特征信息识别出的历史业务类型,即网关在之前业务识别过程中,经网关中配置的业务识别参数成功匹配出业务类型的业务特征信息为历史业务特征信息,其对应的业务类型为历史业务类型。In step 402, the gateway determines the service type matching the standard service characteristic information in the historical data according to the standard service characteristic information. Among them, the historical data includes historical service feature information and historical service types identified according to the historical service feature information, that is, in the previous service identification process of the gateway, the service identification parameters configured in the gateway successfully matched the service type of the service feature information as the history. The service feature information, the corresponding service type is the historical service type.

网关中历史所配置的业务识别参数可以如表7所示。The service identification parameters historically configured in the gateway may be shown in Table 7.

优先级priority IP匹配条件IP match condition URL匹配条件URL matching conditions 业务标识business identity 11 IP11-20IP11-20 URL11-20URL11-20 11 22 IP-15IP-15 URL-13URL-13 22 33 IP-5IP-5 URL-14URL-14 33

历史数据中的历史业务类型可以是基于如表7中的业务识别参数识别出的匹配结果,在本发明实施例中,历史数据可以如表8所示。The historical service type in the historical data may be a matching result identified based on the service identification parameters in Table 7. In this embodiment of the present invention, the historical data may be as shown in Table 8.

历史业务类型Historical business type 历史业务特征信息Historical business characteristic information 11 IP12IP12 22 URL-13URL-13 33 IP-5IP-5 33 URL-14URL-14

网关将表6中的标准业务特征信息IP12和URL-13在如表8的历史数据中进行查询,可以确定在历史数据中,和标准业务特征信息IP12对应的业务类型为1,和标准业务特征信息URL-13对应的业务类型为2。如表9所示。The gateway queries the standard service feature information IP12 and URL-13 in Table 6 in the historical data such as Table 8, and it can be determined that in the historical data, the service type corresponding to the standard service feature information IP12 is 1, and the standard service feature The service type corresponding to the information URL-13 is 2. As shown in Table 9.

历史业务特征信息Historical business characteristic information 历史业务类型Historical business type 标准业务类型Standard business type IP12IP12 11 11 URL-13URL-13 22 33

在步骤403中,网关将历史数据中确定的业务类型和标准业务类型进行比对,将历史业务类型和标准业务类型不同的条目作为对比结果,在本发明实施例中,对比结果可以如表10所示。In step 403, the gateway compares the service type determined in the historical data with the standard service type, and uses the items with different historical service types and standard service types as the comparison result. In the embodiment of the present invention, the comparison result can be as shown in Table 10 shown.

历史业务特征信息Historical business characteristic information 历史业务类型Historical business type 目标业务类型target business type URL-13URL-13 22 33

该比对结果可以理解为该历史业务特征信息对应的网关中历史所配置的业务识别参数中,如表11所示的策略条目可能配置不正确。The comparison result can be understood that among the service identification parameters historically configured in the gateway corresponding to the historical service feature information, the policy entries shown in Table 11 may be incorrectly configured.

优先级priority IP匹配条件IP match condition URL匹配条件URL matching conditions 业务标识business identity 22 IP-15IP-15 URL-13URL-13 22

如上述步骤,网关根据该比对结果完成对网关历史所配置的业务识别参数的准确性的验证。As in the above steps, the gateway completes the verification of the accuracy of the service identification parameters configured in the history of the gateway according to the comparison result.

本发明实施例提供的业务识别参数的验证方法,网关在历史数据中确定标准业务特征信息对应的业务类型,并将历史数据中确定的业务类型与标准业务类型进行比对,使用历史数据对网关中历史配置的业务识别参数进行验证,可以高效确定历史配置的业务识别参数中的错误参数,实现对网关历史所配置的业务识别参数的准确性的验证。In the service identification parameter verification method provided by the embodiment of the present invention, the gateway determines the service type corresponding to the standard service feature information in the historical data, compares the service type determined in the historical data with the standard service type, and uses the historical data to verify the gateway. By verifying the service identification parameters historically configured in the gateway, incorrect parameters in the historically configured service identification parameters can be efficiently determined, and the accuracy of the historically configured service identification parameters of the gateway can be verified.

实施例5Example 5

本发明实施例5提供一种业务识别参数的验证装置,如图6所示,包括如下单元:Embodiment 5 of the present invention provides a verification device for service identification parameters, as shown in FIG. 6 , including the following units:

历史数据获取单元501,用于获取历史数据,其中,历史数据包括历史业务特征信息以及根据历史业务特征信息识别出的历史业务类型;A historical data acquisition unit 501, configured to acquire historical data, wherein the historical data includes historical business feature information and a historical business type identified according to the historical business feature information;

匹配单元502,用于将历史业务特征信息与网关中所配置的业务识别参数进行匹配,并根据匹配结果确定历史业务特征信息所对应的当前业务类型;A matching unit 502, configured to match the historical service feature information with the service identification parameters configured in the gateway, and determine the current service type corresponding to the historical service feature information according to the matching result;

验证单元503,用于将当前业务类型与历史业务类型进行比对,并根据比对结果验证网关中所配置的业务识别参数是否发生变化。The verification unit 503 is configured to compare the current service type with the historical service type, and verify whether the service identification parameter configured in the gateway has changed according to the comparison result.

本发明实施例提供的业务识别参数的验证装置,网关获取的历史数据中包括该网关识别出业务类型的全部业务特征信息,将历史业务特征信息与网关中所配置的业务识别参数进行匹配,得到的匹配结果是基于当前配置的业务识别参数获取的,而其对应的历史业务类型则是基于历史配置的业务识别参数获取的,将当前业务类型和历史业务类型进行比对,比对结果即可表征业务识别参数是否发生变化。因此,使用历史数据对业务识别参数进行验证,可以快速准确的验证出业务识别参数是否发生变化。In the device for verifying service identification parameters provided by the embodiment of the present invention, the historical data obtained by the gateway includes all service feature information of the service type identified by the gateway, and the historical service feature information is matched with the service identification parameters configured in the gateway to obtain The matching result is obtained based on the currently configured service identification parameters, and its corresponding historical service type is obtained based on the historically configured service identification parameters. Compare the current service type with the historical service type, and the comparison results Indicates whether the service identification parameters have changed. Therefore, using historical data to verify the service identification parameters can quickly and accurately verify whether the service identification parameters have changed.

实施例6Example 6

本发明实施例6提供一种业务识别参数的验证装置,在如图6所示的实施例5的基础上,还包括如图7所示的如下单元:Embodiment 6 of the present invention provides a verification device for service identification parameters, which, on the basis of Embodiment 5 shown in FIG. 6 , further includes the following units as shown in FIG. 7 :

历史业务类型识别单元601,用于基于历史所配置的业务识别参数,对历史业务特征信息进行识别得到历史业务类型;The historical service type identification unit 601 is used for identifying the historical service feature information based on the service identification parameters configured in the history to obtain the historical service type;

历史数据存储单元602,用于将历史业务特征信息以及历史业务类型进行存储。The historical data storage unit 602 is used for storing historical service feature information and historical service types.

实施例7Example 7

本发明实施例7提供一种业务识别参数的验证装置,在如图6所示的实施例5的基础上,还包括如图8所示的如下单元:Embodiment 7 of the present invention provides a verification device for service identification parameters, which, on the basis of Embodiment 5 shown in FIG. 6 , further includes the following units as shown in FIG. 8 :

监控单元701,用于检测所述网关中所配置的业务识别参数是否疑似发生变化。The monitoring unit 701 is configured to detect whether the service identification parameter configured in the gateway is suspected to have changed.

实施例8Example 8

本发明实施例8提供一种业务识别参数的验证装置,如图9所示,包括如下单元:Embodiment 8 of the present invention provides a verification device for service identification parameters, as shown in FIG. 9 , including the following units:

标准业务特征信息接收单元801,用于接收标准业务特征信息以及与标准业务特征信息相匹配的标准业务类型;Standard service feature information receiving unit 801, configured to receive standard service feature information and a standard service type matching the standard service feature information;

历史数据查询单元802,用于根据标准业务特征信息,从历史数据中确定出与标准业务特征信息相匹配的历史业务类型,其中,历史业务类型基于网关历史所配置的业务识别参数对历史业务特征信息的识别得到;The historical data query unit 802 is configured to determine the historical service type that matches the standard service characteristic information from the historical data according to the standard service characteristic information, wherein the historical service type is based on the service identification parameter configured by the gateway history to the historical service characteristic. information is identified;

验证单元803,用于将历史业务类型与标准业务类型进行比对,并根据比对结果对网关历史所配置的业务识别参数的准确性进行验证。The verification unit 803 is configured to compare the historical service type with the standard service type, and verify the accuracy of the service identification parameters configured in the history of the gateway according to the comparison result.

本发明实施例提供的业务识别参数的验证装置,网关在历史数据中确定标准业务特征信息对应的业务类型,并将历史数据中确定的业务类型与标准业务类型进行比对,使用历史数据对网关中历史配置的业务识别参数进行验证,可以高效确定历史配置的业务识别参数中的错误参数,实现对网关历史所配置的业务识别参数的准确性的验证。In the service identification parameter verification device provided by the embodiment of the present invention, the gateway determines the service type corresponding to the standard service feature information in the historical data, compares the service type determined in the historical data with the standard service type, and uses the historical data to verify the gateway. By verifying the service identification parameters historically configured in the gateway, incorrect parameters in the historically configured service identification parameters can be efficiently determined, and the accuracy of the historically configured service identification parameters of the gateway can be verified.

实施例9Example 9

本发明实施例还提供一种网关,如图10所示的硬件结构,包括:处理器、存储器、总线和收发器;其中,An embodiment of the present invention further provides a gateway, the hardware structure shown in FIG. 10 includes: a processor, a memory, a bus, and a transceiver; wherein,

处理器,用于获取历史数据,其中,历史数据包括历史业务特征信息以及根据历史业务特征信息识别出的历史业务类型;以及,将历史业务特征信息与网关中所配置的业务识别参数进行匹配,并根据匹配结果确定历史业务特征信息所对应的当前业务类型;以及,将当前业务类型与历史业务类型进行比对,并根据比对结果验证网关中所配置的业务识别参数是否发生变化;a processor for acquiring historical data, wherein the historical data includes historical service characteristic information and a historical service type identified according to the historical service characteristic information; and matching the historical service characteristic information with the service identification parameters configured in the gateway, and determine the current service type corresponding to the historical service feature information according to the matching result; and compare the current service type with the historical service type, and verify whether the service identification parameter configured in the gateway changes according to the comparison result;

收发器,用于接收业务信息;以及发送验证结果;A transceiver for receiving business information; and sending verification results;

存储器,用于存储网关中所配置的业务识别参数以及历史数据。The memory is used to store the service identification parameters and historical data configured in the gateway.

实施例10Example 10

本发明实施例还提供一种网关,包括:处理器、存储器、总线和收发器;其中,An embodiment of the present invention further provides a gateway, including: a processor, a memory, a bus, and a transceiver; wherein,

处理器,用于根据标准业务特征信息,从历史数据中确定出与标准业务特征信息相匹配的历史业务类型,其中,历史业务类型基于网关历史所配置的业务识别参数对历史业务特征信息的识别得到;以及,将历史业务类型与标准业务类型进行比对,并根据比对结果对网关历史所配置的业务识别参数的准确性进行验证;The processor is used to determine the historical service type matching the standard service characteristic information from the historical data according to the standard service characteristic information, wherein the historical service type is based on the identification of the historical service characteristic information by the service identification parameters configured in the history of the gateway obtain; and, compare the historical service type with the standard service type, and verify the accuracy of the service identification parameters configured in the history of the gateway according to the comparison result;

收发器,用于接收标准业务特征信息以及与标准业务特征信息相匹配的标准业务类型;以及,发送验证结果;a transceiver for receiving standard service feature information and a standard service type matched with the standard service feature information; and sending a verification result;

存储器,用于存储网关中所配置的业务识别参数以及历史数据。The memory is used to store the service identification parameters and historical data configured in the gateway.

本发明实施例还提供一种业务识别参数的验证系统,包括本发明实施例中的任一种网关。The embodiment of the present invention further provides a system for verifying service identification parameters, including any gateway in the embodiment of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used for illustration. In practical applications, the above-mentioned functions can be allocated to different functional modules as required. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the system, apparatus and unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture, or device that includes the element.

本领域技术人员应明白,本发明的实施例可提供为方法、系统或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上所述仅为本发明的实施例而已,并不用于限制本发明。对于本领域技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。The above descriptions are merely embodiments of the present invention, and are not intended to limit the present invention. Various modifications and variations of the present invention are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the scope of the claims of the present invention.

Claims (10)

1.一种业务识别参数的验证方法,其特征在于,包括:1. a verification method of a service identification parameter, is characterized in that, comprises: 网关获取历史数据,所述历史数据包括历史业务特征信息以及根据所述历史业务特征信息识别出的历史业务类型;The gateway acquires historical data, and the historical data includes historical service feature information and a historical service type identified according to the historical service feature information; 网关将所述历史业务特征信息与所述网关中所配置的业务识别参数进行匹配,并根据匹配结果确定所述历史业务特征信息所对应的当前业务类型;The gateway matches the historical service feature information with the service identification parameters configured in the gateway, and determines the current service type corresponding to the historical service feature information according to the matching result; 网关将所述当前业务类型与所述历史业务类型进行比对,并根据比对结果验证所述网关中所配置的业务识别参数是否发生变化。The gateway compares the current service type with the historical service type, and verifies whether the service identification parameter configured in the gateway changes according to the comparison result. 2.如权利要求1所述的方法,其特征在于,所述方法还包括:2. The method of claim 1, wherein the method further comprises: 根据验证结果,对所述网关中所配置的业务识别参数进行调整。According to the verification result, the service identification parameters configured in the gateway are adjusted. 3.如权利要求1或2所述的方法,其特征在于,在所述网关获取历史数据之前,所述方法还包括:3. The method according to claim 1 or 2, wherein before the gateway acquires historical data, the method further comprises: 网关基于历史所配置的业务识别参数,对所述历史业务特征信息进行识别得到所述历史业务类型;The gateway identifies the historical service feature information based on the service identification parameters configured in the history to obtain the historical service type; 网关将所述历史业务特征信息以及所述历史业务类型进行存储。The gateway stores the historical service characteristic information and the historical service type. 4.如权利要求1所述的方法,其特征在于,所述网关获取历史数据,具体包括:4. The method of claim 1, wherein the gateway acquires historical data, specifically comprising: 当检测到所述网关中所配置的业务识别参数疑似发生变化时,所述网关获取所述历史数据;或,When it is detected that the service identification parameter configured in the gateway is suspected to have changed, the gateway acquires the historical data; or, 所述网关定期获取历史数据。The gateway obtains historical data periodically. 5.一种业务识别参数的验证方法,其特征在于,包括:5. A verification method for a service identification parameter, comprising: 网关接收标准业务特征信息以及与所述标准业务特征信息相匹配的标准业务类型;The gateway receives standard service feature information and a standard service type that matches the standard service feature information; 网关根据所述标准业务特征信息,从历史数据中确定出与所述标准业务特征信息相匹配的历史业务类型,其中,所述历史数据包括历史业务特征信息以及根据历史业务特征信息识别出的历史业务类型,所述历史业务类型基于网关历史所配置的业务识别参数对历史业务特征信息的识别得到;According to the standard service feature information, the gateway determines the historical service type that matches the standard service feature information from the historical data, wherein the historical data includes historical service feature information and historical service feature information identified according to the historical service feature information. Service type, the historical service type is obtained based on the identification of historical service feature information by service identification parameters configured in the history of the gateway; 网关将所述历史业务类型与所述标准业务类型进行比对,并根据比对结果对所述网关历史所配置的业务识别参数的准确性进行验证。The gateway compares the historical service type with the standard service type, and verifies the accuracy of the service identification parameters historically configured by the gateway according to the comparison result. 6.一种业务识别参数的验证装置,其特征在于,包括:6. A verification device for service identification parameters, comprising: 历史数据获取单元,用于获取历史数据,所述历史数据包括历史业务特征信息以及根据所述历史业务特征信息识别出的历史业务类型;a historical data acquisition unit, configured to acquire historical data, the historical data includes historical service feature information and a historical service type identified according to the historical service feature information; 匹配单元,用于将所述历史业务特征信息与网关中所配置的业务识别参数进行匹配,并根据匹配结果确定所述历史业务特征信息所对应的当前业务类型;a matching unit, configured to match the historical service characteristic information with the service identification parameters configured in the gateway, and determine the current service type corresponding to the historical service characteristic information according to the matching result; 验证单元,用于将所述当前业务类型与所述历史业务类型进行比对,并根据比对结果验证所述网关中所配置的业务识别参数是否发生变化。A verification unit, configured to compare the current service type with the historical service type, and verify whether the service identification parameter configured in the gateway changes according to the comparison result. 7.根据权利要求6所述的装置,其特征在于,还包括:7. The apparatus of claim 6, further comprising: 历史业务类型识别单元,用于基于历史所配置的业务识别参数,对所述历史业务特征信息进行识别得到所述历史业务类型;A historical service type identification unit, configured to identify the historical service feature information based on the service identification parameters configured in the history to obtain the historical service type; 历史数据存储单元,用于将所述历史业务特征信息以及所述历史业务类型进行存储。A historical data storage unit, configured to store the historical service feature information and the historical service type. 8.根据权利要求6或7所述的装置,其特征在于,还包括:8. The device according to claim 6 or 7, characterized in that, further comprising: 监控单元,用于检测所述网关中所配置的业务识别参数是否疑似发生变化。A monitoring unit, configured to detect whether the service identification parameter configured in the gateway is suspected to have changed. 9.一种业务识别参数的验证装置,其特征在于,包括:9. A verification device for service identification parameters, comprising: 标准业务特征信息接收单元,用于接收标准业务特征信息以及与所述标准业务特征信息相匹配的标准业务类型;a standard service feature information receiving unit, configured to receive standard service feature information and a standard service type matching the standard service feature information; 历史数据查询单元,用于根据所述标准业务特征信息,从历史数据中确定出与所述标准业务特征信息相匹配的历史业务类型,其中,所述历史数据包括历史业务特征信息以及根据历史业务特征信息识别出的历史业务类型,所述历史业务类型基于网关历史所配置的业务识别参数对历史业务特征信息的识别得到;A historical data query unit, configured to determine a historical service type that matches the standard service characteristic information from the historical data according to the standard service characteristic information, wherein the historical data includes historical service characteristic information and according to the historical service characteristic information The historical service type identified by the feature information, the historical service type is obtained based on the identification of the historical service feature information by the service identification parameters configured in the history of the gateway; 验证单元,用于将所述历史业务类型与所述标准业务类型进行比对,并根据比对结果对所述网关历史所配置的业务识别参数的准确性进行验证。A verification unit, configured to compare the historical service type with the standard service type, and verify the accuracy of the service identification parameters configured in the history of the gateway according to the comparison result. 10.一种网关,其特征在于,包括如权利要求6-9中任一项所述的业务识别参数的验证装置。10. A gateway, characterized by comprising the service identification parameter verification device according to any one of claims 6-9.
CN201911344141.4A 2019-12-24 2019-12-24 A verification method, device and gateway for service identification parameters Active CN113037792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911344141.4A CN113037792B (en) 2019-12-24 2019-12-24 A verification method, device and gateway for service identification parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911344141.4A CN113037792B (en) 2019-12-24 2019-12-24 A verification method, device and gateway for service identification parameters

Publications (2)

Publication Number Publication Date
CN113037792A CN113037792A (en) 2021-06-25
CN113037792B true CN113037792B (en) 2022-07-26

Family

ID=76451374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911344141.4A Active CN113037792B (en) 2019-12-24 2019-12-24 A verification method, device and gateway for service identification parameters

Country Status (1)

Country Link
CN (1) CN113037792B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115622947A (en) * 2022-10-09 2023-01-17 深圳市智宇实业发展有限公司 Data transmission method, device and equipment based on service classification and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196513A (en) * 2010-03-11 2011-09-21 阿尔卡特朗讯 Method and equipment for determining service speed of service gateway access
WO2013033469A1 (en) * 2011-08-30 2013-03-07 Allure Energy, Inc. Resource manager, system, and method for communicating resource management information for smart energy and media resources
CN105719140A (en) * 2014-12-05 2016-06-29 阿里巴巴集团控股有限公司 Method and device for user information verification
CN107231387A (en) * 2016-03-23 2017-10-03 上海新飞凡电子商务有限公司 A kind of information interacting method for mobile client
CN107888449A (en) * 2017-11-15 2018-04-06 中国联合网络通信集团有限公司 The recognition methods of type of service and the network equipment
CN107911331A (en) * 2016-12-24 2018-04-13 上海壹账通金融科技有限公司 Data verification method and server
CN108509458A (en) * 2017-02-28 2018-09-07 阿里巴巴集团控股有限公司 A kind of business object recognition methods and device
CN110390465A (en) * 2019-06-18 2019-10-29 深圳壹账通智能科技有限公司 Air control analysis and processing method, device and the computer equipment of business datum
CN110400217A (en) * 2018-04-25 2019-11-01 中国移动通信集团广东有限公司 Method and device for processing rule change of smart contract

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7805382B2 (en) * 2005-04-11 2010-09-28 Mkt10, Inc. Match-based employment system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196513A (en) * 2010-03-11 2011-09-21 阿尔卡特朗讯 Method and equipment for determining service speed of service gateway access
WO2013033469A1 (en) * 2011-08-30 2013-03-07 Allure Energy, Inc. Resource manager, system, and method for communicating resource management information for smart energy and media resources
CN105719140A (en) * 2014-12-05 2016-06-29 阿里巴巴集团控股有限公司 Method and device for user information verification
CN107231387A (en) * 2016-03-23 2017-10-03 上海新飞凡电子商务有限公司 A kind of information interacting method for mobile client
CN107911331A (en) * 2016-12-24 2018-04-13 上海壹账通金融科技有限公司 Data verification method and server
CN108509458A (en) * 2017-02-28 2018-09-07 阿里巴巴集团控股有限公司 A kind of business object recognition methods and device
CN107888449A (en) * 2017-11-15 2018-04-06 中国联合网络通信集团有限公司 The recognition methods of type of service and the network equipment
CN110400217A (en) * 2018-04-25 2019-11-01 中国移动通信集团广东有限公司 Method and device for processing rule change of smart contract
CN110390465A (en) * 2019-06-18 2019-10-29 深圳壹账通智能科技有限公司 Air control analysis and processing method, device and the computer equipment of business datum

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
浅谈数据分析模型管理与工作流管理技术的集成应用方向;刘玲玲;《信息通信》;20190315(第03期);全文 *

Also Published As

Publication number Publication date
CN113037792A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
WO2019165665A1 (en) Domain name resolution method, server and system
US9900281B2 (en) Computer-implemented method, apparatus, and computer-readable medium for processing named entity queries using a cached functionality in a domain name system
US9319378B2 (en) Methods, systems, and computer readable media for using a diameter routing agent (DRA) to obtain mappings between mobile subscriber identification information and dynamically assigned internet protocol (IP) addresses and for making the mappings accessible to applications
CN103888358B (en) Routing method, device, system and gateway equipment
EP2924941B1 (en) Method and device for preventing service illegal access
US10469532B2 (en) Preventing DNS cache poisoning
CN108494755B (en) Method and device for transmitting Application Programming Interface (API) request
CN108959549A (en) Method for writing data, calculates equipment and computer storage medium at device
CN112134954A (en) Service request processing method and device, electronic equipment and storage medium
CN106302384A (en) DNS message processing method and device
WO2024160193A1 (en) Cdn network request scheduling method and apparatus, electronic device, and storage medium
WO2018195803A1 (en) Packet processing method and related device
CN105791073B (en) A method and device for service deployment in a virtualized network
CN113037792B (en) A verification method, device and gateway for service identification parameters
US20180288612A1 (en) User equipment and method for protection of user privacy in communication networks
CN106899554A (en) A kind of method and device for preventing ARP from cheating
CN105991797A (en) Method and device for network access by mobile terminal
CN105763616A (en) Resource downloading method and device
CN111106945B (en) VNF instantiation method, device, equipment and storage medium
CN116436894A (en) Domain name policy configuration method, domain name policy matching method and related devices
CN107210996B (en) A business chain management method and device
CN107566211B (en) Method, device and system for accessing test equipment
CN113810510A (en) Domain name access method and device and electronic equipment
CN105897832A (en) Service data providing server, method and system
CN116708455B (en) Resource acquisition method and device, readable storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant