Long connection data transmission method and system
Through multi-terminal collaboration among external zone devices, internal enterprise servers, global discovery service modules, and service intermediary layer clusters, and by adopting GRPC long connection and RTN network acceleration technology, the problems of high network latency and low transmission efficiency in a globalized environment are solved, achieving efficient, secure, and reliable cross-regional data transmission.
Patent Information
- Application Number
- CN202510950657.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-10
- Publication Date
- 2025-09-05
AI Technical Summary
Existing enterprise network connection solutions suffer from high network latency and low transmission efficiency in a globalized environment, making it difficult to meet the needs of efficient networks and data communications.
Through multi-terminal collaboration among external zone devices, internal enterprise servers, global discovery service modules, and service intermediary layer clusters, GRPC long connection and RTN network acceleration technology are adopted to achieve cross-regional data transmission, combined with TLS encryption to ensure data security and reliability.
Significantly reduce cross-regional data transmission delay and packet loss rate, improve the security and reliability of data transmission, and ensure efficient and stable data transmission.
Smart Images

Figure CN120602535A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network acceleration technology, and in particular to a method and system for long connection data transmission. Background Art
[0002] In the global cloud computing environment, enterprises need to support employees to access the corporate intranet from anywhere in the world and perform various business operations such as video conferencing and instant messaging.
[0003] Currently, existing enterprise network connection solutions usually rely on exposing public network addresses or using VPNs for cross-regional data transmission. Although basic connection and data transmission are achieved, there are high network latency and low transmission efficiency, which makes it difficult to meet the needs of efficient networks and efficient data communications in a global environment. Summary of the Invention
[0004] The present application provides a long-connection data transmission method and system, which can efficiently transmit various information through multi-terminal collaboration of external zone devices, internal enterprise servers, global discovery service modules and service intermediary layer clusters, significantly reduce cross-regional data transmission delay and packet loss rate, improve the security and reliability of data transmission, and ensure the efficiency and stability of cross-regional data transmission.
[0005] In a first aspect, an embodiment of the present application provides a method for transmitting data via a persistent connection, the method comprising:
[0006] The external zone device establishes a first connection with the service intermediary layer cluster, and the external zone device sends first communication information to the service intermediary layer cluster;
[0007] The service intermediary layer cluster receives the first communication information;
[0008] The service intermediary layer cluster establishes a second connection with the global discovery service module, and the service intermediary layer cluster obtains target communication link information from the global discovery service module;
[0009] The service intermediary layer cluster transmits the first communication information to the enterprise internal server according to the target communication link information;
[0010] The enterprise internal server receives the first communication information.
[0011] Furthermore, the method further comprises:
[0012] The enterprise's internal server sends enterprise information to the global discovery service module;
[0013] The global discovery service module receives enterprise information and registers;
[0014] The global discovery service module sends the first access domain name to the enterprise internal server;
[0015] The enterprise's internal server receives the first access domain name and starts the acceleration service;
[0016] The internal server of the enterprise sends the enterprise information and the first access domain name to the external zone device;
[0017] The external zone device determines the service intermediary layer cluster according to the first access domain name.
[0018] Furthermore, the external zone device determines the service intermediary layer cluster according to the first access domain name, including:
[0019] The external zone device performs DNS resolution on the first access domain name and obtains the resolution result;
[0020] The external zone device determines a first transmission node of the service intermediary layer cluster according to the analysis result; wherein the service intermediary layer cluster includes at least one transmission node, and the target communication link includes at least one target transmission node;
[0021] The external zone device sends the enterprise information to the first transmission node.
[0022] Furthermore, the first communication information includes session information and enterprise information.
[0023] Furthermore, the service intermediary layer cluster establishes a second connection with the global discovery service module, and the service intermediary layer cluster obtains target communication link information from the global discovery service module, including:
[0024] The service intermediary layer cluster sends enterprise information to the global discovery service module;
[0025] The global discovery service module matches the target transmission node according to the enterprise information and obtains the target communication link information; the target communication link information includes the second access domain name of the target transmission node;
[0026] The global discovery service module sends the target communication link information to the service intermediary layer cluster;
[0027] The service intermediary layer cluster receives target communication link information.
[0028] Furthermore, the service intermediary layer cluster transmits the first communication information to the enterprise internal server according to the target communication link information, including:
[0029] The service intermediary layer cluster matches the target transmission node according to the second access domain name;
[0030] The service intermediary layer cluster transmits the first communication information to the enterprise internal server through the target transmission node.
[0031] Furthermore, the method further comprises:
[0032] The internal server of the enterprise obtains the second communication information according to the first communication information;
[0033] The enterprise internal server transmits the second communication information to the external area device according to the target communication link information;
[0034] The foreign zone device receives the second communication information.
[0035] Furthermore, the first connection is a TCP connection, and the second connection is a GRPC long connection.
[0036] Furthermore, the external zone device sends the first communication information to the service intermediary layer cluster, further comprising:
[0037] The external zone device sends the first communication information to the service intermediary layer cluster;
[0038] The service intermediary layer cluster receives the first communication information and obtains a first session identifier according to the first communication information;
[0039] The service intermediary layer cluster binds the first session identifier and the first connection to the second connection, and stores the first session identifier and the address information of the second connection in a preset session mapping table in the service intermediary layer cluster.
[0040] In a second aspect, an embodiment of the present application provides a persistent connection data transmission system, the system comprising:
[0041] External zone devices, enterprise internal servers, service intermediary layer cluster, global discovery service module and external zone servers;
[0042] The enterprise's internal servers are deployed on the first network, external devices are deployed on the second network, and external servers are deployed on the third network;
[0043] External devices are registered on the enterprise's internal server. The global discovery service module is set up on the external server. The service intermediary layer cluster is registered on the global discovery service module. The enterprise's internal server is registered on the global discovery service module.
[0044] The external zone device, the enterprise internal server, the service intermediary layer cluster, the global discovery service module and the external zone server execute the long connection data transmission method.
[0045] In summary, compared with the prior art, the technical solutions provided by the embodiments of the present application have at least the following beneficial effects:
[0046] An embodiment of the present application provides a long connection data transmission method, which can efficiently transmit various information through multi-terminal collaboration among external zone devices, internal enterprise servers, global discovery service modules and service intermediary layer clusters, significantly reduce data transmission delays and packet loss rates, improve the security and reliability of cross-regional data transmission, and ensure the efficiency and stability of cross-regional data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A flowchart of a long connection data transmission method provided as an exemplary embodiment of the present application.
[0048] Figure 2 A structural diagram of a long connection data transmission device provided as an exemplary embodiment of the present application.
[0049] Figure 3 A structural diagram of a long connection data transmission device provided as another exemplary embodiment of the present application.
[0050] Figure 4 A structural diagram of a long connection data transmission device provided as another exemplary embodiment of the present application. DETAILED DESCRIPTION
[0051] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0052] Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative work shall fall within the scope of protection of this application.
[0053] See Figure 1 , an embodiment of the present application provides a method for transmitting data via a long connection, the method specifically comprising the following steps:
[0054] In step S1, a first connection is established between an external device and a service intermediary layer cluster, and the external device sends first communication information to the service intermediary layer cluster.
[0055] The service intermediary layer cluster includes at least one transmission node, each of which establishes a persistent connection via the GRPC protocol for efficient data transmission. Multiple transmission nodes are connected via the RTN (Real-Time Network), enabling network acceleration and accelerated cross-regional data transmission. This ensures low latency and high reliability for global data transmission, improving network and connection acceleration capabilities.
[0056] In some embodiments, the service intermediary layer cluster may include transmission nodes in different geographical regions, such as a public cloud transmission node in Shanghai and a public cloud transmission node in Europe. Each transmission node is used to process access requests from local devices and cross-regional devices, ensuring smooth data transmission between regions. Multiple transmission nodes can also be distributed in the United States, Europe, Australia, Singapore, and other places. These transmission nodes work together to support the nearest access of devices in various external regions. Through the GRPC network acceleration technology between various transmission nodes, rapid data transmission can be achieved, ensuring that users in all regions can smoothly access domestic enterprise services.
[0057] Among them, each transmission node can be deployed in a service intermediary layer cluster environment with a public IP address to ensure that each transmission node and external area devices can be accessed and interconnected through the Internet; the service intermediary layer cluster environment can also support mainstream public cloud platforms, such as AWS, Azure, Google Cloud, Alibaba Cloud, Huawei Cloud, etc.
[0058] Step S2: The service intermediary layer cluster receives first communication information.
[0059] The service intermediary layer cluster serves as a transfer station for the first communication information, and can quickly and accurately receive the first communication information, thereby completing the rapid transmission of the first communication information and avoiding data transmission errors.
[0060] Step S3: The service intermediary layer cluster establishes a second connection with the global discovery service module, and the service intermediary layer cluster obtains target communication link information from the global discovery service module.
[0061] Among them, the global discovery service module can support global data synchronization, and mainly performs the management of enterprise information and the query of enterprise routing information. When a private cloud enterprise enables the cloud acceleration function, the enterprise purchases an acceleration license and reports the enterprise's access authentication information (such as enterprise identification, GRPC access address, and regional code) to the global discovery service module. The global discovery service module identifies and manages acceleration requests from different enterprises. Specifically, the reported information includes: enterprise identification (enterprise ID), which is used to uniquely identify the enterprise node; regional code, which is used to identify the geographical location of the enterprise (such as CN, EU, US); GRPC access address, which is used for communication between enterprise nodes.
[0062] In some embodiments, when an enterprise client enables the acceleration function and connects to the cloud acceleration platform, the transmission node will parse the enterprise ID from the client information. The transmission node will query the enterprise's access address and region code through the global discovery service module to ensure that data is transmitted via the optimal path during cross-region communication and forwarded to the nearest enterprise transmission node.
[0063] Step S4: the service intermediary layer cluster transmits the first communication information to the enterprise internal server according to the target communication link information.
[0064] The first communication information includes session information and enterprise information. A transmission node is also deployed within the enterprise's internal server, serving as the enterprise's internal business service portal. This transmission node establishes a connection with each transmission node in the service intermediary cluster via a GRPC encrypted channel, receiving and processing business requests from the service intermediary cluster, ensuring the security of data transmission.
[0065] The internal server also includes a business service module (IM and user center), which serves as the endpoint of the entire system and is used to execute client requests and business logic. Client requests may include: requesting to join a meeting; business logic may include: IM chat.
[0066] Step S5: The enterprise internal server receives the first communication information.
[0067] The internal server receives the first communication information originally transmitted by the external device, completing data reception. Similarly, the internal server can also send communication information to the service intermediary cluster. The service intermediary cluster, through steps S4, S3, and S2, transmits the communication information to the external device, ultimately achieving bidirectional transmission of communication information.
[0068] A long connection data transmission method provided in the above embodiment can efficiently transmit various information through multi-terminal collaboration of external area devices, internal enterprise servers, global discovery service modules and service intermediary layer clusters, significantly reduce cross-regional data transmission delay and packet loss rate, improve the security and reliability of data transmission, and ensure the efficiency and stability of cross-regional data transmission.
[0069] In some embodiments, the method further comprises:
[0070] The enterprise's internal server sends enterprise information to the global discovery service module;
[0071] The global discovery service module receives enterprise information and registers;
[0072] The global discovery service module sends the first access domain name to the enterprise internal server;
[0073] The enterprise's internal server receives the first access domain name and starts the acceleration service;
[0074] The internal server of the enterprise sends the enterprise information and the first access domain name to the external zone device;
[0075] The external zone device determines the service intermediary layer cluster according to the first access domain name.
[0076] The external zone device determines the service intermediary layer cluster according to the first access domain name, including:
[0077] The external zone device performs DNS resolution on the first access domain name and obtains a resolution result.
[0078] The external zone device determines the first transmission node of the service intermediary layer cluster according to the analysis result; wherein the service intermediary layer cluster includes at least one transmission node, and the target communication link includes at least one target transmission node.
[0079] The external device sends the enterprise information to the first transmission node. The establishment of multiple transmission nodes allows for orderly transmission of information and data, avoiding data transmission chaos while also increasing transmission efficiency and indirectly ensuring network stability. Preferably, the first transmission node obtained through DNS resolution is the transmission node closest to the external device, or the transmission node in the service intermediary layer cluster with the best signal quality within the closest range to the external device.
[0080] In some embodiments, the first connection may be a TCP connection, and the second connection may be a GRPC long connection.
[0081] Among them, in the scenario of multi-client long connection, the traditional long connection one-to-one proxy forwarding method may encounter the problem of port resource exhaustion (such as the 65535 port limit); this application adopts GRPC protocol encapsulation, which can realize two-way streaming communication and support multiplexing. In a single connection, multiplexing technology allows the simultaneous transmission of long connection data streams of multiple clients; for a large number of long connection clients, the forwarding mechanism of the GRPC protocol effectively solves the problem of connection quantity limitation, while improving data transmission efficiency and network stability.
[0082] In some embodiments, in order to avoid the disorder of data transmission causing the misalignment of session messages and affecting the user experience, the present application adopts the GRPC connection pool management strategy to ensure the correctness of the data transmission order. First, the TCP connection of each external zone device will be bound to a cross-region cascaded GRPC long connection through a sticky session to ensure the orderly transmission of data; the initial configuration of each connection pool is 128 GRPC connections, and the number of connections can be dynamically adjusted according to the real-time load quantity to adapt to different system requirements. The sticky session enables multiple messages of the same external zone device to be processed by the same GRPC, or multiple messages of the same session of the external zone device to be processed by the same GRPC, achieving end-to-end precise transmission and accelerating the transmission speed.
[0083] In some embodiments, the present application uses the TLS (Transport Layer Security) protocol to encrypt all communication data. TLS encryption not only ensures the confidentiality of data during transmission, but also effectively prevents possible man-in-the-middle attacks and data tampering, thereby further ensuring the integrity and credibility of the data.
[0084] In some embodiments, each transmission node initializes 128 GRPC connections by default; each GRPC connection supports multiplexing and can handle concurrent requests from multiple external zone devices; the system monitors the usage of the GRPC connection pool every 10 seconds and records the health status of each connection (such as response time, error rate, etc.).
[0085] In some embodiments, on the same GRPC connection, the transmission node allows multiple TCP conference data streams to be transmitted simultaneously, improving connection utilization and avoiding port resource exhaustion; sticky session binding fixes the TCP session of the external zone device to a specific GRPC long connection, ensuring data orderliness and communication continuity during the session.
[0086] In some embodiments, the service intermediary layer cluster establishes a second connection with the global discovery service module, and the service intermediary layer cluster obtains target communication link information from the global discovery service module, including:
[0087] The service intermediary layer cluster sends enterprise information to the global discovery service module.
[0088] The global discovery service module matches the target transmission node according to the enterprise information to obtain target communication link information; the target communication link information includes the second access domain name of the target transmission node.
[0089] The global discovery service module sends the target communication link information to the service mediation layer cluster.
[0090] The service intermediary layer cluster receives target communication link information.
[0091] Among them, the target communication link information is the information obtained by the optimal target communication link. The target communication link information includes the access domain name of at least one target transmission node (i.e., the second access domain name), which can achieve the shortest distance information transmission, significantly reduce data transmission delay and packet loss rate, improve the security and reliability of data transmission, and ensure the efficiency and stability of data transmission.
[0092] In some embodiments, the service intermediary layer cluster transmits the first communication information to the enterprise internal server according to the target communication link information, including:
[0093] The service intermediary layer cluster matches the target transmission node according to the second access domain name.
[0094] The service intermediary layer cluster transmits the first communication information to the enterprise internal server through the target transmission node.
[0095] Among them, the target communication link information may include the access domain name of at least one target transmission node (i.e., the second access domain name). The service intermediary layer cluster obtains the second access domain name from the target communication link information, and matches the corresponding target transmission node according to the second access domain name. The target transmission node is the transmission node obtained by the optimal target communication link. The service intermediary layer cluster transmits the first communication information to the enterprise's internal server through the target transmission node, which can achieve information transmission at the optimal distance, significantly reduce the data transmission delay and packet loss rate across regions, improve the security and reliability of data transmission, and ensure the efficiency and stability of data transmission.
[0096] In some embodiments, the method further comprises:
[0097] The enterprise internal server obtains the second communication information based on the first communication information.
[0098] The enterprise internal server transmits the second communication information to the external area device according to the target communication link information.
[0099] The foreign zone device receives the second communication information.
[0100] After receiving the target communication link information, the internal enterprise server can transmit the second communication information to the external device, enabling data exchange and return, completing the system's two-way transmission and expanding the system's usability. Multiple transmission nodes achieve two-way data transmission via the RTN (Real-Time Network). After the internal enterprise server receives the first communication information, the second communication information generated is returned to the external device based on the target communication link information.
[0101] In some embodiments, the external zone device sends the first communication information to the service intermediary layer cluster, further comprising:
[0102] The external zone device sends the first communication information to the service intermediary layer cluster;
[0103] The service intermediary layer cluster receives the first communication information and obtains a first session identifier according to the first communication information;
[0104] The service intermediary layer cluster binds the first session identifier and the first connection to the second connection, and stores the first session identifier and the address information of the second connection in a preset session mapping table in the service intermediary layer cluster.
[0105] Specifically, first, a session identifier (sessionID) is generated. When each external device connection request arrives at the transmission node, the system generates a unique session identifier sessionID for the session. The session identifier is usually generated by combining the client ID, timestamp, and enterprise ID, and a hash algorithm is used to generate a unique value. Secondly, a TCP connection and GRPC long connection mapping is established. When the external device initiates a connection for the first time, the system will bind the sessionID and the TCP connection of the external device to a specific GRPC long connection.
[0106] The preset session mapping table is maintained inside the transmission node as shown below:
[0107] sessionID GRPC connection address lcd5b7045c61439fb8c928babc036247 grpe: / / addr+connection identification number
[0108] The transit node allocates a new GRPC persistent connection for the session. If the session already exists in the mapping table, the system routes the request to the allocated GRPC persistent connection. If one of the current internal GRPC connections is abnormally disconnected, the transit node records the session status and attempts to automatically reconnect. It uses the session identifier to re-search the corresponding GRPC persistent connection to ensure session continuity after reconnection.
[0109] In some embodiments, when a request from an external device arrives at a transmission node, the system generates a SessionID of 59e7a5f6; the system binds the SessionID to the GRPC address grpc:Ⅱnode_1; subsequent requests are routed to the GRPC connection to ensure session continuity and orderly data transmission; if the connection is disconnected, the system reallocates the GRPC connection based on the SessionID and resumes the unfinished request.
[0110] See Figure 2 Another embodiment of the present application provides a persistent connection data transmission system, the system comprising:
[0111] External zone devices, enterprise internal servers, service intermediary layer cluster, global discovery service module and external zone servers.
[0112] The enterprise's internal servers are deployed on the first network, external devices are deployed on the second network, and external servers are deployed on the third network.
[0113] External devices are registered on the enterprise's internal server, the global discovery service module is set up on the external server, the service intermediary layer cluster is registered on the global discovery service module, and the enterprise's internal server is registered on the global discovery service module.
[0114] Among them, the external zone device is registered on the enterprise's internal server. When the enterprise's internal server turns on the acceleration function, the external zone device can obtain the acceleration domain name of the service intermediary layer cluster through the enterprise's internal server, thereby completing the acceleration.
[0115] When the enterprise's internal servers and service intermediary layer clusters are registered in the global discovery service module, the global discovery service module can store the information corresponding to the enterprise's internal servers and service intermediary layer clusters respectively, so that when querying the global discovery service module for the target link, the optimal transmission node can be matched according to the corresponding information.
[0116] The external zone device, the enterprise internal server, the service intermediary layer cluster, the global discovery service module and the external zone server execute the above-mentioned long connection data transmission method.
[0117] For the specific definition of a long connection data transmission system provided in this embodiment, please refer to the embodiment of a long connection data transmission method above, and no further details will be given here. Each module in the above-mentioned long connection data transmission system can be implemented in whole or in part by software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0118] See Figure 3 In some embodiments, the overall data transmission process includes:
[0119] First, enterprise information reporting and management: When a private cloud enterprise enables the cloud acceleration function, it reports its enterprise information (including the enterprise's authentication information and geographic location information) to the global discovery service module.
[0120] Secondly, the client accesses the global public cloud acceleration cluster: the European device client connects to the nearest European node according to DNS resolution and sends a request to the European node. The request includes enterprise information and session information. After receiving the request, the European node queries the global discovery service based on the enterprise information in the request. The global discovery service obtains the enterprise authentication key and location information based on the enterprise information. The global discovery service determines the forwarding route based on the location information and sends the target access node information and the corresponding target access domain name required for the route to the access node. The access node connects to the target access node based on the target access domain name (such as Figure 3 Shanghai node in );
[0121] Then, cross-regional data transmission is carried out: the European node encapsulates the user request, encrypts it through the GRPC protocol, accelerates it using the RTN network, and forwards it to the Shanghai node. Then, data processing and internal transmission are carried out. After the Shanghai node receives the request, it forwards the request to the internal node of the enterprise server through the GRPC encrypted channel (such as Figure 3 The Shanghai enterprise intranet node in the ). The Shanghai enterprise intranet node routes the request to the corresponding business service of the enterprise internal server according to the request type (such as Figure 3 IM service or user center in the system) to process business;
[0122] Finally, the results are returned and the terminal responds: After the business service processing is completed, the response data is transmitted back to the Shanghai region node via the Shanghai enterprise intranet node. The response data is then returned to the European region node through the RTN network using the aforementioned forwarding route, and finally transmitted to the European terminal device that initiated the request, completing the entire data transmission process.
[0123] The response data may include session data that is a reply to the session data sent by the European device.
[0124] See Figure 4 , the external area device sends a business request to the transmission node, and the transmission node will encapsulate the request into a GRPC data packet to ensure that the data can be effectively transmitted to the target node; the transmission node can query the GRPC access address and area code of the target enterprise through the global discovery service module, and decide to which area the transmission node should be forwarded to; through GRPC's two-way stream communication method, data can be continuously and efficiently transmitted in both directions between the external area device and the server, which is suitable for long-term sessions or the transmission of large amounts of data.
[0125] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0126] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A long connection data transmission method, characterized in that: The method comprises: The external zone device establishes a first connection with the service intermediary layer cluster, and the external zone device sends first communication information to the service intermediary layer cluster; The service intermediary layer cluster receives the first communication information; The service intermediary layer cluster establishes a second connection with the global discovery service module, and the service intermediary layer cluster obtains target communication link information from the global discovery service module; The service intermediary layer cluster transmits the first communication information to an internal server of the enterprise according to the target communication link information; The internal server of the enterprise receives the first communication information.
2. The long connection data transmission method according to claim 1, characterized in that: The method further comprises: The enterprise's internal server sends enterprise information to the global discovery service module; The global discovery service module receives the enterprise information and registers it; The global discovery service module sends the first access domain name to the enterprise internal server; The internal server of the enterprise receives the first access domain name and starts the acceleration service; The internal server of the enterprise sends the enterprise information and the first access domain name to the external zone device; The external zone device determines the service intermediary layer cluster according to the first access domain name.
3. The long connection data transmission method according to claim 2, characterized in that: The external zone device determines the service intermediary layer cluster according to the first access domain name, including: The external zone device performs DNS resolution on the first access domain name to obtain a resolution result; The external zone device determines a first transmission node of the service intermediary layer cluster according to the analysis result; wherein the service intermediary layer cluster includes at least one transmission node, and the target communication link includes at least one target transmission node; The external zone device sends the enterprise information to the first transmission node.
4. The long connection data transmission method according to claim 2, characterized in that: The first communication information includes session information and the enterprise information.
5. The long connection data transmission method according to claim 4, characterized in that: The service intermediary layer cluster establishes a second connection with the global discovery service module, and the service intermediary layer cluster obtains target communication link information from the global discovery service module, including: The service intermediary layer cluster sends the enterprise information to the global discovery service module; The global discovery service module matches the target transmission node according to the enterprise information to obtain target communication link information; the target communication link information includes the second access domain name of the target transmission node; The global discovery service module sends the target communication link information to the service intermediary layer cluster; The service intermediary layer cluster receives the target communication link information.
6. The long connection data transmission method according to claim 5, characterized in that: The service intermediary layer cluster transmits the first communication information to an internal server of an enterprise according to the target communication link information, including: The service intermediary layer cluster matches the target transmission node according to the second access domain name; The service intermediary layer cluster transmits the first communication information to the enterprise internal server through the target transmission node.
7. The long connection data transmission method according to claim 1, characterized in that: The method further comprises: The internal server of the enterprise obtains the second communication information according to the first communication information; The enterprise internal server transmits the second communication information to the external zone device according to the target communication link information; The foreign zone device receives the second communication information.
8. The long connection data transmission method according to claim 1, characterized in that: The first connection is a TCP connection, and the second connection is a GRPC long connection.
9. The method for transmitting data via a long connection according to claim 1, wherein: The external zone device sends the first communication information to the service intermediary layer cluster, further comprising: The external zone device sends the first communication information to the service intermediary layer cluster; The service intermediary layer cluster receives the first communication information, and obtains a first session identifier according to the first communication information; The service intermediary layer cluster binds the first session identifier and the first connection to the second connection, and stores the first session identifier and address information of the second connection in a preset session mapping table in the service intermediary layer cluster.
10. A long connection data transmission system, characterized in that: The system includes external zone equipment, enterprise internal servers, service intermediary layer cluster, global discovery service module and external zone servers; The enterprise internal server is deployed on the first network, the external zone device is deployed on the second network, and the external zone server is deployed on the third network; The external zone device is registered with the internal enterprise server, the global discovery service module is set in the external zone server, the service intermediary layer cluster is registered with the global discovery service module, and the internal enterprise server is registered with the global discovery service module; The external zone device, the enterprise internal server, the service intermediary layer cluster, the global discovery service module and the external zone server execute the long connection data transmission method as described in claims 1-9.