CN113037792B - Method, device and gateway for verifying service identification parameters - Google Patents

Method, device and gateway for verifying 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
characteristic 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

Abstract

The embodiment of the invention discloses a method, a device and a gateway for verifying service identification parameters, which aim to solve the problem of verifying the service identification parameters in the prior art. The verification method comprises the following steps: the gateway acquires historical data, wherein the historical data comprises historical service characteristic information and a historical service type identified according to the historical service characteristic information; the gateway matches the historical service characteristic information with the service identification parameters configured in the gateway, and determines the current service type corresponding to the historical service characteristic information according to the matching result; and the gateway compares the current service type with the historical service type and verifies whether the service identification parameters configured in the gateway change or not according to the comparison result.

Description

Method, device and gateway for verifying service identification parameters
Technical Field
The present invention relates to the field of data communications, and in particular, to a method, an apparatus, and a gateway for verifying a service identification parameter.
Background
In order to meet the increasingly rich diversified requirements of mobile internet Data services, a mobile Network operator needs to identify specific service types of different services through service identification parameters configured in a PGW (Packet Data Network Gateway). Therefore, the service identification parameter has an important influence on the accuracy of the identification result, and the service identification parameter needs to be verified, for example, whether the service identification parameter changes or whether the service identification parameter is configured accurately.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a gateway for verifying service identification parameters, which aim to solve the problem of verifying the service identification parameters in the prior art.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a method for verifying a service identification parameter according to an embodiment of the present invention includes:
the gateway acquires historical data, wherein the historical data comprises historical service characteristic information and a historical service type identified according to the historical service characteristic information;
the gateway matches the historical service characteristic information with the service identification parameters configured in the gateway, and determines the current service type corresponding to the historical service characteristic information according to the matching result;
and the gateway compares the current service type with the historical service type and verifies whether the service identification parameters configured in the gateway change or not according to the comparison result.
In a second aspect, a method for verifying a service identification parameter provided in an embodiment of the present invention includes:
the gateway receives standard service characteristic information and a standard service type matched with the standard service characteristic information;
the gateway determines a historical service type matched with the standard service characteristic information from historical data according to the standard service characteristic information, wherein the historical service type is obtained by identifying the historical service characteristic information based on a service identification parameter configured by the gateway history;
and the gateway compares the historical service type with the standard service type and verifies the accuracy of the service identification parameters configured by the gateway history according to the comparison result.
In a third aspect, an embodiment of the present invention provides a device for verifying a service identification parameter, including:
the historical data acquisition unit is used for acquiring historical data, and the historical data comprises historical service characteristic information and a historical service type identified according to the historical service characteristic information;
the matching unit is used for matching the historical service characteristic information with the service identification parameters configured in the gateway and determining the current service type corresponding to the historical service characteristic information according to the matching result;
and the verification unit is used for comparing the current service type with the historical service type and verifying whether the service identification parameters configured in the gateway change or not according to the comparison result.
In a fourth aspect, an embodiment of the present invention provides a device for verifying a service identification parameter, including:
the standard service characteristic information receiving unit is used for receiving standard service characteristic information and a standard service type matched with the standard service characteristic information;
a historical data query unit, configured to determine, according to the standard service feature information, a historical service type that matches the standard service feature information from historical data, where the historical service type is obtained by identifying historical service feature information based on a service identification parameter configured by a gateway history;
and the verification unit is used for comparing the historical service type with the standard service type and verifying the accuracy of the service identification parameters configured by the gateway history according to the comparison result.
In a fifth aspect, an embodiment of the present invention provides a gateway, including an apparatus for verifying the service identification parameter described in any foregoing.
By adopting at least one technical scheme provided by the embodiment of the invention, the historical data acquired by the gateway comprises the historical service characteristic information of the service type identified by the gateway, the historical service characteristic information is matched with the service identification parameter configured in the gateway, the obtained matching result is acquired based on the service identification parameter configured by the gateway, the current service type and the historical service type are compared, and the comparison result can represent whether the service identification parameter changes or not. Therefore, the historical data is used for verifying the service identification parameters, and the service identification parameters can be quickly and accurately verified.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a verification method for service identification parameters according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for verifying a service identification parameter according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for verifying a service identification parameter according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a method for verifying a service identification parameter according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a method for verifying a service identification parameter according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for verifying a service identification parameter according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a device for verifying a service identification parameter according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a device for verifying a service identification parameter according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a device for verifying a service identification parameter according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a gateway according to an embodiment of the present invention.
Detailed Description
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 drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
In order to solve the problem of verifying the service identification parameters configured in the gateway in the prior art, embodiments of the present invention provide 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), where a service identification parameter is configured in the PGW for performing service type matching, and as shown in fig. 1, when a terminal initiates a Data service access, the PGW receives a service Data Packet and identifies a service type.
Example 1
Embodiment 1 of the present invention provides a method for verifying a service identification parameter, as shown in fig. 2, including the following steps:
step 101, the gateway obtains historical data, wherein the historical data comprises historical service characteristic information and a historical service type identified according to the historical service characteristic information.
And 102, the gateway matches the historical service characteristic information with the service identification parameters configured in the gateway, and determines the current service type corresponding to the historical service characteristic information according to the matching result.
And 103, comparing the current service type with the historical service type by the gateway, and verifying whether the service identification parameter configured in the gateway changes or not according to the comparison result.
In step 101, the historical data includes historical service characteristic information and a historical service type identified according to the historical service characteristic information, that is, in the previous service identification process, the service characteristic information that successfully matches the service type is the historical service characteristic information, and the corresponding service type is the historical service type.
The historical data may include a preset number of pieces of historical service feature information of the service type that is newly matched, where the preset number may be set according to the complexity of service identification parameter configuration configured in the gateway and the requirement of accuracy of verification. If the number of the service identification parameters is large, the configuration is complex, and the requirement for the verification accuracy is high, the preset number can be set to be a small number, otherwise, if the number of the service identification parameters is small, the configuration is simple, and the requirement for the verification accuracy is low, the preset number can be set to be a large number.
The service characteristic information is characteristic information of the user service, such as the size of a data packet, time delay, a source IP address, a source port number, a URL, an application layer protocol type, and the like, and is obtained by analyzing a received service data packet by the gateway.
For the embodiment of the present invention, the service characteristic information may be a destination address of data service access, for example, an IP (Internet Protocol address) applied to an OSI third layer Protocol, or a URL (Uniform resource Locator) applied to an OSI seventh layer Protocol.
The service type can be a fox searching video, a Youkou video, a Tencent streaming media or a thunder downloading and the like.
For the embodiment of the present invention, the service type may be characterized by using a service identifier (service identification, abbreviated as SID).
For the embodiment of the present invention, in step 101, the history data obtained by the gateway may be as shown in table 1.
Historical traffic types Historical business feature information
1 IP02、URL03
2 IP13
3 URL-12-1、URL-12-2
In step 102, the service identification parameter configured in the gateway may include a plurality of policy entries, and each policy entry may include a service type, a matching condition of an IP or URL satisfied by the service type, and a priority of the policy entry.
The service type may be characterized by a service identifier (service identification, SID).
The matching condition of the IP met by the service type can be a continuous IP address segment, such as IP01-10, or a discontinuous independent IP address, such as 'IP 12, IP 20'. The matching condition of the URL met by the service type can be an independent complete URL, such as URL-12, or can be a plus sign to perform simulation matching of the URL.
The priority is a priority level set in the service identification parameter according to the implementation logic of the service identification, and the higher the priority level is, the smaller the priority value is, for example, the priority value is 1, and the highest priority level is usually used. When the gateway matches the service characteristic information with each policy entry in the service identification parameter, the matching is performed according to the sequence of the priorities from high to low, that is, the sequence of the priority values from small to large.
For the embodiment of the present invention, in step 102, the service identification parameter configured in the gateway may be as shown in table 2.
Priority level IP matching conditions URL matching conditions Service identification
1 IP01-10 URL01-10 1
2 IP-13 2
3 IP-14 URL-13 3
4 URL-14 4
After the gateway acquires the historical data, extracting historical service characteristic information in the historical data, matching the historical service characteristic data with service identification parameters configured in the gateway, sequentially matching with an IP (Internet protocol) matching condition and a URL (uniform resource locator) matching condition according to the descending order of priority values of all strategy items in the service identification parameters, and determining the current service type corresponding to the historical service characteristic information.
The current service type corresponding to the historical service feature information may be as shown in table 3.
Current class of serviceModel (II) Historical business feature information
1 IP02、URL03
2 IP13
3
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 with a changed service type as a comparison result, which may be shown in table 4.
Historical business feature information Historical traffic types Current type of service
URL-12-1 3 -
URL-12-2 3 -
And verifying whether the service identification parameters configured in the gateway change or not based on the comparison result.
It should be noted that, subsequently, according to the verification result, the service identification parameter configured in the gateway may also be adjusted. If the verification result shows that the service identification parameter configured in the gateway changes, the changed service identification parameter can be adjusted according to the comparison result.
In the method for verifying the service identification parameter provided by the embodiment of the present invention, the historical data acquired by the gateway includes all the service characteristic information of the service type identified by the gateway, the historical service characteristic information is matched with the service identification parameter configured in the gateway, the obtained matching result is acquired based on the currently configured service identification parameter, the corresponding historical service type is acquired based on the historically configured service identification parameter, the current service type and the historical service type are compared, and the comparison result can represent whether the service identification parameter changes. Therefore, the historical data is used for verifying the service identification parameters, and whether the service identification parameters change or not can be quickly and accurately verified.
Example 2
An embodiment 2 of the present invention provides a method for verifying a service identification parameter, where on the basis of embodiment 1 shown in fig. 2, in step 101, a gateway obtains historical data, and before the step, the following steps are further included as shown in fig. 3:
step 201, the gateway identifies the historical service characteristic information based on the service identification parameters configured in history to obtain the historical service type;
step 202, the gateway stores the historical service characteristic information and the historical service type.
In this embodiment, mainly describing the process of acquiring historical data, the gateway first needs to receive service characteristic information, which may be understood as the gateway receiving the service characteristic information of real-time service.
Generally speaking, a terminal sends a data service access request, and a gateway receives a data packet of the service access request, and parses the data packet to obtain service characteristic information. Therefore, the gateway receives the service characteristic information of the real-time service obtained by the gateway analysis, and the process is the actual working process of identifying the service type by the gateway.
In step 201, when the service identification parameter configured in the gateway in history can be understood as the received service characteristic information to perform service identification, the service identification parameter configured in the gateway may be as shown in table 5.
Priority level IP matching conditions URL matching conditions Service identification
1 IP01-10 URL01-10 1
2 IP-13 2
3 URL-12 3
The gateway matches the received service characteristic information with the service identification parameters configured in the history in the gateway, the gateway takes the service characteristic information of which the service type is successfully determined as the history service characteristic information, the gateway stores the history service characteristic information and the history service type corresponding to the history service characteristic information in real time, and the history service characteristic information can be used as history data to verify the service identification parameters subsequently.
Example 3
Embodiment 3 of the present invention provides a method for verifying a service identification parameter, where on the basis of embodiment 1 shown in fig. 2, step 101 is performed by a gateway to obtain historical data, and includes the following steps shown in fig. 4:
step 301, the gateway detects whether the service identification parameter configured in the gateway changes;
step 302, when detecting that the service identification parameter configured in the gateway is suspected to change, the gateway acquires historical data.
In step 301, the gateway monitors the service identification parameter configured in the gateway to determine whether it has changed. The change of the service identification parameter configured in the gateway can be newly added, deleted and changed.
The new addition of the service identification parameter may be understood as adding a new policy to the pre-stored service identification parameter, and configuring a service type for the new policy, a matching condition of an IP or URL that the service type satisfies, and a priority of an entry of the new policy.
The deletion of the service identification parameter may be understood as deleting one or several policies from the pre-stored service identification parameters.
The change of the service identification parameter may be understood as a change of the priority of one or more policies, for example, a change of the priority value from 2 to 3 in a policy, a change of the service type of one or more policies, for example, a change of the service identifier of one policy from 1 to 2, or a change of the matching condition of the IP or URL satisfied by the service type in one policy or a plurality of policies, for example, a change of the matching condition of the IP satisfied by the service type from IP01-10 to IP01-05 in a policy.
In step 302, when it is found during the detection that there is a suspected new policy, deletion policy, priority change, service type change, or a change of matching conditions of the IP or URL that the service type satisfies in the service identification parameters configured in the gateway, the gateway obtains the historical data.
It should be noted that, in the embodiment of the present invention, for the suspected deletion and suspected change service identification parameters, the gateway may obtain the historical data, and complete the verification of the service identification parameters based on the historical data. For the suspected newly added service identification parameter, that is, the newly added policy in the service identification parameter, when the gateway acquires the historical data, the gateway may also acquire the service characteristic information to be matched, which may include the service characteristic information satisfying the newly added service identification parameter.
It can be understood that, for the suspected deletion and suspected change service identification parameters, since the service characteristic information in the historical data is obtained for matching, and the historical service characteristic information in the historical data is successfully matched based on all strategies before deletion and before change, all the service identification parameters are verified; for the suspected newly added service identification parameter, the service feature information to be matched can include the service identification parameter meeting the suspected newly added service, so that the part of the service identification parameter is also verified. The service identification parameters which are suspected to change are verified by using the historical data, and whether the service identification parameters configured in the gateway change or not can be verified by comparing the matching results.
In addition, the gateway may also periodically acquire the historical data for verifying the service identification parameter configured in the gateway, and in a specific implementation, the historical data may be acquired at a predetermined time point every day for verification, such as 7:00, 15:00, and the like every day, or may be acquired periodically at a predetermined time interval, such as every 30 minutes, every 60 minutes, and the like.
It can be understood that the gateway periodically acquires the historical data to verify the service identification parameters configured in the gateway, and whether the service identification parameters configured in the gateway are changed or not can also be verified through comparison of matching results.
Example 4
Embodiment 4 of the present invention provides a method for verifying a service identification parameter, as shown in fig. 5, including the following steps:
step 401, the gateway receives standard service characteristic information and a standard service type matched with the standard service characteristic information;
step 402, the gateway determines a historical service type matched with the standard service characteristic information from historical data according to the standard service characteristic information, wherein the historical service type is obtained by identifying the historical service characteristic information based on a service identification parameter configured by the gateway history;
step 403, the gateway compares the historical service type with the standard service type, and verifies the accuracy of the service identification parameter configured by the gateway history according to the comparison result.
In step 401, the standard service characteristic information may be understood as standard verification data for verifying a certain policy or policies in the service identification parameters, and the standard service type corresponding to the standard service characteristic information is an accurate service type that is confirmed.
For the embodiments of the present invention, the standard service characteristic information may be a destination address of data service access, for example, IP (Internet Protocol address) applied to OSI layer three Protocol, or URL (Uniform resource Locator) applied to OSI layer seven Protocol.
The standard service characteristic information may be a single IP, a single URL, multiple IPs or multiple URLs, and when the standard service characteristic information is a single IP or a single URL, the standard service characteristic information may be used to verify whether a certain policy entry in the service identification parameter is correct, and when the standard service characteristic information is multiple IPs or multiple URLs, the standard service characteristic information may be used to verify whether several policy entries in the service identification parameter are correct.
For the embodiment of the present invention, the standard service type may be characterized by using a service identifier (service identification, abbreviated as SID).
The standard service characteristic information received by the gateway can be an IP or URL address with doubt, an IP or URL address selected according to a verification requirement, or an IP or URL address selected according to a service requirement of a third-party service server.
In step 401, the standard service type of the standard service feature information and the standard service feature information received by the gateway may be as shown in table 6.
Standard service type Standard service characteristic information
1 IP12
3 URL-13
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. The historical data comprises historical service characteristic information and a historical service type identified according to the historical service characteristic information, namely the service characteristic information of the service type successfully matched by the service identification parameters configured in the gateway in the previous service identification process of the gateway is the historical service characteristic information, and the corresponding service type is the historical service type.
The service identification parameters configured historically in the gateway can be as shown in table 7.
Priority level IP matching conditions URL matching conditions Service identification
1 IP11-20 URL11-20 1
2 IP-15 URL-13 2
3 IP-5 URL-14 3
The historical traffic type in the historical data may be the matching result identified based on the traffic identification parameter as in table 7, and in the embodiment of the present invention, the historical data may be as shown in table 8.
Historical traffic types Historical business feature information
1 IP12
2 URL-13
3 IP-5
3 URL-14
The gateway queries the standard service characteristic information IP12 and URL-13 in table 6 in the history data as in table 8, and can determine that the service type corresponding to the standard service characteristic information IP12 is 1 and the service type corresponding to the standard service characteristic information URL-13 is 2 in the history data. As shown in table 9.
Historical business feature information Historical traffic types Standard service type
IP12 1 1
URL-13 2 3
In step 403, the gateway compares the service type determined in the historical data with the standard service type, and takes the entry with the different historical service type and standard service type as the comparison result, which may be shown in table 10 in the embodiment of the present invention.
Historical business feature information Historical traffic types Target service type
URL-13 2 3
The comparison result may be understood that, in the service identification parameters configured in the history in the gateway corresponding to the historical service feature information, the policy entry shown in table 11 may be incorrectly configured.
Priority level IP matching conditions URL matching conditions Service identification
2 IP-15 URL-13 2
And the gateway completes the verification of the accuracy of the service identification parameters configured by the gateway history according to the comparison result.
According to the method for verifying the service identification parameters, provided by the embodiment of the invention, the gateway determines the service type corresponding to the standard service characteristic information in the historical data, compares the service type determined in the historical data with the standard service type, and verifies the service identification parameters configured in the historical manner by using the historical data, so that the error parameters in the service identification parameters configured in the historical manner can be efficiently determined, and the accuracy verification of the service identification parameters configured in the historical manner by the gateway can be realized.
Example 5
Embodiment 5 of the present invention provides a device for verifying a service identification parameter, as shown in fig. 6, including the following units:
a historical data obtaining unit 501, configured to obtain historical data, where the historical data includes historical service feature information and a historical service type identified according to the historical service feature information;
a matching unit 502, configured to match the historical service feature information with a service identification parameter configured in the gateway, and determine, according to a matching result, a current service type corresponding to the historical service feature information;
the verifying 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 changes according to the comparison result.
In the verification apparatus for service identification parameters provided in the embodiments 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, the historical service feature information is matched with the service identification parameters configured in the gateway, the obtained matching result is acquired based on the currently configured service identification parameter, and the corresponding historical service type is acquired based on the historically configured service identification parameter, the current service type and the historical service type are compared, and the comparison result can represent whether the service identification parameter changes. Therefore, the historical data is used for verifying the service identification parameters, and whether the service identification parameters change or not can be quickly and accurately verified.
Example 6
Embodiment 6 of the present invention provides a device for verifying a service identification parameter, where on the basis of embodiment 5 shown in fig. 6, the device further includes the following units shown in fig. 7:
a historical service type identifying unit 601, configured to identify historical service feature information based on a service identification parameter configured in history to obtain a historical service type;
a historical data storage unit 602, configured to store the historical service feature information and the historical service type.
Example 7
Embodiment 7 of the present invention provides a device for verifying a service identification parameter, where on the basis of embodiment 5 shown in fig. 6, the device further includes the following units shown in fig. 8:
a monitoring unit 701, configured to detect whether a service identification parameter configured in the gateway is suspected to change.
Example 8
An embodiment 8 of the present invention provides a device for verifying a service identification parameter, as shown in fig. 9, where the device includes the following units:
a standard service characteristic information receiving unit 801, configured to receive standard service characteristic information and a standard service type matched with the standard service characteristic information;
a historical data query unit 802, configured to determine, according to the standard service feature information, a historical service type that matches the standard service feature information from historical data, where the historical service type is obtained by identifying the historical service feature information based on a service identification parameter configured by a gateway history;
and 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 parameter configured by the gateway history according to the comparison result.
According to the verification device for the service identification parameters, provided by the embodiment of the invention, the gateway determines the service type corresponding to the standard service characteristic information in the historical data, compares the service type determined in the historical data with the standard service type, and verifies the service identification parameters configured in the historical manner in the gateway by using the historical data, so that the error parameters in the service identification parameters configured in the historical manner can be efficiently determined, and the verification of the accuracy of the service identification parameters configured in the historical manner in the gateway can be realized.
Example 9
An embodiment of the present invention further provides a gateway, where as shown in fig. 10, the hardware structure includes: a processor, a memory, a bus, and a transceiver; wherein, the first and the second end of the pipe are connected with each other,
the processor is used for acquiring historical data, wherein the historical data comprises historical service characteristic information and a historical service type identified according to the historical service characteristic information; matching the historical service characteristic information with the service identification parameters configured in the gateway, and determining the current service type corresponding to the historical service characteristic information according to the matching result; comparing the current service type with the historical service type, and verifying whether the service identification parameters configured in the gateway change or not according to the comparison result;
a transceiver for receiving service information; and sending the verification result;
and the memory is used for storing the service identification parameters configured in the gateway and historical data.
Example 10
An embodiment of the present invention further provides a gateway, including: a processor, a memory, a bus, and a transceiver; wherein, the first and the second end of the pipe are connected with each other,
the processor is used for determining a historical service type matched with the standard service characteristic information from historical data according to the standard service characteristic information, wherein the historical service type is obtained by identifying the historical service characteristic information based on a service identification parameter configured by gateway history; comparing the historical service type with the standard service type, and verifying the accuracy of the service identification parameters configured by the gateway history according to the comparison result;
the transceiver is used for receiving the standard service characteristic information and the standard service type matched with the standard service characteristic information; and, sending the verification result;
and the memory is used for storing the service identification parameters configured in the gateway and historical data.
The embodiment of the invention also provides a verification system of the service identification parameters, which comprises any gateway in the embodiment of the invention.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the above division of each functional module is only used for illustration, and in practical applications, the above function distribution may be performed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
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, and the like) having computer-usable program code embodied therein.
The present invention has been 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 of 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 a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
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, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. A method for verifying service identification parameters is characterized by comprising the following steps:
the gateway acquires historical data, wherein the historical data comprises historical service characteristic information and a historical service type identified according to the historical service characteristic information;
the gateway matches the historical service characteristic information with the service identification parameters configured in the gateway, and determines the current service type corresponding to the historical service characteristic information according to the matching result;
and the gateway compares the current service type with the historical service type and verifies whether the service identification parameters configured in the gateway change or not according to the comparison result.
2. The method of claim 1, wherein the method further comprises:
and adjusting the service identification parameters configured in the gateway according to the verification result.
3. The method of claim 1 or 2, wherein prior to the gateway obtaining the historical data, the method further comprises:
the gateway identifies the historical service characteristic information based on the service identification parameters configured by the history to obtain the historical service type;
and the gateway stores the historical service characteristic information and the historical service type.
4. The method of claim 1, wherein the gateway obtaining historical data specifically comprises:
when detecting that the service identification parameters configured in the gateway are suspected to change, the gateway acquires the historical data; or the like, or a combination thereof,
the gateway periodically obtains historical data.
5. A method for verifying service identification parameters is characterized by comprising the following steps:
the gateway receives standard service characteristic information and a standard service type matched with the standard service characteristic information;
the gateway determines a historical service type matched with the standard service characteristic information from historical data according to the standard service characteristic information, wherein the historical data comprises historical service characteristic information and a historical service type identified according to the historical service characteristic information, and the historical service type is obtained by identifying the historical service characteristic information based on a service identification parameter configured by the gateway history;
and the gateway compares the historical service type with the standard service type and verifies the accuracy of the service identification parameters configured by the gateway history according to the comparison result.
6. An apparatus for validating service identification parameters, comprising:
the historical data acquisition unit is used for acquiring historical data, and the historical data comprises historical service characteristic information and a historical service type identified according to the historical service characteristic information;
the matching unit is used for matching the historical service characteristic information with the service identification parameters configured in the gateway and determining the current service type corresponding to the historical service characteristic information according to the matching result;
and the verification unit is used for comparing the current service type with the historical service type and verifying whether the service identification parameters configured in the gateway change or not according to the comparison result.
7. The apparatus of claim 6, further comprising:
a historical service type identification unit, configured to identify the historical service characteristic information based on a service identification parameter configured in history to obtain the historical service type;
and the historical data storage unit is used for storing the historical service characteristic information and the historical service type.
8. The apparatus of claim 6 or 7, further comprising:
and the monitoring unit is used for detecting whether the service identification parameters configured in the gateway are suspected to change.
9. An apparatus for validating a service identification parameter, comprising:
the standard service characteristic information receiving unit is used for receiving standard service characteristic information and a standard service type matched with the standard service characteristic information;
a historical data query unit, configured to determine, according to the standard service feature information, a historical service type that matches the standard service feature information from historical data, where the historical data includes historical service feature information and a historical service type that is identified according to the historical service feature information, and the historical service type is obtained by identifying the historical service feature information based on a service identification parameter configured by a gateway history;
and the verification unit is used for comparing the historical service type with the standard service type and verifying the accuracy of the service identification parameters configured by the gateway history according to the comparison result.
10. A gateway, characterized in that it comprises verification means of the service identification parameters according to any one of claims 6 to 9.
CN201911344141.4A 2019-12-24 2019-12-24 Method, device and gateway for verifying 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 Method, device and gateway for verifying service identification parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911344141.4A CN113037792B (en) 2019-12-24 2019-12-24 Method, device and gateway for verifying 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 Method, device and gateway for verifying service identification parameters

Country Status (1)

Country Link
CN (1) CN113037792B (en)

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 中国移动通信集团广东有限公司 The regular changing process method and device of intelligent 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 中国移动通信集团广东有限公司 The regular changing process method and device of intelligent 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
CN108881448B (en) API request processing method and device
US10225145B2 (en) Method and device for updating client
CN110830564B (en) CDN scheduling method, device, system and computer readable storage medium
CN106874273B (en) Channel information statistical method, device and system
US20210314156A1 (en) Authentication method, content delivery network cdn, and content server
US11537751B2 (en) Using machine learning algorithm to ascertain network devices used with anonymous identifiers
WO2018001078A1 (en) Url matching method and device, and storage medium
CN104219230B (en) Identify method and the device of malicious websites
CN107404481B (en) User information recognition methods and device
CN109088909B (en) Service gray level publishing method and device based on merchant type
WO2015024476A1 (en) A method, server, and computer program product for managing ip address attributions
CN108449308A (en) Identify the method and device that malice resource accesses
CN112580730A (en) Terminal type identification method and device
CN108063685B (en) Log analysis method and device
EP3382981B1 (en) A user equipment and method for protection of user privacy in communication networks
US11599673B2 (en) Ascertaining network devices used with anonymous identifiers
CN107241347B (en) Advertisement traffic quality analysis method and device
CN113037792B (en) Method, device and gateway for verifying service identification parameters
CN113055420B (en) HTTPS service identification method and device and computing equipment
CN106803830B (en) Method, device and system for identifying internet access terminal and User Identity Module (UIM) card
CN109324914A (en) Service calling method, service call device and central server
CN110334909B (en) Risk management and control method, device and equipment
CN113452533B (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium
CN114048457A (en) Multi-platform user relationship creation method, device, system and storage medium
CN108306859B (en) Method, apparatus and computer-readable storage medium for limiting server access volume

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