CN108924579A - Video networking system returns source network node equipment, method and storage medium - Google Patents

Video networking system returns source network node equipment, method and storage medium Download PDF

Info

Publication number
CN108924579A
CN108924579A CN201810989623.4A CN201810989623A CN108924579A CN 108924579 A CN108924579 A CN 108924579A CN 201810989623 A CN201810989623 A CN 201810989623A CN 108924579 A CN108924579 A CN 108924579A
Authority
CN
China
Prior art keywords
video data
network node
node equipment
equipment
source network
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
CN201810989623.4A
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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201810989623.4A priority Critical patent/CN108924579A/en
Publication of CN108924579A publication Critical patent/CN108924579A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/222Secondary servers, e.g. proxy server, cable television Head-end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/632Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing using a connection between clients on a wide area network, e.g. setting up a peer-to-peer communication via Internet for retrieving video segments from the hard-disk of other client devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention discloses a kind of video networking system, data center apparatus, returns source network node equipment, edge network node equipment, video data distribution method and storage medium.Source network node equipment is returned when the Hui Yuan for receiving the video data that edge network node equipment is sent transfers request, judgement is described to return whether source network node equipment has the video data.If, the video data is then sent to the edge network node equipment, request is transferred to the data center apparatus source of sending back if it is not, then returning source network node equipment, receive the video data of data center apparatus feedback and is sent to the edge network node equipment.Technical solution of the present invention can reduce computer room bandwidth resources occupancy, reduce bandwidth cost, and reduce the data processing pressure of data center apparatus.

Description

Video networking system returns source network node equipment, method and storage medium
Technical field
The present invention relates to video data processing technology field, in particular to a kind of video networking system, data center apparatus, Returning source network node equipment, edge network node equipment, video data handling procedure, video data distribution method and computer can Read storage medium.
Background technique
Currently, being directed to net cast field, the framework of Living Network system is usually that end equipment is broadcast live by live video number According to one or more data center apparatus are supplied to by source station server, (data center apparatus includes one or more services Device, each data center apparatus can respectively correspond different predetermined regions, for example, data center apparatus can be with The South China of corresponding China, which simultaneously provides for the computer room in the area, communicates support, during another data center apparatus can correspond to The North China of state simultaneously provides communication support for the computer room in the area), and then be supplied to by each data center apparatus Apparatus for network node in corresponding computer room is finally supplied to subscriber terminal equipment by apparatus for network node and plays out.
After a subscriber terminal equipment is communicated to connect with an apparatus for network node in corresponding computer room, if the net There is no the net cast contents that the subscriber terminal equipment needs to play in network node device, then the apparatus for network node will Direct Hui Yuan to the data center apparatus communicated to connect to transfer the net cast content, if the data center apparatus is not yet There are the net cast contents, then the data center apparatus will continue Hui Yuan to the service of the source station of the net cast content Device feeds back to the apparatus for network node to transfer the net cast content, and then will be anti-by the apparatus for network node The net cast content being fed back to is sent to the subscriber terminal equipment and plays out.
Existing this data center apparatus carries out direct net cast content with each apparatus for network node respectively and returns Scheme is transferred in source, and existing technological deficiency is:Computer room bandwidth resources occupancy situation is more serious, the bandwidth higher cost of computer room; The resource consumption of data center apparatus is larger, and data processing pressure is higher, and responding ability declines to a great extent.
Summary of the invention
The main object of the present invention be to provide a kind of video networking system, data center apparatus, return source network node equipment, Edge network node equipment, video data distribution method and computer readable storage medium, it is intended to the bandwidth cost of computer room is reduced, Promote the responding ability of data center apparatus.
To achieve the above object, video data distribution method proposed by the present invention is applied to data center apparatus, the number The communication connection of source network node equipment, the video data are returned with source station server and multiple computer rooms respectively according to central apparatus Distribution method includes:
It receives the Hui Yuan for returning the video data that source network node equipment is sent and transfers request;
Judge whether the data center apparatus is stored with the video data;
If so, the video data is sent to described time source network node equipment;
If it is not, then transferring request for the Hui Yuan of the video data to the transmission of source station server, the source station clothes are received The video data is simultaneously sent to described time source network node equipment by the video data of business device feedback.
Preferably, the method also includes:
The newest video data that the source station server issues is received, and real-time or timing will be under the newest video data Issue each time source network node equipment.
The present invention also proposes a kind of data center apparatus, the data center apparatus respectively with source station server and multiple machines The communication connection of source network node equipment is returned in room, the data center apparatus includes first memory and first processor, institute State the first video data distributing programs for being stored with and being run on first memory on the first processor, first view Frequency data distribution program realizes following method when being executed by the first processor:
It receives the Hui Yuan for returning the video data that source network node equipment is sent and transfers request;
Judge whether the data center apparatus is stored with the video data;
If so, the video data is sent to described time source network node equipment;
If it is not, then transferring request for the Hui Yuan of the video data to the transmission of source station server, the source station clothes are received The video data is simultaneously sent to described time source network node equipment by the video data of business device feedback.
Preferably, following method is also realized when the first video data distributing programs are executed by the first processor:
The newest video data that the source station server issues is received, and real-time or timing will be under the newest video data Issue each time source network node equipment.
The present invention also proposes a kind of computer readable storage medium, and the computer-readable recording medium storage has video counts According to distributing programs, the video data distributing programs can be executed by least one processor, so that at least one described processor Execute following method:
It receives the Hui Yuan for returning the video data that source network node equipment is sent and transfers request;
Judge whether the data center apparatus is stored with the video data;
If so, the video data is sent to described time source network node equipment;
If it is not, then transferring request for the Hui Yuan of the video data to the transmission of source station server, the source station clothes are received The video data is simultaneously sent to described time source network node equipment by the video data of business device feedback.
The present invention also proposes a kind of video data distribution method, is applied to back source network node equipment, described time source network Node device is communicated to connect with corresponding data center apparatus and with multiple edge network node equipment in computer room respectively, described Video data distribution method includes:
When the Hui Yuan for receiving the video data that edge network node equipment is sent transfers request, judgement is described to return source network Whether node device has the video data;
If so, the video data is sent to the edge network node equipment;
If it is not, then the Hui Yuan to data center apparatus transmission for the video data transfers request, data center is received The video data is simultaneously sent to the edge network node equipment by the video data of equipment feedback.
Preferably, the video data distribution method includes:
The newest video data that data center apparatus issues is received, and in real time or periodically issues the newest video data To each edge network node equipment.
Preferably, the video data distribution method further includes:
When receiving the playing request of video data of subscriber terminal equipment transmission, judgement is described to return source network node equipment Whether the video data is had;
If so, the video data is sent to the subscriber terminal equipment;
If it is not, then the Hui Yuan to data center apparatus transmission for the video data transfers request, data center is received The video data is simultaneously sent to the subscriber terminal equipment by the video data of equipment feedback.
The present invention also propose it is a kind of return source network node equipment, described time source network node equipment respectively with corresponding data Central apparatus and in computer room multiple edge network node equipment communication connection;Described time source network node equipment includes second Memory, second processor are stored with the second video counts that can be run in the second processor on the second memory According to distributing programs, the second video data distributing programs realize following method when being executed by the second processor:
When the Hui Yuan for receiving the video data that edge network node equipment is sent transfers request, judgement is described to return source network Whether node device has the video data;
If so, the video data is sent to the edge network node equipment;
If it is not, then the Hui Yuan to data center apparatus transmission for the video data transfers request, data center is received The video data is simultaneously sent to the edge network node equipment by the video data of equipment feedback.
Preferably, following method is also realized when the second video data distributing programs are executed by the second processor:
The newest video data that data center apparatus issues is received, and in real time or periodically issues the newest video data To each edge network node equipment.
Preferably, following method is also realized when the second video data distributing programs are executed by the second processor:
When receiving the playing request of video data of subscriber terminal equipment transmission, judgement is described to return source network node equipment Whether the video data is had;
If so, the video data is sent to the subscriber terminal equipment;
If it is not, then the Hui Yuan to data center apparatus transmission for the video data transfers request, data center is received The video data is simultaneously sent to the subscriber terminal equipment by the video data of equipment feedback.
Preferably, the method for determination of described time source network node equipment is:
Using multiple subscriber terminal equipments by a uniform resource locator respectively from multiple edge network node equipment Pull corresponding video flowing;
Wherein, a subscriber terminal equipment is pulled by the uniform resource locator from an edge network node equipment When corresponding video flowing, the edge network node equipment by the uniform resource locator respectively and with computer room each edge The preset kind information of apparatus for network node uses consistency hash algorithm, and each edge network node for calculating same computer room is set Standby corresponding cryptographic Hash, and one or more edge network node equipment are elected as mesh according to predetermined election regulation Mark apparatus for network node;
From the target network node equipment that each edge network node equipment elects, a common target is elected Apparatus for network node is used as back source network node equipment.
The present invention also proposes a kind of computer readable storage medium, and the computer-readable recording medium storage has video counts According to distributing programs, the video data distributing programs can be executed by least one processor, so that at least one described processor Execute following method:
When the Hui Yuan for receiving the video data that edge network node equipment is sent transfers request, judgement is described to return source network Whether node device has the video data;
If so, the video data is sent to the edge network node equipment;
If it is not, then the Hui Yuan to data center apparatus transmission for the video data transfers request, data center is received The video data is simultaneously sent to the edge network node equipment by the video data of equipment feedback.
The present invention also proposes a kind of video data distribution method, is applied to edge network node, the edge network node Equipment returns the communication connection of source network node equipment with in computer room, and the video data distribution method includes:
Receive the playing request for the video data that subscriber terminal equipment is sent;
Judge whether the edge network node equipment has the video data;
If so, the video data is sent to the subscriber terminal equipment;
If it is not, then request is transferred to returning the Hui Yuan that source network node equipment is sent for the video data, described in reception It returns the video data of source network node equipment feedback and the video data is sent to the subscriber terminal equipment.
The present invention also proposes a kind of edge network node equipment, the edge network node equipment with the Hui Yuan in computer room Apparatus for network node communication connection, the edge network node equipment includes third memory, third processor, and the third is deposited The third video data distributing programs that can be run on the third processor, the third video data point are stored on reservoir Hair program realizes following method when being executed by the third processor:
Receive the playing request for the video data that subscriber terminal equipment is sent;
Judge whether the edge network node equipment has the video data;
If so, the video data is sent to the subscriber terminal equipment;
If it is not, then request is transferred to returning the Hui Yuan that source network node equipment is sent for the video data, described in reception It returns the video data of source network node equipment feedback and the video data is sent to the subscriber terminal equipment.
The present invention also proposes a kind of computer readable storage medium, and the computer-readable recording medium storage has video counts According to distributing programs, the video data distributing programs can be executed by least one processor, so that at least one described processor Execute following method:
Receive the playing request for the video data that subscriber terminal equipment is sent;
Judge whether the edge network node equipment has the video data;
If so, the video data is sent to the subscriber terminal equipment;
If it is not, then request is transferred to returning the Hui Yuan that source network node equipment is sent for the video data, described in reception It returns the video data of source network node equipment feedback and the video data is sent to the subscriber terminal equipment.
The present invention also proposes that a kind of video networking system, the video networking system include at least one source station server, At least one data center apparatus connecting with each source station server communication is more with data center apparatus communication connection A time source network node equipment, multiple edge network node equipment with the communication connection of described time source network node equipment are described The source network node equipment of returning that edge network node equipment communicates with connection belongs to same computer room;Wherein,
The data center apparatus includes first memory and first processor, and being stored on the first memory can be The the first video data distributing programs run on the first processor, the first video data distributing programs are by described first Processor realizes following method when executing:
It receives the Hui Yuan for returning the video data that source network node equipment is sent and transfers request;
Judge whether the data center apparatus is stored with the video data;
If so, the video data is sent to described time source network node equipment;
If it is not, then transferring request for the Hui Yuan of the video data to the transmission of source station server, the source station clothes are received The video data is simultaneously sent to described time source network node equipment by the video data of business device feedback;
Described time source network node equipment includes second memory, second processor, is stored on the second memory The the second video data distributing programs that can be run in the second processor, the second video data distributing programs are described Second processor realizes following method when executing:
When the Hui Yuan for receiving the video data that edge network node equipment is sent transfers request, judgement is described to return source network Whether node device has the video data;
If so, the video data is sent to the edge network node equipment;
If it is not, then the Hui Yuan to data center apparatus transmission for the video data transfers request, data center is received The video data is simultaneously sent to the edge network node equipment by the video data of equipment feedback;
The edge network node equipment includes third memory, third processor, is stored on the third memory The third video data distributing programs that can be run on the third processor, the third video data distributing programs are described Third processor realizes following method when executing:
Receive the playing request for the video data that subscriber terminal equipment is sent;
Judge whether the edge network node equipment has the video data;
If so, the video data is sent to the subscriber terminal equipment;
If it is not, then request is transferred to returning the Hui Yuan that source network node equipment is sent for the video data, described in reception It returns the video data of source network node equipment feedback and the video data is sent to the subscriber terminal equipment.
Technical solution of the present invention is provided with back source network node equipment in computer room, all edge nets in each computer room Network node device all returns the communication connection of source network node equipment with the computer room, returns source network node equipment and communicates to connect number According to central apparatus;When edge network node equipment needs to transfer video data, transferred to the source network node equipment source of sending back is gone back to Request, not have edge if returning in source network node equipment from the video data returned needed for obtaining from source network node equipment Apparatus for network node requests the video data transferred, then returns source network node equipment and transfer to the data center apparatus source of sending back and ask Ask, with from data center apparatus obtain edge network node equipment needed for video data.It is multiple when having simultaneously in same a computer room When edge network node equipment is respectively received playing request of the subscriber terminal equipment to certain video data, asked if receiving broadcasting There is not the video data in each edge network node equipment asked, then each edge network node equipment is to described Request is transferred in the source network node equipment source of sending back of returning in computer room, and returning in source network node equipment in the computer room does not have yet When having the video data, the source network node equipment of returning of the computer room then transfers the video to data center apparatus Hui Yuan Data, to be distributed to each edge network node equipment.Compared to existing technologies, this programme is only needed when Hui Yuan is transferred It returns source network node equipment and transfers video data to data center apparatus Hui Yuan, it is equal without each apparatus for network node in computer room Video data is transferred to data center apparatus Hui Yuan;When video data issues, data center apparatus also only needs to be handed down to respectively A computer room returns source network node equipment, and the all-network node device of each computer room is directly issued to without several central apparatus; Therefore, computer room bandwidth resources occupancy is greatly decreased in this programme, reduces the bandwidth cost of computer room, and reduce and set to data center Standby resource consumption reduces the data processing pressure of data center apparatus, improves the responding ability of data center apparatus.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with The structure shown according to these attached drawings obtains other attached drawings.
Fig. 1 is the system architecture diagram of video networking system preferred embodiment of the present invention;
Fig. 2 is the flow diagram of one embodiment of the first video data distribution method of the invention;
Fig. 3 is the flow diagram of two embodiment of the first video data distribution method of the invention;
Fig. 4 is the running environment schematic diagram of the first video data distributing programs preferred embodiment of the invention;
Fig. 5 is the Program modual graph of the first video data distributing programs preferred embodiment of the invention;
Fig. 6 is the flow diagram of one embodiment of the second video data distribution method of the invention;
Fig. 7 is the running environment schematic diagram of the second video data distributing programs preferred embodiment of the invention;
Fig. 8 is the Program modual graph of the second video data distributing programs preferred embodiment of the invention;
Fig. 9 is the flow diagram of one embodiment of third video data distribution method of the present invention;
Figure 10 is the running environment schematic diagram of third video data distributing programs preferred embodiment of the present invention;
Figure 11 is the Program modual graph of third video data distributing programs preferred embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and It is non-to be used to limit the scope of the invention.
The present invention proposes a kind of video networking system, for communicating to connect with live streaming end equipment and subscriber terminal equipment.
Referring to Fig.1, the video networking system of the present embodiment includes at least one source station server A, is serviced with each source station At least one data center apparatus B and at least one computer room of device A communication connection;It include multiple edge nets in the computer room Network node device D and at least one communicated to connect respectively with each edge network node equipment D return source network node equipment C, Described time source network node equipment C and at least one described data center apparatus B are communicated to connect;It is each i.e. in each computer room Edge network node equipment D communicate with connection return source network node equipment C communication, each time source network node equipment C and its The data center apparatus B of communication connection is communicated.Wherein, source station server A, data center apparatus B, time source network node equipment C It all has with edge network node equipment D for storing or the memory of buffer network video data.In the present embodiment figure, video Network system is for including 1 source station server A, 2 data center apparatus B and 4 computer rooms, and with a computer room One is returned for source network node equipment C and two edge network node equipment D.
In the present embodiment, the method for determination for returning source network node equipment C in a computer room can be:1, by described All edge network node equipment D of computer room elect one or more edge network nodes by predetermined hash algorithm Equipment D is used as back source network node equipment C;2, by artificial mode the computer room all edge network node equipment D Middle option and installment one or more edge network node equipment D is used as back source network node equipment C.In the present embodiment, a machine The determination for returning source network node equipment C in room is elected by predetermined hash algorithm.The predetermined Hash is calculated Method can be:When a subscriber terminal equipment by uniform resource locator (Uniform Resource Locator, When URL) pulling corresponding video flowing from an edge network node equipment D, the edge network node equipment D can will be described URL is breathed out using consistency respectively and with the preset kind information (for example, IP address) of each edge network node equipment D of computer room Uncommon algorithm calculates the corresponding cryptographic Hash of each edge network node equipment D of same computer room, and is advised according to predetermined election Then (for example, the predetermined election regulation can be:By the smallest cryptographic Hash or the corresponding edge of maximum cryptographic Hash Apparatus for network node D election is target network node equipment;Alternatively, can be each edge network node equipment D according to right The sequence sequence of the cryptographic Hash answered from big to small, elects sequence preceding or the edge network section of the posterior preset quantity of sequence Point device D is as target network node equipment) one or more edge network node equipment D are elected as target network node Equipment, in this way, if multiple subscriber terminal equipments pulled respectively from multiple edge network node equipment D by a URL it is corresponding When video flowing, each edge network node equipment D elects one for according to the target network node equipment respectively elected Common target network node equipment is used as back source network node equipment C.
It is issued in processing in the video data of the present embodiment video networking system:
The source station server A receives the newest video data that live streaming end equipment uploads, and in real time or timing will it is described most New video data distributing gives each data center apparatus B.
The data center apparatus B receives the newest video data that the source station server A issues, and real-time or timing will The newest video data is handed down to each time source network node equipment C.
Described time source network node equipment C receives the newest video data that the data center apparatus B is issued, and in real time or The newest video data is handed down to each edge network node equipment D of communication connection by timing.
The edge network node equipment receives the newest video data for returning source network node equipment C and issuing.
After having live streaming end equipment to source station server A uploaded videos data, source station server A is newest straight by what is received Multicast data is in real time or timing (such as issuing every 30 seconds primary) is handed down to each data center apparatus B of its communication connection, respectively After a data center apparatus B receives the newest video data that source station server A issues, factually by the newest video counts received When or timing be handed down to its communicate to connect each time source network node equipment C, each time source network node equipment C receives data After the newest video data that central apparatus B is issued, the newest video data received is handed down to each side of its communication connection Edge apparatus for network node D.
It is transferred in processing in the video data Hui Yuan of the present embodiment video networking system:
Described time source network node equipment C is receiving that edge network node equipment D sends for the first video counts According to Hui Yuan transfer request when, judge whether there is and (is stored with or is cached with) first video data in its memory;
If there being first video data in its memory, first video data is sent to the edge net Network node device D;
If not depositing first video data in its memory, send to data center apparatus B for first view The Hui Yuan of frequency evidence transfers request, receives the first video data of data center apparatus B feedback and by first video data It is sent to the edge network node equipment D.
The edge network node equipment is in the broadcasting for the second video data for receiving a subscriber terminal equipment transmission When putting request, judge whether there is second video data in its memory;
If there being second video data in its memory, it is whole that second video data is sent to the user End equipment;
If not depositing second video data in its memory, sent to the source network node equipment C that returns of communication connection Request is transferred for the Hui Yuan of second video data, receives second video counts for returning source network node equipment C feedback The subscriber terminal equipment is sent to according to and by second video data.
The data center apparatus B receive one return that source network node equipment C sends for third video data When Hui Yuan transfers request, judge whether there is the third video data in its memory;
If there being the third video data in its memory, the third video data is sent to described time source net Network node device C;
If not depositing the third video data in its memory, is sent to source station server A and be directed to the third video The Hui Yuan of data transfers request, receives the third video data of source station server A feedback and by the third video data It is sent to described time source network node equipment C.
The source station server A is in time source tune for the 4th video data for receiving a data center apparatus B transmission When taking request, the 4th video data is sent to the data center apparatus B.
Specifically, the present embodiment video networking system transfers a subscriber terminal equipment to edge network node equipment D The concrete processing procedure of video data is:
It is described when subscriber terminal equipment transfers request for the Hui Yuan of video data to edge network node equipment D transmission Edge network node equipment D is received after the Hui Yuan transfers request, is searched its memory, is determined in its memory whether have Video data, if having the video data in the memory of the edge network node equipment D, directly by the video Data are sent to the subscriber terminal equipment, if not having the video in the memory of the edge network node equipment D Data, then the source network node equipment C that returns that the edge apparatus for network node is communicated to connect to it are sent for the video data Hui Yuan transfer request.
Return source network node equipment C receive edge network node equipment D the Hui Yuan transfer request after, its storage The video data is searched in device, if described time source network node equipment C inquires the video data in its memory, The video data is then fed back into edge network node equipment D, the edge network node equipment D receives back source network section The video data is then sent to the subscriber terminal equipment by the video data that point device C is fed back to;If described time source net The video data is not deposited yet in network node device C, then returns source network node equipment C and is set to its data center communicated to connect Standby B transmission transfers request for the Hui Yuan of the video data.
After the Hui Yuan that data center apparatus B receives described time source network node equipment C transmission transfers request, at it The video data is searched in memory, determines whether there is the video data in its memory;If finding the video The video data is then fed back to described time source network node equipment C by data, and described time source network node equipment C is received After the video data of data center apparatus B feedback, then the video data is fed back into the edge network node equipment The video data for returning source network node equipment C feedback is then sent to the user by D, the edge network node equipment D Terminal device;If data center apparatus B does not file for reference find the video data in its memory, i.e., institute is not deposited in its memory Video data is stated, then the data center apparatus B is transferred to the Hui Yuan that the video data is transferred in server A transmission in source station and asked It asks.
After the Hui Yuan that source station server A receives data center apparatus B transmission transfers request, in source station server A Memory in find the video data, the video data is fed back into data center apparatus B, data center apparatus B is then The video data is fed back into source network node equipment C, source network node equipment C is returned and feeds back to edge network node equipment D, The video data is sent to subscriber terminal equipment by edge network node equipment D.If there is source station server A in its memory In do not find the video data yet, then source station server A can execute preset prompt information (for example, " without this data ") Feedback, feeds back to data center apparatus B for the prompt information, and data center apparatus B receives the prompt information, it is anti- Feed back source network node equipment C, then returns source network node equipment C the prompt information is fed back to edge network node and set The prompt information is then sent to subscriber terminal equipment by standby D, edge network node equipment D.
The video networking system of the present embodiment is provided with go back to source network node equipment C, the institute in each computer room in computer room There is edge network node equipment D all to return source network node equipment C communication connection with the computer room, returns source network node equipment C communicates to connect data center apparatus B;When edge network node equipment D needs to transfer video data, to time source network node equipment C transfers in the source of sending back request, set if returning source network node from the video data returned needed for obtaining from source network node equipment C There is not edge network node equipment D in standby C and requests the video data transferred, then returns source network node equipment C to data center Equipment B transfers request in the source of sending back, with from data center apparatus B obtain edge network node equipment D needed for video data.When With the broadcasting for thering are multiple edge network node equipment D to be respectively received subscriber terminal equipment to certain video data simultaneously in computer room When request, there are not the video data, each side if receiving in each edge network node equipment D of playing request Edge apparatus for network node D transfers request in the source of sending back source network node equipment C of returning into the computer room, in the computer room Return in source network node equipment C when also not having the video data, the computer room returns source network node equipment C then to number Source is gone back to according to central apparatus B and transfers the video data, to be distributed to each edge network node equipment D.Compared to the prior art For, this programme need to only return source network node equipment C to data center apparatus B times sources and transfer video data when Hui Yuan is transferred, Source, which is gone back to, to data center apparatus B without each apparatus for network node in computer room transfers video data;It is issued in video data When, data center apparatus B also only needs to be handed down to time source network node equipment C of each computer room, direct without number central apparatus It is issued to the all-network node device of each computer room;Therefore, computer room bandwidth resources occupancy is greatly decreased in this programme, reduces machine The bandwidth cost in room, and reduce the resource consumption to data center apparatus B, reduce the data processing of data center apparatus B Pressure improves the responding ability of data center apparatus B.
Further, in the video networking system of the present embodiment, described time source network node equipment C is also used to:
Receive that subscriber terminal equipment sends for the 5th video data playing request when, judge its memory In whether have the 5th video data;
If there being the 5th video data, the 5th video data is sent to the side subscriber terminal equipment;
If there not being the 5th video data, send to data center apparatus B for the 5th video data Hui Yuan transfers request, receives the 5th video data of data center apparatus B feedback and the 5th video data is sent to institute State subscriber terminal equipment.
In the present embodiment, returns source network node equipment C and be also used to directly dock subscriber terminal equipment, for subscriber terminal equipment The playing request for video data is directly transmitted to it, to provide video data to subscriber terminal equipment.
It should be noted that in above-mentioned each embodiment, the title of use:First video data, the second video data, Third video data, the 4th video data and the 5th video data, wherein first, second, third, fourth and fifth is only For the convenience of description, there is no special meanings.
The present invention also proposes a kind of first video data distribution method, suitable for the video networking system of above-described embodiment Return in source network node equipment, the structure and connection relationship of described time source network node equipment are referring to above-described embodiment.
As shown in Fig. 2, Fig. 2 is the flow diagram of one embodiment of the first video data distribution method of the invention.
The first video data distribution method of the present embodiment includes:
Step S20 returns source network node equipment in time source tune for the video data for receiving the transmission of edge network node equipment When taking request, judgement is described to return whether source network node equipment has the video data.
Edge network node equipment is receiving when being directed to a video data playing request of subscriber terminal equipment transmission, If not depositing the video data in the edge network node equipment, the edge network node equipment will be to time source net The transmission of network node device transfers request for the Hui Yuan of the video data, returns source network node equipment and receives edge network section After the Hui Yuan of point device transfers request, then the video data to be transferred of edge network node equipment is searched in its memory, To determine in its memory whether have and (be stored with or be cached with) video counts to be transferred of edge network node equipment According to.
Step S30, if so, the video data is sent to the edge network node equipment.
(have in its memory described if returning source network node equipment and having found the video data in its memory Video data), then source network node equipment, which is returned, by the video data is sent to the edge network node equipment, edge network Node device receives back the video data of source network node equipment feedback, then the video data is sent to the hair Send the subscriber terminal equipment of playing request.
Step S40 is received if it is not, then transferring request for the Hui Yuan of the video data to data center apparatus transmission The video data is simultaneously sent to the edge network node equipment by the video data of data center apparatus feedback.
(do not have in its memory if returning source network node equipment and not finding the video data in its memory The video data), then the source network node equipment of returning then is sent to the data center apparatus of its communication connection for institute The Hui Yuan for stating video data transfers request, to transfer the video data from data center apparatus;Data center apparatus receives To described time source network node equipment the Hui Yuan transfer request after, equally search its memory and be confirmed whether there is this view This video data found is directly fed back to described time source network node equipment if having, if number by frequency evidence Determine that then data center apparatus can be sent back to source station server also without the video data in its memory according to central apparatus Request is transferred in source, gives back to source network node equipment to transfer the video data feedback from source station server;Return source network node The video data is then sent to the edge net after the video data for receiving data center apparatus feedback by equipment The video data is sent to the user's end for sending playing request by network node device, then, edge network node equipment End equipment.
The first video data distribution method of the present embodiment further includes:
Step S10 returns source network node equipment and receives the newest video data that data center apparatus issues, and in real time or fixed When the newest video data is handed down to each edge network node equipment.
After source station server receives the newest video data that live streaming end equipment uploads, meeting is in real time or timing will be described newest Video data is handed down to each data center apparatus, and data center apparatus receives the newest video data that source station server issues Afterwards, then the newest video data is handed down to each time source network node equipment in real time or periodically, returns source network node equipment The newest video data that data center apparatus issues is received, the newest video data is handed down to each of its communication connection A edge network node equipment (i.e. all edge network node equipment of computer room where it).
It wherein, is step arranged side by side without successive sequence of steps between step S10 and step S20, S30 and S40.
The technical solution of the present embodiment, when edge network node equipment needs to transfer video data, to time source network node Request is transferred in the equipment source of sending back, to obtain required video data from time source network node equipment, if returning source network node There is not the video data that edge network node device request is transferred in equipment, then returns source network node equipment and set to data center Preparation sends source back to and transfers request, with from data center apparatus obtain edge network node equipment needed for video data.When same The playing request for thering are multiple edge network node equipment to be respectively received subscriber terminal equipment to certain video data simultaneously in computer room When, there are not the video data, each edge net if receiving in each edge network node equipment of playing request Request is transferred in return source network node equipment send back source of the network node device into the computer room, the Hui Yuan in the computer room When also not having the video data in apparatus for network node, the source network node equipment of returning of the computer room is then set to data center Standby Hui Yuan transfers the video data, to be distributed to each edge network node equipment.Compared to existing technologies, this programme When Hui Yuan is transferred, only need to return source network node equipment transfers video data to data center apparatus Hui Yuan, without in computer room Each apparatus for network node transfers video data to data center apparatus Hui Yuan;When video data issues, data center is set The standby time source network node equipment for also only needing to be handed down to each computer room, is directly issued to each computer room without several central apparatus All-network node device;Therefore, computer room bandwidth resources occupancy is greatly decreased in this programme, reduces the bandwidth cost of computer room, and Reduce the resource consumption to data center apparatus, reduces the data processing pressure of data center apparatus, improve in data The responding ability of heart equipment.
As shown in figure 3, Fig. 3 is the flow diagram of two embodiment of the first video data distribution method of the invention.
In the present embodiment, the first video data distribution method further includes:
Step S50 returns source network node equipment when receiving the playing request of video data of subscriber terminal equipment transmission, Judgement is described to return whether source network node equipment has the video data.
When having subscriber terminal equipment to when returning source network node equipment transmission playing request, returns source network node equipment and receive To after the playing request of the subscriber terminal equipment, the video that the subscriber terminal equipment request plays is searched in its memory Data determine that whether having the subscriber terminal equipment in its memory requests the video data played.
Step S60, if so, the video data is sent to the subscriber terminal equipment.
If return source network node equipment finds the video data in its memory, the video data is sent To the subscriber terminal equipment.
Step S70 is received if it is not, then transferring request for the Hui Yuan of the video data to data center apparatus transmission The video data is simultaneously sent to the subscriber terminal equipment by the video data of data center apparatus feedback.
(do not have in its memory if returning source network node equipment and not finding the video data in its memory The video data), then source network node equipment is returned to its data center apparatus source of sending back communicated to connect and transfers request, is asked It asks and transfers the video data, and after receiving the video data that data center apparatus is fed back to, by the video counts According to being sent to subscriber terminal equipment.
In addition, the present invention also proposes a kind of first video data distributing programs.
Referring to Fig. 4, being the running environment schematic diagram of 10 preferred embodiment of the first video data distributing programs of the invention.
In the present embodiment, the first video data distributing programs 10 are installed and are run on back in source network node equipment 1.It returns Source network node equipment 1 can be desktop PC, notebook, palm PC and server etc. and calculate equipment.Return source network Node device 1 communicates to connect an at least data center apparatus and multiple edge network node equipment.Described time source network node Equipment 1 may include, but be not limited only to, memory 11, processor 12 and display 13.Fig. 4 is illustrated only with component 11-13's Source network node equipment 1 is returned, it should be understood that being not required for implementing all components shown, the implementation that can be substituted is more More or less component.
Memory 11 can be back the internal storage unit of source network node equipment 1 in some embodiments, such as described Return the hard disk or memory of source network node equipment 1.Memory 11 is also possible to back source network node in further embodiments and sets Standby 1 External memory equipment, such as return the plug-in type hard disk being equipped in source network node equipment 1, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, Memory 11 can also both include back the internal storage unit of source network node equipment 1 or including External memory equipment.Memory 11 for storing the application software and Various types of data for being installed on back source network node equipment 1, such as the first video data distribution journey The program code etc. of sequence 10.Memory 11 can be also used for temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, program code or processing data for being stored in run memory 11, example Such as execute the first video data distributing programs 10.
Display 13 can be in some embodiments light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..Display 13 is for being shown in Return the information handled in source network node equipment 1 and for showing visual user interface.Return source network node equipment 1 Component 11-13 is in communication with each other by system bus.
Referring to Fig. 5, being the Program modual graph of 10 preferred embodiment of the first video data distributing programs of the invention.In this reality It applies in example, the first video data distributing programs 10 can be divided into one or more modules, one or more module is deposited It is stored in memory 11, and performed by one or more processors (the present embodiment is processor 12), to complete the present invention.Example Such as, in Fig. 5, the first video data distributing programs 10 can be divided into first issue module 101, first judgment module 102, Module 104 is transferred in first sending module 103 and first time source.The so-called module of the present invention is refer to complete specific function one Family computer program instruction section is set more suitable for the first video data distributing programs 10 of description in time source network node than program Implementation procedure in standby 1, wherein:
First issues module 101, the newest video data that central apparatus issues for receiving data, and real-time or timing will The newest video data is handed down to each edge network node equipment.
After source station server receives the newest video data that live streaming end equipment uploads, meeting is in real time or timing will be described newest Video data is handed down to each data center apparatus, and data center apparatus receives the newest video data that source station server issues Afterwards, then the newest video data is handed down to each time source network node equipment in real time or periodically, returns source network node equipment The newest video data that data center apparatus issues is received, the newest video data is handed down to each of its communication connection A edge network node equipment (i.e. all edge network node equipment of computer room where it).
First judgment module 102 is asked for transferring in the Hui Yuan for the video data for receiving the transmission of edge network node equipment When asking, judgement is described to return whether source network node equipment 1 has the video data.
Edge network node equipment is receiving when being directed to a video data playing request of subscriber terminal equipment transmission, If not depositing the video data in the edge network node equipment, the edge network node equipment will be to time source net The transmission of network node device transfers request for the Hui Yuan of the video data, returns source network node equipment and receives edge network section After the Hui Yuan of point device transfers request, then the video counts to be transferred of edge network node equipment are searched in its memory 11 According to determine in its memory 11 whether have and (be stored with or be cached with) view to be transferred of edge network node equipment Frequency evidence.
First sending module 103, for there being the video counts in the memory 11 for determining back source network node equipment 1 According to rear, the video data is sent to the edge network node equipment.
(have in its memory 11 if returning source network node equipment and having found the video data in its memory 11 The video data), then source network node equipment, which is returned, by the video data is sent to the edge network node equipment, edge Apparatus for network node receives back the video data of source network node equipment feedback, then the video data is sent to institute State the subscriber terminal equipment for sending playing request.
First time module 104 is transferred in source, for not depositing the view in the memory 11 for determining back source network node equipment 1 For frequency after, the Hui Yuan to data center apparatus transmission for the video data transfers request, and it is anti-to receive data center apparatus The video data is simultaneously sent to the edge network node equipment by the video data of feedback.
If return source network node equipment does not find the video data (i.e. in its memory 11 not in its memory 11 Have the video data), then the data center apparatus transmission needle for returning source network node equipment and then being communicated to connect to it Request is transferred to the Hui Yuan of the video data, to transfer the video data from data center apparatus;Data center apparatus After the Hui Yuan of time source network node equipment described in receiving transfers request, equally searches its memory 11 and be confirmed whether have This video data found is directly fed back to described time source network node equipment if having by this video data, If data center apparatus determines that data center apparatus can be serviced to source station also without the video data in its memory 11 Request is transferred in the device source of sending back, and gives back to source network node equipment to transfer the video data feedback from source station server;Hui Yuan The video data is then sent to the side after the video data for receiving data center's feedback by apparatus for network node The video data is sent to the use for sending playing request by edge apparatus for network node, then, edge network node equipment Family terminal device.
The technical solution of the present embodiment, when edge network node equipment needs to transfer video data, to time source network node Request is transferred in the equipment source of sending back, to obtain required video data from time source network node equipment, if returning source network node There is not the video data that edge network node device request is transferred in equipment, then returns source network node equipment and set to data center Preparation sends source back to and transfers request, with from data center apparatus obtain edge network node equipment needed for video data.When same The playing request for thering are multiple edge network node equipment to be respectively received subscriber terminal equipment to certain video data simultaneously in computer room When, there are not the video data, each edge net if receiving in each edge network node equipment of playing request Request is transferred in return source network node equipment send back source of the network node device into the computer room, the Hui Yuan in the computer room When also not having the video data in apparatus for network node, the source network node equipment of returning of the computer room is then set to data center Standby Hui Yuan transfers the video data, to be distributed to each edge network node equipment.Compared to existing technologies, this programme When Hui Yuan is transferred, only need to return source network node equipment transfers video data to data center apparatus Hui Yuan, without in computer room Each apparatus for network node transfers video data to data center apparatus Hui Yuan;When video data issues, data center is set The standby time source network node equipment for also only needing to be handed down to each computer room, is directly issued to each computer room without several central apparatus All-network node device;Therefore, computer room bandwidth resources occupancy is greatly decreased in this programme, reduces the bandwidth cost of computer room, and Reduce the resource consumption to data center apparatus, reduces the data processing pressure of data center apparatus, improve in data The responding ability of heart equipment.
Further, in the first video data distributing programs of the present embodiment, the first judgment module 102 is also used to: When receiving the playing request of video data of subscriber terminal equipment transmission, judgement is described to return whether source network node equipment 1 deposits There is the video data.
When having subscriber terminal equipment to when returning source network node equipment transmission playing request, returns source network node equipment and receive To after the playing request of the subscriber terminal equipment, the view that the subscriber terminal equipment request plays is searched in its memory 11 Frequency evidence determines that whether having the subscriber terminal equipment in its memory 11 requests the video data played.
First sending module 103 is also used to:Have in the memory 11 for determining back source network node equipment 1 described After video data, the video data is sent to the subscriber terminal equipment.
If returning source network node equipment finds the video data in its memory 11, by the video data transmitting Give the subscriber terminal equipment.
It transfers module 104 and is also used in first time source:It is not deposited in the memory 11 for determining back source network node equipment 1 The video data, then the Hui Yuan to data center apparatus transmission for the video data transfers request, receives data center The video data is simultaneously sent to the subscriber terminal equipment by the video data of equipment feedback.
If return source network node equipment does not find the video data (i.e. in its memory 11 not in its memory 11 Have the video data), then it returns source network node equipment and transfers and ask to its data center apparatus source of sending back communicated to connect It asks, the video data is transferred in request, and after receiving the video data that data center apparatus is fed back to, by the view Frequency evidence is sent to subscriber terminal equipment.
Further, the present invention also proposes that a kind of computer readable storage medium, the computer readable storage medium are deposited The first video data distributing programs are contained, the first video data distributing programs can be executed by least one processor, so that At least one described processor executes the first video data distribution method in any of the above-described embodiment.
The present invention also proposes a kind of second video data distribution method, suitable for the video networking system of above-described embodiment Data center apparatus in, the implementation of the structure and connection relationship of the data center apparatus referring to above-mentioned video networking system Example.
As shown in fig. 6, Fig. 6 is the flow diagram of one embodiment of the second video data distribution method of the invention.
The second video data distribution method of the present embodiment includes:
Step S02 receives the Hui Yuan for returning the video data that source network node equipment is sent and transfers request, described in judgement Whether data center apparatus is stored with the video data.
Source network node equipment is returned in the Hui Yuan for a video data for receiving the transmission of edge network node equipment It is described to return source network node equipment if not depositing the video data in described time source network node equipment when transferring request The Hui Yuan that will be sent to data center apparatus for the video data transfers request, and data center apparatus receives back source net After the Hui Yuan of network node device transfers request, then the video counts to be transferred of source network node equipment are searched back in its memory According to determine whether there is and (is stored with or is cached with) time video to be transferred of source network node equipment in its memory Data.
Step S03, if so, the video data is sent to described time source network node equipment.
If data center apparatus has found the video data in its memory (has the video in its memory Data), then the video data is sent to described time source network node equipment by data center apparatus, returns source network node equipment The video data of data center apparatus feedback is received, then the video data is sent to and described is sent to it back source tune Take the edge network node equipment of request.
Step S04 receives institute if it is not, then the Hui Yuan to the transmission of source station server for the video data transfers request It states the video data of source station server feedback and the video data is sent to described time source network node equipment.
(do not have in its memory described if data center apparatus does not find the video data in its memory Video data), then the source station server that the data center apparatus is then communicated to connect to it sends and is directed to the video data Hui Yuan transfer request, to transfer the video data from the server of source station;Source station server receives the data center After the Hui Yuan of equipment transfers request, equally searches its memory and be confirmed whether there is this video data, if having This video data found is directly fed back into the data center apparatus;Data center apparatus is receiving source station service After the video data of device feedback, then the video data is sent to described time source network node equipment and then returns source net The video data is sent to the edge network node equipment for sending playing request by network node device.
Second video data distribution method of this implementation further includes:
Step S01, data center apparatus receive the newest video data that source station server issues, and in real time or periodically by institute It states newest video data and is handed down to each time source network node equipment.
After source station server receives the newest video data that live streaming end equipment uploads, meeting is in real time or timing will be described newest Video data is handed down to each data center apparatus, and data center apparatus receives the newest video data that source station server issues Afterwards, then the newest video data is handed down to each time source network node equipment in real time or periodically.
It is step arranged side by side without successive sequence of steps between the step S01 and step S02, S03 and S04.
The present invention also proposes a kind of second video data distributing programs.
Referring to Fig. 7, being the running environment schematic diagram of 20 preferred embodiment of the second video data distributing programs of the invention.
In the present embodiment, the second video data distributing programs 20 are installed and are run in data center apparatus 2.In data Heart equipment 2 can be desktop PC, notebook, palm PC and server etc. and calculate equipment.Data center apparatus 2 is distinguished The communication connection of source network node equipment is returned with source station server and multiple computer rooms.The data center apparatus 2 may include, but It is not limited only to, memory 21, processor 22 and display 23.Fig. 7 illustrates only the data center apparatus 2 with component 21-23, It should be understood that be not required for implementing all components shown, the implementation that can be substituted is more or less component.
Memory 21 can be the internal storage unit of data center apparatus 2, such as the data in some embodiments The hard disk or memory of central apparatus 2.Memory 21 is also possible to the external storage of data center apparatus 2 in further embodiments The plug-in type hard disk being equipped in equipment, such as data center apparatus 2, intelligent memory card (Smart Media Card, SMC), peace Digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, memory 21 can also be wrapped both The internal storage unit for including data center apparatus 2 also includes External memory equipment.Memory 21 is installed in data for storing The application software and Various types of data of heart equipment 2, such as the program code etc. of the second video data distributing programs 20.Memory 21 is also It can be used for temporarily storing the data that has exported or will export.
Processor 22 can be in some embodiments a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, program code or processing data for being stored in run memory 21, example Such as execute the second video data distributing programs 20.
Display 23 can be in some embodiments light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..Display 23 is for being shown in The information that is handled in data center apparatus 2 and for showing visual user interface.The component 21- of data center apparatus 2 23 are in communication with each other by system bus.
Referring to Fig. 8, being the Program modual graph of 20 preferred embodiment of the second video data distributing programs of the invention.In this reality It applies in example, the second video data distributing programs 20 can be divided into one or more modules, one or more module is deposited It is stored in memory 21, and performed by one or more processors (the present embodiment is processor 22), to complete the present invention.Example Such as, in fig. 8, the second video data distributing programs 20 can be divided into second issue module 201, the second judgment module 202, Module 204 is transferred in second sending module 203 and second time source.The so-called module of the present invention is refer to complete specific function one Family computer program instruction section, than program more suitable for the second video data distributing programs 20 of description in data center apparatus 2 In implementation procedure, wherein:
Second issues module 201, the newest video data issued for receiving the source station server, and in real time or periodically The newest video data is handed down to each time source network node equipment.
After source station server receives the newest video data that live streaming end equipment uploads, meeting is in real time or timing will be described newest Video data is handed down to each data center apparatus 2, and data center apparatus 2 receives the newest video counts that source station server issues According to rear, then in real time or the newest video data is handed down to each time source network node equipment by timing.
Second judgment module 202 is transferred for receiving the Hui Yuan for returning the video data that source network node equipment is sent Request, judges whether the data center apparatus 2 is stored with the video data.
Source network node equipment is returned in the Hui Yuan for a video data for receiving the transmission of edge network node equipment It is described to return source network node equipment if not depositing the video data in described time source network node equipment when transferring request The Hui Yuan that will be sent to data center apparatus 2 for the video data transfers request, and data center apparatus 2 receives Hui Yuan After the Hui Yuan of apparatus for network node transfers request, then the view to be transferred of source network node equipment is searched back in its memory 21 Frequency evidence goes back to the source network node equipment institute to be transferred to determine whether to have in its memory 21 and (be stored with or be cached with) State video data.
Second sending module 203, for there being the video data in the memory 21 for determining data center apparatus 2 Afterwards, the video data is sent to described time source network node equipment.
If data center apparatus 2 has found the video data in its memory 21 (has institute in its memory 21 State video data), then the video data is sent to described time source network node equipment by data center apparatus 2, returns source network Node device receives the video data of the feedback of data center apparatus 2, then is sent to the video data described to it Transfer the edge network node equipment of request in the source of sending back.
Second time module 204 is transferred in source, for not depositing the video data in the memory 21 for determining number central apparatus Afterwards, request is transferred for the Hui Yuan of the video data to source station server transmission, receives the source station server feedback The video data and the video data be sent to described return source network node equipment.
If data center apparatus 2 does not find the video data in its memory 21 and (does not deposit in its memory 21 Have the video data), then the source station server that the data center apparatus 2 is then communicated to connect to it sends and is directed to the view The Hui Yuan of frequency evidence transfers request, to transfer the video data from the server of source station;Source station server receives the number After transferring request according to the Hui Yuan of central apparatus 2, equally searches its memory and be confirmed whether there is this video data, if Have, this video data found is directly fed back into the data center apparatus 2;Data center apparatus 2 is receiving After the video data of source station server feedback, then the video data is sent to described time source network node equipment, so Afterwards, it returns source network node equipment and the video data is sent to the edge network node equipment for sending playing request.
The present invention also proposes a kind of computer readable storage medium, and the computer-readable recording medium storage has the second view Frequency data distribution program, the second video data distributing programs can be executed by least one processor, so that described at least one A processor executes the second video data distribution method in any of the above-described embodiment.
The present invention also proposes a kind of third video data distribution method, suitable for the video networking system of above-described embodiment Edge network node equipment in, the structure and connection relationship of the edge network node equipment are referring to above-described embodiment.
As shown in figure 9, Fig. 9 is the flow diagram of one embodiment of third video data distribution method of the present invention.
Step S12, edge network node equipment receive the playing request for the video data that subscriber terminal equipment is sent, judgement Whether the edge network node equipment has the video data;.
Edge network node equipment is receiving when being directed to a video data playing request of subscriber terminal equipment transmission, Subscriber terminal equipment is then searched in its memory and requests the video data played, to determine in its memory whether have (be stored with or be cached with) subscriber terminal equipment requests the video data played.
Step S13, if so, the video data is sent to the subscriber terminal equipment.
(have in its memory described if edge network node equipment has found the video data in its memory Video data), then the video data is sent to the subscriber terminal equipment by edge network node equipment.
Step S14, if it is not, request then is transferred for the Hui Yuan of the video data to time source network node equipment transmission, It receives the video data for returning source network node equipment feedback and the video data is sent to the user terminal Equipment.
If edge network node equipment does not find the video data in its memory, then the edge network section What point device was then communicated to connect to it, which return source central apparatus, sends and transfers request for the Hui Yuan of the video data, with from Hui Yuan The video data is transferred at apparatus for network node;In the video data for receiving back source network node equipment and feeding back to Afterwards, the video data is sent to the subscriber terminal equipment.
The third video data distribution method of the present embodiment further includes:
Step S11, edge network node equipment are received back the newest video data that source network node equipment issues.
After source station server receives the newest video data that live streaming end equipment uploads, meeting is in real time or timing will be described newest Video data is handed down to each data center apparatus, and data center apparatus receives the newest video data that source station server issues Afterwards, then the newest video data is handed down to each time source network node equipment in real time or periodically, returns source network node equipment The newest video data that data center apparatus issues is received, the newest video data is handed down to each of its communication connection A edge network node equipment, edge network node equipment are received back the newest video data that source network node equipment issues, will The video data received is stored.
It wherein, is step arranged side by side without successive sequence of steps between step S11 and step S12, S13 and S14.
The present invention also proposes a kind of third video data distributing programs.
Referring to Fig. 10, being the running environment schematic diagram of 30 preferred embodiment of third video data distributing programs of the present invention.
In the present embodiment, third video data distributing programs 30 are installed and are run in edge network node equipment 3.Side Edge apparatus for network node 3 can be desktop PC, notebook, palm PC and server etc. and calculate equipment.Edge network Node device 3, which is communicated to connect, returns source network node equipment with computer room.The edge network node equipment 3 may include, but not only It is limited to, memory 31, processor 32 and display 33.Figure 10 illustrates only the edge network node equipment with component 31-33 3, it should be understood that be not required for implementing all components shown, the implementation that can be substituted is more or less component.
Memory 31 can be the internal storage unit of edge network node equipment 3 in some embodiments, such as described The hard disk or memory of edge network node equipment 3.Memory 31 is also possible to edge network node in further embodiments and sets Standby 3 External memory equipment, such as the plug-in type hard disk being equipped in edge network node equipment 3, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, Memory 31 can also both including edge network node equipment 3 internal storage unit and also including External memory equipment.Memory 31 for storing the application software and Various types of data for being installed on edge network node equipment 3, such as third video data distribution journey The program code etc. of sequence 30.Memory 31 can be also used for temporarily storing the data that has exported or will export.
Processor 32 can be in some embodiments a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, program code or processing data for being stored in run memory 31, example Such as execute third video data distributing programs 30.
Display 33 can be in some embodiments light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touches device etc..Display 33 is for being shown in The information that is handled in edge network node equipment 3 and for showing visual user interface.Edge network node equipment 3 Component 31-33 is in communication with each other by system bus.
Referring to Fig. 5, being the Program modual graph of 30 preferred embodiment of third video data distributing programs of the present invention.In this reality It applies in example, third video data distributing programs 30 can be divided into one or more modules, one or more module is deposited It is stored in memory 31, and performed by one or more processors (the present embodiment is processor 32), to complete the present invention.Example Such as, in Fig. 5, third video data distributing programs 30 can be divided into third issue module 301, third judgment module 302, Third sending module 303 and third Hui Yuan transfer module 304.The so-called module of the present invention is refer to complete specific function one Family computer program instruction section is set more suitable for description third video data distributing programs 30 in edge network node than program Implementation procedure in standby 3, wherein:
Third issues module 301, the newest video data issued for being received back source network node equipment.
After source station server receives the newest video data that live streaming end equipment uploads, meeting is in real time or timing will be described newest Video data is handed down to each data center apparatus, and data center apparatus receives the newest video data that source station server issues Afterwards, then the newest video data is handed down to each time source network node equipment in real time or periodically, returns source network node equipment The newest video data that data center apparatus issues is received, the newest video data is handed down to each of its communication connection A edge network node equipment 3, edge network node equipment 3 are received back the newest video data that source network node equipment issues, The video data received is stored.
Third judgment module 302, the playing request of the video data for receiving subscriber terminal equipment transmission, described in judgement Whether edge network node equipment 3 has the video data;.
Edge network node equipment 3 receive subscriber terminal equipment transmission for a video data playing request When, then subscriber terminal equipment is searched in its memory 31 and request the video data played, be to determine in its memory 31 The no video data for having and (being stored with or be cached with) subscriber terminal equipment and request broadcasting.
Third sending module 303, for there being the video counts in the memory 31 for determining edge network node equipment 3 According to rear, then the video data is sent to the subscriber terminal equipment.
If edge network node equipment 3 has found the video data in its memory 31 and (deposits in its memory 31 Have the video data), then the video data is sent to the subscriber terminal equipment by edge network node equipment 3.
Third Hui Yuan transfers module 304, for not depositing the view in the memory 31 for determining edge network node equipment 3 Frequency then transfers request for the Hui Yuan of the video data to time source network node equipment transmission, receives the Hui Yuan after The video data is simultaneously sent to the subscriber terminal equipment by the video data of apparatus for network node feedback.
If edge network node equipment 3 does not find the video data in its memory 31, then the edge net Time source central apparatus transmission that network node device 3 is then communicated to connect to it transfers request for the Hui Yuan of the video data, with The video data is transferred from returning source network node equipment;In the video for receiving back source network node equipment and feeding back to After data, the video data is sent to the subscriber terminal equipment.
The present invention also proposes a kind of computer readable storage medium, and the computer-readable recording medium storage has third view Frequency data distribution program, the third video data distributing programs can be executed by least one processor, so that described at least one A processor executes the third video data distribution method in any of the above-described embodiment.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at this Under the inventive concept of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/use indirectly It is included in other related technical areas in scope of patent protection of the invention.

Claims (14)

1. a kind of video data distribution method, is applied to data center apparatus, the data center apparatus is serviced with source station respectively The communication connection of source network node equipment is returned in device and multiple computer rooms, which is characterized in that the video data distribution method includes:
It receives the Hui Yuan for returning the video data that source network node equipment is sent and transfers request;
Judge whether the data center apparatus is stored with the video data;
If so, the video data is sent to described time source network node equipment;
If it is not, then transferring request for the Hui Yuan of the video data to the transmission of source station server, the source station server is received The video data is simultaneously sent to described time source network node equipment by the video data of feedback.
2. video data distribution method as described in claim 1, which is characterized in that the method also includes:
The newest video data that the source station server issues is received, and in real time or is periodically handed down to the newest video data Each time source network node equipment.
3. a kind of data center apparatus, which is characterized in that the data center apparatus respectively with source station server and multiple computer rooms In return the communication connection of source network node equipment, the data center apparatus includes first memory and first processor, described The the first video data distributing programs that can be run on the first processor, first video are stored on first memory Following video data distribution method of any of claims 1 or 2 is realized when data distribution program is executed by the first processor.
4. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has video data Distributing programs, the video data distributing programs can be executed by least one processor, so that at least one described processor is held Row video data distribution method as claimed in claim 1 or 2.
5. a kind of video data distribution method, which is characterized in that be applied to back source network node equipment, described time source network node Equipment is communicated to connect with corresponding data center apparatus and with multiple edge network node equipment in computer room respectively, the video Data distributing method includes:
When the Hui Yuan for receiving the video data that edge network node equipment is sent transfers request, judgement is described to return source network node Whether equipment has the video data;
If so, the video data is sent to the edge network node equipment;
If it is not, then the Hui Yuan to data center apparatus transmission for the video data transfers request, data center apparatus is received The video data is simultaneously sent to the edge network node equipment by the video data of feedback.
6. video data distribution method as claimed in claim 5, which is characterized in that the video data distribution method includes:
The newest video data that data center apparatus issues is received, and in real time or is periodically handed down to the newest video data respectively A edge network node equipment.
7. video data distribution method as claimed in claim 5, which is characterized in that the video data distribution method also wraps It includes:
When receiving the playing request of video data of subscriber terminal equipment transmission, whether judgement is described returns source network node equipment There is the video data;
If so, the video data is sent to the subscriber terminal equipment;
If it is not, then the Hui Yuan to data center apparatus transmission for the video data transfers request, data center apparatus is received The video data is simultaneously sent to the subscriber terminal equipment by the video data of feedback.
8. one kind returns source network node equipment, which is characterized in that described time source network node equipment is respectively and in corresponding data Heart equipment and in computer room multiple edge network node equipment communication connection;Described time source network node equipment is deposited including second Reservoir, second processor are stored with the second video data that can be run in the second processor on the second memory Distributing programs are realized when the second video data distributing programs are executed by the second processor as appointed in claim 5 to 7 Video data distribution method described in meaning one.
9. returning source network node equipment as claimed in claim 8, which is characterized in that the determination of described time source network node equipment Mode is:
It is pulled respectively from multiple edge network node equipment using multiple subscriber terminal equipments by a uniform resource locator Corresponding video flowing;
Wherein, a subscriber terminal equipment pulls correspondence from an edge network node equipment by the uniform resource locator Video flowing when, the edge network node equipment by the uniform resource locator respectively and with computer room each edge network The preset kind information of node device uses consistency hash algorithm, calculates each edge network node equipment pair of same computer room The cryptographic Hash answered, and one or more edge network node equipment are elected as target network according to predetermined election regulation Network node device;
From the target network node equipment that each edge network node equipment elects, a common target network is elected Node device is used as back source network node equipment.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has video data Distributing programs, the video data distributing programs can be executed by least one processor, so that at least one described processor is held Video data distribution method of the row as described in any one of claim 5 to 7.
11. a kind of video data distribution method, applied to edge network node, the edge network node equipment and in computer room Return the communication connection of source network node equipment, which is characterized in that the video data distribution method includes:
Receive the playing request for the video data that subscriber terminal equipment is sent;
Judge whether the edge network node equipment has the video data;
If so, the video data is sent to the subscriber terminal equipment;
If it is not, then transferring request for the Hui Yuan of the video data to time source network node equipment transmission, the Hui Yuan is received The video data is simultaneously sent to the subscriber terminal equipment by the video data of apparatus for network node feedback.
12. a kind of edge network node equipment, which is characterized in that the edge network node equipment returns source net with in computer room The communication connection of network node device, the edge network node equipment include third memory, third processor, the third storage The third video data distributing programs that can be run on the third processor, the third video data distribution are stored on device Program realizes following method when being executed by the third processor:
Receive the playing request for the video data that subscriber terminal equipment is sent;
Judge whether the edge network node equipment has the video data;
If so, the video data is sent to the subscriber terminal equipment;
If it is not, then transferring request for the Hui Yuan of the video data to time source network node equipment transmission, the Hui Yuan is received The video data is simultaneously sent to the subscriber terminal equipment by the video data of apparatus for network node feedback.
13. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has video data Distributing programs, the video data distributing programs can be executed by least one processor, so that at least one described processor is held Row video data distribution method as claimed in claim 11.
14. a kind of video networking system, which is characterized in that the video networking system includes at least one source station server, with At least one data center apparatus of each source station server communication connection, it is multiple with data center apparatus communication connection Source network node equipment is returned, multiple edge network node equipment with the communication connection of described time source network node equipment, the side The source network node equipment of returning that edge apparatus for network node communicates with connection belongs to same computer room;Wherein,
The data center apparatus is data center apparatus as claimed in claim 3;
Described time source network node equipment is to return source network node equipment as claimed in claim 8;
The edge network node equipment is edge network node equipment as claimed in claim 12.
CN201810989623.4A 2018-08-28 2018-08-28 Video networking system returns source network node equipment, method and storage medium Pending CN108924579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810989623.4A CN108924579A (en) 2018-08-28 2018-08-28 Video networking system returns source network node equipment, method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810989623.4A CN108924579A (en) 2018-08-28 2018-08-28 Video networking system returns source network node equipment, method and storage medium

Publications (1)

Publication Number Publication Date
CN108924579A true CN108924579A (en) 2018-11-30

Family

ID=64406626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810989623.4A Pending CN108924579A (en) 2018-08-28 2018-08-28 Video networking system returns source network node equipment, method and storage medium

Country Status (1)

Country Link
CN (1) CN108924579A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639801A (en) * 2018-12-17 2019-04-16 深圳市网心科技有限公司 Back end distribution and data capture method and system
CN113132403A (en) * 2021-04-27 2021-07-16 北京百度网讯科技有限公司 Back-source method and device for content distribution network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104185036A (en) * 2014-09-10 2014-12-03 北京奇艺世纪科技有限公司 Video file source returning method and device
CN104284201A (en) * 2014-09-26 2015-01-14 北京奇艺世纪科技有限公司 Video content processing method and device
CN105578211A (en) * 2015-12-16 2016-05-11 深圳市网心科技有限公司 Live broadcast acceleration network stagnation optimization method and system based on infinite service node
CN106162209A (en) * 2016-06-30 2016-11-23 中国科学院计算技术研究所 A kind of content distributing network live broadcast system based on SDN technology and method
CN107172186A (en) * 2017-06-12 2017-09-15 中国联合网络通信集团有限公司 Content acquisition method and system
CN107277092A (en) * 2016-04-08 2017-10-20 北京优朋普乐科技有限公司 Content distributing network and its data download method
CN107995314A (en) * 2017-12-21 2018-05-04 蛮蛮天下(北京)网络科技有限公司 CDN network system and its network return source method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104185036A (en) * 2014-09-10 2014-12-03 北京奇艺世纪科技有限公司 Video file source returning method and device
CN104284201A (en) * 2014-09-26 2015-01-14 北京奇艺世纪科技有限公司 Video content processing method and device
CN105578211A (en) * 2015-12-16 2016-05-11 深圳市网心科技有限公司 Live broadcast acceleration network stagnation optimization method and system based on infinite service node
CN107277092A (en) * 2016-04-08 2017-10-20 北京优朋普乐科技有限公司 Content distributing network and its data download method
CN106162209A (en) * 2016-06-30 2016-11-23 中国科学院计算技术研究所 A kind of content distributing network live broadcast system based on SDN technology and method
CN107172186A (en) * 2017-06-12 2017-09-15 中国联合网络通信集团有限公司 Content acquisition method and system
CN107995314A (en) * 2017-12-21 2018-05-04 蛮蛮天下(北京)网络科技有限公司 CDN network system and its network return source method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639801A (en) * 2018-12-17 2019-04-16 深圳市网心科技有限公司 Back end distribution and data capture method and system
CN113132403A (en) * 2021-04-27 2021-07-16 北京百度网讯科技有限公司 Back-source method and device for content distribution network

Similar Documents

Publication Publication Date Title
CN101355476B (en) System and method for storing, distributing and applying data files based on server cluster
US20070030807A1 (en) System and method for combining requests for data bandwidth by a data source for transmission of data over a wireless communication medium
US20140082135A1 (en) Apparatus and method for providing content, and system for providing content with the said apparatus
CN110944219B (en) Resource allocation method, device, server and storage medium
CN102067102A (en) Installed game software sharing via peer-to-peer networkfield of the invention
KR101470111B1 (en) Edge content delivery apparatus and content delivery network for the internet protocol television system
US20100198977A1 (en) Automatic live stream trees
EP1257514A2 (en) System and method for combining data bandwidth requests by a data provider for transmission of data over an asynchronous communication medium
CN105828011B (en) A kind of methods, devices and systems of video record
CN108924579A (en) Video networking system returns source network node equipment, method and storage medium
CN101399690B (en) Multimedia data transmission method and system thereof
US20090222890A1 (en) Method and apparatus for providing streaming service based on p2p and streaming service system using the same
CN111314293A (en) Media resource service system, method, device, storage medium and processor
CN103560937A (en) Data accessing method and entry server
CN101958934B (en) Electronic program guide incremental content synchronization method, device and system
CN106790647A (en) A kind of method and system of self adaptation Service Management
CN109788075A (en) The acquisition methods and Edge Server of the private network network architecture, data
JP2004080566A (en) Contents distribution method and contents distribution system using the same
CN101888406B (en) Set top box, business server, program downloading method and program transmitting method and system
KR101257579B1 (en) Peer-to-peer overlay system and method for real time streaming service
CN103746935B (en) A kind of bandwidth based on application layer protocol merges middleware system
CN102438171B (en) Program source document handling method, device and network television system
CN110417850A (en) Software configuration acquisition methods, system, server and medium
CN116095372B (en) Method and system for dispatching and distributing streaming media data
CN117435354B (en) Method, device and system for running algorithm model, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130

RJ01 Rejection of invention patent application after publication