CN113382453B - Cross-domain graph transmission method and system based on enhanced static routing calculation and source return - Google Patents

Cross-domain graph transmission method and system based on enhanced static routing calculation and source return Download PDF

Info

Publication number
CN113382453B
CN113382453B CN202110922610.7A CN202110922610A CN113382453B CN 113382453 B CN113382453 B CN 113382453B CN 202110922610 A CN202110922610 A CN 202110922610A CN 113382453 B CN113382453 B CN 113382453B
Authority
CN
China
Prior art keywords
domain
resource
resource flow
condition
service
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
CN202110922610.7A
Other languages
Chinese (zh)
Other versions
CN113382453A (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.)
Beijing Digibird Technology Co ltd
Original Assignee
Beijing Digibird Technology 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 Beijing Digibird Technology Co ltd filed Critical Beijing Digibird Technology Co ltd
Priority to CN202110922610.7A priority Critical patent/CN113382453B/en
Publication of CN113382453A publication Critical patent/CN113382453A/en
Application granted granted Critical
Publication of CN113382453B publication Critical patent/CN113382453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • 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/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point

Abstract

The invention belongs to the field of inter-domain resource transmission, particularly relates to a cross-domain graph transmission method and a cross-domain graph transmission system based on enhanced static routing calculation and source return, and aims to solve the problems that data cross-domain transmission cannot be realized and transmission paths can not be switched flexibly under the condition that a source network and a target network cannot be directly connected in the prior art. The invention comprises the following steps: performing inter-domain networking of an upper level domain and a lower level domain and independent routing, and performing inter-domain connection state real-time detection; judging the relation between the current domain, the target domain of the resource request and the signal source domain where the resource is located, and calculating and screening an optimal available path; if the transmission is intra-domain transmission, the streaming media gateway transfers the resource flow to a resource request end of the target domain, and if the transmission is inter-domain transmission, the streaming media gateway transfers the resource flow from the optimal available path to a domain service gateway of the target domain through the domain gateway service. The invention can realize cross-domain resource transmission, is flexible and adjustable in transmission path, and can automatically switch the transmission path when the connection is abnormal or the network is blocked.

Description

Cross-domain graph transmission method and system based on enhanced static routing calculation and source return
Technical Field
The invention belongs to the field of inter-domain resource transmission, and particularly relates to a cross-domain graph transmission method and a system based on enhanced static routing computation and source return.
Background
At present, environment video monitoring data or networked video data acquired by other equipment generally operate in an independent networking mode, and physical isolation or logical isolation is realized with a service information system network, so that the operation safety of the service information system network is ensured, and network load pressure generated by a large amount of video data is avoided. When the remote network node is connected with the central network, especially when conditions such as network communication means, communication bandwidth and the like are limited, the service data and the video data of the remote network node are transmitted in a common communication link mode, the video data needs to be subjected to cross-network ferry at an access node of the central network, and a video data on-demand transmission mechanism is established to reduce occupation of communication resources and access pressure on remote video sources.
Some documents propose to adopt a multicast protocol to notify a push task management module [1], so that unidirectional transmission control of network data can be realized, support for a video data protocol and on-demand acquisition of video data are simultaneously met, video data transmission and on-demand application scenes in a cross-network domain environment are realized, on-demand of video data in another network domain is realized by using a video on-demand client in a user network domain, and effective logic isolation control can be performed on the two network domains at a data communication and application layer.
However, there are several problems with this solution: firstly, the data transmission may have the risk of packet loss; secondly, data transmission processing is not involved among a plurality of domains under the condition that a source network and a target network cannot be directly communicated; thirdly, the video sources are required to be uniformly accessed to the pushing center, and the method cannot be suitable for scenes that the video sources belong to each independent domain; and fourthly, the scene of dynamically switching the communication path based on factors such as bandwidth utilization rate, client connection number, packet loss rate, routing hop number and the like is not applicable.
The following documents are background information related to the present invention:
[1] the video data pushing system comprises a video data pushing system of Tang national defense, Gaoruiming, Wang, Xiaotao, Limingxing and Yan Shuangping, 2020-07-29 and CN 111954009A.
Disclosure of Invention
In order to solve the above-mentioned problems in the prior art, that is, the prior art cannot realize data cross-domain transmission and flexible switching of transmission paths under the condition that a source network and a target network cannot be directly connected, the present invention provides a cross-domain graph transmission method based on enhanced static routing computation and source return, which comprises:
step S10, according to the superior and inferior relations and the independent routing rules, the inter-domain networking of the superior and inferior domains and the independent routing is carried out, and the inter-domain connection state is detected in real time;
step S20, recording the resource flow transmission domain as the signal source domain, the resource flow receiving domain as the target domain, recording the current domain as the current domain, and determining and executing: if the condition 1 is satisfied or the conditions 1 and 2 are satisfied at the same time, the process goes to step S40; if neither condition 1 nor condition 2 is satisfied, the process goes to step S30; the condition 1 is that the current domain is a signal source domain; the condition 2 is that a resource stream address exists in the cache;
step S30, obtaining all routing rules, and judging whether there is available route from signal source domain to target domain, if not, the front end informs current resource flow that it can not be called; otherwise, judging whether the inter-domain connection state detected in real time is interrupted, and if so, re-requesting the resource flow; otherwise, the domain gateway service sends a resource flow request to the next routing node, and skips to step S20;
step S40, obtaining the resource flow address of the signal source domain, and judging whether the current domain is the relay domain, if yes, transferring the resource flow to the domain service gateway of the target domain through the domain gateway service, and jumping to step S20; otherwise, the resource flow is transferred out to the resource request end of the target domain through the streaming media gateway.
In some preferred embodiments, step S40 is followed by a resource back-flow operation, which is performed by:
step S50, the current domain judges whether the resource flow corresponding to the source returning request is the local domain resource;
step S60, if not, the request is forwarded to the domain service gateway to carry out the cross-domain request and the step S50 is skipped; otherwise, judging whether the resource flow is the local domain resource service resource flow;
step S70, if the local domain resource service resource flows, the original address information of the resource flow is obtained and the resource flows back to the original address; otherwise, jumping to step S80;
step S80, requesting resource flow original address information from local resource service, and inquiring management and control service, flow media service, recording and broadcasting service through local resource service, and after obtaining resource flow original address information, returning resource to original address.
In some preferred embodiments, the inter-domain connection status is detected in real time in step S10, where the method includes:
accessing an access domain and a domain related to an independent route to a set theme of mqtt (Message Queuing telemeasuring Transport);
when each domain accesses the mqtt, the unique theme of the domain is connected (the theme format is:/< domain ID >), other associated domains monitor the topic (theme), and if the connection is interrupted, the connection state of the domain is updated, and an event notification is triggered.
In some preferred embodiments, after determining whether there is an available path from the signal source domain to the target domain in step S30, an optimal available path calculation operation is further set, where the method includes:
step S31, judging whether there is available path from signal source domain to target domain, if yes, judging whether there is available path with sufficient line bandwidth resource;
step S32, for the available path with sufficient line bandwidth resources, calculating the available path with the minimum relay length, and taking the available path with the minimum relay length as the optimal available path;
step S33, if a plurality of available paths with the least relay length exist, calculating the available path with the largest comprehensive weight in the available paths with the least relay length, and taking the available path with the largest comprehensive weight as the optimal available path;
in step S34, if there are a plurality of available paths with the highest aggregate weight, the available path with the highest aggregate connection state stability among the plurality of available paths with the highest aggregate weight is calculated, and the available path with the highest aggregate connection state stability is used as the optimal available path.
In some preferred embodiments, the connection status, the stability of which is a dynamic value, is dynamically updated according to the number of dropped connections and the dropped connection frequency of the inter-domain network.
In some preferred embodiments, in step S40, the method for transferring the resource stream out to the resource request end of the target domain through the streaming media gateway includes:
step S41, the resource request terminal requests the WebRTC address of the resource flow through the resource id, and calls the resource flow based on the WebRTC address;
step S42, after the data decoding and distributing module receives the resource flow calling request, the real address of the resource is obtained based on the WebRTC address, and the resource flow is requested;
and step S43, the signal source sends the resource flow to the data decoding and distributing module, and the data decoding and distributing module re-encodes, decodes and streams the resource flow and sends the resource flow to the resource request end.
In some preferred embodiments, the resource stream includes domain information, gateway information for a domain, signal source details, shared packets, and shared signal source information.
In another aspect of the present invention, a cross-domain graph transmission system based on enhanced static routing computation and back source is provided, which includes the following modules:
the inter-domain networking module is configured to perform inter-domain networking of the superior and inferior domains and the independent routes according to the superior and inferior relations and the independent route rules;
the real-time detection module is configured to detect the inter-domain connection state in real time;
the condition judgment module is configured to mark the resource flow transmission domain as a signal source domain, mark the resource flow receiving domain as a target domain, mark the current domain as a current domain, judge and execute: if the condition 1 is met or the condition 1 and the condition 2 are met simultaneously, the relay domain is jumped to a relay domain judging module; if the condition 1 and the condition 2 are not met, the path is jumped to the judging module; the condition 1 is that the current domain is a signal source domain; the condition 2 is that a resource stream address exists in the cache;
the path judgment module is configured to acquire all routing rules and judge whether an available path from the signal source domain to the target domain exists, and if not, the front end notifies that the current resource flow cannot be called; otherwise, judging whether the inter-domain connection state detected in real time is interrupted, and if so, re-requesting the resource flow; otherwise, the domain gateway service sends a resource flow request to the next routing node and skips the condition judgment module;
the relay domain judging module is configured to acquire a resource stream address of the signal source domain, judge whether the current domain is the relay domain or not, and jump to the inter-domain stream pulling module if the current domain is the relay domain; otherwise, jumping to the intra-domain pull-stream module;
the inter-domain pull flow module is configured to transfer the resource flow to a domain service gateway of a target domain through a domain gateway service and jump to the condition judgment module;
and the domain internal pulling module is configured to transfer the resource stream to the resource request end of the target domain through the streaming media gateway.
In a third aspect of the present invention, an electronic device is provided, including:
at least one processor; and
a memory communicatively coupled to at least one of the processors; wherein the content of the first and second substances,
the memory stores instructions executable by the processor for execution by the processor to implement the enhanced static routing computation and back source based cross-domain graph passing method described above.
In a fourth aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for being executed by a computer to implement the above-mentioned cross-domain graph transmission method based on enhanced static routing computation and back source.
The invention has the beneficial effects that:
(1) the invention is based on the cross-domain graph transmission method of the enhanced static routing calculation and the return source, and can realize the intercommunication of the domain resource flows (namely video data) of the source network and the target network based on the calculation of the routing path under the condition that the source network and the target network can not be directly communicated.
(2) The invention is based on the cross-domain graph transmission method for enhancing static route calculation and returning source, and can dynamically convert the route path into an available route path if a certain node in the nodes of the route path is disconnected in the process of taking the stream.
(3) The invention is based on the cross-domain graph transmission method for enhancing static route calculation and back source, and can dynamically select the line with better network quality based on the bandwidth utilization rate of the line, the inter-domain connection state stability and the line weight.
(4) The invention is based on a cross-domain graph transmission method for enhancing static routing calculation and returning source, video sources of each domain can be configured with sharing groups according to needs, and then a specific video source is selected to be synchronized to other sources.
(5) The invention is based on the cross-domain graph transmission method for enhancing static routing calculation and back source, and the connection state between the upper and lower level domains and the domain configured with the additional routing rule can be updated in real time.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a flow chart of a cross-domain graph transmission method based on enhanced static route calculation and back source according to the present invention;
FIG. 2 is a schematic diagram of a multi-domain networking architecture according to an embodiment of the cross-domain graph transmission method based on enhanced static route calculation and back source of the present invention;
FIG. 3 is a diagram illustrating inter-domain connection status detection according to an embodiment of the present invention based on enhanced static routing computation and source-back cross-domain graph forwarding method;
FIG. 4 is a single domain core pull flow diagram of an embodiment of the present invention based on an enhanced static routing computation and source-back cross-domain graph transmission method;
FIG. 5 is a schematic diagram of a source return flow of an embodiment of a cross-domain graph transmission method based on enhanced static route calculation and source return according to the present invention;
FIG. 6 is a schematic diagram of a streaming media signal source pushing large screen return source according to an embodiment of the cross-domain graph transmission method based on enhanced static routing computation and return source of the present invention;
fig. 7 is a schematic diagram of a cross-domain streaming media signal source pushing large-screen source return according to an embodiment of the cross-domain graph transmission method based on enhanced static route calculation and source return.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The invention provides a cross-domain graph transmission method based on enhanced static routing calculation and source return, which is characterized in that cross-domain graph transmission, inter-domain resource flow synchronization and network inter-domain routing rule configuration are performed based on the enhanced static routing calculation and the source return, cross-network domain acquisition resource flow (namely video data) is provided, under the condition that a source network and a target domain network cannot be directly communicated, the acquisition of the resource flow (namely video data) can be realized through a relay domain, and under the condition that connection among the routes is abnormal, the available routes can be automatically switched, so that the method is suitable for a scene that each domain has a signal source pool of the own, and after cross-domain networking, any signal source is called in a cross-domain mode.
The invention discloses a cross-domain graph transmission method based on enhanced static routing calculation and back source, which comprises the following steps:
step S10, according to the superior and inferior relations and the independent routing rules, the inter-domain networking of the superior and inferior domains and the independent routing is carried out, and the inter-domain connection state is detected in real time;
step S20, recording the resource flow transmission domain as the signal source domain, the resource flow receiving domain as the target domain, recording the current domain as the current domain, and determining and executing: if the condition 1 is satisfied or the conditions 1 and 2 are satisfied at the same time, the process goes to step S40; if neither condition 1 nor condition 2 is satisfied, the process goes to step S30; the condition 1 is that the current domain is a signal source domain; the condition 2 is that a resource stream address exists in the cache;
step S30, obtaining all routing rules, and judging whether there is available route from signal source domain to target domain, if not, the front end informs current resource flow that it can not be called; otherwise, judging whether the inter-domain connection state detected in real time is interrupted, and if so, re-requesting the resource flow; otherwise, the domain gateway service sends a resource flow request to the next routing node, and skips to step S20;
step S40, obtaining the resource flow address of the signal source domain, and judging whether the current domain is the relay domain, if yes, transferring the resource flow to the domain service gateway of the target domain through the domain gateway service, and jumping to step S20; otherwise, the resource flow is transferred out to the resource request end of the target domain through the streaming media gateway.
In order to more clearly describe the cross-domain graph transmission method based on enhanced static route calculation and back source of the present invention, details of the steps in the embodiment of the present invention are described below with reference to fig. 1.
The cross-domain graph transmission method based on the enhanced static routing computation and the back source of the first embodiment of the invention comprises the steps of S10-S40, and the steps are described in detail as follows:
and step S10, according to the superior and inferior relations and the independent routing rules, performing inter-domain networking of the superior and inferior domains and the independent routing, and detecting the inter-domain connection state in real time.
As shown in fig. 2, which is a schematic diagram of a multiple-domain networking structure of an embodiment of the present invention based on a cross-domain graph transmission method for enhancing static route calculation and back to source, a domain is a top-level domain, a B1 domain, a B2 domain, and a B3 domain are configured below, a B1 domain is configured below with a C1 domain, a B2 domain is configured below with a C2 domain, a B3 domain is configured below with a C3 domain, and a C3 domain is configured below with a D3 domain, except for the original connection relationship from the a domain to the B1 domain, the B2 domain, and the B3 domain, the connection relationship from the B1 to the C1 domain, the B2 to the C2 domain, the B3 to the C3 domain, and the C3 to the D3 domain, other routing relationships may be configured, for example, from the B1 domain to the D3 domain, the B2 domain to the D3 domain, and so on.
After configuring the routing relationship of each domain, each routing node will check the health status of the nodes directly connected with the routing node (i.e. whether the nodes can be connected, if the nodes can be connected, the nodes are healthy, and if the nodes cannot be connected, the nodes are unhealthy), for example, the domain B detects the connection status with the domain a, and the domain D3 detects the connection status with the domains C3, B1, and B2.
Each domain comprises a signal source pool, a service core module and a video coding, decoding and distributing module. The routing rule configuration supports line weight and bandwidth size configuration, and an optimal routing path is calculated based on four dimensions of available bandwidth size, relay times, line weight and connection state stability when a connection path is selected.
Each domain can synchronize information such as its signal source to a higher domain or a lower domain, and resource streams to be synchronized have 5 types: domain information, gateway information for the domain, signal source details, shared packets, and shared signal source information.
In step S10, the inter-domain connection status is detected in real time, and the method includes:
accessing an access domain and a domain related to an independent route to a set theme of mqtt (Message Queuing telemeasuring Transport);
when each domain accesses the mqtt, the unique theme of the domain is connected (the theme format is:/< domain ID >), other associated domains monitor the topic (theme), and if the connection is interrupted, the connection state of the domain is updated, and an event notification is triggered.
Step S20, recording the resource flow transmission domain as the signal source domain, the resource flow receiving domain as the target domain, recording the current domain as the current domain, and determining and executing: if the condition 1 is satisfied or the conditions 1 and 2 are satisfied at the same time, the process goes to step S40; if neither condition 1 nor condition 2 is satisfied, the process goes to step S30; the condition 1 is that the current domain is a signal source domain; the condition 2 is that a resource stream address exists in the cache.
As shown in fig. 3, which is an inter-domain connection state detection diagram of an embodiment of the cross-domain graph transmission method based on enhanced static routing computation and back source of the present invention, an upper domain is configured as a B domain in a domain a (i.e., is accessed to the B domain), and after configuration is successful, the a domain is connected to topic of MQTT: /link/A, and listen for topic: a/link/B; in the lower domain management of the B domain, the A domain is received as a lower domain, and after the operation is successful, the B domain is connected with topic of the MQTT: /link/B, and listen for topic: a/link/A; in the route configuration page of the A domain, the route rule configured to the C domain: A-C, after configuration is successful, a C domain synchronously increases a routing rule C-A; the A domain increases the interception topic: the C domain is connected with topic of MQTT: the/link/C, and listen to topic: a/link/A; if the A domain is disconnected, the connection of the domain mqtt is interrupted, and the domain B and the domain C are informed by the mqtt, and the connection state and the connection stability of the domain A are updated. The MQTT of different domains transmits the message in real time in a bridging configuration mode.
Step S30, obtaining all routing rules, and judging whether there is available route from signal source domain to target domain, if not, the front end informs current resource flow that it can not be called; otherwise, judging whether the inter-domain connection state detected in real time is interrupted, and if so, re-requesting the resource flow; otherwise, the domain gateway service sends a resource flow request to the next routing node, and jumps to step S20.
In step S30, after determining whether there is an available path from the signal source domain to the target domain, an optimal available path calculation operation is further set, and the method includes:
step S31, judging whether there is available path from signal source domain to target domain, if yes, judging whether there is available path with sufficient line bandwidth resource;
step S32, for the available path with sufficient line bandwidth resources, calculating the available path with the minimum relay length, and taking the available path with the minimum relay length as the optimal available path;
step S33, if a plurality of available paths with the least relay length exist, calculating the available path with the largest comprehensive weight in the available paths with the least relay length, and taking the available path with the largest comprehensive weight as the optimal available path;
in step S34, if there are a plurality of available paths with the highest aggregate weight, the available path with the highest aggregate connection state stability among the plurality of available paths with the highest aggregate weight is calculated, and the available path with the highest aggregate connection state stability is used as the optimal available path.
And the connection state, the stability of which is a dynamic value, is dynamically updated through the number of times of disconnection and the frequency of disconnection of the inter-domain network.
Step S40, obtaining the resource flow address of the signal source domain, and judging whether the current domain is the relay domain, if yes, transferring the resource flow to the domain service gateway of the target domain through the domain gateway service, and jumping to step S20; otherwise, the resource flow is transferred out to the resource request end of the target domain through the streaming media gateway.
In step S40, the method for transferring the resource stream to the resource request end of the target domain through the streaming media gateway includes:
step S41, the resource request terminal requests the WebRTC address of the resource flow through the resource id, and calls the resource flow based on the WebRTC address;
step S42, after the data decoding and distributing module receives the resource flow calling request, the real address of the resource is obtained based on the WebRTC address, and the resource flow is requested;
and step S43, the signal source sends the resource flow to the data decoding and distributing module, and the data decoding and distributing module re-encodes, decodes and streams the resource flow and sends the resource flow to the resource request end.
The resource flow includes domain information, gateway information of the domain, signal source details, shared packets, and shared signal source information.
As shown in fig. 4, a single domain core pull flow diagram of an embodiment of the present invention based on a cross-domain graph transmission method for enhancing static routing computation and back source is shown, where a domain includes a signal source pool, a core service module and a video codec and distribution module, and the core service module includes domain service, right management, streaming media gateway service, on-demand service, display control service, and the like.
Taking web-end on-demand as an example: the web client requests a specific WebRTC address from the core service module through the resource id, and then uses the WebRTC address to pull the stream; the video coding, decoding and distributing module acquires a real video stream address by using the WebRTC address, and then requests video stream data from the signal source pool; the video coding and decoding and distribution module forwards the video stream data, and if necessary, the video coding and decoding and distribution module can re-code and decode the video stream data and output the video stream data to the web client in a streaming mode.
Cross-domain pull requires the video codec and distribution module of the domain gateway to obtain video stream data from another network domain.
When the first acquisition is carried out, firstly, optimal complete routing information is acquired according to the static routing table information and the line key factors, and then cross-domain stream pulling is finally realized through multiple times of forwarding of video stream data and source returning requests;
if the network between some domains is interrupted, the optimal route can be automatically recalculated, and the back source request is automatically completed, so that the dynamic cross-domain pull flow is realized.
After step S40, a resource back-flow operation is further provided, which includes:
in step S50, the current domain determines whether the resource flow corresponding to the request from source is a resource of the current domain.
Step S60, if not, the request is forwarded to the domain service gateway to carry out the cross-domain request and the step S50 is skipped; otherwise, judging whether the resource flow is the local domain resource service resource flow.
Step S70, if the local domain resource service resource flows, the original address information of the resource flow is obtained and the resource flows back to the original address; otherwise, go to step S80.
Step S80, request the original address information of the resource stream from the local resource service, query the management and control service, the streaming media service, and the recording and playing service through the local resource service, obtain the original address information of the resource stream (i.e. obtain the complete resource information of the resource stream ID), and return the resource stream to the original address.
The resource service, the control service, the streaming media service and the recording and broadcasting service are four independent micro services, the control service, the streaming media service and the recording and broadcasting service provide specific resources, all the services need to be registered to the resource service, and the resource service provides a unified query function for the outside.
As shown in fig. 6, which is a schematic diagram of pushing a large-screen return source by a streaming media signal source according to an embodiment of the cross-domain graph transmission method based on enhanced static routing computation and return source of the present invention, first, a Web client selects a streaming media signal source through a browser to perform large-screen windowing; then, the front end requests to send to the management and control service of the back end, and the management and control service inquires whether the video stream playing address of the signal source exists or not to the management and control service video forwarding module: if the current state exists, the current state is directly returned to the management and control service, and the management and control service returns to the front end; if the current domain does not exist, the management and control service determines that the current domain is the streaming media signal source according to the signal source ID, and the resource module requests a playing address from the streaming media service; finally, after receiving the request, the streaming media service acquires a real playing address from the streaming media service video forwarding module, wherein the real playing address is generally a national standard GB28182 device address, an ONVIF device address or a custom streaming media RTSP address. Wherein, the signal source ID is a tertiary structure: < field ID > < resource type > < resource ID >, such as 111325. stream-gateway.2408000-6 ec2-11b2-8067-2ca59c2fa5d 0.
Fig. 7 is a schematic diagram of pushing a large-screen return source by a cross-domain streaming media signal source according to an embodiment of the cross-domain graph transmission method based on enhanced static routing computation and return source of the present invention, first, a Web client selects a non-local streaming media signal source through a browser to perform large-screen windowing; then, the front end requests to send to the management and control service of the back end, and the management and control service inquires whether the video stream playing address of the signal source exists or not to the management and control service video forwarding module: if the current state exists, the current state is directly returned to the management and control service, and the management and control service returns to the front end; if the current domain does not exist, the management and control service determines that the current domain is not the streaming media signal source of the current domain according to the signal source ID, and requests a playing address from the domain media service; then, after receiving the request, the domain media service queries whether the video stream playing address of the signal source already exists from the domain service gateway video forwarding module: if yes, directly returning the playing address to the requester; if not, inquiring gateway information of the corresponding domain, and requesting a playing address to a domain service gateway of other domains; further, the video forwarding modules of the domain service gateways of other domains query whether the video stream playing address of the signal source already exists: if yes, directly returning the playing address to the requester; if the source ID does not exist, the domain service gateway of other domains determines the source as the streaming media source of the domain according to the source ID; and finally, the resource module requests a play address from the streaming media service, and after the streaming media service receives the request, the real play address is obtained from the streaming media service video forwarding module and returned to the requesting party.
Although the foregoing embodiments describe the steps in the above sequential order, those skilled in the art will understand that, in order to achieve the effect of the present embodiments, the steps may not be executed in such an order, and may be executed simultaneously (in parallel) or in an inverse order, and these simple variations are within the scope of the present invention.
The cross-domain graph transmission system based on the enhanced static routing computation and the back source of the second embodiment of the invention comprises the following modules:
the inter-domain networking module is configured to perform inter-domain networking of the superior and inferior domains and the independent routes according to the superior and inferior relations and the independent route rules;
the real-time detection module is configured to detect the inter-domain connection state in real time;
the condition judgment module is configured to mark the resource flow transmission domain as a signal source domain, mark the resource flow receiving domain as a target domain, mark the current domain as a current domain, judge and execute: if the condition 1 is met or the condition 1 and the condition 2 are met simultaneously, the relay domain is jumped to a relay domain judging module; if the condition 1 and the condition 2 are not met, the path is jumped to the judging module; the condition 1 is that the current domain is a signal source domain; the condition 2 is that a resource stream address exists in the cache;
the path judgment module is configured to acquire all routing rules and judge whether an available path from the signal source domain to the target domain exists, and if not, the front end notifies that the current resource flow cannot be called; otherwise, judging whether the inter-domain connection state detected in real time is interrupted, and if so, re-requesting the resource flow; otherwise, the domain gateway service sends a resource flow request to the next routing node and skips the condition judgment module;
the relay domain judging module is configured to acquire a resource stream address of the signal source domain, judge whether the current domain is the relay domain or not, and jump to the inter-domain stream pulling module if the current domain is the relay domain; otherwise, jumping to the intra-domain pull-stream module;
the inter-domain pull flow module is configured to transfer the resource flow to a domain service gateway of a target domain through a domain gateway service and jump to the condition judgment module;
and the domain internal pulling module is configured to transfer the resource stream (namely, the video data) out to the resource request end of the target domain through the streaming media gateway.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process and related description of the system described above may refer to the corresponding process in the foregoing method embodiments, and will not be described herein again.
It should be noted that, the cross-domain graph transmission system based on enhanced static routing computation and back source provided in the foregoing embodiment is only illustrated by the division of the foregoing functional modules, and in practical applications, the above functions may be allocated to different functional modules according to needs, that is, the modules or steps in the embodiments of the present invention are further decomposed or combined, for example, the modules in the foregoing embodiments may be combined into one module, or may be further split into multiple sub-modules, so as to complete all or part of the functions described above. The names of the modules and steps involved in the embodiments of the present invention are only for distinguishing the modules or steps, and are not to be construed as unduly limiting the present invention.
An electronic apparatus according to a third embodiment of the present invention includes:
at least one processor; and
a memory communicatively coupled to at least one of the processors; wherein the content of the first and second substances,
the memory stores instructions executable by the processor for execution by the processor to implement the enhanced static routing computation and back source based cross-domain graph passing method described above.
A computer-readable storage medium of a fourth embodiment of the present invention stores computer instructions for being executed by a computer to implement the above-mentioned cross-domain graph transmission method based on enhanced static route calculation and back source.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and related descriptions of the storage device and the processing device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Those of skill in the art would appreciate that the various illustrative modules, method steps, and modules described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that programs corresponding to the software modules, method steps may be located in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. To clearly illustrate this interchangeability of electronic hardware and software, various illustrative components and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as electronic hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The terms "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing or implying a particular order or sequence.
The terms "comprises," "comprising," or any other similar term are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (10)

1. A cross-domain graph transmission method based on enhanced static routing computation is characterized by comprising the following steps:
step S10, according to the superior and inferior relations and the independent routing rules, the inter-domain networking of the superior and inferior domains and the independent routing is carried out, and the inter-domain connection state is detected in real time;
step S20, recording the resource flow transmission domain as the signal source domain, the resource flow receiving domain as the target domain, recording the current domain as the current domain, and determining and executing: if the condition 1 is satisfied or the conditions 1 and 2 are satisfied at the same time, the process goes to step S40; if neither condition 1 nor condition 2 is satisfied, the process goes to step S30; the condition 1 is that the current domain is a signal source domain; the condition 2 is that a resource stream address exists in the cache;
step S30, obtaining all routing rules, and judging whether there is available route from signal source domain to target domain, if not, the front end informs current resource flow that it can not be called; otherwise, judging whether the inter-domain connection state detected in real time is interrupted, and if so, re-requesting the resource flow; otherwise, the domain gateway service sends a resource flow request to the next routing node, and skips to step S20;
step S40, obtaining the resource flow address of the signal source domain, and judging whether the current domain is the relay domain, if yes, transferring the resource flow to the domain service gateway of the target domain through the domain gateway service, and jumping to step S20; otherwise, the resource flow is transferred out to the resource request end of the target domain through the streaming media gateway.
2. The cross-domain graph transmission method based on the enhanced static routing computation of claim 1, wherein the inter-domain connection status is detected in real time in step S10, and the method comprises:
accessing the domain associated with the access domain and the independent route to the set theme of mqtt;
when each domain is accessed to the mqtt, the unique theme of the domain is connected, other associated domains monitor the theme, if the connection is interrupted, the connection state of the domain is updated, and event notification is triggered.
3. The method according to claim 1, wherein after determining whether there is an available path from the source domain to the destination domain in step S30, an optimal available path calculation operation is further configured, and the method comprises:
step S31, judging whether there is available path from signal source domain to target domain, if yes, judging whether there is available path with sufficient line bandwidth resource;
step S32, for the available path with sufficient line bandwidth resources, calculating the available path with the minimum relay length, and taking the available path with the minimum relay length as the optimal available path;
step S33, if a plurality of available paths with the least relay length exist, calculating the available path with the largest comprehensive weight in the available paths with the least relay length, and taking the available path with the largest comprehensive weight as the optimal available path;
in step S34, if there are a plurality of available paths with the highest aggregate weight, the available path with the highest aggregate connection state stability among the plurality of available paths with the highest aggregate weight is calculated, and the available path with the highest aggregate connection state stability is used as the optimal available path.
4. The method according to claim 3, wherein the connection status, the stability of which is a dynamic value, is dynamically updated according to the number of dropped connections and the frequency of dropped connections of the inter-domain network.
5. The method for cross-domain graph transmission based on enhanced static routing computation of claim 1, wherein in step S40, the streaming media gateway is used to forward the resource stream to the resource request end of the target domain, and the method comprises:
step S41, the resource request terminal requests the WebRTC address of the resource flow through the resource id, and calls the resource flow based on the WebRTC address;
step S42, after the data decoding and distributing module receives the resource flow calling request, the real address of the resource is obtained based on the WebRTC address, and the resource flow is requested;
and step S43, the signal source sends the resource flow to the data decoding and distributing module, and the data decoding and distributing module re-encodes, decodes and streams the resource flow and sends the resource flow to the resource request end.
6. The method of claim 5, wherein the resource flow comprises domain information, gateway information of domains, signal source details, shared packets, and shared signal source information.
7. A cross-domain graph transmission method based on enhanced static route calculation and back source is characterized by comprising the following steps:
step S10, according to the superior and inferior relations and the independent routing rules, the inter-domain networking of the superior and inferior domains and the independent routing is carried out, and the inter-domain connection state is detected in real time;
step S20, recording the resource flow transmission domain as the signal source domain, the resource flow receiving domain as the target domain, recording the current domain as the current domain, and determining and executing: if the condition 1 is satisfied or the conditions 1 and 2 are satisfied at the same time, the process goes to step S40; if neither condition 1 nor condition 2 is satisfied, the process goes to step S30; the condition 1 is that the current domain is a signal source domain; the condition 2 is that a resource stream address exists in the cache;
step S30, obtaining all routing rules, and judging whether there is available route from signal source domain to target domain, if not, the front end informs current resource flow that it can not be called; otherwise, judging whether the inter-domain connection state detected in real time is interrupted, and if so, re-requesting the resource flow; otherwise, the domain gateway service sends a resource flow request to the next routing node, and skips to step S20;
step S40, obtaining the resource flow address of the signal source domain, and judging whether the current domain is the relay domain, if yes, transferring the resource flow to the domain service gateway of the target domain through the domain gateway service, and jumping to step S20; otherwise, transferring the resource flow to a resource request end of the target domain through the streaming media gateway;
step S50, the current domain judges whether the resource flow corresponding to the source returning request is the local domain resource;
step S60, if not, the request is forwarded to the domain service gateway to carry out the cross-domain request and the step S50 is skipped; otherwise, judging whether the resource flow is the local domain resource service resource flow;
step S70, if the local domain resource service resource flows, the original address information of the resource flow is obtained and the resource flows back to the original address; otherwise, jumping to step S80;
step S80, requesting resource flow original address information from local resource service, and inquiring management and control service, flow media service, recording and broadcasting service through local resource service, and after obtaining resource flow original address information, returning resource to original address.
8. A cross-domain graph transmission system based on enhanced static routing computation is characterized by comprising the following modules:
the inter-domain networking module is configured to perform inter-domain networking of the superior and inferior domains and the independent routes according to the superior and inferior relations and the independent route rules;
the real-time detection module is configured to detect the inter-domain connection state in real time;
the condition judgment module is configured to mark the resource flow transmission domain as a signal source domain, mark the resource flow receiving domain as a target domain, mark the current domain as a current domain, judge and execute: if the condition 1 is met or the condition 1 and the condition 2 are met simultaneously, the relay domain is jumped to a relay domain judging module; if the condition 1 and the condition 2 are not met, the path is jumped to the judging module; the condition 1 is that the current domain is a signal source domain; the condition 2 is that a resource stream address exists in the cache;
the path judgment module is configured to acquire all routing rules and judge whether an available path from the signal source domain to the target domain exists, and if not, the front end notifies that the current resource flow cannot be called; otherwise, judging whether the inter-domain connection state detected in real time is interrupted, and if so, re-requesting the resource flow; otherwise, the domain gateway service sends a resource flow request to the next routing node and skips the condition judgment module;
the relay domain judging module is configured to acquire a resource stream address of the signal source domain, judge whether the current domain is the relay domain or not, and jump to the inter-domain stream pulling module if the current domain is the relay domain; otherwise, jumping to the intra-domain pull-stream module;
the inter-domain pull flow module is configured to transfer the resource flow to a domain service gateway of a target domain through a domain gateway service and jump to the condition judgment module;
and the domain internal pulling module is configured to transfer the resource stream to the resource request end of the target domain through the streaming media gateway.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to at least one of the processors; wherein the content of the first and second substances,
the memory stores instructions executable by the processor to perform the method of cross-domain graph passing based on enhanced static routing computation of any one of claims 1-6 or the method of cross-domain graph passing based on enhanced static routing computation and back source of claim 7.
10. A computer-readable storage medium storing computer instructions for execution by a computer to implement the method for cross-domain graph transmission based on enhanced static routing computation of any one of claims 1-6 or the method for cross-domain graph transmission based on enhanced static routing computation and back source of claim 7.
CN202110922610.7A 2021-08-12 2021-08-12 Cross-domain graph transmission method and system based on enhanced static routing calculation and source return Active CN113382453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110922610.7A CN113382453B (en) 2021-08-12 2021-08-12 Cross-domain graph transmission method and system based on enhanced static routing calculation and source return

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110922610.7A CN113382453B (en) 2021-08-12 2021-08-12 Cross-domain graph transmission method and system based on enhanced static routing calculation and source return

Publications (2)

Publication Number Publication Date
CN113382453A CN113382453A (en) 2021-09-10
CN113382453B true CN113382453B (en) 2021-10-29

Family

ID=77576962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110922610.7A Active CN113382453B (en) 2021-08-12 2021-08-12 Cross-domain graph transmission method and system based on enhanced static routing calculation and source return

Country Status (1)

Country Link
CN (1) CN113382453B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115277538A (en) * 2022-07-18 2022-11-01 郑州小鸟信息科技有限公司 Cross-domain message publishing method and system based on routing computation

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616311A (en) * 2009-07-31 2009-12-30 杭州华三通信技术有限公司 A kind of video frequency monitoring method and video monitoring server
CN102595209A (en) * 2012-01-19 2012-07-18 杭州华三通信技术有限公司 Cross-domain on-demand method in video monitoring system and video management server
CN103929378A (en) * 2013-01-15 2014-07-16 腾讯科技(深圳)有限公司 Method and system for allocating communication link for transmitting cross-domain data and method and system for transmitting cross-domain data
CN106210648A (en) * 2016-08-05 2016-12-07 浙江宇视科技有限公司 Cross-domain method of multicasting and device in a kind of video monitoring system
CN111355658A (en) * 2020-02-28 2020-06-30 电子科技大学 SDN cross-domain cooperation method based on distributed service framework
CN111954009A (en) * 2020-07-29 2020-11-17 中国电子科技集团公司第十五研究所 Video data push system crossing network domains
CN112737937A (en) * 2019-10-14 2021-04-30 中国电信股份有限公司 Information cross-domain notification method, system and boundary router
CN112799695A (en) * 2020-12-30 2021-05-14 中国人民解放军国防科技大学 Multi-domain multi-source collaborative common scene software reconstruction implementation method
CN112818270A (en) * 2021-01-25 2021-05-18 上海哔哩哔哩科技有限公司 Data cross-domain transfer method and device and computer equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4571080B2 (en) * 2006-02-15 2010-10-27 富士通株式会社 QoS guarantee system in multi-domain network and QoS server applied thereto
US9049349B2 (en) * 2012-05-16 2015-06-02 Cisco Technology, Inc. System and method for video recording and retention in a network
CN104104603B (en) * 2014-08-07 2017-05-24 中国人民解放军信息工程大学 Method and system for establishing data transmission links

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616311A (en) * 2009-07-31 2009-12-30 杭州华三通信技术有限公司 A kind of video frequency monitoring method and video monitoring server
CN102595209A (en) * 2012-01-19 2012-07-18 杭州华三通信技术有限公司 Cross-domain on-demand method in video monitoring system and video management server
CN103929378A (en) * 2013-01-15 2014-07-16 腾讯科技(深圳)有限公司 Method and system for allocating communication link for transmitting cross-domain data and method and system for transmitting cross-domain data
CN106210648A (en) * 2016-08-05 2016-12-07 浙江宇视科技有限公司 Cross-domain method of multicasting and device in a kind of video monitoring system
CN112737937A (en) * 2019-10-14 2021-04-30 中国电信股份有限公司 Information cross-domain notification method, system and boundary router
CN111355658A (en) * 2020-02-28 2020-06-30 电子科技大学 SDN cross-domain cooperation method based on distributed service framework
CN111954009A (en) * 2020-07-29 2020-11-17 中国电子科技集团公司第十五研究所 Video data push system crossing network domains
CN112799695A (en) * 2020-12-30 2021-05-14 中国人民解放军国防科技大学 Multi-domain multi-source collaborative common scene software reconstruction implementation method
CN112818270A (en) * 2021-01-25 2021-05-18 上海哔哩哔哩科技有限公司 Data cross-domain transfer method and device and computer equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CSRS: A Cross-domain Source Routing Scheme for Multi-domain Software-defined Networks;Wen Zhang等;《IEEE ICC 2015 - Workshop on Advances in Software Defined and Context Aware Cognitive Networks 2015 (IEEE SCAN-2015)》;20151231;275-280 *

Also Published As

Publication number Publication date
CN113382453A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
US11336614B2 (en) Content node network address selection for content delivery
US8612621B2 (en) Method for constructing network topology, and streaming delivery system
US10693791B2 (en) Software-defined network-based method and system for implementing content distribution network
US7466694B2 (en) Routing protocol with packet network attributes for improved route selection
CN100505696C (en) System, method and user terminal for realizing video live broadcast in media distributing network
JP4599617B2 (en) Centralized controller for distributed processing of telecommunications features
EP1911210B1 (en) Heavy load packet-switched routing
JP2007133896A (en) Server load balancing system, server load balancing device, content management device, and server load balancing program
JP2004215116A (en) Ip router, communication system, band setting method to be used therefor, and its program
US20170105044A1 (en) Probability Weighted DASH Based Video Streaming over an Information-Centric Network
EP3257199A1 (en) Service performance monitoring in a virtualized communication network
EP3066575B1 (en) Server network address selection based on network characteristics of service providers
CN110445723A (en) A kind of network data dispatching method and fringe node
CN113382453B (en) Cross-domain graph transmission method and system based on enhanced static routing calculation and source return
US20120072604A1 (en) technique for delivering content to a user
WO2008145610A2 (en) Method, system and server for domain selection in communication system
JP2007219637A (en) Load balancing system and program therefor
WO2023226949A1 (en) Real-time streaming media data transmission method and device, and storage medium
CN107659853B (en) A kind of adaptive stream media live streaming control system
JP2011150382A (en) Content distribution system, method, and program
JP2008245114A (en) Content distribution system
CN115550973B (en) 4G/5G multi-terminal video communication network topology structure determination method and device
KR20130048457A (en) Server and method for managing contents to be distributed to cache device, and the cache device
CN109561057A (en) A kind of content distributing network entities business processing method, apparatus and system
van der Hooft et al. Clustering‐based quality selection heuristics for HTTP adaptive streaming over cache networks

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