A data interaction system and a data processing method

By constructing a data interaction system with multiple cascaded server nodes, the second server node takes priority in processing data interaction and switches to the third server node in case of an anomaly. This solves the problem of communication interruption caused by the failure of the intermediate server and realizes information synchronization and normal business operation between multiple systems.

CN115604288BActive Publication Date: 2026-04-14BEIJING FEIXUN DIGITAL TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING FEIXUN DIGITAL TECH CO LTD
Filing Date
2022-09-30
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In existing technologies, due to the single upstream node connection, when an intermediate server node malfunctions, communication between the two server nodes cannot be established, resulting in the suspension of data synchronization.

Method used

A data interaction system is constructed, including a first server node, a second server node, a third server node, and a fourth server node. The fourth server node is cascaded to both the second and third server nodes to achieve cascading and interoperability between multiple systems. The second server node takes priority in processing data interaction, while the third server node acts as a backup node to take over data transmission in case of anomalies.

Benefits of technology

It enables information synchronization between multiple server nodes, ensuring the normal operation of business processes in different systems and resolving communication interruption issues caused by the failure of a single upstream node.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115604288B_ABST
    Figure CN115604288B_ABST
Patent Text Reader

Abstract

The application discloses a data interaction system and a data processing method. The data interaction system comprises a first server node, a second server node, a third server node and a fourth server node, the fourth server node is connected to the second server node and the third server node at the same time, and the system versions of the second server node and the third server node are different. Through the technical scheme of the application, the problem that the two end server nodes cannot communicate when the intermediate server node is abnormal due to single superior node connection in the prior art can be solved, the cascade and intercommunication among multiple systems can be realized, information synchronization among multiple server nodes is realized, and the operation of different systems on a service can be normally performed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to a data interaction system and a data processing method. Background Technology

[0002] In current technologies, communication between system server nodes is achieved through a single upstream node connection, and data synchronization between server nodes is achieved through sequential forwarding. In this communication method, service initiation can only be via single-route forwarding. Therefore, if an intermediate server node malfunctions, communication between the two ends of the server node will be suspended until the intermediate server node recovers and resumes data synchronization. Summary of the Invention

[0003] This invention provides a data interaction system and a data processing method to solve the problem in the prior art where communication between two server nodes is impossible when an intermediate server node malfunctions due to a single upper-level node connection. It enables cascading and interoperability between multiple systems, allowing information synchronization between multiple server nodes and ensuring that different systems can perform business operations normally.

[0004] According to one aspect of the present invention, a data interaction system is provided, comprising:

[0005] The system consists of a first server node, a second server node, a third server node, and a fourth server node. The fourth server node is cascaded to both the second and third server nodes. The second and third server nodes have different system versions.

[0006] According to another aspect of the present invention, a data processing method is provided, the data processing method comprising:

[0007] The first server node receives a service request sent by the first client to the second client, wherein the second client is a client of the fourth server node, and the service request carries a list of server node identifiers;

[0008] If the connection between the second server node and the fourth server node is successfully established according to the server node identifier list, the first server node sends the service request to the second server node, so that the second server node sends the service request and the identifier information of the second server node to the fourth server node.

[0009] The fourth server node sends the service request and the identification information of the second server node to the second client.

[0010] This invention, through the construction of a data interaction system, includes a first server node, a second server node, a third server node, and a fourth server node. The fourth server node is cascaded to both the second and third server nodes. The second and third server nodes have different system versions. This solves the problem in the prior art where communication between the two server nodes is impossible when an intermediate server node malfunctions due to a single upper-level node connection. It enables cascading and interoperability between multiple systems, allowing information synchronization between multiple server nodes and ensuring that different systems can perform business operations normally.

[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0012] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0013] Figure 1 This is a schematic diagram of the structure of a data interaction system in the prior art;

[0014] Figure 2 This is a schematic diagram of the structure of a data interaction system according to an embodiment of the present invention;

[0015] Figure 3 This is a flowchart of a data processing method according to an embodiment of the present invention. Detailed Implementation

[0016] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0017] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0018] Example 1

[0019] Figure 1 This is a schematic diagram of the structure of a data interaction system in the prior art, such as... Figure 1 As shown, the data interaction system specifically includes:

[0020] Server nodes A101, B102, C103, and D104 are configured such that server nodes B102 and C103 are cascaded to server node A101, while server node D104 is cascaded to server node B102. Server nodes B102 and C103 have different system versions.

[0021] The aforementioned data interaction systems communicate via a single upstream node connection. Data synchronization between server nodes occurs through sequential forwarding, for example, server node D → server node B → server node A → server node C. The login clients of server node A and server node B can display information data from server node D.

[0022] In the above interconnection methods, the service initiation method can only be single-route forwarding. In this case, if an intermediate server node malfunctions, communication between the two server nodes will be suspended until the intermediate server node recovers and resumes data synchronization forwarding. For example, if server node B malfunctions, communication between server node D and server node A will be suspended until server node B recovers and resumes data synchronization forwarding.

[0023] Figure 2 This is a schematic diagram of the structure of a data interaction system according to an embodiment of the present invention. This embodiment can be applied to data interaction situations, such as... Figure 2 As shown, the data interaction system specifically includes:

[0024] The system consists of a first server node 201, a second server node 202, a third server node 203, and a fourth server node 204. The fourth server node 204 is cascaded to both the second server node 202 and the third server node 203. The second server node 202 and the third server node 203 have different system versions.

[0025] In the implementation process, the data interaction system of this embodiment may have one or more fourth server nodes 204. Figure 2 The following explanation uses a fourth server node, 204, as an example.

[0026] In this embodiment, the second server node 202 and the third server node 203 in the data interaction system are simultaneously cascaded to the first server node 201, and the fourth server node 204 is simultaneously cascaded to the second server node 202 and the third server node 203. That is, the first server node 201 is the superior node of the second server node 202 and the third server node 203, and the second server node 202 and the third server node 203 are both superior nodes of the fourth server node 204.

[0027] In this embodiment, the second server node 202 and the third server node 203 have different system versions; that is, the second server node 202 and the third server node 203 can be two different server systems. For example, the system version of the second server node 202 can be XXX2.0, and the system version of the third server node 203 can be XXX3.0. Furthermore, the second server node 202 and the third server node 203 can be two independently running nodes (i.e., the second server node 202 and the third server node 203 can be in different local area networks) in a ring-shaped scenario. Alternatively, the second server node 202 and the third server node 203 can be in the same local area network; this embodiment of the invention does not impose any restrictions on this.

[0028] This invention, through the construction of a data interaction system, includes a first server node, a second server node, a third server node, and a fourth server node. The fourth server node is cascaded to both the second and third server nodes. The second and third server nodes have different system versions. This solves the problem in the prior art where communication between the two server nodes is impossible when an intermediate server node malfunctions due to a single upper-level node connection. It enables cascading and interoperability between multiple systems, allowing information synchronization between multiple server nodes and ensuring that different systems can perform business operations normally.

[0029] Furthermore, the second server node has a higher priority than the third server node.

[0030] In actual operation, under the condition that the network is connected in the entire data interaction system, when conducting data interaction between the first server node and the fourth server node, if both the second server node and the third server node are running normally, the data interaction between the first server node and the fourth server node will be carried out by default through the second server node. If the second server node malfunctions but the third server node is running normally, the data interaction between the first server node and the fourth server node will be carried out through the third server node.

[0031] Furthermore, on each server node's client, client information corresponding to other clients of the current server node and client information corresponding to clients of the current server node's subordinate server nodes are displayed.

[0032] In this embodiment, each server node is connected to its respective client. The client on each server node can display client information corresponding to other clients of the current server node and client information corresponding to clients of the current server node's subordinate server nodes. For example, the client on the fourth server node can display client information corresponding to the fourth server node; the client on the third server node can display client information corresponding to the third server node and client information corresponding to the client of the third server node's subordinate server node (i.e., the fourth server node); the client on the second server node can display client information corresponding to the second server node and client information corresponding to the client of the second server node's subordinate server node (i.e., the fourth server node); and the client on the first server node can display client information corresponding to the first server node, client information corresponding to the clients of the first server node's subordinate server nodes (i.e., the second and third server nodes), and client information corresponding to the clients of the second and third server nodes' subordinate server nodes (i.e., the fourth server node).

[0033] The technical solution of this invention constructs a data interaction system including a first server node, a second server node, a third server node, and a fourth server node. When the second server node malfunctions, data interaction between the first and fourth server nodes is performed through the third server node. This solves the problem in the prior art where communication between the two server nodes is impossible when an intermediate server node malfunctions due to a single upper-level node connection. It enables cascading and interoperability between multiple systems, allowing information synchronization between multiple server nodes and ensuring that different systems can operate normally for their business.

[0034] Example 2

[0035] Figure 3 This is a flowchart of a data processing method according to an embodiment of the present invention. This embodiment is applicable to data processing situations, and the data processing method is applied to the data interaction system in the above embodiment, such as... Figure 3 As shown, the data processing method includes:

[0036] S301, The first server node receives the service request sent by the first client for the second client.

[0037] In this embodiment, each server node is connected to its respective client, wherein the first client is the client of the first server node, and the second client is the client of the fourth server node.

[0038] Preferably, in this embodiment, the service request can be a video-on-demand request. For example, a logged-in user of the first server node can initiate a video-on-demand request from the first client to the second client, requesting audio and video data from the fourth server node connected to the second client.

[0039] The business request includes a list of server node identifiers. It's important to note that the server node identifier information can be the server node's name and / or number, and the server node identifier list can be a list consisting of the name and / or number of at least one server node. The server node identifier list shows which server node has successfully connected, which server node is online, and so on.

[0040] Specifically, a logged-in user of the first server node can initiate a service request to a second client connected to the fourth server node from a first client connected to the first server node. The service request carries a list of server node identifiers, and the first server node receives the service request to the second client sent by the first client.

[0041] S302. If the connection between the second server node and the fourth server node is successfully determined according to the server node identifier list, the first server node sends the service request to the second server node, so that the second server node sends the service request and the identifier information of the second server node to the fourth server node.

[0042] For example, the identification information of the second server node may be the name and / or number of the second server node.

[0043] Specifically, if the connection between the second and fourth server nodes is successfully established based on the server node identifier list, the first server node sends the service request to the second server node. This causes the second server node to then forward the service request and its identifier information to the fourth server node. Since the second server node has a higher priority than the third server node, regardless of whether the connection between the third and fourth server nodes is successful or not, the first server node prioritizes sending the service request to the second server node, which then forwards it to the fourth server node.

[0044] S303, the fourth server node sends the service request and the identification information of the second server node to the second client.

[0045] Specifically, after receiving the service request and the identification information of the second server node sent by the second server node, the fourth server node sends the service request and the identification information of the second server node to the second client connected to the fourth server node.

[0046] In actual operation, the logged-in user of the second server node can also initiate a business request for the second client from the client corresponding to the second server node. The second server node receives the business request sent by the client corresponding to the second server node. If the second server node and the fourth server node are successfully connected, the second server node directly sends the business request and the identification information of the second server node to the fourth server node. The fourth server node then sends the business request and the identification information of the second server node to the second client.

[0047] In this embodiment of the invention, a first server node receives a service request from a first client for a second client. If, based on the server node identifier list, the second and fourth server nodes are successfully connected, the first server node sends the service request to the second server node. This causes the second server node to send the service request and its identifier information to the fourth server node, which then sends the service request and its identifier information to the second client. The fourth server node then sends the service request and its identifier information to the second client. This invention solves the problem in the prior art where communication between two server nodes is impossible when a single upstream node connection fails and an intermediate server node malfunctions. It enables cascading and interoperability between multiple systems, synchronizing information between multiple server nodes and ensuring that different systems can perform their service operations normally.

[0048] Optionally, after the fourth server node sends the service request and the identification information of the second server node to the second client, the method further includes:

[0049] The fourth server node receives the feedback information sent by the second client and sends the feedback information to the second server node according to the identification information of the second server node carried in the business request.

[0050] For example, the feedback information could be the audio and video data information corresponding to the service request sent by the second client.

[0051] Specifically, the fourth server node sends the service request and the identification information of the second server node to the second client. The second client sends the audio and video data information and other feedback information corresponding to the service request to the fourth server node. The fourth server node receives the feedback information sent by the second client and sends the feedback information to the second server node according to the identification information of the second server node carried in the service request.

[0052] The second server node sends the feedback information to the first server node.

[0053] Specifically, after receiving the feedback information, the second server node sends the feedback information to the first server node.

[0054] The first server node sends feedback information to the first client.

[0055] Specifically, after receiving the feedback information, the first server node sends the feedback information to the first client connected to it. This completes the data interaction process between the first server node, the second server node, the fourth server node, the second server node, and the first server node in the data interaction system.

[0056] Optionally, the data processing method further includes:

[0057] If the connection between the second and fourth server nodes fails, as determined by the server node identifier list, the first server node will send the service request to the third server node.

[0058] Specifically, if the connection between the second and fourth server nodes fails according to the server node identifier list, that is, the network connection between the second and fourth server nodes is broken, then the backup server node, namely the third server node, is activated, and the first server node sends the business request to the third server node.

[0059] The third server node sends the business request and its identification information to the fourth server node.

[0060] Specifically, after receiving the service request sent by the first server node, the third server node sends the service request and the identification information of the third server node to the fourth server node.

[0061] The fourth server node sends the business request and the identification information of the third server node to the second client.

[0062] Specifically, after receiving the service request and the identification information of the third server node sent by the third server node, the fourth server node sends the service request and the identification information of the third server node to the second client connected to the fourth server node.

[0063] In actual operation, the logged-in user of the third server node can also initiate a business request to the second client from the client corresponding to the third server node. The third server node receives the business request to the second client sent by the client corresponding to the third server node. If the third server node and the fourth server node are successfully connected, the third server node directly sends the business request and the identification information of the third server node to the fourth server node, and the fourth server node sends the business request and the identification information of the third server node to the second client.

[0064] Optionally, after the fourth server node sends the service request and the identification information of the third server node to the second client, the process further includes:

[0065] The fourth server node receives the feedback information sent by the second client and sends the feedback information to the third server node according to the identification information of the third server node carried in the business request.

[0066] Specifically, the fourth server node sends the service request and the identification information of the third server node to the second client. The second client sends feedback information, such as audio and video information corresponding to the service request, to the fourth server node. The fourth server node receives the feedback information sent by the second client and sends the feedback information to the third server node according to the identification information of the third server node carried in the service request.

[0067] The third server node sends the feedback information to the first server node.

[0068] Specifically, after receiving the feedback information, the third server node sends the feedback information to the first server node.

[0069] The first server node sends feedback information to the first client.

[0070] Specifically, after receiving the feedback information, the first server node sends the feedback information to the first client connected to it. This completes the data interaction process between the first server node, the third server node, the fourth server node, the third server node, and the first server node in the data interaction system.

[0071] In this embodiment, with the entire data interaction system connected to the network, the fourth server node, acting as a subordinate server node, initiates network connections and synchronously uploads attribute and status information to the two superior server nodes (the second and third server nodes) by default. The superior server nodes (the first, second, and third server nodes) in the data interaction system can all normally view the fourth server node's audio, video, and other device user resource data. The audio and video information data of the fourth server node can be displayed on the clients of the first, second, and third server nodes. The organizational hierarchy of the interface resources is as follows: on the client of the second server node, the fourth server node is displayed as a subordinate of the second server node; on the client of the third server node, the fourth server node is displayed as a subordinate of the third server node; and on the client of the first server node, the second and third server nodes are displayed as subordinates of the first server node.

[0072] Optionally, before the first server node receives the service request for the second client sent by the first client, it also includes:

[0073] The fourth server node sends the client's attribute information to the second and third server nodes.

[0074] In this embodiment, the attribute information of the server node's client can be static information of the server node's client. For example, the attribute information of the server node's client can be information such as the server node's client account, password, image, and identifier.

[0075] Specifically, before the first server node receives the business request sent by the first client for the second client, the fourth server node needs to send the client's attribute information to the second and third server nodes.

[0076] The second server node sends the client attribute information of the second and fourth server nodes to the first server node.

[0077] Specifically, after receiving the client attribute information of the fourth server node sent by the fourth server node, the second server node sends the client attribute information of both the second and fourth server nodes to the first server node.

[0078] The first server node sends the attribute information of the clients of the first and second server nodes to the third server node, and also sends the attribute information of the clients of the first and third server nodes to the second server node.

[0079] Specifically, after receiving the attribute information of the clients of the second and fourth server nodes sent by the second server node, the first server node sends the attribute information of the clients of the first and second server nodes to the third server node, and sends the attribute information of the clients of the first and third server nodes to the second server node.

[0080] The third server node sends the client's attribute information to the first and fourth server nodes.

[0081] Specifically, after receiving the attribute information of the clients of the first and second server nodes sent by the first server node, the third server node sends the attribute information of the clients of the third server node to the first and fourth server nodes.

[0082] The second server node sends the attribute information of the clients of the first and second server nodes to the fourth server node.

[0083] Specifically, after receiving the attribute information of the clients of the first and third server nodes sent by the first server node, the second server node sends the attribute information of the clients of the first and second server nodes to the fourth server node.

[0084] In this embodiment, when configuring the client attribute information of each server node, the client attribute information of each server node can be pre-configured all at once. After configuration, the fourth server node sends the client attribute information of the fourth server node to the second and third server nodes; the second server node receives the client attribute information of the fourth server node and sends both the client attribute information of the second and fourth server nodes to the first server node; the first server node receives the client attribute information of the second and fourth server nodes and sends both the client attribute information of the first and second server nodes to the third server node; the third server node sends the client attribute information of the third server node to both the first and fourth server nodes; the first server node sends the client attribute information of the first and third server nodes to the second server node; and the second server node sends the client attribute information of the first and second server nodes to the fourth server node.

[0085] Optionally, before the first server node receives the service request for the second client sent by the first client, it also includes:

[0086] The third server node receives the connection information sent by the fourth server node. If it is determined from the connection information that the second server node and the fourth server node have successfully connected, the third server node sends the client status information of the third server node to the first server node and the fourth server node.

[0087] It should be noted that the connection information can be information about the network connection status between the fourth server node and the second and third server nodes.

[0088] In this embodiment, the client status information of the server node can be dynamic information about the client on the server node. For example, the client status information of the server node can include client status information such as user online, user login, user logout, and whether the client is running normally. For instance, a server node may include multiple clients. If a client user goes online, the icon corresponding to that client will light up. The client's status can be divided into online and offline. If a client shows as online, the logged-in user of its parent server node can request and play the client's audio and video.

[0089] Specifically, the fourth server node sends connection requests to the second and third server nodes and receives feedback information from them. The fourth server node first sends connection information to the third server node. If the connection information determines that the fourth server node has successfully connected with both the second and third server nodes, the third server node sends the client status information of the third server node to the first and fourth server nodes.

[0090] The fourth server node sends the client status information of the fourth server node to the second and third server nodes.

[0091] Specifically, when the fourth server node successfully connects to both the second and third server nodes, the fourth server node initiates a data synchronization request to the second and third server nodes and sends the client status information of the fourth server node to the second and third server nodes.

[0092] The second server node sends the client status information of the second and fourth server nodes to the first server node.

[0093] Specifically, after receiving the client status information of the fourth server node sent by the fourth server node, the second server node sends the client status information of both the second and fourth server nodes to the first server node. At this time, after receiving the client status information of the fourth server node sent by the fourth server node, the third server node only saves it locally and controls itself not to send the client status information of both the third and fourth server nodes to the first server node.

[0094] The first server node sends the status information of the clients of the first server node, the second server node, and the fourth server node to the third server node, and sends the status information of the clients of the first server node and the third server node to the second server node.

[0095] Specifically, after receiving the client status information of the second server node and the fourth server node sent by the second server node, the first server sends the client status information of the first server node, the second server node, and the fourth server node to the third server node, and sends the client status information of the first server node and the third server node to the second server node.

[0096] The second server node sends the client status information of the first and second server nodes to the fourth server node.

[0097] Specifically, after receiving the client status information of the first server node and the third server node sent by the first server node, the second server node sends the client status information of the first server node and the second server node to the fourth server node.

[0098] Optionally, the third server node deletes the client status information sent by the first server node to the fourth server node.

[0099] Specifically, after receiving the client status information of the first, second, and fourth server nodes sent by the first server node, the third server node is responsible for controlling the filtering and distribution of data. The filtering of data refers to intercepting and not processing the client status information of the fourth server node, that is, deleting the client status information of the fourth server node sent by the first server node, so as to ensure that the data distribution of the server nodes in the data interaction system does not form a ring (e.g., fourth server node → second server node → first server node → third server node → fourth server node...).

[0100] Optionally, before the first server node receives the service request for the second client sent by the first client, it also includes:

[0101] The third server node receives the connection information sent by the fourth server node. If it is determined from the connection information that the connection between the second server node and the fourth server node has failed, the third server node receives the client status information of the fourth server node sent by the fourth server node, and sends the client status information of the third server node and the fourth server node to the first server node.

[0102] Specifically, the fourth server node sends connection requests to the second and third server nodes and receives feedback information from them. The fourth server node first sends connection information to the third server node. If the connection information indicates that the connection between the fourth server node and the second server node has failed, the third server node receives the client status information of the fourth server node and sends the client status information of both the third and fourth server nodes to the first server node.

[0103] The second server node sends the client status information of the second server node to the first server node.

[0104] Specifically, when the connection between the second server node and the fourth server node fails, the second server node only sends the client status information of the second server node to the first server node.

[0105] The first server node sends the status information of the client of the first server node to the third server node, sends the status information of the clients of the first server node and the second server node to the third server node, and sends the status information of the clients of the first server node, the third server node and the fourth server node to the second server node.

[0106] Specifically, the first server node sends the client status information of the first server node, as well as the client status information of the first and second server nodes, to the third server node. It then sends the client status information of the first, third, and fourth server nodes to the second server node. At this point, the third server node only receives the client status information of the fourth server node sent by the fourth server node; it does not retain the client status information of the fourth server node sent by the first server node. In other words, the third server node only relies on the client status information of the fourth server node sent by the fourth server node.

[0107] The third server node sends the status information of the clients of the first server node, the second server node, and the third server node to the fourth server node.

[0108] Specifically, after receiving the client status information of the first server node and the client status information of the first and second server nodes sent by the first server node, the third server node sends the client status information of the first, second, and third server nodes to the fourth server node.

[0109] During implementation, when the fourth server node detects a network connection loss with its parent server node (the second server node), it sends its current network connection status to the third server node, activating the third server node's data reporting event. The third server node then forwards the client status information of the fourth server node to the first server node. At this time, the first client logged-in user on the first server node initiates a video-on-demand operation for the second client user or device on the fourth server node. The service request is forwarded in the order of first server node → third server node → fourth server node. When the network between the fourth server node and its parent server node (the second server node) is restored, the fourth server node sends a network connection status restoration notification to the third server node. The third server node then stops forwarding data and resynchronizes the client status information of the fourth server node to the second server node. The second server node then forwards the data to the first server node. At this point, when the first client logged-in user on the first server node initiates a video-on-demand operation for the second client user or device on the fourth server node, the video-on-demand routing direction reverts to the initial synchronization rule: first server node → second server node → fourth server node. When the network connection between the fourth server node and the superior server node, the third server node, is lost, according to the above design, the client status information of the fourth server node is forwarded from the second server node to the first server node by default. Therefore, when this scenario occurs, the routing data direction will not change when the first client login user from the first server node initiates the on-demand playback of audio and video resources of the second client of the fourth server node.

[0110] The technical solution of this invention uses a third server node as a backup node for the second server node. When the second server node fails, the third server node can be activated as a bridge for data transmission between the first and fourth server nodes. This solution solves the problem in existing technologies where communication between two server nodes is impossible when an intermediate server node malfunctions due to a single upstream node connection. It enables cascading and interoperability between multiple systems, synchronizing information among multiple server nodes and ensuring normal operation of services across different systems.

[0111] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A data interaction system, characterized in that, include: A first server node, a second server node, a third server node, and a fourth server node, wherein the fourth server node is cascaded to both the second server node and the third server node, and the second server node and the third server node have different system versions; The second server node has a higher priority than the third server node, and there is no connection between the second server node and the third server node; The first server node receives a service request sent by the first client to the second client, wherein the second client is a client of the fourth server node. The service request carries a list of server node identifiers, which consists of the name and / or number of at least one server node and is used to characterize the connection status and / or online status of the server node. When the fourth server node successfully connects to both the second server node and the third server node, the fourth server node initiates a data synchronization request to the second server node and the third server node, and sends the client status information of the fourth server node to the second server node and the third server node. The second server node sends the status information of the clients of the first server node and the second server node to the fourth server node; The third server node deletes the client status information of the fourth server node sent by the first server node; The second server node sends the client status information of the second server node and the fourth server node to the first server node. After receiving the client status information of the fourth server node, the third server node saves it locally and controls itself not to send the client status information of the third server node and the client status information of the fourth server node to the first server node. The third server node receives the connection information sent by the fourth server node. If it is determined from the connection information that the connection between the second server node and the fourth server node has failed, the third server node receives the client status information of the fourth server node sent by the fourth server node, and sends the client status information of the third server node and the client status information of the fourth server node to the first server node.

2. The system according to claim 1, characterized in that, On each server node's client, display client information corresponding to other clients of the current server node and client information corresponding to clients of the current server node's subordinate server nodes.

3. A data processing method, characterized in that, The data processing method, applied to the data interaction system according to any one of claims 1-2, comprises: The first server node receives a service request sent by the first client to the second client, wherein the second client is a client of the fourth server node, and the service request carries a list of server node identifiers; If the connection between the second server node and the fourth server node is successfully established according to the server node identifier list, the first server node sends the service request to the second server node, so that the second server node sends the service request and the identifier information of the second server node to the fourth server node. The fourth server node sends the service request and the identification information of the second server node to the second client.

4. The method according to claim 3, characterized in that, After the fourth server node sends the service request and the identification information of the second server node to the second client, the process also includes: The fourth server node receives the feedback information sent by the second client, and sends the feedback information to the second server node according to the identification information of the second server node carried in the service request; The second server node sends the feedback information to the first server node; The first server node sends the feedback information to the first client.

5. The method according to claim 3, characterized in that, Also includes: If the connection between the second server node and the fourth server node fails according to the server node identifier list, the first server node will send the service request to the third server node. The third server node sends the service request and its identification information to the fourth server node; The fourth server node sends the business request and the identification information of the third server node to the second client.

6. The method according to claim 5, characterized in that, After the fourth server node sends the service request and the identification information of the third server node to the second client, it also includes: The fourth server node receives the feedback information sent by the second client, and sends the feedback information to the third server node according to the identification information of the third server node carried in the service request; The third server node sends the feedback information to the first server node; The first server node sends the feedback information to the first client.

7. The method according to claim 3, characterized in that, Before the first server node receives the service request for the second client sent by the first client, it also includes: The fourth server node sends the client's attribute information to the second and third server nodes. The second server node sends the attribute information of the clients of the second and fourth server nodes to the first server node; The first server node sends the attribute information of the clients of the first server node and the second server node to the third server node, and sends the attribute information of the clients of the first server node and the third server node to the second server node. The third server node sends the client's attribute information to the first and fourth server nodes. The second server node sends the attribute information of the clients of the first and second server nodes to the fourth server node.

8. The method according to claim 7, characterized in that, Before the first server node receives the service request for the second client sent by the first client, it also includes: The third server node receives the connection information sent by the fourth server node. If it is determined from the connection information that the second server node and the fourth server node have successfully connected, the third server node sends the client status information of the third server node to the first server node and the fourth server node. The fourth server node sends the client status information of the fourth server node to the second and third server nodes; The second server node sends the client status information of the second server node and the fourth server node to the first server node; The first server node sends the status information of the clients of the first server node, the second server node, and the fourth server node to the third server node, and sends the status information of the clients of the first server node and the third server node to the second server node. The second server node sends the client status information of the first and second server nodes to the fourth server node.

9. The method according to claim 8, characterized in that, The third server node deletes the client status information sent by the first server node to the fourth server node.

10. The method according to claim 7, characterized in that, Before the first server node receives the service request for the second client sent by the first client, it also includes: The third server node receives connection information sent by the fourth server node. If it is determined from the connection information that the connection between the second server node and the fourth server node has failed, the third server node receives the client status information of the fourth server node sent by the fourth server node, and sends the client status information of the third server node and the fourth server node to the first server node. The second server node sends the client status information of the second server node to the first server node; The first server node sends the client status information of the first server node to the third server node, sends the client status information of the first server node and the second server node to the third server node, and sends the client status information of the first server node, the third server node and the fourth server node to the second server node. The third server node sends the status information of the clients of the first server node, the second server node, and the third server node to the fourth server node.

Citation Information

Patent Citations

  • Method, device and system for transmitting service data of client equipment

    CN102215098A

  • Video-on-demand method and device for cross-level camera, server and medium

    CN112702610A

  • Distributed service processing method and device, equipment and storage medium

    CN113132434A