Patent Description:
In a certain application scenario, it is necessary to monitor and control Internet access behavior of a user, that is, to implement Internet access behavior management of the user.

A traditional function of Internet access behavior management is usually integrated in a network device. The network device is deployed at an export of a network used by an Internet device of the user to implement the management of the Internet access behavior. However, a cost of the network device integrated with the function of Internet access behavior management is usually relatively high. When performing Internet access behavior management for users in multiple different networks, it is necessary to configure the network device integrated with the function of Internet access behavior management for each network. The more network devices with the function of Internet access behavior management, the higher the cost of Internet access behavior management. Moreover, it is less flexible to integrate the Internet access behavior management on the network device.

Patent Applicant <CIT> discloses interconnecting external networks with overlay networks in a shared computing environment. It includes: obtaining, by one or more processor, data from a virtual network of a tenant and an identifier of the tenant, where the virtual network of the tenant is one of at least two virtual networks in a shared computing environment where the at least two virtual networks overlay a physical network. Based on obtaining the identifier of the tenant, the method includes setting, by one or more processor, the identifier in metadata of the data and based on the identifier in the metadata, identifying, by the one or more processor, a network connection associated with the tenant. The method also includes identifying, by the one or more processor, a policy of the network connection and processing the data with the policy to create processed data and transmitting, by the one or more processor, the processed data through the network connection.

<CIT> discloses policy-driven switch overlay bypass in a hybrid cloud network environment. Network policies can be used to optimize the flow of network traffic between virtual machines (VMs) in a hybrid cloud environment. One or more policies can drive a virtual switch controller, a hybrid cloud manager, a hypervisor manager, a virtual switch, or other orchestrator to create one or more direct tunnels that can be utilized by a respective pair of VMs to bypass the virtual switch and enable direct communication between the VMs. The virtual switch can send the VMs network and security policies to ensure that these policies are enforced. The VMs can exchange security credentials in order to establish the direct tunnel. The direct tunnel can be used by the VMs to bypass the virtual switch and allow the VMs to communicate with each other directly.

<CIT> discloses hybrid cloud network monitoring system for tenant use. Network traffic in a cloud computing system is monitored in response to a request to capture network traffic of a tenant port of a first virtual machine (VM) executing in the cloud computing system, wherein the first VM is associated with a first tenant organization different from a second organization managing the cloud computing system. A decapsulating VM having a first network interface and a second network interface is instantiated, wherein the decapsulating VM is inaccessible to the first tenant organization. An encapsulated port mirroring session from the tenant port of the first VM to the first network interface of the decapsulating VM is then established. A plurality of packets comprising captured network traffic received via the encapsulated port mirroring session are decapsulated, and the captured network traffic is forwarded via the second network interface of the decapsulating VM to a sniffer VM.

An object of the present disclosure is to provide a system, device, and method for Internet access behavior management, to solve technical problems of high cost and poor flexibility of Internet access behavior management.

The system for Internet access behavior management provided in the embodiments of the present disclosure creates the mirror instance for Internet access behavior management for each tenant, such that the Internet access data of each tenant can be processed independently. The Internet access data between tenants are isolated from each other, thereby improving security. Furthermore, the mirror instance for Internet access behavior management corresponding to the tenant can be flexibly added or deleted, thus improving flexibility of Internet access behavior management.

In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without paying creative labor.

As described in the background, if there is a need to manage the Internet access behavior of a device in the network, the network device integrated with the function of Internet access behavior management needs to be set up at the export of the network. If there are multiple networks that need to be managed, multiple network devices need to be set correspondingly, which results in high cost. In order to solve this problem, the inventor discovers that the function of Internet access behavior management can be realized in a form of software.

One way to realize the function of Internet access behavior management in the form of software is to use a cloud platform to achieve the Internet access behavior management. By building a module that can receive Internet access data and a module that can analyze and process the received Internet access data on the cloud platform, a purpose of managing the device in the network according to a result of the analysis and processing can be realized. However, if there are multiple networks that need to be managed, the analysis and processing module must analyze and process the Internet access data of the multiple networks, which may pose certain security risks.

In order to solve the above technical problem, a system for Internet access behavior management is provided in the present disclosure. A mirror instance for Internet access behavior management corresponding to each tenant is created on the cloud platform, and the mirror instance of Internet access behavior management can realize service of Internet access behavior management for corresponding tenant. Internet access data of the tenant is distributed, by means of a tenant distributor, to the mirror instance for Internet access behavior management corresponding to the tenant. Said method creates the mirror instance for each tenant to implement the service of Internet access behavior management, and does not need the network device integrated with the function of Internet access management, thereby reducing the cost of Internet access behavior management. In addition, the Internet access data of each tenant is processed by an independent mirror instance for Internet access behavior management, the Internet access data between tenants are isolated from each other, thereby improving security. Furthermore, the mirror instance for Internet access behavior management corresponding to the tenant can be flexibly added or deleted, thus improving flexibility of Internet access behavior management.

The technical solution according to the embodiments of the present application will be described clearly and completely as follows in conjunction with the accompany drawings in the embodiments of the present application, so that objectives, characteristics and advantages of the present application can be more obvious. It is obvious that the described embodiments are only a part of the embodiments according to the present application, rather than all of the embodiments. All the other embodiments obtained by those skilled in the art based on the embodiments in the present application without any creative work belong to the scope of protection of the present application.

<FIG> is a schematic diagram of a system for Internet access behavior management disclosed the present disclosure. A tenant manager in the system opens an account for a tenant when receives a request of the tenant for opening an account, and uses a mirror template for Internet access behavior management to create a mirror instance for Internet access behavior management for the tenant.

As illustrated in <FIG>, there are multiple tenants, and the Internet access data of the tenants is distributed to the tenant distributor. After receiving the Internet access data sent by a tenant, the tenant distributor distributes the Internet access data to the mirror instance for Internet access behavior management corresponding to the tenant. The mirror instances for Internet access behavior management analyze and process the Internet access data to realize the service of Internet access behavior management of the tenants. The service of Internet access behavior management may include Internet browsing management, Internet outbound management, Internet application management, Internet traffic management, and Internet access behavior analysis.

In the embodiment illustrated in <FIG>, the mirror instance for Internet access behavior management can be deployed on a public cloud platform, or deployed in a machine room of an Internet Data Center IDC, or deployed on a server on a local network of the user, or deployed in a private cloud platform. The public cloud platform may be a public cloud platform provided by a traditional telecom infrastructure operator, such as China Mobile, China Unicom, or China Telecom. The public cloud platform may also be a local cloud computing platform led by government. The public cloud platform may also be Alibaba Cloud or Tencent Cloud.

<FIG> is a block diagram of a system for Internet access behavior management according to an embodiment of the present disclosure. Internet access behavior management, as a security-as-a-service product under a SaaS service mode, has a resource pooling capability, supports elastic scalability, and is responsible for identifying and controlling Internet traffic and ensuring Internet business security. Moreover, a customer may be divided into multiple tenants according to requirements. Internet traffic of each tenant is processed by an independent mirror instance for Internet access behavior management, and the Internet access data between tenants are isolated from each other,.

As illustrated in <FIG>, the system for Internet access behavior management includes: a mirror template <NUM> for Internet access behavior management, a tenant distributor <NUM>, and a tenant manager <NUM>.

The mirror template <NUM> for Internet access behavior management is deployed in the local network of the user, or deployed in the machine room of the IDC, or deployed in the public cloud platform.

In a possible implementation of the present disclosure, the tenant distributor <NUM> is deployed on the cloud platform, or the tenant distributor <NUM> is deployed in a gateway where the tenant is located.

The mirror template <NUM> for Internet access behavior management is configured to create the mirror instance for Internet access behavior management corresponding to each tenant, to implement the service of Internet access behavior management of the tenant by the mirror instance for Internet access behavior management corresponding to the tenant.

In the embodiment of this application, one tenant corresponds to one administrative management unit. For example, the tenant may be a company organization, or the tenant may be a subsidiary of a group organization, or the tenant may be a department agency of the company organization. The customer may be divided into multiple tenants according to requirements.

For a company or a group with multiple branches, each branch has a separate Internet link, and can independently access the Internet. Each branch has a need for self-management of Internet access behavior. In this application scenario, each branch of the company or the group is regarded as an independent administrative unit, that is, one tenant is created for each branch. The Internet access data of an export of the branch may be diverted to the system for Internet access behavior management for processing. For example, in the example illustrated in <FIG>, tenants <NUM> to <NUM> all belong to the same private network. The tenants <NUM> to <NUM> are different departments within the company, or different subsidiaries within the same group. The Internet access data of each tenant is distributed to the tenant distributor, separately. The tenant distributor distributes the Internet access data of different tenants to different mirror instances for Internet access behavior management for analysis and processing. For example, the Internet access data of tenant <NUM> is sent by the tenant distributor to mirror instance <NUM> for Internet access behavior management for processing, and the Internet access data of tenant <NUM> is sent by the tenant distributor to mirror instance <NUM> for Internet access behavior management for processing. The mirror instance <NUM> for Internet access behavior management and the mirror instance <NUM> for Internet access behavior management send the processed data to the Internet.

As the security-as-a-service product under the SaaS service mode, the system for Internet access behavior management has a mode of multi-tenant service, and uses a management rule included in the mirror instance for Internet access behavior management to implement control plane isolation, traffic isolation, authority isolation, security policy isolation, and log isolation between tenants.

In the SaaS service mode, the system for Internet access behavior management, as the security-as-a-service, operates in the mode of multi-tenant. By configuring separate mirror instances for Internet access behavior management for multiple tenants, configurations of different tenants are saved in different mirror instances for Internet access behavior management to achieve a function of control plane isolation.

In the SaaS service mode, the system for Internet access behavior management, as the security-as-a-service, operates in the mode of multi-tenant. When different tenants use the system for Internet access behavior management at the same time, the mirror instance for Internet access behavior management corresponding to each tenant only process the Internet access data of the tenant to realize a function of the Internet access data isolation.

The tenant distributor distributes the Internet access data of different tenants to the corresponding mirror instance for Internet access behavior management of each tenant.

In the SaaS service mode, the system for Internet access behavior management, as the security-as-a-service, operates in the mode of multi-tenant. When different tenants use the system for Internet access behavior management at the same time, the mirror instance for Internet access behavior management corresponding to each tenant is used to realize a function of authority isolation.

In the SaaS service mode, the system for Internet access behavior management, as the security-as-a-service, operates in the mode of multi-tenant. When different tenants use the system for Internet access behavior management at the same time, the different tenant's own security policy is configured and operated by using different mirror instances for Internet access behavior management. The security policies are isolated between tenants and do not affect each other.

In the SaaS service mode, the system for Internet access behavior management, as the security-as-a-service, operates in the mode of multi-tenant. When different tenants use the system for Internet access behavior management at the same time, the different tenant's own log system is maintained by using different mirror instances for Internet access behavior management. Log information is stored in an independent disk space of the tenant mirror.

The tenant distributor <NUM> is configured to receive Internet access data of the tenant and distribute the Internet access data to the corresponding mirror instance for Internet access behavior management of the tenant.

A mirror instance for Internet access behavior management is created for each tenant. The tenant distributor <NUM> distributes the Internet access data of a certain tenant to the mirror instance for Internet access behavior management corresponding to the tenant for processing.

In an embodiment of the present application, the tenant distributor <NUM> determines, according to a tenant identifier corresponding to the Internet access data, the mirror instance for Internet access behavior management corresponding to the tenant identifier.

For example, a distribution rule is configured in the tenant distributor <NUM>. The distribution rule includes a correspondence relationship between the tenant identifier and the mirror instance for Internet access behavior management. After receiving the Internet access data of the tenant, the tenant distributor <NUM> obtains the tenant identifier corresponding to the Internet access data, finds the mirror instance for Internet access behavior management corresponding to the tenant identifier from the distribution rule, and sends the Internet access data of the tenant to the mirror instance for Internet access behavior management.

The tenant manager <NUM> is configured to provide the tenant with, but not limited to, account opening service, dynamic expansion service, and account cancellation service.

When a new tenant is to be added, a new tenant is created, and the tenant manager <NUM> uses the mirror template <NUM> for Internet access behavior management to create an the mirror instance for Internet access behavior management for the tenant; and establishes a connection between the mirror instance for Internet access behavior management and the tenant distributor <NUM>, so that the tenant distributor <NUM> can send the Internet access data sent by the new tenant to the mirror instance for Internet access behavior management corresponding to the tenant. Where, an operation interface of adding new tenant may be as illustrated in <FIG>.

When a tenant is to be cancelled, the tenant manager <NUM> releases a cloud platform resource occupied by the mirror instance for Internet access behavior management of the tenant. Where, an operation interface of canceling the account may be as illustrated in <FIG>.

After opening the account for the tenant, performance of the mirror instance for Internet access behavior management may be dynamically adjusted according to a bandwidth of the tenant. If a bandwidth demand of the tenant becomes smaller, the bandwidth performance parameter of the mirror instance for Internet access behavior management is adjusted to be lower; if the bandwidth demand of the tenant becomes larger, the bandwidth performance parameter of the mirror instance for Internet access behavior management is adjusted to be higher.

In a possible implementation of the present application, the bandwidth of the tenant may be actively reported by the tenant to the tenant manager <NUM>, or may be obtained by analyzing the Internet access data of the tenant by the mirror instance for Internet access behavior management.

For example, when the new tenant is created, the bandwidth of the tenant is <NUM>, and after a period of time, the bandwidth of the tenant is expanded to <NUM>, then the bandwidth of the mirror instance for Internet access behavior management is adjusted to <NUM>. The mirror instance for Internet access behavior management may dynamically adjust its resource configuration to support the bandwidth performance of <NUM>. For example, an operation interface for adjusting the performance parameter of the system for Internet access behavior management may be as illustrated in <FIG>.

The operation interfaces illustrated in <FIG> may be an operation interface of the tenant manager in the system for Internet access behavior management. An administrator may log in to the system and implement a function of tenant management through the operation interface of the tenant manager.

Of course, in other embodiments of the present application, other performance parameter of the mirror instance for Internet access behavior management may be adjusted.

The system for Internet access behavior management provided in the embodiment of the present disclosure creates the mirror instance for Internet access behavior management for each tenant, such that the Internet access data of each tenant can be processed independently. The Internet access data between tenants are isolated from each other, thereby improving security. Furthermore, the mirror instance for Internet access behavior management corresponding to the tenant can be flexibly added or deleted, thus improving flexibility of Internet access behavior management.

<FIG> is another schematic diagram of the system for Internet access behavior management according to an embodiment of the present disclosure. In this embodiment, relevant content of a diversion terminal is added on the basis of the system illustrated in <FIG>.

The mirror instance for Internet access behavior management is a virtual device, unlike a hardware device. A hardware security device is usually deployed on the network of the tenant. For example, the hardware security device is usually deployed at the export of the network of the tenant as a bridge or a gateway. The Internet traffic of the tenant flows through the bridge or the gateway. Therefore, the Internet access data of the tenant can be controlled. However, the mirror instance for Internet access behavior management may be deployed on the private cloud platform of the tenant or on the public cloud platform (such as Alibaba Cloud, Amazon Cloud, or Tencent Cloud). Under normal circumstances, the Internet access data of the tenant does not flow through the mirror instance for Internet access behavior management. If there is a need to control the Internet access data of the tenant through the mirror instance for Internet access behavior management, the Internet access data of the tenant needs to be diverted to the mirror instance for Internet access behavior management.

The diversion terminal <NUM> is configured to divert the Internet access data of the tenant to the tenant distributor <NUM> according to a pre-configured diversion tunnel.

In an application scenario where the mirror instance for Internet access behavior management is deployed in the private cloud, the diversion terminal <NUM> may be a common router.

In an application scenario where the mirror instance for Internet access behavior management is deployed at a remote end (i.e., the public cloud), the diversion terminal <NUM> is a router that supports a tunneling protocol. The tunneling protocol includes but not limited to Layer Two Tunneling Protocol L2TP, Generic Routing Encapsulation GRE protocol, Virtual Private Dial-up Networks VPDN protocol.

An L2TP tunnel, a GRE tunnel or a VPDN tunnel is established on a network egress router of the tenant to directly divert the Internet access data of the tenant to the tenant distributor <NUM>.

If only part of the Internet access data of the tenant needs to be diverted to the tenant distributor, policy based routing PBR may be started on the network egress router of the tenant. When configuring the PBR, only the Internet access data of a designated IP network segment is sent to the L2TP tunnel, GRE tunnel or VPDN tunnel, so that the mirror instance for Internet access behavior management corresponding to the tenant only controls designated Internet access data of the tenant.

For example, in an example illustrated in <FIG>, only non-video traffic data in the Internet access data of the tenant is controlled. By configuring the PBR, only the non-video traffic data of the tenant is diverted to the system for Internet access behavior management. No video traffic data needs to be diverted to the system for Internet access behavior management.

In an embodiment of the present application, the tenant identifier based on which the tenant distributor <NUM> distributes the Internet access data may be a tenant account number, for example, an account number assigned to the tenant when the tenant is created. The account number is carried in the Internet access data of the tenant. The tenant distributor <NUM> extracts the tenant account number from the Internet access data, and sends the Internet access data to the mirror instance for Internet access behavior corresponding to the tenant account number.

In another embodiment of the present application, the tenant identifier may be an IP address of an intranet used by the tenant.

In an application scenario of the present application, the Internet access data of the tenant is sent to the tenant distributor <NUM> through the L2TP tunnel. A Tunnel ID and a Session ID in a L2TP protocol message uniquely correspond to an L2TP dial-up account number. After the L2TP dial-up succeeds, the tenant distributor <NUM> distinguishes different tenants according to the Tunnel ID and the Session ID. That is, the Tunnel ID and the Session ID are used as the tenant identifier.

In another application scenario of the present application, the Internet access data of the tenant is sent to the tenant distributor <NUM> through the VPDN tunnel. VPDN is based on the L2TP protocol. Therefore, the VPDN tunnel, like the L2TP tunnel, also uses the Tunnel ID and Session ID as the tenant identifier.

In another application scenario of this application, the Internet access data of the tenant is sent to the tenant distributor <NUM> through the GRE tunnel. The tenant is distinguished according to a secret key KEY in a GRE protocol message, that is, the secret key KEY is used as the tenant identifier.

The system for Internet access behavior management provided in this embodiment diverts the Internet access data of the tenant into the system for Internet access behavior management through the diversion terminal, and then system for Internet access behavior management controls the Internet access data of the tenant to ensure security of Internet access business.

The mirror instance for Internet access behavior management described in the foregoing embodiment may also implement the following functions: application control, P2P application identification, bandwidth management, content filtering, HTTPS encryption filtering, online user management, and identification and authentication.

Internet access behavior management, as the security-as-a-service product under the SaaS service mode, has the following functions in a serial access mode:.

Internet access behavior management, as the security-as-a-service product under the SaaS service mode, has a Peer-to-Peer (P2P) application identification function, searches for a corresponding intranet IP port based on a received data packet, and sets a port counter and a set value of the counter. When the number of User Datagram Protocol (UDP) connections that are simultaneously online with the port reaches the set value, it is determined that a connection of the data packet is a P2P application connection. The number of UDP connections that are simultaneously online with the port can be counted through the port counter.

Internet access behavior management, as the security-as-a-service product under the SaaS service mode, the system should manage (such as restrict, guarantee, and priority set) bandwidth based on conditions such as IP address, users, groups, time periods, and application protocols in the serial access mode. Based on a bandwidth occupancy rate and a bandwidth quota corresponding to the data transmission channel, a change speed of the bandwidth quota is adjusted according to a relationship between the bandwidth occupancy rate and a threshold interval of the bandwidth occupancy rate, such that the bandwidth resources can be used more reasonable, thereby improving bandwidth utilization.

Internet access behavior management, as the security-as-a-service product under the SaaS service mode, should filter the following network behaviors in the serial access mode:
email sending and receiving, web chat, HTTP file transfer, HTTPS encrypted web access, FTP file transfer, remote terminal protocol TELNET, form submission, and search engine keywords, where FTP represents File Transfer Protocol.

Internet access behavior management, as the security-as-a-service product under the SaaS service mode, should have a function of HTTPS encrypted traffic audit, and may extract a SNI server name indication field from a connection request data packet sent by the user, and determine a domain name of the website to be visited from the extracted SNI server name indication field. If there is no SNI server name indication field in the connection request packet, the website certificate information in the connection request packet is obtained, and the obtained website certificate information is parsed to determine the domain name of the website to be visited. If the determined website domain name matches a keyword, the connection request packet is intercepted to achieve a purpose of website filtering.

Internet access behavior management, as the security-as-a-service product under the SaaS service mode, should implement the following functions under serial access and bypass monitoring modes:.

Where, AD represents Active Directory; LDAP represents Lightweight Directory Access Protocol; RADIUS represents Remote Authentication Dial In User Service; POP3 represents Post Office Protocol-Version <NUM>; ESMTP represents Extended SMTP; SOCKS represents Protocol for sessions traversal across firewall securely; and PPPoE represents Point to Point Protocol over Ethernet.

Before the user is authenticated, the system should identify the user and grant corresponding permissions.

The system should successfully authenticate each user before allowing the user to perform any operation.

The system should save a security attribute table for each user. Content of the attribute table includes but not limited to: user ID authorization information or user group information, and other security attributes.

When the user authentication fails up to a specified number of times, the system should take measures to prevent the user from continuing to try to authenticate and generate an audit log for relevant information.

In an embodiment of the present application, the system for Internet access behavior management provided in the foregoing embodiment may further include an authentication access module, and the authentication access module should have the following functions:
Internet access behavior management, as the security-as-a-service product under the SaaS service mode, should have dual-stack authentication of IPv4 and IPv6. When a dual-stack host initiates an IPv6 connection request, an HTTP redirection command is replied to the dual-stack host. A connection of the dual-stack host is redirected to an IPv4 authentication page generated by the gateway by redirection of the HTTP protocol. The dual-stack host initiates an IPv4 connection request according to the HTTP redirection command. A destination address of the IPv6 connection is saved in the redirected IPv4 authentication page. The IPv4 connection request is authenticated.

In a possible implementation manner of the present application, the authentication access module may be integrated in the tenant distributor, or the authentication access module may be a separate module independent of the tenant distributor.

In another embodiment of the present application, the system for Internet access behavior management provided in the foregoing embodiment may further include a link selection module. The link selection module has the following functions.

Internet access behavior management, as the security-as-a-service product under the SaaS service model, should have a function of link routing. After the accessing user is successfully authenticated, an authentication method and a user attribute are determined based on an IP address of the accessing user extracted from the data packet. A line corresponding to the accessing user is matched based on the authentication method and the user attribute. The data packet is sent through a network export corresponding to the line, thereby realizing a more flexible routing method.

In a possible implementation manner of the present application, the link selection module may be integrated in the diversion terminal, or the link selection module may be a separate module independent of the diversion terminal.

A method for Internet access behavior management, which is applied to the tenant distributor in the system for Internet access behavior management disclosed in the above embodiment, is further provided in this application. A process of this method is illustrated in <FIG>, including steps S901 to S903.

In step S901, the tenant distributor receives the Internet access data of the tenant.

A process of receiving the Internet access data by the tenant distributor refers to a process of diverting the Internet access data of the tenant to the tenant distributor. In order to implement this process, a diversion tunnel between the tenant and the tenant distributor needs to be configured in advance, and the Internet access data of the tenant is transmitted to the tenant distributor through the diversion tunnel. A router of the tenant is set to enable PBR, and distributes the Internet access data to an interface of the pre-configured diversion tunnel, and then transmits the Internet access data to the tenant distributor through the diversion tunnel.

The diversion tunnel in this embodiment may be the L2TP tunnel, the GRE tunnel or the VPDN tunnel.

In step S902, the mirror instance for Internet access behavior management corresponding to the tenant is determined.

In this embodiment, the tenant distributor determines the corresponding mirror instance for Internet access behavior management by acquiring the tenant identifier corresponding to the Internet access data.

The tenant identifier may be the tenant account number, for example, the account number assigned to the tenant when the tenant is created. The account number is carried in the Internet access data of the tenant. The tenant distributor extracts the tenant account number from the Internet access data, and sends the Internet access data to the mirror instance for Internet access behavior corresponding to the tenant account number.

In another application scenario, the Internet access data of the tenant is sent to the tenant distributor through the L2TP tunnel. The Tunnel ID and the Session ID in the L2TP protocol message uniquely correspond to the L2TP dial-up account number. After the L2TP dial-up succeeds, the tenant distributor <NUM> distinguishes different tenants according to the Tunnel ID and the Session ID. That is, the Tunnel ID and the Session ID are used as the tenant identifier.

In another application scenario of the present application, the Internet access data of the tenant is sent to the tenant distributor through the VPDN tunnel. VPDN is based on the L2TP protocol. Therefore, the VPDN tunnel, like the L2TP tunnel, also uses the Tunnel ID and Session ID as the tenant identifier.

In another application scenario of this application, the Internet access data of the tenant is sent to the tenant distributor through the GRE tunnel. The tenant is distinguished according to the secret key KEY in the GRE protocol message, that is, the secret key KEY is used as the tenant identifier.

In step S903, the Internet access data is distributed to the mirror instance for Internet access behavior management corresponding to the tenant.

In this embodiment, the tenant distributor realizes the isolation of Internet access data between tenants by distributing the Internet access data, which improves security.

A method for Internet access behavior management, which is applied to the above system, is also provided in another aspect of this application. The process is illustrated in <FIG> and includes steps S1001 to S1002.

In step S1001, the mirror instance for Internet access behavior management receives the Internet access data of the tenant distributed by the tenant distributor.

In an embodiment of this application, one tenant uniquely corresponds to one mirror instance for Internet access behavior management.

In step S1002, the service of Internet access behavior management of the tenant is implemented according to the received Internet access data.

After receiving the Internet access data, the mirror instance for Internet access behavior management may analyze and process the Internet access data according to a manner preset by the tenant, for example, analyze traffic usage of the tenant, record an access record of the tenant. The Internet access behavior management of the tenant is implemented based on these analysis and processing.

During processing, each mirror instance for Internet access behavior management only analyzes the Internet access data of the tenant corresponding to the mirror instance. Because of a role of the tenant distributor, the Internet access data of other tenants will not be sent to the mirror instance for Internet access behavior management. Therefore, the isolation of Internet access data of tenants is realized.

In addition, the mirror instance for Internet access behavior management also includes a management rule for this tenant. According to the rule, the mirror instance for Internet access behavior management realizes control plane isolation, traffic isolation, authority isolation, security policy isolation, and log isolation among multiple tenants.

In another application scenario of this application, the mirror instance for Internet access behavior management may also implement functions such as web filtering, application control, P2P application identification, bandwidth management, content filtering, HTTPS encryption filtering, online user management, and identification and authentication, thereby improving the Internet access behavior management of the tenant.

A method for managing a mirror instance for Internet access behavior management, which is applied to the tenant manager in the above system, is further provided in another aspect of this application. A process of this method is illustrated in <FIG>, including steps S1101 to S1102.

In step S1101, a request of adding a new tenant is received, a mirror instance for Internet access behavior management for the new tenant is created on the cloud platform in response to the request, and a communication connection between the tenant distributor and the mirror instance for Internet access behavior management is established.

After receiving the request of adding the new tenant, the mirror instance for Internet access behavior management for the new tenant is create by using the mirror template for Internet access behavior management. Because the mirror instance for Internet access behavior management needs to receive the Internet access data of the tenant, it is necessary to establish a communication connection between the tenant distributor and the mirror instance for Internet access behavior management to ensure normal transmission of Internet access data.

In step S1102, a correspondence relationship between the new tenant and the mirror instance for Internet access behavior management for the new tenant is configured for the tenant distributor.

After the new tenant is added, the correspondence relationship between the mirror instance for Internet access behavior management and the tenant needs to be created in the tenant distributor, so that the tenant distributor can find the tenant after receiving the Internet access data.

Furthermore, the tenant distributor can also assign an account number to the new tenant. The account number can distinguish the new tenant. The account number may be an L2TP dial-up account number. The Tunnel ID and Session ID in the L2TP protocol message uniquely correspond to one L2TP dial-up account number. The tenant establishes an L2TP tunnel with the tenant distributor through the dial-up account number to realize the diversion of the Internet access data of the tenant to the tenant distributor. This account number may also be used as the tenant identifier. The tenant distributor finds the corresponding mirror instance for Internet access behavior management according to the tenant identifier to realize the distribution of Internet access data.

Of course, the tenant identifier in the embodiments of the present application may also be implemented in many other forms. For specific content, refer to the above-mentioned embodiments.

When creating the mirror instance for Internet access behavior management for the new tenant, in order to ensure resource utilization, a parameter of the mirror instance for Internet access behavior management is usually set according to the bandwidth, link and other parameters reported by the tenant, so that the mirror instance for Internet access behavior management can meet requirements for timely and effective processing of the Internet access data of the tenant, without excessive resource allocation for the tenant which results in waste of resources. However, a situation of the tenant is not static, the tenant often expand bandwidth or change a form of link due to business needs, such as replacing the L2TP tunnel with the GRE tunnel. In order to enable the mirror instance for Internet access behavior management to provide a good service to the tenant, it is necessary to dynamically adjust the configuration parameter of the mirror instance for Internet access behavior management.

For example, when creating a new tenant, the bandwidth of the tenant is <NUM>, and the tenant expands to <NUM> in the second year, then the bandwidth of the mirror instance for Internet access behavior management corresponding to the tenant is adjusted to <NUM> through the operation interface provided by the tenant manager. After receiving an adjustment instruction, the tenant manager schedules more resources to the mirror instance for Internet access behavior management for using, thereby realizing dynamic adjustment of the parameters of the mirror instance for Internet access behavior management.

When the tenant actively ends a lease relationship, or when lease time of the tenant expires, or the tenant manager finds that some tenants have bad records, such as defaulting on payment, the tenant manager can log off the corresponding tenant. The tenant manager deletes the tenant account number from a tenant list, and releases the resources occupied by the mirror instance for Internet access behavior management corresponding to the tenant.

<FIG> is a structural schematic diagram of a device for Internet access behavior management disclosed in the present disclosure. The device includes a receiving module <NUM>, a determining module <NUM>, and a distribution module <NUM>.

The receiving module <NUM> is configured to receive the Internet access data of the tenant.

The determining module <NUM> is configured to determine the mirror instance for Internet access behavior management corresponding to the tenant.

The distribution module <NUM> is configured to distribute the Internet access data to the mirror instance for Internet access behavior management corresponding to the tenant, where the Internet access data is a basis for the mirror instance for Internet access behavior management to implement the service of Internet access behavior management of the tenant.

The receiving module <NUM> is specifically configured to:.

The determining module <NUM> includes: an obtaining sub-module <NUM> and a determining sub-module <NUM>.

The obtaining sub-module <NUM> is configured to obtain the tenant identifier corresponding to the Internet access data.

The determining sub-module <NUM> is configured to determine the mirror instance for Internet access behavior management corresponding to the tenant identifier.

A workflow of the device for Internet access behavior management disclosed in this embodiment may refer to the method embodiment illustrated in <FIG>, and the specific content is not repeated here.

<FIG> is a structural schematic diagram of another device for Internet access behavior management disclosed in the present disclosure. The device includes a receiving module <NUM> and a service providing module <NUM>.

The receiving module <NUM> is configured to receive the Internet access data of the tenant distributed by the tenant distributor.

The service providing module <NUM> is configured to implement the service of Internet access behavior management of the tenant according to the received Internet access data.

<FIG> is a schematic diagram of a device for managing the mirror instance for Internet access behavior management disclosed in the present disclosure. The device includes a request receiving module <NUM>, an instance creation module <NUM>, and a correspondence relationship creation module <NUM>.

The request receiving module <NUM> is configured to receive the request of adding the new tenant.

The instance creation module <NUM> is configured to create the mirror instance for Internet access behavior management for the new tenant on the cloud platform in response to the request, and establish the communication connection between the tenant distributor and the mirror instance for Internet access behavior management.

The correspondence relationship creation module <NUM> is configured to configure, for the tenant distributor, the correspondence relationship between the new tenant and the mirror instance for Internet access behavior management created for the new tenant.

The request receiving module is further configured to receive a request of cancelling a tenant.

The device further includes a resource release module <NUM> configured to release a cloud platform resource occupied by the mirror instance for Internet access behavior management corresponding to the tenant in response to the request.

The device further includes a parameter adjustment module <NUM> configured to adjust the parameter of the mirror instance for Internet access behavior management.

In another aspect, a device for Internet access behavior management, which is used to implement the function of the tenant distributor, is further provided in the present application. The device may include a processor and a memory. Where programs are stored in the memory; the processor executes the programs in the memory to implement the following steps:.

In another aspect, another device for Internet access behavior management, which is used to implement the function of the mirror instance for Internet access behavior management, is further provided in the present application. The device may include a processor and a memory. Where programs are stored in the memory; the processor executes the programs in the memory to implement the following steps:.

The processor in this application may be a CPU, or an MCU, or, may be a combination of a CPU and an MCU.

The memory may include a non-permanent memory, a random access memory (RAM), and/or a non-volatile memory in a computer readable medium, such as a read-only memory (ROM) or a flash memory (flash RAM). The memory includes at least one Memory chip.

A storage medium executable by a computing device is further provided in the present application, the storage medium stores a program that, when executed by the computing device, implements the method for Internet access behavior management provided by any of the foregoing embodiments.

Another storage medium executable by a computing device is further provided in the present disclosure, and the storage medium stores a program that, when executed by the computing device, implements the method for managing the mirror instance for Internet access behavior management provided by any of the foregoing embodiments.

For the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described sequence of actions, because according to the present invention, some steps can be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the involved actions and modules are not necessarily required by the present invention.

It should be noted that the above embodiments in this specification are described in a progressive manner. Each of the embodiments is mainly focused on describing its differences from other embodiments, and references may be made among these embodiments with respect to the same or similar portions among these embodiments. Since device embodiments are similar to method embodiments, the description thereof is relatively simple, and reference may be made to the description of the method embodiments for relevant parts.

The steps in the method of each embodiment of the present disclosure can be adjusted, merged, and deleted in order according to actual needs.

The modules and sub-modules in the devices and terminals of the embodiments of the present disclosure can be adjusted, merged, and deleted in order according to actual needs.

In the several embodiments provided in the present disclosure, it should be understood that the disclosed terminal, device, and method may be implemented in other ways. For example, the terminal embodiments described above are only illustrative. For example, the division of modules or sub-modules is only a logical function division. In actual implementation, there may be other division modes, for example, multiple sub-modules or modules may be combined or integrated into another module, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical, mechanical or other forms.

The modules or sub-modules described as separate components may or may not be physically separate, and the components as modules or sub-modules may or may not be physical modules or sub-modules, that is, they may be located in one place, or they may be distributed to multiple network modules or sub-modules. Some or all of the modules or sub-modules may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

In addition, each functional module or sub-module in each embodiment of the present disclosure may be integrated into one processing module, or each module or sub-module may exist alone physically, or two or more modules or sub-modules may be integrated in one module. The above-mentioned integrated modules or sub-modules can be implemented in the form of hardware or software functional modules or sub-modules.

For example, the mirror template for Internet access behavior management, the tenant distributor, and the tenant manager contained in the system for Internet access behavior management may be integrated into a single module, or according to the special needs of the actual situation, the mirror template for Internet access behavior management, the tenant distributor, and the tenant manager are set in different modules under the distributed architecture based on the cloud platform, and there is no specific limitation here.

Claim 1:
A system for Internet access behavior management comprising:
a mirror template (<NUM>) for Internet access behavior management configured to create a mirror instance for Internet access behavior management corresponding to each of one or more tenants, to implement service of Internet access behavior management of the tenant by the mirror instance for Internet access behavior management corresponding to the tenant;
a tenant distributor (<NUM>) configured to receive Internet access data of the tenant, obtain a tenant identifier corresponding to the Internet access data, determine the mirror instance for Internet access behavior management corresponding to the tenant identifier, and distribute the Internet access data to the mirror instance for Internet access behavior management corresponding to the tenant identifier, wherein the tenant identifier comprises: at least one of an account number assigned by a tenant manager to the tenant, an IP address of the tenant, and an identifier of a tunnel through which the Internet access data of the tenant is sent; and
the tenant manager (<NUM>) configured to provide the tenant with, but not limited to, account opening service, dynamic expansion service, and account cancellation service;
a diversion terminal (<NUM>) configured to divert the Internet access data of the tenant to the tenant distributor according to a pre-configured diversion tunnel; wherein the diversion tunnel comprises a Layer Two Tunneling Protocol, L2TP, tunnel or a Generic Routing Encapsulation, GRE, tunnel; and the diversion terminal (<NUM>) is further configured to distribute the Internet access data of the tenant to the L2TP tunnel or the GRE tunnel through Policy Based Routing, PBR, of a router, and divert the Internet access data of the tenant to the tenant distributor through the L2TP tunnel or the GRE tunnel.