Summary of the invention
Embodiments of the invention provide a kind of method and electronic equipment that creates programme, solved the programme content of understanding the characteristic of all programs that show that electronic equipment receives and causing electronic equipment to generate in the programme of electronic equipment generation miscellaneous, larger problem takes up room, can create the programme that only includes the playbill data that can show in programme, reduce taking up room of programme.
For achieving the above object, embodiments of the invention adopt following technical scheme:
The embodiment of the present invention provides a kind of method that creates programme, comprising:
When determining that need create programme, obtain the characteristic information of programme information list and specific program; Wherein, described specific program for can carry out the program of display program forms data in described programme;
The corresponding relation of the different program identifications that comprise according to described programme information list and the characteristic information of program, determines the program identification corresponding to the characteristic information of described specific program;
The playbill data comprising from described programme information list, obtain the playbill data of the represented program of the program identification determined;
According to described playbill data, create programme.
The program identification comprising in described programme information list is live broadcast stream media when sign, is determining that while needing to create programme, before obtaining the characteristic information of programme information list and specific program, described method also comprises:
According to the reproduction time information of the live broadcast stream media name information, live broadcast stream media format information and the live broadcast stream media that obtain, from the server of storage live broadcast stream media, obtain the playbill data that the reproduction time information with described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media matches, and the characteristic information of the program matching with the reproduction time information of described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media;
According to the sign of described live broadcast stream media, and the playbill data obtaining from described server and characteristic information, described programme information list generated.
According to the reproduction time information of described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media, from described server, obtain the playbill data that the reproduction time information with described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media matches, comprising:
According to the single address form of default program, the address information of described live broadcast stream media name information, described live broadcast stream media format information, the reproduction time information of described live broadcast stream media and the described server of acquisition is combined as to programme address;
According to described programme address, from described server, obtain the playbill data that the reproduction time information with described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media matches.
The method that obtains described live broadcast stream media name information, comprising:
From the live broadcast stream media playing request receiving, parse the information of described live broadcast stream media title; Or
Obtain the information of preset described live broadcast stream media title;
Live broadcast stream media ID in preset initiation parameter is resolved and obtains the information of described live broadcast stream media title.
The embodiment of the present invention provides a kind of electronic equipment, comprising:
Acquiring unit, for when determining that need create programme, obtain the characteristic information of programme information list and specific program, wherein, described specific program for can carry out the program of display program forms data in described programme, and the playbill data for comprising from described programme information list, obtain the playbill data of the represented program of the program identification determined;
Determining unit, the corresponding relation of the different program identifications that comprise for the described programme information list getting according to described acquiring unit and the characteristic information of program, determines the program identification corresponding to the characteristic information of described specific program;
Processing unit, for according to described playbill data, creates programme.
When the program identification comprising in described programme information list is live broadcast stream media sign,
Described acquiring unit, also for according to the reproduction time information of the live broadcast stream media name information, live broadcast stream media format information and the live broadcast stream media that obtain, from the server of storage live broadcast stream media, obtain the playbill data that the reproduction time information with described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media matches, and the characteristic information of the program matching with the reproduction time information of described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media;
Described processing unit, also for according to the sign of described live broadcast stream media, and the playbill data obtaining from described server and characteristic information, generate described programme information list.
Described processing unit, also, for the single address form of the program according to default, the address information of the described live broadcast stream media name information that described acquiring unit is got, described live broadcast stream media format information, the reproduction time information of described live broadcast stream media and the described server of acquisition is combined as programme address;
Described acquiring unit, for the described programme address that is combined into according to described processing unit, from described server, obtain the playbill data that the reproduction time information with described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media matches.
Described acquiring unit, for parse the information of described live broadcast stream media title from the live broadcast stream media playing request receiving, also for obtaining the information of preset described live broadcast stream media title, the live broadcast stream media ID in preset initiation parameter is resolved and obtains the information of described live broadcast stream media title.
The embodiment of the present invention provides a kind of method and electronic equipment that creates programme, when determining that need create programme, electronic equipment obtains the characteristic information of programme information list and the specific program of the playbill data that can show in programme, and the corresponding relation of the characteristic information of the different program identifications that comprise according to programme information list and program, determine the program identification corresponding to the characteristic information of specific program, then, the playbill data comprising from programme information list, obtain the playbill data of the represented program of the program identification determined, finally, according to playbill data, create programme, solved the programme content of understanding the characteristic of all programs that show that electronic equipment receives and causing electronic equipment to generate in the programme of electronic equipment generation miscellaneous, larger problem takes up room, the embodiment of the present invention is by obtaining the program identification of specific program, created the programme that only includes the playbill data that can show in programme, reduced taking up room of programme.
Embodiment
In below describing, in order to illustrate rather than in order limiting, to have proposed the detail such as particular system structure, interface, technology, to thoroughly cut, understand the present invention.Yet, not it will be clear to one skilled in the art that in there is no other embodiment of these details and can realize the present invention yet.In other situation, omit the detailed description to well-known device, circuit and method, in order to avoid unnecessary details hinders description of the invention.
In addition, term " system " and " network " are often used interchangeably in this article herein.Term "and/or", is only a kind of incidence relation of describing affiliated partner herein, and expression can exist three kinds of relations, and for example, A and/or B, can represent: individualism A exists A and B, these three kinds of situations of individualism B simultaneously.In addition, character "/", generally represents that forward-backward correlation is to liking a kind of relation of "or" herein.
Various technology described herein is only suitable for electronic equipment when live broadcast stream media is exported, and generates and show the concrete event of programme televised live list.
JavaScript is a kind of based on object and event-driven and have the client script language of relative safety, also be a kind of script that is widely used in client Web exploitation simultaneously, be commonly used to the Language to HTML(Hypertext Markup, HTML) webpage adds dynamic function, such as response user's various operations.
Electronic equipment, can be that wireless terminal can be also catv terminal, wireless terminal can be to point to the equipment that user provides voice and/or data connectivity, has the portable equipment of wireless connecting function or is connected to other treatment facilities of radio modem.Wireless terminal can be through wireless access network (for example, RAN, Radio Access Network) communicate with one or more core net, wireless terminal can be mobile terminal, as mobile phone (or being called " honeycomb " phone) with have the computer of mobile terminal.
Embodiment mono-
The embodiment of the present invention provides a kind of method that creates programme, as shown in Figure 1, comprising:
S101, when determine to need creating programme, electronic equipment obtains the characteristic information of programme information list and specific program.
At present, the programme televised live list of electronic equipment is to write on browser page, by the page, by JavaScript, operated and control, the characteristic that programme televised live list that electronic equipment generates has comprised all programs that electronic equipment receives, it is playbill data, the sectional drawing information etc. that comprises heading message, broadcast start time, brief introduction information and/or the program of program, this programme televised live list content is miscellaneous, takes up room larger.
The embodiment of the present invention provides a kind of method that creates programme, and electronic equipment, by obtaining the program identification of specific program, has created the programme that only includes the playbill data that can show in programme, has reduced taking up room of programme.
Live is on-the-spot along with generation, the development process of event are synchronously made and release news, and has the information network published method of the process of two-way circulating.Its form also can be divided into on-the-spot broadcasting, studio talk-show live, word picture is live, video and audio is live or provide the live of information source by third party.For example, Online Video is live is exactly the live broadcast service of utilizing Internet resources to carry out, by on-the-spot video capture, synchronously uploads on network, and user can see the live video of the very first time the same time on network.
Streaming Media refers to after a series of media data compression, through network segmentation, transmit data, audio-visual a kind of technology and the process for viewing and admiring of real-time Transmission on network, this technology makes packet be able to send as flowing water, if do not use this technology, just must download before use whole media file.
Further, Streaming Media is a kind of technology that audio frequency, video and other multimedia elements are play in mode real-time, that wait for without download on internet and wireless network.Stream transmission mode is that the multimedia file such as Audio and Video is divided into compressed package one by one through special compress mode, by server to subscriber computer continuously, transmit in real time.In adopting the system of stream transmission mode, user needn't wait until after whole file is all downloaded as non-stream is play just can see central content, but only need to through the startup time delay in several seconds or tens seconds, can on subscriber computer, utilize corresponding player to play streaming video files such as the video of compression or audio frequency, remaining part will be proceeded to download, until finish.
It should be noted that, the multimedia that live broadcast stream media is any one form, the live broadcast stream media in the embodiment of the present invention can be live video, can be also live audio frequency, the embodiment of the present invention does not limit.
Concrete, electronic equipment create only include the playbill data that can show in programme and be embedded in the characteristic information that first programme in electronic equipment gets programme information list and specific program, wherein, in programme information list, comprise each program identification, whether this program identification is used to indicate the live broadcast stream media corresponding with program identification and shows in programme to be created, the characteristic information of specific program is the attribute information of program, for example, this characteristic information is video or advertisement.
Further, programme information list is that electronic equipment is after receiving live broadcast stream media playing request, electronic equipment obtains the live broadcast stream media name information corresponding with live broadcast stream media playing request according to live broadcast stream media playing request, the reproduction time information of live broadcast stream media format information and live broadcast stream media, according to the single address form of default program, by the live broadcast stream media name information getting, live broadcast stream media format information, the address information of the reproduction time information of live broadcast stream media and the server of acquisition is combined as programme address, according to this programme address from storage live broadcast stream media server, obtain and live broadcast stream media name information, after the playbill data that the reproduction time information of live broadcast stream media format information and live broadcast stream media matches, generate.
Wherein, live broadcast stream media playing request can be the clicking operation generation that electronic equipment detects user, for triggering electronic equipment, generates programme.Further, when electronic equipment receives this live broadcast stream media playing request, open the browser page corresponding with live broadcast stream media playing request, in order to playing live broadcast stream media.
The live broadcast stream media name information corresponding with live broadcast stream media playing request that electronic equipment gets is that electronic equipment gets according to get preset initiation parameter from browser page plug-in unit, wherein, preset initiation parameter comprises the name information of the live broadcast stream media corresponding with live broadcast stream media playing request and/or the ID of live broadcast stream media.
Further, if when preset initiation parameter only comprises the ID of live broadcast stream media, electronic equipment is resolved the ID of this live broadcast stream media, and the ID that is about to live broadcast stream media is converted to the name information of corresponding live broadcast stream media, in order to obtaining playbill data.
Further, preset initiation parameter also comprises the address of configuration file, wherein, configuration file at least comprises the address of server and the descriptor of programme of programs stored forms data, and the descriptor of programme at least comprises that the width of programme and mouse choose the mouse display effect after content in programme.Therefore, the step of address that electronic equipment obtains the server of programs stored forms data comprises: electronic equipment is according to the address of the configuration file in preset initiation parameter, read configuration file, then from this configuration file, extract the address of the server of programs stored forms data.Preset initiation parameter also can be stored in the hardware memory of electronic equipment, as internal memory.
Wherein, browser plug-in just plays the program of a supplementary function to the operation of browser, be the program that a kind of application programming interfaces of following certain standard are write out.
It should be noted that, the live broadcast stream media corresponding with live broadcast stream media playing request is all live broadcast stream medias that electronic equipment can get from the server of programs stored forms data, specific program be can be in programme the program of display program forms data.
The corresponding relation of the characteristic information of S102, different program identifications that electronic equipment comprises according to programme information list and program, determines the program identification corresponding to the characteristic information of specific program.
Wherein, corresponding to the program identification of the characteristic information of specific program, be used to indicate specific program shows in programme to be created.
Concrete, electronic equipment creates the corresponding relation of the characteristic information of different program identifications that displayable programme comprises according to programme information list and program, determine the program identification corresponding to the characteristic information of specific program, wherein, corresponding to the program identification of the characteristic information of specific program, be used to indicate specific program shows in programme to be created, so that electronic equipment obtains the playbill data of specific program for showing in programme according to this program identification, and then generate displayable programme.
The playbill data that S103, electronic equipment comprise from programme information list, obtain the playbill data of the represented program of the program identification determined.
The corresponding relation of the different program identifications that electronic equipment comprises according to programme information list and the characteristic information of program, after the program identification of definite characteristic information corresponding to specific program, completes subsequent step according to the program identification of determining.
Concrete, the playbill data that electronic equipment comprises from programme information list, obtain the playbill data of the represented program of the program identification determined.
Wherein, the characteristic that playbill data is specific program, at least comprise specific program broadcast start time, heading message title, program duration and the various pattern thumbnails address etc. of program.
Exemplary, electronic equipment gets the first program identification and " China on the tip of the tongue " not displayable second program sign in programme that " where father goes " shows in programme from programme information list, electronic equipment is according to the first program identification, from programme information list, obtain the playbill data of " where father goes ", to generate displayable programme according to the playbill data getting.
S104, electronic equipment, according to playbill data, create programme.
Concrete, electronic equipment gets after the playbill data of the represented program of the program identification determined from programme information list, electronic equipment is drawn playbill data typesetting according to programme descriptor, generates displayable and is embedded in the programme of electronic equipment.
Wherein, programme descriptor is the content in configuration file, at least comprises that the width of programme and mouse choose the mouse display effect after content in programme.
The embodiment of the present invention provides a kind of method that creates programme, when determining that need create programme, electronic equipment obtains the characteristic information of programme information list and the specific program of the playbill data that can show in programme, and the corresponding relation of the characteristic information of the different program identifications that comprise according to programme information list and program, determine the program identification corresponding to the characteristic information of specific program, then, the playbill data comprising from programme information list, obtain the playbill data of the represented program of the program identification determined, finally, according to playbill data, create programme, solved the programme content of understanding the characteristic of all programs that show that electronic equipment receives and causing electronic equipment to generate in the programme of electronic equipment generation miscellaneous, larger problem takes up room, the embodiment of the present invention is by obtaining the program identification of specific program, created the programme that only includes the playbill data that can show in programme, reduced taking up room of programme.
Embodiment bis-
The invention provides a kind of electronic equipment, as shown in Figure 2, comprising:
Acquiring unit 10, for when determining that need create programme, obtain the characteristic information of programme information list and specific program, wherein, described specific program for can carry out the program of display program forms data in described programme, and the playbill data for comprising from described programme information list, obtain the playbill data of the represented program of the program identification determined;
Determining unit 11, the corresponding relation of the different program identifications that comprise for the described programme information list getting according to described acquiring unit 10 and the characteristic information of program, determines the program identification corresponding to the characteristic information of described specific program;
Processing unit 12, for the described playbill data getting according to described acquiring unit 10, creates programme.
Further, when the program identification comprising in described programme information list is live broadcast stream media sign,
Described acquiring unit 10, also for according to the reproduction time information of the live broadcast stream media name information, live broadcast stream media format information and the live broadcast stream media that obtain, from the server of storage live broadcast stream media, obtain the playbill data that the reproduction time information with described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media matches, and the characteristic information of the program matching with the reproduction time information of described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media;
Described processing unit 12, also for according to the sign of described live broadcast stream media, and the playbill data obtaining from described server and characteristic information, generate described programme information list.
Further, described processing unit 12, also, for the single address form of the program according to default, the address information of the described live broadcast stream media name information that described acquiring unit 10 is got, described live broadcast stream media format information, the reproduction time information of described live broadcast stream media and the described server of acquisition is combined as programme address;
Described acquiring unit 10, for the described programme address that is combined into according to described processing unit 12, from described server, obtain the playbill data that the reproduction time information with described live broadcast stream media name information, described live broadcast stream media format information and described live broadcast stream media matches.
Further, described acquiring unit 10, also for the live broadcast stream media playing request from receiving, parse the information of described live broadcast stream media title, also for obtaining the information of preset described live broadcast stream media title, the live broadcast stream media ID in preset initiation parameter is resolved and obtains the information of described live broadcast stream media title.
The embodiment of the present invention provides a kind of electronic equipment, mainly comprises acquiring unit, determining unit and processing unit.When determining that need create programme, acquiring unit obtains the characteristic information of programme information list and the specific program of the playbill data that can show in programme, the corresponding relation of the different program identifications that yuan of determining comprises according to programme information list and the characteristic information of program, determine the program identification corresponding to the characteristic information of specific program, then, the playbill data that acquiring unit comprises from programme information list, obtain the playbill data of the represented program of the program identification determined, finally, processing unit is according to playbill data, create programme, solved the programme content of understanding the characteristic of all programs that show that electronic equipment receives and causing electronic equipment to generate in the programme of electronic equipment generation miscellaneous, larger problem takes up room, the embodiment of the present invention is by obtaining the program identification of specific program, created the programme that only includes the playbill data that can show in programme, reduced taking up room of programme.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described module or unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.