Session synchronization device in high-performance load-balancing cluster environment

By adopting the technology of decentralized full table sub-table storage and device status mask control table lookup range in a high-performance load balancing cluster, the problem of memory and bandwidth occupation during the session synchronization process is solved, and efficient data transmission and lookup are achieved. Table efficiency avoids single points of failure and ensures the stability of the cluster.

CN118484311BActive Publication Date: 2024-09-27CHINA TELECOM CLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410909795.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-09-27
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

In a high-performance load balancing cluster environment, as the cluster size increases, the storage and synchronization process of the session table takes up more and more memory and network bandwidth. Conventional session synchronization solutions cannot cope with the difficulty of storage and transmission processing when huge concurrency occurs. , and there is a risk of single point failure.

Method used

Adopt a technical solution of decentralized full scale sub-table storage and device status mask to control the table lookup range. By deploying session synchronization management, sending and receiving modules on each load balancer, the session receiving dedicated core and the sending dedicated core are separated. For data transmission, UDP multicast and polling methods are used for data transmission, and memory and bandwidth usage are optimized through table storage and data compression.

Benefits of technology

It reduces the impact of session synchronization on the business core, improves table lookup efficiency, reduces memory and bandwidth usage, avoids single points of failure, and ensures connection stability and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118484311B
    Figure CN118484311B
Patent Text Reader

Abstract

This invention relates to a session synchronization device in a high-performance load-balanced cluster environment, belonging to the fields of computer networks and cloud computing. The device includes a session synchronization management module that selects two idle CPU cores to handle session synchronization reception and transmission; a session synchronization transmission module that sends compressed session data and device status synchronization information to the cluster; and a session synchronization reception module that receives the device status synchronization information and compressed session data, and establishes a device status mapping table D_STAT_TAB for querying. The device employs decentralized full-table partitioning and device status masking to control the lookup range, thus solving the storage, transmission, and processing difficulties associated with session synchronization under massive concurrency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer networks and cloud computing, and in particular relates to a session synchronization device in a high-performance load balancing cluster environment. Background Art

[0002] With the rapid development of cloud computing, high concurrent requests have brought huge challenges to cloud platforms. How to achieve high availability and load balancing has always been a key issue for cloud platforms. Currently, high-performance load balancing solutions generally use a master-master load balancing cluster environment. If the cluster does not have a session synchronization function, each load balancer can only save its own session table. In this way, when a load balancing server fails, the new balancer does not have a corresponding session table, which will cause a connection interruption. Therefore, a session synchronization mechanism is generally added to the load balancing cluster.

[0003] However, as the cluster size increases, the memory usage of the session table increases, and the synchronization process will increase the network bandwidth and service processing time. Conventional session synchronization solutions can no longer cope with the above scenarios. Summary of the invention

[0004] In view of the above shortcomings of the prior art, the purpose of the invention is to provide a high-performance session synchronization device in a load-balancing cluster environment, which adopts decentralized full-table sub-table storage, device status mask control of table lookup range and other technical solutions to solve the storage and transmission processing difficulties of session synchronization when there is massive concurrency.

[0005] The present invention proposes a session synchronization device in a high-performance load balancing cluster environment, comprising: the session synchronization device is deployed on each load balancer, including: a session synchronization management module, a session synchronization sending module and a session synchronization receiving module, wherein:

[0006] The session synchronization management module is used to select two idle CPU cores according to the operation status of the load balancer, respectively as the session receiving dedicated core RXcore for the session synchronization receiving module to work, and the session sending dedicated core TXcore for the session synchronization sending module to work, so as to separate the data transmission work of session synchronization from the balancer business core; wherein, each of the load balancers is deployed with multiple balancer business cores;

[0007] The session synchronization sending module is used to receive session data transmitted from all balancer service cores, compress the session data structure, generate session compressed data and send it to the cluster; and send the current device status synchronization information to the device cluster to provide it to other balancers to create a device status table;

[0008] The session synchronization receiving module is used to establish a UDP multicast group, receive device status synchronization information and session compression data transmitted from the session synchronization sending module on other load balancers in the cluster, establish a device status mapping table D_STAT_TAB according to the device status synchronization information, provide it to the balancer service core for session query, and send the session compression data to the data transmission channel corresponding to the balancer service core according to the preset grouping rule;

[0009] The balancer business core is used to split the session table into a complete table TAB_B and a compressed table TAB_S, wherein the complete table stores the normal session data created by the current load balancer and the session synchronization data restored by the compressed table during device operation; the compressed table stores the session compressed data sent by the session synchronization receiving module; according to the global D_STAT_TAB state, different query modes are selected to control the table lookup range.

[0010] Furthermore, the session receiving dedicated core RXcore receives session synchronization information in a UDP multicast blocking manner.

[0011] The TXcore core uses a polling method to send session synchronization information.

[0012] Furthermore, the session synchronous sending module compresses the session data structure, and splices the data into multicast or unicast and sends it to the cluster through the multicast group or unicast.

[0013] Furthermore, the session synchronization sending module periodically sends the local device status synchronization information to the device cluster in the form of multicast, and provides it to other balancers to create a device status table.

[0014] Furthermore, n receiving queues are created on the session receiving dedicated core RXcore, and data transmission channels RXn are established with each equalizer service core one by one, and the transmission direction is from the session receiving dedicated core RXcore to the equalizer service core;

[0015] Create n receiving queues on the session sending dedicated core TXcore, and establish data transmission channels TXn with each equalizer service core one by one, and the transmission direction is from the equalizer service core to the session sending dedicated core TXcore;

[0016] Where n is the number of balancer service cores.

[0017] Furthermore, the equalizer service core receives data from the RXn channel in a polling manner and stores the data in a session compression table TAB_S.

[0018] Furthermore, the equalizer service core sets an incremental sending mode to send the newly created session incremental table data to the TXn channel, and sets a full sending mode to send the complete table TAB_B and the compressed table TAB_S to the Txn channel.

[0019] Furthermore, the balancer service core adopts D_STAT_TAB to select the query mode. In the normal state, D_STAT_TAB is empty, and there is no abnormal device in the cluster. The balancer service core only queries the complete table TAB_B generated by the device.

[0020] Furthermore, when a server in the cluster is abnormal, other devices in the cluster cannot receive the device status synchronization information of this server, and the D_STAT_TAB related mask is marked as pending query; continue to search for compressed session data from the range corresponding to the abnormal mask in TAB_S, and if a hit is found, restore the corresponding compressed session data to TAB_B to form complete session data, and forward data packets based on the restored session data to ensure uninterrupted connection.

[0021] Furthermore, the preset grouping rule adopted by the session synchronization receiving module is the source destination IP and PORT hash rule.

[0022] The beneficial effects of the present invention are as follows:

[0023] (1) Session synchronization core and business core separation mechanism, by splitting the session synchronization dedicated core RXcore TXcore, the session synchronization data transmission work is separated and decoupled from the balancer business core. Core splitting reduces the impact of session synchronization on the business core. The core separation mechanism ensures the efficiency of the balancer business core while classifying the table lookup to improve the table lookup efficiency. By introducing D_STAT_TAB, the D_STAT_TAB solution is used to control the table lookup range to optimize the table lookup efficiency.

[0024] (2) The Session table uses TAB_B and TAB_S to store the entire table locally, reducing the memory usage and transmission bandwidth usage of the local storage. The combination of the local TAB_B table and the TAB_S table solves the problem of massive session memory usage and synchronization bandwidth usage.

[0025] (3) By compressing the session table to be synchronized to the maximum extent, the amount of data transmitted is reduced. Session synchronization data uses a compressed table to optimize the problem of network bandwidth occupied by the synchronization process.

[0026] (4) Session synchronization data is compressed to optimize memory usage. The introduction of the TAB_S table reduces the huge amount of memory usage.

[0027] (5) The entire scale is decentralized, which is safer and prevents centralized single point failures. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.

[0029] Figure 1 This is a structural diagram of a session synchronization device in a high-performance load-balancing cluster environment according to an embodiment of the present invention;

[0030] Figure 2 It is an overall framework diagram of a session synchronization device in a high-performance load-balancing cluster environment according to an embodiment of the present invention;

[0031] Figure 3 Schematic diagram of the D_STAT_TAB table lookup according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.

[0033] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in the present invention.

[0034] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the orientation or position relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. The terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0035] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of methods and systems consistent with some aspects of the present invention as detailed in the appended claims.

[0036] The technical terms involved in the present invention are explained below:

[0037] Load balancing: It is to distribute the load to multiple systems for processing to achieve a balanced state. With the development of the Internet and the popularization of cloud computing, load balancing is widely used as a solution to high concurrency.

[0038] Session table: data used to maintain connection information in the four-layer load balancing server

[0039] Session synchronization: To ensure the synchronization of session tables between balancers in a Layer 4 load balancing cluster, and to ensure uninterrupted connections when a balancer fails.

[0040] The present invention proposes a high-performance four-layer load balancing session synchronization method, which adopts decentralized full-table sub-table storage, device status mask control table lookup range and other technical solutions to solve the storage and transmission processing difficulties of session synchronization when there is massive concurrency.

[0041] like Figure 1As shown, the high-performance four-layer load balancing session synchronization device provided by the embodiment of the present invention includes: a session synchronization management module 100, a session synchronization sending module 200 and a session synchronization receiving module 300.

[0042] Specifically, the present invention adopts a master-master four-layer load balancer cluster architecture deployment, each load balancer creates three modules, namely, session synchronization management module 100, session synchronization sending module 200 and session synchronization receiving module 300, and performs large and small table splitting and transformation in the service core of the balancer. Among them, multiple balancer service cores 400 are deployed on each load balancer.

[0043] The present invention is described below in conjunction with specific embodiments.

[0044] Specifically, Figure 2 As shown, the session synchronization management module 100 is used to select two idle CPU cores according to the operation status of the load balancer.

[0045] These two are respectively used as the session receiving dedicated core RXcore and the session sending dedicated core TXcore.

[0046] (1) The session receiving dedicated core RXcore is used for the session synchronization receiving module 300 to work.

[0047] Create n receiving queues on the session receiving dedicated core RXcore, and establish data transmission channels RXn with each balancer service core 400 one by one, and the transmission direction is from the session receiving dedicated core RXcore to the balancer service core 400. The session receiving dedicated core RXcore uses UDP multicast blocking to receive session synchronization information. Where n is the number of balancer service cores 400.

[0048] (2) The session sending dedicated core TXcore is used for the session synchronous sending module 200 to work.

[0049] Create n receiving queues on the session sending dedicated core TXcore, and establish data transmission channels TXn with each balancer service core 400 one by one. The transmission direction is from the balancer service core 400 to the session sending dedicated core TXcore. The TXcore core uses polling to send session synchronization information. Where n is the number of balancer service cores 400.

[0050] Based on this, core splitting reduces the impact of session synchronization on the business core: the Session Management Module separates the data transmission work of session synchronization from the balancer business core 400 by splitting the session synchronization dedicated core RXcore and TXcore, ensuring the task stability of the balancer business core 400 and preventing the balancer from being affected by sudden session synchronization tasks. This optimizes the problem of large-scale session synchronization business core capacity occupation in traditional session synchronization solutions.

[0051] The session synchronization sending module 200 is used to receive session data transmitted by all balancer service cores 400, compress the session data structure, generate session compressed data and send it to the cluster, and splice the data into multicast or unicast and send it to the cluster through multicast group or unicast.

[0052] In addition, the session synchronization sending module 200 periodically sends the local device status synchronization information to the device cluster in the form of multicast, and provides it to other balancers to create a device status table.

[0053] Specifically, the session synchronization sending module 200 on the current balancer sends the session compression data and the local device status synchronization information to the cluster, and the session synchronization receiving modules 300 on other balancers in the cluster receive the above two data and then perform corresponding processing.

[0054] In summary, the Session synchronization data is sent using a compressed table, which optimizes the problem of network bandwidth occupied by the synchronization process. The session synchronization sending module 200 is responsible for compressing the session table to be sent, thereby greatly reducing the network bandwidth occupied by the session synchronization process.

[0055] Taking the typical high-performance load balancing device DPVS as an example, a complete session occupies more than 500 bytes. The compressed data is within 50 bytes (retaining the data necessary to restore the complete session), and the compression rate is more than one order of magnitude, which can reduce the synchronization bandwidth usage to less than 10% of using the complete session table.

[0056] The session synchronization receiving module 300 is used to establish a UDP multicast group and receive device status synchronization information and session compression data transmitted from the session synchronization sending module 200 on other load balancers in the cluster.

[0057] The session synchronization receiving module 300 establishes a device status mapping table D_STAT_TAB according to the device status synchronization information, saves it in the global data, and provides it to the equalizer service core 400 for session query. The session synchronization receiving module 300 sends the session compression data to the data transmission channel corresponding to the equalizer service core 400 according to the preset grouping rule.

[0058] In the embodiment of the present invention, the preset grouping rule adopted by the session synchronization receiving module 300 is, for example, the source destination IP and PORT hash rule. It should be noted that the grouping rule is not limited to the above examples, and can also be other rules, which can be set as needed and will not be repeated here.

[0059] The balancer service core 400 is used to split the session table into a complete table TAB_B and a compressed table TAB_S, wherein the complete table stores the normal session data created by the current load balancer and the session synchronization data restored by the compressed table during device operation. The compressed table stores the session compressed data sent by the session synchronization receiving module 300. Session synchronization data is stored in a compressed table, which optimizes the memory usage problem. When storing the same session information, the memory usage of TAB_S is less than 10% of that of TAB_B, thereby greatly saving the memory space of the balancer.

[0060] Decentralized full storage avoids centralized failures: A typical four-layer load balancing cluster has between 2 and 6 balancers. Because the synchronization session uses the compressed table TAB_S for storage, a single device can store the session data of the entire node in full with a small amount of memory added, which can realize a multi-point full storage model, achieve decentralization, be more secure, and avoid single point failures and other problems.

[0061] The equalizer service core 400 receives data from the RXn channel in a polling manner and stores the data in the session compression table TAB_S.

[0062] The equalizer service core 400 selects different query modes according to the global D_STAT_TAB state, and chooses to look up the table in TAB_B or TAB_S to control the table lookup range.

[0063] The equalizer service core 400 sets the incremental sending mode to send the newly created session incremental table data to the TXn channel, and sets the full sending mode to send the complete table TAB_B and the compressed table TAB_S to the Txn channel.

[0064] Reference below Figure 3The process of the equalizer service core 400 using D_STAT_TAB selection query is described.

[0065] like Figure 3 As shown in the figure, D_STAT_TAB is introduced to optimize the table lookup efficiency: the business balancer selects the query mode according to D_STAT_TAB to ensure that the efficiency of normal business status table lookup is not affected by the synchronized data, and to ensure that when a device in the cluster fails, the synchronized session is correctly queried to ensure uninterrupted connection.

[0066] In the normal state, D_STAT_TAB is empty, and there is no device abnormality in the cluster. The balancer service core 400 only needs to query TAB_B generated by the device to ensure table lookup efficiency.

[0067] When a server in the cluster is abnormal, other devices in the cluster cannot receive the device status synchronization information of this server, and will mark the D_STAT_TAB related mask as pending. In this way, when the business server performs session query, if it cannot find the session information in TAB_B, it will continue to search for compressed session data in the range corresponding to the abnormal mask in TAB_S. If it hits, it will restore the corresponding compressed session data to TAB_B to form complete session data, and forward the data packet according to the restored session data to ensure the connection is uninterrupted.

[0068] The session synchronization device in the high-performance load-balancing cluster environment of the present invention adopts the following deployment: the main-main load balancing is implemented by OSPF, and the cluster scale is 6; the load balancing software is implemented by DPVS; the balancer service core 400 selects 0-16, RXcore selects 17, and TXcore selects 18. The multicast address selects 224.0.1.10. Session synchronization specifically uses a combination of multicast and unicast, multicast is used for incremental synchronization, and unicast is used for full synchronization. TAB_B reuses the DPVS standard session table, a single session occupies 768 bytes, and TAB_S updates are implemented using the LRU table. The actual single balancer TAB_S table size occupies approximately 70%-80% of the TAB_B size.

[0069] The specific implementation process of the present invention is described by taking Table 1 as an example:

[0070] 1. Split the session synchronization dedicated core RXcore and TXcore: Select idle logical cores on the server as RXcore and TXcore. For example, in Table 1, the RXcore type is sync-tx and the id is 2.

[0071] 2. RXcore uses UDP multicast blocking mode to receive session synchronization information, and TXcore uses polling mode to send session synchronization information. UDP multicast is bound to the network card that can be reached between the balancers. As shown in the socket related parameters in Table 1, the multicast communication related parameters are specified.

[0072] 3. A data channel is established between the business core and RXcore. After receiving the data, RXcore selects a data channel based on the business core information in the session and sends the session data to the business core. A data channel is established between the business core and TXcore.

[0073] 4. The business core stores the session table in the local TAB_S.

[0074] 5. When the data packet arrives at the business core, the session table is queried and restored according to the D_STAT_TAB table lookup mechanism.

[0075] 6. When the business core TAB_B adds a new session and updates the connection status, for example, when the TCP connection enters the ESTABLISHED state, it compresses the session table and passes it to the data channel established between the business core and TXcore.

[0076] 7. The TXcore core polls to determine whether the data transmission standard is met and sends it out through UDP multicast. The reference transmission standard can be: 100 session tables, or sending data when the sending timer exceeds 2 seconds. The specific parameters are configurable. As shown in Table 1, session_conn_count and sync_session_elapse represent these two parameters.

[0077]

[0078] Table 1

[0079] The session synchronization device in a high-performance load balancing cluster environment of the present invention can be applied to session synchronization of high-performance load balancing equipment.

[0080] The session synchronization device in the high-performance load-balancing cluster environment of the present invention solves the problems of memory occupation and synchronization bandwidth occupation of a large number of session tables by combining local large and small tables (i.e., the complete table TAB_B and the compressed table TAB_S); reduces the amount of data transmitted by extremely compressing the session table to be synchronized; reduces the huge memory occupation by the simple table storage design; realizes the table lookup classification while ensuring the efficiency of the working core through the core separation mechanism, and improves the table lookup efficiency. The full table is decentralized, safer, and prevents centralized single point failures.

[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the above embodiments, or replace some of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. Any changes or replacements that can be easily thought of by those skilled in the art within the technical scope disclosed in the present invention should be covered within the protection scope of the present invention.

Claims

1. A session synchronization device in a high-performance load-balancing cluster environment, characterized in that: The session synchronization device is deployed on each load balancer, and includes: a session synchronization management module, a session synchronization sending module and a session synchronization receiving module, wherein: The session synchronization management module is used to select two idle CPU cores according to the operation status of the load balancer, respectively as the session receiving dedicated core RXcore for the session synchronization receiving module to work, and the session sending dedicated core TXcore for the session synchronization sending module to work, so as to separate the data transmission work of session synchronization from the balancer business core; wherein, each of the load balancers is deployed with multiple balancer business cores; The session synchronization sending module is used to receive session data transmitted by all balancer service cores, compress the session data structure, generate session compressed data and send it to the cluster; and send the current device status synchronization information to the device cluster to provide it to other balancers to create a device status table; The session synchronization receiving module is used to establish a UDP multicast group, receive device status synchronization information and session compression data transmitted from the session synchronization sending module on other load balancers in the cluster, establish a device status mapping table D_STAT_TAB according to the device status synchronization information, provide it to the balancer service core for session query, and send the session compression data to the data transmission channel corresponding to the balancer service core according to the preset grouping rule; The balancer business core is used to split the session table into a complete table TAB_B and a compressed table TAB_S, wherein the complete table stores the normal session data created by the current load balancer and the session synchronization data restored by the compressed table during device operation; the compressed table stores the session compressed data sent by the session synchronization receiving module; according to the global D_STAT_TAB state, different query modes are selected to control the table lookup range.

2. According to a high-performance session synchronization device in a load-balancing cluster environment according to claim 1, it is characterized in that: The session receiving dedicated core RXcore receives session synchronization information in a UDP multicast blocking manner. The session sending dedicated core TXcore uses a polling method to send session synchronization information.

3. The session synchronization device in a high-performance load-balancing cluster environment according to claim 1, characterized in that: The session synchronous sending module compresses the session data structure, and splices the data into multicast or unicast and sends it to the cluster through the multicast group or unicast.

4. The session synchronization device in a high-performance load-balancing cluster environment according to claim 1, characterized in that: The session synchronization sending module periodically sends the local device status synchronization information to the device cluster in the form of multicast, and provides it to other balancers to create a device status table.

5. The session synchronization device in a high-performance load-balancing cluster environment according to claim 1, characterized in that: Create n receiving queues on the session receiving dedicated core RXcore, and establish data transmission channels RXn with each equalizer service core one by one, and the transmission direction is from the session receiving dedicated core RXcore to the equalizer service core; Create n receiving queues on the session sending dedicated core TXcore, and establish data transmission channels TXn with each equalizer service core one by one, and the transmission direction is from the equalizer service core to the session sending dedicated core TXcore; Where n is the number of balancer service cores.

6. The session synchronization device in a high-performance load-balancing cluster environment according to claim 5, characterized in that: The equalizer service core receives data from the RXn channel in a polling manner and stores the data in the session compression table TAB_S.

7. The session synchronization device in a high-performance load-balancing cluster environment according to claim 5, characterized in that: The equalizer service core sets the incremental sending mode to send the newly created session incremental table data to the TXn channel, and sets the full sending mode to send the complete table TAB_B and the compressed table TAB_S to the Txn channel.

8. The session synchronization device in a high-performance load-balancing cluster environment according to claim 1, characterized in that: The balancer service core adopts D_STAT_TAB to select the query mode. In the normal state, D_STAT_TAB is empty, there is no abnormal device in the cluster, and the balancer service core only queries the complete table TAB_B generated by this device.

9. The session synchronization device in a high-performance load-balancing cluster environment according to claim 8, characterized in that: When a server in the cluster is abnormal, other devices in the cluster cannot receive the device status synchronization information of this server, and the relevant mask of D_STAT_TAB is marked as pending query; continue to search for compressed session data from the range corresponding to the abnormal mask in TAB_S, and if it hits, restore the corresponding compressed session data to TAB_B to form complete session data, and forward data packets according to the restored session data to ensure uninterrupted connection.

10. The session synchronization device in a high-performance load-balancing cluster environment according to claim 1, characterized in that: The preset grouping rule adopted by the session synchronization receiving module is the source destination IP and PORT hash rule.