CN109672911A - A kind of method for processing video frequency and device - Google Patents

A kind of method for processing video frequency and device Download PDF

Info

Publication number
CN109672911A
CN109672911A CN201910016824.0A CN201910016824A CN109672911A CN 109672911 A CN109672911 A CN 109672911A CN 201910016824 A CN201910016824 A CN 201910016824A CN 109672911 A CN109672911 A CN 109672911A
Authority
CN
China
Prior art keywords
client
sinking
broadcast
row table
video
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.)
Granted
Application number
CN201910016824.0A
Other languages
Chinese (zh)
Other versions
CN109672911B (en
Inventor
秦建华
张强
唐宁
张腾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910016824.0A priority Critical patent/CN109672911B/en
Publication of CN109672911A publication Critical patent/CN109672911A/en
Application granted granted Critical
Publication of CN109672911B publication Critical patent/CN109672911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Abstract

The embodiment of the invention provides a kind of method for processing video frequency and devices, are related to technical field of information processing, video are watched under the scene of densely populated place to solve user, since the phenomenon that video cardton occurs in network bandwidth deficiency.The scheme of the embodiment of the present invention includes: the query messages for receiving source station and sending, the internet protocol address of query messages carrying client, then it is searched according to the IP address of client and locally broadcasts single-row table, the video information downloaded in single-row table including sinking node is locally broadcast, sinking node and client belong to same local area network.Then it broadcasts single server and broadcasts single-row table to source station transmission is local, so that source station includes locally broadcasting the page info of single-row table to client push.

Description

A kind of method for processing video frequency and device
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of method for processing video frequency and device.
Background technique
In the scene that the users such as hotel, market, airport, high-speed rail concentrate, user is larger to the demand of network bandwidth, so And the bandwidth of the access outer net provided in these scenes for user is limited, and user is caused to watch in these scenes by network Video is easy to appear the phenomenon that Caton.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of method for processing video frequency and device, to solve user in densely populated place Scene under watch video, since there is the phenomenon that video cardton in network bandwidth deficiency.Specific technical solution is as follows:
In a first aspect, the embodiment of the present application provides a kind of method for processing video frequency, the method is applied to broadcast single server, institute The method of stating includes:
The query messages that source station is sent are received, the query messages carry the internet protocol address of client;
It is searched according to the IP address of the client and locally broadcasts single-row table, it includes sinking node in single-row table that the local, which is broadcast, The video information downloaded, the sinking node and the client belong to same local area network;
The local is sent to the source station and broadcasts single-row table, so that the source station includes described to the client push Locally broadcast the page info of single-row table.
In one possible implementation, described searched according to the IP address of the client locally broadcasts single-row table, wraps It includes:
According to the IP address of the client determine the client belonging to coverage;
Determine that single-row table is broadcast in the corresponding local of sinking node in the coverage.
In one possible implementation, the method also includes:
It receives and broadcasts the sinking episode information that menu manager backstage is sent, the sinking episode information includes that sinking node is to be downloaded Video information;
The sinking episode information is sent to distribution synchronized clusters, so that the distribution synchronized clusters are according to the sinking Episode information notifies sinking node foradownloaded video;
Receive download state of the sinking node to video of the distribution synchronized clusters feedback;
Single-row table is broadcast according to the download state generation sinking node received is corresponding, the sinking node is corresponding Broadcast in single-row table includes that the sinking node has been downloaded into local video information.
Second aspect, the embodiment of the present application provide a kind of method for processing video frequency, and the method is applied to client, the side Method includes:
Accessing page request message is sent to source station;
It receives the page info that the source station is sent, and the page is shown according to the page info, in the page info Single-row table is broadcast including local, it includes the video downloaded by sinking node in single-row table that the local, which is broadcast,.
In one possible implementation, after the display page according to the page info, the method is also Include:
The playing request of the designated in single-row table is broadcast to the local to scheduler dispatches, the playing request carries The IP address of the client;
Receive the IP address for the sinking node for the client service of the scheduler dispatches;
The designated is obtained from the sinking node, and plays the designated.
The third aspect, the embodiment of the present application provide a kind of video process apparatus, and described device is applied to broadcast single server, institute Stating device includes:
Receiving module, for receiving the query messages of source station transmission, the query messages carry the internet protocol of client Discuss IP address;
Searching module locally broadcasts single-row table for searching according to the IP address of the client, and single-row table is broadcast in the local In include the video information downloaded of sinking node, the sinking node and the client belong to same local area network;
Sending module broadcasts single-row table for sending the local that the searching module is found to the source station, so that The source station to the client push include page info that single-row table is broadcast in the local.
In one possible implementation, the searching module, is specifically used for:
According to the IP address of the client determine the client belonging to coverage;
Determine that single-row table is broadcast in the corresponding local of sinking node in the coverage.
In one possible implementation, described device further include: generation module;
The receiving module is also used to receive and broadcasts the sinking episode information that menu manager backstage is sent, the sinking collection of drama letter Breath includes sinking node video information to be downloaded;
The sending module is also used to send the sinking collection of drama letter that the receiving module receives to distribution synchronized clusters Breath, so that the distribution synchronized clusters notify sinking node foradownloaded video according to the sinking episode information;
The receiving module is also used to receive downloading of the sinking node of the distribution synchronized clusters feedback to video State;
Generation module, download state for being received according to the receiving module generate that the sinking node is corresponding to be broadcast Single-row table, corresponding broadcast in single-row table of the sinking node includes that the sinking node has been downloaded into local video information.
Fourth aspect, the embodiment of the present application provide a kind of video process apparatus, and described device is applied to client, the dress It sets and includes:
Sending module, for sending accessing page request message to source station;
Receiving module, the page info sent for receiving the source station, and the page, institute are shown according to the page info Stating in page info includes locally broadcasting single-row table, and it includes the video downloaded by sinking node in single-row table that the local, which is broadcast,.
In one possible implementation, described device further include: playing module;
The sending module, the broadcasting for broadcasting the designated in single-row table to the local to scheduler dispatches are asked It asks, the playing request carries the IP address of the client;
The receiving module is also used to receive the sinking node for being the client service of the scheduler dispatches IP address;
The playing module for obtaining the designated from the sinking node, and plays the designated.
5th aspect, the embodiment of the present application provide one kind and broadcast single server, and it includes: processor and machine that this, which broadcasts single server, Readable storage medium storing program for executing, the machine readable storage medium are stored with the machine-executable instruction that can be executed by the processor, The processor is promoted by the machine-executable instruction: realizing method described in first aspect.
6th aspect, the embodiment of the present application provide a kind of client, which includes: processor and machine readable storage Medium, the machine readable storage medium are stored with the machine-executable instruction that can be executed by the processor, the processing Device is promoted by the machine-executable instruction: realizing method described in second aspect.
7th aspect, the embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable storages Dielectric memory contains computer program, and institute in first aspect or second aspect is realized when the computer program is executed by processor The method stated.
Eighth aspect, the embodiment of the present application also provides a kind of computer program products comprising instruction, when it is being calculated When being run on machine, so that computer executes method described in above-mentioned first aspect or second aspect.
9th aspect, the embodiment of the present application provide a kind of processing system for video, which includes visitor described in above-mentioned aspect Family end, source station broadcast single server, broadcast menu manager backstage, scheduler, distribution synchronized clusters and sinking node;Optionally, the system This may include static CDN and dispatching platform.
Using video provided by the embodiments of the present application handle method, broadcast single server receive source station transmission inquiry disappear After breath, can be searched according to the IP address of client it is local broadcast single-row table, and to source station send it is local broadcast single-row table so that source station to Client push includes the local page info for broadcasting single-row table.After client display locally broadcasts single-row table, user can be clicked The video that the local is broadcast in single-row table is watched, and has been downloaded by sinking node due to locally broadcasting the video for including in single-row table, And sinking node and client belong to same local area network, so client can be obtained by local area network and play view for user Frequently, video is loaded without accessing external network, so the limitation of network bandwidth will not watch user local broadcast in single-row table Video have an impact, can solve user and watch video under the scene of densely populated place, due to network bandwidth deficiency occur The phenomenon that video cardton.
Certainly, implement any of the products of the present invention or method it is not absolutely required at the same reach all the above excellent Point.
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 It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of processing system for video provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of method for processing video frequency provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another method for processing video frequency provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another method for processing video frequency provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of video process apparatus provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another video process apparatus provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram for broadcasting single server provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of client provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The method of video processing provided in an embodiment of the present invention is applied in processing system for video as shown in Figure 1, the view Include client in frequency processing system, static content distribution network (Content Delivery Network, CDN), source station, broadcast Single server broadcasts menu manager backstage, scheduler, dispatching platform, distribution synchronized clusters and sinking node.
Wherein, client can be hypertext markup language (Hyper Text Markup Language, HTML) 5 clients End, wechat small routine or video application (Application, APP), for displaying for a user the page of video website, And the video for playing user's selection.
Level-one cache in static CDN can be used as acceleration agency, and the page for accelerating client to send to source station is visited Ask request.
Source station is used to provide the broadcasting page for client, and broadcasts single-row table.
Source station in the embodiment of the present application is specifically as follows HTML5 web page server.
Broadcasting operation in single server includes collection of drama sinking service module and sinking content search module.
Wherein, collection of drama sinking service module for notifying distribution synchronized clusters to need the episode information of sinking, and receives and divides The sinking state of the sinking node of synchronized clusters feedback is sent out, to generate sinking node according to sinking state and locally broadcast single-row table Corresponding relationship.Locally broadcast the video information downloaded in single-row table including sinking node.
Sinking content search module, for searching client according to sinking node and the local corresponding relationship for broadcasting single-row table Single-row table is broadcast in addressable local, and provides the local for the corresponding source station of client and broadcast single-row table.
Menu manager backstage is broadcast, collection of drama browsing, sinking querying node can be provided for operation maintenance personnel, by Internet data center (Internet Data Center, IDC) carries out collection of drama sinking and carries out the functions such as collection of drama sinking by region.
Wherein, it carries out sinking to referring to by IDC: the episode information that operation maintenance personnel selects each sinking node that can sink, then Each sinking node is notified to carry out play according to the episode information that can respectively sink respectively by broadcasting menu manager backstage and broadcasting single server Collection sinks.
Carry out collection of drama sinking by region to refer to: then the episode information that operation maintenance personnel selects each coverage that can sink leads to Crossing to broadcast menu manager backstage and broadcast single server notifies the sinking node in each coverage to carry out collection of drama sinking according to episode information.
It should be noted that the collection of drama in the embodiment of the present invention sinks to referring to the video download by episode information instruction under Heavy node.
Sinking nodal information, the Internet protocol library (Internet Protocol, IP) and area are stored in dispatching platform Domain policy.
Wherein, the client ip address for including in each coverage is stored in the library IP.
Under regional strategy is used to indicate the corresponding sinking node in each coverage, such as A corresponding sinking node in hotel is Heavy node A.
Scheduler is specifically as follows CDN scheduler, the information stored in available dispatching platform, and is believed according to these Cease the sinking node that determination can be client service.
Distribution synchronized clusters are used for after receiving the episode information for broadcasting single server transmission, determine video to be sunk Uniform resource locator (Uniform Resource Locator, URL), sends these URL to sinking equipment, so that sinking Equipment is according to these URL foradownloaded videos.
Foradownloaded video is provided video for client and broadcast by the URL that sinking equipment is used to be provided according to distribution synchronized clusters The service of putting.
Based on processing system for video shown in FIG. 1, the embodiment of the present application provides a kind of method for processing video frequency, is applied to Fig. 1 Broadcast single server, as shown in Fig. 2, this method comprises:
S201, the query messages that source station is sent are received, query messages carry the IP address of client.
Wherein, when user opens client by modes such as barcode scannings, it can trigger client and asked to source station transmission page access Seek message.Specifically, the agency that static CDN can be used as client to send accessing page request message, and static state CDN to source station It is added to X-Forwarded-For request header for accessing page request message, so that after source station receives the page request message, The available real IP address to client.And then the inquiry to the real IP address for broadcasting single server transmission carrying client Message, query messages are for requesting the inquiry available local of the client to broadcast single-row table.
S202, it is searched according to the IP address of client and locally broadcasts single-row table.
Specifically, the sinking content search module broadcast in single server can be by the IP address institute of scheduler inquiring client terminal The coverage of category, and determine the sinking node in the coverage.Then according to sinking node and local pair for broadcasting single-row table It should be related to, determine that single-row table is broadcast in the corresponding local of sinking node in the coverage.
Illustratively, broadcasting single server can determine that client belongs to the local area network of hotel A according to the IP address of client, Then it determines that there is sinking node 1 in the coverage, and then obtains the corresponding local of sinking node 1 and broadcast single-row table.
In alternatively possible implementation, IP address and the local of each client can be pre-generated by broadcasting single server The corresponding relationship of single-row table is broadcast, and then broadcast single server to search the corresponding local of IP address of client according to the corresponding relationship Broadcast single-row table.
Wherein, it locally broadcasts the video for including in single-row table to be downloaded by sinking node, sinking node and client belong to together One local area network.I.e. client can obtain by local area network and play the video in sinking node, without being added by external network Carry video.
S203, it is sent to source station and locally broadcasts single-row table, so that source station includes locally broadcasting single-row table to client push Page info.
Optionally, it after source station receives and locally broadcasts single-row table, can be asked according to single-row table rendering page access is locally broadcast The page of message request access is sought, and sends the page info of the page to client, so that client is according to page info It shows the page, includes locally broadcasting single-row table in the page.
Wherein, source station can render the HTML5 page according to single server is broadcast, and local broadcast in single-row table is specifically included in the page Each video information, such as information such as title, poster, brief introduction of each video.After client receives the HTML5 page, i.e., It can show the HTML5 page.
Using video provided by the embodiments of the present application handle method, broadcast single server receive source station transmission inquiry disappear After breath, can be searched according to the IP address of client it is local broadcast single-row table, and to source station send it is local broadcast single-row table so that source station to Client push includes the local page info for broadcasting single-row table.After client display locally broadcasts single-row table, user can be clicked The video that the local is broadcast in single-row table is watched, and has been downloaded by sinking node due to locally broadcasting the video for including in single-row table, And sinking node and client belong to same local area network, so client can be obtained by local area network and play view for user Frequently, video is loaded without accessing external network, so the limitation of network bandwidth will not watch user local broadcast in single-row table Video have an impact, can solve user and watch video under the scene of densely populated place, due to network bandwidth deficiency occur The phenomenon that video cardton.
It should be noted that in order to enable client can get the local view broadcast in single-row table from sinking node Frequently, it needs in advance to sink to video in sinking node in the embodiment of the present invention, that is, needs that sinking node is made to download local broadcast in advance Video in single-row table, detailed process are as follows:
It broadcasts single server and receives the sinking episode information for broadcasting the transmission of menu manager backstage, sinking episode information includes sinking node Then video information to be downloaded broadcasts single server to distribution synchronized clusters and sends the sinking episode information, so that distribution synchronizes Cluster notifies sinking node foradownloaded video according to sinking episode information.
Wherein, distribution synchronized clusters can determine the URL of video to be downloaded according to sinking episode information, and to sinking node These URL are pushed, so that sinking node is according to URL foradownloaded video, it can be to distribution synchronized clusters after sinking node foradownloaded video Feed back the download state to video.
And then it broadcasts single server and can receive download state of the sinking node of distribution synchronized clusters feedback to video, Jin Ergen Generate that sinking node is corresponding to broadcast single-row table according to the download state that receives.
Wherein, sinking node is corresponding broadcasts the video information downloaded in single-row table including sinking node.
It is understood that client can have been downloaded by sinking node after client display locally broadcasts single-row table Video be user play video, be based on this, the embodiment of the present application also provides clients to obtain video from sinking node Method, this method are applied to client, as shown in figure 3, this method comprises:
S301, client send accessing page request message to source station.
Wherein, client specifically can send accessing page request message to source station by static CDN, and static CDN is the page Access request message is added to the IP address of client.
It is understood that after source station receives accessing page request message the client can be searched by broadcasting single server Addressable local is held to broadcast single-row table.
S302, client receive the page info that source station is sent, and show the page according to page info.
It wherein, include locally broadcasting single-row table in page info, locally broadcasting includes having been downloaded by sinking node in single-row table Video.
S303, client are to scheduler dispatches to the local playing request for broadcasting the designated in single-row table.
Wherein, playing request carries the IP address of client.
It is understood that after client display locally broadcasts single-row table, if user clicks local one broadcast in single-row table The broadcast button of a video, then client can send playing request to single server is broadcast.
After scheduler receives playing request, it may be determined that coverage belonging to the IP address of client, and then searching should Sinking node in coverage, so that it is determined that the sinking node in the coverage is for the sinking section for client service Point.
S304, the IP address for the sinking node for client service for receiving scheduler dispatches.
S305, designated is obtained from sinking node, and play the designated.
As it can be seen that if user wants, viewing is local to be broadcast in single-row table in this way, client, which can be shown, locally broadcasts single-row table Video, client can obtain video by sinking node when playing video, due to client and target sinking node Belong to the same local area network, so client is not necessarily to load video by access outer net, so the stream of client terminal playing video Smooth degree is not limited by network bandwidth.And video cardton caused by source can be returned to avoid CDN using this method, directly from sinking node Obtaining video can be improved the fluency of video playing, and the video playing experience of very fast high definition can be provided for user.
It is introduced below in conjunction with entire flow of the concrete scene to method for processing video frequency provided by the embodiments of the present application, such as Shown in Fig. 4, this method comprises:
S401, menu manager backstage is broadcast to the collection of drama sinking service module transmission sinking episode information broadcast in single server.
Wherein, sinking episode information includes sinking node video information to be downloaded, is specifically as follows hot spot film, TV Acute or variety show etc..
Optionally, broadcasting single server can also provide emphasis episode list to single tube platform is broadcast, in order to which operation maintenance personnel is logical It crosses and broadcasts the collection of drama that the selection of menu manager backstage is sunk.
S402, collection of drama sinking service module send sinking episode information to distribution synchronized clusters.
S403, distribution synchronized clusters send the URL of video to be downloaded to sinking node, so that sinking node is according to URL Foradownloaded video.
Wherein, a sinking node is schematically illustrated in Fig. 4, certain the application is without being limited thereto, actual deployment process In can be arranged according to actual needs.
S404, distribution synchronized clusters send sinking state to collection of drama sinking service module.
Sinking state includes sinking node identification and the corresponding foradownloaded video information of sinking node identification.
For example, carrying the mark of sinking node 1 and the mark of video 1 in a sinking state, then the sinking state is used In expression 1 foradownloaded video of sinking node, 1 success.
S405, collection of drama sinking service module forward sinking state to menu manager backstage is broadcast.
S406, collection of drama sinking service module by each sinking node it is corresponding broadcast single-row table store to database (Database, DB)。
Wherein, corresponding broadcast in single-row table of sinking node includes that sinking node downloads successful video.
The present invention does not limit the sequence that executes between S405 and S406, and S405 synchronous can be executed with S406, can also be by It is executed according to certain sequencing.
S407, client send accessing page request message to source station.
Wherein, the static CDN between client and source station can agent client send the accessing page request to source station and disappear Breath, and be the IP address of page request message addition client.
S408, source station send query messages to the sinking content search module broadcast in single server, and query messages carry visitor The IP address at family end.
S409, scheduler send the corresponding sinking node of IP address of client to sinking content search module.
Specifically, broadcasting after single server receives query messages, can be searched from scheduler according to the IP address of client Coverage belonging to the IP address of client, and determine the sinking node in the coverage.
Wherein, scheduler can periodically obtain the information stored in dispatching platform.
S410, collection of drama sinking service module to sinking content search module send the corresponding local of sinking node broadcast it is single-row Table.
Specifically, collection of drama can be passed through after sinking content search module determines the corresponding sinking node of the IP address of client Sinking service module inquires the corresponding local of sinking node and broadcasts single-row table, and then collection of drama sinking service module is that sinking content is looked into It askes the module feedback corresponding local of sinking node and broadcasts single-row table.
S411, sinking content search module are sent to source station locally broadcasts single-row table.
S412, source station send page info to client, include locally broadcasting single-row table in page info.
It is understood that client can broadcast single-row table according to the page info display received is local.
Optionally, if the client for sending accessing page request message in above-mentioned S407 is video APP or is that wechat is small Program then can show the page in video APP or wechat small routine.
If the client for sending accessing page request message in above-mentioned S407 is HTML5 client, HTML5 client's termination After the page info for receiving source station transmission, the page in video APP or video website can be jumped to.
S413, client are to scheduler dispatches to the local playing request for broadcasting the designated in single-row table, wherein play The IP address of client is carried in request.
Wherein, designated is chosen for user, the video for needing to play.
S414, scheduler send the IP address for the sinking node for client service to client.
S415, client obtain designated from sinking node.
Optionally, since the video broadcast in single-row table has been locally stored in sinking node, and client belongs to sinking node Same local area network, so not limited by the bandwidth of access outer net without accessing outer net when client obtains designated.
It is understood that client can access sinking node according to the IP address of sinking node, and designated is obtained, And then play designated.
Corresponding to above method embodiment, the embodiment of the present application provides a kind of video process apparatus, which is applied to broadcast Single server, as shown in figure 5, the device includes: receiving module 501, searching module 502 and sending module 503.
Receiving module 501, for receiving the query messages of source station transmission, query messages carry the Internet protocol of client IP address;
Searching module 502, for according to the IP address of client search it is local broadcast single-row table, locally broadcast in single-row table and include The video information that sinking node has been downloaded, sinking node and client belong to same local area network;
Sending module 503 broadcasts single-row table for sending the local that searching module 502 is found to source station, so that source station It include the local page info for broadcasting single-row table to client push.
Optionally, searching module 502 are specifically used for:
According to the IP address of client determine client belonging to coverage;
Determine that single-row table is broadcast in the corresponding local of sinking node in coverage.
Optionally, device further include: generation module;
Receiving module 501 is also used to receive and broadcasts the sinking episode information that menu manager backstage is sent, and sinking episode information includes Sinking node video information to be downloaded;
Sending module 503 is also used to the sinking episode information received to distribution synchronized clusters sending/receiving module 501, So that distribution synchronized clusters notify sinking node foradownloaded video according to sinking episode information;
Receiving module 501 is also used to receive download state of the sinking node to video of distribution synchronized clusters feedback;
Generation module 504, download state for being received according to receiving module generate sinking node it is corresponding broadcast it is single-row Table, corresponding broadcast in single-row table of sinking node includes that sinking node has been downloaded into local video information.
Corresponding to above method embodiment, the embodiment of the present application also provides another video process apparatus, the device application In client, as shown in fig. 6, the device includes: sending module 601 and receiving module 602.
Sending module 601, for sending accessing page request message to source station;
Receiving module 602 shows the page, page letter for receiving the page info of source station transmission, and according to page info It include the local video broadcast single-row table, locally broadcast in single-row table including having been downloaded by sinking node in breath.
Optionally, device further include: playing module;
Sending module 601, for, to the local playing request for broadcasting the designated in single-row table, being played to scheduler dispatches Request carries the IP address of client;
Receiving module 602 is also used to receive the IP address for the sinking node for client service of scheduler dispatches;
Playing module for obtaining designated from sinking node, and plays designated.
The embodiment of the invention also provides one kind to broadcast single server, as shown in fig. 7, comprises processor 701, communication interface 702, memory 703 and communication bus 704, wherein processor 701, communication interface 702, memory 703 pass through communication bus 704 complete mutual communication,
Memory 703, for storing computer program;
Processor 701 when for executing the program stored on memory 703, is realized in above method embodiment by broadcasting The step of single server executes.
It is above-mentioned to broadcast the communication bus that single server is mentioned and can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is used for the above-mentioned communication broadcast between single server and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
The embodiment of the invention also provides a kind of clients, as shown in figure 8, including processor 801, communication interface 802, depositing Reservoir 803 and communication bus 804, wherein processor 801, communication interface 802, memory 803 are completed by communication bus 804 Mutual communication,
Memory 803, for storing computer program;
Processor 801 when for executing the program stored on memory 803, is realized in above method embodiment by visitor The method and step that family end executes.
The communication bus that above-mentioned client is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned client and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with computer program in storage medium, the computer program realizes any of the above-described video processing when being executed by processor The step of method.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes any method for processing video frequency in above-described embodiment.
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.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (14)

1. a kind of method for processing video frequency, which is characterized in that the method is applied to broadcast single server, which comprises
The query messages that source station is sent are received, the query messages carry the internet protocol address of client;
According to the IP address of the client search it is local broadcast single-row table, the local broadcast in single-row table include sinking node under The video information of load, the sinking node and the client belong to same local area network;
Send the local to the source station and broadcast single-row table so that the source station to the client push include the local Broadcast the page info of single-row table.
2. the method according to claim 1, wherein described search local broadcast according to the IP address of the client Single-row table, comprising:
According to the IP address of the client determine the client belonging to coverage;
Determine that single-row table is broadcast in the corresponding local of sinking node in the coverage.
3. the method according to claim 1, wherein the method also includes:
It receives and broadcasts the sinking episode information that menu manager backstage is sent, the sinking episode information includes sinking node view to be downloaded Frequency information;
The sinking episode information is sent to distribution synchronized clusters, so that the distribution synchronized clusters are according to the sinking collection of drama Information notifies sinking node foradownloaded video;
Receive download state of the sinking node to video of the distribution synchronized clusters feedback;
Single-row table is broadcast according to the download state generation sinking node received is corresponding, the sinking node is corresponding to broadcast list It include that the sinking node has been downloaded into local video information in list.
4. a kind of method for processing video frequency, which is characterized in that the method is applied to client, which comprises
Accessing page request message is sent to source station;
The page info that the source station is sent is received, and the page is shown according to the page info, includes in the page info Single-row table is locally broadcast, it includes the video downloaded by sinking node in single-row table that the local, which is broadcast,.
5. according to the method described in claim 4, it is characterized in that, it is described according to the page info show the page after, The method also includes:
The playing request of the designated in single-row table is broadcast to the local to scheduler dispatches, described in the playing request carries The IP address of client;
Receive the IP address for the sinking node for the client service of the scheduler dispatches;
The designated is obtained from the sinking node, and plays the designated.
6. a kind of video process apparatus, which is characterized in that described device is applied to broadcast single server, and described device includes:
Receiving module, for receiving the query messages of source station transmission, the query messages carry the Internet protocol IP of client Address;
Searching module locally broadcasts single-row table for searching according to the IP address of the client, and the local is broadcast in single-row table and wrapped The video information that sinking node has been downloaded is included, the sinking node and the client belong to same local area network;
Sending module broadcasts single-row table for sending the local that the searching module is found to the source station, so that institute State source station to the client push include page info that single-row table is broadcast in the local.
7. device according to claim 6, which is characterized in that the searching module is specifically used for:
According to the IP address of the client determine the client belonging to coverage;
Determine that single-row table is broadcast in the corresponding local of sinking node in the coverage.
8. device according to claim 6, which is characterized in that described device further include: generation module;
The receiving module is also used to receive and broadcasts the sinking episode information that menu manager backstage is sent, the sinking episode information packet Include sinking node video information to be downloaded;
The sending module is also used to send the sinking episode information that the receiving module receives to distribution synchronized clusters, with So that the distribution synchronized clusters notify sinking node foradownloaded video according to the sinking episode information;
The receiving module is also used to receive downloading shape of the sinking node to video of the distribution synchronized clusters feedback State;
The generation module, download state for being received according to the receiving module generate that the sinking node is corresponding to be broadcast Single-row table, corresponding broadcast in single-row table of the sinking node includes that the sinking node has been downloaded into local video information.
9. a kind of video process apparatus, which is characterized in that described device is applied to client, and described device includes:
Sending module, for sending accessing page request message to source station;
Receiving module, the page info sent for receiving the source station, and the page, the page are shown according to the page info It include locally broadcasting single-row table in the information of face, it includes the video downloaded by sinking node in single-row table that the local, which is broadcast,.
10. device according to claim 9, which is characterized in that described device further include: playing module;
The sending module, for broadcasting the playing request of the designated in single-row table, institute to the local to scheduler dispatches State the IP address that playing request carries the client;
The receiving module is also used to receive the IP for the sinking node for the client service of the scheduler dispatches Address;
The playing module for obtaining the designated from the sinking node, and plays the designated.
11. one kind broadcasts single server, which is characterized in that described machine readable to deposit including processor and machine readable storage medium Storage media is stored with the machine-executable instruction that can be executed by the processor, and the processor is by the executable finger of the machine Order promotes: realizing any method and step of claim 1-3.
12. a kind of client, which is characterized in that including processor and machine readable storage medium, the machine readable storage is situated between Matter is stored with the machine-executable instruction that can be executed by the processor, and the processor is promoted by the machine-executable instruction Make: realizing any method and step of claim 4-5.
13. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-3 or 4-5 any method and step when the computer program is executed by processor.
14. a kind of processing system for video, which is characterized in that the system comprises broadcasting single server described in claim 6-8, Source station involved in client described in claim 9-10 and claim 6-10, broadcast menu manager backstage, scheduler, Distribute synchronized clusters and sinking node.
CN201910016824.0A 2019-01-08 2019-01-08 Video processing method and device Active CN109672911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910016824.0A CN109672911B (en) 2019-01-08 2019-01-08 Video processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910016824.0A CN109672911B (en) 2019-01-08 2019-01-08 Video processing method and device

Publications (2)

Publication Number Publication Date
CN109672911A true CN109672911A (en) 2019-04-23
CN109672911B CN109672911B (en) 2020-12-25

Family

ID=66149357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910016824.0A Active CN109672911B (en) 2019-01-08 2019-01-08 Video processing method and device

Country Status (1)

Country Link
CN (1) CN109672911B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110708402A (en) * 2019-09-30 2020-01-17 北京奇艺世纪科技有限公司 Accessible resource display method and device and resource access system
CN111355731A (en) * 2020-02-28 2020-06-30 北京奇艺世纪科技有限公司 Resource access method, device, resource access system, equipment and storage medium
CN112437329A (en) * 2020-11-05 2021-03-02 上海幻电信息科技有限公司 Method, device and equipment for playing video and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009601A (en) * 2007-01-29 2007-08-01 华为技术有限公司 A maintenance and detection method, system and device of the network element
CN101039247A (en) * 2007-03-13 2007-09-19 华为技术有限公司 Point-to-point network system and intercommunicating method for overlapped network node
CN101404597A (en) * 2008-11-19 2009-04-08 华为技术有限公司 Network quality index acquirement method, system and apparatus
US7761569B2 (en) * 2004-01-23 2010-07-20 Tiversa, Inc. Method for monitoring and providing information over a peer to peer network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761569B2 (en) * 2004-01-23 2010-07-20 Tiversa, Inc. Method for monitoring and providing information over a peer to peer network
CN101009601A (en) * 2007-01-29 2007-08-01 华为技术有限公司 A maintenance and detection method, system and device of the network element
CN101039247A (en) * 2007-03-13 2007-09-19 华为技术有限公司 Point-to-point network system and intercommunicating method for overlapped network node
CN101404597A (en) * 2008-11-19 2009-04-08 华为技术有限公司 Network quality index acquirement method, system and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110708402A (en) * 2019-09-30 2020-01-17 北京奇艺世纪科技有限公司 Accessible resource display method and device and resource access system
CN111355731A (en) * 2020-02-28 2020-06-30 北京奇艺世纪科技有限公司 Resource access method, device, resource access system, equipment and storage medium
CN111355731B (en) * 2020-02-28 2022-09-30 北京奇艺世纪科技有限公司 Resource access method, device, resource access system, equipment and storage medium
CN112437329A (en) * 2020-11-05 2021-03-02 上海幻电信息科技有限公司 Method, device and equipment for playing video and readable storage medium
CN112437329B (en) * 2020-11-05 2024-01-26 上海幻电信息科技有限公司 Method, device and equipment for playing video and readable storage medium

Also Published As

Publication number Publication date
CN109672911B (en) 2020-12-25

Similar Documents

Publication Publication Date Title
US11770429B2 (en) System and method for streaming content from multiple servers
CN104539977B (en) Method for previewing and device is broadcast live
CN109787983A (en) Live stream dicing method, device and system
CN109672911A (en) A kind of method for processing video frequency and device
CN104053067A (en) Live program playing method, terminal and server
CN105898607A (en) Network video playback method, device and system
CN105897850A (en) Response processing method and system and scheduling proxy server for CDN platform
CN108810602B (en) Method and device for displaying information of live broadcast room and computer equipment
CN103813185A (en) Method, server and client for quickly distributing segmented programs
CN106817587A (en) Generation/the sharing method of video flowing, system, terminal device and server cluster
CN103686409B (en) The method and system that desktop background synchronously plays with live interface
CN105100839A (en) Video file downloading method, device, server and terminal equipment
CN108833552A (en) A kind of P2P content distribution system of promiscuous mode
CN109005430A (en) A kind of order method, system, device and the storage medium of audio/video content
EP3048796A1 (en) Information system, information delivery method and iptv system based on multi-screen interaction
CN104010198B (en) The method and system of the anti-shielding of video impression information
CN110213671A (en) A kind of short-sighted frequency of hot spot determines method and apparatus
CN109040794A (en) A kind of video website method of river diversion and device
CN108600780A (en) Method for pushed information
CN110418176B (en) Barrage information processing method and device, server and storage medium
CN102143393A (en) Advertising system and method
KR20070003902A (en) Hierarchical broadcast of ui assets
US8850053B2 (en) System and method for providing information to users of a communication network
WO2017014034A1 (en) Reception device, transmission device, and data processing method
CN110677489B (en) Media resource processing method, device, system 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
GR01 Patent grant
GR01 Patent grant