A kind of system and method that service is provided between net cast
Technical field
The present invention relates to net cast technical field, particularly relate to a kind of service is provided between net cast be
System and method.
Background technology
Along with the fast development of computer network, the demand of net cast service is increasing.Initially, people
Be all by books newpapers and periodicals obtain information, this acquisition mode greatly limit the efficiency of reception information.
Along with internet development, increasing people starts to apply this mode of net cast, and this mode is not only
The visual effect that can provide good is also provided that information resources more widely.But a lot of software or flat
Platform is limited to technology, it is not known that how to go to access this part service;Even if accessing, along with watching people online
The increase of number, all can have certain load to cpu and bandwidth, may have live time delay necessarily
Impact, so can be substantially reduced Consumer's Experience.Thus, need a solution badly and enable to user
Access net cast service, time-consuming and cost more easily.
Summary of the invention
Present invention is primarily targeted at and a kind of system and method providing and servicing between net cast is provided, greatly
The big platform that reduces accesses difficulty and the cost of net cast.
For achieving the above object, a kind of of present invention offer provides the system of service between net cast, including:
Video record unit, cloud storage server, App client, service server;
Described video record unit, for recorded video, by pushing video streaming service server;
Described cloud storage server, for storage video flowing after transcoding, is additionally operable to App client
Push the video flowing of designated broadcast address;
Described App client, for regarding to service server request when entering the direct broadcasting room that user specifies
Frequency is play, and the video playback address returned according to service server obtains from corresponding cloud storage server and to regard
Frequency stream, and show corresponding video information in local terminal window;
Described service server, is carried out at video code conversion for video record unit is pushed the video flowing come
Cloud storage server it is stored in after reason;It is additionally operable to return appointment according to video playback request to App client
The video playback address of direct broadcasting room.
Wherein, described service server includes:
Video flowing receiver module, pushes, for receiving video record unit, the video flowing of coming;
Transcoding service interface, for when receiving the video flowing that propelling movement comes, initiates transcoding instruction;
Transcoded processing module, for instructing according to transcoding, sequentially carries out transcoding process to video flowing.
Wherein, described App client, it is additionally operable to provide the user the live schedule information of each direct broadcasting room.
Wherein, described service server, it is additionally operable to returning the video specifying direct broadcasting room to App client
Before broadcast address, ask to audit to the video playback of App client.
Additionally, for achieving the above object, the present invention also proposes a kind of method providing and servicing between net cast,
Including:
Recorded video, by pushing video streaming service server, is carried out transcoding by service server to video flowing
After store to cloud storage server;
When entering the direct broadcasting room specified, App client asks video playback to service server;
Service server returns to video playback address according to video playback request to App client;
Described App client obtains video according to described video playback address from corresponding cloud storage server
Stream, and show corresponding video information in local terminal window.
Wherein, described service server carries out the method for transcoding and is video flowing:
When receiving the video flowing that propelling movement comes, initiate transcoding by transcoding service interface and instruct;
The instruction of current transcoding is added to message queue;
Instruct according to the transcoding in message queue, carry out transcoding process by the corresponding video flowing of ordered pair, process
Return transcoding result after end, the video flowing after transcoding is stored to cloud storage server simultaneously.
Wherein, the method also includes: provide the user the live advance notice of each direct broadcasting room in App client
Information.
Wherein, the method also includes: described service server is returning appointment direct broadcasting room to App client
Video playback address before, ask to audit to the video playback of App client.
Wherein, the step that the request of described video playback is audited by described service server includes:
Described App client asks video playback to service server;
Described service server issues plug-flow authorization message to App client;
Described App client asks play authorization to service server;
Described service server issues play authorization to App client, wherein carries and specifies regarding of direct broadcasting room
Frequently broadcast address.
The present invention stores pushing after video stream transcoding in cloud storage server, enters direct broadcasting room user
Shi Zaicong service server obtains video playback address, obtains video flowing by this address from cloud storage server
Play out, and also access rights were audited before returning to video playback address, have following excellent
Point:
1, video resource can carry out data process with Indivitual display by user's request;
2, resource resource security is secure, and user can be more relieved;
3, live time delay is little, and flow is little;
4, access service more convenient and quicker, cost-effective.
Accompanying drawing explanation
Fig. 1 provides the system construction drawing of service between net cast for what the embodiment of the present invention provided;
Fig. 2 provides the method flow diagram of service between net cast for what the embodiment of the present invention provided;
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further
Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description
In, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for having
It is beneficial to the explanation of the present invention, itself does not has specific meaning.Therefore, " module " can mix with " parts "
Close ground to use.
Referring to Fig. 1, the present embodiment proposes a kind of system providing and servicing between net cast, including: regard
Frequently recording elements, cloud storage server, App client, service server.
Video record unit, for recorded video, by the cloud storage address being provided previously by, by video flowing
Transmission service server;
Cloud storage server, for storage video flowing after transcoding;It is additionally operable to App client push
The video flowing of designated broadcast address;
App client, is used for providing the user live schedule information, enters user in the live time and specifies
Live room time ask video playback to service server, obtain authorize after return according to service server
The video playback address returned obtains video flowing from corresponding cloud storage server, and shows phase in local terminal window
The video information answered.
Service server, after the video flowing for carrying out the propelling movement of video record unit carries out video code conversion process
It is stored in cloud storage server;It is additionally operable to the request of the video playback to App client audit, examination & verification
The video playback address specifying live room is returned to by backward App client.
Referring to Fig. 2, said system realizes the method for service between net cast and comprises the following steps:
Step 201, use specific software recorded video, by the cloud storage address being provided previously by, will regard
Frequently stream is pushed to service server, stores to specific cloud storage server after transcoding.
Step 202, user watch live schedule information in App client, enter in the live time period and refer to
Fixed live room.
Step 203, App client start broadcasting to service server request video.
Step 204, service server are issued plug-flow and are licensed to App client.
Step 205, App client ask play authorization to service server.
Step 206, service server issue play authorization message to App client.
Step 207, App client open video playback address by player SDK.
Step 208, cloud storage server push live TV stream are to App client, and user i.e. can be client
End sees video related information.
In the present embodiment, App client in the flow process that the live time period enters the live room specified is:
1) service server initiates transcoding instruction to its transcoding service interface.
2) video stream transcoding that service server is received by ordered pair processes.
3) after transcoding process terminates, the video flowing after transcoding is stored to cloud storage service by service server
Device, returns transcoding result simultaneously.
Below the net cast that the present invention is described as a example by the live mutual example of finance and economics is serviced realization side
Method, including step:
1) expert passes through recorded video instrument, on-the-spot recorded video information;
2) recording software, live video information pushing is to service server;
3) service server carries out specific transcoding, storage to cloud storage service to video information;
3) each user checks live advance notice, enters room viewing video in the live time period;
4) client sends, to service server, the request of starting broadcasting;
5) service server authorizes to client, returns to video playback address;
6) client opens player SDK, opens video playback address;
7) cloud storage server, is pushed to video information user and watches video place client-side program;
8) user can be in client player, it is seen that the video resource that oneself is to be accessed;
To sum up, the present invention can provide the net cast service that time delay is little, and access service is more convenient,
Low cost;And it is live just can to enter direct broadcasting room viewing after needing service server mandate, has been effectively ensured and has regarded
Frequently the security of resource.
It should be noted that in this article, term " include ", " comprising " or its any other variant
Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or
Person's device not only includes those key elements, but also includes other key elements being not expressly set out, or also
Including the key element intrinsic for this process, method, article or device.In the feelings not having more restriction
Under condition, statement " including ... " key element limited, it is not excluded that include this key element process,
Method, article or device there is also other identical element.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned
Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical
Cross hardware, but a lot of in the case of the former is more preferably embodiment.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or
Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.