CN109600726B - Flow classification control method, device, system, equipment and storage medium - Google Patents

Flow classification control method, device, system, equipment and storage medium Download PDF

Info

Publication number
CN109600726B
CN109600726B CN201811380853.7A CN201811380853A CN109600726B CN 109600726 B CN109600726 B CN 109600726B CN 201811380853 A CN201811380853 A CN 201811380853A CN 109600726 B CN109600726 B CN 109600726B
Authority
CN
China
Prior art keywords
application
application program
classification
instruction
mapping table
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
CN201811380853.7A
Other languages
Chinese (zh)
Other versions
CN109600726A (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.)
Zebra Network Technology Co Ltd
Original Assignee
Zebra Network Technology 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 Zebra Network Technology Co Ltd filed Critical Zebra Network Technology Co Ltd
Priority to CN201811380853.7A priority Critical patent/CN109600726B/en
Publication of CN109600726A publication Critical patent/CN109600726A/en
Application granted granted Critical
Publication of CN109600726B publication Critical patent/CN109600726B/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
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/58Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on statistics of usage or network monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/68Payment of value-added services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/82Criteria or parameters used for performing billing operations
    • H04M15/8214Data or packet based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a flow classification control method, a device, a system, equipment and a storage medium, wherein the method comprises the following steps: the public data network gateway extracts identification information from a user network request initiated by an application program; the public data network gateway determines the application type of the application program according to the identification information and the application program classification table; the public data network gateway obtains a start-stop instruction according to the application type of the application program and an instruction mapping table, wherein the instruction mapping table is a mapping table of the start-stop instruction and the application type, and the start-stop instruction is divided into a start instruction and a stop instruction; and when the start-stop instruction is a start-up instruction, the public data network gateway transmits a user network request, and the consumption flow corresponding to the user network request is counted into a first account on the charging server, wherein the first account is used for counting the consumption flow data of the application class to which the application program belongs. The invention uses the public data gateway to carry out classification control on the flow, the classification granularity is not limited by the name of the access point, and the classification granularity is finer.

Description

Flow classification control method, device, system, equipment and storage medium
Technical Field
The invention relates to the technical field of intelligent automobiles, in particular to a flow classification control method, a device, a system, equipment and a storage medium.
Background
With the development of intelligent networked automobiles, more and more networking applications will be widely installed on automobiles. The networking service requirements of various scenes and different characteristics are met for each vehicle, vehicle-mounted electronic equipment, driver, passenger and the like.
The traditional car traffic classification of the internet of vehicles is divided according to the Access Point Name (APN for short) of the operator network. FIG. 1 is a network topology diagram of a conventional Internet of vehicles traffic classification. As shown in fig. 1, an operator provides 2 or more APNs for an internet of vehicles, sets control switches for different APNs, and each APN has an independent charging mode and data flow control, and the data flow control of each APN is not affected. The APN is divided into a special APN and a public APN, wherein the special APN is a specific access point name APN of a Subscriber Identity Module (SIM) card of the vehicle networking, the internal network of the special APN is connected with public data network Gateway (PDN Gateway, PGW) equipment of a core network through a private line, the public APN is a shared access point name of the SIM card of the vehicle networking, and the internal network of the public APN is connected with PGW equipment of the core network through a public internet (with a fixed IP address), so that interconnection and intercommunication between the vehicle-mounted terminal and the internet are realized. The car networking car generally uses 2 APNs to access, and special APN is paid by the enterprise, and public APN is paid by the user for car entertainment, WIFI application and the like, so that the flow classification control is realized.
However, the existing traffic classification method controls a class traffic using one APN, so that the flow control granularity is limited by the number of APNs, resulting in that only coarse-granularity flow control can be achieved.
Disclosure of Invention
The invention provides a flow classification control method, a device, a system, equipment and a storage medium, and aims to solve the problem that the flow control granularity in the existing flow classification method is limited by the number of APNs, so that the flow control of coarse granularity can be realized only.
In a first aspect, the present invention provides a traffic classification control method, which is applied to a core network system, where the core network system includes: a public data network gateway, a classification server and a charging server; the method comprises the following steps: the public data network gateway extracts identification information from a user network request initiated by an application program; the public data network gateway determines the application type of the application program according to the identification information and the application program classification table, wherein the application program classification table is a mapping table of the identification information and the application type; the public data network gateway obtains a start-stop instruction according to the application type of the application program and an instruction mapping table, wherein the instruction mapping table is a mapping table of the start-stop instruction and the application type, and the start-stop instruction is divided into a start instruction and a stop instruction; and when the start-stop instruction is a start-up instruction, the public data network gateway transmits a user network request, and the consumption flow corresponding to the user network request is counted into a first account on the charging server, wherein the first account is used for counting the consumption flow data of the application class to which the application program belongs.
The invention provides a flow classification control method, which comprises the steps of configuring an application program classification table and an instruction mapping table to a public data network gateway, when an application program requests network connection through the public data network gateway, extracting identification information in a user network request by the public data network gateway, determining an application class to which the application program belongs according to the identification information and the application program classification table, obtaining a start-stop instruction by the public data network gateway according to the application class to which the application program belongs and the instruction mapping table, transmitting the user network request by the public data network gateway when the start-stop instruction is a start instruction, and counting consumption flow corresponding to the user network request into a first account on a charging server to realize consumption flow data statistics by the application class to which the application program belongs.
Optionally, the extracting, by the public data network gateway, the identification information from the user network request initiated by the application program specifically includes: carrying out deep data packet detection on a user network request to obtain a uniform resource locator and/or an internet protocol address of an application layer in a network seven-layer protocol; a uniform resource locator and/or an internet protocol address is used as the identification information.
In the traffic classification control method provided by the invention, the uniform resource locator and/or the internet protocol address of the application layer in the network seven-layer protocol in the user network request are detected and extracted through the deep data packet, the uniform resource locator and/or the internet protocol address are/is used as identification information to realize the identification of the type of the application program, and then the traffic classification control is further carried out according to the identification information to realize the consumption traffic data statistics by the application category to which the application program belongs.
Optionally, the instruction mapping table is obtained according to the remaining traffic data of the application category, and the remaining traffic data is obtained according to the consumption traffic data of the application category to which the application program belongs and the available traffic data counted by the charging server.
The invention provides a flow classification control method, which comprises the steps of obtaining residual flow data according to consumption flow data of an application class to which an application program belongs and available flow data counted by a charging server, obtaining an instruction mapping table according to the residual flow data of the application class, generating the instruction mapping table by using the residual flow data, determining whether to start a network request initiated by the application program, controlling the network request of the application program, and controlling the flow according to the application class to which the application program belongs.
In a second aspect, the present invention provides a traffic classification control method, which is applied to a core network system, where the core network system includes: a public data network gateway, a classification server and a charging server; the method comprises the following steps: the classification server generates an application program classification table according to the application classification information, wherein the application program classification table is a mapping table for extracting identification information of an application program and application categories from a user network request; the classification server generates an instruction mapping table according to the residual flow data of the application categories, wherein the instruction mapping table is a mapping relation between a start-stop instruction and the application categories, and the residual flow data are obtained according to consumption flow data of the application categories to which the application programs belong and available flow data counted by the charging server; the classification server sends the instruction mapping table and the application program classification table so that the public data network gateway determines the application type of the application program according to the identification information and the application program classification table; and then obtaining a start-stop instruction according to the application category to which the application program belongs and the instruction mapping table, when the start-stop instruction is the start instruction, transmitting a user network request by the public data network gateway, and recording the consumption flow corresponding to the user network request into a first account on the charging server, wherein the first account is used for counting the consumption flow data of the application category to which the application program belongs.
In the traffic classification control method provided by the invention, the classification server generates an application program classification table according to application classification information, generates an instruction mapping table according to the residual traffic data of the application classes, and sends the instruction mapping table and the application program classification table to the public data network gateway, so that the public data network gateway realizes the consumption traffic data statistics according to the identification information of the application program, the instruction mapping table and the application program classification table, wherein the application program belongs to the application classes.
Optionally, before the classification server generates the application classification table according to the application classification information, the method further includes: the classification server acquires application classification information in a preset period.
In the traffic classification control method provided by the invention, the classification server acquires the application classification information according to the preset period, and the classification server generates the application classification table according to the application classification information, so that the application classification table can be updated to adapt to traffic classification control strategies in different stages, the wireless access side data and the vehicle-mounted electronic equipment configuration of each province of the whole network do not need to be adjusted, and the classification scheme is more flexibly adjusted.
The following describes a public data network gateway, which implements the principles and technical effects similar to those of the above method, and is not described herein again.
In a third aspect, the present invention provides a public data network gateway, comprising: the extraction module is used for extracting the identification information from the user network request initiated by the application program; the determining module is used for determining the application category to which the application program belongs according to the identification information and the application program classification table, wherein the application program classification table is a mapping table of the identification information and the application category; the obtaining module is used for obtaining a start-stop instruction according to the application category to which the application program belongs and an instruction mapping table, wherein the instruction mapping table is a mapping table of the start-stop instruction and the application category, and the start-stop instruction is divided into a start instruction and a stop instruction; and the charging module is used for transmitting the user network request by the public data network gateway when the start-stop instruction is the start instruction, and charging the consumption flow corresponding to the user network request into a first account on the charging server, wherein the first account is used for counting the consumption flow data of the application category to which the application program belongs.
Optionally, the extraction module specifically includes: carrying out deep data packet detection on a user network request to obtain a uniform resource locator and/or an internet protocol address of an application layer in a network seven-layer protocol; a uniform resource locator and/or an internet protocol address is used as the identification information.
Optionally, the instruction mapping table is obtained according to the remaining traffic data of the application category, and the remaining traffic data is obtained according to the consumption traffic data of the application category to which the application program belongs and the available traffic data counted by the charging server.
The following describes the classification server, and the implementation principle and technical effect thereof are similar to those of the above method, and are not described herein again.
In a fourth aspect, the present invention provides a classification server, including: the generation module is used for generating an application program classification table according to the application classification information, wherein the application program classification table is a mapping table for extracting identification information and application categories of application programs from the user network request; the generating module is further used for generating an instruction mapping table according to the residual flow data of the application categories, wherein the instruction mapping table is a mapping relation between the start-stop instruction and the application categories, and the residual flow data are obtained according to the consumption flow data of the application categories to which the application programs belong and the available flow data counted by the charging server; the sending module is used for sending the instruction mapping table and the application program classification table so that the public data network gateway determines the application type of the application program according to the identification information and the application program classification table; and then obtaining a start-stop instruction according to the application category to which the application program belongs and the instruction mapping table, when the start-stop instruction is the start instruction, transmitting a user network request by the public data network gateway, and recording the consumption flow corresponding to the user network request into a first account on the charging server, wherein the first account is used for counting the consumption flow data of the application category to which the application program belongs.
Optionally, the classification server further comprises: and the updating module is used for acquiring the application classification information according to a preset period.
The core network system is described below, and the implementation principle and technical effect thereof are similar to those of the above method, and are not described herein again.
In a fifth aspect, the present invention provides a core network system, including: a public data network gateway according to the third aspect, a classification server and a charging server according to the fourth aspect; the public data network gateway is in communication connection with the classification server, and the classification server is in communication connection with the charging server.
In a sixth aspect, the present invention provides an electronic device, comprising: at least one processor and memory; wherein the memory stores computer execution instructions; the at least one processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform the method for traffic classification control according to the first aspect and its alternatives.
In a seventh aspect, the present invention provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions, the method for controlling flow classification according to the first aspect and its optional aspects is implemented.
The invention provides a flow classification control method, a device, a system, a device and a storage medium, in the flow classification control method, a classification server sends an application program classification table and an instruction mapping table to a public data network gateway, so that the public data network gateway completes the configuration of the application program classification table and the instruction mapping table, when an application program requests network connection through the public data network gateway, the public data network gateway extracts identification information in a user network request, determines an application class to which the application program belongs according to the identification information and the application program classification table, the public data network gateway obtains a start-stop instruction according to the application class to which the application program belongs and the instruction mapping table, when the start-stop instruction is a start-up instruction, the public data network gateway transmits the user network request and counts consumption flow corresponding to the user network request into a first account on a charging server, the first account is used for counting consumption flow data of an application category to which the application program belongs, the charging server obtains residual flow data according to the consumption flow data of the application category to which the application program belongs and available flow data, and sends the residual flow data to the classification server, so that the classification server updates the instruction mapping table according to the residual flow data of the application category, consumption flow data counting is performed according to the application category to which the application program belongs, classification level granularity is higher, and classification quantity is richer.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of 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 block diagram of a flow classification control system according to an exemplary embodiment of the present invention;
FIG. 2 is an interactive schematic diagram illustrating a traffic classification control method according to an exemplary embodiment of the present invention;
FIG. 3 is a block diagram illustrating a public data network gateway in accordance with an exemplary embodiment of the present invention;
FIG. 4 is a block diagram illustrating a classification server according to an exemplary embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms used are explained below:
DPI: deep packet inspection (Deep packet inspection) refers to a network technology, and a general network device only views an ethernet header and an IP header, but does not analyze contents in TCP/UDP, and the network technology is called shallow packet inspection; the corresponding DPI checks the content in the TCP/UDP, so called deep packet inspection, performs deep inspection on different network application layer payloads (e.g. HTTP, DNS, etc.), and determines the validity of the packet by inspecting the payload of the packet.
URL: a Uniform Resource Locator (Uniform Resource Locator), a compact representation of the location and access method of a Resource available from the internet, is the address of a standard Resource on the internet.
IP address: internet Protocol Address (Internet Protocol Address) refers to a uniform Address format provided by IP Protocol, and it allocates a logical Address to each network and each host on the Internet, so as to mask the difference of physical addresses.
The invention provides a flow classification control method, and aims to solve the problem that the flow control granularity in the existing flow classification method is limited by the number of APNs, so that the flow control of coarse granularity can be realized only.
Fig. 1 is a schematic structural diagram of a flow classification control system according to an exemplary embodiment of the present invention. As shown in fig. 1, the traffic classification control system includes a public data network gateway 100, a classification server 200, and a billing server 300. The public data network gateway 100 is in communication connection with the classification server 200, and the classification server 200 is in communication connection with the billing server 300.
When the traffic classification control system operates, the billing server 300 obtains remaining traffic data according to the current consumption traffic data of the application class and the available traffic data, and transmits the remaining traffic data to the classification server 200. The classification server 200 generates an instruction mapping table according to the remaining traffic data, and transmits the instruction mapping table to the public data network gateway 100. In addition, the classification server 200 generates an application classification table according to the application classification information, and sends the application classification table to the public data network gateway 100, so that the public data network gateway 100 completes the configuration of the application classification table and the instruction mapping table.
When an application program located on the vehicle-mounted terminal 500 initiates a network request to the public data network gateway 100 through the base station 400, the public data network gateway 100 extracts the identification information in the user network request, and finds out an application class corresponding to the identification information of the user network request from the application program classification table to determine the application class to which the application program belongs. And the public data network gateway finds out the start-stop command corresponding to the application program from the command mapping table. And when the start-stop instruction is a start-up instruction, the public data network gateway transmits a user network request, and the consumption flow corresponding to the user network request is counted into a first account on the charging server, wherein the first account is a charging account arranged on the charging server 300 and is used for counting the consumption flow data of the application type to which the application program belongs, so that the consumption flow data counting is realized according to the application type to which the application program belongs.
Fig. 2 is an interaction diagram illustrating a traffic classification control method according to an exemplary embodiment of the present invention. As shown in fig. 2, the traffic classification control method provided in this embodiment includes:
s101, the classification server sends an application program classification table and an instruction mapping table to a public data network gateway.
More specifically, the application classification table is a mapping table of identification information of the application and the application category, and the instruction mapping table is a mapping table of the start-stop instruction and the application category. The classification server acquires application classification information according to a preset period, and generates an application program classification table according to the classification information input by a user. And if the application categories are newly added in the application program classification table, sending the newly added application categories to the charging server, and ordering package flow of the newly added application categories to the charging server by the payment main body through the client server.
For example: the method comprises the steps of obtaining classification information input by a user, and classifying application programs into a map navigation class, a multimedia entertainment application class, a map file updating class, a mobile terminal Over the Air software upgrading class (FOTA for short), an anti-theft tracking class, a remote vehicle condition information acquisition class, a remote vehicle control class and a key exchange class. Applications such as a high-grade map and a Baidu map are classified into a map navigation class. Applications such as Ali music, Himalayan, etc. are categorized into a multimedia entertainment application class. Various vehicle-mounted application programs access to an operator network through a vehicle-mounted Subscriber Identity Module (SIM for short).
S102, the public data network gateway extracts identification information from a user network request initiated by an application program.
More specifically, the application initiates a network request and sends the network request to the public data network gateway, which extracts identification information from the network request for identifying the application class of the application.
As a specific implementation way for extracting the identification information in the network application request, the public data network gateway performs deep data packet detection on the user network request to obtain a uniform resource locator and/or an internet protocol address of an application layer in a network seven-layer protocol; and a uniform resource locator and/or an internet protocol address as the identification information.
For example: a map navigation application initiates a network request identifying that the URL of the navigation application's traffic access is ". zeroed.com/router/" and the IP address is "119.120.00.101".
S103, the public data network gateway determines the application type of the application program according to the identification information and the application program classification table.
More specifically, the application classification table represents the identification information of the application and a mapping table of the application category, and the application classification information corresponding to the identification information of the application is found from the application classification table. And if the uniform resource locator and/or the Internet protocol address are/is used as the identification information, finding the application type corresponding to the URL and/or the Internet protocol address of the application program.
For example: the URL of a certain map navigation application program is 'fixed.com/router/', the IP address is '119.120.00.101', the URL and the IP address are used as identification information of the application program, and the application category corresponding to the URL and the IP address of the certain map navigation application program is found from the application program classification table to be a map navigation category.
And S104, the public data network gateway obtains the start-stop instruction according to the application type of the application program and the instruction mapping table.
More specifically, the instruction mapping table is a mapping table of start-stop instructions and application categories, wherein the start-stop instructions are divided into start instructions and stop instructions. And the public data network gateway finds the start-stop instruction corresponding to the application class to which the application program belongs from the instruction mapping table.
For example: and the map navigation application program initiates a network request, after the network request is identified, the map navigation application program belongs to a map navigation class, if the residual flow of the map navigation class is not zero, the start-stop instruction corresponding to the map navigation class in the instruction mapping table is a start instruction, and if the residual flow of the map navigation class is zero, the start-stop instruction corresponding to the map navigation class in the instruction mapping table is a stop instruction.
And S105, judging whether the start-stop instruction is a stop instruction, if so, entering S106, and otherwise, entering S107.
And S106, the public data network gateway prevents the user network request.
More specifically, when the start-stop instruction is a stop instruction, the remaining flow of the application class corresponding to the application program is zero, the public data network gateway prevents the user network request and the user network request from failing, and sends network request failure information and a reason of the network request failure to the vehicle-mounted terminal where the application program is located.
And S107, the public data network gateway transmits the user network request.
More specifically, when the start-stop instruction is a start-up instruction, the remaining flow of the application class corresponding to the application program is not zero, and the public data network gateway releases a universal subscriber network request.
And S108, the public data network gateway sends the consumption flow corresponding to the user network request to the charging server.
More specifically, after the public data network gateway puts the general user network request, the consumption traffic corresponding to the user network request is sent to the charging server, so that the charging server credits the consumption traffic corresponding to the user network request into the first account. The first account is used for counting consumption flow data of an application class to which the application program belongs.
For example: and if the start-stop instruction corresponding to a certain map navigation application program is a start instruction, the map navigation application program is put through, the flow consumed by the map navigation application program is sent to the charging server, and the charging server counts the flow consumed by the map navigation application program into the flow account corresponding to the map navigation class so as to update the flow account corresponding to the map navigation class.
And S109, the charging server counts the consumption flow corresponding to the user network request into the first account.
More specifically, after receiving the consumption traffic corresponding to the user network request initiated by the application program, the charging server counts the consumption traffic corresponding to the user network request into the first account, so as to update the consumption traffic in the first account.
And S110, the charging server obtains the residual flow data according to the current consumption flow data of the application category and the available flow data.
More specifically, in an initial state of the traffic classification control, a user orders traffic packages of different application categories to an operator, and the traffic packages ordered by the user are available traffic data. And obtaining the residual flow data according to the consumed flow data and the available flow data of the application category of the historical statistics. In a non-initial state of the traffic classification control, the traffic packages of the application category are already consumed, and the available traffic data deducts the amount already consumed by the application category for the traffic packages ordered by the user.
The user initiates package ordering requests of different application types to client servers deployed at the vehicle enterprises or the vehicle networking service provider system side. The user includes: vehicle enterprises, car networking service providers, car owners, and other payment subjects. The client server converges the received package ordering requests with different application flows and orders the package ordering requests to a charging server of an operator; and receiving bills of various payment subjects sent by the billing server.
For example: the flow package of map navigation class ordered by the user is 100M/month, the vehicle owner pays per month for use, in the initial state of flow classification control, the flow data available in the month is 100M, the current use flow of a certain navigation application program is 20M, and the residual flow data in the month is 80M. When a certain navigation application program requests to access the network again, the available flow data in the month is 80M, the current use flow of the certain navigation application program is 30M, and the residual flow data in the month is 50M.
And S111, the charging server sends the residual flow data.
And S112, the classification server generates an instruction mapping table according to the residual flow data.
More specifically, the classification server receives the residual traffic data of the application category sent by the charging server, and determines whether the residual traffic data of the application category is zero, if so, the start-stop instruction of the application category is a stop instruction, and if not, the start-stop instruction of the application category is a start instruction.
For example: when the residual flow data of the map navigation class is zero, the network request of a certain navigation application program is closed, and when the payment main body orders a new flow package of the map navigation class to the charging server, the network request of the certain navigation application program is opened when the residual flow data of the map navigation class is not zero.
S113, the classification server sends the instruction mapping table to a public data network gateway.
More specifically, after receiving the instruction mapping table, the public data network gateway determines whether to put through the current network request according to the instruction mapping table, so as to realize the classified control of the flow.
In the traffic classification control method provided by this embodiment, a public data network gateway obtains an application classification table and an instruction mapping table, when an application requests network connection through the public data network gateway, the public data network gateway extracts identification information in a user network request, determines an application class to which the application belongs according to the identification information and the application classification table, and then obtains a start-stop instruction of the application according to the application class to which the application belongs and the instruction mapping table, when the start-stop instruction is a start-up instruction, the public data network gateway transmits the user network request, and charges the consumption traffic corresponding to the user network request by the application class, so that a charging server obtains the remaining traffic data according to the consumption traffic data of the application class to which the application belongs and the available traffic data, so that the classification server updates the instruction mapping table according to the received remaining traffic data of the application class, and the consumption flow data statistics is carried out according to the application class to which the application program belongs.
Fig. 3 is a schematic structural diagram of a public data network gateway according to an exemplary embodiment of the present invention. As shown in fig. 3, the public data network gateway provided in this embodiment includes: an extraction module 101, configured to extract identification information from a user network request initiated by an application program; the determining module 102 is configured to determine an application category to which the application program belongs according to the identification information and an application program classification table, where the application program classification table is a mapping table of the identification information and the application category; the obtaining module 103 is configured to obtain a start-stop instruction according to an application category to which an application program belongs and an instruction mapping table, where the instruction mapping table is a mapping table of the start-stop instruction and the application category, and the start-stop instruction is divided into a start instruction and a stop instruction; and the accounting module 104 is configured to, when the start-stop instruction is the start instruction, transmit a user network request by the public data network gateway, and account consumption traffic corresponding to the user network request into a first account on the charging server, where the first account is used to count consumption traffic data of an application class to which the application program belongs.
Optionally, the extracting module 101 specifically includes: carrying out deep data packet detection on a user network request to obtain a uniform resource locator and/or an internet protocol address of an application layer in a network seven-layer protocol; a uniform resource locator and/or an internet protocol address is used as the identification information.
Optionally, the instruction mapping table is obtained according to the remaining traffic data of the application category, and the remaining traffic data is obtained according to the consumption traffic data of the application category to which the application program belongs and the available traffic data counted by the charging server.
Fig. 4 is a schematic structural diagram of a classification server according to an exemplary embodiment of the present invention. As shown in fig. 4, the present embodiment provides a classification server, including: a generating module 201, configured to generate an application classification table according to the application classification information, where the application classification table is a mapping table for extracting identification information of an application and an application category from a user network request; the generating module 201 is further configured to generate an instruction mapping table according to the remaining traffic data of the application category, where the instruction mapping table is a mapping relationship between the start-stop instruction and the application category, and the remaining traffic data is obtained according to the consumption traffic data of the application category to which the application program belongs and the available traffic data counted by the charging server; a sending module 202, configured to send the instruction mapping table and the application classification table, so that the public data network gateway determines, according to the identification information and the application classification table, an application category to which the application belongs; and then obtaining a start-stop instruction according to the application category to which the application program belongs and the instruction mapping table, when the start-stop instruction is the start instruction, transmitting a user network request by the public data network gateway, and recording the consumption flow corresponding to the user network request into a first account on the charging server, wherein the first account is used for counting the consumption flow data of the application category to which the application program belongs.
Optionally, the classification server further comprises: and the updating module is used for acquiring the application classification information according to a preset period.
Fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present invention. As shown in fig. 5, the electronic device 400 of the present embodiment includes: a processor 401 and a memory 402, wherein,
a memory 402 for storing computer-executable instructions;
the processor 401 is configured to execute the computer-executable instructions stored in the memory to implement the steps performed by the receiving device in the above embodiments. Reference may be made in particular to the description relating to the method embodiments described above.
Optionally, the memory 402 may be separate or integrated with the processor 401.
When the memory 402 is separately provided, the flow control device 400 further includes a bus 403 for connecting the memory 402 and the processor 401.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the method for controlling traffic classification as described above is implemented.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A traffic classification control method, applied to a core network system, the core network system including: a public data network gateway, a classification server and a charging server; the method comprises the following steps:
the public data network gateway extracts identification information of an application program from a user network request initiated by the application program, wherein the user network request is initiated to the public data network gateway by the application program on a vehicle-mounted terminal through a base station;
the public data network gateway determines the application category to which the application program belongs according to the identification information and an application program classification table, wherein the application program classification table is a mapping table of the identification information and the application category;
the public data network gateway obtains a start-stop instruction according to the application category to which the application program belongs and an instruction mapping table, wherein the instruction mapping table is a mapping table of the start-stop instruction and the application category, and the start-stop instruction is divided into a start instruction and a stop instruction;
when the start-stop instruction is the start-up instruction, the public data network gateway transmits the user network request and sends the consumption flow corresponding to the user network request to a charging server, so that the charging server counts a first account into which the consumption flow corresponding to the user network request is recorded, and the first account is used for counting the consumption flow data of the application class to which the application program belongs;
the instruction mapping table is obtained according to the residual flow data of the application category, and the residual flow data is obtained according to the consumption flow data of the application category to which the application program belongs and the available flow data counted by the charging server.
2. The method according to claim 1, wherein the extracting, by the public data network gateway, the identification information of the application program from the user network request initiated by the application program specifically comprises:
carrying out deep data packet detection on the user network request to obtain a uniform resource locator and/or an internet protocol address of an application layer in a network seven-layer protocol;
and using the uniform resource locator and/or the Internet protocol address as the identification information.
3. A traffic classification control method, applied to a core network system, the core network system including: a public data network gateway, a classification server and a charging server; the method comprises the following steps:
the classification server generates an application program classification table according to the application classification information, wherein the application program classification table is a mapping table for extracting identification information and application categories of application programs from user network requests;
the classification server generates an instruction mapping table according to the residual flow data of the application category, wherein the instruction mapping table is a mapping relation between a start-stop instruction and the application category, and the residual flow data is obtained according to the consumption flow data of the application category to which the application program belongs and available flow data counted by the charging server;
the classification server sends the instruction mapping table and the application program classification table so that the public data network gateway determines the application category to which the application program belongs according to the identification information and the application program classification table; then obtaining a start-stop instruction according to the application category to which the application program belongs and an instruction mapping table, when the start-stop instruction is a start-up instruction, transmitting the user network request by the public data network gateway, sending the consumption flow corresponding to the user network request to a charging server, and charging the consumption flow corresponding to the user network request into a first account on the charging server, wherein the first account is used for counting the consumption flow data of the application category to which the application program belongs;
the user network request is initiated to the public data network gateway by an application program on the vehicle-mounted terminal through the base station.
4. The method of claim 3, further comprising, before the classification server generates the application classification table based on the application classification information:
the classification server acquires application classification information in a preset period.
5. A public data network gateway, comprising:
the system comprises an extraction module, a public data network gateway and a service module, wherein the extraction module is used for extracting identification information of an application program from a user network request initiated by the application program, and the user network request is initiated to the public data network gateway by the application program on a vehicle-mounted terminal through a base station;
the determining module is used for determining the application category to which the application program belongs according to the identification information and an application program classification table, wherein the application program classification table is a mapping table of the identification information and the application category;
the obtaining module is used for obtaining a start-stop instruction according to the application category to which the application program belongs and an instruction mapping table, wherein the instruction mapping table is a mapping table of the start-stop instruction and the application category, and the start-stop instruction is divided into a start instruction and a stop instruction;
the charging module is used for transmitting the user network request by the public data network gateway and sending the consumption flow corresponding to the user network request to a charging server when the start-stop instruction is the start-up instruction, so that the charging server charges the consumption flow corresponding to the user network request into a first account, and the first account is used for counting the consumption flow data of the application category to which the application program belongs;
the instruction mapping table is obtained according to the residual flow data of the application category, and the residual flow data is obtained according to the consumption flow data of the application category to which the application program belongs and the available flow data counted by the charging server.
6. A classification server, comprising:
the generation module is used for generating an application program classification table according to the application classification information, wherein the application program classification table is a mapping table for extracting identification information and application categories of application programs from a user network request;
the generation module is further configured to generate an instruction mapping table according to the remaining traffic data of the application category, where the instruction mapping table is a mapping relationship between a start-stop instruction and the application category, and the remaining traffic data is obtained according to the consumption traffic data of the application category to which the application program belongs and the available traffic data counted by the charging server;
a sending module, configured to send the instruction mapping table and the application classification table, so that the public data network gateway determines, according to the identification information and the application classification table, an application category to which the application program belongs; then obtaining a start-stop instruction according to the application category to which the application program belongs and an instruction mapping table, when the start-stop instruction is a start instruction, transmitting the user network request by the public data network gateway, and sending consumption flow corresponding to the user network request to the charging server, so that the charging server counts a first account into which the consumption flow corresponding to the user network request is added, wherein the first account is used for counting consumption flow data of the application category to which the application program belongs;
the user network request is initiated to the public data network gateway by an application program on the vehicle-mounted terminal through the base station.
7. A core network system, comprising: the public data network gateway of claim 5, the classification server and the billing server of claim 6;
the public data network gateway is in communication connection with the classification server, and the classification server is in communication connection with the charging server.
8. An electronic device, comprising: at least one processor and memory;
wherein the memory stores computer-executable instructions;
the at least one processor executing the memory-stored computer-executable instructions cause the at least one processor to perform the flow classification control method of claim 1 or 2.
9. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, implement the flow classification control method according to claim 1 or 2.
CN201811380853.7A 2018-11-20 2018-11-20 Flow classification control method, device, system, equipment and storage medium Active CN109600726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811380853.7A CN109600726B (en) 2018-11-20 2018-11-20 Flow classification control method, device, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811380853.7A CN109600726B (en) 2018-11-20 2018-11-20 Flow classification control method, device, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109600726A CN109600726A (en) 2019-04-09
CN109600726B true CN109600726B (en) 2021-05-04

Family

ID=65959762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811380853.7A Active CN109600726B (en) 2018-11-20 2018-11-20 Flow classification control method, device, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109600726B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3965366A1 (en) * 2020-09-07 2022-03-09 Volkswagen Ag Method and system for analyzing a data exchange
CN112291744B (en) * 2020-10-23 2023-09-15 广州小鹏汽车科技有限公司 Vehicle-mounted program network connection method and device
CN112653735A (en) * 2020-12-11 2021-04-13 广州橙行智动汽车科技有限公司 Vehicle-mounted application data transmission method and device and vehicle
CN112804163B (en) * 2021-03-19 2021-07-27 智道网联科技(北京)有限公司 Flow data processing method, device and equipment
JP7367092B2 (en) 2022-02-15 2023-10-23 本田技研工業株式会社 Communication control device and communication control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021072A (en) * 2016-05-05 2016-10-12 北京小米移动软件有限公司 Information display method and device
CN108093466A (en) * 2017-12-14 2018-05-29 维沃移动通信有限公司 A kind of method, mobile terminal and server for controlling network switching

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394827A (en) * 2011-11-09 2012-03-28 浙江万里学院 Hierarchical classification method for internet flow
CN103796186B (en) * 2012-10-30 2017-11-28 中国电信股份有限公司 Communication flows statistical method and mobile terminal desktop system based on application
CN105282052B (en) * 2014-06-19 2020-08-07 西安中兴新软件有限责任公司 Method and device for allocating bandwidth based on user application service
US10244032B2 (en) * 2015-06-04 2019-03-26 Juniper Networks, Inc. Reducing application detection notification traffic
CN104902452B (en) * 2015-06-30 2019-05-31 北京奇虎科技有限公司 A kind of method and mobile terminal for mobile terminal network visiting
US10271244B2 (en) * 2015-12-22 2019-04-23 Sandvine Corporation System and method for managing traffic detection
CN106385386B (en) * 2016-08-31 2019-04-12 成都飞鱼星科技股份有限公司 Using servo-actuated smart flow control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021072A (en) * 2016-05-05 2016-10-12 北京小米移动软件有限公司 Information display method and device
CN108093466A (en) * 2017-12-14 2018-05-29 维沃移动通信有限公司 A kind of method, mobile terminal and server for controlling network switching

Also Published As

Publication number Publication date
CN109600726A (en) 2019-04-09

Similar Documents

Publication Publication Date Title
CN109600726B (en) Flow classification control method, device, system, equipment and storage medium
CN103385012A (en) Methods, systems, and computer readable media for modifying a Diameter signaling message directed to a charging function node
CN105828310B (en) Charging method, device and system for data service
WO2008039036A1 (en) Apparatus and method for interfacing in a communication system
US20150003299A1 (en) Method and apparatus for performing charging control to a sponsored data application
WO2006111095A1 (en) A charging network , charging agent apparatus as well and the charging method thereof
CN111052677B (en) Method for charging data of an application routed on a slice of a communication network
CN101188505B (en) content type recognition method and device
WO2018000992A1 (en) Traffic monitoring processing method, and related apparatus and system
EP1976179A1 (en) A method for wireless access to the internet for the pre-paid customer
CN109286506B (en) Method, system and device for charging flow
CN104168553A (en) Sending and charging method and device for service messages
CN106658454B (en) Online charging method and system for roaming data service and PGW
CN113055835B (en) Vehicle-mounted application traffic processing method, device and system
WO2016078090A1 (en) Charging control device, method and system
CN108428361A (en) Parking lot charging parking position querying method, system and storage medium
CN102395117B (en) Method and device for identifying content type
CN102868539A (en) Method and system for managing nationwide billing identification gateways
CN105827425B (en) Network control method and device
KR102436888B1 (en) Methods to enable flexible charging at the M2M IOT service layer
CN108270808B (en) Method, device and system for realizing application detection and control
CN115527391A (en) White list-based vehicle passing method, system and medium
CN109525682A (en) Method for processing business, device, network element entity and computer readable storage medium
CN103686719A (en) Method and system for determining bearer control policy
CN109995540B (en) Charging method, system, equipment and medium for event value-added service

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