Flow control method, device, electronic device and readable medium

The traffic control device in the operator system receives client requests and configures policies, mirrors traffic data for control, solves the compatibility and security issues of terminal software, and achieves wider use and higher stability.

CN114301772BActive Publication Date: 2024-11-12CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111625042.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2024-11-12
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

The prior art has problems with terminal software compatibility and security stability in flow control, especially because software needs to be installed on the terminal, which is easily cracked and caused control failure.

Method used

Receive client policy configuration requests through the traffic control device in the operator system, configure traffic control policies based on target traffic identification information, and control traffic data through communication tunnel mirroring to avoid installing software on the terminal, thereby solving compatibility and security question.

Benefits of technology

The scope of use of flow control has been expanded, the security and stability of the solution have been improved, and control failures caused by the cracking of terminal software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114301772B_ABST
    Figure CN114301772B_ABST
Patent Text Reader

Abstract

The present application provides a flow control method, device, electronic device and readable medium. The method includes: receiving a policy configuration request sent by a client, the policy configuration request includes a client identifier and target flow identification information of the client, the target flow identification information is used to identify the flow data to be controlled; according to the target flow identification information, configuring a flow control policy for the client in a flow control device; obtaining flow data sent to the client; and controlling the flow data through the flow control device according to the flow control policy corresponding to the client identifier. The method solves the compatibility problem of terminal software, has a wider range of use, and does not require software to be installed on the terminal, so it will not be cracked by technical means on the terminal to cause control failure, thereby improving the security and stability of the solution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a flow control method, device, electronic device and readable medium. Background Art

[0002] With the active promotion of speed increase and fee reduction by domestic communication operators in recent years, high-speed fixed broadband and mobile networks have benefited thousands of households and brought convenience to daily life, work and study. But at the same time, the constant Internet access has derived another customer demand, that is, in certain scenarios, users expect to be able to block certain types of Internet applications to a limited extent. For example, parents hope that children will reduce Internet abuse and addiction, and companies hope to reduce employees' use of office computers for unrelated Internet use.

[0003] In the related art, management software is usually installed on the operating system of the controlled user terminal to perform background control.

[0004] However, such solutions have software compatibility requirements for terminals, and since the software is installed on the terminal, it may be cracked through technical means, which raises security and stability issues. Summary of the invention

[0005] Based on the above technical problems, the present application provides a flow control method, device, electronic device and readable medium to solve the compatibility problem of terminal software. It has a wider range of uses and does not require the installation of software on the terminal. Therefore, it will not be cracked by technical means on the terminal, resulting in control failure, thereby improving the security and stability of the solution.

[0006] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0007] According to one aspect of an embodiment of the present application, a flow control method is provided, which is applied to an operator system, wherein the operator system includes a flow control device, and the method includes:

[0008] Receive a policy configuration request sent by a client, wherein the policy configuration request includes a client identifier and target traffic identification information of the client, wherein the target traffic identification information is used to identify traffic data to be controlled;

[0009] According to the target traffic identification information, configuring a traffic control policy for the client in the traffic control device;

[0010] Obtaining traffic data sent to the client;

[0011] The flow control device performs flow control on the flow data according to the flow control policy corresponding to the client identifier.

[0012] In some embodiments of the present application, based on the above technical solution, configuring a traffic control policy for the client in the traffic control device according to the target traffic identification information includes:

[0013] Acquire a target application identifier and a control operation from the target traffic identification information, wherein the target application identifier is used to identify identification information of a controlled application, and the control operation is used to indicate a processing operation to be performed on traffic data;

[0014] A flow control policy is generated according to the client identifier, the target application identifier and the control operation and is stored in the flow control device.

[0015] In some embodiments of the present application, based on the above technical solution, the operator system further includes an access concentrator and a network server, and before receiving the policy configuration request sent by the client, the method further includes:

[0016] Receiving a start control request sent by the client;

[0017] According to the start control request, a communication tunnel corresponding to the client is established between the access concentrator and the network server, wherein the access concentrator is used to communicate with the client, and the network server is used to communicate with the application service server and the traffic control device;

[0018] The dial-up message corresponding to the communication tunnel is sent to the flow control device, so that the flow control strategy establishes a corresponding relationship between the client identifier and the network address according to the dial-up message.

[0019] In some embodiments of the present application, based on the above technical solution, the acquiring of the traffic data sent to the client includes:

[0020] Copying the data transmitted through the communication tunnel to obtain mirrored traffic data;

[0021] The mirrored traffic data is sent to the traffic control device.

[0022] In some embodiments of the present application, based on the above technical solution, the flow control device performs flow control on the flow data according to the flow control policy corresponding to the customer identifier, including:

[0023] Obtaining a corresponding customer identifier according to the network address in the traffic data;

[0024] Performing application traffic feature recognition on the traffic data to determine a target application identifier corresponding to the traffic data;

[0025] Acquire a corresponding flow control strategy according to the client identifier and the target application identifier;

[0026] The flow data is processed according to the control operation in the corresponding flow control strategy.

[0027] In some embodiments of the present application, based on the above technical solution, the method further includes:

[0028] Receiving a policy deactivation request sent by a client, wherein the policy deactivation request includes a client identifier and target traffic identification information of the client, wherein the target traffic identification information is used to identify traffic data to be controlled;

[0029] Determining a corresponding control strategy to be deactivated according to the customer identifier and the target flow identification information;

[0030] The control strategy to be deactivated is deleted in the flow control device.

[0031] In some embodiments of the present application, based on the above technical solution, the method further includes:

[0032] Receiving a stop control request sent by the client;

[0033] According to the stop control request, the communication tunnel corresponding to the client established between the access concentrator and the network server is closed.

[0034] According to one aspect of an embodiment of the present application, a flow control apparatus is provided, which is applied to an operator system. The operator system includes a flow control device. The apparatus includes:

[0035] A configuration request module, used for receiving a policy configuration request sent by a client, wherein the policy configuration request includes a client identifier and target flow identification information of the client, wherein the target flow identification information is used for identifying flow data to be controlled;

[0036] A policy configuration module, configured to configure a flow control policy for a client in the flow control device according to the target flow identification information;

[0037] A traffic acquisition module, used to acquire traffic data sent to the client;

[0038] A flow control module is used to perform flow control on the flow data according to the flow control policy corresponding to the client identifier through the flow control device.

[0039] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute a flow control method as in the above technical solution by executing the executable instructions.

[0040] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the flow control method in the above technical solution is implemented.

[0041] In the embodiment of the present application, the flow control policy is configured in the flow control device of the operator network according to the policy configuration request provided by the user, and the flow data of the client is controlled by the flow control device according to the flow control policy. Since the flow control device is provided and managed by the operator, the compatibility problem of the terminal software is solved, the scope of use is wider, and there is no need to install software on the terminal, so it will not be cracked by technical means on the terminal to cause control failure, thereby improving the security and stability of the solution.

[0042] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0044] In the attached picture:

[0045] Figure 1 The following schematically shows an exemplary system architecture diagram of the solution of the present application in an application scenario;

[0046] Figure 2 A schematic flow chart of a flow control method in an embodiment of the present application;

[0047] Figure 3 The composition block diagram of the flow control device in the embodiment of the present application is schematically shown;

[0048] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0049] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0050] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0051] 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.

[0052] 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.

[0053] It should be understood that the solution of the present application can be applied in the Internet environment, and specifically in the scenario where the operator provides traffic control. Specifically, in this scenario, the management party (for example, a company or a family, etc.) that provides the network environment can make a traffic control request to the operator, and specifically specify the specific application, application type or restriction (for example, time period restriction) that it wants to control. The operator establishes a specific communication tunnel for the user when the managed user logs in to connect to the network, and identifies and controls the traffic data passing through the communication tunnel to control the traffic according to the requirements provided previously. Specifically, for example, in a home environment, parents can request the operator to limit the traffic of game applications or video applications used in their network accounts or limit the traffic of all game applications. The operator system will establish a communication tunnel for the user, and filter the network traffic of the communication tunnel, filter out the specified game application or identify all game application traffic and perform corresponding control (for example, release or block).

[0054] The following is an introduction to the application scenarios of the solutions in the embodiments of this application. Figure 1 , Figure 1 The following schematically shows an exemplary system architecture diagram of the solution of the present application in an application scenario. Figure 1 As shown, in this scenario, the terminal device of the controlled personnel can be connected to the backbone network of the metropolitan area network through a fixed broadband or mobile network. The network link includes a gateway device 110, an optical modem device 120, an LNS device 130, a switch 140, a flow control device 150, a core router 160, and a business system 170 and a scheduling server 180 of the management party. Among them, the LNS device 130, the switch 140, the flow control device 150, the core router 160, and the business system 170 and the scheduling server 180 of the management party together constitute the operator system. In this scenario, the management personnel open the flow control service through the business system 170 and send the control demand to the scheduling server 180. The scheduling server 180 will configure the flow control strategy to the flow control device 150 according to the received control demand. The controlled user can connect to the backbone network through a mobile terminal such as a mobile phone through a base station and a gateway device 110, or connect to the backbone network through a terminal such as a computer through an optical modem device 120. When the controlled user logs in, the operator network will establish a communication tunnel between the LNS device 120 and the gateway device 110 or the optical modem device 120. During the flow control process, the switch 140 will send the flow mirror in the communication tunnel to the flow control device 150, so that the flow control device 150 can identify the flow data that needs to be controlled and perform the corresponding flow control operation.

[0055] The following is a detailed description of the technical solution provided by this application in conjunction with the specific implementation method. For ease of introduction, please refer to Figure 2 , Figure 2 This is a schematic flow chart of a flow control method in an embodiment of the present application. The method can be applied to the operator system of the above-mentioned system architecture, and the operator system includes a flow control device. In the embodiment of the present application, the flow control method is introduced with the computer device of the operator system as the execution subject, and the flow control method may include the following steps S210 to S240:

[0056] Step S210: receiving a policy configuration request sent by a client, wherein the policy configuration request includes a client identifier and target traffic identification information of the client, and the target traffic identification information is used to identify traffic data to be controlled.

[0057] The user sets the relevant information of the traffic that he wants to control on the client to generate a policy configuration request and send it to the supplier system. The supplier system receives the policy configuration request sent by the client, including the client's customer ID and target traffic identification information. The customer ID is usually the identification information of the user's account registered with the operator, such as a mobile phone number. The target traffic identification information is information used to identify the target traffic data to be controlled. For example, in the case of controlling video traffic, the target traffic identification information indicates all traffic data containing video content. The target traffic identification information can also be identification information such as the name of the application.

[0058] In one embodiment of the present application, the operator system further includes an access concentrator and a network server, and before receiving the policy configuration request sent by the client, the method further includes: receiving a start control request sent by the client; establishing a communication tunnel corresponding to the client between the access concentrator and the network server according to the start control request, wherein the access concentrator is used to communicate with the client, and the network server is used to communicate with the application service server and the traffic control device; sending a dial-up message corresponding to the communication tunnel to the traffic control device, so that the traffic control policy establishes a correspondence between the client identifier and the network address according to the dial-up message. Specifically, in this embodiment, the operator system will establish a communication tunnel for the client, thereby separating the traffic data of the client from the traffic data of other clients, so as to facilitate the subsequent acquisition of traffic data and traffic control. The start control request can be automatically initiated by the client in the process of connecting to the network, for example, automatically initiated by the user when connecting to the network. Specifically, the communication tunnel can be based on VPDN tunnel technology. For each controlled client, a dial-up is initiated on the gateway side of the access operator system, and an independent Layer 2 tunnel is established to connect to a dedicated LNS. After authentication, an independent IP address is assigned to the client, and the user traffic is further forwarded from the LNS to the subsequent application traffic identification and control device, thereby achieving traffic separation. During and after the tunnel establishment, the information sent through the tunnel will be sent in the form of a dial-up message. It can be understood that the centralized access device can be different in different types of networks. For example, in a 4G mobile network, the gateway device serves as a centralized access device; in a 5G mobile network, the user plane function device serves as a centralized access device; in fixed-line broadband, the optical modem serves as a centralized access device. The network server is usually a broadband access server or a multi-service edge device. The centralized access device initiates an L2TP VPDN connection to the network server (initiating a tunnel independently for each user). After the tunnel is established, the user's terminal IP address is assigned by the network server.

[0059] Step S220: configuring a traffic control policy for the client in the traffic control device according to the target traffic identification information.

[0060] Specifically, in the operator system, after receiving the policy configuration request, the front-end service system will forward the request to the scheduling server. The scheduling server will configure the traffic control policy for the client in the traffic control device according to the target traffic identification information in the policy configuration request. The traffic control policy usually includes the client identifier, the target application to be controlled, and the behavior to be controlled. One or more traffic control policies can be configured for each client.

[0061] In one embodiment of the present application, according to the target traffic identification information, the process of configuring a traffic control policy for a client in the traffic control device may include the following steps: the operator system obtains a target application identifier and a control operation from the target traffic identification information, the target application identifier is used to identify the identification information of the controlled application, and the control operation is used to indicate the processing operation on the traffic data, and then generates a traffic control policy based on the client identifier, the target application identifier and the control operation and stores it in the traffic control device. The target application identifier can be the name of the application and other information that can directly identify the application. The control operation generally includes blocking traffic or releasing traffic, as well as the corresponding conditional content. According to the client identifier and the target application identifier, one or more policies can be directly determined, and then the corresponding control is specifically executed according to the control operation corresponding to the policy.

[0062] Step S230, obtaining traffic data sent to the client.

[0063] The client accesses the Internet through the operator system. During the access process, the operator system obtains the traffic data sent to the client by the service accessed by the client, that is, the client's downlink data.

[0064] In one embodiment of the present application, obtaining the traffic data sent to the client includes: copying the data transmitted through the communication tunnel to obtain mirrored traffic data; and sending the mirrored traffic data to the traffic control device. Specifically, a mirrored switch is provided in the communication tunnel of the client. All traffic data in the communication tunnel will be forwarded through the mirrored switch. The mirrored switch will mirror the data passing through the communication tunnel to obtain mirrored traffic data. Then, the mirrored switch will send the copied mirrored traffic to the traffic control device so that the traffic control device can identify the mirrored traffic and thus control the traffic data.

[0065] Step S240: performing flow control on the flow data according to the flow control policy corresponding to the client identifier by the flow control device.

[0066] The flow control device is used to control the flow data sent to the client. It is understandable that the flow data sent to the client will include flow data that needs to be controlled and flow data that can be released. The flow control device can parse and analyze the flow data to identify the flow data that needs to be controlled. Specifically, the flow data is parsed and the source network address of the flow data is obtained, and the flow data is judged whether it belongs to the flow that needs to be controlled according to the domain name corresponding to the source network address or the application type or specific application corresponding to the previously stored source network address. For example, the source IP address in the flow data packet is obtained, and then the domain name corresponding to the source IP address is used to judge whether the flow data comes from a video website or a server for providing game services.

[0067] In one embodiment of the present application, the flow control device performs flow control on the flow data according to the flow control policy corresponding to the customer identifier, including: obtaining the corresponding customer identifier according to the network address in the flow data; identifying the application flow characteristics of the flow data to determine the target application identifier corresponding to the flow data; obtaining the corresponding flow control policy according to the customer identifier and the target application identifier; processing the flow data according to the control operation in the corresponding flow control policy. Specifically, the network address can be an IP address assigned to the user. According to the IP address, it can be traced back to the service number (such as a mobile phone number or a broadband account) registered with the operator. Based on the analysis of the Accounting-Request message in the Radius protocol, the user's IP address and service number are extracted from its AVP (key-value pair). The flow control device can parse the copy traffic from the mirror switch and trace back the corresponding customer identifier for subsequent policy control.

[0068] Application traffic feature identification can be performed by traffic control devices or mirror switches. Such devices have the ability to disassemble IP packets layer by layer. For example, an HTTP packet is disassembled layer by layer. At layer 4, it can be determined to be the TCP protocol and the source port and destination port. At layer 5, the URL, request header, request method and other information can be obtained. Through software program configuration, the message feature library of various applications is predefined. When a message that meets the rules is detected, the message is marked as a certain application. The fineness of the message feature library configuration determines the granularity of message sorting. In addition, based on the continuous parsing and recording of a series of messages, deeper information can be analyzed from them. For example, based on the tracking of DNS interactions, the corresponding relationship data between domain names and IP can also be recorded. Based on this data, other TCP messages can be marked according to domain name classification.

[0069] In the embodiment of the present application, the flow control policy is configured in the flow control device of the operator network according to the policy configuration request provided by the user, and the flow data of the client is controlled by the flow control device according to the flow control policy. Since the flow control device is provided and managed by the operator, there is no need to consider the compatibility of the terminal software, and the scope of use is wider. Moreover, there is no need to install software on the terminal, so it will not be cracked by technical means on the terminal to cause control failure, which improves the security and stability of the solution.

[0070] In one embodiment of the present application, the flow control method further includes: receiving a policy deactivation request sent by a client, the policy deactivation request including the client's customer identification and target flow identification information, the target flow identification information being used to identify the flow data to be controlled; determining the corresponding control policy to be deactivated based on the customer identification and the target flow identification information; and deleting the control policy to be deactivated in the flow control device. The customer identification and target flow identification information included in the policy deactivation request can directly determine the flow control policy that you want to stop using. The business system will notify the scheduling server to stop the policy. The scheduling server then configures the flow control device to delete or deactivate the specified flow control policy.

[0071] In one embodiment of the present application, the flow control method further includes: receiving a stop control request sent by the client; closing the communication tunnel corresponding to the client established between the access concentrator and the network server according to the stop control request. The operator system can notify the scheduling server to stop flow control on the client through the business system. The operator system will disconnect the previously established communication tunnel and notify the flow control device to delete the policy content related to the client.

[0072] It should be noted that although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0073] The following introduces the device implementation of the present application, which can be used to execute the flow control method in the above embodiments of the present application. Figure 3 The block diagram of the flow control device in the embodiment of the present application is schematically shown. Figure 3 As shown, the flow control device 300 is applied to an operator system, and the operator system includes a flow control device. The device mainly includes:

[0074] The configuration request module 310 is used to receive a policy configuration request sent by a client, wherein the policy configuration request includes a client identifier and target flow identification information of the client, wherein the target flow identification information is used to identify flow data to be controlled;

[0075] A policy configuration module 320, configured to configure a flow control policy for the client in the flow control device according to the target flow identification information;

[0076] A traffic acquisition module 330, used to acquire traffic data sent to the client;

[0077] The flow control module 340 is used to perform flow control on the flow data according to the flow control policy corresponding to the client identifier through the flow control device.

[0078] In some embodiments of the present application, based on the above technical solution, the policy configuration module 320 includes:

[0079] an identification acquisition unit, configured to acquire a target application identification and a control operation from the target traffic identification information, wherein the target application identification is used to identify identification information of a controlled application, and the control operation is used to indicate a processing operation performed on traffic data;

[0080] A policy generating unit is used to generate a flow control policy according to the client identifier, the target application identifier and the control operation, and store the policy in the flow control device.

[0081] In some embodiments of the present application, based on the above technical solution, the operator system further includes an access concentrator and a network server, and the traffic control device 300 further includes:

[0082] A control request receiving module, used to receive a start control request sent by the client;

[0083] a tunnel establishing module, configured to establish a communication tunnel corresponding to the client between the access concentrator and the network server according to the startup control request, wherein the access concentrator is used to communicate with the client, and the network server is used to communicate with the application service server and the traffic control device;

[0084] The message sending module is used to send the dial-up message corresponding to the communication tunnel to the flow control device, so that the flow control strategy can establish the corresponding relationship between the customer identifier and the network address according to the dial-up message.

[0085] In some embodiments of the present application, based on the above technical solution, the traffic acquisition module 330 includes:

[0086] A mirror copy unit, used for copying the data transmitted through the communication tunnel to obtain mirror traffic data;

[0087] The mirrored traffic sending unit is used to send the mirrored traffic data to the traffic control device.

[0088] In some embodiments of the present application, based on the above technical solution, the flow control module 340 includes:

[0089] An identification acquisition unit, used to acquire a corresponding customer identification according to a network address in the flow data;

[0090] A flow identification unit, used to identify application flow characteristics of the flow data and determine a target application identifier corresponding to the flow data;

[0091] A policy acquisition unit, configured to acquire a corresponding flow control policy according to the client identifier and the target application identifier;

[0092] A control processing unit is used to process the flow data according to the control operation in the corresponding flow control strategy.

[0093] In some embodiments of the present application, based on the above technical solution, the flow control device 300 further includes:

[0094] A deactivation request receiving module, used to receive a policy deactivation request sent by a client, wherein the policy deactivation request includes a client identifier and target flow identification information of the client, wherein the target flow identification information is used to identify flow data to be controlled;

[0095] A deactivation strategy determination module, used to determine a corresponding control strategy to be deactivated according to the customer identifier and the target flow identification information;

[0096] A policy deletion module is used to delete the control policy to be deactivated in the traffic control device.

[0097] In some embodiments of the present application, based on the above technical solution, the flow control device 300 further includes:

[0098] The stop control receiving module is used to receive a stop control request sent by the client;

[0099] The tunnel closing module is used to close the communication tunnel corresponding to the client established between the access concentrator and the network server according to the stop control request.

[0100] 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 performs the operation has been described in detail in the method embodiment and will not be repeated here.

[0101] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.

[0102] It should be noted that Figure 4 The computer system 400 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0103] like Figure 4 As shown, the computer system 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage part 408 to the random access memory (RAM) 403. Various programs and data required for system operation are also stored in the RAM 403. The CPU 401, the ROM 402 and the RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0104] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.

[0105] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 409, and / or installed from a removable medium 411. When the computer program is executed by a central processing unit (CPU) 401, various functions defined in the system of the present application are executed.

[0106] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, - but not limited to - 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 may 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 may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0107] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0108] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0109] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0110] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application.

[0111] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A flow control method, characterized in that: Applied to an operator system, the operator system includes a traffic control device, an access concentrator and a network server, and the method includes: Receive a start control request sent by the client; According to the start control request, a communication tunnel corresponding to the client is established between the access concentrator and the network server, wherein the access concentrator is used to communicate with the client, and the network server is used to communicate with the application service server and the traffic control device; Sending a dial-up message corresponding to the communication tunnel to the flow control device, so that the flow control device can establish a corresponding relationship between the client identifier and the network address according to the dial-up message Receive a policy configuration request sent by a client, wherein the policy configuration request includes a client identifier and target traffic identification information of the client, wherein the target traffic identification information is used to identify traffic data to be controlled; According to the target traffic identification information, configuring a traffic control policy for the client in the traffic control device; Obtaining traffic data sent to the client; The flow control device performs flow control on the flow data according to the flow control policy corresponding to the client identifier.

2. The method according to claim 1, characterized in that The configuring a flow control policy for the client in the flow control device according to the target flow identification information includes: Acquire a target application identifier and a control operation from the target traffic identification information, wherein the target application identifier is used to identify identification information of a controlled application, and the control operation is used to indicate a processing operation to be performed on traffic data; A flow control policy is generated according to the client identifier, the target application identifier and the control operation and is stored in the flow control device.

3. The method according to claim 1, characterized in that The acquiring of the traffic data sent to the client includes: Copying the data transmitted through the communication tunnel to obtain mirrored traffic data; The mirrored traffic data is sent to the traffic control device.

4. The method according to claim 1, characterized in that: The performing flow control on the flow data according to the flow control policy corresponding to the client identifier by the flow control device includes: According to the network address in the flow data, obtaining a corresponding customer identifier; Performing application traffic feature recognition on the traffic data to determine a target application identifier corresponding to the traffic data; Acquire a corresponding flow control strategy according to the client identifier and the target application identifier; The flow data is processed according to the control operation in the corresponding flow control strategy.

5. The method according to claim 1, characterized in that The method further comprises: Receiving a policy deactivation request sent by a client, wherein the policy deactivation request includes a client identifier and target traffic identification information of the client, wherein the target traffic identification information is used to identify traffic data to be controlled; Determining a corresponding control strategy to be deactivated according to the customer identifier and the target flow identification information; The control strategy to be deactivated is deleted in the flow control device.

6. The method according to claim 1, characterized in that The method further comprises: Receiving a stop control request sent by the client; According to the stop control request, the communication tunnel corresponding to the client and established between the access concentrator and the network server is closed.

7. A flow control device, characterized in that: Applied to an operator system, the operator system includes a traffic control device, an access concentrator and a network server, and the device includes: A control request receiving module, used for receiving a start control request sent by a client; a tunnel establishing module, configured to establish a communication tunnel corresponding to the client between the access concentrator and the network server according to the startup control request, wherein the access concentrator is used to communicate with the client, and the network server is used to communicate with the application service server and the traffic control device; A message sending module, used for sending a dial-up message corresponding to the communication tunnel to the flow control device, so that the flow control device can establish a corresponding relationship between the customer identifier and the network address according to the dial-up message; A configuration request module, used for receiving a policy configuration request sent by a client, wherein the policy configuration request includes a client identifier and target flow identification information of the client, wherein the target flow identification information is used for identifying flow data to be controlled; A policy configuration module, configured to configure a flow control policy for a client in the flow control device according to the target flow identification information; A traffic acquisition module, used to acquire traffic data sent to the client; A flow control module is used to perform flow control on the flow data according to the flow control policy corresponding to the client identifier through the flow control device.

8. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to execute the flow control method according to any one of claims 1 to 6 by executing the executable instructions.

9. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the flow control method according to any one of claims 1 to 6 is implemented.