Business traffic control method, system, DPI node and storage medium
By obtaining the user IP and account information of the user terminal in the DPI node and establishing association with the policy control network element, a traffic control strategy is formed, which solves the problem of policy synchronization between different access networks and realizes unified control and strategy of user service traffic synchronous.
Patent Information
- Application Number
- CN202111365518.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-17
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-11-17
AI Technical Summary
The existing technology is difficult to achieve the synchronization and unified management of business policies for 4G, 5G users and fixed network broadband users, resulting in users being unable to meet policy synchronization requirements when accessing different networks and being unable to perform unified policy management for users.
By obtaining the user IP and account information of the user terminal in the DPI node, establishing the association relationship between the IP and the account, and sending the account information to the policy control network element, obtaining the traffic control strategy, and forming the association relationship between the user IP and the account and the traffic policy. , realize unified control of user business traffic.
It realizes ubiquitous unified control of business strategies based on user accounts, solves the problem of policy synchronization between different access networks, and realizes refined management of user service traffic.
Smart Images

Figure CN114079971B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a communication technology and provides a service traffic control method, system, DPI (Deep Packet Inspection) node and computer-readable storage medium. Background Art
[0002] Currently, operators deploy independent DPI traffic control systems on different access networks to implement popular services for 4G users, 5G users and fixed-line broadband users. The key point of service implementation lies in account information backtracking. Data flow and user identity information need to be associated in real time. Users accessing through different access networks can perform unified and refined user behavior control based on IP traffic. However, the service policy mechanisms between network systems are independent of each other. When users access through different access networks, due to different IP addresses, the policy synchronization requirements cannot be met, and unified policy management of users cannot be performed. Summary of the invention
[0003] The purpose of this application is to provide a business traffic control method, system, DPI node and computer-readable storage medium to achieve ubiquitous unified control of business policies based on user accounts.
[0004] The present application proposes a service traffic control method, which is applied to a DPI node, including: when a user terminal accesses the network, obtaining the user IP and user account information of the user terminal, and establishing an association relationship between the user IP and the user account information; sending the user account information to a policy control network element, so that the policy control network element associates the user account information with a mapping list, and obtains an association relationship between the user account information and the traffic control policy; receiving the traffic control policy associated with the user account information sent by the policy control network element, forming an association relationship between the user IP, the user account information and the traffic control policy, so as to control the service traffic of the user terminal.
[0005] Furthermore, the acquiring of the account information of the user terminal includes: receiving an authentication message that is mirrored and synchronized with the authentication server and interacts with the user terminal, and extracting the user IP and user account information from the authentication message.
[0006] Furthermore, after the association relationship between the user IP, user account information and traffic control strategy is formed, it includes: when the business traffic of the user terminal is detected to enter, the user IP of the user terminal is obtained, and the corresponding traffic control strategy is determined through the association relationship between the user IP and the user account information, and the association relationship between the user account information and the control strategy; the business traffic of the user terminal is controlled according to the traffic control strategy.
[0007] Furthermore, the traffic management strategy includes different sub-traffic control strategies corresponding to business traffic of different business types, and controlling the business traffic of the user terminal according to the traffic control strategy includes: identifying the business type of the business traffic of the user terminal; associating the corresponding sub-traffic control strategy according to the business type of the business traffic, and controlling the business traffic of the user terminal according to the sub-traffic control strategy.
[0008] Furthermore, the user identity corresponding to the account information is a subordinate user identity of a government and enterprise user, the traffic control strategy includes a sub-traffic control strategy corresponding to the subordinate user identity, and the controlling of the business traffic of the user terminal according to the traffic control strategy includes: monitoring the business traffic corresponding to the subordinate users of the enterprise user to determine the network behavior of the subordinate users; and controlling the business traffic of the user terminal corresponding to the subordinate users according to the network behavior of the subordinate users and the sub-traffic control strategy.
[0009] Furthermore, after controlling the service traffic of the user terminal according to the traffic control strategy, it also includes: when determining that the service traffic is the service traffic of a preset industry, requesting the policy control network element to obtain the user identity of the user terminal, so as to provide a list of potential demand users for the preset industry.
[0010] The present application also provides a service traffic control system, including: a DPI node, which is used to obtain the user IP and user account information of the user terminal when the user terminal accesses the network, establish an association relationship between the user IP and the user account information, and send the user account information to a policy control network element; the policy control network element is used to associate the user account information with a mapping list, obtain an association relationship between the user account information and the traffic control policy, and send the traffic control policy associated with the user account information to the DPI node; the DPI node is also used to receive the traffic control policy associated with the user account information sent by the policy control network element, form an association relationship between the user IP, the user account information and the traffic control policy, so as to control the service traffic of the user terminal.
[0011] Furthermore, the mapping list is used to store the association between multiple user account information and user identity information; the policy control network element is used to store the association between user identity and traffic control policy, and is also used to associate the user account information with the mapping list to obtain user identity information, and form an association between user account information, user identity information and traffic service policy.
[0012] The present application also proposes a DPI node, including: an acquisition module, which, when a user terminal accesses the network, acquires the user IP and user account information of the user terminal and establishes an association relationship between the user IP and the user account information; a sending module, which sends the user account information to a policy control network element, so that the policy control network element associates the user account information with a mapping list to obtain an association relationship between the user account information and a traffic control policy; a receiving module, which receives the traffic control policy associated with the user account information sent by the policy control network element, forms an association relationship between the user IP, the user account information and the traffic control policy, so as to control the service traffic of the user terminal.
[0013] The present application also proposes a computer device, which includes: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, enables the computer device to implement the method described above.
[0014] The present application also proposes a computer-readable storage medium on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the method as described above.
[0015] Compared with the prior art, this application has the following beneficial effects:
[0016] In the technical solution provided by the present application, when a user terminal accesses the network, the user IP and account information of the user terminal are obtained, and an association relationship between the user IP and the user account information is established; the user account information is sent to the policy control network element so that the policy control network element associates the user account information with the mapping list, obtains the association relationship between the user account information and the control policy, receives the traffic control policy associated with the user account information sent by the policy control network element, forms an association relationship between the user IP, the user account information and the traffic control policy, so as to control the service traffic of the user terminal, that is, the policy control network element and the DPI system implement transfer and control separation, play a coupling role between the mapping list and the DPI system, establish a multi-level association table of user IP, user account and traffic control, and DPI is based on the connection with various professional networks and unified policy management, and on the basis of user IP, realizes ubiquitous unified control of service policies based on user accounts. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of an implementation environment involved in this application;
[0018] Figure 2 is a flow chart of a service traffic control method shown in an exemplary embodiment of the present application;
[0019] Figure 3 It is a schematic diagram of the architecture of a service traffic control system shown in an exemplary embodiment of the present application;
[0020] Figure 4 It is a schematic diagram of the architecture of another service traffic control system shown in an exemplary embodiment of the present application;
[0021] Figure 5 is a schematic diagram of a government and enterprise user scenario shown by an exemplary embodiment of the present application;
[0022] Figure 6 is a structural diagram of a DPI node shown in an exemplary embodiment of the present application;
[0023] Figure 7 A schematic diagram of the structure of a computer device suitable for implementing an embodiment of the present application is shown. DETAILED DESCRIPTION
[0024] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0025] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0026] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0027] It should also be noted that the "multiple" mentioned in this application refers to two or more than two. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship.
[0028] See also Figure 1 , Figure 1Schematic diagram of an implementation environment involved in the present application. The implementation environment includes a DPI node 10 and a policy control network element 20, and the DPI node 10 and the server 20 communicate through a wired or wireless network;
[0029] The DPI node 10 is used to obtain the user IP and user account information of the user terminal, and send the user account information to the policy control network element to obtain the corresponding traffic control policy;
[0030] The policy control network element 20 is used to associate the user account information with the mapping list to obtain the association relationship between the user account information and the traffic control policy;
[0031] The DPI node 10 is also used to receive the traffic control policy associated with the user account information sent by the policy control network element, form an association relationship between the user IP, user account information and the traffic control policy, and then control the service traffic of the user terminal according to the traffic control policy.
[0032] Among them, the DPI node and policy control network element 20 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network) and big data and artificial intelligence platforms. This is not restricted here.
[0033] See also Figure 2 , Figure 2 is a flow chart of a service flow control method shown in an exemplary embodiment of the present application. The service flow control method is composed of Figure 1 The DPI node 10 shown in the figure performs a service traffic control method including steps S110 to S130, which are described in detail as follows:
[0034] S110: When a user terminal accesses the network, the user IP and user account information of the user terminal are obtained, and an association relationship between the user IP and the user account information is established.
[0035] In this embodiment, the user terminal can access the network through a wireless mobile communication network, a broadband network, etc. When the user terminal accesses the network, the account information of the user terminal is obtained. The account information refers to the account and password of the broadband Internet access service. The account information is provided to the user terminal by the broadband operator (China Telecom, China Mobile, China Unicom, etc.) when the broadband service is activated, as a verification credential for accessing the network. For example, when accessing the network through a PPPoE (Point to Point Protocol over Ethernet, based on Ethernet point to point) session, the user terminal dials through PPPoE, enters the account and password, and obtains the account and password of the user terminal.
[0036] It should be noted that obtaining the user IP and user account information of the user terminal in an example of this embodiment includes: receiving an authentication message that the authentication server interacts with the user terminal in mirror synchronization, and extracting the user IP and user account information from the authentication message.
[0037] It can be understood that when a user terminal wants to access the network, it enters the account and password. The authentication server needs to authenticate the account and password to determine whether the account and password are correct and whether the account has been connected to the network. When the authentication server and the user terminal perform authentication interaction, the authentication message contains an authentication phase message for authenticating the account and password, and the authentication phase message includes the account and password; after the authentication server receives the authentication message, it copies the authentication message and sends it to the DPI node at the same time, and then the DPI extracts the user account information from the authentication message; for example, when the user terminal accesses the network through a PPPoE session, the DPI node receives the authentication message, splits and interprets the PPPoE session message in the Radius interaction message, and the PPPoE session message includes the interaction message of the PPPoE authentication phase, such as the CHAP (Challenge Handshake Authentication Protocol) authentication message, and then the DPI node extracts the user account information from the PPPoE session message.
[0038] It is understandable that, in addition to authenticating the user terminal's account and password, the authentication server also needs to record the user terminal's user IP online information in the user terminal. The authentication message in this embodiment also includes a message in the negotiation phase, and the message in the negotiation phase includes the user IP. After receiving the authentication message, the DPI extracts the user IP from the authentication message and establishes a corresponding relationship between the user account information and the IP, so as to facilitate the subsequent determination of the traffic control strategy corresponding to the corresponding IP. For example, when a user terminal accesses the network through a PPPoE session, the PPPoE session message also includes an interactive message in the IPCP (Internet Protocol Control Protocol) negotiation phase, such as an IPCP negotiation message, and then extracts the user IP.
[0039] In another example of this embodiment, when the authentication server performs authentication interaction with the user terminal, the account information and user IP of the user terminal can be obtained. At this time, the authentication server can also directly send the account information and user IP to the DPI node without mirroring the synchronization message.
[0040] S120: Send the user account information to the policy control network element, so that the policy control network element associates the user account information with the mapping list to obtain an association relationship between the user account information and the traffic control policy.
[0041] In this embodiment, the DPI node sends the user account information to the policy control network element, the policy control network element associates the user account information with the mapping list, and the policy control network element obtains the association relationship between the user account information and the traffic control policy, wherein the association relationship between the user account information and the traffic control policy obtained by the policy control network element can be the association relationship between the currently acquired user account information and the traffic control policy, or it can be the association relationship between all user account information and the traffic control policy, which is not limited here.
[0042] It should be noted that the traffic control strategy is a strategy for managing and controlling the business traffic of user terminals, including but not limited to business traffic acceleration, disabling, traffic security protection and other control methods.
[0043] S130. Receive the traffic control policy associated with the user account information sent by the policy control network element, form an association relationship between the user IP, the user account information and the traffic control policy, so as to control the service traffic of the user terminal.
[0044] In this embodiment, after the policy control network element obtains the relationship between the user account information and the traffic control policy, it sends the traffic control policy associated with the user account information to the DPI node, and then the DPI node merges the association between the user IP and the user account information, and forms a session flow table for a single user terminal, that is, a relationship between the user IP, the user account information and the traffic control policy, so as to control the business traffic of the user terminal, where the traffic control policy received by the DPI can be one or more, which is not limited here.
[0045] Exemplarily, when user terminal A accesses the network, the DPI node receives the authentication message that interacts with user terminal A and is synchronized by the authentication server mirror, and extracts user account information A and user IP1 from the authentication message. The DPI node establishes an association relationship between user account information A and IP1. The DPI node sends user account information A to the policy control network element, and then receives the traffic control policy a associated with user account information A, thereby forming an association relationship between IP1, user account information A, and traffic control policy a. It is understandable that the DPI node can receive authentication messages corresponding to multiple user terminals synchronized by the authentication server mirror at the same time, and then the DPI node can form user account information and traffic control policies for multiple user terminals, such as forming an association relationship between IP3, user account information B, and traffic control policy b for user terminal B.
[0046] It is worth noting that after the DPI node forms an association relationship between the user IP, the user account information and the traffic control policy, the method provided in this embodiment further includes:
[0047] When the business traffic of the user terminal is detected, the user IP of the user terminal is obtained, and the corresponding traffic control strategy is determined through the association between the user IP, user account information and traffic control strategy; the business traffic of the user terminal is controlled according to the traffic control strategy.
[0048] In this embodiment, when the user terminal accesses the network, the user terminal can use the network. When the user terminal uses the network, the service traffic will enter the DPI node, and then the DPI node detects the service traffic entering the user terminal, and the DPI node obtains the user IP of the service traffic. Since the DPI node establishes an association between the user IP and the user account information, the DPI node also forms an association between the user IP and the user account information and the traffic control policy, and then the DPI node can determine the traffic control policy corresponding to the user IP, and then control the service traffic of the user terminal according to the traffic control policy, such as accelerating or disabling the service traffic of the user terminal.
[0049] For example, when user terminal A uses the network, its service traffic enters the DPI node. The DPI node collects and identifies the service traffic on the link, identifies the user IP as IP1, and determines the traffic control policy corresponding to IP1 based on IP1, user account information A, and traffic control policy a.
[0050] It should be noted that the DPI node in this embodiment can also accurately identify the business traffic of different business types, and then associate the corresponding flow control strategy with the business traffic of different business types; optionally, the traffic management strategy includes different sub-traffic control strategies corresponding to the business traffic of different business types; wherein the business type refers to the type of business corresponding to the business traffic, for example, the type of business corresponding to the game traffic is entertainment business, the type of business corresponding to the payment traffic is payment business, and the type of business corresponding to the instant messaging traffic is communication business; different business types correspond to different sub-traffic management strategies, and then the business traffic of the user terminal is controlled according to the traffic control strategy, including:
[0051] Identify the service type of the service traffic of the user terminal; associate a corresponding sub-traffic control strategy according to the service type of the service traffic, and control the service traffic of the user terminal according to the sub-traffic control strategy.
[0052] For example, the entertainment business type corresponds to sub-traffic control policy 1, the payment business type corresponds to sub-traffic control policy 2, and the communication business type corresponds to sub-traffic control policy 3; when the business traffic of the user terminal enters the DPI node, the DPI node identifies the business type of the business traffic of the user terminal. If the business type is entertainment business, it is associated with the corresponding sub-traffic control policy 1, and then the business traffic of the user terminal is controlled according to sub-traffic control policy 1.
[0053] It can be understood that the correspondence between the business traffic of a business type and the sub-traffic control strategy can be flexibly adjusted according to the actual needs of the user. For example, the sub-control strategy 1 corresponding to the business traffic of the entertainment business type is traffic acceleration, and the sub-traffic control strategy 3 corresponding to the communication business type is disabling traffic.
[0054] In an example of this embodiment, the business traffic control method can be applied to a personal user traffic control scenario. Optionally, the user identity corresponding to the account information is a personal user. The business traffic of the user terminal is controlled according to the sub-traffic control strategy, including: disabling the business traffic of the payment business type of the user terminal within a first preset time period, where the first preset time period can be set by the user, for example, disabling the business traffic of the payment business type of the user terminal between 2:00 and 6:00 in the morning, such as disabling the traffic of WeChat payment.
[0055] Furthermore, if the individual user is a user with preset behavior restrictions, the business traffic of the payment business type of the user terminal is disabled during the first preset time period. The user with preset behavior restrictions can be a minor or an elderly person; it is understandable that when the operator opens traffic for the user, it will obtain the user's identity information, such as the ID card number, and then determine the age of the individual user based on the identity information, so as to determine whether the user corresponding to the account information is a user with preset behavior restrictions. If so, the business traffic of the payment business type is disabled during the first preset time period to prevent minors and the elderly from encountering fraudulent consumption.
[0056] Optionally, controlling the service traffic of the user terminal according to the sub-traffic control strategy also includes: accelerating the service traffic of the entertainment service type of the user terminal within a second preset time period. Acceleration refers to traffic speed-up, and the entertainment service types include but are not limited to games, videos, etc. The second preset time period can be a preset time period from the start of the game or video, for example, accelerating the service traffic of the game service of the user terminal within 10 minutes after the game is started.
[0057] Optionally, the business traffic of the user terminal is controlled according to the sub-traffic control strategy corresponding to the account information or the subordinate user identity of the government and enterprise user, including: accelerating the business traffic of the instant messaging business type of the user terminal within a first preset time period, such as accelerating the business traffic of employees' video calls during meeting time; disabling the business traffic of the entertainment business type of the user terminal within a second preset time period, such as disabling the business traffic of employees' gaming business during working hours 9:00-12:00; it can be understood that the sub-traffic control strategy corresponding to the business traffic can be flexibly set by government and enterprise users, which is only given as an example here.
[0058] Optionally, the service traffic of the user terminal can be controlled according to the traffic control strategy, and the optimal network path can be selected for the service traffic of the user terminal to ensure that the service traffic is stable and does not lose packets. For example, the optimal unblocked path is selected for the video traffic of the user terminal to ensure that the user can watch the video smoothly.
[0059] The service traffic control method provided in this embodiment can be applied to the traffic control scenario of government and enterprise users. The user identity corresponding to the account information is the subordinate user identity of the government and enterprise user. The traffic control strategy includes a sub-traffic control strategy corresponding to the subordinate user identity. Controlling the service traffic of the user terminal according to the traffic control strategy includes: monitoring the service traffic of the subordinate user terminals of the enterprise user to determine the network behavior of the subordinate users; and controlling the service traffic of the user terminal according to the network behavior of the subordinate users and the sub-traffic control strategy.
[0060] The government and enterprise users include but are not limited to industry customers such as enterprises, schools and governments, and the subordinate users of the government and enterprise users include employees, students, teachers, public officials, etc. In this embodiment, the business traffic of the subordinate user terminals of the enterprise users is monitored, and the network behavior of the subordinate users can be determined according to the purpose of the business traffic. For example, when the purpose of the business traffic is to transfer files to the outside of the enterprise, the network behavior of the subordinate users is determined to be data transmission behavior; for another example, if the purpose of the business traffic is to start a game, the network behavior of the subordinate users can be determined to be playing games.
[0061] It is worth noting that the sub-traffic control strategy in this embodiment corresponds to the network behavior of the subordinate users. After determining the network behavior of the subordinate users, the sub-traffic control strategy corresponding to the network behavior of the subordinate users is determined, and then the business traffic of the user terminal of the subordinate users is controlled.
[0062] Optionally, the sub-traffic control strategy includes disabling business traffic when the network behavior is data transmission; disabling business traffic if the network behavior is gaming behavior during working hours; accelerating business traffic or providing traffic security protection if the network behavior is normal working behavior.
[0063] It is worth noting that in this embodiment, the user identity corresponding to the account information is determined by the policy control network element, and the policy control network element stores the association relationship between the user identity and the traffic control policy. Therefore, after the policy control network element is associated with the mapping list, the association relationship between the user account information, the user identity and the traffic control policy can be obtained; therefore, when the policy control network element determines that the user identity corresponding to the account information is an individual user identity, the traffic control policy corresponding to the individual user is sent to the DPI node, and then the DPI node performs business traffic control; when the policy control network element determines that the user identity corresponding to the account information is a subordinate user identity of a government or enterprise user, such as an employee of a certain enterprise, the policy control network element first finds the traffic control policy of the enterprise, and further finds the sub-traffic control policy corresponding to each employee in the enterprise's traffic control policy, and sends the sub-traffic control policy to the DPI node.
[0064] In this embodiment, the DPI node can also perform real-time backtracing of accessed users, specifically real-time backtracing of the user identity of the ubiquitous access network. After controlling the service traffic of the user terminal according to the traffic control policy, it also includes: when it is determined that the service traffic is the service traffic of a preset industry, obtaining the user identity of the user terminal from the policy control network element to provide a list of potential demand users for the preset industry.
[0065] Among them, the preset industries include but are not limited to gaming and entertainment, education and learning, medical health and other industries. The DPI node analyzes the business traffic to determine the purpose of the business traffic, and then determines the industry to which the business traffic belongs; when the DPI node detects the user's gaming and entertainment, education and learning, medical health and other business traffic, since the policy control network element stores the user's identity information and traffic control policy, the DPI can request the policy control network element to obtain the identity information, so as to provide a list of potential users with gaming and entertainment, education and learning, and medical health services.
[0066] It can be understood that in the specific implementation of the present application, it involves obtaining user identity information to provide relevant data such as a list of potential demand users for a preset industry. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0067] Figure 2 The technical solution of the embodiment shown is described from the perspective of the DPI node. Figure 3 The technical solution of the embodiment of the present application is described from the perspective of the business traffic control system:
[0068] Figure 3 The schematic diagram of the architecture of a service traffic control system is shown, and the service traffic control system includes a DPI node 10, a policy control network element 20 and a user terminal 50, wherein:
[0069] The DPI node 10 is used to obtain the user IP and user account information of the user terminal 50 when the user terminal 50 accesses the network, establish an association relationship between the user IP and the user account information, and send the user account information to the policy control network element 20;
[0070] The policy control network element 20 is used to associate the user account information with the mapping list 30, obtain the association relationship between the user account information and the traffic control policy, and send the traffic control policy associated with the user account information to the DPI node 10;
[0071] The DPI node 10 is also used to receive the traffic control policy associated with the user account information sent by the policy control network element 20, and form an association relationship between the user IP, the user account information and the traffic control policy to control the service traffic of the user terminal 50.
[0072] In this embodiment, the DPI node 10 sends the user account information to the policy control network element 20. The user account information refers to the account and password of the broadband Internet service. The policy control network element 20 can associate the user account information with the mapping list 30 to obtain the association relationship between the user account information and the traffic control policy. For example, in one example, the mapping list 30 includes the mapping relationship between the user account information and the traffic control policy, and then the policy control network element 20 matches the user account information with the mapping list 30 to obtain the association relationship between the received user account information and the traffic control policy.
[0073] It is worth noting that in another example of this embodiment, the policy control network element 20 stores the association relationship between user identity information and traffic control policy, and the mapping list 30 stores the association relationship between multiple user account information and user identity information, and then the policy control network element 20 associates the user account information with the mapping list 30 to obtain the user identity information, and forms an association relationship between the user account, the user identity information and the traffic service policy, wherein the mapping list can be located in the database of another server, or in the database of the policy control network element 20. When the mapping list 30 is stored in the database of another server, after the policy control network element 20 receives the user account information, it sends the user account information to the server, and the server searches the mapping list in the local database, and sends the identity information associated with the user account information to the policy control network element 20, and then the policy control network element 20 obtains the association relationship between the user account, the user identity information and the traffic service policy.
[0074] In this embodiment, the service flow control system also includes an authentication server 40, which is used to perform authentication interaction with the user terminal 50, and after successful authentication, mirror the authentication message to the DPI node 10; the DPI node 10 is used to extract IP and user account information from the authentication message.
[0075] It can be understood that when the user terminal 50 wants to access the network, the authentication server 40 will authenticate the account and password sent by the user terminal 50 to determine whether the account and password match and are correct. When the account and password match and are correct, the user IP of the user terminal 50 is configured; when the authentication server 40 successfully authenticates the user terminal 50, the authentication message mirror is synchronized to the DPI node 10, and then the DPI node 10 can extract the user IP and user account information from the authentication message. At this time, the DPI node 10 can establish an association between the user IP and the user account information, so as to facilitate the subsequent determination of the traffic control strategy corresponding to the corresponding IP and account.
[0076] For ease of understanding, this embodiment uses a more specific example to illustrate the service flow control method. Figure 4As shown, it is applied to a service flow control system, including: a user (terminal) 50, a base station 60, a LAC (location area code) network element 70, an LNS (L2TP Network Server, L2TP access concentrator) 80, a Radius (authentication server) 40, a DPI node 10, a policy control network element 20 and a mapping list 30;
[0077] Among them, LAC network element 70 is an area set up for paging, covering a geographical area, which is generally divided by administrative regions (a county or a district) or by paging volume in the initial stage; LAC70 and LNS80 are used to build a data link layer tunnel from the core network to the metropolitan area network SR / Bras. LNS80 is a device used to process the server side of the L2TP protocol. As the other end point of the L2TP tunnel, it is the opposite end device of LAC70 and the logical termination end point of the PPP session tunneled by LAC70; LAC dialing is performed on UPF (User Plane Function)\PGW (PDN GateWay), without the need for complex conversion of IMSI number to mobile phone number, achieving low overhead and high reliability.
[0078] Radius 40 is used to perform authentication interaction with user 50.
[0079] The DPI node 10 has a traffic feature library for identifying the service traffic of the user 50, and is also used to identify the user information in the authentication message sent by Radius 40, establish a mapping relationship between the user IP and the user account, and monitor and control the service traffic based on the user IP.
[0080] The policy control network element 20 is used to store the service flow control policy of the user account, and also associates the IP and account information with the user identity information, matches and issues the corresponding service flow control policy, and performs related control operations.
[0081] The mapping list 30 stores the association between the user account and identity information of multiple access networks of the user. The service flow control method includes:
[0082] 1. User 50 accesses the Internet through a wireless mobile communication network, a broadband network, or the like.
[0083] 2. When user 50 comes online, the authentication traffic is passed to Radius 40 through LAC 70. After the authentication is successful, Radius 40 synchronizes the authentication interaction message mirror to DPI node 10.
[0084] 3. The DPI node 10 decomposes the PPPoE session message in the authentication interaction, extracts the user IP and account information, and merges it with the user service flow in real time to form a session flow table of the IP and account information and service flow of a single user.
[0085] 4. The DPI node 10 uploads the user account to the policy control network element 20. The policy control network element 20 associates the user account with the mapping list, obtains the user identity information, and forms association information between the user account, the user identity information and the traffic control policy.
[0086] 5. The policy control network element 20 returns the corresponding traffic control policy to the DPI node 10 according to the user account.
[0087] 6. The DPI node 10 forms a session flow table of IP and account information, business traffic, and traffic control policy.
[0088] 7. User business traffic enters DPI node 10 through the VPN (virtual private) network formed by LAC70 and LNS 80. DPI node 10 obtains the user IP of the traffic, matches it to the user's account, and then obtains the traffic control strategy to perform unified policy scheduling on the business traffic.
[0089] Here, the application scenarios of the service flow control method are described:
[0090] Ubiquitous access scenario for individual users: The same user can access the Internet through multiple accounts of wireless and fixed broadband, and can enjoy the same services (such as network acceleration, traffic security protection, etc.) according to their application needs, thus achieving consistency of single-user service policies under ubiquitous access conditions;
[0091] Government and enterprise user scenarios: including large enterprises, schools, governments and other industry customers. Based on the management needs of industry customers, unified monitoring and control of their subordinates' online behavior can be carried out. For example, access to bad or illegal websites is prohibited within the campus network. Even if students leave school and go home, the same policy can be associated with home broadband to restrict students from accessing illegal web pages. For example, government and corporate employees are restricted from online entertainment during work hours to improve work efficiency.
[0092] For example Figure 5As shown in the figure, when employee 1 accesses the network through the mobile phone account corresponding to IP1, the DPI node obtains IP1 and mobile phone account 1 through the authentication message mirrored by the authentication server, and sends mobile phone account 1 to the control policy network element. The control policy network element sends mobile phone account 1 to the server corresponding to the mapping list, and receives the association relationship between mobile phone account 1 and employee 1 returned by the server. The control policy network element stores the traffic control policies set by enterprise A for each employee, and then the control policy network element forms the corresponding relationship between IP1 and mobile phone account 1 and employee 1 and enterprise A and traffic control policy 1, and then sends traffic control policy 1 to the DPI node. The DPI node forms the association relationship between IP1 and mobile phone account 1 and employee 1 and traffic control policy 1, and then controls the service traffic of IP1 according to traffic control policy 1. When employee 1 accesses the network with the broadband account corresponding to IP2, the DPI node forms the association relationship between IP2 and broadband account 1 and employee 1 and traffic control policy 1, and also controls the service traffic of IP2 according to traffic control policy 1.
[0093] It should be noted that the IP address of a single user will change. For example, the IP addresses of users who access the Internet through mobile phones and computers are different. Therefore, traffic control policies are not associated based on IP addresses, and therefore it is impossible to achieve unified management of control policies and synchronization of policy scheduling of various networks. The service traffic control method provided in the embodiment of the present invention applies for corresponding control policies to the control policy network element through user accounts. It has a high degree of generalization, realizes unified policy scheduling of service traffic, and achieves consistency of service policies.
[0094] Furthermore, the authentication message is mirrored to the DPI node through Radius to solve the huge overhead problem caused by packet-by-packet unpacking in related technologies. For example, PGW and UPF need to unpack user flows packet by packet to intercept user IMSI (International Mobile Subscriber Identity) information, which seriously affects device operation forwarding.
[0095] Furthermore, the hysteresis problem of the offline analysis method based on the association of the authentication database is solved through the real-time backtracking of the user identity of the ubiquitous access network.
[0096] Furthermore, through the transformation of the DPI system, DPI nodes are deployed in a centralized service independent of the professional network, and the authentication messages and user flow messages of the user's Internet traffic are associated and integrated. The real-time association of IP and user account information with traffic and traffic control strategies is achieved with the lightweight interpretation overhead of authentication interaction information, and the real-time synchronous backtracking of IP information throughout the life cycle of the authentication process is guaranteed. Compared with related technologies, since there is no need to analyze user flow mirrors other than authentication, the implementation cost is low, the system overhead is small, and the DPI node does not need to be deployed at a specific location between the terminal and Radius.
[0097] Furthermore, in the scenario of government and enterprise users, hierarchical policy management is introduced to establish a three-level association table of government and enterprise users, personal user information and professional network accounts, to solve the problem that the network in related technologies is only applicable to 2C scenarios (scenarios for individuals) but not to 2B scenarios (scenarios for enterprises);
[0098] Furthermore, based on the connection with various professional networks and unified policy management, whether accessing the professional network through wireless or fixed bandwidth, the problem of asynchronous scheduling of business policies of various networks can be solved through unified strategies, ubiquitous unified control of business policies can be achieved, and multi-dimensional management of multi-access networks can be carried out, which is more flexible.
[0099] Furthermore, compared with traditional routing forwarding, the policy management network element and the DPI system implement forwarding and control separation, which plays a coupling role between the database and the DPI system, establishes a multi-level association table of IP, account, identity and policy, and realizes efficient forwarding of the DPI system based on business.
[0100] The following describes an embodiment of the device of the present application, which can be used to execute the service traffic control method in the above embodiment of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the service traffic control method in the above embodiment of the present application.
[0101] like Figure 6 As shown, Figure 6 is a schematic diagram of a DPI node shown in an exemplary embodiment of the present application, including:
[0102] The acquisition module 610 acquires the user IP and user account information of the user terminal when the user terminal accesses the network, and establishes an association relationship between the user IP and the user account information;
[0103] The sending module 620 sends the user account information to the policy control network element, so that the policy control network element associates the user account information with the mapping list to obtain an association relationship between the user account information and the traffic control policy;
[0104] The receiving module 630 receives the traffic control policy associated with the user account information sent by the policy control network element, forms an association relationship between the user IP, the user account information and the traffic control policy, so as to control the service traffic of the user terminal.
[0105] In some embodiments of the present application, based on the aforementioned solution, the acquisition module 620 is specifically used to receive the authentication message that the authentication server interacts with the user terminal in mirror synchronization, and extract the user IP and user account information from the authentication message.
[0106] In some embodiments of the present application, based on the aforementioned scheme, the DPI node also includes a management and control module, which is used to obtain the user IP of the user terminal when the business traffic of the user terminal is detected to enter, and determine the corresponding traffic control strategy through the association between the user IP and the user account information, and the association between the user account information and the traffic control strategy; the business traffic of the user terminal is controlled according to the traffic control strategy.
[0107] In some embodiments of the present application, based on the aforementioned scheme, the traffic management strategy includes different sub-traffic control strategies corresponding to business traffic of different business types; the process by which the control module implements control of the business traffic of the user terminal according to the traffic control strategy includes: identifying the business type of the business traffic of the user terminal; associating the corresponding sub-traffic control strategy according to the business type of the business traffic, and controlling the business traffic of the user terminal according to the sub-traffic control strategy.
[0108] In some embodiments of the present application, based on the aforementioned scheme, the user identity corresponding to the account information is the subordinate user identity of the government and enterprise user, and the traffic control strategy includes a sub-traffic control strategy corresponding to the subordinate user identity; the process by which the control module implements control of the business traffic of the user terminal according to the traffic control strategy includes: monitoring the business traffic corresponding to the subordinate users of the enterprise user to determine the network behavior of the subordinate users; and controlling the business traffic of the user terminal corresponding to the subordinate users according to the network behavior of the subordinate users and the sub-traffic control strategy.
[0109] In some embodiments of the present application, based on the aforementioned scheme, the DPI node also includes a request module, which is used to request the policy control network element to obtain the user identity of the user terminal when determining that the service traffic is the service traffic of a preset industry, so as to provide a list of potential demand users for the preset industry.
[0110] It should be noted that the device provided in the above embodiment and the method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here.
[0111] In an exemplary embodiment, a computer device includes one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, enable the computer device to implement the method described above.
[0112] Figure 7 The diagram is a schematic structural diagram of a computer device according to an exemplary embodiment.
[0113] It should be noted that the computer device is only an example adapted for the present application and cannot be considered to provide any limitation on the scope of use of the present application. The computer device cannot be interpreted as requiring dependence on or having Figure 7 One or more components of the exemplary computer device shown in .
[0114] like Figure 7 As shown, in an exemplary embodiment, the computer device includes a processing component 701, a memory 702, a power component 703, a multimedia component 704, an audio component 705, a processor 706, a sensor component 707, and a communication component 708. Among them, the above components are not all necessary, and the computer device can add other components or reduce certain components according to its own functional requirements, which is not limited in this embodiment.
[0115] The processing component 701 generally controls the overall operation of the computer device, such as operations associated with display, data communication, and log data processing. The processing component 701 may include one or more processors 706 to execute instructions to complete all or part of the steps of the above operations. In addition, the processing component 701 may include one or more modules to facilitate the interaction between the processing component 701 and other components. For example, the processing component 701 may include a multimedia module to facilitate the interaction between the multimedia component 704 and the processing component 701.
[0116] The memory 702 is configured to store various types of data to support operations on the computer device, examples of which include instructions for any application or method for operating on the computer device. The memory 702 stores one or more modules, which are configured to be executed by the one or more processors 706 to complete all or part of the steps in the method described in the above embodiment.
[0117] The power supply component 703 provides power to various components of the computer device. The power supply component 703 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the computer device.
[0118] The multimedia component 704 includes a screen that provides an output interface between the computer device and the user. In some embodiments, the screen may include a TP (Touch Panel) and an LCD (Liquid Crystal Display). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0119] The audio component 705 is configured to output and / or input audio signals. For example, the audio component 705 includes a microphone, and when the computer device is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive external audio signals. In some embodiments, the audio component 705 also includes a speaker for outputting audio signals.
[0120] The sensor component 707 includes one or more sensors for providing status evaluation of various aspects for the computer device. For example, the sensor component 707 can detect the on / off status of the computer device and can also detect the temperature change of the computer device.
[0121] The communication component 708 is configured to facilitate wired or wireless communication between the computer device and other devices. The computer device can access a wireless network based on a communication standard, such as Wi-Fi (Wireless-Fidelity, wireless network).
[0122] Understandably, Figure 7 The structure shown is for illustration only. The computer device may include Figure 7 More or fewer components as shown, or with Figure 7 The different components are shown. Figure 7 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0123] In an exemplary embodiment, a computer-readable storage medium stores a computer program, which implements the above-mentioned method when executed by a processor. The computer-readable storage medium may be included in the computer device described in the above embodiment, or may exist independently without being assembled into the computer device.
[0124] It should be noted that the computer-readable storage medium shown in the embodiment of the present application can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0125] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0126] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A service flow control method, characterized in that: Applied to deep packet inspection (DPI) nodes, including: When a user terminal accesses the network through different access networks, obtaining the user IP and user account information of the user terminal, and establishing an association relationship between the user IP and the user account information; Sending the user account information to the policy control network element so that the policy control network element associates the user account information with the mapping list to obtain the user identity information corresponding to the user terminal, so as to form an association relationship between the user account information, the user identity information and the traffic control policy; Receiving the traffic control policy associated with the user identity information sent by the policy control network element, and forming an association relationship between the user IP of the user terminal, the user account information, the user identity information and the traffic control policy; When the service traffic of the user terminal is detected to enter, the user IP of the user terminal is obtained, and the corresponding traffic control strategy is determined through the association between the user IP, user account information, user identity information and traffic control strategy, and the service traffic of the user terminal is controlled according to the traffic control strategy; The traffic control strategy includes different sub-traffic control strategies corresponding to service traffic of different service types, and controlling the service traffic of the user terminal according to the traffic control strategy includes: Identifying a service type of service traffic of the user terminal; A corresponding sub-traffic control strategy is associated with the service type of the service traffic, and the service traffic of the user terminal is controlled according to the sub-traffic control strategy and the user identity corresponding to the user terminal.
2. The method according to claim 1, characterized in that The acquiring the account information of the user terminal includes: Receive an authentication message that is synchronized with the authentication server and interacts with the user terminal, and extract the user IP and the user account information from the authentication message.
3. The method according to claim 1, characterized in that The user identity corresponding to the account information is a subordinate user identity of a government or enterprise user, and the traffic control strategy includes a sub-traffic control strategy corresponding to the subordinate user identity; The controlling the service traffic of the user terminal according to the traffic control strategy includes: Monitor the business traffic corresponding to the subordinate users of the government and enterprise users to determine the network behavior of the subordinate users; The service traffic of the user terminal corresponding to the subordinate user is controlled according to the network behavior of the subordinate user and the sub-traffic control strategy.
4. The method according to claim 1 or 3, characterized in that: After the service flow of the user terminal is controlled according to the flow control strategy, the method further includes: When it is determined that the service traffic is the service traffic of a preset industry, a request is made to the policy control network element to obtain the user identity of the user terminal, so as to provide a list of potential demand users for the preset industry.
5. A business traffic control system, characterized in that: include: A deep packet inspection DPI node is used to obtain the user IP and user account information of the user terminal when the user terminal accesses the network through different access networks, establish an association relationship between the user IP and the user account information, and send the user account information to the policy control network element; The policy control network element is used to associate the user account information with the mapping list to obtain the user identity information corresponding to the user terminal, so as to form an association relationship between the user account information, the user identity information and the traffic control policy, and send the traffic control policy associated with the user identity information to the DPI node; The DPI node is further used to receive the traffic control policy associated with the user identity information sent by the policy control network element, and form an association relationship between the user IP, the user account information, the user identity information, and the traffic control policy; when the service traffic of the user terminal is detected to enter, the user IP of the user terminal is obtained, and the corresponding traffic control policy is determined through the association relationship between the user IP, the user account information, the user identity information, and the traffic control policy, and the service traffic of the user terminal is controlled according to the traffic control policy; The traffic control strategy includes different sub-traffic control strategies corresponding to service traffic of different service types, and controlling the service traffic of the user terminal according to the traffic control strategy includes: Identifying a service type of service traffic of the user terminal; A corresponding sub-traffic control strategy is associated with the service type of the service traffic, and the service traffic of the user terminal is controlled according to the sub-traffic control strategy and the user identity corresponding to the user terminal.
6. The system according to claim 5, characterized in that The mapping list is used to store associations between multiple user account information and user identity information; The policy control network element is used to store the association between user identity and traffic control policy, and is also used to associate the user account information with the mapping list to obtain user identity information, and form an association between the user account information, the user identity information and the traffic control policy.
7. A deep packet inspection (DPI) node, characterized in that: include: An acquisition module, when a user terminal accesses the network through different access networks, acquires the user IP and user account information of the user terminal, and establishes an association relationship between the user IP and the user account information; A sending module sends the user account information to a policy control network element, so that the policy control network element associates the user account information with the mapping list to obtain the user identity information corresponding to the user terminal, so as to form an association relationship between the user account information, the user identity information and the traffic control policy; A receiving module receives the traffic control policy associated with the user identity information sent by the policy control network element, forms an association relationship between the user IP, the user account information, the user identity information and the traffic control policy, so as to control the service traffic of the user terminal; When the service traffic of the user terminal is detected to enter, the user IP of the user terminal is obtained, and the corresponding traffic control strategy is determined through the association between the user IP, user account information, user identity information and traffic control strategy, and the service traffic of the user terminal is controlled according to the traffic control strategy; The traffic control strategy includes different sub-traffic control strategies corresponding to service traffic of different service types, and controlling the service traffic of the user terminal according to the traffic control strategy includes: Identify the service type of the service traffic of the user terminal; associate the corresponding sub-traffic control strategy according to the service type of the service traffic, and control the service traffic of the user terminal according to the sub-traffic control strategy and the user identity corresponding to the user terminal.
8. A computer-readable storage medium, characterized in that: Computer readable instructions are stored thereon, and when the computer readable instructions are executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 and 4.
