CN109600683A - A kind of VOD method, device and its relevant device - Google Patents

A kind of VOD method, device and its relevant device Download PDF

Info

Publication number
CN109600683A
CN109600683A CN201811482799.7A CN201811482799A CN109600683A CN 109600683 A CN109600683 A CN 109600683A CN 201811482799 A CN201811482799 A CN 201811482799A CN 109600683 A CN109600683 A CN 109600683A
Authority
CN
China
Prior art keywords
node
video
memory
file
demand
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
CN201811482799.7A
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 CN201811482799.7A priority Critical patent/CN109600683A/en
Publication of CN109600683A publication Critical patent/CN109600683A/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/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
    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/6473Monitoring network processes errors
    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level

Abstract

The invention discloses a kind of VOD methods, the seed file for determining target video file is instructed including program request based on the received and is sent to agent node, so that agent node determines the memory node of target video file according to seed file, wherein, agent node and memory node are the arbitrary node in DHT network, obtain on memory node and play target video file.The invention also discloses a kind of video on demand equipment and device, another VOD method, server and device, a kind of video on-demand system, computer readable storage medium and computer program product.The technical solution that the present invention is realized is based on DHT network implementations video on demand, and the continuity of system service has been effectively ensured, has improved the service ability of system, has brought great convenience to user;Further, since the complete decentralization of the video on demand techniques, does not need the deployment of central server, be greatly saved server resource, system maintenance cost further reduced.

Description

A kind of VOD method, device and its relevant device
Technical field
The present invention relates to Internet technical field more particularly to a kind of VOD methods, further relate to a kind of video on demand Unit, another VOD method, server, device, a kind of video on-demand system, computer readable storage medium And computer program product.
Background technique
With network and its rapid growth of user, people increasingly rely on the multimedia application in network to obtain correlation Information.In traditional internet video demand scheme, technology realization all relies on central server and accelerates CDN network (Content Delivery Network, content distributing network).CDN technology is by disposing multiple edges in a big way Server obtains multimedia content with shortest transmission path, therefore, the transmission of communication information require to be based in it is genuinely convinced Business device is realized.However, must will cause what information in the region communicated when the central server in a certain region breaks down Paralysis, brings great inconvenience to user.In addition, CDN technology is a kind of calculating mould for being based on C/S (server-side/client) Formula, for the service ability for guaranteeing system, needs to dispose a large amount of server, is extended to when the quantity of client sharply increases This is high, while will also result in the increase of later maintenance cost.
Therefore, a kind of VOD method of decentralization how is provided, in the service ability that system high efficiency is effectively ensured While, reducing system maintenance cost is those skilled in the art's urgent problem to be solved.
Summary of the invention
The main purpose of the present invention is to provide a kind of VOD method, unit, another video on demand side Method, server, device, a kind of video on-demand system, computer readable storage medium and computer program product, it is intended to existing It needs to realize that video on demand influences system regular traffic when central server breaks down by central server in technology And the higher problem of maintenance cost.
To achieve the above object, the present invention provides a kind of VOD methods, which comprises
Program request instructs the seed file for determining target video file based on the received;
The seed file is sent to agent node, so that the agent node is according to seed file determination The memory node of target video file;Wherein, the agent node and the memory node are distributed hashtable DHT network In arbitrary node;
The target video file is obtained on the memory node;
The target video file is played out.
Preferably, the target video file is deployed on the memory node with the tree-like formula of Merkel.
Preferably, the agent node determines the memory node of the target video file according to the seed file, packet It includes:
The seed file is parsed, the location index of the target video file is obtained;
The memory node is determined according to the location index.
It is preferably, described that the target video file is obtained on the memory node, comprising:
Judge whether the agent node is the memory node;
If the memory node, then the agent node and close on the agent node memory node obtain described in Target video file;
If not the memory node, then the target video text is obtained in the memory node for closing on the agent node Part.
It is preferably, described that the seed file is sent to after agent node, further includes:
The agent node is monitored in real time, when determining that the agent node breaks down, switches the DHT net Normal node in network is the agent node.
Preferably, the normal node in the switching DHT network is the agent node, comprising:
Switch the normal node that failure agent node is closed in the DHT network as the agent node.
To achieve the above object, the present invention provides a kind of video on demand equipment, the equipment includes memory and processing Device is stored with the video on demand program that can be run on the processor on the memory, and the video on demand program is by institute State the step of realizing the method as described in any one of the above when processor executes.
To achieve the above object, the present invention provides a kind of VOD methods, are applied to DHT apparatus for network node, institute The method of stating includes:
Receive the seed file that client is sent based on program request instruction;
The memory node of the corresponding target video file of the seed file is determined according to the seed file;Wherein, institute Stating memory node is the arbitrary node in DHT network;
The corresponding nodal information of the memory node is sent to the client, so that the client is according to the section Point information obtains on the memory node and plays the target video file.
To achieve the above object, the present invention provides a kind of ordering servers, and the server application is in DHT net Network, including memory and processor are stored with the video on demand program that can be run on the processor, institute on the memory State the step of realizing method as described above when video on demand program is executed by the processor.
To achieve the above object, the present invention provides a kind of video on-demand systems, and the system comprises views as described above Frequency Anytime device and ordering server as described above.
To achieve the above object, the present invention provides a kind of computer readable storage medium, the computer-readable storages Video on demand program is stored on medium, the video on demand program can be executed by one or more processors, as above to realize The step of any described VOD method.
To achieve the above object, the present invention provides a kind of computer program product, the computer program product includes Computer instruction, when run on a computer, allow computer execute any of the above-described kind described in video on demand side The step of method.
A kind of VOD method provided by the present invention, including program request instructs determining target video file based on the received Seed file;The seed file is sent to agent node, so that the agent node is determined according to the seed file The memory node of the target video file;Wherein, the agent node and the memory node are DHT (Distributed Hash Table, distributed hashtable) arbitrary node in network;The target video text is obtained on the memory node Part;The target video file is played out.As it can be seen that technical solution provided by the present invention, based on DHT network implementations view Frequency point is broadcast, and video on demand equipment determines the storage location for needing the video file played by the agent node in DHT network, and It obtains video file from the storage location to play out, the characteristic as a result, based on the complete decentralization of DHT network, if currently Realizing that the agent node of video on demand breaks down, any normal node that can be directly switch into network continues to regard Frequency point broadcasts operation, ensure that the continuity of system service, improves the service ability of system, brings greatly just to user Benefit;Further, since the complete decentralization of this kind of video on demand techniques, does not need the deployment of central server, is greatly saved Server resource further reduced system maintenance cost.
A kind of video on demand unit provided by the present invention, another VOD method, server, device, one Kind video on-demand system, computer readable storage medium and computer program product, all have above-mentioned beneficial effect, herein not It repeats again.
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 The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow diagram of first embodiment of the invention;
Fig. 2 is the flow diagram of video file deployment in first embodiment of the invention;
Fig. 3 is the flow diagram that video file obtains in first embodiment of the invention;
Fig. 4 is the flow diagram of second embodiment of the invention;
Fig. 5 is the flow diagram of third embodiment of the invention;
Fig. 6 is the schematic diagram of internal structure for the video on demand equipment that first embodiment of the invention discloses;
Fig. 7 is the schematic diagram of internal structure for the ordering server that third embodiment of the invention discloses.
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
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims Protection scope within.
A kind of VOD method provided by the invention.
Referring to Fig.1, Fig. 1 is the flow diagram of first embodiment of the invention.
In the first embodiment, this method may include:
S10: program request instructs the seed file for determining target video file based on the received;
In general, video on demand realizes the broadcasting of corresponding video file based on seed file, which employs how point-to-points The transmission principle of point, file downloading speed with higher.When user needs to play out some video file, can be transmitted Corresponding program request is instructed to video on demand equipment, which can instruct according to the program request received and determine user institute The seed file of the video file namely above-mentioned target video file that need to play.It wherein, may include corresponding view in seed file All kinds of relevant informations of frequency file, such as video file type information, storage location information.
In addition, the application is without limitation for the acquisition modes of above-mentioned seed file.For example, user can be by seed file It is affixed directly in program request instruction, video on demand equipment parses it after receiving program request instruction, obtains this kind of Ziwen Part.It is situated between in addition it is also possible to which the corresponding description information of seed file is stored in corresponding storage in the form of one-to-one In matter, when user sends program request instruction, the corresponding description information of seed file is additional in program request instruction, by video point It broadcasts equipment and carries out parsing acquisition description information to it, and corresponding kind of Ziwen is transferred in storage medium based on the description information Part.
S11: being sent to agent node for seed file, so that agent node determines target video file according to seed file Memory node;Wherein, agent node and memory node are the arbitrary node in distributed hashtable DHT network;
Specifically, video on demand equipment can send it to the agency being connected with itself after obtaining seed file In node, the memory node of corresponding target video file is determined according to the seed file by the agent node.Wherein, which saves Point and the memory node all can be any one node in DHT network, be that will be deposited for realizing target video file here The node that storage location information obtains is known as agent node, and the node stored for realizing target video file is become storage section Point, therefore, agent node and memory node can be a node, or different node, that is to say, that due to DHT All nodes of the feature of network decentralization, network internal can be used as agent node, also can be used as storage section Point.
It should be noted that all video files including above-mentioned target video file are all to be deployed in DHT in advance In network, for its specific deployment process, it can be realized based on following steps: referring to FIG. 2, Fig. 2 is that the present invention first is implemented The flow diagram of video file deployment in example.Firstly, video file is sent to agent node by client terminal by technical staff, Further, a certain number of wave files are generated according to video file by the agent node, and is diffused into corresponding number Storage is completed in node, completes the deployment of video file in DHT network as a result, and for some video file at some Specific deployment way namely storage mode on node, referring to any one implementation in prior art.Wherein, Above mentioned node is the node in DHT network.
In addition, the quantity of above-mentioned ghost file is not unique, can be made by oneself according to actual needs by technical staff Justice setting, the application are not specifically limited, that is to say, that for the DHT network being made of nodes up to a million, are only taken up therein Part of nodes for realizing video file storage.
Optionally, above-mentioned target video file is deployed on memory node with the tree-like formula of Merkel.
This application provides a kind of deployment way of more specific video file on memory node, i.e., with Merkel tree The form of (Merkle Tree) is disposed.Specifically, Merkel tree can be divided into file, and block, piece three-level, level-one index For file hash, secondary index is block hash, and three level list is piece hash, can be indexed by level-one find second level rope as a result, Draw, three level list is found by secondary index, the storage location of video file is determined by three level list.Further, by video File is divided into fritter, and is stored according to the above form, and the quick diffusion in video file would be more advantageous.
Optionally, above-mentioned agent node determines the memory node of target video file according to seed file, may include pair Seed file is parsed, and the location index of target video file is obtained;Memory node is determined according to location index.
This step is intended to provide the method for determination that a kind of target storage file corresponds to memory node, specifically, agency's section Point can parse it, obtain the location index of above-mentioned target video file, as a result, after obtaining seed file The memory node of target storage file is determined according to the location index.
Corresponding to the deployment way of above-mentioned target video file, when target video file is being stored in the form of Merkel tree When being disposed on node, above-mentioned location index can be the root hash (root hash) of Merkel tree, i.e., above-mentioned file Hash, that is to say, that seed file only records file hash, without recording all pieces of hash list.Further, it acts on behalf of Node can index step by step according to the file hash that parsing obtains, to obtain target video file.
S12: target video file is obtained on memory node;
This step aims at the acquisition to target video file, specifically, in the storage for determining target video file After node, target video file can be obtained, on the memory node to complete subsequent video playing.
Optionally, the above-mentioned target video file that obtains on memory node may include judging whether agent node is storage Node;If memory node, then target video file is obtained with the memory node for closing on agent node in agent node;If not Memory node then obtains target video file in the memory node for closing on agent node.
As noted previously, as the feature of DHT network decentralization, all nodes of network internal can be used as agency Node also can be used as memory node, and therefore, agent node first may be used after the memory node for determining target video file Judge whether itself can be memory node, judge whether itself can be for memory node here, due to target video text Part is stored on multiple memory nodes in the form of wave file, and therefore, which may be multiple memory nodes In one.Further, the target video file itself is stored with when determining, i.e., agent node is also to be stored with target video text When the memory node of part, then the target video file cocurrent directly can be obtained from itself and other memory nodes and sent to video Anytime device, certainly, to guarantee video on demand efficiency, can from the immediate memory node of the agent node namely above-mentioned face Target video file is obtained on the memory node of nearly agent node;When determine itself it is not stored have target video file, that is, act on behalf of Node is not when being stored with the memory node of target video file, then any one is stored with target video text from DHT network File destination is obtained on the memory node of part, and is forwarded to video on demand equipment.Further, it is similarly guarantee video on demand Efficiency can also obtain target video file from the memory node for close on the agent node.In addition, for the above deterministic process, It can be determined based on the location index in above-mentioned alternative embodiment.
S13: target video file is played out.
This step aims at the broadcasting to target video file, video on demand equipment obtain target video file it Afterwards, directly it is played out.
Further, it is based on above-mentioned S10 to S13, referring to FIG. 3, Fig. 3 is that video file obtains in first embodiment of the invention Flow diagram.Specifically, video on demand equipment after obtaining seed file, can determine this kind of Ziwen by agent node The memory node of the corresponding target video file of part, and target video file is pulled from memory node, to realize that video is broadcast It puts.
VOD method provided by the present embodiment, based on DHT network implementations video on demand, video on demand equipment is logical The agent node crossed in DHT network determines the storage location for needing the video file played, and obtains video from the storage location File plays out, the characteristic as a result, based on the complete decentralization of DHT network, if currently realizing the generation of video on demand Nodes break down is managed, any normal node that can be directly switch into network continues video on demand operation, ensure that and be The continuity of system service, improves the service ability of system, brings great advantage to the user;Further, since this kind regards Frequency point broadcasts the complete decentralization of technology, does not need the deployment of central server, is greatly saved server resource, further drops Low system maintenance cost.
With reference to Fig. 4, Fig. 4 is the flow diagram of second embodiment provided by the present invention.
In a second embodiment, this method may include:
S20: program request instructs the seed file for determining target video file based on the received;
S21: seed file is sent to agent node;
S22: monitoring agent node in real time, judges whether agent node breaks down;If so, S23 is executed, if It is no, then execute S24;
S23: the normal node in switching DHT network is agent node;
S24: agent node determines the memory node of target video file according to seed file;
S25: target video file is obtained on memory node;
S26: target video file is played out.
It should be noted that in the present embodiment except S22 and S23 other steps with reference to the S10 of first embodiment extremely S13, particular content refer to first embodiment, mainly S22 and S23 are specifically described below.
It in the present embodiment, can be to the operating status of the agent node after seed file is sent to agent node It is monitored in real time, in order to which node replacement can be carried out in time when acting on behalf of nodes break down, to guarantee system service not Discontinuity.Specifically, being monitored in real time to agent node, when determining that agent node runs on normal condition, i.e., without section When point failure, the determination that S24 carries out target video document storing section point can be directly executed, and when determining agent node breaks down When, then node switching is carried out immediately, any one of all service switchings of the failure agent node into DHT network is normal Node.
Optionally, the normal node in above-mentioned switching DHT network is agent node, may include facing in switching DHT network The normal node of nearly failure agent node is as agent node.
Specifically, can preferentially be selected for the continuity of system business is further effectively ensured when carrying out node replacement The normal node nearest apart from above-mentioned failure agent node namely the above-mentioned normal node for closing on failure agent node are as new Agent node continues to execute original business on failure agent node.
Optionally, above-mentioned after determining that agent node breaks down, alarm command can also be further issued to correspondence Warning device alarm, malfunctioning node is repaired with timely notification technique personnel, to guarantee the normal fortune of system Row.
Technical solution provided by the present embodiment, on the basis of being based on DHT network implementations video on demand, when generation node When failure, current business can be immediately switched to continue in normal node, the continuity of system service has been effectively ensured, The service ability of system is further improved, is brought great advantage to the user.
Another kind VOD method provided by the invention.
It is the flow diagram of third embodiment of the invention referring to Fig. 5, Fig. 5.
In the third embodiment, this method is applied to DHT apparatus for network node, may include:
S30: the seed file that client is sent based on program request instruction is received;
S31: the memory node of the corresponding target video file of seed file is determined according to seed file;Wherein, storage section Point is the arbitrary node in DHT network;
S32: the corresponding nodal information of memory node is sent to client, so that client is being stored according to nodal information It is obtained on node and plays target video file.
The present embodiment is intended to realize video on demand based on DHT apparatus for network node, corresponding to the agency in above-described embodiment Node.Specifically, when DHT apparatus for network node receives the seed that client (corresponding to above-mentioned video on demand equipment) is sent When file, the storage location of its corresponding target storage file can be determined according to the relevant information in the seed file, namely Above-mentioned memory node, certainly, the memory node are identical as DHT apparatus for network node, are in DHT network.Further, true After the memory node for the storage file that sets the goal, the relevant information of the memory node namely above-mentioned nodal information can be fed back to Client, in order to which client obtains target video file according to nodal information on its corresponding memory node and completes to broadcast It puts.Wherein, above-mentioned seed file is that the program request instruction received by client based on itself is obtained.
For VOD method provided by the embodiment of the present application, specific implementation process can refer to above-mentioned each implementation Example, the application is not reinflated herein to be repeated.
VOD method provided by the present embodiment, based on DHT network implementations video on demand, since DHT network is complete The characteristic of full decentralization can be directly switch into network if currently realizing that the agent node of video on demand breaks down Interior any normal node equipment continues video on demand operation, ensure that the continuity of system service, improves system Service ability, bring great advantage to the user;Further, since the complete decentralization of this kind of video on demand techniques, is not required to The deployment for wanting central server, is greatly saved server resource, further reduced system maintenance cost.
A kind of video on demand equipment provided by the invention.
It is the schematic diagram of internal structure for the video on demand equipment that first embodiment of the invention discloses referring to Fig. 6, Fig. 6.
In the present embodiment, video on demand equipment 1 can be PC (PersonalComputer, PC), can also be with It is smart phone, tablet computer, palm PC, portable computer, intelligent router, mine machine, network storage equipment terminal device.
The video on demand equipment 1 may include memory 11, processor 12 and bus 13.
Wherein, memory 11 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory, Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11 It can be the internal storage unit of video on demand equipment 1, such as the hard disk of the video on demand equipment 1 in some embodiments.It deposits Reservoir 11 is also possible in further embodiments on the External memory equipment of video on demand equipment 1, such as video on demand equipment 1 The plug-in type hard disk of outfit, 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 the storage inside of video on demand equipment 1 Unit also includes External memory equipment.Memory 11 can be not only used for the application software that storage is installed on video on demand equipment 1 And Various types of data, such as the code of video on demand program etc., it can be also used for temporarily storing and exported or will export Data.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11 Code or processing data, such as execute video on demand program etc..
The bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA) Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 6 only with one slightly Line indicates, it is not intended that an only bus or a type of bus.
Further, video on demand equipment 1 can also include network interface, and network interface optionally may include wired connects Mouth and/or wireless interface (such as WI-FI interface, blue tooth interface), commonly used in being set in the video on demand equipment 1 with other electronics Communication connection is established between standby.
Optionally, which can also include user interface, and user interface may include display (Display), input unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface, Wireless interface.Optionally, in some embodiments, it is aobvious to can be light-emitting diode display, liquid crystal display, touch control type LCD for display Show that device and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..Wherein, display Appropriate it can also be known as display screen or display unit, for being shown in the information handled in video on demand equipment 1 and being used for Show visual user interface.
Fig. 6 illustrates only the video on demand equipment 1 with component 11-13 and video on demand program, those skilled in the art Member may include less than illustrating it is understood that the structure shown in Fig. 6 does not constitute the restriction to video on demand equipment 1 Perhaps more components perhaps combine certain components or different component layouts.
A kind of ordering server provided by the invention.
It is the schematic diagram of internal structure for the ordering server that third embodiment of the invention discloses with reference to Fig. 7, Fig. 7.
The ordering server 2 may include memory 21, processor 22 and bus 23.
Wherein, memory 21 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory, Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 21 It can be the internal storage unit of ordering server 2 in some embodiments, such as the ordering server 1 is hard Disk.Memory 21 is also possible to the External memory equipment of ordering server 2, such as video on demand in further embodiments The plug-in type hard disk being equipped on server 2, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, memory 21 can also both include video-on-demand service The internal storage unit of device 2 also includes External memory equipment.Memory 21 can be not only used for storage and be installed on video on demand clothes The application software and Various types of data, such as the code of video on demand program etc. of business device 2, can be also used for temporarily storing defeated Out or the data that will export.
Processor 22 can be in some embodiments a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 21 Code or processing data, such as execute video on demand program etc..
The bus 23 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA) Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 7 only with one slightly Line indicates, it is not intended that an only bus or a type of bus.
Further, ordering server 2 can also include network interface, and network interface optionally may include wired Interface and/or wireless interface (such as WI-FI interface, blue tooth interface), commonly used in the ordering server 2 and other electricity Communication connection is established between sub- equipment.
Optionally, which can also include user interface, and user interface may include display (Display), input unit such as keyboard (Keyboard), optional user interface can also include standard wireline interface, Wireless interface.Optionally, in some embodiments, it is aobvious to can be light-emitting diode display, liquid crystal display, touch control type LCD for display Show that device and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..Wherein, display Appropriate it can also be known as display screen or display unit, for being shown in the information and use that handle in ordering server 2 In the visual user interface of display.
Fig. 7 is illustrated only with component 21-23 and the ordering server of video on demand program 2, art technology Personnel may include than diagram it is understood that the structure shown in Fig. 7 does not constitute the restriction to ordering server 2 Less perhaps more components perhaps combine certain components or different component layouts.
The embodiment of the present invention also provides a kind of computer readable storage medium, video point on the computer readable storage medium Program is broadcast, which can be executed by one or more processor, to realize as described in any of the above embodiment The step of VOD method.
The embodiment of the present invention also provides a kind of computer program product, which includes computer instruction, When run on a computer, computer is allowed to execute the step of VOD method described in any of the above-described embodiment Suddenly.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead Body medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the equipment of foregoing description It with the specific work process of system, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed equipment, system and method can be with It realizes by another way.For example, system embodiment described above is only schematical, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of equipment or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element Or there is also other identical elements in method.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (12)

1. a kind of VOD method, which is characterized in that the described method includes:
Program request instructs the seed file for determining target video file based on the received;
The seed file is sent to agent node, so that the agent node determines the target according to the seed file The memory node of video file;Wherein, the agent node and the memory node are in distributed hashtable DHT network Arbitrary node;
The target video file is obtained on the memory node;
The target video file is played out.
2. the method as described in claim 1, which is characterized in that the target video file is deployed in institute with the tree-like formula of Merkel It states on memory node.
3. method according to claim 2, which is characterized in that the agent node determines the mesh according to the seed file Mark the memory node of video file, comprising:
The seed file is parsed, the location index of the target video file is obtained;
The memory node is determined according to the location index.
4. the method as described in claim 1, which is characterized in that described to obtain the target video text on the memory node Part, comprising:
Judge whether the agent node is the memory node;
If the memory node, then the target is obtained with the memory node for closing on the agent node in the agent node Video file;
If not the memory node, then the target video file is obtained in the memory node for closing on the agent node.
5. the method as described in Claims 1-4 any one, which is characterized in that described that the seed file is sent to generation After reason node, further includes:
The agent node is monitored in real time, when determining that the agent node breaks down, is switched in the DHT network Any normal node be the agent node.
6. method as claimed in claim 5, which is characterized in that the normal node in the switching DHT network is described Agent node, comprising:
Switch the normal node that failure agent node is closed in the DHT network as the agent node.
7. a kind of VOD method, which is characterized in that be applied to DHT apparatus for network node, which comprises
Receive the seed file that client is sent based on program request instruction;
The memory node of the corresponding target video file of the seed file is determined according to the seed file;Wherein, described to deposit Storing up node is the arbitrary node in DHT network;
The corresponding nodal information of the memory node is sent to the client, so that the client is believed according to the node Breath obtains on the memory node and plays the target video file.
8. a kind of video on demand equipment, which is characterized in that the equipment includes memory and processor, is stored on the memory There is the video on demand program that can be run on the processor, is realized such as when the video on demand program is executed by the processor The step of method described in claim 1 to 6 any one.
9. a kind of ordering server, which is characterized in that the server application is in DHT network, including memory and processing Device is stored with the video on demand program that can be run on the processor on the memory, and the video on demand program is by institute It states when processor executes and realizes step the method for claim 7.
10. a kind of video on-demand system, which is characterized in that the system comprises video on demand equipment as claimed in claim 8 With ordering server as claimed in claim 9.
11. a kind of computer readable storage medium, which is characterized in that be stored with video point on the computer readable storage medium Program is broadcast, the video on demand program can be executed by one or more processors, to realize such as any one of claims 1 to 6 The step of VOD method described in the step of described VOD method and/or claim 7.
12. a kind of computer program product, which is characterized in that including computer instruction, when run on a computer, so that Computer can execute the step of VOD method described in any one of the claims 1 to 6 and/or claim 7 Described in VOD method the step of.
CN201811482799.7A 2018-12-05 2018-12-05 A kind of VOD method, device and its relevant device Pending CN109600683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811482799.7A CN109600683A (en) 2018-12-05 2018-12-05 A kind of VOD method, device and its relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811482799.7A CN109600683A (en) 2018-12-05 2018-12-05 A kind of VOD method, device and its relevant device

Publications (1)

Publication Number Publication Date
CN109600683A true CN109600683A (en) 2019-04-09

Family

ID=65961232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811482799.7A Pending CN109600683A (en) 2018-12-05 2018-12-05 A kind of VOD method, device and its relevant device

Country Status (1)

Country Link
CN (1) CN109600683A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213662A (en) * 2019-07-09 2019-09-06 金明晔 A kind of VOD method, server, client and video on-demand system
CN110489279A (en) * 2019-08-27 2019-11-22 深圳市网心科技有限公司 A kind of duplicate of the document maintaining method and relevant apparatus
CN110855784A (en) * 2019-11-15 2020-02-28 深圳市网心科技有限公司 Proxy server node selection method, electronic device, system and medium
CN111447265A (en) * 2020-03-24 2020-07-24 深圳市网心科技有限公司 File storage method, file downloading method, file processing method and related components
CN111970358A (en) * 2020-08-14 2020-11-20 深圳市网心科技有限公司 Decentralized cloud computing platform, service deployment method, service access method and components
CN112272196A (en) * 2020-03-09 2021-01-26 上海曼恒数字技术股份有限公司 Method and system for removing server by system
CN112449248A (en) * 2019-08-28 2021-03-05 杭州海康威视系统技术有限公司 Video data on demand method and device and video on demand node

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2290912A1 (en) * 2008-05-30 2011-03-02 ZTE Corporation Content distributing method, service redirecting method and system, node device
WO2011122912A2 (en) * 2010-04-02 2011-10-06 삼성전자 주식회사 Method and system for managing an encryption key for a broadcasting service
CN102833169A (en) * 2012-09-04 2012-12-19 桂林电子科技大学 Peer-to-peer network target resource location method of constant complexity
CN105681209A (en) * 2016-03-28 2016-06-15 深圳市双赢伟业科技股份有限公司 Router-based instruction processing method and router
CN107819802A (en) * 2016-09-13 2018-03-20 华为软件技术有限公司 A kind of mirror image acquisition methods, node device and server in node cluster

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2290912A1 (en) * 2008-05-30 2011-03-02 ZTE Corporation Content distributing method, service redirecting method and system, node device
WO2011122912A2 (en) * 2010-04-02 2011-10-06 삼성전자 주식회사 Method and system for managing an encryption key for a broadcasting service
CN102833169A (en) * 2012-09-04 2012-12-19 桂林电子科技大学 Peer-to-peer network target resource location method of constant complexity
CN105681209A (en) * 2016-03-28 2016-06-15 深圳市双赢伟业科技股份有限公司 Router-based instruction processing method and router
CN107819802A (en) * 2016-09-13 2018-03-20 华为软件技术有限公司 A kind of mirror image acquisition methods, node device and server in node cluster

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213662A (en) * 2019-07-09 2019-09-06 金明晔 A kind of VOD method, server, client and video on-demand system
CN110489279A (en) * 2019-08-27 2019-11-22 深圳市网心科技有限公司 A kind of duplicate of the document maintaining method and relevant apparatus
CN112449248A (en) * 2019-08-28 2021-03-05 杭州海康威视系统技术有限公司 Video data on demand method and device and video on demand node
CN110855784A (en) * 2019-11-15 2020-02-28 深圳市网心科技有限公司 Proxy server node selection method, electronic device, system and medium
CN112272196A (en) * 2020-03-09 2021-01-26 上海曼恒数字技术股份有限公司 Method and system for removing server by system
CN111447265A (en) * 2020-03-24 2020-07-24 深圳市网心科技有限公司 File storage method, file downloading method, file processing method and related components
CN111970358A (en) * 2020-08-14 2020-11-20 深圳市网心科技有限公司 Decentralized cloud computing platform, service deployment method, service access method and components

Similar Documents

Publication Publication Date Title
CN109600683A (en) A kind of VOD method, device and its relevant device
CN106484858A (en) Hot Contents method for pushing and device
CN106487911A (en) A kind of method of data synchronization, device and system
CN109995866A (en) Distributed document method of calibration, device, computer installation and storage medium
CN106453576B (en) A kind of exchange method, system and control centre based on mixing cloud platform
CN109684036A (en) A kind of container cluster management method, storage medium, electronic equipment and system
CN109634915A (en) File dispositions method, Cloud Server, system and storage medium
CN109246741A (en) Wireless network connecting method for terminal
CN103647870A (en) Terminal and terminal expression display method
CN104967873A (en) Streaming live scheduling method, system and scheduling server
WO2017107831A1 (en) Application based broadcasting method, device and electronic device
CN110213662A (en) A kind of VOD method, server, client and video on-demand system
CN109618174A (en) A kind of live data transmission method, device, system and storage medium
CN109729116A (en) Transmission method, device, storage medium and the electronic device of plugin information
CN109600373A (en) A kind of live data transmission method, device, system and readable storage medium storing program for executing
CN109257255A (en) A kind of flux monitoring method, phone wrist-watch, server and mobile terminal
CN110417789A (en) Server connection method, electronic equipment, system and medium
CN110290009A (en) A kind of data dispatching method, device and computer readable storage medium
CN109639801A (en) Back end distribution and data capture method and system
CN112217727B (en) Multi-metric-dimension routing method and device, computer equipment and storage medium
CN104869445A (en) A method for realizing content sharing between intelligent terminals based on a cloud system and the cloud system
CN110365771A (en) A kind of data capture method, device, system and computer readable storage medium
CN101448136B (en) Method for realizing video on-demand function and system thereof
CN104967879B (en) Video broadcasting method and device
CN110430290A (en) Resource address update method, computer installation 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190409