Communication control module, method and apparatus
By deploying control units and agent service units in the console, the problem of the console being unable to manage terminals due to network isolation of service node clusters was solved, enabling cross-cluster network connection and management without affecting the original deployment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-08
- Publication Date
- 2026-07-10
AI Technical Summary
In computer network systems, network isolation between various service node clusters prevents the console from controlling and managing terminals in other isolated service node clusters.
A control unit is deployed on the console to establish a network connection between the console, the service node cluster, and the terminal. The communication protocol is converted through the proxy service unit to hide the connection information between the terminal and the service node cluster, thereby enabling the console to manage the terminal.
In a network-isolated environment, the console can control and manage terminals within a service node cluster without being aware of the existence of each service node cluster, and without altering the original deployment of the terminals and service node clusters.
Smart Images

Figure CN122372558A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer networks, and in particular to a communication control module, a communication control method, and a communication control device. Background Technology
[0002] In some computer network systems, such as Figure 1 As shown, the console connects to service node cluster A via the network, and terminal A connects to service node cluster A via the network. The console controls and manages terminal A through service node cluster A. If service node cluster B is subsequently added, service node cluster B connects to service node cluster A via the network, and terminal B connects to service node cluster B via the network. The console then controls and manages terminal B through both service node clusters A and B.
[0003] However, in some business scenarios, the networks between various service node clusters are isolated, and the service node clusters cannot interconnect with each other, making it impossible for the console to control and manage terminals under other isolated service node clusters through the service node cluster in its own network. Summary of the Invention
[0004] In this embodiment of the disclosure, when the networks between various service node clusters are isolated, a network connection is established between the console, the service node clusters, and the terminals based on the control unit deployed on the console. This enables the console to control and manage the terminals under the service node clusters, and the console does not need to be aware of the existence of each service node cluster. The control unit can hide the connection information between the terminal and the service node clusters.
[0005] Furthermore, in complex network environments involving network isolation between various service node clusters and multiple communication protocols, the control unit deployed on the console, together with the proxy service unit deployed on the network where the service node cluster is located, establishes a network connection between the console, the service node cluster, and the terminal. Moreover, the proxy service unit is transparent to both the upper-layer console and the lower-layer service node cluster, and does not intrude on or affect the original business code of either.
[0006] Some embodiments of this disclosure propose a communication control module, including a control unit deployed on a console, the control unit being configured to:
[0007] Receive a first terminal online event from the service node cluster. The first terminal online event includes the terminal's metadata and the connection information between the terminal and the service node cluster. The terminal's metadata includes the terminal's identifier.
[0008] Based on the first terminal going online event, establish the association information between the terminal's metadata and the connection information between the terminal and the service node cluster;
[0009] Send a second terminal online event to the console. The second terminal online event includes the metadata of the terminal.
[0010] In some embodiments, the control unit is configured to:
[0011] Receive instruction information sent by the console, the instruction information including the identifier of the terminal;
[0012] The terminal's identifier is used to query the associated information to obtain the connection information between the terminal and the service node cluster corresponding to the terminal's identifier.
[0013] Based on the connection information between the terminal and the service node cluster, the instruction information is sent to the terminal through the service node cluster.
[0014] In some embodiments, the communication control module further includes a proxy service unit, which is deployed in the network where the service node cluster is located;
[0015] The proxy service unit is configured to: receive a first terminal online event from the service node cluster, convert the first terminal online event from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located, and send the first terminal online event under the second communication protocol to the control unit;
[0016] The control unit is configured to: receive a first terminal online event under a second communication protocol sent by the agent service unit, and convert the first terminal online event under the second communication protocol into a first terminal online event under a first communication protocol.
[0017] In some embodiments, the proxy service unit is configured to: receive terminal data events from a service node cluster, the terminal data events including the identifier of the terminal, convert the terminal data events from a first communication protocol used by the network where the service node cluster is located to a second communication protocol used by the network where the console is located, and send the terminal data events under the second communication protocol to the control unit;
[0018] The control unit is configured to convert terminal data events under the second communication protocol into terminal data events under the first communication protocol, and send the terminal data events under the first communication protocol to the console.
[0019] In some embodiments, the control unit is configured to: receive instruction information under a second communication protocol sent by the console, the instruction information including the identifier of the terminal; query the association information using the identifier of the terminal to obtain the connection information between the terminal and the service node cluster corresponding to the identifier of the terminal; and send the instruction information under the second communication protocol and the connection information between the terminal and the service node cluster to the proxy service unit.
[0020] The proxy service unit is configured to: convert instruction information under the second communication protocol into instruction information under the first communication protocol, and send the instruction information under the first communication protocol to the terminal through the service node cluster according to the connection information between the terminal and the service node cluster.
[0021] In some embodiments, the proxy service unit is configured to: receive a terminal offline event from a service node cluster, the terminal offline event including the identifier of the terminal, convert the terminal offline event from a first communication protocol used by the network where the service node cluster is located to a second communication protocol used by the network where the console is located, and send the terminal offline event under the second communication protocol to the control unit;
[0022] The control unit is configured to convert a terminal offline event under the second communication protocol into a terminal offline event under the first communication protocol, and send the terminal offline event under the first communication protocol to the console.
[0023] In some embodiments, the control unit is configured to:
[0024] Receive terminal data events or terminal offline events from the service node cluster, wherein the terminal data events or terminal offline events include the identifier of the terminal;
[0025] Send a terminal data event or a terminal offline event to the console, wherein the terminal data event or the terminal offline event includes the identifier of the terminal.
[0026] In some embodiments, the control unit is configured to: place terminal events and / or console instruction information into a circular queue, and perform access control on the circular queue based on a comparison and replacement lockless method, wherein the terminal events include at least one of terminal online events, terminal data events, and terminal offline events.
[0027] In some embodiments, the connection information between the terminal and the service node cluster includes at least one of the following: the service node cluster to which the terminal is connected, the service node, and the connection protocol; and / or, the metadata of the terminal further includes at least one of the following: the type of the terminal and the location region.
[0028] In some embodiments, the communication control module is pluggable.
[0029] This disclosure provides a communication control method in some embodiments, including:
[0030] The control unit of the communication control module receives a first terminal online event from the service node cluster. The first terminal online event includes the terminal's metadata and the connection information between the terminal and the service node cluster. The terminal's metadata includes the terminal's identifier. The control unit is deployed on the console.
[0031] The control unit establishes the association information between the metadata of the terminal and the connection information between the terminal and the service node cluster based on the first terminal online event;
[0032] The control unit sends a second terminal online event to the console, the second terminal online event including the terminal's metadata.
[0033] In some embodiments, the communication control method further includes:
[0034] The control unit receives instruction information sent by the console, the instruction information including the identifier of the terminal;
[0035] The control unit uses the terminal's identifier to query the associated information to obtain the connection information between the terminal and the service node cluster corresponding to the terminal's identifier.
[0036] The control unit sends the instruction information to the terminal through the service node cluster based on the connection information between the terminal and the service node cluster.
[0037] In some embodiments, the communication control method further includes:
[0038] The proxy service unit of the communication control module receives a first terminal online event from the service node cluster, converts the first terminal online event from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located, and sends the first terminal online event under the second communication protocol to the control unit. The proxy service unit is deployed in the network where the service node cluster is located.
[0039] The control unit receiving the first terminal online event from the service node cluster includes: the control unit receiving the first terminal online event under the second communication protocol sent by the proxy service unit, and converting the first terminal online event under the second communication protocol into a first terminal online event under the first communication protocol.
[0040] In some embodiments, the communication control method further includes:
[0041] The proxy service unit receives terminal data events from the service node cluster, the terminal data events including the identifier of the terminal, and converts the terminal data events from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located, and sends the terminal data events under the second communication protocol to the control unit.
[0042] The control unit converts terminal data events under the second communication protocol into terminal data events under the first communication protocol, and sends the terminal data events under the first communication protocol to the console.
[0043] In some embodiments, the communication control method further includes:
[0044] The control unit receives instruction information under the second communication protocol sent by the console, the instruction information including the identifier of the terminal; uses the identifier of the terminal to query the associated information to obtain the connection information between the terminal and the service node cluster corresponding to the identifier of the terminal; and sends the instruction information under the second communication protocol and the connection information between the terminal and the service node cluster to the proxy service unit.
[0045] The proxy service unit converts the instruction information under the second communication protocol into instruction information under the first communication protocol, and sends the instruction information under the first communication protocol to the terminal through the service node cluster according to the connection information between the terminal and the service node cluster.
[0046] In some embodiments, the communication control method further includes:
[0047] The proxy service unit receives a terminal offline event from the service node cluster. The terminal offline event includes the identifier of the terminal. The unit converts the terminal offline event from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located. The unit then sends the terminal offline event under the second communication protocol to the control unit.
[0048] The control unit converts the terminal offline event under the second communication protocol into a terminal offline event under the first communication protocol, and sends the terminal offline event under the first communication protocol to the console.
[0049] Some embodiments of this disclosure provide a communication control device, including: a memory; and a processor coupled to the memory, the processor being configured to execute a communication control method based on instructions stored in the memory.
[0050] Some embodiments of this disclosure provide a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement a communication control method.
[0051] Some embodiments of this disclosure provide a computer program product including computer instructions that, when executed by a processor, implement a communication control method. Attached Figure Description
[0052] The accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. This disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings.
[0053] Obviously, the accompanying drawings described below are merely some embodiments of this disclosure. Those skilled in the art can obtain other drawings based on these drawings without any creative effort.
[0054] Figure 1 A schematic diagram of a computer network system illustrating related technologies is shown.
[0055] Figure 2 A schematic diagram showing the deployment of a communication control module according to some embodiments of this disclosure is provided.
[0056] Figure 3 A schematic diagram showing the deployment of a communication control module according to other embodiments of this disclosure is provided.
[0057] Figure 4 A schematic diagram of the communication control module of the console when the network gateway is fronted up in some other embodiments of this disclosure is shown.
[0058] Figure 5 The diagram illustrates the interaction of a communication control method based on a communication control module according to some embodiments of this disclosure.
[0059] Figure 6 A schematic diagram illustrating the operation of a proxy service unit according to some embodiments of this disclosure is shown.
[0060] Figure 7 The diagram illustrates the interaction of a communication control method based on a communication control module according to some embodiments of this disclosure.
[0061] Figure 8 A schematic diagram of a communication control device according to some embodiments of the present disclosure is shown. Detailed Implementation
[0062] It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of this disclosure.
[0063] Those skilled in the art will understand that the terms "first," "second," etc., in the embodiments of this disclosure are only used to distinguish different steps, devices, or modules, and do not represent any specific technical meaning, nor do they indicate a necessary logical order between them.
[0064] It should also be understood that in the embodiments disclosed herein, "multiple" can refer to two or more, and "at least one" can refer to one, two or more.
[0065] It should also be understood that any component, data or structure mentioned in the embodiments of this disclosure can generally be understood as one or more unless expressly defined or given to the contrary in the context.
[0066] Furthermore, the term "and / or" in this disclosure is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this disclosure generally indicates that the preceding and following related objects have an "or" relationship.
[0067] It should also be understood that the description of the various embodiments in this disclosure emphasizes the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, they will not be described in detail.
[0068] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.
[0069] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.
[0070] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0071] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0072] Furthermore, to avoid obscuring this disclosure with unnecessary detail, only processing steps and / or apparatus structures closely related to at least the solutions according to this disclosure are shown in the accompanying drawings, while other details not closely related to this disclosure are omitted. It should also be noted that similar reference numerals and letters in the drawings indicate similar items, and therefore once an item is defined in one drawing, it need not be discussed again in subsequent drawings.
[0073] Within the existing network environment where the console resides and the service node cluster resides, a communication control module can be configured to enable interconnection between the console and the service node cluster. The communication control module can be configured in a pluggable manner within the existing network environment, thus achieving network interconnection without intruding upon or affecting the business code of devices within the existing network environment.
[0074] The communication control module includes a control unit for controlling communication between the terminal and the console, hiding the connection information between the terminal and the service node cluster. The console does not need to be aware of the existence of each service node cluster. The control unit can be deployed on the console, for example, inserted into the console as an SDK (Software Development Kit). In addition, the communication control module may also include a proxy service unit for converting the communication protocol of data passing between the terminal and the console, uploading or downloading the converted data, and providing services such as event subscription and command issuance. The proxy service unit can be deployed on the network where the service node cluster resides, for example, inserted into the console as an SDK. Figure 2 , Figure 3 and Figure 4 A schematic diagram of the deployment of the communication control module is shown.
[0075] like Figure 2 As shown, an existing computer network system includes, for example, a console, a cluster of service nodes, and terminals. The console is used to control and manage the cluster of service nodes and terminals, and to issue commands and information. A cluster of service nodes is a cluster composed of several service nodes, such as servers. Terminals include, but are not limited to, computers and mobile phones. Network A and Network B are isolated from each other. A control unit is deployed on the console for communication control. In Network A, the console connects to the cluster of service nodes A via the control unit, and terminal A also connects to the cluster of service nodes A. The console uses the control unit to control and manage terminal A connected to the cluster of service nodes A. In Network B, the console connects to the cluster of service nodes B via the control unit, and terminal B also connects to the cluster of service nodes B. The console uses the control unit to control and manage terminal B connected to the cluster of service nodes B.
[0076] Figure 3 Compared to Figure 2 A proxy service unit has been added to convert the communication protocol of data passing between the terminal and the console, and to upload or download the converted data. If the communication protocol used by the network where the service node cluster resides is the same as that used by the network where the console resides, then the proxy service unit is not required. Figure 2As shown. If the communication protocol used by the network where the service node cluster resides is inconsistent with the communication protocol used by the network where the console resides, a proxy service unit can be added to perform communication protocol conversion, such as... Figure 3 As shown. Figure 3 The example illustrates a scenario where the network where the service node cluster resides uses, for example, Transmission Control Protocol (TCP), while the network where the console resides uses, for example, HyperText Transfer Protocol (HTTP). The two communication protocols are inconsistent, necessitating the addition of a proxy service unit.
[0077] In some scenarios, such as Figure 4 As shown, the control panel's gateway is positioned in front and only allows one-way upward connections. In this configuration, the control panel cannot actively connect to the service node cluster. Furthermore, according to the gateway's requirements, data using a specific communication protocol can reach the control panel. If the communication protocol used by the network where the service node cluster resides is inconsistent with the gateway's requirements, a proxy service unit needs to be added. The proxy service unit acts as an intermediary service, converting the control panel's commands into a communication protocol before sending them to the service node cluster. It also converts terminal data from the service node cluster into a communication protocol before uploading it to the control panel. The proxy service unit supports both HTTP and TCP protocols, perfectly adapting to network scenarios where only HTTP is allowed through the gateway. The proxy service unit is an independent, pluggable service, transparent to both the upper-layer control panel and the lower-layer service node cluster, without intruding on or affecting their original business code. The proxy service unit can be inserted or removed as needed for communication.
[0078] Functionally, the control unit can be further subdivided into an agent manager, a protocol adapter, and a cluster manager, and one or more of these functions can be enabled according to communication control needs. The agent manager is configured to manage queues of terminal events and / or console command information. The protocol adapter is configured to perform communication protocol conversion. The cluster manager is configured to process events or commands related to the service node cluster.
[0079] based on Figure 2 The deployment of the communication control module is shown below, and the working process of the communication control module is described below.
[0080] The control unit is configured to: receive a first terminal online event from the service node cluster, the first terminal online event including the terminal's metadata and connection information between the terminal and the service node cluster, the terminal's metadata including the terminal's identifier; establish association information between the terminal's metadata and the connection information between the terminal and the service node cluster based on the first terminal online event; and send a second terminal online event to the console, the second terminal online event including the terminal's metadata. The receiving step is performed, for example, by the agent manager, and the establishing and sending steps are performed, for example, by the cluster manager.
[0081] Thus, with the networks between the various service node clusters isolated, a network connection is established between the console, the service node clusters, and the terminals based on the control unit deployed on the console. This enables the console to control and manage the terminals under the service node clusters without the console being aware of the existence of the various service node clusters. The control unit can hide the connection information between the terminals and the service node clusters without changing the original deployment of the terminals and service node clusters.
[0082] In addition to the terminal's identifier, the terminal's metadata also includes at least one of the following: the terminal's type and location region. The terminal's type allows information about its capabilities, enabling the console to issue commands matching the terminal's capabilities. The connection information between the terminal and the service node cluster includes, for example, information about the service node cluster to which the terminal is connected, the service nodes within it, and the connection protocol.
[0083] The control unit is configured to: receive instruction information sent by the console, the instruction information including the identifier of the terminal; query the associated information (i.e., the association information between the terminal's metadata and the connection information between the terminal and the service node cluster) using the terminal's identifier to obtain the connection information between the terminal and the service node cluster corresponding to the terminal's identifier; and send the instruction information to the terminal through the service node cluster according to the connection information between the terminal and the service node cluster. The receiving step is performed, for example, by a proxy manager, and the querying and sending steps are performed, for example, by a cluster manager.
[0084] Therefore, based on the established connection and association information, and under the control of the control unit, the console sends instructions to the terminals connected to the service node cluster, enabling the console to manage and control the terminals connected to the service node cluster without changing the original deployment of the terminals and the service node cluster.
[0085] The control unit is configured to: receive terminal data events from the service node cluster, wherein the terminal data events include the identifier of the terminal and may also include terminal data; and send terminal data events to the console, wherein the terminal data events include the identifier of the terminal and may also include terminal data. The receiving step is performed, for example, by the agent manager, and the sending step is performed, for example, by the cluster manager.
[0086] Therefore, based on the established connection and association information, and under the control of the control unit, the terminal data events are uploaded to the console, enabling the console to obtain the terminal data without changing the original deployment of the terminal and service node cluster.
[0087] The control unit is configured to: receive a terminal offline event from the service node cluster, the terminal offline event including the identifier of the terminal; and send a terminal offline event to the console, the terminal offline event including the identifier of the terminal. The receiving step is performed, for example, by the agent manager, and the sending step is performed, for example, by the cluster manager.
[0088] Therefore, based on the established connection and association information, and under the control of the control unit, the terminal offline event is uploaded to the console, so that the console can know that the terminal is offline and release the resources related to the terminal connection in a timely manner without changing the original deployment of the terminal and service node cluster.
[0089] Regarding the various terminal events and console command information received by the aforementioned control unit, the control unit is configured to: place the terminal events and / or console command information into a circular queue (such as an array of circular queues to implement a bounded queue), and perform access control on the circular queue based on a Compare-And-Swap (CAS) lock-free method. This step is performed, for example, by a proxy manager. Terminal events include, but are not limited to, terminal online events, terminal data events, and terminal offline events.
[0090] A circular queue initially has three possible values for its elements: HEAD (head), TAIL (tail), and EMPTY (empty). Later, actual data will be added. The circular queue is initially initialized to EMPTY, with two adjacent elements initialized to HEAD and TAIL, representing an empty queue. Enqueue operation: Assuming data x is to be enqueued, locate the TAIL position and use CAS to update (TAIL, EMPTY) to (x, TAIL). If (TAIL, EMPTY) is not found, the queue is full. Dequeue operation: Locate the HEAD position, use CAS to update (HEAD, x) to (EMPTY, HEAD), and return x. If x is TAIL, the queue is empty.
[0091] One advantage of using a circular array is that when a data element is used, the remaining data elements do not need to be moved, thus reducing copying and improving efficiency. Array elements are not garbage collected, avoiding frequent garbage collection (GC). Each producer or consumer thread first requests a position in the array that it can operate on, and then directly writes or reads data from that position. The entire process uses atomic variables and CAS (Compare-and-Swap) to ensure thread safety.
[0092] Regarding the various terminal events and console command information received by the aforementioned control unit, the control unit is configured to: place the terminal events and / or console command information into a circular queue (such as an array of circular queues to implement a bounded queue), and perform access control on the circular queue based on a Compare-And-Swap (CAS) lock-free method. This step is performed, for example, by a proxy manager.
[0093] Figure 5 The diagram illustrates the interaction of a communication control method based on a communication control module according to some embodiments of this disclosure.
[0094] In step 501, when the terminal establishes a connection for the first time (such as a TCP connection), it transmits metadata to the service node cluster to which it wishes to access.
[0095] In step 502, the service node cluster compares the current number of connections of the service nodes (such as A, B, and C) in the cluster to find the service node with the least amount of connected data, and sends the address information of the service node to the terminal through a reconnection event.
[0096] In step 503, the terminal initiates a connection to the service node specified in the reconnection event and reports its own metadata.
[0097] In step 504, the service node specified by the reconnection event (i.e. the service node to which the terminal is connected) determines the corresponding callback address based on the terminal's metadata and sends the callback address to the terminal.
[0098] In step 505, the terminal enables dynamic listening mode for the callback address, and subsequent instruction messages will be pushed to this callback address.
[0099] In step 506, the service node specified in the reconnection event sends a first terminal online event to the control unit. This first terminal online event includes the terminal's metadata and connection information between the terminal and the service node cluster. The terminal's metadata may include, for example, the terminal's identifier, type, and location region. The connection information between the terminal and the service node cluster may include, for example, the service node cluster to which the terminal is connected, the service nodes within it, and the connection protocol.
[0100] In step 507, the control unit, such as the agent manager, receives the first terminal online event and performs queue management. The cluster manager reads the first terminal online event and establishes the association information between the terminal's metadata and the connection information between the terminal and the service node cluster based on the first terminal online event, so as to maintain and manage the terminal connection information. The second terminal online event is sent to the console. The second terminal online event includes the terminal's metadata and hides the connection information between the terminal and the service node cluster.
[0101] Therefore, in the case where the networks between various service node clusters are isolated, i.e. in the east-west network isolation scenario, a network connection is established between the console, service node clusters, and terminals based on the control unit deployed on the console. This enables the console to control and manage the terminals under the service node clusters, and the console does not need to be aware of the existence of each service node cluster. The control unit can hide the connection information between the terminal and the service node cluster without changing the original deployment of the terminal and the service node cluster.
[0102] If the console has instructions sent to the terminal, you can continue with steps 508-510 below.
[0103] In step 508, the control unit, such as the agent manager, receives the instruction information sent by the console and performs queue management. The cluster manager reads the instruction information, which includes the identifier of the terminal.
[0104] In step 509, the control unit, such as the cluster manager, uses the terminal's identifier to query the association information to obtain the connection information between the terminal and the service node cluster corresponding to the terminal's identifier; based on the connection information between the terminal and the service node cluster, the command information is sent to the service node in the service node cluster to which the terminal is connected. Thus, the command information is automatically identified and routed.
[0105] In step 510, the service node sends the instruction information to the callback address corresponding to the terminal's identifier, so that the terminal can obtain the instruction information by listening to the callback address.
[0106] As can be seen from steps 508-510, based on the connection information managed by the control unit, the console can issue instructions to the terminal. The console only needs to know the terminal's metadata (identifier) and does not need to know the connection details between the terminal and the service node cluster, nor does it need to change the original deployment of the terminal and the service node cluster.
[0107] If the terminal has sent terminal data, then proceed to steps 511-513 below.
[0108] In step 511, a service node in the service node cluster connected to the terminal receives a terminal data event sent by the terminal, the terminal data event including the identifier of the terminal.
[0109] In step 512, the service node in the service node cluster connected to the terminal sends a terminal data event to the control unit. The terminal data event includes the identifier of the terminal.
[0110] In step 513, the control unit, such as the agent manager, receives terminal data events and performs queue management. The cluster manager reads the terminal data events and sends them to the console. The terminal data events include the identifier of the terminal.
[0111] Therefore, based on the established connection and association information, and under the control of the control unit, the terminal data events are uploaded to the console, enabling the console to obtain the terminal data without changing the original deployment of the terminal and service node cluster.
[0112] If the terminal wants to disconnect from the currently connected network, it can continue with steps 514-516 below.
[0113] In step 514, a service node in the service node cluster connected to the terminal receives a terminal offline event sent by the terminal. The terminal offline event includes the identifier of the terminal.
[0114] In step 515, the service node in the service node cluster connected to the terminal sends a terminal offline event to the control unit. The terminal offline event includes the identifier of the terminal.
[0115] In step 516, the control unit, such as the agent manager, receives the terminal offline event and performs queue management. The cluster manager reads the terminal offline event and sends the terminal offline event to the console. The terminal offline event includes the identifier of the terminal.
[0116] Therefore, based on the established connection and association information, and under the control of the control unit, the terminal offline event is uploaded to the console, so that the console can know that the terminal is offline and release the resources related to the terminal connection in a timely manner without changing the original deployment of the terminal and service node cluster.
[0117] based on Figure 3 and Figure 4 The deployment of the communication control module is shown below, and the working process of the communication control module is described below.
[0118] The proxy service unit is configured to: receive a first terminal online event from the service node cluster, convert the first terminal online event from a first communication protocol (such as TCP) used by the network where the service node cluster is located to a second communication protocol (such as HTTP) used by the network where the console is located, and send the first terminal online event under the second communication protocol to the control unit. The control unit is configured to: receive the first terminal online event under the second communication protocol sent by the proxy service unit, convert the first terminal online event under the second communication protocol to a first terminal online event under the first communication protocol, and then, based on the first terminal online event, establish association information between the terminal's metadata and the connection information between the terminal and the service node cluster; and send a second terminal online event to the console, the second terminal online event including the terminal's metadata. The receiving step is performed, for example, by the proxy manager, the conversion step is performed, for example, by the protocol adapter, and the establishment and sending steps are performed, for example, by the cluster manager.
[0119] Thus, in a complex network environment with network isolation between various service node clusters and involving multiple communication protocols, the control unit deployed on the console, together with the proxy service unit deployed on the network where the service node cluster is located, establishes a network connection between the console, the service node cluster, and the terminal. Furthermore, the proxy service unit is transparent to both the upper-layer console and the lower-layer service node cluster, and does not intrude on or affect the original business code of either of them.
[0120] The proxy service unit is configured to: receive terminal data events from the service node cluster, the terminal data events including the identifier of the terminal; convert the terminal data events from a first communication protocol used by the network where the service node cluster resides to a second communication protocol used by the network where the console resides; and send the terminal data events under the second communication protocol to the control unit. The control unit is configured to: receive terminal data events under the second communication protocol; convert the terminal data events under the second communication protocol to terminal data events under the first communication protocol; and send the terminal data events under the first communication protocol to the console. The receiving step is performed, for example, by the proxy manager; the conversion step is performed, for example, by the protocol adapter; and the sending step is performed, for example, by the cluster manager.
[0121] Thus, in a complex network environment with network isolation between various service node clusters and involving multiple communication protocols, based on the aforementioned established connections and association information, and through the cooperation of the proxy service unit and the control unit, terminal data events are uploaded to the console, enabling the console to obtain terminal data without changing the original deployment of the terminal and service node clusters.
[0122] The control unit is configured to: receive instruction information under a second communication protocol sent by the console, the instruction information including the identifier of the terminal; query the associated information using the identifier of the terminal to obtain the connection information between the terminal and the service node cluster corresponding to the identifier of the terminal; and send the instruction information under the second communication protocol and the connection information between the terminal and the service node cluster to the proxy service unit. The receiving step is performed, for example, by the proxy manager, and the querying and sending steps are performed, for example, by the cluster manager. The proxy service unit is configured to: convert the instruction information under the second communication protocol into instruction information under a first communication protocol, and send the instruction information under the first communication protocol to the terminal through the service node cluster according to the connection information between the terminal and the service node cluster.
[0123] Therefore, in a complex network environment with network isolation between various service node clusters and involving multiple communication protocols, based on the aforementioned established connection and association information, and through the cooperation of the proxy service unit and the control unit, the console's instruction information is sent to the terminals accessed under the service node cluster, enabling the console to manage and control the terminals accessed under the service node cluster without changing the original deployment of the terminals and service node clusters.
[0124] The proxy service unit is configured to: receive terminal offline events from the service node cluster, the terminal offline events including the identifier of the terminal; convert the terminal offline events from a first communication protocol used by the network where the service node cluster resides to a second communication protocol used by the network where the console resides; and send the terminal offline events under the second communication protocol to the control unit. The control unit is configured to: receive terminal offline events under the second communication protocol; convert the terminal offline events under the second communication protocol to terminal offline events under the first communication protocol; and send the terminal offline events under the first communication protocol to the console. The receiving step is performed, for example, by the proxy manager; the conversion step is performed, for example, by the protocol adapter; and the sending step is performed, for example, by the cluster manager.
[0125] Therefore, in a complex network environment with network isolation between various service node clusters and involving multiple communication protocols, based on the aforementioned established connection and association information, and through the cooperation of the proxy service unit and the control unit, the terminal offline event is uploaded to the console, enabling the console to know that the terminal is offline and release the resources related to the terminal connection in a timely manner without changing the original deployment of the terminal and service node clusters.
[0126] Regarding the various terminal events and console command information received by the aforementioned control unit, the control unit is configured to: place the terminal events and / or console command information into a circular queue, and perform access control on the circular queue based on a comparison and replacement lock-free method. Terminal events include, but are not limited to, terminal online events, terminal data events, and terminal offline events. Specific queue management methods are described above and will not be repeated here.
[0127] like Figure 6 As shown, the proxy service unit acquires various terminal events, sequences them, and places them into an event queue for processing in a specific order. The proxy service unit periodically accesses the console through the control unit to transfer terminal events to the console. The proxy service unit can also obtain command information from the console through the control unit. If there is no command information in the current cycle, it waits for the next cycle; if there is command information in the current cycle, it sends it to the terminals connected to the corresponding service node cluster.
[0128] Figure 7 The diagram illustrates the interaction of a communication control method based on a communication control module according to some embodiments of this disclosure.
[0129] In step 701, when the terminal establishes a connection for the first time (such as a TCP connection), it transmits metadata to the service node cluster to which it wishes to access.
[0130] In step 702, the service node cluster compares the current number of connections of the service nodes (such as A, B, and C) in the cluster to find the service node with the least amount of connected data, and sends the address information of the service node to the terminal through a reconnection event.
[0131] In step 703, the terminal initiates a connection to the service node specified in the reconnection event and reports its own metadata.
[0132] In step 704, the service node specified by the reconnection event (i.e. the service node to which the terminal is connected) determines the corresponding callback address based on the terminal's metadata and sends the callback address to the terminal.
[0133] In step 705, the terminal enables dynamic listening mode for the callback address, and subsequent instruction messages will be pushed to this callback address.
[0134] In step 706, the service node specified by the reconnection event sends a first terminal online event to the proxy service unit. The first terminal online event includes the terminal's metadata and the connection information between the terminal and the service node cluster.
[0135] In step 707, the agent service unit receives the first terminal online event from the service node cluster, converts the first terminal online event from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located, and sends the first terminal online event under the second communication protocol to the control unit through the network gateway (if there is a network gateway).
[0136] In step 708, the control unit, such as the agent manager, receives the first terminal online event under the second communication protocol sent by the agent service unit and performs queue management; the protocol adapter reads the first terminal online event under the second communication protocol and converts it into a first terminal online event under the first communication protocol; the cluster manager establishes the association information between the terminal's metadata and the connection information between the terminal and the service node cluster based on the first terminal online event, so as to maintain and manage the terminal connection information, and sends the second terminal online event to the console. The second terminal online event includes the terminal's metadata and hides the connection information between the terminal and the service node cluster.
[0137] Thus, in a complex network environment with network isolation between various service node clusters and involving multiple communication protocols, the control unit deployed on the console, together with the proxy service unit deployed on the network where the service node cluster is located, establishes a network connection between the console, the service node cluster, and the terminal. Furthermore, the proxy service unit is transparent to both the upper-layer console and the lower-layer service node cluster, and does not intrude on or affect the original business code of either of them.
[0138] If the console has instructions sent to the terminal, you can continue with steps 709-712 below.
[0139] In step 709, the control unit, such as the agent manager, receives instruction information under the second communication protocol sent by the console and performs queue management. The instruction information includes the identifier of the terminal.
[0140] In step 710, the control unit, such as the cluster manager, reads the instruction information, queries the associated information using the identifier of the terminal, and obtains the connection information between the terminal and the service node cluster corresponding to the identifier of the terminal; the instruction information under the second communication protocol and the connection information between the terminal and the service node cluster are sent to the proxy service unit through a network gateway (if a network gateway is available).
[0141] In step 711, the proxy service unit converts the instruction information under the second communication protocol into instruction information under the first communication protocol, and sends the instruction information under the first communication protocol to the service node connected to the terminal under the corresponding service node cluster according to the connection information between the terminal and the service node cluster.
[0142] In step 712, the service node sends the instruction information to the callback address corresponding to the terminal's identifier, so that the terminal can obtain the instruction information by listening to the callback address.
[0143] Through steps 709-712, in a complex network environment involving network isolation between various service node clusters and multiple communication protocols, based on the aforementioned established connection and association information, and with the cooperation of the proxy service unit and the control unit, the console's instruction information is sent to the terminals accessed under the service node cluster, thereby enabling the console to manage and control the terminals accessed under the service node cluster without changing the original deployment of the terminals and service node clusters.
[0144] If the terminal has sent terminal data, then proceed to steps 713-715 below.
[0145] In step 713, the service node in the service node cluster connected to the terminal receives the terminal data event sent by the terminal and forwards it to the proxy service unit. The terminal data event includes the identifier of the terminal.
[0146] In step 714, the agent service unit receives the terminal data event sent by the service node, converts the terminal data event from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located, and sends the terminal data event under the second communication protocol to the control unit through the network gateway (if there is a network gateway).
[0147] In step 715, the control unit, such as the agent manager, receives terminal data events under the second communication protocol and performs queue management. The protocol adapter reads the events and converts the terminal data events under the second communication protocol into terminal data events under the first communication protocol. The cluster manager sends the terminal data events under the first communication protocol to the console.
[0148] Thus, in a complex network environment with network isolation between various service node clusters and involving multiple communication protocols, based on the aforementioned established connections and association information, and through the cooperation of the proxy service unit and the control unit, terminal data events are uploaded to the console, enabling the console to obtain terminal data without changing the original deployment of the terminal and service node clusters.
[0149] If the terminal wants to disconnect from the currently connected network, it can continue with steps 716-718 below.
[0150] In step 716, a service node in the service node cluster connected to the terminal receives a terminal offline event sent by the terminal. The terminal offline event includes the identifier of the terminal.
[0151] In step 717, the agent service unit receives the terminal offline event sent by the service node, converts the terminal offline event from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located, and sends the terminal offline event under the second communication protocol to the control unit.
[0152] In step 718, the control unit, such as the agent manager, receives the terminal offline event under the second communication protocol and performs queue management. The protocol adapter converts the terminal offline event under the second communication protocol into a terminal offline event under the first communication protocol. The cluster manager sends the terminal offline event under the first communication protocol to the console.
[0153] Therefore, in a complex network environment with network isolation between various service node clusters and involving multiple communication protocols, based on the aforementioned established connection and association information, and through the cooperation of the proxy service unit and the control unit, the terminal offline event is uploaded to the console, enabling the console to know that the terminal is offline and release the resources related to the terminal connection in a timely manner without changing the original deployment of the terminal and service node clusters.
[0154] Figure 8 A schematic diagram of a communication control device according to some embodiments of this disclosure is shown. For example... Figure 8 As shown, the communication control device 800 of this embodiment includes a memory 810 and a processor 820 coupled to the memory 810. The processor 820 is configured to execute the communication control method in various embodiments based on instructions stored in the memory 810.
[0155] The communication control method includes, for example, the following: a control unit of a communication control module receives a first terminal online event from a service node cluster, the first terminal online event including the terminal's metadata and connection information between the terminal and the service node cluster, the terminal's metadata including the terminal's identifier, and the control unit being deployed on a console; the control unit establishes association information between the terminal's metadata and the connection information between the terminal and the service node cluster based on the first terminal online event; and the control unit sends a second terminal online event to the console, the second terminal online event including the terminal's metadata.
[0156] The communication control method further includes, for example, the control unit receiving instruction information sent by the console, the instruction information including the identifier of the terminal; the control unit using the identifier of the terminal to query the associated information to obtain the connection information between the terminal and the service node cluster corresponding to the identifier of the terminal; and the control unit sending the instruction information to the terminal through the service node cluster according to the connection information between the terminal and the service node cluster.
[0157] The communication control method further includes, for example, a proxy service unit of the communication control module receiving a first terminal online event from the service node cluster, converting the first terminal online event from a first communication protocol used by the network where the service node cluster is located to a second communication protocol used by the network where the console is located, and sending the first terminal online event under the second communication protocol to the control unit, wherein the proxy service unit is deployed in the network where the service node cluster is located; the control unit receiving the first terminal online event from the service node cluster includes: the control unit receiving the first terminal online event under the second communication protocol sent by the proxy service unit, and converting the first terminal online event under the second communication protocol to a first terminal online event under the first communication protocol.
[0158] The communication control method further includes, for example, the following: the proxy service unit receives terminal data events from the service node cluster, the terminal data events including the identifier of the terminal, and converts the terminal data events from a first communication protocol used by the network where the service node cluster is located to a second communication protocol used by the network where the console is located, and sends the terminal data events under the second communication protocol to the control unit; the control unit converts the terminal data events under the second communication protocol to terminal data events under the first communication protocol, and sends the terminal data events under the first communication protocol to the console.
[0159] The communication control method further includes, for example, the following: the control unit receives instruction information under a second communication protocol sent by the console, the instruction information including the identifier of the terminal; queries the associated information using the identifier of the terminal to obtain the connection information between the terminal and the service node cluster corresponding to the identifier of the terminal; sends the instruction information under the second communication protocol and the connection information between the terminal and the service node cluster to the proxy service unit; the proxy service unit converts the instruction information under the second communication protocol into instruction information under a first communication protocol, and sends the instruction information under the first communication protocol to the terminal through the service node cluster according to the connection information between the terminal and the service node cluster.
[0160] The communication control method further includes, for example, the following: the proxy service unit receives a terminal offline event from the service node cluster, the terminal offline event including the identifier of the terminal, and converts the terminal offline event from a first communication protocol used by the network where the service node cluster is located to a second communication protocol used by the network where the console is located, and sends the terminal offline event under the second communication protocol to the control unit; the control unit converts the terminal offline event under the second communication protocol to a terminal offline event under the first communication protocol, and sends the terminal offline event under the first communication protocol to the console.
[0161] The communication control device 800 may also include an input / output interface 830, a network interface 840, a storage interface 850, etc. These interfaces 830, 840, 850, as well as the memory 810 and the processor 820, can be connected, for example, via a bus 860.
[0162] The memory 810 may include, for example, system memory, fixed non-volatile storage media, etc. The system memory may store, for example, the operating system, application programs, boot loader, and other programs.
[0163] The processor 820 can be implemented using a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates, or transistors, or other discrete hardware components.
[0164] The input / output interface 830 provides a connection interface for input / output devices such as monitors, mice, keyboards, and touchscreens. The network interface 840 provides a connection interface for various networked devices. The storage interface 850 provides a connection interface for external storage devices such as SD cards and USB flash drives. The bus 860 can use any bus architecture from a variety of bus structures. For example, bus architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, and Peripheral Component Interconnect (PCI) bus.
[0165] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more (non-transitory) computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, cloud storage, etc.) containing computer program code. A computer program product should be understood as a software product that primarily implements its solution through a computer program.
[0166] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0167] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0168] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0169] The above description is only a preferred embodiment of this disclosure and is not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the protection scope of this disclosure.
Claims
1. A communication control module, comprising a control unit, the control unit being deployed on a console, the control unit being configured to: Receive a first terminal online event from the service node cluster. The first terminal online event includes the terminal's metadata and the connection information between the terminal and the service node cluster. The terminal's metadata includes the terminal's identifier. Based on the first terminal going online event, establish the association information between the terminal's metadata and the connection information between the terminal and the service node cluster; Send a second terminal online event to the console. The second terminal online event includes the metadata of the terminal.
2. The communication control module according to claim 1, wherein, The control unit is configured to: Receive instruction information sent by the console, the instruction information including the identifier of the terminal; The associated information is queried using the identifier of the terminal to obtain the connection information between the terminal and the service node cluster corresponding to the identifier of the terminal; Based on the connection information between the terminal and the service node cluster, the instruction information is sent to the terminal through the service node cluster.
3. The communication control module according to claim 1, wherein, The communication control module also includes a proxy service unit, which is deployed in the network where the service node cluster is located. The proxy service unit is configured to: receive a first terminal online event from the service node cluster, convert the first terminal online event from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located, and send the first terminal online event under the second communication protocol to the control unit; The control unit is configured to: receive a first terminal online event under a second communication protocol sent by the agent service unit, and convert the first terminal online event under the second communication protocol into a first terminal online event under a first communication protocol.
4. The communication control module according to claim 3, wherein, The proxy service unit is configured to: receive terminal data events from the service node cluster, the terminal data events including the identifier of the terminal, convert the terminal data events from a first communication protocol used by the network where the service node cluster is located to a second communication protocol used by the network where the console is located, and send the terminal data events under the second communication protocol to the control unit; The control unit is configured to convert terminal data events under the second communication protocol into terminal data events under the first communication protocol, and send the terminal data events under the first communication protocol to the console.
5. The communication control module according to claim 3, wherein, The control unit is configured to: receive instruction information under a second communication protocol sent by the console, the instruction information including the identifier of the terminal; query the associated information using the identifier of the terminal to obtain the connection information between the terminal and the service node cluster corresponding to the identifier of the terminal; and send the instruction information under the second communication protocol and the connection information between the terminal and the service node cluster to the proxy service unit. The proxy service unit is configured to: convert instruction information under the second communication protocol into instruction information under the first communication protocol, and send the instruction information under the first communication protocol to the terminal through the service node cluster according to the connection information between the terminal and the service node cluster.
6. The communication control module according to claim 3, wherein, The proxy service unit is configured to: receive a terminal offline event from the service node cluster, the terminal offline event including the identifier of the terminal, convert the terminal offline event from a first communication protocol used by the network where the service node cluster is located to a second communication protocol used by the network where the console is located, and send the terminal offline event under the second communication protocol to the control unit; The control unit is configured to convert a terminal offline event under the second communication protocol into a terminal offline event under the first communication protocol, and send the terminal offline event under the first communication protocol to the console.
7. The communication control module according to claim 1, wherein, The control unit is configured to: Receive terminal data events or terminal offline events from the service node cluster, wherein the terminal data events or terminal offline events include the identifier of the terminal; Send a terminal data event or a terminal offline event to the console, wherein the terminal data event or the terminal offline event includes the identifier of the terminal.
8. The communication control module according to any one of claims 1-7, wherein, The control unit is configured to: place terminal events and / or console instruction information into a circular queue, and perform access control on the circular queue based on a comparison and replacement lockless method, wherein the terminal events include at least one of terminal online events, terminal data events, and terminal offline events.
9. The communication control module according to any one of claims 1-7, wherein, The connection information between the terminal and the service node cluster includes at least one of the following: the service node cluster to which the terminal is connected, the service node, and the connection protocol; and / or, the metadata of the terminal also includes at least one of the following: the type of the terminal and the location region.
10. The communication control module according to any one of claims 1-7, wherein, The communication control module is pluggable.
11. A communication control method, comprising: The control unit of the communication control module receives a first terminal online event from the service node cluster. The first terminal online event includes the terminal's metadata and the connection information between the terminal and the service node cluster. The terminal's metadata includes the terminal's identifier. The control unit is deployed on the console. The control unit establishes the association information between the metadata of the terminal and the connection information between the terminal and the service node cluster based on the first terminal online event; The control unit sends a second terminal online event to the console, the second terminal online event including the terminal's metadata.
12. The communication control method according to claim 11, further comprising: The control unit receives instruction information sent by the console, the instruction information including the identifier of the terminal; The control unit uses the terminal's identifier to query the associated information to obtain the connection information between the terminal and the service node cluster corresponding to the terminal's identifier. The control unit sends the instruction information to the terminal through the service node cluster based on the connection information between the terminal and the service node cluster.
13. The communication control method according to claim 11, further comprising: The proxy service unit of the communication control module receives a first terminal online event from the service node cluster, converts the first terminal online event from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located, and sends the first terminal online event under the second communication protocol to the control unit. The proxy service unit is deployed in the network where the service node cluster is located. The control unit receiving the first terminal online event from the service node cluster includes: the control unit receiving the first terminal online event under the second communication protocol sent by the proxy service unit, and converting the first terminal online event under the second communication protocol into a first terminal online event under the first communication protocol.
14. The communication control method according to claim 13, further comprising: The proxy service unit receives terminal data events from the service node cluster, the terminal data events including the identifier of the terminal, and converts the terminal data events from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located, and sends the terminal data events under the second communication protocol to the control unit. The control unit converts terminal data events under the second communication protocol into terminal data events under the first communication protocol, and sends the terminal data events under the first communication protocol to the console.
15. The communication control method according to claim 13, further comprising: The control unit receives instruction information under the second communication protocol sent by the console, the instruction information including the identifier of the terminal; The associated information is queried using the identifier of the terminal to obtain the connection information between the terminal and the service node cluster corresponding to the identifier of the terminal; the instruction information under the second communication protocol and the connection information between the terminal and the service node cluster are sent to the proxy service unit. The proxy service unit converts the instruction information under the second communication protocol into instruction information under the first communication protocol, and sends the instruction information under the first communication protocol to the terminal through the service node cluster according to the connection information between the terminal and the service node cluster.
16. The communication control method according to claim 13, further comprising: The proxy service unit receives a terminal offline event from the service node cluster. The terminal offline event includes the identifier of the terminal. The unit converts the terminal offline event from the first communication protocol used by the network where the service node cluster is located to the second communication protocol used by the network where the console is located. The unit then sends the terminal offline event under the second communication protocol to the control unit. The control unit converts the terminal offline event under the second communication protocol into a terminal offline event under the first communication protocol, and sends the terminal offline event under the first communication protocol to the console.
17. A communication control device, comprising: Memory; And a processor coupled to the memory, characterized in that the processor is configured to execute the communication control method of any one of claims 11-16 based on instructions stored in the memory.
18. A computer-readable storage medium storing computer instructions thereon, characterized in that, When executed by a processor, the computer instructions implement the communication control method according to any one of claims 11-16.
19. A computer program product comprising computer instructions, characterized in that, When executed by a processor, the computer instructions implement the communication control method according to any one of claims 11-16.