Internet behavior management method and system
By creating an online behavior management virtual machine in a subnet, it solves the resource waste and performance bottleneck problems of traditional online behavior management systems, achieves rapid deployment and cost reduction, supports horizontal expansion and traffic decoupling of multiple subnets, and enhances management and reporting accuracy.
Patent Information
- Application Number
- PCT/CN2023/143244
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-13
- Filing Date
- 2023-12-29
- Publication Date
- 2024-10-31
AI Technical Summary
Traditional Internet access behavior management systems need to replace the original gateway equipment, resulting in a waste of resources and high transformation costs. They are also unable to achieve unified management and traffic decoupling of multiple Internet exits, resulting in performance bottlenecks and difficulty in expansion.
By creating Internet access behavior management virtual machines in the subnet, routing policies are used to introduce traffic into the virtual machines, avoiding the cumbersome operation of transforming the subnet, achieving rapid deployment and reducing costs, and processing traffic through traffic management policies to generate management reports.
It achieves rapid deployment and cost reduction of online behavior management, supports horizontal expansion of multiple subnets, decouples control plane and data plane traffic, and enhances administrators' unified management and accurate reporting capabilities.
Smart Images

Figure CN2023143244_31102024_PF_FP_ABST
Abstract
Description
Internet behavior management method and system Technical Field
[0001] The present invention relates to the technical field of computer technology, and in particular to a method and system for managing online behavior. Background Art
[0002] Internet behavior management is a system that audits and controls user computers. By capturing, parsing, and analyzing user Internet traffic, it visualizes and accurately traces traffic. It also analyzes user behavior, audits, and intercepts traffic, allowing administrators to regulate user Internet behavior. Traditional Internet behavior management systems primarily rely on deploying hardware gateway boxes at Internet exits to centralize traffic and implement auditing and control. However, this requires replacing the original gateway device, resulting in a waste of resources. Furthermore, when there are multiple Internet exits, the network must be modified to integrate the Internet exits into a single gateway. This modification method is costly, time-consuming, and labor-intensive.
[0003] Summary of the Invention
[0004] In view of this, an embodiment of the present invention provides an Internet behavior management method and system. By applying the solution provided by the present invention, an Internet behavior management virtual machine is created based on the subnet, and the routing policy is sent to the routing device. The routing device allocates the Internet behavior management virtual machine to the subnet, and the Internet behavior traffic of the subnet is introduced into the Internet behavior management virtual machine, eliminating the tedious operation of modifying the existing subnet or VPC, achieving fast and easy deployment, and reducing costs.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] A method for managing online behavior, comprising:
[0007] Determine each subnet and create at least one Internet behavior management virtual machine based on each subnet;
[0008] Sending a preset routing policy to a preset routing device, triggering the routing device to allocate an Internet access behavior management virtual machine to each of the subnets based on the routing policy;
[0009] The preset traffic management strategy is sent to each of the Internet behavior management virtual machines, so that each of the Internet behavior management virtual machines obtains the Internet behavior traffic of the corresponding subnet based on the traffic management strategy, processes the Internet behavior traffic, and obtains an Internet behavior traffic management report.
[0010] Optionally, the method described above triggers the routing device to allocate an Internet access behavior management virtual machine to each subnet based on the routing policy, including:
[0011] The routing device assigns a subnet number to each of the subnets, and assigns a machine number to each of the Internet behavior management virtual machines;
[0012] Based on the routing policy, the network segments of each subnet are split to obtain each split network segment of each subnet, and based on the subnet number of each subnet and the machine number of each Internet behavior management virtual machine, an Internet behavior management virtual machine is allocated to each split network segment;
[0013] For each of the split network segments, the Internet access behavior management virtual machine allocated to the split network segment is determined to be the Internet access behavior management virtual machine allocated to the subnet to which the split network segment belongs.
[0014] Optionally, the method further includes allocating an Internet behavior management virtual machine to each of the split network segments based on the subnet number of each subnet and the machine number of each Internet behavior management virtual machine, including:
[0015] Based on the machine number of each of the Internet behavior management virtual machines, sorting the Internet behavior management virtual machines to obtain a virtual machine sequence;
[0016] For each of the subnets, sorting the split network segments of the subnet to obtain a first network segment sequence of the subnet;
[0017] Based on the subnet number of each subnet, the network segment subsequence of each subnet is sorted to obtain a second network segment queue;
[0018] Determine the Internet behavior management virtual machine that ranks first in the virtual machine sequence as the target Internet behavior management virtual machine;
[0019] Determining whether there is an unallocated split network segment in the second network segment queue;
[0020] If there is an unallocated split network segment in the second network segment queue, the split network segment that is at the front of the second network segment queue and is in an unallocated state is allocated to the target Internet behavior management virtual machine, and the split network segment is marked as allocated;
[0021] Determine whether the target Internet behavior management virtual machine is the Internet behavior management virtual machine at the end of the virtual machine sequence;
[0022] If the target Internet behavior management virtual machine is the Internet behavior management virtual machine at the end of the virtual machine sequence, then returning to the step of determining the Internet behavior management virtual machine at the first place in the virtual machine sequence as the target Internet behavior management virtual machine;
[0023] If the target Internet behavior management virtual machine is not the Internet behavior management virtual machine at the end of the virtual machine sequence, the Internet behavior management virtual machine next to the target Internet behavior management virtual machine will be determined as the new target Internet behavior management virtual machine, and the process will return to determine whether there are any split network segments in the second network segment queue that are in an unallocated state, until all the split network segments in the second network segment queue are in an allocated state.
[0024] Optionally, the method described above includes sending the preset traffic management policy to each of the Internet behavior management virtual machines, including:
[0025] Establishing a persistent connection with each of the Internet behavior management virtual machines;
[0026] Through each of the long connections, a traffic management strategy is sent to each of the Internet behavior management virtual machines.
[0027] Optionally, the method described above includes enabling each of the Internet behavior management virtual machines to obtain the Internet behavior traffic of the corresponding subnet based on the traffic management policy, including:
[0028] For each of the Internet behavior management virtual machines, the Internet behavior management virtual machine determines each communication connection of the corresponding subnet, processes the data flow in each of the communication connections based on the traffic management strategy, obtains the behavior data of each of the communication connections, and determines the behavior data of each of the communication connections as Internet behavior traffic.
[0029] Optionally, the method described above processes the Internet traffic flow to obtain an Internet traffic flow management report, including:
[0030] Based on the behavior data of each communication connection in the Internet behavior traffic and the identification information of the communication connection, at least one event report of the communication connection is generated, and the event reports are integrated into an Internet behavior traffic management report.
[0031] The above method may optionally further include:
[0032] Send user information, desktop information and network information to each of the Internet behavior management virtual machines.
[0033] The above method may optionally further include:
[0034] Sending a query instruction to the Internet behavior management virtual machine;
[0035] Trigger the Internet behavior management virtual machine to obtain the source IP in the query instruction, determine the event report corresponding to the source IP in the Internet behavior traffic management report of the Internet behavior management virtual machine, determine the user data corresponding to the source IP in the user information, determine the desktop data corresponding to the source IP in the desktop information, and determine the network data corresponding to the source IP in the network information.
[0036] An Internet behavior management system, the system comprising a management station, a routing device, a plurality of subnets, and at least one Internet behavior management virtual machine created by the management station based on the number of subnets;
[0037] Establishing a long connection between the management console and each of the Internet behavior management virtual machines;
[0038] The management station is used to send routing policies to the routing devices, and send traffic management policies and user application information to each of the Internet behavior management virtual machines;
[0039] The routing device is used to allocate an Internet access behavior management virtual machine to each of the subnets based on the routing policy;
[0040] The Internet behavior management virtual machine is used to obtain the Internet behavior traffic of the subnet corresponding to it, and process the Internet behavior traffic based on the traffic management strategy to obtain an Internet behavior traffic management report.
[0041] The above system may optionally further include:
[0042] switch;
[0043] The switch is used to receive data sent by each of the Internet behavior management virtual machines and send the received data to a preset database server.
[0044] Compared with the prior art, the present invention has the following advantages:
[0045] The present invention provides an Internet behavior management method and system, comprising: determining each subnet and creating at least one Internet behavior management virtual machine based on each subnet; sending a preset routing policy to a routing device, triggering the routing device to allocate an Internet behavior management virtual machine to each subnet based on the routing policy; sending a preset traffic management policy to each Internet behavior management virtual machine, so that each Internet behavior management virtual machine obtains the Internet behavior traffic of its corresponding subnet based on the traffic management policy, processes the Internet behavior traffic, and obtains an Internet behavior traffic management report. The present invention creates an Internet behavior management virtual machine, allocates an Internet behavior management virtual machine to each subnet, and introduces the Internet behavior traffic of the subnet into the Internet behavior management virtual machine, so that the Internet behavior management virtual machine processes the Internet behavior traffic of its corresponding subnet, thereby eliminating the need for tedious operations to modify the subnet, and the deployment process is simple and fast, without requiring high investment costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0047] FIG1 is a flow chart of a method for managing online behavior provided by an embodiment of the present invention;
[0048] 2 is a flow chart of a method for triggering a routing device to allocate an Internet access behavior management virtual machine to each subnet based on a routing policy according to an embodiment of the present invention;
[0049] 3 is a flowchart of a method for allocating an Internet behavior management virtual machine to each split network segment based on the subnet number of each subnet and the machine number of each Internet behavior management virtual machine provided by an embodiment of the present invention;
[0050] FIG4 is a schematic diagram of the structure of an Internet behavior management system provided by an embodiment of the present invention;
[0051] FIG5 is a diagram illustrating an example scenario of generating a data message according to an embodiment of the present invention;
[0052] FIG6 is a diagram illustrating an example scenario of querying information provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0054] In this application, the terms "comprises," "comprising," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0055] In addition to the problems described in the background technology, an Internet behavior gateway is deployed at each exit. Since multiple Internet behavior devices are independent of each other, each device acts as both a control device and a forwarding device, and it is impossible to achieve decoupling of control plane traffic and data plane traffic, and the administrator cannot uniformly configure and manage. In addition, when the number of single intranet computers increases, large business traffic is likely to occur, and a single Internet behavior management gateway device is likely to cause performance bottlenecks, and this architecture is not convenient for expanding Internet behavior management devices. When the desktop information, user information, and network information of the intranet desktop change frequently, the administrator cannot automatically obtain it in the first time, and thus cannot effectively associate the events generated by the traffic with the desktop information, user information, and network information, resulting in the inability to achieve multi-dimensional management and auditing, and also the inability to achieve accurate traceability and display of reports.
[0056] In order to solve the problems in the background technology and the above-mentioned problems, the present invention provides an Internet behavior management solution, which creates an Internet behavior management virtual machine based on the subnet, sends the routing policy to the routing device, and the routing device allocates the Internet behavior management virtual machine to the subnet, and introduces the Internet behavior traffic of the subnet into the Internet behavior management virtual machine, eliminating the tedious operation of modifying the existing subnet or VPC, achieving fast and easy deployment and reducing costs.
[0057] The present invention can be used in a variety of general-purpose or special-purpose computing device environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multi-processor devices, and distributed computing environments including any of the above.
[0058] 1 , which is a flow chart of a method for managing online behavior according to an embodiment of the present invention, is described in detail as follows.
[0059] S101. Determine each subnet and create at least one Internet behavior management virtual machine based on each subnet.
[0060] The method provided by the present invention can be applied to an OpenStack management console.
[0061] Each subnet is a subnet that needs to be processed by the OpenStack management console.
[0062] Create at least one Internet behavior management virtual machine based on the number of each subnet.
[0063] Exemplarily, if there are n subnets, the number of Internet behavior management virtual machines to be created is p, where p*L≥n and (p - 1)*L < n, and L is the number of subnets that each Internet behavior management virtual machine can process.
[0064] Furthermore, the management console will create one Internet behavior management virtual machine based on one or more subnets, and the number of created machines can be calculated according to the following method.
[0065] The upper limit of the number of virtual machines for each subnet is M, and the upper limit of the number of cloud desktops processed by each Internet behavior management virtual machine is N. Then the number of subnets that each Internet behavior management virtual machine can process is L, L*M <= N, and (L + 1)*M > N. If there are n subnets, the number of Internet behavior management virtual machines to be created is p, p*L >= n, and (p - 1)*L < n.
[0066] The dynamic scaling of the Internet behavior management virtual machine effectively saves the resource pool while ensuring horizontal scalability.
[0067] S102. Send a preset routing policy to a preset routing device to trigger the routing device to allocate Internet behavior management virtual machines for each subnet based on the routing policy.
[0068] After the management console sends the routing policy to the preset routing device, it triggers the routing device to allocate Internet behavior management virtual machines for each subnet based on the routing policy.
[0069] Referring to FIG. 2, it is a flowchart of the method for triggering the routing device to allocate Internet behavior management virtual machines for each subnet provided by the embodiment of the present invention, which is specifically described as follows. The process shown in this figure is the process executed by the routing device.
[0070] S201. Assign a subnet number to each subnet and assign a machine number to each Internet behavior management virtual machine.
[0071] The subnet number and the machine number can be positive integers.
[0072] Exemplarily, the subnet numbers assigned to each subnet are 1, 2, 3, ..., n; the machine numbers assigned to each Internet behavior management virtual machine are 1, 2, 3, ..., p, where the values of n and p are both positive integers.
[0073] S202. Based on the routing policy, the network segments of each subnet are split to obtain each split network segment of each subnet, and based on the subnet number of each subnet and the machine number of each Internet behavior management virtual machine, an Internet behavior management virtual machine is allocated to each split network segment.
[0074] It should be noted that each subnet has network segments, and the routing policy includes rules for splitting the subnet segments and allocating Internet access management virtual machines to each split network segment.
[0075] When the network segments of each subnet are split, the network segments are split based on a preset length, and the lengths of the split network segments obtained by splitting are less than or equal to the preset length.
[0076] Exemplarily, the first split segment in the subnet is 1 to H, the second split segment is H+1 to 2H, and so on, which will not be described here in detail. Here, H can be understood as a preset length.
[0077] 3 , which is a flow chart of a method for allocating an Internet behavior management virtual machine to each split network segment based on the subnet number of each subnet and the machine number of each Internet behavior management virtual machine provided in an embodiment of the present invention, is specifically described as follows.
[0078] S301. Sort the Internet behavior management virtual machines based on their machine numbers to obtain a virtual machine sequence.
[0079] Sort each Internet behavior management virtual machine in ascending order of machine number to obtain a virtual machine sequence.
[0080] S302: For each subnet, sort the split network segments of the subnet to obtain a first network segment sequence of the subnet.
[0081] Preferably, each split network segment in the subnet has a sequence when split. Based on the sequence when each split network in the subnet is split, each split network is sorted to obtain a first network segment sequence.
[0082] S303 . Sort the network segment subsequences of each subnet based on the subnet number of each subnet to obtain a second network segment queue.
[0083] S304: Determine the Internet behavior management virtual machine that ranks first in the virtual machine sequence as the target Internet behavior management virtual machine.
[0084] S305. Determine whether there are any unallocated split network segments in the second network segment queue; if there are any unallocated split network segments in the second network segment queue, execute S306; if there are no unallocated split network segments in the second network segment queue, execute S309.
[0085] Preferably, the state of the split network when no Internet access behavior management virtual machine is allocated is an unallocated state.
[0086] S306: Allocate the split network segment that is at the front of the second network segment queue and is in an unallocated state to the target Internet access behavior management virtual machine, and mark the split network segment as allocated.
[0087] The split network segment that is at the front of the second network segment queue and is in an unallocated state is allocated to the target Internet behavior management virtual machine, and then the split network segment allocated to the target Internet behavior management virtual machine is marked as allocated.
[0088] Preferably, allocating the split network segment to the target Internet behavior management virtual machine can be understood as the content port of the split network segment pointing to the target behavior management virtual machine.
[0089] S307. Determine whether the target Internet behavior management virtual machine is the Internet behavior management virtual machine at the end of the virtual machine sequence; if the target Internet behavior management virtual machine is the Internet behavior management virtual machine at the end of the virtual machine sequence, execute S304; if the target Internet behavior management virtual machine is not the Internet behavior management virtual machine at the end of the virtual machine sequence, execute S308.
[0090] S308: Determine the next Internet behavior management virtual machine after the target Internet behavior management virtual machine as the new target Internet behavior management virtual machine, and return to execute S305.
[0091] S309, end.
[0092] In order to specifically illustrate the process of allocating Internet access behavior management virtual machines to each split network segment of the present invention, the present invention provides an example for illustration.
[0093] The second network segment queue includes split network segment 1, split network segment 2, split network segment 3, split network segment 4, split network segment 5, split network segment 6, split network segment 7, split network segment 8, split network segment 9, and split network segment 10; the virtual machine sequence includes Internet behavior management virtual machines 1, 2, and 3.
[0094] The split network segments allocated to Internet behavior management virtual machine 1 are 1, 4, 7, and 10; the split network segments allocated to Internet behavior management virtual machine 2 are 2, 5, and 8; and the split network segments allocated to Internet behavior management virtual machine 3 are 3, 6, and 9.
[0095] By applying the solution provided by the present invention, an Internet behavior management virtual machine can be allocated to each split subnet, so that it can be determined that all subnets have a next-hop Internet behavior management virtual machine, so that the traffic of the subnet can be introduced into the Internet behavior management virtual machine.
[0096] S203: For each split network segment, determine the Internet access behavior management virtual machine allocated to the split network segment as the Internet access behavior management virtual machine allocated to the subnet to which the split network segment belongs.
[0097] It's important to note that once an Internet Behavior Management VM is assigned to each split network segment, the process of assigning an Internet Behavior Management VM to each subnet is complete. Furthermore, the Internet Behavior Management VM assigned to a split network segment is the same as the Internet Behavior Management VM assigned to the subnet to which it belongs. Thus, each subnet can be assigned multiple Internet Behavior Management VMs.
[0098] By issuing subnet-based routing policies to the Distributed Virtual Router (DVR) through OpenStack, subnet traffic can be directed to the Internet Behavior Management VM, eliminating the tedious steps of modifying existing subnets or VPCs and enabling fast and easy deployment. Furthermore, the strategy of mapping multiple subnets to multiple corresponding Internet Behavior Management VMs improves the processing capacity of the Internet Behavior Management VM, making it suitable for high-traffic scenarios with increasing desktop numbers. Dynamic scaling of the Internet Behavior Management VM effectively conserves resource pools while ensuring horizontal scalability.
[0099] S103. Send the preset traffic management policy to each Internet behavior management virtual machine, so that each Internet behavior management virtual machine obtains the Internet behavior traffic of its corresponding subnet based on the traffic management policy, processes the Internet behavior traffic, and obtains an Internet behavior traffic management report.
[0100] It should be noted that the management console establishes a persistent connection with each Internet Behavior Management VM and then sends traffic management policies to each Internet Behavior Management VM through each persistent connection. Preferably, the traffic management policy includes an audit configuration and a control configuration. The audit configuration is used by the Internet Behavior Management VM to audit traffic, while the control configuration is used by the Internet Behavior Management VM to control traffic.
[0101] Furthermore, for each Internet behavior management VM, the Internet behavior management VM determines each communication connection of its corresponding subnet, processes the data stream in each communication connection based on the traffic management policy, obtains behavior data for each communication connection, and determines the behavior data of each communication connection as Internet behavior traffic. Preferably, different subnets have different Internet behavior traffic. Furthermore, the communication connection here can be a TPC connection.
[0102] Preferably, the data flow in the communication connection can be audited and controlled based on the audit configuration and control configuration in the traffic management policy, thereby obtaining the behavior data of the communication connection.
[0103] Preferably, the data stream is composed of data packets, and processing the data stream is essentially processing the data packets; the behavior data can be the behavior data of the user surfing the Internet through the subnet.
[0104] When processing Internet traffic to generate an Internet traffic management report, at least one event report for each communication connection in the Internet traffic can be generated based on the behavior data and identification information of each communication connection, and the individual event reports can be integrated into the Internet traffic management report. It should be noted that the identification information may include the source IP address, source port, destination IP address, destination port, and connection establishment timestamp of the communication connection.
[0105] Preferably, a unique communication connection can be determined through the identification information, which can also be understood as a unique data stream can be determined through the identification information, and the data stream and the communication connection have a one-to-one correspondence.
[0106] Audit and control configurations are issued through the OpenStack management console, and the Internet behavior management virtual machine only processes data-plane messages and report generation, achieving decoupling of the data plane and control plane, enhancing the maintainability of the system, and realizing unified management of cloud desktops by administrators.
[0107] Furthermore, user information, desktop information, and network information can be sent to each Internet behavior management virtual machine through each persistent connection. Preferably, the user information includes data of multiple users, the desktop information includes data of multiple cloud desktops, and the network information includes network data. In this way, the management station can synchronize user information, desktop information, and network information with the Internet behavior management virtual machine in real time.
[0108] In the method provided by the embodiment of the present invention, the management station can also send a query instruction to the Internet behavior management virtual machine; trigger the Internet behavior management virtual machine to obtain the source IP in the query instruction, determine the event report corresponding to the source IP in the Internet behavior traffic management report of the Internet behavior management virtual machine, determine the user data corresponding to the source IP in the user information, determine the desktop data corresponding to the source IP in the desktop information, and determine the network data corresponding to the source IP in the network information.
[0109] By using the source IP, you can accurately query corresponding event reports, user data, left data, and network data, and then display the queried data, allowing precise traceability. Through real-time synchronization of user and desktop information through OpenStack and combined with TCP stream data analysis, each stream can be accurately associated with user and desktop information through the source IP. This allows administrators to issue audit or control configurations in a multi-dimensional, fine-grained, and precise manner, and also achieves accurate traceability of reports.
[0110] In the method provided by the embodiment of the present invention, each subnet is determined, and at least one Internet behavior management virtual machine is created based on each subnet; a preset routing policy is sent to a routing device, triggering the routing device to allocate an Internet behavior management virtual machine to each subnet based on the routing policy; a preset traffic management policy is sent to each Internet behavior management virtual machine, so that each Internet behavior management virtual machine obtains the Internet behavior traffic of the subnet corresponding to it based on the traffic management policy, and processes the Internet behavior traffic to obtain an Internet behavior traffic management report. The present invention creates an Internet behavior management virtual machine, allocates an Internet behavior management virtual machine to each subnet, and introduces the Internet behavior traffic of the subnet into the Internet behavior management virtual machine, so that the Internet behavior management virtual machine processes the Internet behavior traffic of the subnet corresponding to it, thereby eliminating the need to transform the subnet through tedious operations, and the deployment process is simple and fast, without the need to invest a lot of cost.
[0111] 4 , which is a schematic structural diagram of an Internet behavior management system provided by an embodiment of the present invention, is described in detail as follows.
[0112] The Internet behavior management system includes a management station, a routing device, a plurality of subnets and at least one Internet behavior management virtual machine created by the management station based on the number of subnets.
[0113] A long connection is established between the management console and each Internet behavior management virtual machine.
[0114] The management console is used to send routing policies to routing devices and traffic management policies and user application information to each Internet behavior management VM. This console can be an OpenStack management console. The OpenStack management console is responsible for cloud desktop lifecycle maintenance, network management, and the creation and management of Internet behavior management VMs. The management console sends relevant data to each Internet behavior management VM through persistent connections.
[0115] Routing devices are used to manage virtual machines by allocating Internet access to each subnet based on routing policies.
[0116] Preferably, the specific process of the routing device allocating the Internet behavior management virtual machine to each subnet based on the routing strategy can refer to the above description of Figure 2. The routing device here can be a DVR (distributed virtual router)
[0117] The Internet behavior management virtual machine is used to obtain the Internet behavior traffic of the corresponding subnet, and process the Internet behavior traffic based on the traffic management strategy to obtain an Internet behavior traffic management report.
[0118] The Internet Behavior Management VM proactively establishes a persistent TCP connection with the OpenStack management console. The OpenStack management console uses this persistent connection to distribute audit and control configurations in real time to one or more corresponding Internet Behavior Management VMs. The Internet Behavior Management VMs locally intercept traffic using man-in-the-middle decryption to audit or control traffic, then forward the traffic through a proxy. Audit and control reports are asynchronously uploaded to a database server for persistence. The OpenStack management console also manages the lifecycle of the entire Internet Behavior Management VM cluster. In this way, the OpenStack management console acts as a unified control point, while the Internet Behavior Management VMs serve only as data plane message processing and report generation devices. This effectively separates the control and data planes, facilitating unified management of all cloud desktops and clustered management of Internet Behavior VMs, as shown in Figure 5.
[0119] The Internet behavior virtual machine parses data packets based on TCP streams. Each TCP connection is divided into connection creation, data transmission, and connection disconnection. The source IP, source port, destination IP, destination port, and the timestamp of the connection establishment determine a unique stream. The parsing of each TCP connection begins when the connection is established and ends when the connection is disconnected. One or more event reports can be generated through a unique five-tuple, and the source IP can be uniquely associated with desktop information, user information, and network information. This information is synchronized in real time to the Internet behavior management virtual machine by the OpenStack management console through a long connection. Even if the desktop information, user information, and network information change frequently, the Internet behavior management virtual machine can still perceive it in real time. Therefore, administrators can configure policies based on multiple elements such as department, organization, user name, single or multiple cloud desktops, protocol, application classification, SNI host, URL, time range, etc., realizing precise and fine-grained auditing and control. Similarly, when displaying reports, administrators can also directly link to user information through the source IP address, ensuring that each report can be accurately traced back to the user's detailed information, terminal information, etc., and accurately display the Internet behavior of each desktop, as shown in Figure 6.
[0120] Preferably, the Internet behavior management system further comprises a switch, which is used to receive data sent by each Internet behavior management virtual machine and transmit the received data to a preset database server. The data sent by the Internet behavior management virtual machine here can be an Internet behavior traffic management report.
[0121] The present invention issues a traffic diversion strategy (the routing strategy mentioned above) through the DVR. No matter how many VPCs or subnets there are, there is no need to transform the existing network, re-divide the subnet or create VPCs, or migrate cloud desktops. The subnet-based traffic diversion strategy can be well applied to scenarios with a large number of cloud desktops and high traffic volume, realizing the horizontal expansion of Internet behavior management processing capabilities and improving processing performance. In addition, the OpenStack management console is used to tailor a network security product for cloud customers that integrates functions such as behavior auditing, behavior control, traffic identification, and event tracing. The present invention issues audit settings and control settings through OpenStack, and the Internet behavior management virtual machine is responsible for processing data plane messages, realizing the separation of the control plane and the data plane, the decoupling of the control flow and the data flow, realizing unified management of cloud desktops, and also realizing clustered management of Internet behavior.
[0122] Through TCP stream-based data parsing, combined with real-time synchronization of user, desktop, and other information from the OpenStack management console, each TCP stream can be accurately associated with the cloud desktop and user details through the source IP. This allows audit and control settings to be configured in a granular, personalized, and precise manner based on the user or cloud desktop. This enables multi-dimensional auditing or control based on IP, UUID, MAC, port number, tenant, department, VPC, one or more cloud desktops, URL, SNI host, protocol type, keyword, and more. At the same time, each audit and control data stream can be accurately traced back to a specific user and cloud desktop and associated with detailed information. TCP stream-based data parsing, combined with the de-association of cloud desktop and user information based on TCP source IP, enables multi-dimensional, granular, and precise configuration of audit and control policies, and reports can be accurately traced back to detailed user and desktop information.
[0123] It should be noted that the information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0124] The specific implementation processes and derivative methods of the above embodiments are all within the protection scope of the present invention.
[0125] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple. For relevant parts, refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without expending creative work.
[0126] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
[0127] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for managing online behavior, characterized in that: include: Determine each subnet, and create at least one Internet behavior management virtual machine based on each of the subnets; Sending a preset routing policy to a preset routing device, triggering the routing device to allocate an Internet access behavior management virtual machine to each of the subnets based on the routing policy; The preset traffic management strategy is sent to each of the Internet behavior management virtual machines, so that each of the Internet behavior management virtual machines obtains the Internet behavior traffic of the subnet corresponding to it based on the traffic management strategy, and processes the Internet behavior traffic to obtain an Internet behavior traffic management report.
2. The method according to claim 1, characterized in that The triggering of the routing device to allocate an Internet access behavior management virtual machine to each of the subnets based on the routing policy includes: The routing device assigns a subnet number to each of the subnets, and assigns a machine number to each of the Internet behavior management virtual machines; Based on the routing strategy, the network segments of each subnet are split to obtain each split network segment of each subnet, and based on the subnet number of each subnet and the machine number of each Internet behavior management virtual machine, an Internet behavior management virtual machine is allocated to each split network segment; For each of the split network segments, the Internet access behavior management virtual machine allocated to the split network segment is determined to be the Internet access behavior management virtual machine allocated to the subnet to which the split network segment belongs.
3. The method according to claim 2, characterized in that The allocating an Internet behavior management virtual machine to each of the split network segments based on the subnet number of each of the subnets and the machine number of each of the Internet behavior management virtual machines includes: Based on the machine number of each of the online behavior management virtual machines, sorting each of the online behavior management virtual machines to obtain a virtual machine sequence; For each of the subnets, sorting the split network segments of the subnet to obtain a first network segment sequence of the subnet; Based on the subnet number of each of the subnets, the network segment subsequences of each of the subnets are sorted to obtain a second network segment queue; Determine the Internet behavior management virtual machine that ranks first in the virtual machine sequence as the target Internet behavior management virtual machine; Determining whether there is a split network segment in an unallocated state in the second network segment queue; If there is a split network segment in an unallocated state in the second network segment queue, the split network segment that is at the front of the second network segment queue and in an unallocated state is allocated to the target Internet behavior management virtual machine, and the split network segment is marked as allocated; Determine whether the target Internet behavior management virtual machine is the Internet behavior management virtual machine at the end of the virtual machine sequence; If the target Internet behavior management virtual machine is the Internet behavior management virtual machine at the end of the virtual machine sequence, then return to the step of determining the Internet behavior management virtual machine at the first place in the virtual machine sequence as the target Internet behavior management virtual machine; If the target Internet behavior management virtual machine is not the Internet behavior management virtual machine at the end of the virtual machine sequence, the Internet behavior management virtual machine next to the target Internet behavior management virtual machine will be determined as the new target Internet behavior management virtual machine, and the process will return to determine whether there are any split network segments in the second network segment queue that are in an unallocated state until all the split network segments in the second network segment queue are in an allocated state.
4. The method according to claim 1, characterized in that: The sending of the preset traffic management strategy to each of the online behavior management virtual machines includes: Establishing a persistent connection with each of the Internet behavior management virtual machines; Through each of the long connections, a traffic management strategy is sent to each of the Internet behavior management virtual machines.
5. The method according to claim 1, characterized in that The step of enabling each of the Internet behavior management virtual machines to obtain the Internet behavior traffic of the corresponding subnet based on the traffic management policy includes: For each of the Internet behavior management virtual machines, the Internet behavior management virtual machine determines each communication connection of the subnet corresponding to it, processes the data flow in each of the communication connections based on the traffic management strategy, obtains the behavior data of each of the communication connections, and determines the behavior data of each of the communication connections as the Internet behavior traffic.
6. The method according to claim 5, characterized in that The processing of the Internet behavior traffic to obtain an Internet behavior traffic management report includes: Based on the behavior data of each communication connection in the Internet behavior traffic and the identification information of the communication connection, at least one event report of the communication connection is generated, and each of the event reports is integrated into an Internet behavior traffic management report.
7. The method according to claim 6, characterized in that: Also includes: Send user information, desktop information and network information to each of the Internet behavior management virtual machines.
8. The method according to claim 7, characterized in that Also includes: Sending a query instruction to the Internet behavior management virtual machine; Trigger the Internet behavior management virtual machine to obtain the source IP in the query instruction, determine the event report corresponding to the source IP in the Internet behavior traffic management report of the Internet behavior management virtual machine, determine the user data corresponding to the source IP in the user information, determine the desktop data corresponding to the source IP in the desktop information, and determine the network data corresponding to the source IP in the network information.
9. A surfing behavior management system, characterized in that: The system includes a management station, a routing device, a plurality of subnets, and at least one online behavior management virtual machine created by the management station based on the number of subnets; Establishing a long connection between the management console and each of the Internet behavior management virtual machines; The management station is used to send routing policies to the routing device, and send traffic management policies and user application information to each of the Internet behavior management virtual machines; The routing device is used to allocate an Internet access behavior management virtual machine to each of the subnets based on the routing policy; The online behavior management virtual machine is used to obtain the online behavior traffic of the subnet corresponding to it, and process the online behavior traffic based on the traffic management strategy to obtain an online behavior traffic management report.
10. The system according to claim 9, characterized in that Also includes: switch; The switch is used to receive data sent by each of the Internet behavior management virtual machines, and send the received data to a preset database server.
Citation Information
Patent Citations
Virtual flow monitoring method based on cloud platform and device thereof
CN104917653A
Cloud data center service subnet security management method and system
CN105656916A
A big data storage management platform
CN109408458A
Systems, devices, and methods for traffic management
US20140157357A1
