CN106534220A - Bidirectional transmission method and device of streaming data - Google Patents

Bidirectional transmission method and device of streaming data Download PDF

Info

Publication number
CN106534220A
CN106534220A CN201611270160.3A CN201611270160A CN106534220A CN 106534220 A CN106534220 A CN 106534220A CN 201611270160 A CN201611270160 A CN 201611270160A CN 106534220 A CN106534220 A CN 106534220A
Authority
CN
China
Prior art keywords
transmission
node
flow data
data
transmission node
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.)
Pending
Application number
CN201611270160.3A
Other languages
Chinese (zh)
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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201611270160.3A priority Critical patent/CN106534220A/en
Publication of CN106534220A publication Critical patent/CN106534220A/en
Priority to PCT/CN2017/119640 priority patent/WO2018121705A1/en
Pending legal-status Critical Current

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/60Network streaming of media packets
    • 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/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate

Landscapes

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

Abstract

The invention discloses a bidirectional transmission method and device of streaming data. The method comprises the following steps: receiving first streaming data transmitted from a starting transmission node to a target transmission node through at least one intermediate transmission node; searching a transmission path of the first streaming data; and transmitting second streaming data to the starting transmission node according to the searched transmission path. According to the method disclosed by the invention, the bidirectional transmission of the streaming data can be realized by establishing only one transmission path, thereby omitting the establishment of a second transmission path in the existing method and omitting the establishment time of the second transmission path, and thus the transmission instantaneity of the streaming data is guaranteed. Meanwhile, according to the method disclosed by the invention, only one transmission path needs to be established, so the transmission of the streaming data is controlled by using only one system, thereby omitting the use of a second system in the existing method and reducing the system overhead.

Description

A kind of bidirectional transmission method of flow data and device
Technical field
The present invention relates to communication technical field, and in particular to a kind of bidirectional transmission method of flow data and a kind of flow data Two-way transmission apparatus.
Background technology
Flow data is can be generally relied on the data by the way of stream transmission in transmission over networks, large-scale website system It is transmitted in content distributing network (Content Delivery Network, CDN) stream data.
In remote control technology, subscription client can send carrying by content distributing network to remote monitoring end and hold stream The flow data of instruction, such as carries the voice for opening stream instruction, and remote monitoring end is received after carrying the flow data for opening stream instruction and started Collection video stream data, and the video stream data recorded is passed through into content delivery network returns to subscription client, look into for user See.
At present for realizing the data transfer of subscription client and remote monitoring end, need to set up two transmission paths, one Transmission path is used for transmitting the carrying of subscription client transmission and opens the flow data that stream is instructed, and another transmission paths are remote for transmitting The video stream data of range monitoring end collection.
Although existing method realizes the bidirectional data transfers of subscription client and remote monitoring end, there is following lacking Fall into:Need to control the data transfer of two transmission paths using two sets of systems, but the use of two sets of systems increased system opens Pin;Remote monitoring end after the flow data of stream instruction is opened in the carrying for receiving subscription client transmission needs first to set up for adopting The transmission path of the video stream data of collection, but the foundation of transmission path needs to expend more time, so as to cause data transfer Real-time it is poor.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on State the two-way transmission apparatus of the bidirectional transmission method and corresponding flow data of the flow data of problem.
According to one aspect of the present invention, there is provided a kind of bidirectional transmission method of flow data, including:
Receive from original transmission node transmit through at least one intermediate transmission node it is first-class to object transmission node Data;
Search the transmission path of first flow data;
According to the transmission path searched by the second Stream Data Transmission to the original transmission node.
Alternatively, each transmission node record that the transmission path is passed through has its up transmission node;
The transmission path for searching first flow data includes:
Extract the uplink node of the object transmission nodes records.
Alternatively, the uplink node and the first flow data corresponding record;
The uplink node for extracting the object transmission nodes records includes:
Identified according to the flow data of first flow data, extract the uplink node of corresponding record.
Alternatively, it is described according to the transmission path searched by the second Stream Data Transmission to the original transmission node bag Include:
By second Stream Data Transmission to the uplink node, by the uplink node by the second Another uplink node of data transfer to local record, until by second Stream Data Transmission to the original transmission section Point.
Alternatively, the first-class data record have in transmitting procedure sequentially through each transmission node node identification Set;
The transmission path for searching first flow data includes:
Extract the set of the node identification that first flow data is carried.
Alternatively, it is described according to the transmission path searched by the second Stream Data Transmission to the original transmission node bag Include:
According to the set of the node identification reversely sequentially by least one intermediate transmission nodes of the second flow data Jing Transmit to the original transmission node.
According to a further aspect in the invention, there is provided a kind of bidirectional transmission method of flow data, including:
From original transmission node through at least one intermediate transmission node by the first Stream Data Transmission to object transmission node;
The object transmission node is received after the transmission path for searching first flow data, according to the transmission searched Second flow data of path transmission.
Alternatively, it is described from original transmission node through at least one intermediate transmission node by the first Stream Data Transmission to Before object transmission node, methods described also includes:
Dispatch request is sent to scheduling node, the dispatch request carries the node identification of the object transmission node;
Receive that the scheduling node issues from the original transmission node to the transmission path of the object transmission node.
Alternatively, methods described also includes:
By second Stream Data Transmission to other mesh in addition to the object transmission node of second flow data is sent Mark transmission node.
According to a further aspect in the invention, there is provided a kind of two-way transmission apparatus of flow data, including:
First-class data reception module, transmits through at least one intermediate transmission node from original transmission node for receiving To the first flow data of object transmission node;
Transmission path searching modul, for searching the transmission path of first flow data;
Second data transmission module, for according to the transmission path searched by the second Stream Data Transmission to the starting Transmission node.
Alternatively, the transmission path searching modul, specifically for extracting the up biography of the object transmission nodes records Defeated node, each transmission node record that the transmission path is passed through have its up transmission node.
Alternatively, the transmission path searching modul, specifically for being identified according to the flow data of first flow data, carries Take the uplink node of corresponding record, the uplink node and the first flow data corresponding record.
Alternatively, the second data transmission module, specifically for by second Stream Data Transmission to described up Transmission node, by the uplink node by second Stream Data Transmission to another uplink node for locally recording, Until by second Stream Data Transmission to the original transmission node.
Alternatively, the transmission path searching modul, specifically for extracting the node identification that first flow data is carried Set, the first-class data record have in transmitting procedure sequentially through each transmission node node identification set.
Alternatively, the second data transmission module, specifically for the set according to the node identification reversely sequentially Second flow data Jing, at least one intermediate transmission nodes are transmitted to the original transmission node.
According to a further aspect in the invention, there is provided a kind of two-way transmission apparatus of flow data, including:
First-class data transmission module, for will be first-class through at least one intermediate transmission node from original transmission node Data transfer is to object transmission node;
Second data transmission module, for receiving the object transmission node in the transmission for searching first flow data Behind path, according to the second flow data of the transmission path searched.
Alternatively, described device also includes:
Dispatch request sending module, for it is described from original transmission node through at least one intermediate transmission node by Stream data is transmitted to before object transmission node, sends dispatch request to scheduling node, and the dispatch request carries the mesh The node identification of mark transmission node;
Transmission path receiver module, for receiving that the scheduling node issues from the original transmission node to the mesh The transmission path of mark transmission node.
Alternatively, described device also includes:
Second data-pushing module, for second Stream Data Transmission extremely to be removed the mesh for sending second flow data Other object transmission nodes outside mark transmission node.
According to the embodiment of the present invention, object transmission node is received from after the first flow data of original transmission node-node transmission, According to the transmission path of the first flow data by the second Stream Data Transmission to original transmission node, as the method for the invention is only needed The transmitted in both directions that transmission paths are capable of achieving flow data is set up, building for the second transmission paths in existing method is eliminated It is vertical, the setup time of the second transmission paths is eliminated, therefore ensure that the real-time of Stream Data Transmission.Simultaneously as this Bright methods described need to only set up transmission paths, therefore only need to be controlled using the transmission of set of system stream data, so as to The use of second set of system in existing method is eliminated, overhead is reduced.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred implementation, various other advantages and benefit are common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
The step of Fig. 1 shows a kind of bidirectional transmission method of according to embodiments of the present invention one flow data flow process is illustrated Figure;
The step of Fig. 2 shows a kind of bidirectional transmission method of according to embodiments of the present invention two flow data flow process is illustrated Figure;
The step of Fig. 3 shows a kind of bidirectional transmission method of according to embodiments of the present invention three flow data flow process is illustrated Figure;
The step of Fig. 4 shows a kind of bidirectional transmission method of according to embodiments of the present invention four flow data flow process is illustrated Figure;
Fig. 5 shows a kind of structured flowchart of the two-way transmission apparatus of according to embodiments of the present invention five flow data;
Fig. 6 shows a kind of structured flowchart of the two-way transmission apparatus of according to embodiments of the present invention six flow data.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
With reference to Fig. 1, show according to embodiments of the present invention one a kind of flow data bidirectional transmission method the step of flow process Schematic diagram, specifically may include steps of:
Step 101, reception are transmitted to object transmission node from original transmission node through at least one intermediate transmission node The first flow data.
Method described in the embodiment of the present invention is applied to the scene that there is the video stream data transmitted with streaming manner, Such as remote monitoring scene, net cast scene etc..
When the embodiment of the present invention is applied to remote monitoring scene, the system for performing the method for the invention includes being provided with At least one of the subscription client of control program, original transmission node, content distributing network intermediate transmission node, target are passed Defeated node and remote monitoring end.Wherein, subscription client can be the terminal for being provided with control program, and such as remote control, handss are mechanical, electrical Brain etc.;Remote monitoring end is the monitoring device with flow data acquisition function, and such as remote shooting is first-class.
For opening the data acquisition function of remote monitoring end, subscription client can be held stream to remote monitoring end transmission carrying and refer to First flow data of order, such as carries the voice stream data for opening stream instruction.Specifically, subscription client can be by first-class data is activation To the original transmission node of content distributing network, original transmission node is by least one of content distributing network intermediate node By the first-class data is activation to object transmission node, ideal transmission node is by the first-class data is activation to remote monitoring End.Original transmission node can be chosen in several ways, such as by dispatching distribution, preset, from Preset Transfer set of node Randomly select in group.
Step 102, searches the transmission path of the first flow data.
Remote control terminal receive object transmission node transmission carryings open stream instruction the first flow data after, startup fluxion According to acquisition function, start to gather video stream data, and by i.e. the second Stream Data Transmission of the video stream data of collection to object transmission Node.
Object transmission node searches the transmission of the first flow data after the second flow data for receiving remote control terminal transmission Second flow data is entered one according to the reverse path transmission of the transmission path of the first flow data to original transmission node by path Step is transmitted to subscription client and is checked for user.
The transmission path of the first flow data can be searched by various methods.For example, in the transmitting procedure of the first flow data In, each transmission node that transmission path is passed through can record its up transmission node, can be by extracting object transmission section The uplink node for opening stream instruction of point record, determines the transmission path of the first flow data;Or, the first flow data can With the node identification of all transmission nodes included by the transmission path for carrying its process, and all node identifications are according to first The order that flows through of flow data is arranged in order, i.e., the first flow data can carry node identification sequence, by searching the first flow data The node identification sequence of carrying, determines the transmission path of the first flow data.
Step 103, according to the transmission path searched by the second Stream Data Transmission to the original transmission node.
After the transmission path for finding the first flow data, according to the reverse path of the transmission path of the first flow data, will Second flow data of remote monitoring end collection is from object transmission node-node transmission to original transmission node, final to realize the second fluxion Subscription client is sent to according to from remote monitoring end.For example, when the transmission path of the first flow data is to be provided with control program During user mobile phone → node 1 → node, 2 → node, 3 → remote camera, the transmission path of the second flow data is remote camera → node 3 → node, 2 → node, 1 → user mobile phone.
Specifically, when each transmission node record that first-class data are flowed through has its up transmission node, can pass through By the uplink node of the second Stream Data Transmission to current transmission node and the mode of the next uplink node of lookup, Determine next section of transmission path of the second flow data, according to the method described above, until the second flow data is passed from object transmission node Original transmission node is transported to, subscription client is further transmitted to.When the carrying of the first flow data is flowed through the section of journal by which During point identification sequence, can be according to the reverse of the node identification sequence, by the second Stream Data Transmission to subscription client.
It is pre- to remote monitoring end carry out close stream operation when, subscription client can to remote monitoring end send carry close stream instruction The 3rd flow data, the 3rd flow data according to the transmission path of the first flow data to remote monitoring end, remote monitoring termination Stop collection video stream data after receiving the 3rd flow data.
According to embodiments of the present invention methods described, subscription client is according to opening the transmission path of stream instruction to remote control terminal Send and carry opening stream instruction, carrying the pass stream instruction of the 3rd flow data or carry the flow data of other instructions for the first flow data, Remote monitoring end sends the second flow data according to the reverse path of the transmission path of the first flow data to subscription client.Therefore originally Inventive embodiments need to only set up the transmission path of a flow data, be controlled using set of system, you can realize flow data Transmitted in both directions.
According to the embodiment of the present invention, object transmission node is received from after the first flow data of original transmission node-node transmission, According to the transmission path of the first flow data by the second Stream Data Transmission to original transmission node, as the method for the invention is only needed The transmitted in both directions that transmission paths are capable of achieving flow data is set up, building for the second transmission paths in existing method is eliminated It is vertical, the setup time of the second transmission paths is eliminated, therefore ensure that the real-time of Stream Data Transmission.Simultaneously as this Bright methods described need to only set up transmission paths, therefore only need to be controlled using the transmission of set of system stream data, so as to The use of second set of system in existing method is eliminated, overhead is reduced.
With reference to Fig. 2, show according to embodiments of the present invention two a kind of flow data bidirectional transmission method the step of flow process Schematic diagram, specifically may include steps of:
Step 201, reception are transmitted to object transmission node from original transmission node through at least one intermediate transmission node The first flow data, each transmission node record that the transmission path is passed through has its up transmission node.
Embodiment of the present invention methods described can apply to remote monitoring scene.Subscription client is sent to remote monitoring end The first flow data of stream instruction is opened in carrying, to open the flow data acquisition function of remote monitoring end.
In the transmitting procedure of the first flow data, the first flow data is first sent to the original transmission of content distributing network On node, original transmission node, intermediate transmission node and object transmission node is sequentially passed through afterwards, and is finally transferred to long-range Monitoring client, each transmission node record that the transmission path of the first flow data is passed through have its up transmission node.For example, it is first-class Data sequentially pass through user mobile phone, node 1, node 2, node 3 and remote camera, and the transmission path of the first flow data is node 1- node 2- nodes 3, in node 2, record has its up transmission node 1, and in node 3, record has its up transmission node 2, In node 1, record has its up transmission ends user mobile phone simultaneously, and in remote camera, record has its up transmission node 3.
Step 202, extracts the uplink node of the object transmission nodes records.
As each transmission node record that the transmission path of the first flow data is passed through has its up transmission node, therefore when remote When second flow data of range monitoring end collection is sent to object transmission node, can be by extracting the upper of object transmission nodes records The mode of row transmission node, it is determined that receive next transmission node of the second flow data.
In practice, can be in each transmission node that the transmission path of the first flow data is passed through, by current transmission node Uplink node and the first flow data corresponding record, specifically can by the node identification of uplink node with it is first-class The flow data mark corresponding record of data, then can wrap the step of the uplink node of the extraction object transmission nodes records Include:Identified according to the flow data of the first flow data, extract the uplink node of corresponding record, so as to realize uplink node Extraction.
Step 203, by second Stream Data Transmission to the uplink node, by the uplink node by institute The second Stream Data Transmission is stated to another uplink node for locally recording, until by second Stream Data Transmission to described Beginning transmission node.
After the uplink node for extracting object transmission node, the second flow data that Terminal Server Client is gathered is from mesh Mark transmission node is sent to uplink node, so as to complete the fractional transmission process of the second flow data.This is extracted equally up Its up transmission node of transmission node local record, further by the up of the second Stream Data Transmission to the uplink node Transmission node, according to the method described above, until by the second Stream Data Transmission to original transmission node, original transmission node is by second Data transfer is checked to subscription client for user.
It is upper that embodiment of the present invention methods described is recorded in each transmission node according to the transmission path of the first flow data Row transmission node information, you can the second Stream Data Transmission for gathering remote monitoring end is to original transmission node, and need not be the The newly-built transmission path of two flow datas, therefore this method has been effectively ensured the real-time of Stream Data Transmission.As this method only needs one The transmitted in both directions process of set system stream data is controlled, therefore overhead is less.
According to the embodiment of the present invention, object transmission node is received from after the first flow data of original transmission node-node transmission, According to the transmission path of the first flow data by the second Stream Data Transmission to original transmission node, as the method for the invention is only needed The transmitted in both directions that transmission paths are capable of achieving flow data is set up, building for the second transmission paths in existing method is eliminated It is vertical, the setup time of the second transmission paths is eliminated, therefore ensure that the real-time of Stream Data Transmission.Simultaneously as this Bright methods described need to only set up transmission paths, therefore only need to be controlled using the transmission of set of system stream data, so as to The use of second set of system in existing method is eliminated, overhead is reduced.
With reference to Fig. 3, show according to embodiments of the present invention three a kind of flow data bidirectional transmission method the step of flow process Schematic diagram, specifically may include steps of:
Step 301, reception are transmitted to object transmission node from original transmission node through at least one intermediate transmission node The first flow data, the first-class data record have in transmitting procedure sequentially through each transmission node node identification collection Close.
Subscription client sends to remote monitoring end and carries the first flow data for opening stream instruction, and the first flow data is sent out first Original transmission node is delivered to, object transmission node is transferred to through at least one intermediate transmission node afterwards, finally transmitted To remote monitoring end.
In the transmitting procedure of the first flow data, the first flow data sequentially pass through subscription client, original transmission node, in Between transmission node, object transmission node and remote monitoring end, when the first Stream Data Transmission is to object transmission node, the first fluxion According to record have in its transmitting procedure sequentially through each transmission node node identification set.
For example, the first flow data sequentially passes through node 1, node 2,4 four transmission nodes of node 3 and node, then long-range to supervise The first flow data that control end receives carries node set (a, b, c, d), marks of the wherein a for node 1, marks of the b for node 2, c For the mark of node 3, marks of the d for node 4.
Step 302, extracts the set of the node identification that first flow data is carried.
Remote monitoring starts to gather video stream data to after receiving the first flow data, and the second flow data of collection is passed Transport to object transmission node.
Specifically, transmit to the first flow data of remote monitoring end and carry the set of above-mentioned node identification, remote monitoring End from the set of first-class extracting data node identification, and can make the second flow data of collection carry the set, afterwards will The second Stream Data Transmission of the set is carried to object transmission node.Object transmission node can be from the second flow data for receiving Middle extraction set, and the transmission road of the second flow data is determined according to multiple node identifications in the set and node identification order Footpath.
Or, during the first flow data is transmitted to remote monitoring end, when the first flow data reaches object transmission section During point, the set of the node identification of first-class data record is stored in into object transmission node local, and record the set with The corresponding relation of the flow data mark of the first flow data.Object transmission node receives the second flow data of remote monitoring end collection, The flow data mark of the first flow data is carried in second flow data, and object transmission node is carried in extracting the second flow data The first flow data flow data mark, and locally searching and extracting the collection with the flow data corresponding node identification of mark Close, further can determine the transmission path of video stream data according to the set.
Step 303, according to the set of the node identification reversely sequentially by the middle of the second flow data Jing at least one Transmission node is transmitted to the original transmission node.
Extract the first flow data carrying node identification set after, due to set in multiple node identifications be by Recorded by way of order successively according to transmission node, therefore second for reversely sequentially remote monitoring end being gathered according to set Flow data realizes the two-way biography of flow data from object transmission node-node transmission to original transmission node so as to pass through transmission paths Defeated process.Therefore, the embodiment of the present invention by limit first-class data record have in transmitting procedure sequentially through each transmission section The set of the node identification of point, realizes using same transmission path reverse transfer flow data.
According to the embodiment of the present invention, object transmission node is received from after the first flow data of original transmission node-node transmission, According to the transmission path of the first flow data by the second Stream Data Transmission to original transmission node, as the method for the invention is only needed The transmitted in both directions that transmission paths are capable of achieving flow data is set up, building for the second transmission paths in existing method is eliminated It is vertical, the setup time of the second transmission paths is eliminated, therefore ensure that the real-time of Stream Data Transmission.Simultaneously as this Bright methods described need to only set up transmission paths, therefore only need to be controlled using set of system, eliminate second set of system Use, so as to reduce overhead.
With reference to Fig. 4, show according to embodiments of the present invention four a kind of flow data bidirectional transmission method the step of flow process Schematic diagram, specifically may include steps of:
Step 401, from original transmission node through at least one intermediate transmission node by the first Stream Data Transmission to target Transmission node.
Method described in the embodiment of the present invention is applied to the scene that there is the video stream data transmitted with streaming manner, Such as remote monitoring scene, net cast scene etc..
When the embodiment of the present invention is applied to remote monitoring scene, the system for performing the method for the invention includes user visitor At least one of family end, original transmission node, content distributing network intermediate transmission node, object transmission node and remote monitoring End.Wherein, subscription client can be the terminal for being provided with control program, such as remote control, mobile phone, computer etc.;Remote monitoring end It is the monitoring device with flow data acquisition function, such as remote shooting is first-class.
After original transmission node receives first flow data for remote monitoring end of subscription client transmission, can pass through At least one intermediate transmission node will carry the first Stream Data Transmission for opening stream instruction to object transmission node, and the first flow data is most Eventually by object transmission node-node transmission to subscription client.
The node-node transmission path of the first flow data can be distributed by scheduling node, to scheduling node sending node path allocation Request, detailed process may comprise steps of:From original transmission node through at least one intermediate transmission node by first Stream Data Transmission sends dispatch request to scheduling node to before object transmission node, and dispatch request carries object transmission node Node identification;Receive scheduling node issue from original transmission node to the transmission path of object transmission node.
Scheduling node can load feelings according to the geographical location information of object transmission node region, each transmission node The factors such as condition, are first-class data distribution path.According to the transmission path that scheduling node distributes, by the first flow data from starting biography Defeated node is finally transmitted to object transmission node by way of at least one intermediate transmission node.
Step 402, receives the object transmission node after the transmission path for searching first flow data, according to being looked into Second flow data of the transmission path looked for.
Subscription client is received after carrying the first flow data for opening stream instruction, can carry out video stream data acquisition operations, And by i.e. the second Stream Data Transmission of the video stream data of collection to object transmission node.Object transmission node can search the first fluxion According to the transmission path passed through, and according to the reverse path of the transmission path for finding, by the second flow data of collection from target Transmission node is transmitted to original transmission node, so as to realize the transmitted in both directions of flow data according to transmission paths.For first The search procedure of the transmission path of flow data may be referred to above-mentioned multiple embodiments of the method, and embodiment of the present invention here is no longer gone to live in the household of one's in-laws on getting married State.
According to the embodiment of the present invention, object transmission node is received from after the first flow data of original transmission node-node transmission, According to the transmission path of the first flow data by the second Stream Data Transmission to original transmission node, as the method for the invention is only needed The transmitted in both directions that transmission paths are capable of achieving flow data is set up, building for the second transmission paths in existing method is eliminated It is vertical, the setup time of the second transmission paths is eliminated, therefore ensure that the real-time of Stream Data Transmission.Simultaneously as this Bright methods described need to only set up transmission paths, therefore only need to be controlled using set of system, eliminate second set of system Use, so as to reduce overhead.
Fig. 5 shows a kind of structured flowchart of the two-way transmission apparatus of according to embodiments of the present invention five flow data.In Fig. 5 The two-way transmission apparatus of flow data include:
First-class data reception module 501, for receiving from original transmission node through at least one intermediate transmission node Transmit to the first flow data of object transmission node.
Transmission path searching modul 502, for searching the transmission path of first flow data.
Second data transmission module 503, for according to the transmission path searched by the second Stream Data Transmission to described Original transmission node.
In the embodiment of the present invention, it is preferable that the transmission path searching modul, specifically for extracting the object transmission section The uplink node of point record, each transmission node record that the transmission path is passed through have its up transmission node.
In the embodiment of the present invention, it is preferable that the transmission path searching modul, specifically for according to first flow data Flow data mark, extract the uplink node of corresponding record, the uplink node is corresponding with first flow data Record.
In the embodiment of the present invention, it is preferable that the second data transmission module, specifically for by second flow data Transmit to the uplink node, it is second Stream Data Transmission is another to what is locally recorded by the uplink node Uplink node, until by second Stream Data Transmission to the original transmission node.
In the embodiment of the present invention, it is preferable that the transmission path searching modul, specifically for extracting first flow data The set of the node identification of carrying, the first-class data record have in transmitting procedure sequentially through each transmission node node The set of mark.
In the embodiment of the present invention, it is preferable that the second data transmission module, specifically for according to the node identification Set reversely sequentially at least one intermediate transmission nodes of the second flow data Jing are transmitted to the original transmission node.
According to the embodiment of the present invention, object transmission node is received from after the first flow data of original transmission node-node transmission, According to the transmission path of the first flow data by the second Stream Data Transmission to original transmission node, as the method for the invention is only needed The transmitted in both directions that transmission paths are capable of achieving flow data is set up, building for the second transmission paths in existing method is eliminated It is vertical, the setup time of the second transmission paths is eliminated, therefore ensure that the real-time of Stream Data Transmission.Simultaneously as this Bright methods described need to only set up transmission paths, therefore only need to be controlled using the transmission of set of system stream data, so as to The use of second set of system in existing method is eliminated, overhead is reduced.
Fig. 6 shows a kind of structured flowchart of the two-way transmission apparatus of according to embodiments of the present invention six flow data.In Fig. 6 The two-way transmission apparatus of flow data include:
First-class data transmission module 601, for from original transmission node through at least one intermediate transmission node by Stream data is transmitted to object transmission node.
Second data transmission module 602, is searching first flow data for receiving the object transmission node After transmission path, according to the second flow data of the transmission path searched.
In the embodiment of the present invention, it is preferable that described device also includes:
Dispatch request sending module, for it is described from original transmission node through at least one intermediate transmission node by Stream data is transmitted to before object transmission node, sends dispatch request to scheduling node, and the dispatch request carries the mesh The node identification of mark transmission node;
Transmission path receiver module, for receiving that the scheduling node issues from the original transmission node to the mesh The transmission path of mark transmission node.
In the embodiment of the present invention, it is preferable that described device also includes:
Second data-pushing module, for second Stream Data Transmission extremely to be removed the mesh for sending second flow data Other object transmission nodes outside mark transmission node.
According to the embodiment of the present invention, object transmission node is received from after the first flow data of original transmission node-node transmission, According to the transmission path of the first flow data by the second Stream Data Transmission to original transmission node, as the method for the invention is only needed The transmitted in both directions that transmission paths are capable of achieving flow data is set up, building for the second transmission paths in existing method is eliminated It is vertical, the setup time of the second transmission paths is eliminated, therefore ensure that the real-time of Stream Data Transmission.Simultaneously as this Bright methods described need to only set up transmission paths, therefore only need to be controlled using set of system, eliminate second set of system Use, so as to reduce overhead.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this Bright preferred forms.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case where not having these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist Above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, should the method for the disclosure be construed to reflect following intention:I.e. required guarantor The more features of feature is expressly recited in each claim by the application claims ratio of shield.More precisely, such as following Claims it is reflected as, inventive aspect is less than all features of single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more different from embodiment equipment.Can be the module in embodiment or list Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are realizing in the bidirectional transmission devices of flow data according to embodiments of the present invention Some or all parts some or all functions.The present invention is also implemented as performing side as described herein Some or all equipment of method or program of device (for example, computer program and computer program).It is such Realize that the program of the present invention can be stored on a computer-readable medium, or there can be the shape of one or more signal Formula.Such signal can be downloaded from internet website and be obtained, or provide on carrier signal, or with any other shape Formula is provided.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference markss between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame Claim.
The invention discloses A1, a kind of bidirectional transmission method of flow data, including:
Receive from original transmission node transmit through at least one intermediate transmission node it is first-class to object transmission node Data;
Search the transmission path of first flow data;
According to the transmission path searched by the second Stream Data Transmission to the original transmission node.
A2, the method according to A1, wherein, each transmission node record that the transmission path is passed through has its uplink Node;
The transmission path for searching first flow data includes:
Extract the uplink node of the object transmission nodes records.
A3, the method according to A2, wherein, the uplink node and the first flow data corresponding record;
The uplink node for extracting the object transmission nodes records includes:
Identified according to the flow data of first flow data, extract the uplink node of corresponding record.
A4, the method according to A2, wherein, it is described according to the transmission path searched by the second Stream Data Transmission to institute Stating original transmission node includes:
By second Stream Data Transmission to the uplink node, by the uplink node by the second Another uplink node of data transfer to local record, until by second Stream Data Transmission to the original transmission section Point.
A5, the method according to A1, wherein, the first-class data record have in transmitting procedure sequentially through each biography The set of the node identification of defeated node;
The transmission path for searching first flow data includes:
Extract the set of the node identification that first flow data is carried.
A6, the method according to A5, wherein, it is described according to the transmission path searched by the second Stream Data Transmission to institute Stating original transmission node includes:
According to the set of the node identification reversely sequentially by least one intermediate transmission nodes of the second flow data Jing Transmit to the original transmission node.
The invention also discloses B7, a kind of bidirectional transmission method of flow data, including:
From original transmission node through at least one intermediate transmission node by the first Stream Data Transmission to object transmission node;
The object transmission node is received after the transmission path for searching first flow data, according to the transmission searched Second flow data of path transmission.
B8, the method according to B7, wherein, it is described from original transmission node through at least one intermediate transmission node Before by the first Stream Data Transmission to object transmission node, methods described also includes:
Dispatch request is sent to scheduling node, the dispatch request carries the node identification of the object transmission node;
Receive that the scheduling node issues from the original transmission node to the transmission path of the object transmission node.
B9, the method according to B7, wherein, methods described also includes:
By second Stream Data Transmission to other mesh in addition to the object transmission node of second flow data is sent Mark transmission node.
The invention also discloses C10, a kind of two-way transmission apparatus of flow data, including:
First-class data reception module, transmits through at least one intermediate transmission node from original transmission node for receiving To the first flow data of object transmission node;
Transmission path searching modul, for searching the transmission path of first flow data;
Second data transmission module, for according to the transmission path searched by the second Stream Data Transmission to the starting Transmission node.
C11, the device according to C10, wherein:
The transmission path searching modul, specifically for extracting the uplink node of the object transmission nodes records, Each transmission node record that the transmission path is passed through has its up transmission node.
C12, the device according to C11, wherein:
The transmission path searching modul, specifically for identifying according to the flow data of first flow data, extracts correspondence The uplink node of record, the uplink node and the first flow data corresponding record.
C13, the device according to C11, wherein:
The second data transmission module, specifically for by second Stream Data Transmission to the uplink section Point, by the uplink node by second Stream Data Transmission to another uplink node for locally recording, until will Second Stream Data Transmission is to the original transmission node.
C14, the device according to C10, wherein:
The transmission path searching modul, specifically for extracting the set of the node identification that first flow data is carried, The first-class data record have in transmitting procedure sequentially through each transmission node node identification set.
C15, the device according to C14, wherein:
The second data transmission module, specifically for the set according to the node identification reversely sequentially by described Two flow data Jing, at least one intermediate transmission nodes are transmitted to the original transmission node.
The invention also discloses D16, a kind of two-way transmission apparatus of flow data, including:
First-class data transmission module, for will be first-class through at least one intermediate transmission node from original transmission node Data transfer is to object transmission node;
Second data transmission module, for receiving the object transmission node in the transmission for searching first flow data Behind path, according to the second flow data of the transmission path searched.
D19, the device according to D16, wherein, described device also includes:
Dispatch request sending module, for it is described from original transmission node through at least one intermediate transmission node by Stream data is transmitted to before object transmission node, sends dispatch request to scheduling node, and the dispatch request carries the mesh The node identification of mark transmission node;
Transmission path receiver module, for receiving that the scheduling node issues from the original transmission node to the mesh The transmission path of mark transmission node.
D20, the device according to D16, wherein, described device also includes:
Second data-pushing module, for second Stream Data Transmission extremely to be removed the mesh for sending second flow data Other object transmission nodes outside mark transmission node.

Claims (10)

1. a kind of bidirectional transmission method of flow data, including:
Reception is transmitted from original transmission node through at least one intermediate transmission node to the first flow data of object transmission node;
Search the transmission path of first flow data;
According to the transmission path searched by the second Stream Data Transmission to the original transmission node.
2. method according to claim 1, wherein, each transmission node record that the transmission path is passed through has its up biography Defeated node;
The transmission path for searching first flow data includes:
Extract the uplink node of the object transmission nodes records.
3. method according to claim 2, wherein, the uplink node and the first flow data corresponding record;
The uplink node for extracting the object transmission nodes records includes:
Identified according to the flow data of first flow data, extract the uplink node of corresponding record.
4. method according to claim 2, wherein, it is described according to the transmission path searched by the second Stream Data Transmission extremely The original transmission node includes:
By second Stream Data Transmission to the uplink node, by the uplink node by second flow data Transmit to another uplink node of local record, until by second Stream Data Transmission to the original transmission node.
5. method according to claim 1, wherein, the first-class data record have in transmitting procedure sequentially through it is each The set of the node identification of transmission node;
The transmission path for searching first flow data includes:
Extract the set of the node identification that first flow data is carried.
6. method according to claim 5, wherein, it is described according to the transmission path searched by the second Stream Data Transmission extremely The original transmission node includes:
Second flow data Jing, at least one intermediate transmission nodes are reversely sequentially transmitted by the set according to the node identification To the original transmission node.
7. a kind of bidirectional transmission method of flow data, including:
From original transmission node through at least one intermediate transmission node by the first Stream Data Transmission to object transmission node;
The object transmission node is received after the transmission path for searching first flow data, according to the transmission path searched Second flow data of transmission.
8. method according to claim 7, wherein, it is described from original transmission node through at least one intermediate conveyor section Before o'clock by the first Stream Data Transmission to object transmission node, methods described also includes:
Dispatch request is sent to scheduling node, the dispatch request carries the node identification of the object transmission node;
Receive that the scheduling node issues from the original transmission node to the transmission path of the object transmission node.
9. a kind of two-way transmission apparatus of flow data, including:
First-class data reception module, transmits to mesh through at least one intermediate transmission node from original transmission node for receiving First flow data of mark transmission node;
Transmission path searching modul, for searching the transmission path of first flow data;
Second data transmission module, for according to the transmission path searched by the second Stream Data Transmission to the original transmission Node.
10. a kind of two-way transmission apparatus of flow data, including:
First-class data transmission module, for from original transmission node through at least one intermediate transmission node by the first flow data Transmit to object transmission node;
Second data transmission module, for receiving the object transmission node in the transmission path for searching first flow data Afterwards, according to the second flow data of the transmission path searched.
CN201611270160.3A 2016-12-30 2016-12-30 Bidirectional transmission method and device of streaming data Pending CN106534220A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611270160.3A CN106534220A (en) 2016-12-30 2016-12-30 Bidirectional transmission method and device of streaming data
PCT/CN2017/119640 WO2018121705A1 (en) 2016-12-30 2017-12-29 Stream data bidirectional transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611270160.3A CN106534220A (en) 2016-12-30 2016-12-30 Bidirectional transmission method and device of streaming data

Publications (1)

Publication Number Publication Date
CN106534220A true CN106534220A (en) 2017-03-22

Family

ID=58336379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611270160.3A Pending CN106534220A (en) 2016-12-30 2016-12-30 Bidirectional transmission method and device of streaming data

Country Status (2)

Country Link
CN (1) CN106534220A (en)
WO (1) WO2018121705A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121705A1 (en) * 2016-12-30 2018-07-05 北京奇虎科技有限公司 Stream data bidirectional transmission method and device
CN109218190A (en) * 2017-06-29 2019-01-15 华为技术有限公司 A kind of the determination method and node of transmission path
WO2019206100A1 (en) * 2018-04-28 2019-10-31 华为技术有限公司 Feature engineering programming method and apparatus

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810280A (en) * 2020-06-15 2021-12-17 北京灵汐科技有限公司 Data packet transmission method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197777A (en) * 2006-12-04 2008-06-11 阿尔卡特朗讯公司 Method for setting up a two-directional connection
CN101945049A (en) * 2010-09-20 2011-01-12 中兴通讯股份有限公司 Multi-protocol label switching system, node equipment and establishing method of bidirectional tunnel
CN102055672A (en) * 2010-12-27 2011-05-11 北京星网锐捷网络技术有限公司 Control method for data flow transmission route, device and route equipment
CN102624609A (en) * 2012-02-28 2012-08-01 华为技术有限公司 Method for transmitting reverse bidirectional forwarding detection (BFD) messages, method for notifying paths and device for notifying paths
US20160294734A1 (en) * 2013-11-15 2016-10-06 Samsung Electronics Co., Ltd. Method for operating controller and switch for relieving network failure from sdn, and controller and switch therefor

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155178B (en) * 2006-09-30 2010-08-04 华为技术有限公司 Method, device and system for establishing bidirectional LSP in multi-protocol label switching
CN102045772B (en) * 2009-10-21 2015-06-03 华为技术有限公司 Data transmission method and device
CN101795223B (en) * 2009-12-14 2011-12-28 福建星网锐捷网络有限公司 Multicast security control method, system and transmission node
US8762570B2 (en) * 2012-02-21 2014-06-24 Futurewei Technologies, Inc. Method and apparatus for adaptive forwarding strategies in content-centric networking
CN102802043B (en) * 2012-08-10 2014-11-26 东方网力科技股份有限公司 Distributed monitoring system and video on demand method and device
US9203885B2 (en) * 2014-04-28 2015-12-01 Palo Alto Research Center Incorporated Method and apparatus for exchanging bidirectional streams over a content centric network
CN104768078A (en) * 2015-04-16 2015-07-08 无锡天脉聚源传媒科技有限公司 Video transmission method and system
CN105872001A (en) * 2015-12-21 2016-08-17 乐视云计算有限公司 Data transmission method and device based on P2P network
CN106534220A (en) * 2016-12-30 2017-03-22 北京奇虎科技有限公司 Bidirectional transmission method and device of streaming data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197777A (en) * 2006-12-04 2008-06-11 阿尔卡特朗讯公司 Method for setting up a two-directional connection
CN101945049A (en) * 2010-09-20 2011-01-12 中兴通讯股份有限公司 Multi-protocol label switching system, node equipment and establishing method of bidirectional tunnel
CN102055672A (en) * 2010-12-27 2011-05-11 北京星网锐捷网络技术有限公司 Control method for data flow transmission route, device and route equipment
CN102624609A (en) * 2012-02-28 2012-08-01 华为技术有限公司 Method for transmitting reverse bidirectional forwarding detection (BFD) messages, method for notifying paths and device for notifying paths
US20160294734A1 (en) * 2013-11-15 2016-10-06 Samsung Electronics Co., Ltd. Method for operating controller and switch for relieving network failure from sdn, and controller and switch therefor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018121705A1 (en) * 2016-12-30 2018-07-05 北京奇虎科技有限公司 Stream data bidirectional transmission method and device
CN109218190A (en) * 2017-06-29 2019-01-15 华为技术有限公司 A kind of the determination method and node of transmission path
US11146480B2 (en) 2017-06-29 2021-10-12 Huawei Technologies Co., Ltd. Apparatus, method of determining transmission path and computer-readable storage medium
WO2019206100A1 (en) * 2018-04-28 2019-10-31 华为技术有限公司 Feature engineering programming method and apparatus

Also Published As

Publication number Publication date
WO2018121705A1 (en) 2018-07-05

Similar Documents

Publication Publication Date Title
CN106534220A (en) Bidirectional transmission method and device of streaming data
CN108200443A (en) The distribution method and device of a kind of live TV stream
CN104734872B (en) A kind of industrial backhaul network implementation method and system based on software defined network
CN106657109A (en) Flow data transmission method and device
CN103312732A (en) Method and device for data file transmission
CN108092995A (en) Streaming medium data processing method, device, computer equipment and storage medium
CN102843442A (en) Method for configuring networked cameras
CN102780779A (en) Gateway equipment and method and device for optimization of campus network export P2P (peer-to-peer) traffic
CN106713138A (en) Cross-domain transmission method and apparatus of streaming data
RU2013143046A (en) SYSTEM AND METHOD FOR TRANSFER OF IMAGES IN REAL TIME
CN105656964B (en) The implementation method and device of data-pushing
CN106657371A (en) Method and device for scheduling transmission node
CN104378389A (en) Website security detecting method and device
CN103763380B (en) A kind of method and system of synchronous demonstrating data
CN106411778A (en) Data forwarding method and device
CN107071358A (en) Panorama live broadcast system under video-splicing server and mobile status
CN108173953A (en) A kind of document distribution method and device based on content distributing network CDN
CN105592175A (en) Method and apparatus for redirection to web page
CN106686101A (en) Scheduling method and apparatus of transmission clusters of stream data
CN105681478A (en) Method and device for scheduling network resources to improve network spider crawling efficiency
CN101656947B (en) Establishing method, device and system of cross-heterogeneous-network service sharing
CN103686447B (en) Video transmission method and system
CN105915587A (en) Content push method, content push system and buffer memory server
CN106060805A (en) Big data processing system based on secure wireless transmission
CN103973747A (en) Method and device for acquiring content

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170322