CN103702178B - A kind of playback method and electronic equipment - Google Patents

A kind of playback method and electronic equipment Download PDF

Info

Publication number
CN103702178B
CN103702178B CN201310684809.6A CN201310684809A CN103702178B CN 103702178 B CN103702178 B CN 103702178B CN 201310684809 A CN201310684809 A CN 201310684809A CN 103702178 B CN103702178 B CN 103702178B
Authority
CN
China
Prior art keywords
program
electronic equipment
stream media
live broadcast
standby
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.)
Active
Application number
CN201310684809.6A
Other languages
Chinese (zh)
Other versions
CN103702178A (en
Inventor
陈金付
盖鹏
胡曰峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Sports Culture Develop Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing 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 LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201310684809.6A priority Critical patent/CN103702178B/en
Publication of CN103702178A publication Critical patent/CN103702178A/en
Application granted granted Critical
Publication of CN103702178B publication Critical patent/CN103702178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A kind of playback method of the embodiment of the present invention offer and electronic equipment, are related to electronic information technical field, by playing the standby for the program to be broadcast that electronic equipment lack of competence plays, promote the broadcast performance of electronic equipment.This method includes:When electronic equipment receives program switching command during playing live broadcast stream media, play right first identifier of the instruction electronic equipment corresponding with the mark of program to be broadcast in program switching command for program to be broadcast is obtained;If first identifier indicates that electronic equipment lack of competence plays program to be broadcast, the mark of the corresponding standby of program to be broadcast is obtained;The mark of standby is sent to dispatch server, so that mark of the dispatch server according to standby, determines the addresses content distributing network CDN corresponding with the mark of standby;According to the addresses CDN from dispatch server are received, the program data of standby is downloaded and played.

Description

A kind of playback method and electronic equipment
Technical field
The present invention relates to electronic information technical field more particularly to a kind of playback methods and electronic equipment.
Background technology
With the development of internet technique, more and more people pay close attention to network direct broadcasting, especially network flow-medium and are broadcast live It is more concerned.By network signal, watch ball match, competitive sports, occasion and news etc. online, allow people have it is wide and Free selection space.
Currently, since the programme televised live list of electronic equipment is to write on browser page, and pass through Javascript by the page It operates and controls, therefore, the programme televised live Dan Zhonghui that electronic equipment generates shows all live streaming sections that electronic equipment is got Purpose playbill data, including electronic equipment has permission the playbill data of the programme televised live of broadcasting and electronic equipment does not have permission The playbill data of the programme televised live of broadcasting.
However, working as program of the electronic equipment in playing programme televised live list, and receives and be switched to current playing program When program to be broadcast in programme televised live list, if electronic equipment detects when itself not having permission to play program to be broadcast, electronics Equipment can only carry out blank screen and show, the broadcast performance of electronic equipment is caused to be restricted.
Invention content
A kind of playback method of the embodiment of the present invention offer and electronic equipment, when electronic equipment is playing live broadcast stream media When receiving program switching command in the process, by obtaining the first identifier of program to be broadcast, enable to electronic equipment in nothing When permission plays program to be broadcast, the mark of the corresponding standby of program to be broadcast is got, and then according to standby Mark obtains and plays the program data of standby, if solve electronic equipment lack of competence broadcasting program to be broadcast, electronics Equipment can only carry out the problem of blank screen display, improve the broadcast performance of electronic equipment.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that:
The embodiment of the present invention provides a kind of playback method, including:
When electronic equipment receives program switching command during playing live broadcast stream media, switched according to the program The mark for the program to be broadcast for including in instruction obtains first identifier corresponding with the mark of the program to be broadcast;Wherein, institute State the play right that first identifier is used to indicate the electronic equipment for the program to be broadcast;
If the first identifier indicates that the electronic equipment lack of competence plays the program to be broadcast, the electronic equipment Obtain the mark of the corresponding standby of the program to be broadcast;
The mark of the standby is sent to dispatch server by the electronic equipment, so that the dispatch server According to the mark of the standby, the addresses content distributing network CDN corresponding with the mark of the standby are determined;
The electronic equipment receives the addresses CDN from the dispatch server;
The electronic equipment obtains the data in CDN server corresponding with the addresses CDN according to the addresses CDN The address of list;
The electronic equipment downloads the program data of the standby according to the address of the data list;
The electronic equipment plays the program data of the standby.
The electronic equipment is obtained and is waited for described according to the mark for the program to be broadcast for including in the program switching command The method for playing the corresponding first identifier of section purpose mark, including:
The electronic equipment obtains described according to the mark of the program to be broadcast from default program information list One mark;
Wherein, the generation method of the default program information list, including:
The electronic equipment receives live broadcast stream media request;
The electronic equipment is asked according to the live broadcast stream media, obtains the first information, and the first information is combined Program single-address is generated, the first information includes at least the programme that the live broadcast stream media asks corresponding live broadcast stream media Title, the address of server for storing playbill data, the server of file type and the storage playbill data are recognizable The current date of format;
The electronic equipment is saved according to the program single-address described in the server for obtaining the storage playbill data The corresponding playbill data of mesh single-address;
The electronic equipment generates the default program information list according to the playbill data.
The electronic equipment is asked according to the live broadcast stream media, obtains the first information, and the first information is combined Generate program single-address the step of include:
The programme title and file type for asking corresponding live broadcast stream media with the live broadcast stream media are obtained, and is obtained Take storage playbill data server address and it is described storage playbill data the identifiable format of server it is current Date;
According to the single address format of preset program, by the programme title, the service of the storage playbill data The current date of the identifiable format of server of the address of device, the file type and the storage playbill data generates institute State program single-address.
The electronic equipment obtains the programme title step that corresponding live broadcast stream media is asked with the live broadcast stream media Including:
The electronic equipment obtains preset initiation parameter, and the preset initiation parameter includes and the live TV stream The programme title of the corresponding live broadcast stream media of media request and/or the ID of the live broadcast stream media;And it is described it is preset just When beginningization parameter includes only the ID of the live broadcast stream media, the ID of the live broadcast stream media is converted into corresponding program single-character given name Claim.
The embodiment of the present invention provides a kind of electronic equipment, including:
Acquiring unit, for during playing live broadcast stream media the receiving unit receive program switching command When, according to the mark for the program to be broadcast for including in the program switching command, obtain the mark pair with the program to be broadcast The first identifier answered;Wherein, the first identifier is used to indicate right of broadcasting of the electronic equipment for the program to be broadcast Limit, and if indicate that the electronic equipment lack of competence plays the program to be broadcast for the first identifier, obtain described in The mark of the corresponding standby of program to be broadcast, and the addresses CDN received according to the receiving unit are additionally operable to, Obtain the address of the data list in CDN server corresponding with the addresses CDN;
Transmission unit, for the mark of the standby to be sent to dispatch server, so that the dispatch service Device determines the addresses content distributing network CDN corresponding with the mark of the standby according to the mark of the standby;
Receiving unit, for receiving program switching command, and for receiving the CDN from the dispatch server Address;
Processing unit, the address of the data list for being got according to the acquiring unit are downloaded described spare The program data of program;
Display unit, the program data for playing the standby that the processing unit is downloaded.
The acquiring unit, described in the program switching command that is received according to the receiving unit The mark of program to be broadcast obtains the first identifier from default program information list;It is additionally operable to single according to the reception The live broadcast stream media request that member receives, obtains the first information, and the first information includes at least the live broadcast stream media Ask the programme title of corresponding live broadcast stream media, the address of server for storing playbill data, file type and described The server for storing playbill data can recognize that the current date of format, and be additionally operable to the institute generated according to the processing unit Program single-address is stated, the corresponding playbill data of program single-address described in the server of the storage playbill data is obtained;
The receiving unit is additionally operable to receive live broadcast stream media request;
The processing unit, with being additionally operable to the first information combination producing programme for getting the acquiring unit Location, and it is additionally operable to the playbill data got according to the acquiring unit, generate the default program information row Table.
The acquiring unit is specifically additionally operable to obtain the live broadcast stream media request pair received with the receiving unit The programme title and file type for the live broadcast stream media answered, and obtain address and the institute of the server of storage playbill data State the current date of the identifiable format of server of storage playbill data;
The processing unit, is specifically used for according to the single address format of preset program, by the programme title, described Address, the file type and the server for storing playbill data for storing the server of playbill data are identifiable The current date of format generates the program single-address.
The acquiring unit is additionally operable to obtain preset initiation parameter, and the preset initiation parameter includes and institute It states live broadcast stream media and asks the programme title of corresponding live broadcast stream media and/or the ID of the live broadcast stream media;
The processing unit, the preset initiation parameter for being additionally operable to get in the acquiring unit include only institute When stating the ID of live broadcast stream media, the ID of the live broadcast stream media is converted into corresponding programme title.
A kind of playback method of the embodiment of the present invention offer and electronic equipment, electronic equipment is in the mistake for playing live broadcast stream media When receiving program switching command in journey, according to the mark for the program to be broadcast for including in program switching command, instruction electricity is obtained Sub- equipment for the play right of the program to be broadcast first identifier, if first identifier instruction electronic equipment lack of competence play Program to be broadcast, electronic equipment then obtains the mark of the corresponding standby of program to be broadcast, and the mark of standby is sent out It send to dispatch server, so that dispatch server is corresponding with the mark of standby according to the determination of the mark of standby The addresses CDN, to which electronic equipment obtains according to the addresses CDN and play the program data of standby, solves in electronic equipment When lack of competence plays program to be broadcast, the problem of electronic equipment can only carry out blank screen display, the playability of electronic equipment is improved Energy.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow diagram of the playback method of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the electronic equipment of the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In addition, the terms " system " and " network " are often used interchangeably herein.The terms " and/ Or ", only a kind of incidence relation of description affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, it can be with table Show:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition, character "/" herein, typicallys represent front and back Affiliated partner is a kind of relationship of "or".
Various techniques described herein is only suitable for electronic equipment and is playing live broadcast stream media, and it is currently playing to receive switching During program instructions.
JavaScript is a kind of client-side scripting language based on object and event-driven and with relative safety, together When be also a kind of script being widely used in client Web exploitation, be commonly used to HTML(Hypertext Markup Language, hypertext markup language)Webpage adds dynamic function, such as the various operations of response user.
It can also be catv terminal that electronic equipment, which can be wireless terminal, and wireless terminal can refer to providing a user language The equipment of sound and/or data connectivity has the portable equipment of wireless connecting function or is connected to radio modem Other processing equipments.Wireless terminal can be through wireless access network(For example, RAN, Radio Access Network)With one or Multiple cores net is communicated, and wireless terminal can be mobile terminal, such as mobile phone(Or it is " honeycomb " phone)With with The computer of mobile terminal.
Embodiment one
The present invention provides a kind of playback method, as shown in Figure 1, including:
S101, electronic equipment receive program switching command during playing live broadcast stream media.
Currently, the programme televised live list of electronic equipment is to write on browser page, by the page by JavaScript operations and Control, the programme information of all programs is shown in the programme televised live list that electronic equipment generates, and when electronic equipment is to be played When the program that electronic equipment lack of competence plays in programme, electronic equipment can only carry out blank screen and show that output performance is poor.
The embodiment of the present invention provides a kind of playback method, when electronic equipment receives during playing live broadcast stream media When program switching command, by obtaining first identifier corresponding with the mark of program to be broadcast so that electronic equipment is in lack of competence When playing program to be broadcast, the mark of standby is got, and then obtained according to the mark of standby and play spare section Purpose program data.
Live streaming is that scene makes and releases news as the generation of event, development process synchronize, and has the process that two-way circulates Information network published method.Its form can also be divided into live broadcast, studio talk-show live, word and picture live broadcast, regard sound Frequency live streaming or the live streaming that information source is provided by third party.For example, Online Video live streaming be exactly using Internet resources carry out it is live directly Broadcast service, by scene video capture synchronized upload to network on, user can the same time when seeing first on network Between live video.
Streaming Media refers to transmitting data by network segmentation, on network in real time after compressing a series of media data Transmitting audio-video is for a kind of ornamental technology and process, this technology makes packet be able to send as flowing water, if not Using this technology, just entire media file must downloaded using preceding.
Further, Streaming Media, which is one kind, makes audio, video and other multimedia elements on internet and wireless network By in real time, without download wait in a manner of the technology that plays out.Streaming manner is by multimedias such as video and audios File is divided into compressed package one by one by special compress mode, in real time transmission continuous from server to subscriber computer.It is adopting Ability after waiting until entire file whole download like that in the system of streaming manner, user plays not necessarily like non-stream Content in seeing, but only that the start-up study by several seconds or tens seconds can utilize phase on the user computer The player answered plays out the streaming videos file such as the video of compression or audio, and remaining part will continue to download, Until finishing.
It should be noted that live broadcast stream media is the multimedia of any one format, the live TV stream in the embodiment of the present invention Media can be live video, or live audio, the embodiment of the present invention are not construed as limiting.
For electronic equipment during playing live broadcast stream media, section to be played could be played by receiving program switching command Mesh, wherein program switching command includes the mark of program to be broadcast, which can be the name of program to be broadcast, can also For the storage address of the program data of program to be broadcast.
Optionally, program switching command can be generated after electronic equipment detects currently playing program.
Illustratively, if electronic equipment is smart television, smart television is currently playing during playing live broadcast stream media " small father ", when smart television receives program switching command, currently playing " small father " could be switched to by smart television Play program to be broadcast.
S102, electronic equipment are believed according to the mark for the program to be broadcast for including in program switching command from default programme It ceases and obtains first identifier corresponding with the mark of program to be broadcast in list.
Wherein, first identifier is used to indicate play right of the electronic equipment for program to be broadcast.
Specifically, when electronic equipment receives program switching command, electronic equipment waits broadcasting according in program switching command Section purpose mark is put, is obtained from default program information list and is used to indicate right of broadcasting of the electronic equipment for program to be broadcast The first identifier of limit, so that electronic equipment judges that its own plays the program data of program to be broadcast still according to first identifier Play the program data of standby corresponding with program to be broadcast.
Default program information list is electronic equipment after receiving live broadcast stream media request, and electronic equipment is according to live streaming Streaming Media acquisition request asks the programme title and file type of corresponding live broadcast stream media with live broadcast stream media, and obtains It stores the address of the server of playbill data and stores the current date of the identifiable format of server of playbill data, so Program single-address is generated according to the content got afterwards, and generated after reading playbill data in program single-address.
Wherein, live broadcast stream media request can be that electronic equipment detects that the clicking operation of user generates, for triggering Electronic equipment generates programme.Further, live broadcast stream media request is live broadcast stream media playing request, and electronic equipment receives While the live broadcast stream media playing request, browser page corresponding with live broadcast stream media playing request is opened, in case playing Live broadcast stream media.
What electronic equipment was got asks the entitled electronics of the programme of corresponding live broadcast stream media to set with live broadcast stream media Standby basis gets what preset initiation parameter was got from browser page plug-in unit, wherein preset initiation parameter Include the ID for the programme title and/or live broadcast stream media that corresponding live broadcast stream media is asked with live broadcast stream media.
Further, if preset initiation parameter includes only the ID of live broadcast stream media, electronic equipment is by live TV stream The ID of media is converted to corresponding programme title, in case generating program single-address.
It is understood that including the storage of the corresponding previewing programs figure of live broadcast stream media in default program information list Address, programm name, program initial time and whether shielded electronic equipment(That is first identifier).
Illustratively, what electronic equipment was currently playing is the top line " the good sound of China " in programme televised live list, directly It is " China on the tip of the tongue " to broadcast second program in programme, and electronic equipment is broadcast from current playing program " the good sound of China " switching It puts " China on the tip of the tongue ".When electronic equipment receives program switching command, electronic equipment is according in the program switching command Program to be broadcast mark " China on the tip of the tongue ", from default program information list obtain be used to indicate electronic equipment pair In the first identifier of the play right of broadcasting " China on the tip of the tongue ", in order to which electronic equipment knows it certainly according to the first identifier Whether body can smoothly play " China on the tip of the tongue " in programme televised live list.
If S103, first identifier instruction electronic equipment lack of competence play program to be broadcast, electronic equipment is from default program The mark of the corresponding standby of program to be broadcast is obtained in single information list.
Specifically, when the first identifier instruction electronic equipment lack of competence that electronic equipment is got plays program to be broadcast, electricity Sub- equipment is then abandoned playing program to be broadcast, and switchs to play standby.
Further, electronic equipment obtains the corresponding standby of program to be broadcast from default program information list Mark, so that electronic equipment obtains data according to the mark of standby, wherein the mark of standby can be spare section Destination IP.
It should be noted that live broadcast stream media can be live audio, or live video;Standby can be Free online multimedium, or live broadcast stream media, the embodiment of the present invention are not construed as limiting.
The mark of standby is sent to dispatch server by S104, electronic equipment.
Know itself there is no permission to play program to be broadcast in electronic equipment, and gets the standby of program to be broadcast Mark after, the mark of standby is sent to dispatch server by electronic equipment, so that falling server according to electronic equipment The mark of the standby of transmission determines the addresses content distributing network CDN corresponding with the mark of standby, so that electric Sub- equipment gets the program data of standby.、
Wherein, CDN is a kind of new network content service system, is based on IP(Internet Protocol, network it Between the agreement that interconnects)Network and build, the basic ideas of structure are to avoid being possible on internet as far as possible influencing data passing The bottleneck and link of defeated speed and stability so that the transmission of data is faster, more stable.By placing node everywhere in network Server is formed in one layer of intelligent virtual network on existing Internet basic, and CDN system can be in real time according to network Flow, the connection of each node, load state, to the integrated informations such as the distance of user and response time by the request of user again It is adjusted on the service node nearest from user, the purpose is to allow user to obtain required data nearby, to solve Internet network crowded situation improves the response speed that user accesses website.
S105, dispatch server determine content distribution corresponding with the mark of standby according to the mark of standby The addresses network C DN.
Wherein, it is standby to be used to indicate electronic equipment reading for the addresses content distributing network CDN corresponding with the mark of standby With the program data of program.
Specifically, dispatch server receive electronic equipment transmission standby mark after, according to standby Mark electron equipment distribute CDN corresponding with the mark of standby addresses, wherein CDN service corresponding with the addresses CDN The data of standby are preserved in the data list for including standby in device in the list, electronic equipment is according to the CDN Location can efficiently get standby.
S106, electronic equipment receive the addresses CDN from dispatch server.
S107, electronic equipment obtain the ground of the data list in CDN server corresponding with the addresses CDN according to the addresses CDN Location.
Specifically, the data list due to including standby in CDN server, standby is preserved in the list Data, therefore, electronic equipment can get the row of the data in CDN server after receiving the addresses CDN, according to the addresses CDN The address of table, in turn, electronic equipment obtain standby according to the address of the data list.
S108, electronic equipment download the program data of standby according to the address of data list.
S109, electronic equipment play the program data of standby.
After electronic equipment gets the program data of standby, played.
Further, when electronic equipment lack of competence plays program to be broadcast, electronic equipment plays standby.Electronic equipment When playing standby, the display interface display reminding information of electronic equipment prompts user's electronic equipment lack of competence to play Program to be broadcast is converted to broadcasting standby by program to be broadcast.During electronic equipment plays standby, working as When the preceding moment reaches the initial time for the program that electronic equipment has permission broadcasting in programme televised live list, electronic equipment display interface It will appear prompt message, prompt user that will play next program in programme televised live list, and broadcasting content is switched to electronics and is set Have the program of permission broadcasting.
Illustratively, what electronic equipment was currently playing is the top line " the good sound of China " in programme televised live list, directly It is " China on the tip of the tongue " to broadcast second program in programme, and third program is " midday news ", when electronic equipment receives When switching current playing program instruction, electronic equipment is instructed according to the switching current playing program, from program information list Acquisition is used to indicate the first identifier whether electronic equipment has permission broadcasting " China on the tip of the tongue ", if first identifier indicates electronics Equipment can not play " China on the tip of the tongue ", then electronic equipment obtains the backup file " Wall Street " of " China on the tip of the tongue ", electricity For sub- equipment when " the good sound of China " is switched to " Wall Street ", there is prompt message in display interface:" play the tip of the tongue without permission On China, i.e., will play Wall Street for you ", in " Wall Street " playing process, if the broadcasting initial time of " midday news " It reaches, and electronic equipment has permission broadcasting " midday news ", then electronic equipment display interface also will appear prompt message:" i.e. will Midday news is played for you ", and " Wall Street " is switched into broadcasting " midday news ".
The embodiment of the present invention provides a kind of playback method, and electronic equipment receives section during playing live broadcast stream media When mesh switching command, according to the mark for the program to be broadcast for including in program switching command, instruction electronic equipment is obtained for institute The first identifier of the play right of program to be broadcast is stated, if first identifier instruction electronic equipment lack of competence plays program to be broadcast, Electronic equipment then obtains the mark of the corresponding standby of program to be broadcast, and the mark of standby is sent to dispatch service Device, so that dispatch server determines the addresses CDN corresponding with the mark of standby according to the mark of standby, to, Electronic equipment obtains according to the addresses CDN and plays the program data of standby, solves and is waited in the broadcasting of electronic equipment lack of competence When playing program, the problem of electronic equipment can only carry out blank screen display, the broadcast performance of electronic equipment is improved.
Embodiment two
The embodiment of the present invention provides a kind of electronic equipment, as shown in Fig. 2, including:
Acquiring unit 10, for during playing live broadcast stream media the receiving unit 12 receive program switching refer to When enabling, according to the mark for the program to be broadcast for including in the program switching command, the mark with the program to be broadcast is obtained Corresponding first identifier;Wherein, the first identifier is used to indicate broadcasting of the electronic equipment for the program to be broadcast Permission, and if for the first identifier instruction electronic equipment lack of competence broadcasting program to be broadcast, obtaining institute The mark of the corresponding standby of program to be broadcast is stated, and is additionally operable to the CDN received according to the receiving unit 12 Address obtains the address of the data list in CDN server corresponding with the addresses CDN;
Transmission unit 11, for the mark of the standby to be sent to dispatch server, so that the scheduling takes Device be engaged according to the mark of the standby, determines the addresses content distributing network CDN corresponding with the mark of the standby;
Receiving unit 12, for receiving program switching command, and for receiving from described in the dispatch server The addresses CDN;
Processing unit 13, the address of the data list for being got according to the acquiring unit 10, described in download The program data of standby;
Display unit 14, the program data of the standby for playing the download of the processing unit 13.
Further, the acquiring unit 10 is cut specifically for the program received according to the receiving unit 12 The mark for changing the program to be broadcast in instruction, obtains the first identifier from default program information list, is additionally operable to The live broadcast stream media request received according to the receiving unit 12, obtains the first information, the first information at least wraps Include the live broadcast stream media ask corresponding live broadcast stream media programme title, store playbill data server ground The server of location, file type and the storage playbill data can recognize that the current date of format, and be additionally operable to according to institute The program single-address of the generation of processing unit 13 is stated, with obtaining programme described in the server of the storage playbill data The corresponding playbill data in location;
The receiving unit 12 is additionally operable to receive live broadcast stream media request;
The processing unit 13 is additionally operable to the first information combination producing program for getting the acquiring unit 10 Single-address, and it is additionally operable to the playbill data got according to the acquiring unit 10, generate the default programme Information list.
Further, the acquiring unit 10, be specifically additionally operable to obtain received with the receiving unit 12 it is described straight Broadcasting flow-medium asks the programme title and file type of corresponding live broadcast stream media, and obtains the clothes of storage playbill data The current date of the identifiable format of server of the address of business device and the storage playbill data;
The processing unit 13 is specifically used for according to the single address format of preset program, by the programme title, institute Address, the file type and the server for storing playbill data for stating the server of storage playbill data are recognizable The current date of format generate the program single-address.
Further, the acquiring unit 10 is additionally operable to obtain preset initiation parameter, the preset initialization ginseng Number includes asking the programme title of corresponding live broadcast stream media and/or the live broadcast stream media with the live broadcast stream media ID;
The processing unit 13, the preset initiation parameter for being additionally operable to get in the acquiring unit 10 only wrap When ID containing the live broadcast stream media, the ID of the live broadcast stream media is converted into corresponding programme title.
The embodiment of the present invention provides a kind of electronic equipment, and acquiring unit receives section during playing live broadcast stream media When mesh switching command, according to the mark for the program to be broadcast for including in program switching command, instruction electronic equipment is obtained for institute The first identifier of the play right of program to be broadcast is stated, if first identifier instruction electronic equipment lack of competence plays program to be broadcast, The mark of the corresponding standby of program to be broadcast is then obtained, and the mark of standby is sent to scheduling by transmission unit Server, so that dispatch server determines the addresses CDN corresponding with the mark of standby according to the mark of standby, from And acquiring unit is obtained according to the addresses CDN and plays the program data of standby, is solved and is played in electronic equipment lack of competence When program to be broadcast, the problem of electronic equipment can only carry out blank screen display, the broadcast performance of electronic equipment is improved.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application Block is completed, i.e., the internal structure of device is divided into different function modules, to complete all or part of work(described above Energy.The specific work process of the system, apparatus, and unit of foregoing description can refer to corresponding in preceding method embodiment Journey, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or The division of unit, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be by some interfaces, device or unit INDIRECT COUPLING or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment(Can be personal computer, server or the network equipment etc.)Or processor(processor)It is each to execute the present invention The all or part of step of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), magnetic disc or CD Etc. the various media that can store program code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (6)

1. a kind of playback method, which is characterized in that including:
When electronic equipment receives program switching command during playing live broadcast stream media, according to the program switching command In include program to be broadcast mark, from default program information list obtain it is corresponding with the mark of the program to be broadcast First identifier;Wherein, the first identifier is mark of the electronic equipment according to the program to be broadcast, from default program It is got in single information list, the first identifier is used to indicate broadcasting of the electronic equipment for the program to be broadcast The generation method of permission, the default program information list includes:The electronic equipment receives live broadcast stream media request;It is described Electronic equipment is asked according to the live broadcast stream media, obtains the first information, and by the first information combination producing programme Location, the first information include at least the live broadcast stream media and ask the programme title of corresponding live broadcast stream media, storage section What the server of the address of the server of mesh forms data, file type and the storage playbill data can recognize that format works as the day before yesterday Phase;The electronic equipment obtains programme described in the server of the storage playbill data according to the program single-address The corresponding playbill data in address;The electronic equipment generates the default program information row according to the playbill data Table;
If the first identifier indicates that the electronic equipment lack of competence plays the program to be broadcast, the electronic equipment obtains The mark of the corresponding standby of the program to be broadcast;
The mark of the standby is sent to dispatch server by the electronic equipment so that the dispatch server according to The mark of the standby determines the addresses content distributing network CDN corresponding with the mark of the standby;
The electronic equipment receives the addresses CDN from the dispatch server;
The electronic equipment obtains the data list in CDN server corresponding with the addresses CDN according to the addresses CDN Address;
The electronic equipment downloads the program data of the standby according to the address of the data list;
The electronic equipment plays the program data of the standby.
2. according to the method described in claim 1, the electronic equipment is asked according to the live broadcast stream media, the first letter is obtained Breath, and include by the step of first information combination producing program single-address:
The programme title and file type for asking corresponding live broadcast stream media with the live broadcast stream media are obtained, and obtains and deposits Store up the current date of the address of the server of playbill data and the identifiable format of server of the storage playbill data;
According to the single address format of preset program, by the programme title, the server of the storage playbill data The current date of the identifiable format of server of address, the file type and the storage playbill data generates the section Mesh single-address.
3. according to the method described in claim 2, it is characterized in that, the electronic equipment obtains and live broadcast stream media request The programme title step of corresponding live broadcast stream media includes:
The electronic equipment obtains preset initiation parameter, and the preset initiation parameter includes and the live broadcast stream media Ask the programme title of corresponding live broadcast stream media and/or the ID of the live broadcast stream media;And in the preset initialization When parameter includes only the ID of the live broadcast stream media, the ID of the live broadcast stream media is converted into corresponding programme title.
4. a kind of electronic equipment, which is characterized in that including:
Receiving unit, for receiving program switching command;
Acquiring unit, for during playing live broadcast stream media the receiving unit receive the program switching command When, according to the mark for the program to be broadcast for including in the program switching command, obtained from default program information list with The corresponding first identifier of mark of the program to be broadcast;Wherein, the first identifier is that the electronic equipment is waited for according to Section purpose mark is played, is got from default program information list, the first identifier is used to indicate the electronics and sets The standby play right for the program to be broadcast, and if indicating that the electronic equipment lack of competence is broadcast for the first identifier The program to be broadcast is put, then obtains the mark of the corresponding standby of the program to be broadcast;
Transmission unit, for the mark of the standby to be sent to dispatch server, so that the dispatch server root According to the mark of the standby, the addresses content distributing network CDN corresponding with the mark of the standby are determined;
The receiving unit is additionally operable to receive the addresses CDN from the dispatch server;
The acquiring unit is additionally operable to the addresses CDN received according to the receiving unit, obtains and the addresses CDN The address of data list in corresponding CDN server;
Processing unit, the address of the data list for being got according to the acquiring unit, downloads the standby Program data;
Display unit, the program data for playing the standby that the processing unit is downloaded;
Wherein,
The receiving unit is additionally operable to receive live broadcast stream media request;
The acquiring unit is additionally operable to the live broadcast stream media request received according to the receiving unit, obtains the first letter Breath, the first information include at least the live broadcast stream media and ask the programme title of corresponding live broadcast stream media, storage section Address, file type and the server for storing playbill data of the server of mesh forms data can recognize that the current of format Date, and it is additionally operable to the program single-address generated according to the processing unit, obtain the storage playbill data The corresponding playbill data of program single-address described in server;
The processing unit is additionally operable to the first information combination producing program single-address for getting the acquiring unit, And it is additionally operable to the playbill data got according to the acquiring unit, generate the default program information list.
5. electronic equipment according to claim 4, which is characterized in that
The acquiring unit is specifically additionally operable to obtain corresponding with the live broadcast stream media request that the receiving unit receives The programme title and file type of live broadcast stream media, and obtain the address of the server of storage playbill data and described deposit Store up the current date of the identifiable format of server of playbill data;
The processing unit is specifically used for according to the single address format of preset program, by the programme title, the storage The address of the server of playbill data, the file type and the identifiable format of server for storing playbill data Current date generate the program single-address.
6. electronic equipment according to claim 5, which is characterized in that
The acquiring unit, is additionally operable to obtain preset initiation parameter, the preset initiation parameter include with it is described straight Broadcasting flow-medium asks the programme title of corresponding live broadcast stream media and/or the ID of the live broadcast stream media;
The processing unit, the preset initiation parameter for being additionally operable to get in the acquiring unit include only described straight When the ID of broadcasting flow-medium, the ID of the live broadcast stream media is converted into corresponding programme title.
CN201310684809.6A 2013-12-13 2013-12-13 A kind of playback method and electronic equipment Active CN103702178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310684809.6A CN103702178B (en) 2013-12-13 2013-12-13 A kind of playback method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310684809.6A CN103702178B (en) 2013-12-13 2013-12-13 A kind of playback method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103702178A CN103702178A (en) 2014-04-02
CN103702178B true CN103702178B (en) 2018-08-03

Family

ID=50363560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310684809.6A Active CN103702178B (en) 2013-12-13 2013-12-13 A kind of playback method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103702178B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135675A (en) * 2014-07-30 2014-11-05 华为技术有限公司 Method and device of controlling live broadcast of program
CN105138249A (en) * 2015-07-20 2015-12-09 天脉聚源(北京)科技有限公司 Method and device for controlling playing operation
CN108111871A (en) * 2016-11-25 2018-06-01 深圳市优朋普乐传媒发展有限公司 A kind of carousel method and system
CN106657110B (en) * 2016-12-30 2020-12-04 北京奇虎科技有限公司 Encryption transmission method and device for streaming data
CN108965901B (en) * 2018-07-06 2021-02-02 武汉斗鱼网络科技有限公司 Display method for live broadcast platform and electronic equipment
CN109348242B (en) * 2018-11-14 2021-10-26 网易(杭州)网络有限公司 Live network scheduling method, device, medium and electronic equipment
CN112511857B (en) * 2021-02-03 2021-06-04 新东方教育科技集团有限公司 Method, device, storage medium and terminal for preventing terminal from sleeping based on browser

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859272A (en) * 2005-04-30 2006-11-08 华为技术有限公司 Group broadcast program repeating processing method and connecting device for multicast repeat
CN101420458A (en) * 2008-12-09 2009-04-29 清华大学 Multimedia content monitoring system, method and device based on content distributing network
CN102694831A (en) * 2011-03-25 2012-09-26 中国电信股份有限公司 Data compensation method of streaming media of mobile terminal and data compensation system thereof, and content distribution network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100484069C (en) * 2007-05-21 2009-04-29 华为技术有限公司 File data distributing method and relative device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859272A (en) * 2005-04-30 2006-11-08 华为技术有限公司 Group broadcast program repeating processing method and connecting device for multicast repeat
CN101420458A (en) * 2008-12-09 2009-04-29 清华大学 Multimedia content monitoring system, method and device based on content distributing network
CN102694831A (en) * 2011-03-25 2012-09-26 中国电信股份有限公司 Data compensation method of streaming media of mobile terminal and data compensation system thereof, and content distribution network

Also Published As

Publication number Publication date
CN103702178A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN103702178B (en) A kind of playback method and electronic equipment
CN107483972B (en) A kind of live streaming processing method of audio-video, storage medium and a kind of mobile terminal
JP5580302B2 (en) Broadcast seeding for peer-to-peer networks
CN113965811B (en) Play control method and device, storage medium and electronic device
CN101159577B (en) Apparatus for receiving adaptive broadcast signal and method thereof
CN109889543A (en) Method, root node, child node, P2P server and the system of transmission of video
CN106998490B (en) A kind of multi-medium data synchronous method and device
CN103581698B (en) Terminal device and video data releasing method
CN104618738B (en) A kind of smart television program broadcasting method and device
CN102035839A (en) Method, system and equipment for providing stream media service
WO2018103644A1 (en) Live stream sharing method and device, home media apparatus, and data storage medium
CN104427355B (en) A kind of playback method and device of multimedia resource
CN103986945A (en) Hybrid network system, channel content replay method and hybrid set top box
CN103220297B (en) Method for carrying out multi-screen interaction through social network
CN107872721A (en) A kind of multimedia data transmission method, terminal and computer-readable medium
CN103888515A (en) Media resource sharing method based on browser
CN103024491B (en) The video broadcasting method of mobile terminal and system
CN104363509B (en) A kind of video conversion method, device, play system and terminal
US9544630B2 (en) Method and IPTV server for enabling playout of one or more media objects
CN105391563B (en) Information notice method and device
CN101267531A (en) An interactive network TV system and its realization method
CN109005430A (en) A kind of order method, system, device and the storage medium of audio/video content
CN103747280B (en) A kind of method and electronic equipment for creating programme
CN106209824A (en) The cloud edit methods of data, system and the client of cloud editor
CN104735475B (en) Method, back-stage management server and the video on-demand system of video request program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230118

Address after: 100025 1502, 12 / F, building 3, 105 yaojiayuan Road, Chaoyang District, Beijing

Patentee after: LETV new generation (Beijing) Cultural Media Co.,Ltd.

Address before: 100089 room 6184, 6th floor, building 19, 68 Xueyuan South Road, Haidian District, Beijing

Patentee before: LE SHI INTERNET INFORMATION & TECHNOLOGY CORP., BEIJING

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 1-103, Commercial Room 1, Floor 1, Building 3, No. 105, Yaojiayuan Road, Chaoyang District, Beijing 100025

Patentee after: LETV new generation (Beijing) Cultural Media Co.,Ltd.

Address before: 100025 1502, 12 / F, building 3, 105 yaojiayuan Road, Chaoyang District, Beijing

Patentee before: LETV new generation (Beijing) Cultural Media Co.,Ltd.