A network streaming method based on mesh

Through the mesh-based network push method, Mesh nodes are formed and high-quality connections are switched, which solves the delay problem of terminal direct connection and CDN methods in cloud games and real-time audio and video, and improves user experience and media transmission reliability.

CN116132416BActive Publication Date: 2024-10-11SHENZHEN RENDERBUS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211706019.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2024-10-11
Estimated Expiration
2042-12-29

AI Technical Summary

Technical Problem

In existing cloud gaming and real-time audio and video technologies, the terminal direct connection solution depends on network deployment, resulting in high costs. The CDN method cannot achieve a low-latency real-time audio and video experience, and there is a problem of large delay.

Method used

Adopting a mesh-based network push method, through the connection between the grid client, the media client and the scheduling management service, the network status is evaluated, a Mesh node is formed, the nearest node is selected for media transmission, and it is switched to other high-quality nodes when the network is abnormal. node to ensure connection quality.

Benefits of technology

It effectively reduces network delays and abnormalities, improves the end customer experience, and improves the reliability and quality of media transmission, especially when CDN acceleration cannot be used.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116132416B_ABST
    Figure CN116132416B_ABST
Patent Text Reader

Abstract

The present invention discloses a network streaming method based on mesh. The network status of mesh clients is screened, and mesh clients with similar coordinate addresses and IP addresses are grouped into mesh nodes. Therefore, when a user needs to transmit media, the transmission is performed through a recommended mesh client or MediaServer in a nearby Mesh node. If a network abnormality occurs in the currently connected mesh client, other mesh clients with good connection quality are selected from other mesh clients in the selected Mesh node for connection, thereby avoiding network delays or abnormalities caused by problems such as weak networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of cloud gaming and real-time audio and video technology, and in particular to a mesh-based network streaming method. Background Art

[0002] Currently, in the field of cloud gaming and real-time audio and video, audio and video are mainly distributed through direct connection of the terminal to the server, or through CDN nodes. The direct connection solution is very challenging for the network deployment of cloud operators. The closer the network is to the backbone network, the lower the latency, and the wider the coverage, the better the experience of network terminal customers, but the increased network cost is very large. CDN methods are mostly based on caching, which cannot provide a good experience in the field of real-time audio and video, and will result in large delays.

[0003] Therefore, the prior art has defects and needs to be improved. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a network streaming method based on mesh.

[0005] The technical solution of the present invention is as follows: a mesh-based network streaming method is provided, comprising the following steps:

[0006] Step 1: Multiple clients install the media client and the grid client;

[0007] Step 2: The grid client first connects with the media client, performs network status assessment, and reports the network status to the grid scheduling management service;

[0008] Step 3: The grid scheduling management service collects the grid clients that meet the requirements into the system according to the received status data and rules, and organizes the grid clients into several Mesh nodes according to the similarity principle;

[0009] Step 4: The grid client P sends a request to the grid scheduling management service to request a nearby Mesh node;

[0010] Step 5: The grid scheduling management service returns a nearby Mesh node A with a better Mesh network status according to the node location, and returns a recommended grid client A;

[0011] Step 6: The media client P establishes connections with the mesh client A and the media service at the same time, evaluates the network connection status, selects a better connection for media transmission, and maintains connections with the media service and the better nodes in Mesh node A at the same time;

[0012] Step 7: When the network connection is abnormal, immediately select other preferred nodes that are connected for connection.

[0013] Furthermore, the network status includes SlaveId, delay, bandwidth, IP, and coordinate address.

[0014] Furthermore, in step 3, grid clients whose delay and bandwidth conditions meet the requirements are included in the system according to the rules.

[0015] Furthermore, in step 3, the mesh clients are organized into several Mesh nodes according to the principle of similarity of coordinate addresses and IP operators.

[0016] Furthermore, the algorithm for finding two similar coordinate addresses is: take two coordinate addresses (xa, ya), (xb, yb), then The smaller the c value is, the closer the two coordinate addresses are.

[0017] By adopting the above scheme, the present invention screens the network status of the mesh client, and forms a Mesh node with mesh clients with similar coordinate addresses and IP addresses. Therefore, when a user needs to transmit media, the transmission is performed through the recommended mesh client or MediaServer in the nearest Mesh node. If a network abnormality occurs in the currently connected mesh client, other mesh clients with good connection quality are selected from other mesh clients in the selected Mesh node for connection, so as to avoid network delays or abnormalities caused by problems such as weak networks. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of the connection relationship of the present invention. DETAILED DESCRIPTION

[0019] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0020] See also Figure 1 The present invention provides a mesh-based network streaming method, comprising the following steps:

[0021] Step 1: Install the media client (MediaClient) and the grid client (SlaveClient) on multiple clients.

[0022] Step 2: SlaveClient first connects to MediaClient, evaluates the network status, and reports the network status to the MeshDispatcher. The network status includes SlaveId, delay, bandwidth, IP, and coordinate address.

[0023] Step 3: Based on the received status data and rules, MeshDispatcher collects the SlaveClients that meet the delay and bandwidth requirements into the system, and organizes the SlaveClients into several Mesh nodes based on the similarity of coordinate addresses and IP operators (matching between operators is prioritized).

[0024] The algorithm for finding two similar coordinate addresses is: take two coordinate addresses (xa, ya), (xb, yb), then The smaller the c value is, the closer the two coordinate addresses are.

[0025] Step 4: SlaveClientP sends a request to MeshDispatcher, requesting a nearby Mesh node.

[0026] Step 5: Based on the node location, MeshDispatcher returns a nearby Mesh node A with a better Mesh network status, and returns a recommended SlaveClientA.

[0027] Step 6: MediaClientP establishes connections with SlaveClientA and MediaServer at the same time, evaluates the network connection, selects a better connection for media transmission, and maintains connections with MediaServer and the better node in Mesh node A at the same time.

[0028] Step 7: When the network connection is abnormal, immediately select other preferred nodes that remain connected to connect, thereby improving the end customer's experience with the MediaServer.

[0029] When an enterprise deploys MediaServer, especially for real-time audio and video services, if CDN acceleration cannot be used, MediaClient and SlaveClient can be installed in multiple clients. By evaluating the network status and confirming the network status, MeshDispatcher can filter and collect SlaveClient according to the set rules, so that similar SlaveClients can be formed into Mesh nodes to form several Mesh nodes. After the Mesh node is built, SlaveClientP is sent to MeshDispatcher to obtain a nearby node. MeshDispatcher returns the nearest Mesh node A and recommends a SlaveClientA from Mesh node A. MediaClientP establishes connections with the recommended SlaveClientA and MediaServer at the same time, evaluates the network connection status, selects a better connection for media transmission, and maintains connections with MediaServer and other better nodes in MeshA at the same time. When the connection is weak or disconnected, you can immediately select one of the better nodes in MediaServer or MeshA to connect, effectively use the surrounding network for communication, and solve the problems caused by the weak network.

[0030] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A mesh-based network streaming method, characterized in that: The steps include: Step 1: Multiple clients install the media client and the grid client; Step 2: The grid client first connects with the media client, performs network status assessment, and reports the network status to the grid scheduling management service; Step 3: The grid scheduling management service collects the grid clients that meet the requirements into the system according to the received status data and rules, and organizes the grid clients into several Mesh nodes according to the similarity principle; Step 4: The grid client P sends a request to the grid scheduling management service to request a nearby Mesh node; Step 5: The grid scheduling management service returns a nearby Mesh node A with a better Mesh network status according to the node location, and returns a recommended grid client A; Step 6: The media client P establishes connections with the mesh client A and the media service at the same time, evaluates the network connection status, selects a better connection for media transmission, and maintains connections with the media service and the better nodes in Mesh node A at the same time; Step 7: When the network connection is abnormal, immediately select other preferred nodes that are connected for connection.

2. The mesh-based network streaming method according to claim 1 is characterized in that: The network status includes SlaveId, delay, bandwidth, IP, and coordinate address.

3. The mesh-based network streaming method according to claim 2 is characterized in that: In step 3, grid clients whose delay and bandwidth conditions meet the requirements are included in the system according to the rules.

4. The mesh-based network streaming method according to claim 2 is characterized in that: In step 3, the mesh clients are organized into several Mesh nodes based on the similarity of coordinate addresses and IP operators.

5. The mesh-based network streaming method according to claim 4 is characterized in that: The algorithm for finding two similar coordinate addresses is: take two coordinate addresses (xa, ya), (xb, yb), then The smaller the c value is, the closer the two coordinate addresses are.