CN116708381B - Cross-network data transmission method and device, storage medium and electronic equipment - Google Patents

Cross-network data transmission method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116708381B
CN116708381B CN202310977192.0A CN202310977192A CN116708381B CN 116708381 B CN116708381 B CN 116708381B CN 202310977192 A CN202310977192 A CN 202310977192A CN 116708381 B CN116708381 B CN 116708381B
Authority
CN
China
Prior art keywords
target network
media
signaling
forwarding
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310977192.0A
Other languages
Chinese (zh)
Other versions
CN116708381A (en
Inventor
杨勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202310977192.0A priority Critical patent/CN116708381B/en
Publication of CN116708381A publication Critical patent/CN116708381A/en
Application granted granted Critical
Publication of CN116708381B publication Critical patent/CN116708381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1083In-session procedures
    • H04L65/1095Inter-network session transfer or sharing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1096Supplementary features, e.g. call forwarding or call holding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1106Call signalling protocols; H.323 and related
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a method and a device for transmitting data across networks, a storage medium and electronic equipment. Wherein the method comprises the following steps: acquiring data transmission configuration of a first target network; media data transmission between the first target network and the second target network is carried out through a relay forwarding function, and signaling data transmission between the first target network and the second target network is carried out through a signaling forwarding agent component deployed on a streaming media server and a signaling forwarding service component deployed in the second target network; the media data transmission between the first target network and the second target network is carried out through the media forwarding agent component deployed on the streaming media server and the media forwarding service component deployed in the second target network, and the signaling data transmission between the first target network and the second target network is carried out through the signaling forwarding agent component and the signaling forwarding service component, so that the method and the device can be applied to intelligent traffic scenes. The application solves the technical problem of low data transmission efficiency across networks.

Description

Cross-network data transmission method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of computers, and in particular, to a method and apparatus for transmitting data across networks, a storage medium, and an electronic device.
Background
In a data transmission scene across networks, multiple sets of streaming media servers are generally deployed in different network environments respectively, and then the multiple sets of streaming media servers are utilized to receive and push data, but streaming media transmission needs to be performed at an application layer of the network among the multiple sets of streaming media servers, so that time delay of streaming media transmission to a large-network terminal user is increased, and further the problem of low data transmission efficiency across networks is caused. Therefore, there is a problem in that data transmission efficiency across the network is low.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides a cross-network data transmission method and device, a storage medium and electronic equipment, and aims to at least solve the technical problem of low cross-network data transmission efficiency.
According to an aspect of an embodiment of the present application, there is provided a data transmission method across networks, including: acquiring data transmission configuration of a first target network, wherein a streaming media server is deployed in the first target network, and the data transmission configuration is used for configuring a relay forwarding function of media data; when the data transmission configuration indicates that the first target network supports the relay forwarding function, performing media data transmission between the first target network and the second target network through the relay forwarding function, and performing signaling data transmission between the first target network and the second target network through a signaling forwarding proxy component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network; and if the data transmission configuration indicates that the first target network does not support the relay forwarding function, performing media data transmission between the first target network and the second target network through a media forwarding proxy component deployed on the streaming media server and a media forwarding service component deployed in the second target network, and performing signaling data transmission between the first target network and the second target network through the signaling forwarding proxy component and the signaling forwarding service component.
According to another aspect of the embodiment of the present application, there is also provided a data transmission apparatus across a network, including: a first obtaining unit, configured to obtain a data transmission configuration of a first target network, where the first target network is configured with a streaming media server, and the data transmission configuration is used to configure a relay forwarding function of media data; a first transmission unit, configured to perform media data transmission between the first target network and the second target network through the relay forwarding function when the data transmission configuration indicates that the first target network supports the relay forwarding function, and perform signaling data transmission between the first target network and the second target network through a signaling forwarding proxy component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network; and a second transmission unit, configured to perform media data transmission between the first target network and the second target network through a media forwarding proxy component deployed on the streaming media server and a media forwarding service component deployed in the second target network, and perform signaling data transmission between the first target network and the second target network through the signaling forwarding proxy component and the signaling forwarding service component, when the data transmission configuration indicates that the first target network does not support the relay forwarding function.
As an alternative, the first transmission unit includes: the establishing module is used for establishing communication connection between the streaming media server and the relay forwarding service component deployed in the second target network; and the first transmission module is used for transmitting target media data to the relay forwarding service component by utilizing the communication connection, wherein the target media data are media data in the first target network.
As an alternative, the apparatus further includes: the receiving module is configured to receive a first transmission result returned by the second target network after the target media data is transmitted to the relay forwarding service component by using the communication connection, where the first transmission result is a transmission result of the target media data; and a second transmission module, configured to, after transmitting the target media data to the relay forwarding service component by using the communication connection, perform secondary transmission of the target media data through the media forwarding proxy component and the media forwarding service component when the first transmission result indicates that the transmission of the target media data is abnormal.
As an alternative, the apparatus further includes: a first establishing unit, configured to establish a TCP channel between the signaling forwarding agent component and the signaling forwarding service component before the signaling data transmission between the first target network and the second target network is performed through the signaling forwarding agent component deployed on the streaming media server and the signaling forwarding service component deployed in the second target network; a second obtaining unit, configured to obtain, through the TCP channel, a signaling access request sent by the signaling forwarding service component to the signaling forwarding agent component before the signaling data transmission between the first target network and the second target network is performed through the signaling forwarding agent component deployed on the streaming media server and the signaling forwarding service component deployed in the second target network, where the signaling access request is a request sent by a first terminal in the second target network to the signaling forwarding service component; a first sending unit, configured to send the signaling access request to a signaling communication port of the streaming media server before the signaling data transmission between the first target network and the second target network is performed through a signaling forwarding proxy component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network, where the signaling communication port and a signaling data source of the first target network establish a data transmission connection; a third obtaining unit, configured to obtain, through the media communication port, request response data corresponding to the signaling access request before the signaling data transmission between the first target network and the second target network is performed through a signaling forwarding proxy component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network, where the request response data includes target signaling data; and the second sending unit is used for sending the target signaling data to the signaling forwarding service component through the TCP channel before the signaling data transmission between the first target network and the second target network is performed through the signaling forwarding agent component deployed on the streaming media server and the signaling forwarding service component deployed in the second target network, and forwarding the target signaling data to the first terminal through the signaling forwarding service component.
As an alternative, the apparatus further includes: a second establishing unit, configured to establish a UDP channel between the media forwarding proxy component and the media forwarding service component before the media data transmission between the first target network and the second target network is performed through the media forwarding proxy component deployed on the streaming media server and the media forwarding service component deployed in the second target network; a third obtaining unit, configured to obtain, through the UDP channel, a media access request sent by the media forwarding service component to the media forwarding proxy component before the media data transmission between the first target network and the second target network is performed through the media forwarding proxy component deployed on the streaming media server and the media forwarding service component deployed in the second target network, where the media access request is a request sent by a second terminal in the second target network to the media forwarding service component; a third sending unit, configured to send the media access request to a media communication port of the streaming media server before the media data transmission between the first target network and the second target network is performed through a media forwarding proxy component deployed on the streaming media server and a media forwarding service component deployed in the second target network, where a data transmission connection is established between the media communication port and a media data source of the first target network; a fourth obtaining unit, configured to obtain, through the media communication port, request response data corresponding to the media access request before the media data transmission between the first target network and the second target network is performed through the media forwarding proxy component deployed on the streaming media server and the media forwarding service component deployed in the second target network, where the request response data includes target media data; and a fourth sending unit, configured to send, before the media data transmission between the first target network and the second target network through the media forwarding proxy component deployed on the streaming media server and the media forwarding service component deployed in the second target network, the target media data to the media forwarding service component through the UDP channel, and forward, by the media forwarding service component, the target media data to the second terminal.
As an alternative, the first obtaining unit includes: and the setting module is used for adjusting the data transmission configuration and setting the first target network to support the relay forwarding function when the data transmission configuration indicates that the first target network does not support the relay forwarding function and the streaming media server cannot perform point-to-point media data transmission with the second target network.
As an alternative, the apparatus further includes: a receiving unit, configured to receive a second transmission result returned by the second target network after the media data transmission between the first target network and the second target network is performed by using the media forwarding proxy component deployed on the streaming media server and the media forwarding service component deployed in the second target network, where the second transmission result is a transmission result of the media data between the first target network and the second target network; a setting unit, configured to adjust the data transmission configuration when the second transmission result indicates that the transmission of the media data between the first target network and the second target network is abnormal after the media data between the first target network and the second target network is transmitted through the media forwarding proxy component deployed on the streaming media server and the media forwarding service component deployed in the second target network, and set that the first target network supports the relay forwarding function.
According to yet another aspect of embodiments of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the computer device performs the data transmission method across the network as above.
According to still another aspect of the embodiment of the present application, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above-mentioned data transmission method across networks through the computer program.
In the embodiment of the application, a data transmission configuration of a first target network is obtained, wherein a streaming media server is deployed in the first target network, and the data transmission configuration is used for configuring a relay forwarding function of media data; when the data transmission configuration indicates that the first target network supports the relay forwarding function, performing media data transmission between the first target network and the second target network through the relay forwarding function, and performing signaling data transmission between the first target network and the second target network through a signaling forwarding proxy component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network; and if the data transmission configuration indicates that the first target network does not support the relay forwarding function, performing media data transmission between the first target network and the second target network through a media forwarding proxy component deployed on the streaming media server and a media forwarding service component deployed in the second target network, and performing signaling data transmission between the first target network and the second target network through the signaling forwarding proxy component and the signaling forwarding service component. In the process of transmitting data across the network between the first target network and the second target network, two sets of streaming media servers are not required to be deployed, the data transmission process across the network can be realized only by one set of streaming media servers supporting the relay forwarding function, and for the streaming media servers not supporting the relay forwarding function, the data transmission across the network is still realized by one set of streaming media servers through components deployed in different target networks, so that the aim of reducing the number of the streaming media servers in the data transmission process across the network is fulfilled, the technical effect of improving the data transmission efficiency across the network is realized, and the technical problem of lower data transmission efficiency across the network is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a schematic illustration of an alternative cross-network data transmission method application environment in accordance with an embodiment of the present application;
FIG. 2 is a schematic diagram of the flow of an alternative cross-network data transmission method according to an embodiment of the application;
FIG. 3 is a schematic diagram of an alternative cross-network data transmission method according to an embodiment of the application;
FIG. 4 is a schematic diagram of another alternative cross-network data transmission method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another alternative cross-network data transmission method according to an embodiment of the application;
FIG. 6 is a schematic diagram of another alternative cross-network data transmission method according to an embodiment of the application;
FIG. 7 is a schematic diagram of another alternative cross-network data transmission method according to an embodiment of the application;
FIG. 8 is a schematic diagram of an alternative cross-network data transfer device in accordance with an embodiment of the present application;
Fig. 9 is a schematic structural view of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For ease of understanding, the following terms are explained:
NAT: NAT is known as Network Address Translation and refers to network address translation. Typically, each device has its own IP address, but in most home or enterprise networks only one public IP address is available for connecting to the internet. In order for multiple devices to share this common IP address, NAT translates the source IP address and port of a network packet to a common IP address and port, then transmits it over the public network, and then translates it back to a local IP address and port. Thus, a plurality of devices can communicate with the Internet through a common IP address, thereby reducing the use of the IP address and lowering the network cost. NAT, however, also introduces some limitations, such as the use of TURN and like techniques to traverse NAT limitations when communicating between two devices that are behind NAT.
webrtc: webtc is fully called Web Real-Time Communication, and is an open source code item for realizing Real-time audio and video communication based on Web browsers. The JavaScript API is provided, and the functions of point-to-point audio and video communication, data transmission, screen sharing and the like can be realized without any browser plug-in or third party software. The webtc technology has been widely used in the fields of online conferences, online education, telemedicine, online games, etc.
ICE: ICE, collectively Interactive Connectivity Establishment, is a technology in webrtc for establishing point-to-point communication connections. It uses a variety of techniques, including STUN (Session Traversal Utilities for NAT), TURN (Traversal Using Relay NAT), SDP (Session Description Protocol), etc., to address NAT traversal, firewall, and other network impediments in the network, thereby enabling real-time communication between webtc applications. By using ICE technology, webtc can select the best transmission path in the best way, thereby achieving better audio-video communication quality and lower latency.
TURN: TURN, collectively Traversal Using Relay NAT, is a technique for traversing NAT (Network Address Translation). In network communications, if two devices are behind a NAT, communication between them may be limited because the NAT translates the sender's IP address and port to other public IP addresses and ports, and the receiver needs to know this information to properly return a response. TURN technology overcomes this problem by providing a relay forwarding service component on the public internet that forwards traffic to devices that need to communicate. TURN is often used with STUN technology to improve the reliability and efficiency of NAT traversal, making real-time communication between webrtc applications more stable and efficient.
The intelligent transportation system (Intelligent Traffic System, ITS for short) is also called an intelligent transportation system (Intelligent Transportation System), which is an integrated transportation system for effectively and comprehensively applying advanced scientific technologies (information technology, computer technology, data communication technology, sensor technology, electronic control technology, automatic control theory, operation study, artificial intelligence and the like) to transportation, service control and vehicle manufacturing, and enhancing the connection among vehicles, roads and users, thereby ensuring safety, improving efficiency, improving environment and saving energy. Or alternatively;
an intelligent vehicle-road cooperative system (Intelligent Vehicle Infrastructure Cooperative Systems, abbreviated as IVICS), abbreviated as vehicle-road cooperative system, is one development direction of Intelligent Traffic Systems (ITS). The vehicle-road cooperative system adopts advanced wireless communication, new generation internet and other technologies, carries out vehicle-vehicle and vehicle-road dynamic real-time information interaction in all directions, develops vehicle active safety control and road cooperative management on the basis of full-time idle dynamic traffic information acquisition and fusion, fully realizes effective cooperation of people and vehicles and roads, ensures traffic safety, improves traffic efficiency, and forms a safe, efficient and environment-friendly road traffic system.
According to an aspect of the embodiment of the present application, a method for transmitting data across a network is provided, optionally, as an optional implementation manner, the method for transmitting data across a network may be applied, but is not limited to, in an environment as shown in fig. 1. The server 112 may include, but is not limited to, a database 114 and a processing engine 116, the server 112 may be, but is not limited to, a streaming media server deployed in a first target network, and the network 110 may be, but is not limited to, a second target network, and the user device 102 may include, but is not limited to, a display 104, a processor 106 and a memory 108.
The specific process comprises the following steps:
step S102, a data access request of the user equipment 102 is used for requesting to access streaming media data in a first target network;
step S104-S106, sending the data access request to the server 112 through the network 110, where the data access request carries signaling data, such as a target address, a communication manner, etc., so as to inform the server 112 of what operation needs to be performed, and the transmission manner of the signaling data may be, but is not limited to, determined by a data transmission configuration of the first target network, where the data transmission configuration indicates that the first target network supports the relay forwarding function, and performing signaling data transmission between the first target network and the second target network through a signaling forwarding proxy component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network; if the data transmission configuration indicates that the first target network does not support the relay forwarding function, signaling data transmission between the first target network and the second target network is performed through the signaling forwarding agent component and the signaling forwarding service component;
Step S108, the server 112 responds to the data access request through the processing engine 116 to obtain access data, where the access data carries (streaming) media data;
step S110-S112, sending the access data to the user equipment 102 through the network 110, where the user equipment 102 displays the access data on the display 104 through the processor 106, and stores the access data in the memory 108, where a transmission mode of the media data may be, but is not limited to, determined by a data transmission configuration of the first target network, and if the data transmission configuration indicates that the first target network supports the relay forwarding function, the media data transmission between the first target network and the second target network is performed through the relay forwarding function; and if the data transmission configuration indicates that the first target network does not support the relay forwarding function, performing media data transmission between the first target network and the second target network through a media forwarding agent component deployed on the streaming media server and a media forwarding service component deployed in the second target network.
In addition to the example shown in fig. 1, the above steps may be performed independently by the user device or the server, or cooperatively by the user device and the server. The user device 102 includes, but is not limited to, a mobile phone, a computer, an intelligent voice interaction device, an intelligent home appliance, a vehicle-mounted terminal, an aircraft, an intelligent transportation system, an intelligent vehicle-road collaboration system, etc., and the application is not limited to a specific implementation of the user device 102. The server 112 may be a single server or a server cluster composed of a plurality of servers, or may be a cloud server. The embodiment of the application can be applied to various scenes, including but not limited to cloud technology, artificial intelligence, intelligent transportation, auxiliary driving and the like.
Alternatively, as an optional implementation manner, as shown in fig. 2, the data transmission method across the network may be performed by an electronic device, such as the user device or the server shown in fig. 1, and specific steps include:
s202, acquiring data transmission configuration of a first target network, wherein a streaming media server is deployed in the first target network, and the data transmission configuration is used for configuring a relay forwarding function of media data;
s204, under the condition that the data transmission configuration indicates that the first target network supports the relay forwarding function, media data transmission between the first target network and the second target network is performed through the relay forwarding function, and signaling data transmission between the first target network and the second target network is performed through a signaling forwarding agent component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network;
s206, under the condition that the data transmission configuration indicates that the first target network does not support the relay forwarding function, media data transmission between the first target network and the second target network is performed through a media forwarding agent component deployed on the streaming media server and a media forwarding service component deployed in the second target network, and signaling data transmission between the first target network and the second target network is performed through a signaling forwarding agent component and a signaling forwarding service component.
Alternatively, in this embodiment, the above-described data transmission method across networks may be applied to, but not limited to, video transmission and access scenarios. Video transmission and access are one of the most common business scenarios in industrial internet applications. However, in the industrial internet scenario, the network topology environment is complex, there are multiple subnets and large nets, and the needs of customers are also diverse. Typical scenario requirements are that in order to guarantee the Real-time and reliability of video transmission, industrial internet users need to deploy streaming media servers in a 5G (Fifth Generation) private network, and then push the acquired video streams to the streaming media servers by a 5G private network terminal according to service requirements, and other terminals (computers, mobile phones, etc.) acquire Real-time video streams through webtc (Web Real-Time Communication) technology, which may be located in the same subnet as the 5G private network or a large network or other subnets located outside the subnet, where webtc technology is an open standard Real-time communication technology for implementing audio, video and data transmission and interaction between Web browsers. It allows developers to build real-time communication functions in a browser through a simple JavaScript API without using plug-ins or third party software.
In order to solve the problem that a terminal in a large network or a terminal in other sub-networks can access a video stream, a conventional solution is to arrange a new streaming media service in the large network, then a streaming media server in the sub-network continues to push the received streaming media to the streaming media service of the large network as a client, and then the terminal in the large network or the terminal in other sub-networks acquires the video stream by accessing the streaming media service of the large network. It can be seen that the whole system needs to construct two sets of streaming media servers, and the implementation cost is relatively high. Meanwhile, because of cascade connection of media between the streaming media servers, the delay-level network service quality of the streaming media service acquired by the large-network and other sub-network terminals can be greatly increased. In addition, the streaming media needs to be transmitted between the two streaming media servers at the application layer of the network, so that the time delay of the streaming media to the end user of the large network can be increased, and the video transmission and access efficiency can be reduced.
In this embodiment, the webtc-based streaming media service access is generally classified into two types, signaling transmission and media transmission. Signaling is typically performed based on the transmission control protocol (Transmission Control Protocol, abbreviated TCP), while media is typically performed using the user datagram protocol (User Datagram Protocol, abbreviated UDP) to improve real-time performance. Further, by deploying a local TCP forwarding agent on a streaming media server of the subnet and deploying TCP forwarding service on the large network, cross-network transmission and interaction of webrtc signaling are realized. And realizing cross-network transmission of the webrtc media by deploying a local UDP forwarding agent on a streaming media server of the subnet and deploying UDP forwarding service on the large network.
Alternatively, in the present embodiment, the first target network and the second target network may be used to illustrate that the present embodiment is used for data transmission between different network environments, but the number of networks is not limited. In other words, the present embodiment may also be used for, but is not limited to, data transmission between at least two and more networks.
Optionally, in this embodiment, a streaming server is deployed in the first target network, where the streaming server may be, but is not limited to, a server for providing streaming content transmission, and may be, but is not limited to, storing, managing, and distributing streaming (such as audio and video) content, so as to meet the user's requirement for instant playing and continuous transmission.
Optionally, in this embodiment, the data transmission configuration is configured to configure a Relay Forwarding function of media data, where the Relay Forwarding function may be, but is not limited to, a network communication function, so as to solve the problem that a point-to-point connection cannot be directly established when faced with the limitation of network address translation (Network Address Translation, NAT for short) or a firewall, etc. When the communication connection between the devices cannot be directly established, the data transmission can be performed by starting a relay forwarding function, and specifically, for example, a relay forwarding service component is set to transfer the data, wherein the relay forwarding service component serves as a third party intermediary and plays a role in message transfer between the devices. The two parties of communication send the data to the relay forwarding service component, and then the relay forwarding service component forwards the data to the target device.
Further by way of example, media data transfer between the first target network and the second target network may optionally be performed by a relay forwarding function, such as traversing NAT by the relay forwarding function, devices in the private network may be able to communicate directly with devices on the public network without being limited by NAT. Specifically, a port mapping rule is set on NAT equipment to map a public network IP address and a port to specific equipment and ports in a private network; then, if the UPnP protocol is used for communication with the NAT equipment, the necessary port mapping is automatically created; and for example, using an intermediate server or relay located on the public network. The devices exchange data by being connected to a relay forwarding service component, and the server is responsible for forwarding the data to the target device; as with ICE (Interactive Connectivity Establishment), to find a viable routing path to traverse the NAT and establish a point-to-point connection. The ICE may attempt to implement NAT traversal by direct connection, using a STUN server, or using a TURN server, etc.
Optionally, in this embodiment, the media data and the signaling data play different roles in the communication system, where the media data is responsible for transmitting actual audio, video, image, and other contents, and is directly presented to the user; the signaling data are used for controlling various communication operations, so that the communication process is smoothly carried out.
In particular, media data refers to media content such as audio, video, and image transmitted during communication, and may include, but not limited to, actual voice, image, and video data that can be perceived and understood by people. For example, in a telephone call, the voice transmitted by the two parties of the conversation is media data; in video calls, however, both the transmitted image and sound belong to the media data.
While signaling data refers to auxiliary information for establishing, controlling and maintaining a communication session, may be used, but is not limited to, for managing call setup, connection establishment, user authentication, device addressing, and function negotiation operations in the communication process. Wherein the signaling data contains the necessary instructions and parameters for ensuring that the communication system processes and routes the media data correctly. For example, in a telephone call, signaling data is used to indicate call origination, call answering, hang-up, and the like.
Furthermore, optionally the media data and signaling data are typically transmitted and processed in different ways, as the media data typically requires higher bandwidth and real-time to ensure smooth transmission of the media content; while signalling data is more accurate and reliable, command and control exchanges are performed in communication systems. Further, in this embodiment, different data transmission modes adapted to the media data and the signaling data are also used.
Optionally, in this embodiment, signaling data transmission between the first target network and the second target network is performed by a signaling forwarding proxy component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network, where the signaling forwarding proxy component and the signaling forwarding service component may be, but are not limited to, two key components used for processing signaling transmission and routing in the communication system, and the two key components are combined to form a key part of the signaling forwarding system. The signaling forwarding agent component receives and forwards signaling messages to realize interconnection and intercommunication among different networks or protocols; and the signaling forwarding service component is responsible for processing and forwarding management of the received signaling, so that the reliability and the correctness of signaling transmission are ensured.
Specifically, the signaling forwarding agent component (Signaling Forwarding Proxy Component) is located in the communication network and is used as a middle layer for receiving and forwarding signaling messages, and can be connected with signaling systems under different protocols or network environments to play roles of protocol conversion and interface adaptation. The signaling forwarding agent component receives signaling requests from client devices or other servers, analyzes signaling content, and forwards the signaling to corresponding target devices or servers according to certain rules. Thus, the signaling between different networks or protocols can be interacted and forwarded, and the communication across the networks is realized. The signaling forwarding service component (Signaling Forwarding Service Component) provides specific functions and services for signaling forwarding, is built on the signaling forwarding proxy component, and is responsible for processing received signaling requests and forwarding signaling according to predefined policies and routing rules. The component typically also contains management and control logic that can perform authentication, session management, etc. of the signaling. The main objective of the signaling forwarding service component is to ensure that the signaling can be forwarded according to the correct path and flow to meet the requirements of the communication system.
Optionally, in this embodiment, the media data transmission between the first target network and the second target network is performed by a media forwarding proxy component deployed on the streaming media server and a media forwarding service component deployed in the second target network, where the media forwarding proxy component and the media forwarding service component are two key components for processing media data transmission and routing, and the two key components are combined to form a key part of the media forwarding system. The media forwarding agent component receives and forwards the media data stream, so that interconnection and intercommunication among different networks or protocols are realized; and the media forwarding service component is responsible for processing and forwarding management of the received media data, so as to ensure the reliability and the correctness of media transmission.
Specifically, the media forwarding agent component (Media Forwarding Proxy Component) is located in the communication network and is used as a middle layer to be responsible for receiving and forwarding the media data stream, and can be connected with media systems under different protocols or network environments to realize format conversion and interface adaptation of the media data. The media forwarding agent component receives media data streams from client devices or other servers, parses the media data, and forwards the media data to corresponding target devices or servers according to certain rules. In this way, the media data between different networks or protocols can be interacted and forwarded, and the media transmission across the networks is realized. The media forwarding service component (Media Forwarding Service Component) provides specific functions and services for forwarding media data, is built on the media forwarding proxy component, is responsible for processing received media data streams, and performs media transmission according to predefined policies and routing rules. The component also typically contains management and control logic that can perform authentication, session management, etc. of the media. The main objective of the media forwarding service component is to ensure that media data can be forwarded according to the correct path and flow to meet the requirements of the communication system.
It should be noted that, in the process of transmitting data across the network between the first target network and the second target network, two sets of streaming media servers are not required to be deployed, and only one set of streaming media server supporting the relay forwarding function is required to realize the process of transmitting data across the network, while for streaming media servers not supporting the relay forwarding function, the embodiment also uses one set of streaming media server to realize the process of transmitting data across the network through components deployed in different target networks, thereby reducing the number of streaming media servers participating in data transmission in the process of transmitting data across the network, further reducing the time delay of transmitting streaming media to a large network terminal user, and realizing the technical effect of improving the data transmission efficiency across the network.
Further illustratively, as shown in fig. 3, assuming that the streaming server 304 obtains the data access request triggered by the client B, the streaming server 304 further obtains the data transmission configuration of the first target network 302 in response to the data access request, where the streaming server 304 is disposed in the first target network 302, and the data transmission configuration is used to configure a relay forwarding function of the media data; in the case that the data transmission configuration indicates that the first target network 302 supports the relay forwarding function, performing media data transmission between the first target network 302 and the second target network 306 through the relay forwarding function, and performing signaling data transmission between the first target network 302 and the second target network 306 through a signaling forwarding proxy component deployed on the streaming media server 304 and a signaling forwarding service component deployed in the second target network 306, where the media data may be, but is not limited to, access data provided by a media terminal, and the media data may be forwarded by the streaming media server 304 to the client a for display; in the case where the data transmission configuration indicates that the first target network 302 does not support the relay forwarding function, media data transmission between the first target network 302 and the second target network 306 is performed through a media forwarding proxy component deployed on the streaming media server 304 and a media forwarding service component deployed in the second target network 306, and signaling data transmission between the first target network 302 and the second target network 306 is performed through a signaling forwarding proxy component and a signaling forwarding service component.
According to the embodiment provided by the application, the data transmission configuration of the first target network is obtained, wherein the streaming media server is deployed in the first target network, and the data transmission configuration is used for configuring the relay forwarding function of media data; under the condition that the data transmission configuration indicates that the first target network supports the relay forwarding function, media data transmission between the first target network and the second target network is performed through the relay forwarding function, and signaling data transmission between the first target network and the second target network is performed through a signaling forwarding agent component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network; and under the condition that the data transmission configuration indicates that the first target network does not support the relay forwarding function, performing media data transmission between the first target network and the second target network through a media forwarding agent component deployed on the streaming media server and a media forwarding service component deployed in the second target network, and performing signaling data transmission between the first target network and the second target network through a signaling forwarding agent component and a signaling forwarding service component. In the process of transmitting data across the network between the first target network and the second target network, two sets of streaming media servers are not required to be deployed, the data transmission process across the network can be realized only by one set of streaming media servers supporting the relay forwarding function, and for the streaming media servers not supporting the relay forwarding function, the data transmission across the network is still realized by one set of streaming media servers through components deployed in different target networks, so that the aim of reducing the number of the streaming media servers in the data transmission process across the network is fulfilled, and the technical effect of improving the data transmission efficiency across the network is realized.
As an alternative, the media data transmission between the first target network and the second target network through the relay forwarding function includes:
s1-1, establishing communication connection between a streaming media server and a relay forwarding service component deployed in a second target network;
s1-2, transmitting target media data to a relay forwarding service component by utilizing communication connection, wherein the target media data are media data in a first target network.
Alternatively, in this embodiment, the relay forwarding service component may, but is not limited to, act as an intermediate node, receiving data from a client or server and forwarding it to a target server or other client.
Further by way of example, the restrictions of traversing firewalls, etc., may optionally be implemented by forwarding through a relay forwarding service component, such as when a client cannot directly connect to a target server due to the presence of a firewall, network Address Translation (NAT), or other security mechanism. The relay forwarding service component can encrypt the transmitted data, so that the safety of the data in the transmission process is ensured. Meanwhile, the relay forwarding service component can also hide the real IP address of the client and provide a certain degree of privacy protection. The relay forwarding service component can also act as a load balancer to distribute client requests to multiple target servers to improve overall performance and reliability of the system. The relay forwarding service component can also provide anonymous access service, and a user can browse network resources through the relay forwarding service component and hide own identity information.
It should be noted that, in order to improve the transmission stability of the media data, when the data transmission configuration indicates that the first target network supports the relay forwarding function, a communication connection between the streaming media server and the relay forwarding service component deployed in the second target network is established, and the target media data is transmitted to the relay forwarding service component by using the communication connection.
Further by way of example, optional data transmission across networks between the second target network 402 and the second target network 406, such as shown in fig. 4, is implemented by a signaling forwarding agent component, a signaling forwarding service component, and a relay forwarding service component. Specifically, the signaling data transmission between the second target network 402 and the second target network 406 is implemented by a communication connection between the signaling forwarding proxy component and the signaling forwarding service component, and the media data transmission between the second target network 402 and the second target network 406 is implemented by a communication connection between the streaming media server and the relay forwarding service component deployed in the second target network 406.
By the embodiment provided by the application, the communication connection between the streaming media server and the relay forwarding service component deployed in the second target network is established; and transmitting the target media data to the relay forwarding service component by utilizing communication connection, wherein the target media data is the media data in the first target network, and further realizing the technical effect of improving the transmission stability of the media data.
As an alternative, after transmitting the target media data to the relay forwarding service component using the communication connection, the method further comprises:
s2-1, receiving a first transmission result returned by a second target network, wherein the first transmission result is a transmission result of target media data;
s2-2, carrying out secondary transmission of the target media data through the media forwarding agent component and the media forwarding service component under the condition that the first transmission result indicates that the transmission of the target media data is abnormal.
In order to improve the success rate of transmission of the media data, the media forwarding agent component and the media forwarding service component are used for carrying out secondary transmission of the media data under the condition of abnormal transmission of the media data so as to avoid failure of transmission of the media data caused by abnormal conditions of the relay forwarding service component.
According to the embodiment provided by the application, a first transmission result returned by the second target network is received, wherein the first transmission result is the transmission result of the target media data; and under the condition that the first transmission result indicates that the transmission of the target media data is abnormal, the media forwarding proxy component and the media forwarding service component are used for carrying out secondary transmission of the target media data, so that the aim of avoiding transmission failure of the media data due to the abnormal condition of the relay forwarding service component is fulfilled, and the technical effect of improving the transmission success rate of the media data is realized.
As an alternative, before the signaling data transmission between the first target network and the second target network is performed by the signaling forwarding agent component deployed on the streaming media server and the signaling forwarding service component deployed in the second target network, the method further includes:
s3-1, establishing a TCP channel between a signaling forwarding agent component and a signaling forwarding service component;
s3-2, acquiring a signaling access request sent by a signaling forwarding service component to a signaling forwarding proxy component through a TCP channel, wherein the signaling access request is a request sent by a first terminal in a second target network to the signaling forwarding service component;
s3-3, sending the signaling access request to a signaling communication port of the streaming media server, wherein the signaling communication port is connected with a signaling data source of the first target network in a data transmission manner;
s3-4, acquiring request response data corresponding to the signaling access request through the media communication port, wherein the request response data comprises target signaling data;
s3-5, the target signaling data is sent to the signaling forwarding service component through the TCP channel, and the signaling forwarding service component forwards the target signaling data to the first terminal.
Alternatively, in the present embodiment, a TCP channel may refer to, but is not limited to, a channel or connection that communicates using the TCP protocol.
It should be noted that, by adopting a confirmation mechanism, a sequence number, a checksum and other modes, the TCP ensures that data is reliably transmitted from the sender to the receiver, if packet loss or error occurs, the data is retransmitted, so as to ensure the integrity and correctness of the data, further, the target signaling data is sent to the signaling forwarding service component through the TCP channel, and the signaling forwarding service component forwards the target signaling data to the first terminal, so that the stability of data transmission can be improved.
By the embodiment provided by the application, a TCP channel between the signaling forwarding agent component and the signaling forwarding service component is established; acquiring a signaling access request sent by a signaling forwarding service component to a signaling forwarding proxy component through a TCP channel, wherein the signaling access request is a request sent by a first terminal in a second target network to the signaling forwarding service component; transmitting a signaling access request to a signaling communication port of a streaming media server, wherein the signaling communication port establishes a data transmission connection with a signaling data source of a first target network; acquiring request response data corresponding to the signaling access request through the media communication port, wherein the request response data comprises target signaling data; and the target signaling data is sent to the signaling forwarding service component through the TCP channel, and the signaling forwarding service component forwards the target signaling data to the first terminal, so that the technical effect of improving the stability of data transmission is realized.
As an alternative, before the media data transmission between the first target network and the second target network is performed by the media forwarding agent component deployed on the streaming media server and the media forwarding service component deployed in the second target network, the method further includes:
s4-1, establishing a UDP channel between the media forwarding agent component and the media forwarding service component;
s4-2, acquiring a media access request sent by the media forwarding service component to the media forwarding proxy component through a UDP channel, wherein the media access request is a request sent by a second terminal in a second target network to the media forwarding service component;
s4-3, sending the media access request to a media communication port of the streaming media server, wherein the media communication port is connected with a media data source of the first target network in a data transmission way;
s4-4, acquiring request response data corresponding to the media access request through the media communication port, wherein the request response data comprises target media data;
s4-5, the target media data is sent to the media forwarding service component through the UDP channel, and the media forwarding service component forwards the target media data to the second terminal.
Alternatively, in this embodiment, the UDP channel may be, but is not limited to, a communication mode using the User Datagram Protocol (UDP) for data transmission. In the UDP channel, data is divided into user datagrams (UDP datagrams), each of which contains information such as a source port number and a destination port number, for identifying a transmitting and receiving party of the data. The UDP channel is suitable for application scenarios requiring fast transmission and low data reliability, such as audio, video streaming, real-time gaming, etc.
It should be noted that, the UDP channel does not have congestion control and flow control mechanisms of TCP, so that higher transmission efficiency can be achieved, and further, the target media data is sent to the media forwarding service component through the UDP channel, and the media forwarding service component forwards the target media data to the second terminal, so that the efficiency of data transmission can be improved.
By the embodiment provided by the application, a UDP channel between the media forwarding agent component and the media forwarding service component is established; acquiring a media access request sent by a media forwarding service component to a media forwarding proxy component through a UDP channel, wherein the media access request is a request sent by a second terminal in a second target network to the media forwarding service component; transmitting the media access request to a media communication port of the streaming media server, wherein the media communication port establishes a data transmission connection with a media data source of the first target network; acquiring request response data corresponding to the media access request through the media communication port, wherein the request response data comprises target media data; and sending the target media data to the media forwarding service component through the UDP channel, and forwarding the target media data to the second terminal by the media forwarding service component, thereby realizing the technical effect of improving the efficiency of data transmission.
As an alternative, acquiring the data transmission configuration of the first target network includes:
and under the condition that the data transmission configuration indicates that the first target network does not support the relay forwarding function and the streaming media server cannot perform point-to-point media data transmission with the second target network, adjusting the data transmission configuration, and setting the first target network to support the relay forwarding function.
It should be noted that, in order to avoid the problem that data cannot be successfully transmitted due to the fact that the point-to-point connection cannot be directly established, when the data transmission configuration indicates that the first target network does not support the relay forwarding function and the streaming media server and the second target network cannot perform the point-to-point media data transmission, the data transmission configuration is adjusted, and the first target network is set to support the relay forwarding function, so that smooth transmission of the data is ensured and stability of data transmission is improved.
According to the embodiment of the application, under the condition that the data transmission configuration indicates that the first target network does not support the relay forwarding function and the point-to-point media data transmission between the streaming media server and the second target network cannot be performed, the data transmission configuration is adjusted, and the first target network is set to support the relay forwarding function, so that the aim of avoiding the problem that data cannot be smoothly transmitted due to the fact that point-to-point connection cannot be directly established is fulfilled, and the technical effect of improving the stability of data transmission is achieved.
As an alternative, after the media data transmission between the first target network and the second target network is performed by the media forwarding agent component deployed on the streaming media server and the media forwarding service component deployed in the second target network, the method further includes:
s5-1, receiving a second transmission result returned by a second target network, wherein the second transmission result is a transmission result of media data between the first target network and the second target network;
s5-2, adjusting data transmission configuration and setting the first target network to support a relay forwarding function under the condition that the second transmission result indicates that the transmission of the media data between the first target network and the second target network is abnormal.
It should be noted that, in order to improve the success rate of transmission of media data, under the condition that the transmission of media data between the first target network and the second target network is abnormal, the data transmission configuration is adjusted, the first target network is set to support the relay forwarding function, and secondary transmission is performed through the relay forwarding function, so as to avoid failure of transmission of media data caused by abnormal conditions of the relay forwarding service component.
By the embodiment provided by the application, the second transmission result returned by the second target network is received, wherein the second transmission result is the transmission result of the media data between the first target network and the second target network; and under the condition that the second transmission result indicates that the transmission of the media data between the first target network and the second target network is abnormal, adjusting the data transmission configuration, and setting the first target network to support the relay forwarding function, so as to achieve the aim of avoiding the transmission failure of the media data caused by the abnormal condition of the relay forwarding service assembly, thereby realizing the technical effect of improving the transmission success rate of the media data.
As an alternative scheme, in order to facilitate understanding, the above-mentioned cross-network data transmission method is applied to a cross-network access scenario of a webtc-based streaming media service, and this embodiment may be used not only for cross-network access of a webtc-based streaming media service in a 5G private network, but also for cross-network scenario, including an inner network and an outer network in a fixed network and a webtc streaming media cross-network access between two sub-networks in the same large network.
Optionally, in this embodiment, the system framework shown in fig. 5 is composed of a streaming media server supporting ICE TURN functions, a TCP-based signaling forwarding agent, a TCP-based signaling forwarding service, and an ICE TURN service.
Optionally, in this embodiment, the streaming media server does not support the ICE TURN function, but its media service port is a fixed UDP port, and at this time, the system framework shown in fig. 6 is composed of the streaming media server, the TCP-based signaling forwarding agent, the UDP-based media forwarding agent, the TCP-based signaling forwarding service, and the UDP-based media forwarding service.
The streaming media server is deployed in the subnet to provide the streaming media access capability of webtc; the signaling forwarding agent based on TCP is deployed with the streaming media server, and has the main functions of locally sending a webrtc access request sent by the signaling forwarding service of the TCP on the large network to the streaming media server and simultaneously returning a response round path to the signaling forwarding service of the TCP on the large network; the signaling forwarding service based on TCP is deployed on a large network, and has the main functions of forwarding a webtc access request sent by a terminal (PC) in the large network to a TCP forwarding agent in a subnet and returning the response to the terminal of the large network; the media forwarding agent based on UDP is responsible for forwarding the UDP packet sent by the streaming media fixed port to the UDP media forwarding service of the large network, and forwarding the UDP data sent by the large network to the fixed port of the streaming media server; the UDP-based media forwarding service is responsible for receiving UDP media packets sent by the UDP media forwarding agent in the subnet and forwarding the UDP media packets to a terminal (PC) in the large network. Meanwhile, forwarding UDP packets sent by a terminal (PC) in the large network to a UDP forwarding agent in the subnet; ICE TURN media forwarding services are standard ICE NAT traversal components deployed on the large network, only effective for streaming media services supporting ICE TURN. Media NAT traversal for webrtc.
Optionally, in this embodiment, for a streaming media server supporting ICE-TURN and a streaming media server not supporting ICE-TURN but with a fixed media port, the end-to-end service flow is as shown in fig. 7, and the TCP signaling forwarding agent located in the intranet actively establishes a TCP connection with the TCP signaling forwarding service of the large network; the UDP media forwarding agent located in the intranet actively establishes a UDP channel between the UDP media forwarding agent and UDP signaling forwarding service of the large intranet; the PC terminal of the large network sends a stream media access request of webrtc to a TCP signaling forwarding service; the TCP signaling forwarding service forwards the request to a TCP signaling forwarding agent of the intranet; the TCP signaling forwarding agent forwards the request to a webrtc service port of the streaming media server; the media server sends the response of the webrtc request to the TCP signaling forwarding agent; the TCP signaling forwarding agent forwards the response to the TCP signaling forwarding service of the large network; the TCP signaling forwarding service forwards the response to the PC terminal of the large network; repeating the above process to complete the signaling interaction process of webrtc and complete the establishment of session; the streaming media server starts to send the UDP media packet to the UDP media forwarding agent; the UDP media forwarding agent forwards the UDP media package to the UDP media forwarding service; the UDP media forwarding service sends the UDP media packet to the PC terminal; and then, the PC terminal continuously receives the UDP media packet, and the streaming media service is obtained.
Optionally, in this embodiment, the cross-network access capability of the streaming media service is implemented in a decoupling manner, and the TCP signaling agent and the UDP media agent in this embodiment may be integrated into streaming media service software as functions of the streaming media service; in addition, the cross-network access scheme of the streaming media service implemented in the embodiment is not only applicable to the streaming media access protocol of webrtc, but also applicable to other streaming media transmission protocols based on TCP and UDP, including but not limited to Real-time message transmission protocol (Real-Time Messaging Protocol, RTMP for short), dynamic streaming media transmission based on HTTP protocol (HTTP Dynamic Streaming over HTTP, HTTP-FLV for short), HTTP live stream (HTTP Live Streaming, HLS for short) and the like; in this embodiment, the subnetwork and the large network are relative concepts, and the subnetwork may be a 5G private network, or a common wired or wireless lan; the large network may be a local area network or the internet. The present embodiment can be implemented as long as there is a streaming media access across the network on the network topology.
It should be noted that this embodiment provides a method for implementing streaming media service access across networks. The method for accessing the streaming media by the cross-network is light and high in performance. Firstly, compared with a conventional streaming media cascading scheme, the embodiment provides an implementation method based on IP transport layer data forwarding, which is simple, efficient and universal; secondly, the embodiment realizes the cross-network access of the streaming media signaling by utilizing a TCP forwarding agent deployed on an intranet streaming media server and a TCP forwarding service deployed on a large network; finally, the cross-network transmission of the streaming media service media surface data is realized by utilizing the UDP forwarding agent deployed on the intranet streaming media server and the UDP forwarding service deployed on the large network.
Compared with the traditional streaming media server cascading scheme, the embodiment provided by the application realizes simple and efficient streaming media cross-network access by utilizing TCP and UDP forwarding of an IP transmission layer, reduces the system construction complexity of webrtc streaming media cross-network access, and further enables the scheme to have more cost advantages; according to the embodiment, the cross-network streaming media service access is realized based on the TCP and UDP forwarding of the IP transmission layer, the high-performance cross-network webrtc streaming media access capability is provided, and the user experience of an external network user for acquiring streaming media services based on webrtc is improved; actual verification tests show that webtc signaling and media forwarding services deployed on the large network in the embodiment are reduced by more than 90% compared with the conventional streaming media server, and the CPU is reduced by more than 50%. The cross-network access scheme of the streaming media service, which is realized by the embodiment, is not only suitable for the streaming media access protocol of webrtc, but also suitable for other streaming media access protocols including but not limited to RTMP, HTTP-FLV, HLS and the like, and has wide universality.
It will be appreciated that in the specific embodiments of the present application, related data such as user information is involved, and when the above embodiments of the present application are applied to specific products or technologies, user permissions or consents need to be obtained, and the collection, use and processing of related data need to comply with related laws and regulations and standards of related countries and regions.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
According to another aspect of the embodiment of the present application, there is also provided a cross-network data transmission apparatus for implementing the above-mentioned cross-network data transmission method. As shown in fig. 8, the apparatus includes:
a first obtaining unit 802, configured to obtain a data transmission configuration of a first target network, where the first target network is deployed with a streaming media server, and the data transmission configuration is used to configure a relay forwarding function of media data;
a first transmission unit 804, configured to perform media data transmission between the first target network and the second target network through the relay forwarding function, and perform signaling data transmission between the first target network and the second target network through a signaling forwarding proxy component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network, when the data transmission configuration indicates that the first target network supports the relay forwarding function;
A second transmission unit 806, configured to perform media data transmission between the first target network and the second target network through the media forwarding proxy component deployed on the streaming media server and the media forwarding service component deployed in the second target network, and perform signaling data transmission between the first target network and the second target network through the signaling forwarding proxy component and the signaling forwarding service component, when the data transmission configuration indicates that the first target network does not support the relay forwarding function.
Specific embodiments may refer to the examples shown in the above-mentioned cross-network data transmission apparatus, and this example is not described herein.
As an alternative, the first transmission unit 804 includes:
the establishing module is used for establishing communication connection between the streaming media server and a relay forwarding service component deployed in the second target network;
and the first transmission module is used for transmitting the target media data to the relay forwarding service component by utilizing communication connection, wherein the target media data is media data in a first target network.
For specific embodiments, reference may be made to the examples shown in the above-mentioned cross-network data transmission method, and this example will not be described herein.
As an alternative, the apparatus further includes:
the receiving module is used for receiving a first transmission result returned by the second target network after the target media data is transmitted to the relay forwarding service assembly by utilizing communication connection, wherein the first transmission result is the transmission result of the target media data;
and the second transmission module is used for carrying out secondary transmission of the target media data through the media forwarding agent component and the media forwarding service component under the condition that the first transmission result indicates that the transmission of the target media data is abnormal after the target media data is transmitted to the relay forwarding service component by utilizing communication connection.
For specific embodiments, reference may be made to the examples shown in the above-mentioned cross-network data transmission method, and this example will not be described herein.
As an alternative, the apparatus further includes:
a first establishing unit, configured to establish a TCP channel between a signaling forwarding agent component and a signaling forwarding service component, before signaling data transmission between a first target network and a second target network is performed by the signaling forwarding agent component deployed on the streaming media server and the signaling forwarding service component deployed in the second target network;
The second obtaining unit is configured to obtain, through a TCP channel, a signaling access request sent by the signaling forwarding service component to the signaling forwarding agent component before signaling data transmission between the first target network and the second target network is performed through the signaling forwarding agent component deployed on the streaming media server and the signaling forwarding service component deployed in the second target network, where the signaling access request is a request sent by a first terminal in the second target network to the signaling forwarding service component;
a first sending unit, configured to send a signaling access request to a signaling communication port of the streaming media server before signaling data transmission between the first target network and the second target network is performed through a signaling forwarding agent component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network, where the signaling communication port is connected with a signaling data source of the first target network in a data transmission manner;
a third obtaining unit, configured to obtain, through a media communication port, request response data corresponding to a signaling access request before signaling data transmission between the first target network and the second target network is performed through a signaling forwarding proxy component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network, where the request response data includes target signaling data;
And the second sending unit is used for sending the target signaling data to the signaling forwarding service component through a TCP channel before the signaling data transmission between the first target network and the second target network is carried out through the signaling forwarding agent component deployed on the streaming media server and the signaling forwarding service component deployed in the second target network, and forwarding the target signaling data to the first terminal through the signaling forwarding service component.
For specific embodiments, reference may be made to the examples shown in the above-mentioned cross-network data transmission method, and this example will not be described herein.
As an alternative, the apparatus further includes:
a second establishing unit, configured to establish a UDP channel between the media forwarding agent component and the media forwarding service component before media data transmission between the first target network and the second target network is performed through the media forwarding agent component deployed on the streaming media server and the media forwarding service component deployed in the second target network;
a third obtaining unit, configured to obtain, through a UDP channel, a media access request sent by the media forwarding service component to the media forwarding agent component before media data transmission between the first target network and the second target network is performed through the media forwarding agent component deployed on the streaming media server and the media forwarding service component deployed in the second target network, where the media access request is a request sent by a second terminal in the second target network to the media forwarding service component;
A third sending unit, configured to send a media access request to a media communication port of the streaming media server before media data transmission between the first target network and the second target network is performed through a media forwarding proxy component deployed on the streaming media server and a media forwarding service component deployed in the second target network, where the media communication port establishes a data transmission connection with a media data source of the first target network;
a fourth obtaining unit, configured to obtain, through a media communication port, request response data corresponding to a media access request before media data transmission between the first target network and the second target network is performed through a media forwarding proxy component deployed on the streaming media server and a media forwarding service component deployed in the second target network, where the request response data includes target media data;
and the fourth sending unit is used for sending the target media data to the media forwarding service component through the UDP channel before the media data transmission between the first target network and the second target network is carried out through the media forwarding agent component deployed on the streaming media server and the media forwarding service component deployed in the second target network, and forwarding the target media data to the second terminal through the media forwarding service component.
For specific embodiments, reference may be made to the examples shown in the above-mentioned cross-network data transmission method, and this example will not be described herein.
As an alternative, the first obtaining unit 802 includes:
the setting module is used for adjusting the data transmission configuration and setting the first target network to support the relay forwarding function under the condition that the data transmission configuration indicates that the first target network does not support the relay forwarding function and the streaming media server cannot perform point-to-point media data transmission with the second target network.
For specific embodiments, reference may be made to the examples shown in the above-mentioned cross-network data transmission method, and this example will not be described herein.
As an alternative, the apparatus further includes:
the receiving unit is used for receiving a second transmission result returned by the second target network after the media data transmission between the first target network and the second target network is carried out through the media forwarding agent component deployed on the streaming media server and the media forwarding service component deployed in the second target network, wherein the second transmission result is the transmission result of the media data between the first target network and the second target network;
the setting unit is configured to adjust a data transmission configuration and set the first target network to support a relay forwarding function when the second transmission result indicates that transmission of media data between the first target network and the second target network is abnormal after media data transmission between the first target network and the second target network is performed through the media forwarding agent component deployed on the streaming media server and the media forwarding service component deployed in the second target network.
For specific embodiments, reference may be made to the examples shown in the above-mentioned cross-network data transmission method, and this example will not be described herein.
According to a further aspect of the embodiment of the present application, there is also provided an electronic device for implementing the above-mentioned data transmission method across a network, which may be, but is not limited to, the user device 102 or the server 112 shown in fig. 1, the embodiment being illustrated by way of example as an electronic device for the user device 102, and as further shown in fig. 9, the electronic device comprising a memory 902 and a processor 904, the memory 902 having stored therein a computer program, the processor 904 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, acquiring data transmission configuration of a first target network, wherein a streaming media server is deployed in the first target network, and the data transmission configuration is used for configuring a relay forwarding function of media data;
S2, under the condition that the data transmission configuration indicates that the first target network supports the relay forwarding function, media data transmission between the first target network and the second target network is performed through the relay forwarding function, and signaling data transmission between the first target network and the second target network is performed through a signaling forwarding agent component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network;
and S3, under the condition that the data transmission configuration indicates that the first target network does not support the relay forwarding function, media data transmission between the first target network and the second target network is performed through a media forwarding agent component deployed on the streaming media server and a media forwarding service component deployed in the second target network, and signaling data transmission between the first target network and the second target network is performed through a signaling forwarding agent component and a signaling forwarding service component.
Alternatively, it will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 9 is merely illustrative, and that fig. 9 is not intended to limit the configuration of the electronic device described above. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 9, or have a different configuration than shown in FIG. 9.
The memory 902 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for cross-network data transmission in the embodiment of the present application, and the processor 904 executes the software programs and modules stored in the memory 902, thereby executing various functional applications and data processing, that is, implementing the method for cross-network data transmission described above. The memory 902 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 902 may further include memory remotely located relative to the processor 904, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 902 may be used for storing information such as data transmission configuration, media data, and signaling data, but is not limited to. As an example, as shown in fig. 9, the memory 902 may include, but is not limited to, the first acquiring unit 802, the first transmitting unit 804, and the second transmitting unit 806 in the cross-network data transmission apparatus. In addition, other module units in the above-mentioned cross-network data transmission device may be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmission device 906 is used to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means 906 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 906 is a Radio Frequency (RF) module for communicating wirelessly with the internet.
In addition, the electronic device further includes: a display 908, configured to display information such as the data transmission configuration, the media data, and the signaling data; and a connection bus 910 for connecting the respective module parts in the above-described electronic device.
In other embodiments, the user device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the plurality of nodes through a network communication. The nodes may form a peer-to-peer network, and any type of computing device, such as a server, a user device, etc., may become a node in the blockchain system by joining the peer-to-peer network.
According to one aspect of the present application, there is provided a computer program product comprising a computer program/instruction containing program code for executing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium. When executed by a central processing unit, performs various functions provided by embodiments of the present application.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that the computer system of the electronic device is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
The computer system includes a central processing unit (Central Processing Unit, CPU) which can execute various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) or a program loaded from a storage section into a random access Memory (Random Access Memory, RAM). In the random access memory, various programs and data required for the system operation are also stored. The CPU, the ROM and the RAM are connected to each other by bus. An Input/Output interface (i.e., I/O interface) is also connected to the bus.
The following components are connected to the input/output interface: an input section including a keyboard, a mouse, etc.; an output section including a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and the like, and a speaker, and the like; a storage section including a hard disk or the like; and a communication section including a network interface card such as a local area network card, a modem, and the like. The communication section performs communication processing via a network such as the internet. The drive is also connected to the input/output interface as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, and the like are mounted on the drive as needed so that a computer program read therefrom is mounted into the storage section as needed.
In particular, the processes described in the various method flowcharts may be implemented as computer software programs according to embodiments of the application. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium. The computer program, when executed by a central processing unit, performs the various functions defined in the system of the application.
According to one aspect of the present application, there is provided a computer-readable storage medium, from which a processor of a computer device reads the computer instructions, the processor executing the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations described above.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring data transmission configuration of a first target network, wherein a streaming media server is deployed in the first target network, and the data transmission configuration is used for configuring a relay forwarding function of media data;
s2, under the condition that the data transmission configuration indicates that the first target network supports the relay forwarding function, media data transmission between the first target network and the second target network is performed through the relay forwarding function, and signaling data transmission between the first target network and the second target network is performed through a signaling forwarding agent component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network;
and S3, under the condition that the data transmission configuration indicates that the first target network does not support the relay forwarding function, media data transmission between the first target network and the second target network is performed through a media forwarding agent component deployed on the streaming media server and a media forwarding service component deployed in the second target network, and signaling data transmission between the first target network and the second target network is performed through a signaling forwarding agent component and a signaling forwarding service component.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing electronic equipment related hardware, and the program may be stored in a computer readable storage medium, where the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed user equipment may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (9)

1. A method for transmitting data across a network, comprising:
acquiring data transmission configuration of a first target network, wherein a streaming media server is deployed in the first target network, and the data transmission configuration is used for configuring a relay forwarding function of media data;
performing media data transmission between the first target network and the second target network through the relay forwarding function under the condition that the data transmission configuration indicates that the first target network supports the relay forwarding function, and performing signaling data transmission between the first target network and the second target network through a signaling forwarding agent component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network;
In the case that the data transmission configuration indicates that the first target network does not support the relay forwarding function, performing media data transmission between the first target network and the second target network through a media forwarding proxy component deployed on the streaming media server and a media forwarding service component deployed in the second target network, and performing signaling data transmission between the first target network and the second target network through the signaling forwarding proxy component and the signaling forwarding service component;
the performing media data transmission between the first target network and the second target network through the relay forwarding function includes:
establishing communication connection between the streaming media server and a relay forwarding service component deployed in the second target network;
and transmitting target media data to the relay forwarding service component by utilizing the communication connection, wherein the target media data is media data in the first target network.
2. The method of claim 1, wherein after said transmitting target media data to said relay forwarding service component using said communication connection, said method further comprises:
Receiving a first transmission result returned by the second target network, wherein the first transmission result is the transmission result of the target media data;
and carrying out secondary transmission of the target media data through the media forwarding agent component and the media forwarding service component under the condition that the first transmission result indicates that the transmission of the target media data is abnormal.
3. The method of claim 1, wherein prior to said signaling data transmission between said first target network and said second target network by a signaling forwarding agent component deployed on said streaming media server and a signaling forwarding service component deployed in said second target network, said method further comprises:
establishing a TCP channel between the signaling forwarding agent component and the signaling forwarding service component;
acquiring a signaling access request sent by the signaling forwarding service component to the signaling forwarding proxy component through the TCP channel, wherein the signaling access request is a request sent by a first terminal in the second target network to the signaling forwarding service component;
transmitting the signaling access request to a signaling communication port of the streaming media server, wherein a data transmission connection is established between the signaling communication port and a signaling data source of the first target network;
Acquiring request response data corresponding to the signaling access request through the signaling communication port, wherein the request response data comprises target signaling data;
and sending the target signaling data to the signaling forwarding service component through the TCP channel, and forwarding the target signaling data to the first terminal by the signaling forwarding service component.
4. The method of claim 1, wherein prior to said transferring media data between said first target network and said second target network via a media forwarding agent component deployed on said streaming media server and a media forwarding service component deployed in said second target network, said method further comprises:
establishing a UDP channel between the media forwarding agent component and the media forwarding service component;
acquiring a media access request sent by the media forwarding service component to the media forwarding proxy component through the UDP channel, wherein the media access request is a request sent by a second terminal in the second target network to the media forwarding service component;
transmitting the media access request to a media communication port of the streaming media server, wherein the media communication port establishes a data transmission connection with a media data source of the first target network;
Acquiring request response data corresponding to the media access request through the media communication port, wherein the request response data comprises target media data;
and sending the target media data to the media forwarding service component through the UDP channel, and forwarding the target media data to the second terminal by the media forwarding service component.
5. The method according to any one of claims 1 to 4, wherein the obtaining a data transmission configuration of the first target network comprises:
and under the condition that the data transmission configuration indicates that the first target network does not support the relay forwarding function and the streaming media server and the second target network cannot perform point-to-point media data transmission, adjusting the data transmission configuration, and setting the first target network to support the relay forwarding function.
6. The method according to any one of claims 1 to 4, wherein after said transferring of media data between said first target network and said second target network by means of a media forwarding proxy component deployed on said streaming media server and a media forwarding service component deployed in said second target network, said method further comprises:
Receiving a second transmission result returned by the second target network, wherein the second transmission result is a transmission result of media data between the first target network and the second target network;
and under the condition that the second transmission result indicates that the transmission of the media data between the first target network and the second target network is abnormal, adjusting the data transmission configuration, and setting the first target network to support the relay forwarding function.
7. A cross-network data transmission apparatus, comprising:
the first acquisition unit is used for acquiring data transmission configuration of a first target network, wherein a streaming media server is deployed in the first target network, and the data transmission configuration is used for configuring a relay forwarding function of media data;
a first transmission unit, configured to, when the data transmission configuration indicates that the first target network supports the relay forwarding function, perform media data transmission between the first target network and the second target network through the relay forwarding function, and perform signaling data transmission between the first target network and the second target network through a signaling forwarding proxy component deployed on the streaming media server and a signaling forwarding service component deployed in the second target network;
A second transmission unit, configured to, when the data transmission configuration indicates that the first target network does not support the relay forwarding function, perform media data transmission between the first target network and the second target network through a media forwarding proxy component deployed on the streaming media server and a media forwarding service component deployed in the second target network, and perform signaling data transmission between the first target network and the second target network through the signaling forwarding proxy component and the signaling forwarding service component;
the first transmission unit includes:
the establishing module is used for establishing communication connection between the streaming media server and a relay forwarding service component deployed in the second target network;
and the first transmission module is used for transmitting target media data to the relay forwarding service component by utilizing the communication connection, wherein the target media data is media data in the first target network.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program, when run by an electronic device, performs the method of any one of claims 1 to 6.
9. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 6 by means of the computer program.
CN202310977192.0A 2023-08-04 2023-08-04 Cross-network data transmission method and device, storage medium and electronic equipment Active CN116708381B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310977192.0A CN116708381B (en) 2023-08-04 2023-08-04 Cross-network data transmission method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310977192.0A CN116708381B (en) 2023-08-04 2023-08-04 Cross-network data transmission method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN116708381A CN116708381A (en) 2023-09-05
CN116708381B true CN116708381B (en) 2023-11-14

Family

ID=87829724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310977192.0A Active CN116708381B (en) 2023-08-04 2023-08-04 Cross-network data transmission method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116708381B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179502A (en) * 2007-12-12 2008-05-14 中兴通讯股份有限公司 Method and system for forwarding stream media
WO2010120484A2 (en) * 2009-04-17 2010-10-21 Sling Media Inc. Systems and methods for establishing connections between devices communicating over a network
CN103701827A (en) * 2014-01-03 2014-04-02 上海美琦浦悦通讯科技有限公司 Method for realizing stream media play based on self-adaption stream media service gateway system
CN109450911A (en) * 2018-11-26 2019-03-08 武汉虹信技术服务有限责任公司 A kind of across a network stream medium data transmission system and method
CN113132376A (en) * 2021-04-14 2021-07-16 腾讯科技(深圳)有限公司 Media data processing method, device and system, electronic equipment and storage medium
CN113794909A (en) * 2021-09-01 2021-12-14 北京百度网讯科技有限公司 Video streaming system, method, server, device, and storage medium
CN114826754A (en) * 2022-05-06 2022-07-29 中国光大银行股份有限公司 Communication method and system among different networks, storage medium and electronic device
CN115695861A (en) * 2022-11-01 2023-02-03 北京飞讯数码科技有限公司 Stream media data management system, method, equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115623A1 (en) * 2008-10-30 2010-05-06 Control4 Corporation System and method for enabling distribution of media content using verification

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179502A (en) * 2007-12-12 2008-05-14 中兴通讯股份有限公司 Method and system for forwarding stream media
WO2010120484A2 (en) * 2009-04-17 2010-10-21 Sling Media Inc. Systems and methods for establishing connections between devices communicating over a network
CN103701827A (en) * 2014-01-03 2014-04-02 上海美琦浦悦通讯科技有限公司 Method for realizing stream media play based on self-adaption stream media service gateway system
CN109450911A (en) * 2018-11-26 2019-03-08 武汉虹信技术服务有限责任公司 A kind of across a network stream medium data transmission system and method
CN113132376A (en) * 2021-04-14 2021-07-16 腾讯科技(深圳)有限公司 Media data processing method, device and system, electronic equipment and storage medium
CN113794909A (en) * 2021-09-01 2021-12-14 北京百度网讯科技有限公司 Video streaming system, method, server, device, and storage medium
CN114826754A (en) * 2022-05-06 2022-07-29 中国光大银行股份有限公司 Communication method and system among different networks, storage medium and electronic device
CN115695861A (en) * 2022-11-01 2023-02-03 北京飞讯数码科技有限公司 Stream media data management system, method, equipment and medium

Also Published As

Publication number Publication date
CN116708381A (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN110301126B (en) Conference server
US9948686B2 (en) Method and apparatus for sharing DLNA device
RU2660620C1 (en) Communication device and method of bypassing gateway firewall of application layer in setting rts communication connection between rts-client and rts-server
CA3021223C (en) A method and a system for using relays for network optimization in ip-based communication networks
US8626879B2 (en) Systems and methods for establishing network connections using local mediation services
WO2023000935A1 (en) Data processing method, network element device, and readable storage medium
CN102546559B (en) The method, apparatus and system of end-to-end transmission data in limited network
US8175091B2 (en) Communication system
US8817815B2 (en) Traffic optimization over network link
KR101368615B1 (en) Method for realizing end-to-end call, end-to-end call terminal and system
JP2008544386A (en) System and method for establishing a peer-to-peer connection between a PC and a smartphone using a faulty network
US9413590B2 (en) Method for management of a secured transfer session through an address translation device, corresponding server and computer program
US20140337478A1 (en) Peer-to-peer network communications
Takasugi et al. Seamless service platform for following a user's movement in a dynamic network environment
CN116708381B (en) Cross-network data transmission method and device, storage medium and electronic equipment
KR100703065B1 (en) Network address translation control system and method for providing multilateral-bidirectional audio communication service
US11356296B1 (en) System and method for independent binding of virtual networks overlay using a physical network topology
CN115865878A (en) Transmission control method and device of media stream, storage medium and electronic equipment
KR100660123B1 (en) Vpn server system and vpn terminal for a nat traversal
US20090052446A1 (en) Communications Interface
CN115348316A (en) Method for communication between server and client
CN117676176A (en) IPv 6-based live audio and video transmission method and device
CN106161534A (en) Send, transmit and the method and device of acquisition capability
CN117061479A (en) Local area network communication method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant