CN108900873A - A kind of network media video broadcasting method - Google Patents

A kind of network media video broadcasting method Download PDF

Info

Publication number
CN108900873A
CN108900873A CN201810886320.XA CN201810886320A CN108900873A CN 108900873 A CN108900873 A CN 108900873A CN 201810886320 A CN201810886320 A CN 201810886320A CN 108900873 A CN108900873 A CN 108900873A
Authority
CN
China
Prior art keywords
video
address
network
playing
array
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810886320.XA
Other languages
Chinese (zh)
Inventor
李正军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Ocean Play Easy Technology Co Ltd
Original Assignee
Chengdu Ocean Play Easy 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 Chengdu Ocean Play Easy Technology Co Ltd filed Critical Chengdu Ocean Play Easy Technology Co Ltd
Priority to CN201810886320.XA priority Critical patent/CN108900873A/en
Publication of CN108900873A publication Critical patent/CN108900873A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/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/26291Content 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 providing content or additional data updates, e.g. updating software modules, stored at the client
    • 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/458Scheduling 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/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Abstract

The present invention discloses a kind of network media video broadcasting method, including:Application booting is from permission is opened, so that the program starting for controlling video playing;The request for obtaining json information is sent to server-side, after obtaining json information, json information is parsed, and obtains network video address, and record into array;The specified video file network address played, calls method for down loading, and downloading can carry out simultaneously with broadcasting;The local video for playing network video or having downloaded;Timing checks whether the video playing address of server-side has change, if there is change, reacquires video address, and save to array, deletes local video file, re-downloads new video file for playing.Technical purpose of the invention is to provide a kind of network media video broadcasting method played applied to advertisement, and this method can obtain automatically video and play automatically.

Description

A kind of network media video broadcasting method
Technical field
The present invention relates to the media advertisement playback method field of information network, in particular to a kind of network media video playing Method.
Background technique
Nowadays, advertisement broadcasting is limited to hardware reliability, is easy to appear various problems, needs manual backup, and people Number is extremely difficult, time-consuming according to recovery.Higher maintenance cost is needed, cost is improved.And hardly provide any software It supports, manpower is needed to carry out all duplicate operations.
Summary of the invention
In view of the deficienciess of the prior art, technical purpose of the invention is to provide a kind of net played applied to advertisement Network media video playback method, this method can obtain automatically video and play automatically.
The invention is realized by the following technical scheme:
Network media video broadcasting method of the invention, includes the following steps:
a)Application booting is from permission is opened, so that the program starting for controlling video playing;
b)The request for obtaining json information is sent to server-side, after obtaining json information, json information is parsed, and obtains net Network video address, and record into array;
c)The specified video file network address played, calls method for down loading, and downloading can carry out simultaneously with broadcasting;
d)The local video for playing network video or having downloaded;
e)Timing checks whether the video playing address of server-side has change, if there is change, reacquires video address, and protect It deposits to array, deletes local video file, re-download new video file for playing.
Further, in step a, application booting is monitoring system booting broadcast from authority method is opened, and static registration is opened Permission is opened in machine broadcast, application booting certainly.
Further, it in step c, is played for the first time if video is non-, first scanning local video file whether there is, if depositing Local video is then being played, network video address is then being called if it does not exist, downloads and play again.
Further, in step d, when playing video, first determine whether video file downloads success, if not downloading into Function then reads array, obtains video file network address, the video for the network address for calling player plays to call;If downloading Success then generates local video, calls player plays local video.
Further, it in step d, when carrying out more video loop plays, is monitored when being completed to video playing;? Json data are passed back as video address array, and array length is obtained, and are monitored when completing to video playing, the storage of loop play array Video address, realize loop play.
Further, in step e, with handler method timing, the time of timing is set, such as 24 hours, then to clothes Business end, which is sent, obtains json information request, and whether the json information that the json information and last time for comparing this acquisition return is identical, If they are the same, then it does not deal with, if not identical, deletes local video, be downloaded operation from the new video address that obtains.
Further, the time of timing is 10~24 hours.
By adopting the above-described technical solution, the beneficial effects of the invention are as follows:
By the automatic running that is switched on, and video address can be obtained from server-side automatically, carry out network video broadcasting, and regarded Frequency is downloaded, and realization is offline after the completion of downloading plays, and reduces flow cost, reduces video to the high request of network;It can also judge Whether video address and the video address of server-side are identical, delete local video if different, obtain updated video, can It is convenient that the requirement of local memory is reduced to the radical type management of video data, can timer access so that the push of advertisement is more Precisely, whole process does not need manual operation, is able to ascend the experience of user.
Detailed description of the invention
The step of Fig. 1 is network media video broadcasting method figure.
Specific embodiment
The present invention is described in detail with reference to the accompanying drawing.
Network media video broadcasting method as shown in Figure 1, includes the following steps:
a)Application booting is from permission is opened, so that the program starting for controlling video playing;
b)The request for obtaining json information is sent to server-side, after obtaining json information, json information is parsed, and obtains net Network video address, and record into array;
c)The specified video file network address played, calls method for down loading, and downloading can carry out simultaneously with broadcasting;
d)The local video for playing network video or having downloaded;
e)Timing checks whether the video playing address of server-side has change, if there is change, reacquires video address, and protect It deposits to array, deletes local video file, re-download new video file for playing.
The step of also having:The version number of software is obtained, if the machine version is lower than the software version of server-side, software is certainly It is dynamic to update software version, to keep the soft version of whole system all consistent.
Wherein, in step a, application booting is monitoring system booting broadcast from authority method is opened, and static registration booting is wide It broadcasts, specially monitors android.intent.action.BOOT_COMPLETED booting broadcast, permission is opened in application booting certainly.
Wherein, it in step c, is played for the first time if video is non-, first scanning local video file whether there is, if it exists then Local video is played then to call network video address if it does not exist to reduce flow cost, download and play again.
Wherein, in step d, when playing video, first determine whether video file downloads success, if not downloading success, Array is then read, video file network address is obtained, the video for the network address for calling player plays to call;If downloading at Function then generates local video, calls player plays local video.
Wherein, it in step d, when carrying out more video loop plays, is monitored when being completed to video playing;In json number According to passing back as video address array, array length is obtained, is monitored when being completed to video playing, the video of loop play array storage Loop play is realized in address.Wherein in the monitoring when video playing is completed, the model of array length -1 is arrived with the subscript of array, 0 In enclosing, the corresponding video of video address in loop play array.It is deposited so as to after the completion of a upper video playing, transfer array The video in next video address and broadcast address put.
Wherein, in step e, with handler method timing, the time of timing is set, such as 24 hours, then to server-side Acquisition json information request is sent, whether the json information that the json information and last time for comparing this acquisition return is identical, if phase Together, then it does not deal with, if not identical, deletes local video, be downloaded operation from the new video address that obtains.The time of timing It can be 10~24 hours.
Entire playback method realizes that the computer applied algorithm can be swashed using booting broadcast by computer applied algorithm It lives and starts automatically, also the video file of storage can be scanned and player is called to play out video.
Therefore, present networks media video playback method can obtain video from server-side automatically for the broadcasting to advertisement Address carries out network video broadcasting, and carries out video download, realizes after the completion of downloading and plays offline, reduce flow cost, reduces High request of the video to network;Can also judge whether the video address of video address and server-side is identical, be deleted if different Local video obtains updated video, can facilitate to the radical type management of video data, reduce the requirement of local memory, Can timer access so that the push of advertisement is more accurate, whole process does not need manual operation, is able to ascend the body of user It tests.

Claims (7)

1. a kind of network media video broadcasting method, which is characterized in that include the following steps:
a)Application booting is from permission is opened, so that the program starting for controlling video playing;
b)The request for obtaining json information is sent to server-side, after obtaining json information, json information is parsed, and obtains net Network video address, and record into array;
c)The specified video file network address played, calls method for down loading, and downloading can carry out simultaneously with broadcasting;
d)The local video for playing network video or having downloaded;
e)Timing checks whether the video playing address of server-side has change, if there is change, reacquires video address, and protect It deposits to array, deletes local video file, re-download new video file for playing.
2. network media video broadcasting method according to claim 1, which is characterized in that in step a, application booting is certainly Opening authority method is that monitoring system booting is broadcasted, and permission is opened in static registration booting broadcast, application booting certainly.
3. network media video broadcasting method according to claim 1, which is characterized in that in step c, if the non-head of video Secondary broadcasting, then first scanning local video file whether there is, and then plays local video if it exists, then calls network video if it does not exist Frequency address, downloads again and plays.
4. network media video broadcasting method according to claim 1, which is characterized in that in step d, play video When, it first determines whether video file downloads success, if not downloading success, reads array, obtain video file network address, The video for the network address for calling player plays to call;If downloading successfully, local video is generated, calls player plays sheet Ground video.
5. network media video broadcasting method according to claim 1, which is characterized in that in step d, carry out more videos When loop play, monitored when being completed to video playing;It passes back in json data as video address array, it is long to obtain array Degree is monitored when completing to video playing, and the video address of loop play array storage realizes loop play.
6. network media video broadcasting method according to claim 1, which is characterized in that in step e, use handler Method timing, sets the time of timing, then sends to server-side and obtains json information request, compares the json letter of this acquisition Whether breath and the json information that returns of last time are identical, if they are the same, then do not deal with, if not identical, delete local video, from new It obtains video address and is downloaded operation.
7. network media video broadcasting method according to claim 6, which is characterized in that the time of timing is 10~24 small When.
CN201810886320.XA 2018-08-06 2018-08-06 A kind of network media video broadcasting method Pending CN108900873A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810886320.XA CN108900873A (en) 2018-08-06 2018-08-06 A kind of network media video broadcasting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810886320.XA CN108900873A (en) 2018-08-06 2018-08-06 A kind of network media video broadcasting method

Publications (1)

Publication Number Publication Date
CN108900873A true CN108900873A (en) 2018-11-27

Family

ID=64353137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810886320.XA Pending CN108900873A (en) 2018-08-06 2018-08-06 A kind of network media video broadcasting method

Country Status (1)

Country Link
CN (1) CN108900873A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378058A (en) * 2010-08-11 2012-03-14 深圳Tcl新技术有限公司 Method for updating search result of IPTV terminal and IPTV server
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal
US20160239896A1 (en) * 2015-02-18 2016-08-18 Paul Shiu-Chang Chay Mobile Website Real Property Search and Map Display System and Method
CN106658054A (en) * 2016-10-13 2017-05-10 合网络技术(北京)有限公司 Video advertisement request link optimization method and apparatus
CN106921506A (en) * 2015-12-25 2017-07-04 北京京东尚科信息技术有限公司 The data acquisition report method and system of mobile device
CN107124634A (en) * 2017-05-15 2017-09-01 四川长虹电器股份有限公司 A kind of method that dynamic updates Youtube videos

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378058A (en) * 2010-08-11 2012-03-14 深圳Tcl新技术有限公司 Method for updating search result of IPTV terminal and IPTV server
CN102695081A (en) * 2012-06-13 2012-09-26 百视通网络电视技术发展有限责任公司 Video resource scheduling method based on Internet television and television terminal
US20160239896A1 (en) * 2015-02-18 2016-08-18 Paul Shiu-Chang Chay Mobile Website Real Property Search and Map Display System and Method
CN106921506A (en) * 2015-12-25 2017-07-04 北京京东尚科信息技术有限公司 The data acquisition report method and system of mobile device
CN106658054A (en) * 2016-10-13 2017-05-10 合网络技术(北京)有限公司 Video advertisement request link optimization method and apparatus
CN107124634A (en) * 2017-05-15 2017-09-01 四川长虹电器股份有限公司 A kind of method that dynamic updates Youtube videos

Similar Documents

Publication Publication Date Title
US7313791B1 (en) Firmware update network and process employing preprocessing techniques
CN101304361B (en) Communication system, information management device and method, and information processing device and method
JP4897175B2 (en) Method and apparatus for adjusting start and end times of broadcast program recording reservation
US8005789B2 (en) Method and apparatus for synchronizing multimedia content with device which supports multi-server environment
CN102123323B (en) Method for rapidly updating television program of single-tuner set top box
US20020052957A1 (en) Entertainment system having function of controlling content distribution
US9128892B2 (en) Managing content on an ISP cache
CN110096294A (en) It is a kind of can break-point radio upgrade MCU application program method
CN103152412A (en) QT-based multimedia networked information publication terminal system
CN105120299A (en) Video pushing method and video pushing device
CN103428524A (en) IPTV server and playing method of recorded content
CN106254948A (en) A kind of terminal unit plays control method and the device of start video
CN1909702A (en) Information receiving apparatus, data downloading method, and information receiving system
EP1791318A2 (en) Media distribution system
CN103840963B (en) Method and device for updating server data
CN108965910A (en) A kind of video cache method and player
CN105450682A (en) Method, device, and system for data synchronous storage and synchronizing data to client
CN103310001B (en) A kind of method and apparatus that list of videos is set
JP2002344400A (en) Interlocked control method for data broadcasting and interlocked control method
CN102056014A (en) Stream media recording method and system
JP6750227B2 (en) Information equipment and distribution equipment
US7000104B2 (en) Terminal device for authorizing use of content distributed through a network
CN108900873A (en) A kind of network media video broadcasting method
WO2017071642A1 (en) Media playback method, device and computer storage medium
KR101587030B1 (en) System and method for api call policy management of m2m application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181127

RJ01 Rejection of invention patent application after publication