CN105933728A - Playing request method, device, and system - Google Patents
Playing request method, device, and system Download PDFInfo
- Publication number
- CN105933728A CN105933728A CN201610248835.8A CN201610248835A CN105933728A CN 105933728 A CN105933728 A CN 105933728A CN 201610248835 A CN201610248835 A CN 201610248835A CN 105933728 A CN105933728 A CN 105933728A
- Authority
- CN
- China
- Prior art keywords
- program request
- request file
- request
- program
- file
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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/26208—Content 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 the scheduling operation being performed under constraints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management 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/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management 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/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4583—Automatically resolving scheduling conflicts, e.g. when a recording by reservation has been programmed for two programs in the same time slot
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Embodiments of the invention provide a playing request method, device, and system. The method merges playing requests of a client within a preset time length into one general playing request, so that when the client requests for playing a plurality of request files, only one playing request is transmitted through a network. Via the above way, the number of playing requests transmitted through the network can be reduced, so that the network resources are saved. Besides, in the prior art, the probability of failure of transmission of one playing request is low, but the probability of failure of transmission of one of the plurality of playing requests is higher. Through merging the plurality of playing requests into one playing request for transmission in the network, the method avoids the situation that poor network status is likely to cause transmission failure of some playing request and further cause communication failure, so that the stability of communication can be improved.
Description
Technical field
The present embodiments relate to multimedia information field, particularly relate to order method, device and
System.
Background technology
Along with the development of network and enriching constantly of multimedia resource, program request becomes the merit that user increasingly likes
Energy.
With the quickening pace of modern life, some users, for the time of saving, like many in same client terminal playing
Individual program request file, in order to simultaneously understand the information of multiple program request file.And in prior art, then for often
Individual program request file client all can send an order request carrying program request file identification, vod server pin
Each program request file request must there be is response.So, if same client terminal playing asks 10 program requests
File, then need to send 10 order request, and communication network needs to send these 10 order request one by one
To vod server, vod server is required for each order request and responds one by one, and response is tied
Fruit is transferred to client by network.So, when multiple program request file is play in client request, client
Can be more with the interaction times of vod server.The number of requests of network transmission and number of responses are the most increasingly
Many.When network state is bad, such as client is in ceaselessly mobile status, and network state is steady
In the case of Ding, some order request can not get response unavoidably.So, interaction times is more not only wastes net
Network resource, also due to network instability, is easily caused communication failure.
Summary of the invention
The embodiment of the present invention provides order method, Apparatus and system, in order to solve at present due to same client
When multiple program request file is play in request, interaction times more waste Internet resources, also due to unstable networks
Property, the problem being easily caused communication failure etc..
The concrete technical scheme that the embodiment of the present invention provides is as follows:
On the one hand, the embodiment of the present invention provides a kind of order method, and described method includes:
Client Agent receives the order request carrying program request file identification of client transmission and stores;
The quantity of the order request that the described client stored in calculating preset duration sends, and judge this quantity
Whether more than or equal to two;
Each order request of the described client of storage in the most described preset duration is always merged into one
Order request, described total order request includes the program request file identification of each order request;
Described total order request is sent to the server agent of vod server so that described service broker from
Described vod server obtains the program request file that each program request file identification in described total order request is corresponding;
Receive each program request file identification in described total order request that described server agent sends corresponding
Program request file, and it is sent to described client terminal playing.
On the other hand, the embodiment of the present invention provides a kind of order method, and described method includes:
Server agent receives total order request that Client Agent sends, and described total order request is by same visitor
At least two order request merging that family end sends forms, and described order request includes each order request
Program request file identification;
Described total order request is decomposed, it is thus achieved that after the decomposition that each program request file identification is corresponding, program request please
Ask, and be sent to vod server;
Receive the program request file that vod server returns for order request after each decomposition;
The each program request file received is sent to described Client Agent, so that described Client Agent is by each point
Broadcast file and be sent to described client terminal playing.
On the other hand, the embodiment of the present invention provides a kind of on-demand device, and described device includes:
Order request memory module, for receiving the order request carrying program request file identification that client sends
And store;
Order request quantity judge module, the point that the described client of storage sends in calculating preset duration
Broadcast the quantity of request, and judge that whether this quantity is more than or equal to two;
Order request merges module, if the judged result for order request quantity judge module is yes, then will
In described preset duration, each order request of the described client of storage is merged into a total order request, described
Total order request includes the program request file identification of each order request;
Total order request sending module, for being sent to the server of vod server by described total order request
Agency, so that described service broker obtains each program request in described total order request from described vod server
The program request file that file identification is corresponding;
Program request document processing module, for receiving in described total order request that described server agent sends
The program request file that each program request file identification is corresponding, and it is sent to described client terminal playing.
On the other hand, the embodiment of the present invention provides a kind of on-demand device, and described device includes:
Total order request receiver module, for receiving total order request that Client Agent sends, described total point
At least two order request merging that the request broadcast is sent by same client forms, and wraps in described order request
Include the program request file identification of each order request;
Total order request decomposing module, for decomposing described total order request, it is thus achieved that each program request file
Order request after the decomposition that mark is corresponding, and it is sent to vod server;
Program request file acquisition module, for receiving what vod server returned for order request after each decomposition
Program request file;
Program request document processing module, for each program request file received is sent to described Client Agent, with
Make described Client Agent that each program request file is sent to described client terminal playing.
On the other hand, the embodiment of the present invention provides a kind of VOD system, and described system includes:
Client, carries the program request file request of program request file identification to Client Agent for sending, and connects
The program request file receiving Client Agent transmission plays out;
Client Agent, for receiving the order request carrying program request file identification of client transmission and depositing
Storage;The quantity of the order request that the described client stored in calculating preset duration sends, and judge this quantity
Whether more than or equal to two;The most then please by each program request of the described client of storage in described preset duration
Asking and be merged into a total order request, described total order request includes the program request files-designated of each order request
Know;Described total order request is sent to the server agent of vod server;Receive described server agent
Program request file corresponding to each program request file identification in the described total order request sent, and it is sent to described visitor
Family end is play;
Server agent, for receive Client Agent send total order request, described total order request by
At least two order request merging that same client sends forms, and described order request includes each program request
The program request file identification of request;Described total order request is decomposed, it is thus achieved that each program request file identification is corresponding
Decomposition after order request, and be sent to vod server;Receive vod server for point after each decomposition
Broadcast the program request file that request returns;The each program request file received is sent to described Client Agent, so that institute
State Client Agent and each program request file is sent to described client terminal playing;
Vod server, order request after receiving the decomposition that server agent sends, and return corresponding
Program request file.
Beneficial effect of the present invention includes: in the embodiment of the present invention, by by the program request in client preset duration
Request merges one total order request of generation so that when multiple program request file is play in client request, pass through
The order request of network transmission only has one.In such manner, it is possible to reduce the quantity by network transmission order request,
Thus save Internet resources.It addition, in prior art, transmit order request, a probability for bust this
Relatively low, if multiple order request has the probability of a bust this, higher.The embodiment of the present invention is led to
Cross and multiple order request are merged into an order request transmit in a network, it is also possible to be prevented effectively from network-like
Bad some order request that is easily caused in prior art of state cannot be transmitted and cause the situation of communication failure to be sent out
Raw such that it is able to improve the stability of communication.
Accompanying drawing explanation
Fig. 1 is the exemplary process diagram of order method in the embodiment of the present invention one;
Fig. 2 is the exemplary process diagram of order method in the embodiment of the present invention two;
Fig. 3 is the structural representation of on-demand device in the embodiment of the present invention three;
Fig. 4 is the structural representation of on-demand device in the embodiment of the present invention four;
Fig. 5 is the structural representation of VOD system in the embodiment of the present invention five.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that
Described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based in the present invention
Embodiment, those of ordinary skill in the art obtained under not making creative work premise all its
His embodiment, broadly falls into the scope of protection of the invention.
Embodiment one
It is illustrated in figure 1 the schematic flow sheet of the order method that the embodiment of the present invention provides, it is adaptable to client
Agency, comprises the following steps:
Step 101: Client Agent receives the order request carrying program request file identification of client transmission also
Storage.
Wherein, in one embodiment, vod server is used for providing program request file, and program request therein is civilian
Part identifies, e.g. program request file ID (IDentity, identification number), program request file path or program request file
Title etc..
Step 102: the quantity of the order request that the described client stored in calculating preset duration sends, and
Judge that whether this quantity is more than or equal to two.
Step 103: each order request of the described client of storage in the most described preset duration is closed
And become a total order request, described total order request to include the program request file identification of each order request.
Such as, in preset duration, the order request of the client of storage is 3, is respectively request program request file
1, program request file 2 and the order request of program request file 3, then Client Agent, by the these three point of storage
The request of broadcasting merges, and generates one and carries program request file 1, program request file 2 and the program request of program request file 3
Total order request of file identification.
Wherein, in one embodiment, if the judged result of step 102 is no (the i.e. quantity of order request
Less than 2), it is referred to prior art and processes, this is not repeated by the embodiment of the present invention.
Step 104: described total order request is sent to the server agent of vod server, so that described
It is corresponding that service broker obtains each program request file identification in described total order request from described vod server
Program request file.
Step 105: receive each program request files-designated in described total order request that described server agent sends
Know corresponding program request file, and be sent to described client terminal playing.
So, in the embodiment of the present invention, by the order request in client preset duration is merged generation one
Individual total order request so that when multiple program request file is play in client request, the program request transmitted by network
Request only has one (i.e. total order request).In such manner, it is possible to reduce the number by network transmission order request
Amount, thus save Internet resources.It addition, in prior art, transmit an order request, bust this
Probability is relatively low, if there being the probability of a bust this in multiple order request, higher.The embodiment of the present invention
In transmit in a network by multiple order request being merged into an order request, it is also possible to be prevented effectively from net
Network is easily caused some order request in prior art out of order and cannot transmit and cause the feelings of communication failure
Condition occurs such that it is able to improve the stability of communication.
For ease of being further appreciated by, the order method provided the embodiment of the present invention below is described further,
Including:
1), for step 202:
Wherein, in one embodiment, for ease of calculating the quantity of order request, the embodiment of the present invention walks
The quantity of the order request that the described client stored in calculating preset duration in rapid 102 sends, can specifically wrap
Include following steps:
Step A1: start timing after receiving first order request, and the quantity arranging order request is 1.
Wherein, in one embodiment, if first order request does not receives client in referring to certain period of time
The order request that end sends, first program request that this client received after this certain period of time sends please
Ask.Such as, it is 5 minutes in certain period of time, if then not receiving the program request that client sends in 5 minutes
Request, first program request that first order request received the most after five minutes is in step A1 please
Ask.
Certainly, client sets up first order request sent after being connected with vod server, also can be regarded as step
First order request in rapid A1.
Step A2: often receive the point that a described client sends in the preset duration after starting timing
After broadcasting request, the quantity of described order request is added up 1.
Wherein, in one embodiment, in order to process order request as early as possible, to avoid user's perception acquisition point
The speed broadcasting file is slow, and in the embodiment of the present invention, preset duration can be 1 second, when being certainly embodied as,
User can set preset duration according to actual needs, and this is not limited by the embodiment of the present invention.
Wherein, in one embodiment, above-mentioned steps A1-step A2 is receive first program request to ask
Ask beginning timing, and determine preset duration.When being embodied as, in the embodiment of the present invention, it is also possible to by the time
Being divided into the time period one by one in advance, each time period is a preset duration.Such as, client and program request
Server is the beginning of first preset duration after setting up connection, so that it is determined that go out each time period as presetting
Duration.
Wherein, in one embodiment, it is also possible in units of preset duration, store the order request of client,
Cumulative mode is not used to calculate the quantity of order request, and finally adding up described visitor in preset duration
The quantity of the order request that family end sends.
2), for step 103:
Wherein, in one embodiment, it is capable of identify that total order request is which is asked for ease of server agent
A little program request files, and in order to server agent obtains each program request file of client request from vod server
Time, vod server not to be modified, in the embodiment of the present invention, step 103 may particularly include following steps:
Step B1: insert a default program request file identification decollator between adjacent two program request file identifications,
Generate total program request file identification information.
Wherein, in one embodiment, presetting program request file identification decollator can be ", " or "/"
Deng, all it is applicable to it is of course possible to make server agent be capable of identify that as default program request file identification decollator
The embodiment of the present invention, this is not limited by the present invention.
Step B2: generate the total order request carrying described total program request file identification information, so that described clothes
Business device agency performs following operation: according to described default program request file identification decollator from described total program request file
Request obtains each program request file identification, generates concurrent for order request after the decomposition of each program request file identification
Give vod server.
So, by default program request file identification decollator so that server agent is capable of identify that each program request
File identification, thus generate and be sent to order program service for order request after the decomposition of each program request file identification
Device so that vod server can process according to existing order request, and without vod server is carried out
Change.
Wherein, in one embodiment, the embodiment of the present invention can also merge each program request according to following methods
Request generates total order request, concrete: add order request decollator, phase between adjacent order request
When in the total order request of generation that order request is together in series.So, server agent can be asked according to program request
Ask decollator to decomposite each order request and be sent to vod server, also can reach same effect.
3), for step 105:
Wherein, in one embodiment, in the embodiment of the present invention, server agent can be by vod server
Client Agent can be sent to one by one for the program request file that order request after each decomposition returns, so,
The agency returning to client is equivalent to there are how many order request, just has how many responses.The present invention implements
In example, for ease of reducing interaction times further, improving the stability of transmission, it is each that vod server returns
Individual program request file can be the merging program request file after merging, and so, has only to transmit a conjunction by network
And program request file gets final product (i.e. doing a secondary response), and without for each program request file transmission primaries.
Concrete:
Program request file corresponding to each program request file identification in described total order request is for merging program request file, institute
State merging program request file and include the program request file that header is corresponding with each program request file identification;Wherein, described
Header includes: the program request file identification of each program request file, each program request file are in described merging program request
Positional information in file;Then step 105, specifically can comprise the following steps that
Step C1: receive described merging program request file, and resolve described merging program request according to described header
File, it is thus achieved that the program request file that each program request file identification is corresponding.
Wherein, in one embodiment, positional information includes original position and the stop bits of each program request file
Put.So, for each program request file, according to program request file identification and the correspondence position thereof of this program request file
Information, just can obtain this program request file.
Step C2: each program request file obtained after resolving is sent to described client terminal playing.
Wherein, in one embodiment, for ease of confirming to merge program request fileinfo the most comprehensively, described head
Information also includes: program request file identification quantity, the packet sequence number that each program request file identification is corresponding;Then
Step C1 may particularly include following steps:
Step D1: whether confirm the sum of program request file identification quantity in header and program request file identification
Identical.
Step D2: if identical, for each program request file, according to the program request file identification of this program request file
And positional information obtains this program request file.
Wherein, in one embodiment, if differing, then illustrate that the merging program request file of feedback is wrong, can
With feedback error information to server agent, in order to retransmit data.
Wherein, in one embodiment, the program request file identification quantity in header can also be easy to client
Determine and need to decomposite how many program request file, in order to Client Agent distribution memory space.
To sum up, in the embodiment of the present invention, always obtain one after multiple order request of client can be merged
Order request is transmitted in a network, it is also possible to the program request Piece file mergence of multiple order request becomes one merge point
Broadcast file to transmit in a network.So, originally need in the prior art being transmitted several times and alternately, only needing
Want just can complete alternately for 1 time, it is possible to save Internet resources.Additionally, due to 1 mutual failed probability is low,
The stability of communication can also be improved.
Embodiment two
Based on identical inventive concept, the embodiment of the present invention also provides for a kind of order method, it is adaptable to server
Agency.As in figure 2 it is shown, be the schematic flow sheet of the method, it may include following steps:
Step 201: server agent receives total order request that Client Agent sends, described total program request please
Ask at least two order request sent by same client to merge to form, and described order request includes respectively
The program request file identification of order request.
Wherein, total order request is generated by Client Agent, and its generation method illustrates the most in an embodiment,
This repeats no more.
Step 202: described total order request is decomposed, it is thus achieved that the decomposition that each program request file identification is corresponding
Rear order request, and it is sent to vod server.
Step 203: receive the program request file that vod server returns for order request after each decomposition.
Step 204: each program request file received is sent to described Client Agent, so that described client
Each program request file is sent to described client terminal playing by agency.
So, in the embodiment of the present invention, server agent receive be Client Agent send by least two
One total order request of individual order request synthesis.Make when multiple program request file is play in client request,
The order request transmitted by network only has one (i.e. total order request).In such manner, it is possible to reduce by net
The quantity of network transmission order request, thus reduce interaction times, save Internet resources.It addition, prior art
In, transmit an order request, bust this probability relatively low, if multiple order request has a transmission
Failed probability is the highest, in the embodiment of the present invention by multiple order request are merged into a program request please
Ask and transmit in a network, it is also possible to be prevented effectively from that network state is bad causes some order request in prior art
Cannot transmit and cause the situation of communication failure to occur such that it is able to improve the stability of communication.
For ease of being further appreciated by, the order method provided the embodiment of the present invention below is described further,
Including:
In the embodiment of the present invention, for ease of reducing further the number of times of network transmission response, it will be appreciated that for so that
In reducing interaction times further, each program request file received in step 204 in the embodiment of the present invention is sent to
Described Client Agent, may particularly include following steps:
Step F1: each program request file received is merged generation and merges program request file, described merging program request
File includes the program request file that header is corresponding with each program request file identification;Wherein, described header wraps
Include: the program request file identification of each program request file, each program request file position in described merging program request file
Confidence ceases.
Step F2: described merging program request file is sent to described Client Agent.
So, merging program request file is sent to Client Agent, thus realizes originally being required for each point
Broadcast file request and send program request file once, it is achieved send together, thus realize prior art needs originally
The most mutual, it is only necessary to once can complete, thus reduce interaction times further, improve communication stable
Property.
Wherein, in one embodiment, described header also includes: program request file identification quantity, in order to
In Client Agent according to the program request file identification quantity in header, and each program request file in header
The sum of mark, determines that program request file is the most complete.
Wherein, in one embodiment, in order to make vod server can also be according to existing processing mode at
Reason order request, and without transforming vod server, in the embodiment of the present invention, described total order request is wrapped
Including total program request file identification information, described total program request file identification information includes each program request file identification and use
In the default program request file identification decollator being arranged between adjacent two program request file identifications;
Described total order request is decomposed by step 202, it is thus achieved that the decomposition that each program request file identification is corresponding
Rear order request, may particularly include: according to described default program request file identification decollator, from described total program request
File request obtains each program request file identification, and program request please after generating the decomposition that each program request file identification is corresponding
Ask.
Wherein, in one embodiment, for the ease of can be personalized, the order request of client also may be used
To include that priority play by program request file, and when merging generation merging program request file, priority can be made high
The data volume that other program request files compared by program request file is more, thus the program request file realizing priority high is excellent
First it is transferred to client.Wherein, priority can be the priority that user specifies.
To sum up, in the embodiment of the present invention, what server agent received is total order request, this total order request
The request obtained after multiple order request of client being merged for Client Agent.Server agent to
The merging program request file that client sends, for the literary composition obtained after the program request Piece file mergence of multiple order request
Part.So, it is only necessary to once both can realize effect the most mutual in prior art alternately, and decrease friendship
Quantity mutually, saves Internet resources.Additionally, due to 1 mutual failed probability is low, additionally it is possible to improve communication
Stability.
Embodiment three
Based on identical inventive concept, the embodiment of the present invention also provides for a kind of on-demand device, as it is shown on figure 3,
For the structural representation of this device, described device includes:
Order request memory module 301, for receiving the program request carrying program request file identification that client sends
Ask and store;
Order request quantity judge module 302, in calculating preset duration, the described client of storage sends
The quantity of order request, and judge that whether this quantity is more than or equal to two;
Order request merges module 303, if the judged result for order request quantity judge module is yes,
Then each order request of the described client of storage in described preset duration is merged into a total order request,
Described total order request includes the program request file identification of each order request;
Total order request sending module 304, for being sent to the clothes of vod server by described total order request
Business device agency so that described service broker obtain in described total order request from described vod server each
The program request file that program request file identification is corresponding;
Program request document processing module 305, for receiving described total order request that described server agent sends
In program request file corresponding to each program request file identification, and be sent to described client terminal playing.
Wherein, in one embodiment, the program request that each program request file identification in described total order request is corresponding
File is for merging program request file, and described merging program request file includes that header is corresponding with each program request file identification
Program request file;Wherein, described header includes: the program request file identification of each program request file, each
Program request file positional information in described merging program request file;
Program request document processing module, specifically includes:
Merge program request document analysis unit, be used for receiving described merging program request file, and according to described header
Resolve described merging program request file, it is thus achieved that the program request file that each program request file identification is corresponding;
Program request file transmitting element, each program request file obtained after resolving is sent to described client and broadcasts
Put.
Wherein, in one embodiment, described header also includes: program request file identification quantity;
Merge program request document analysis unit, specifically for:
Confirm that the program request file identification quantity in header is the most identical with the sum of program request file identification;
If it is identical, for each program request file, according to program request file identification and the positional information of this program request file
Obtain this program request file.
Wherein, in one embodiment, order request merges module, specifically includes:
Decollator inserts unit, for inserting a default program request file between adjacent two program request file identifications
Segmentation accords with, and generates total program request file identification information;
Total order request processing unit, please for generating the total program request carrying described total program request file identification information
Ask, so that described server agent performs following operation: according to described default program request file identification decollator from
Described total program request file request obtains each program request file identification, generates the decomposition for each program request file identification
Rear order request is also sent to vod server.
Wherein, in one embodiment, order request quantity judge module, specifically include:
Timing unit, starts timing after being used for receiving first order request, and arranges the number of order request
Amount is 1;
Computing unit, often receives a described client in the preset duration after starting timing and sends
Order request after, the quantity of described order request is added up 1.
Embodiment four
Based on identical inventive concept, the embodiment of the present invention also provides for a kind of on-demand device, as shown in Figure 4,
For the structural representation of this device, described device includes:
Total order request receiver module 401, for receiving total order request that Client Agent sends, described
At least two order request merging that total order request is sent by same client forms, and described order request
Include the program request file identification of each order request;
Total order request decomposing module 402, for decomposing described total order request, it is thus achieved that each program request
Order request after the decomposition that file identification is corresponding, and it is sent to vod server;
Program request file acquisition module 403, is used for receiving vod server and returns for order request after each decomposition
The program request file returned;
Program request document processing module 404, for each program request file received is sent to described Client Agent,
So that each program request file is sent to described client terminal playing by described Client Agent.
Wherein, in one embodiment, program request document processing module, specifically include:
Merge program request file generating unit, merge program request for each program request file received is merged generation
File, described merging program request file includes the program request file that header is corresponding with each program request file identification;Its
In, described header includes: the program request file identification of each program request file, each program request file are described
Merge the positional information in program request file;
Merge program request file generating unit transmitting element, for described merging program request file is sent to described visitor
Family end agency.
Wherein, in one embodiment, described header also includes: program request file identification quantity.
Wherein, in one embodiment, described total order request includes total program request file identification information, institute
State total program request file identification information and include each program request file identification and for being arranged on adjacent two program request files
Default program request file identification decollator between mark;
Total order request decomposing module, specifically for according to described default program request file identification decollator, from institute
State and total program request file request obtains each program request file identification, and generate the decomposition that each program request file identification is corresponding
Rear order request.
Embodiment five
Based on identical inventive concept, the embodiment of the present invention also provides for a kind of VOD system, as it is shown in figure 5,
For the structural representation of this system, described system includes:
Client 501, carries the program request file request of program request file identification to Client Agent for sending,
And the program request file receiving Client Agent transmission plays out;
Client Agent 502, in receiving the order request carrying program request file identification of client transmission and depositing
Storage;The quantity of the order request that the described client stored in calculating preset duration sends, and judge this quantity
Whether more than or equal to two;The most then please by each program request of the described client of storage in described preset duration
Asking and be merged into a total order request, described total order request includes the program request files-designated of each order request
Know;Described total order request is sent to the server agent of vod server;Receive described server agent
Program request file corresponding to each program request file identification in the described total order request sent, and it is sent to described visitor
Family end is play;
Server agent 503, for receiving total order request that Client Agent sends, described total program request please
Ask at least two order request sent by same client to merge to form, and described order request includes respectively
The program request file identification of order request;Described total order request is decomposed, it is thus achieved that each program request file identification
Order request after corresponding decomposition, and it is sent to vod server;Receive vod server for each decomposition
The program request file that rear order request returns;The each program request file received is sent to described Client Agent, with
Make described Client Agent that each program request file is sent to described client terminal playing;
Vod server 504, order request after receiving the decomposition that server agent sends, and return phase
The program request file answered.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation relevant
The embodiment of the method is described in detail, explanation will be not set forth in detail herein.
Device embodiment described above is only schematically, wherein said illustrates as separating component
Unit can be or may not be physically separate, and the parts shown as unit can be or also
Can not be physical location, i.e. may be located at a place, or can also be distributed on multiple NE.
Some or all of module therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.Those of ordinary skill in the art, in the case of not paying performing creative labour, are i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality
The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly
Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words
Dividing and can embody with the form of software product, this computer software product can be stored in computer can
Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one
Computer equipment (can be personal computer, server, or the network equipment etc.) performs each embodiment
Or the method described in some part of embodiment.
Last it is noted that above example is only in order to illustrate the technical scheme of the embodiment of the present invention, rather than
It is limited;Although the embodiment of the present invention being described in detail with reference to previous embodiment, this area
Those of ordinary skill is it is understood that the technical scheme described in foregoing embodiments still can be repaiied by it
Change, or wherein portion of techniques feature is carried out equivalent;And these amendments or replacement, do not make phase
The essence answering technical scheme departs from the spirit and scope of the embodiment of the present invention each embodiment technical scheme.
Claims (19)
1. an order method, it is characterised in that described method includes:
Client Agent receives the order request carrying program request file identification of client transmission and stores;
The quantity of the order request that the described client stored in calculating preset duration sends, and judge this quantity
Whether more than or equal to two;
Each order request of the described client of storage in the most described preset duration is always merged into one
Order request, described total order request includes the program request file identification of each order request;
Described total order request is sent to the server agent of vod server so that described service broker from
Described vod server obtains the program request file that each program request file identification in described total order request is corresponding;
Receive each program request file identification in described total order request that described server agent sends corresponding
Program request file, and it is sent to described client terminal playing.
Method the most according to claim 1, it is characterised in that each point in described total order request
Broadcasting program request file corresponding to file identification is to merge program request file, and described merging program request file includes header
The program request file corresponding with each program request file identification;Wherein, described header includes: each program request file
Program request file identification, each program request file positional information in described merging program request file;
Receive each program request file identification in described total order request that described server agent sends corresponding
Program request file, and it is sent to described client terminal playing, specifically include:
Receive described merging program request file, and resolve described merging program request file according to described header, it is thus achieved that
The program request file that each program request file identification is corresponding;
The each program request file obtained after resolving is sent to described client terminal playing.
Method the most according to claim 2, it is characterised in that also include in described header: point
Broadcast file identification quantity;
Described merging program request file is resolved, it is thus achieved that the point that each program request file identification is corresponding according to described header
Broadcast file, specifically include:
Confirm that the program request file identification quantity in header is the most identical with the sum of program request file identification;
If it is identical, for each program request file, according to program request file identification and the positional information of this program request file
Obtain this program request file.
Method the most according to claim 1, it is characterised in that by storage in described preset duration
Each order request of described client is merged into a total order request, and described total order request includes each point
Broadcast the program request file identification of request, specifically include:
Between adjacent two program request file identifications, insert a default program request file identification decollator, generate total point
Broadcast file identification information;
Generate the total order request carrying described total program request file identification information, so that described server agent is held
The following operation of row: obtain from described total program request file request according to described default program request file identification decollator
Each program request file identification, generates for order request after the decomposition of each program request file identification and is sent to program request clothes
Business device.
5. according to described method arbitrary in claim 1-4, it is characterised in that calculate in preset duration
The quantity of the order request that the described client of storage sends, specifically includes:
Start timing after receiving first order request, and the quantity arranging order request is 1;And,
After often receiving the order request that a described client sends in preset duration after starting timing,
The quantity of described order request is added up 1.
6. an order method, it is characterised in that described method includes:
Server agent receives total order request that Client Agent sends, and described total order request is by same visitor
At least two order request merging that family end sends forms, and described order request includes each order request
Program request file identification;
Described total order request is decomposed, it is thus achieved that after the decomposition that each program request file identification is corresponding, program request please
Ask, and be sent to vod server;
Receive the program request file that vod server returns for order request after each decomposition;
The each program request file received is sent to described Client Agent, so that described Client Agent is by each point
Broadcast file and be sent to described client terminal playing.
Method the most according to claim 6, it is characterised in that each program request file received is sent
To described Client Agent, specifically include:
The each program request file received is merged generation and merges program request file, described merging program request file wraps
Include the program request file that header is corresponding with each program request file identification;Wherein, described header includes: each
The program request file identification of program request file, each program request file positional information in described merging program request file;
Described merging program request file is sent to described Client Agent.
Method the most according to claim 7, it is characterised in that also include in described header: point
Broadcast file identification quantity.
9. according to described method arbitrary in claim 6-8, it is characterised in that described total order request
Include that total program request file identification information, described total program request file identification information include each program request file identification
And for the default program request file identification decollator being arranged between adjacent two program request file identifications;
Described total order request is decomposed, it is thus achieved that after the decomposition that each program request file identification is corresponding, program request please
Ask, specifically include:
According to described default program request file identification decollator, from described total program request file request, obtain each program request
File identification, and generate order request after the decomposition that each program request file identification is corresponding.
10. an on-demand device, it is characterised in that described device includes:
Order request memory module, for receiving the order request carrying program request file identification that client sends
And store;
Order request quantity judge module, the point that the described client of storage sends in calculating preset duration
Broadcast the quantity of request, and judge that whether this quantity is more than or equal to two;
Order request merges module, if the judged result for order request quantity judge module is yes, then will
In described preset duration, each order request of the described client of storage is merged into a total order request, described
Total order request includes the program request file identification of each order request;
Total order request sending module, for being sent to the server of vod server by described total order request
Agency, so that described service broker obtains each program request in described total order request from described vod server
The program request file that file identification is corresponding;
Program request document processing module, for receiving in described total order request that described server agent sends
The program request file that each program request file identification is corresponding, and it is sent to described client terminal playing.
11. devices according to claim 10, it is characterised in that each in described total order request
The program request file that program request file identification is corresponding is merging program request file, and described merging program request file includes that head is believed
Cease the program request file corresponding with each program request file identification;Wherein, described header includes: each program request literary composition
The program request file identification of part, each program request file positional information in described merging program request file;
Program request document processing module, specifically includes:
Merge program request document analysis unit, be used for receiving described merging program request file, and according to described header
Resolve described merging program request file, it is thus achieved that the program request file that each program request file identification is corresponding;
Program request file transmitting element, each program request file obtained after resolving is sent to described client and broadcasts
Put.
12. devices according to claim 11, it is characterised in that also include in described header:
Program request file identification quantity;
Merge program request document analysis unit, specifically for:
Confirm that the program request file identification quantity in header is the most identical with the sum of program request file identification;
If it is identical, for each program request file, according to program request file identification and the positional information of this program request file
Obtain this program request file.
13. devices according to claim 10, it is characterised in that order request merges module, tool
Body includes:
Decollator inserts unit, for inserting a default program request file between adjacent two program request file identifications
Segmentation accords with, and generates total program request file identification information;
Total order request processing unit, please for generating the total program request carrying described total program request file identification information
Ask, so that described server agent performs following operation: according to described default program request file identification decollator from
Described total program request file request obtains each program request file identification, generates the decomposition for each program request file identification
Rear order request is also sent to vod server.
14. according to described device arbitrary in claim 10-13, it is characterised in that order request quantity
Judge module, specifically includes:
Timing unit, starts timing after being used for receiving first order request, and arranges the number of order request
Amount is 1;
Computing unit, often receives a described client in the preset duration after starting timing and sends
Order request after, the quantity of described order request is added up 1.
15. 1 kinds of on-demand devices, it is characterised in that described device includes:
Total order request receiver module, for receiving total order request that Client Agent sends, described total point
At least two order request merging that the request broadcast is sent by same client forms, and wraps in described order request
Include the program request file identification of each order request;
Total order request decomposing module, for decomposing described total order request, it is thus achieved that each program request file
Order request after the decomposition that mark is corresponding, and it is sent to vod server;
Program request file acquisition module, for receiving what vod server returned for order request after each decomposition
Program request file;
Program request document processing module, for each program request file received is sent to described Client Agent, with
Make described Client Agent that each program request file is sent to described client terminal playing.
16. devices according to claim 15, it is characterised in that program request document processing module, tool
Body includes:
Merge program request file generating unit, merge program request for each program request file received is merged generation
File, described merging program request file includes the program request file that header is corresponding with each program request file identification;Its
In, described header includes: the program request file identification of each program request file, each program request file are described
Merge the positional information in program request file;
Merge program request file generating unit transmitting element, for described merging program request file is sent to described visitor
Family end agency.
17. devices according to claim 16, it is characterised in that also include in described header:
Program request file identification quantity.
18. according to described device arbitrary in claim 15-17, it is characterised in that described total program request please
Asking and include total program request file identification information, described total program request file identification information includes each program request files-designated
Know and for the default program request file identification decollator being arranged between adjacent two program request file identifications;
Total order request decomposing module, specifically for according to described default program request file identification decollator, from institute
State and total program request file request obtains each program request file identification, and generate the decomposition that each program request file identification is corresponding
Rear order request.
19. 1 kinds of VOD systems, it is characterised in that described system includes:
Client, carries the program request file request of program request file identification to Client Agent for sending, and connects
The program request file receiving Client Agent transmission plays out;
Client Agent, for receiving the order request carrying program request file identification of client transmission and depositing
Storage;The quantity of the order request that the described client stored in calculating preset duration sends, and judge this quantity
Whether more than or equal to two;The most then please by each program request of the described client of storage in described preset duration
Asking and be merged into a total order request, described total order request includes the program request files-designated of each order request
Know;Described total order request is sent to the server agent of vod server;Receive described server agent
Program request file corresponding to each program request file identification in the described total order request sent, and it is sent to described visitor
Family end is play;
Server agent, for receive Client Agent send total order request, described total order request by
At least two order request merging that same client sends forms, and described order request includes each program request
The program request file identification of request;Described total order request is decomposed, it is thus achieved that each program request file identification is corresponding
Decomposition after order request, and be sent to vod server;Receive vod server for point after each decomposition
Broadcast the program request file that request returns;The each program request file received is sent to described Client Agent, so that institute
State Client Agent and each program request file is sent to described client terminal playing;
Vod server, order request after receiving the decomposition that server agent sends, and return corresponding
Program request file.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610248835.8A CN105933728A (en) | 2016-04-20 | 2016-04-20 | Playing request method, device, and system |
PCT/CN2016/100437 WO2017181602A1 (en) | 2016-04-20 | 2016-09-27 | On-demand playback method, device, electronic equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610248835.8A CN105933728A (en) | 2016-04-20 | 2016-04-20 | Playing request method, device, and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105933728A true CN105933728A (en) | 2016-09-07 |
Family
ID=56839332
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610248835.8A Pending CN105933728A (en) | 2016-04-20 | 2016-04-20 | Playing request method, device, and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105933728A (en) |
WO (1) | WO2017181602A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017181602A1 (en) * | 2016-04-20 | 2017-10-26 | 乐视控股(北京)有限公司 | On-demand playback method, device, electronic equipment and system |
CN113126920A (en) * | 2021-04-02 | 2021-07-16 | 深圳市杉岩数据技术有限公司 | Object storage batch reading and writing method, client, storage gateway and medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112182445A (en) * | 2019-07-02 | 2021-01-05 | 北京京东尚科信息技术有限公司 | Method and device for optimizing client page performance |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102904918A (en) * | 2011-07-28 | 2013-01-30 | 腾讯科技(北京)有限公司 | Method and system for processing display of network media information |
US20130297817A1 (en) * | 2011-01-19 | 2013-11-07 | Electronics And Telecommunications Research Institute | Method and apparatus for transmitting media content via a single port or multiple ports |
CN103458318A (en) * | 2013-07-26 | 2013-12-18 | 深圳市融创天下科技股份有限公司 | Media data transmission method and system |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202896B (en) * | 2007-10-17 | 2010-08-11 | 杭州华三通信技术有限公司 | Video order programming method, video data sending method, server and program source equipment |
CN102025784A (en) * | 2010-12-21 | 2011-04-20 | 中兴通讯股份有限公司 | Method, device and system for downloading streaming media file |
CN102291324A (en) * | 2011-06-28 | 2011-12-21 | 北京神州泰岳软件股份有限公司 | Highly concurrent service request processing method |
CN102387206A (en) * | 2011-10-20 | 2012-03-21 | 镇江睿泰信息科技有限公司 | Synthesis method and system of concurrent request of Web service |
CN102547408B (en) * | 2012-01-17 | 2014-09-03 | 深圳市同洲电子股份有限公司 | Method and system for playing request programs and session manager |
CN104283800B (en) * | 2013-07-05 | 2019-01-08 | 株式会社日立制作所 | Gateway apparatus, communication system and flow control methods |
KR102184492B1 (en) * | 2013-11-19 | 2020-11-30 | 삼성전자주식회사 | Server, user terminal apparatus and method for streaming data service |
CN103747285A (en) * | 2013-12-27 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | Program playing method, server side and client |
CN105933728A (en) * | 2016-04-20 | 2016-09-07 | 乐视控股(北京)有限公司 | Playing request method, device, and system |
CN105847386A (en) * | 2016-04-20 | 2016-08-10 | 乐视控股(北京)有限公司 | Live broadcasting stream processing method, device and system |
-
2016
- 2016-04-20 CN CN201610248835.8A patent/CN105933728A/en active Pending
- 2016-09-27 WO PCT/CN2016/100437 patent/WO2017181602A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130297817A1 (en) * | 2011-01-19 | 2013-11-07 | Electronics And Telecommunications Research Institute | Method and apparatus for transmitting media content via a single port or multiple ports |
CN102904918A (en) * | 2011-07-28 | 2013-01-30 | 腾讯科技(北京)有限公司 | Method and system for processing display of network media information |
CN103458318A (en) * | 2013-07-26 | 2013-12-18 | 深圳市融创天下科技股份有限公司 | Media data transmission method and system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017181602A1 (en) * | 2016-04-20 | 2017-10-26 | 乐视控股(北京)有限公司 | On-demand playback method, device, electronic equipment and system |
CN113126920A (en) * | 2021-04-02 | 2021-07-16 | 深圳市杉岩数据技术有限公司 | Object storage batch reading and writing method, client, storage gateway and medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017181602A1 (en) | 2017-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105847386A (en) | Live broadcasting stream processing method, device and system | |
EP2574004B1 (en) | Method, apparatus and system for improving synchronization efficiency of really simple syndication service | |
CN106921754B (en) | Load balancing method, device, medium and electronic equipment of cluster system | |
CN104581374B (en) | A kind of method, node and server for obtaining section file and generating sub- m3u8 files | |
CN110995513B (en) | Data sending and receiving method in Internet of things system, internet of things equipment and platform | |
CN104025604A (en) | Transmission apparatus, transmission method, and network apparatus | |
CN105656876A (en) | Live video play method, device and system | |
CN108833521A (en) | Message pushing method, device, system, computer equipment and storage medium | |
CN102630378A (en) | Individualized data communication on the basis of a descriptive file | |
CN108737570A (en) | A kind of information-pushing method, apparatus and system | |
CN104504006A (en) | Method and system for acquiring and analyzing data on news client | |
CN105933728A (en) | Playing request method, device, and system | |
CN106850720A (en) | Method for upgrading software, apparatus and system | |
CN105338421A (en) | HLS streaming media transmission method and device | |
CN103299298B (en) | The method and system of process business | |
CN104683833A (en) | Self-adaptive media service method and device | |
CN114979097A (en) | MQTT-based message pushing method and device and electronic equipment | |
CN103034632A (en) | Information transmitting method and a system | |
CN109104472B (en) | Block chain network networking method, device, equipment and computer readable storage medium | |
CN102739701A (en) | Access control method of media streams and peer-to-peer streaming media system | |
CN106411684A (en) | Message processing method and apparatus | |
CN108768952A (en) | Streaming media transmission method, client, server and storage medium | |
CN114139093A (en) | Data communication method, equipment and medium | |
CN115378959A (en) | Data transmission method, device, electronic equipment and storage medium | |
CN111212253B (en) | Monitoring processing method and device in video conference, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160907 |