EPG self-editing and arranging method and system based on IPTV
Technical Field
The invention relates to the field of interactive network televisions, in particular to an EPG self-organizing and arranging method and system based on IPTV.
Background
IPTV (Internet protocol television), namely an interactive network television, is a brand-new technology which integrates the technologies of Internet, multimedia, communication and the like by utilizing a broadband network and provides various interactive services including digital televisions for home users; the method can well adapt to the rapid development trend of the current network and fully and effectively utilize network resources.
The EPG is an electronic program guide, and indexing and navigation of various services provided by the IPTV are all accomplished through the EPG system. The EPG of the IPTV is actually a portal system of the IPTV, an interface of the EPG system is similar to a Web page, and various menus, buttons, links and other components that can be directly clicked by a user when the user selects a program are generally provided on the EPG interface; the EPG may also include various types of dynamic or static multimedia content on its interface for the user to browse through.
An EPG in the traditional IPTV industry is a fixed EPG, attributes in the EPG are defined and completed in development, and managers cannot modify information in the EPG, if modification is needed, developers need to develop again, and then the whole EPG template is uploaded, so that the efficiency is low, and operators cannot modify the EPG by themselves.
Disclosure of Invention
Based on this, there is a need for an IPTV-based EPG self-organizing method and system that simplifies EPG operation logic and improves resource utilization, and introduces components and blocks, and completes modification of the components by updating, thereby implementing editable attributes of the EPG and satisfying personalized requirements.
The invention provides an EPG self-editing and arranging method based on IPTV, the technical scheme is as follows:
an EPG self-organizing method based on IPTV comprises the following steps:
a. adding new components, and establishing an EPG template;
b. after receiving an instruction of inquiring the EPG template, judging whether the EPG template can be used, if so, newly building an EPG page according to the selected EPG template; if not, abandoning the new construction of the EPG page;
c. after receiving an instruction for arranging the EPG block, defining the attribute and the skippable component of the EPG block, and acquiring the operation content of the corresponding EPG;
d. appointing components with different block jumps according to the operation content of the EPG to display blocks, and updating the auditing information and the program information;
e. e, previewing the display effect of the EPG, judging whether modification is needed, if so, editing the block needing modification in the EPG for the second time, and then re-entering the step e; if not, the EPG is published.
In the technical scheme, the EPG is divided into an EPG template, a component and an introduced block concept, wherein:
the EPG template is used for creating a template used by the EPG, and different EPG templates can be selected according to needs to achieve different display effects;
the assembly is a component of the EPG and defines the attribute of the page;
the block is each clickable area in the EPG;
the editing of the assembly and the EPG template completes the updating operation by uploading a new assembly, such as the displayed and jumped assembly and the content displayed by the assembly are automatically updated, and the updating of the assembly and the EPG template is completed; an operator creates an EPG page by selecting a required EPG template, and defines the attribute of an EPG block and a skippable component by EPG arrangement to complete the setting of the page created on the attribute; after the user creates the EPG page, the user specifies the components of different block jumps, the content sources of the components and the display of the blocks through the EPG content operation, and when the components and the content are updated, the EPG related to the components and the content automatically updates data to complete the updating of the attribute setting of the blocks in the content; in addition, the technical scheme divides the EPG into a public edition and an industry edition, wherein the public edition mainly aims at daily family users, the industry edition is the EPG used by the corresponding industry, such as hotels, hotels and the like, the operation of the EPG content of the industry is increased, different industry contents can be added aiming at different industries, and when the EPG is arranged, a designated component can display the industry contents; after the operator finishes the editing of the EPG, the operator can preview the actual display effect of the EPG on the page, the EPG can be correspondingly arranged again according to the effect, the EPG which does not need to be modified can be released by one key through the EPG, when part of the content in the EPG needs to be modified, the block which needs to be modified in the EPG can be edited for the second time, after the editing is finished, the EPG page can be directly released again, and the seamless butt joint of the modification of the EPG is finished.
As a further optimization of the above scheme, the step b comprises the following steps:
b101, inquiring an EPG template, judging whether the EPG template can be used, and if so, entering a step b 102; if not, finishing the new construction;
b102, selecting an EPG template to be used according to the input EPG name, the selected logo and the EPG grade information;
b103, analyzing the json file of the selected EPG template to establish the EPG;
b104, if the new construction is successful, outputting a newly constructed EPG page; if the new building fails, the error reason is detected, and the step b102 is re-entered.
In the technical scheme, an EPG page is created by selecting a required EPG template, firstly, the available EPG templates are inquired, the EPG template required by newly building the EPG is selected from the available EPG templates according to the input information of EPG names, selected logos, EPG grades and the like, then the EPG is saved, json files to which the EPG templates belong are analyzed, and the EPG is newly added; and if the EPG is failed, checking the error reason, re-inputting the EPG name, logo selection, EPG grade and other information, selecting the EPG template, outputting the newly-built EPG page until the newly-built EPG is successful, and ending the process.
As a further optimization of the above scheme, the step c comprises the following steps:
c101, judging whether the selected EPG block is a first page block or not according to the selected EPG block, and if so, finishing block arrangement; if not, go to step c 102;
c102, updating the block information and selecting a component which can make the block jump;
c103, deleting the original content of the block, and if the deletion is successful, entering the step c 104; otherwise, re-entering step c 102;
and c104, setting and storing the operation content of the corresponding EPG according to the updated data of the block.
In the technical scheme, the attribute of an EPG block and a component capable of jumping are defined through EPG arrangement, the setting of page attributes is completed, whether the selected EPG block is a first page block or not needs to be confirmed, the block which is not the first page is updated, and the component capable of jumping the block is selected; and simultaneously, deleting the content of the original block, setting new operation content according to the updated block data information, and finishing EPG arrangement.
As a further optimization of the above scheme, the step d comprises the following steps:
d101, acquiring column information of the EPG according to the selected EPG;
d102, acquiring program information in the column information, judging whether the current program is delivered from the warehouse, and if so, ending the editing; if not, go to step d 103;
d103, editing the program, and acquiring a corresponding component according to the block information;
d104, updating the program information and the audit information, judging whether the updating is successful, and if so, finishing the editing; if not, the editing fails and step d103 may be re-entered.
In the technical scheme, after a user creates an EPG page, the user specifies components with different block jumps, content sources of the components and display of the blocks through EPG content operation, and when the components and the content are updated, the EPG related to the components and the content automatically updates data to complete the updating of the attribute setting of the blocks on the content; in the process, programs which are not delivered from the storage are edited, program information is updated according to the block information and the corresponding component content, and the added or modified EPG information is checked.
As a further optimization of the above scheme, the method further comprises the following steps:
and when the operation content of the selected EPG is approved, distributing the EPG video to a corresponding platform. After the verification is passed, distributing the videos in the EPG to the corresponding platform, then managing a plurality of EPG work orders, checking whether the work orders are successfully issued, and after the work orders are successfully issued, performing EPG preview and release.
The invention also provides an EPG self-organizing and arranging system based on IPTV, which has the technical scheme as follows:
an EPG self-organizing and arranging system based on IPTV comprises an EPG template establishing module, an EPG page newly-establishing module, an EPG block defining module, an EPG content operating module and an EPG preview releasing module, wherein:
the EPG template establishing module is used for newly adding components and establishing an EPG template;
the EPG page newly-built module is used for judging whether an available EPG template exists after receiving an instruction of inquiring the EPG template, and if so, newly-building an EPG page according to the selected EPG template; if not, abandoning the new construction of the EPG page;
the EPG block definition module is used for defining the attribute and the skip component of the EPG block after receiving the instruction of arranging the EPG block and acquiring the operation content of the corresponding EPG;
the EPG content operation module is used for appointing components with different block jumps according to the operation content of the EPG to display blocks and updating the auditing information and the program information;
the EPG preview issuing module is used for previewing the display effect of the EPG, judging whether modification is needed, and if so, performing secondary editing on the block needing modification in the EPG and then re-previewing and issuing; if not, the EPG is published.
As a further optimization of the above scheme, the EPG page new building module includes a template judgment sub-module, a template selection sub-module, a template analysis sub-module, and a new building judgment sub-module, wherein:
the template judgment submodule is used for inquiring the EPG template, judging whether the EPG template can be used or not, and if so, newly building an EPG page; if not, finishing the new construction;
the template selection submodule is used for selecting the EPG template to be used according to the input EPG name, the selected logo and the EPG grade information;
the template analysis submodule is used for analyzing the json file of the selected EPG template to create the EPG;
building a judgment sub-module, and if the building is successful, outputting a newly built EPG page; and if the new construction fails, detecting the error reason and performing template selection again.
As a further optimization of the above scheme, the EPG block definition module includes a home page judgment sub-module, a block update sub-module, a block deletion sub-module, and a content setting sub-module, wherein:
a first page judgment sub-module, which is used for judging whether the selected EPG block is the first page block, if so, ending block arrangement; if not, updating the block information;
a block updating submodule for updating the block information and selecting a component which can make the block jump;
the block deleting submodule is used for deleting the original content of the block, and if the deletion is successful, the operation content of the EPG is set; otherwise, updating the block information again;
and the content setting submodule is used for setting and storing the operation content corresponding to the EPG according to the updated data of the block.
As a further optimization of the above scheme, the EPG content operation module includes a column acquisition sub-module, a delivery judgment sub-module, a program editing sub-module, and an update judgment sub-module, wherein:
the column acquisition submodule is used for acquiring column information of the EPG according to the selected EPG;
the delivery judgment submodule is used for acquiring program information in the column information, judging whether the current program is delivered out of the warehouse or not, and if so, ending the editing; if not, editing the acquired program;
the program editing submodule is used for editing programs and acquiring corresponding components according to the block information;
the updating judgment submodule is used for updating the program information and the audit information and judging whether the updating is successful or not, and if so, the editing is finished; if not, the editing fails, and the program editing can be carried out again.
As a further optimization of the above scheme, the system further comprises an EPG video distribution module, and when the operation content of the selected EPG is approved, the EPG video is distributed to the corresponding platform.
The invention has the beneficial effects that:
1. the invention can realize simplified EPG operation logic, improve resource utilization rate, introduce components and blocks, complete modification of the components by updating, realize editable attributes of EPG and meet personalized requirements.
2. The invention creates the EPG page by selecting the needed EPG template, improves the EPG page creating efficiency, ensures high editable degree of the EPG page, judges the available template and analyzes the template and checks the reason of creating failure when the EPG page is created, and further improves the accuracy and effectiveness of the created EPG page.
3. The invention defines the attribute of the EPG block and the components capable of jumping through EPG arrangement, completes the setting of page attribute, the block is each editable unit in the EPG, can appoint the display and jumping of the block, and appoints the display content information of the components capable of jumping, achieves high editable, updates the EPG content in real time, and improves the resource utilization rate.
4. The invention increases the operation of industry EPG content, can add unnecessary industry content aiming at different industries, and can appoint the assembly to display the industry content during the arrangement.
5. The invention can preview the actual display effect of the EPG on the page when the EPG is released, can correspondingly arrange again according to the effect, release the EPG content through one key of the EPG release of the EPG which does not need to be modified, can carry out secondary editing on the block which needs to be modified in the EPG when part of the content in the EPG needs to be modified, and can directly release the EPG page again after the editing is finished, thereby finishing the seamless butt joint of the modification of the EPG and improving the EPG release efficiency.
Drawings
Fig. 1 is a flowchart of an IPTV-based EPG self-organizing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a newly created EPG page according to an embodiment of the present invention;
FIG. 3 is a flow chart of block arrangement according to an embodiment of the present invention;
fig. 4 is a flowchart of performing content operation according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of an IPTV-based EPG self-organizing system according to an embodiment of the present invention.
Description of reference numerals:
10-EPG template establishing module; 20-EPG page new building module; 201-template judgment submodule; 202-template selection submodule; 203-template analysis submodule; 204-creating a judgment submodule; 30-EPG block definition module; 301-home page judgment submodule; 302-block update submodule; 303-block delete submodule; 304-content setting sub-module; 40-EPG content operation module; 401-column acquisition submodule; 402-ex-warehouse judgment submodule; 403-program editing submodule; 404-updating the judgment submodule; 50-EPG preview issuing module; and 60-EPG video distribution module.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Example 1
As shown in fig. 1, an EPG self-organizing method based on IPTV includes the following steps:
a. adding new components, and establishing an EPG template;
b. after receiving an instruction of inquiring the EPG template, judging whether the EPG template can be used, if so, newly building an EPG page according to the selected EPG template; if not, abandoning the new construction of the EPG page;
c. after receiving an instruction for arranging the EPG block, defining the attribute and the skippable component of the EPG block, and acquiring the operation content of the corresponding EPG;
d. appointing components with different block jumps according to the operation content of the EPG to display blocks, and updating the auditing information and the program information;
e. e, previewing the display effect of the EPG, judging whether modification is needed, if so, editing the block needing modification in the EPG for the second time, and then re-entering the step e; if not, the EPG is published.
In this embodiment, the EPG is split into EPG templates, components, and lead-in block concepts, where:
the EPG template is used for creating a template used by the EPG, and different EPG templates can be selected according to needs to achieve different display effects;
the assembly is a component of the EPG and defines the attribute of the page;
the block is each clickable area in the EPG;
the editing of the assembly and the EPG template completes the updating operation by uploading a new assembly, such as the displayed and jumped assembly and the content displayed by the assembly are automatically updated, and the updating of the assembly and the EPG template is completed; an operator creates an EPG page by selecting a required EPG template, and defines the attribute of an EPG block and a skippable component by EPG arrangement to complete the setting of the page created on the attribute; after the user creates the EPG page, the user specifies the components of different block jumps, the content sources of the components and the display of the blocks through the EPG content operation, and when the components and the content are updated, the EPG related to the components and the content automatically updates data to complete the updating of the attribute setting of the blocks in the content; in addition, the embodiment divides the EPG into a public edition and an industry edition, wherein the public edition mainly aims at daily family users, the industry edition is the EPG used in the corresponding industry, such as hotels, hotels and the like, the operation of industry EPG content is increased, different industry content can be added aiming at different industries, and when the assembly is arranged, the assembly can be appointed to display the industry content; after the operator finishes the editing of the EPG, the operator can preview the actual display effect of the EPG on the page, the EPG can be correspondingly arranged again according to the effect, the EPG which does not need to be modified can be released by one key through the EPG, when part of the content in the EPG needs to be modified, the block which needs to be modified in the EPG can be edited for the second time, after the editing is finished, the EPG page can be directly released again, and the seamless butt joint of the modification of the EPG is finished.
Example 2
In this embodiment, on the basis of embodiment 1, as shown in fig. 2, the step b includes the following steps:
b101, inquiring an EPG template, judging whether the EPG template can be used, and if so, entering a step b 102; if not, finishing the new construction;
b102, selecting an EPG template to be used according to the input EPG name, the selected logo and the EPG grade information;
b103, analyzing the json file of the selected EPG template to establish the EPG;
b104, if the new construction is successful, outputting a newly constructed EPG page; if the new building fails, the error reason is detected, and the step b102 is re-entered.
In this embodiment, an EPG page is created by selecting a required EPG template, first, the available EPG templates are queried, and among the available EPG templates, an EPG template required for creating a new EPG is selected according to the input EPG name, the selected logo, the EPG level and other information, then, the EPG is saved, the json file to which the EPG template belongs is parsed, and the EPG is newly added; and if the EPG is failed, checking the error reason, re-inputting the EPG name, logo selection, EPG grade and other information, selecting the EPG template, outputting the newly-built EPG page until the newly-built EPG is successful, and ending the process.
Example 3
In this embodiment, on the basis of embodiment 1, as shown in fig. 3, the step c includes the following steps:
c101, judging whether the selected EPG block is a first page block or not according to the selected EPG block, and if so, finishing block arrangement; if not, go to step c 102;
c102, updating the block information and selecting a component which can make the block jump;
c103, deleting the original content of the block, and if the deletion is successful, entering the step c 104; otherwise, re-entering step c 102;
and c104, setting and storing the operation content of the corresponding EPG according to the updated data of the block.
In this embodiment, the attributes of the EPG block and the components that can be skipped are defined by EPG layout, the setting of the page attributes is completed, it is necessary to first determine whether the selected EPG block is a first page block, update the blocks that are not the first page, and select the components that can skip the block; and simultaneously, deleting the content of the original block, setting new operation content according to the updated block data information, and finishing EPG arrangement.
Example 4
In this embodiment, on the basis of embodiment 1, as shown in fig. 4, the step d includes the following steps:
d101, acquiring column information of the EPG according to the selected EPG;
d102, acquiring program information in the column information, judging whether the current program is delivered from the warehouse, and if so, ending the editing; if not, go to step d 103;
d103, editing the program, and acquiring a corresponding component according to the block information;
d104, updating the program information and the audit information, judging whether the updating is successful, and if so, finishing the editing; if not, the editing fails and step d103 may be re-entered.
In this embodiment, after the user creates the EPG page, the user specifies the components to jump to different blocks, the content sources of the components, and the display of the blocks through the EPG content operation, and when the components and the content are updated, the associated EPG automatically updates the data to complete the update of the attribute setting of the blocks to the content; in the process, programs which are not delivered from the storage are edited, program information is updated according to the block information and the corresponding component content, and the added or modified EPG information is checked.
Example 5
The embodiment further includes the following steps based on embodiment 1:
and when the operation content of the selected EPG is approved, distributing the EPG video to a corresponding platform. After the verification is passed, distributing the videos in the EPG to the corresponding platform, then managing a plurality of EPG work orders, checking whether the work orders are successfully issued, and after the work orders are successfully issued, performing EPG preview and release.
Example 6
This example is the system of example 1 and,
as shown in fig. 5, an IPTV-based EPG self-organizing system includes an EPG template establishing module 10, an EPG page newly-establishing module 20, an EPG block defining module 30, an EPG content operating module 40, and an EPG preview releasing module 50, where:
an EPG template establishing module 10, which is used for adding components and establishing an EPG template;
the EPG page newly-building module 20 is used for judging whether an available EPG template exists after receiving an instruction of inquiring the EPG template, and if so, newly building an EPG page according to the selected EPG template; if not, abandoning the new construction of the EPG page;
an EPG block defining module 30, configured to define attributes and components that can jump of an EPG block after receiving an instruction to arrange the EPG block, and obtain operation content of a corresponding EPG;
the EPG content operation module 40 is used for designating components with different block jumps according to the operation content of the EPG to perform block display and updating the auditing information and the program information;
the EPG preview issuing module 50 is used for previewing the display effect of the EPG, judging whether modification is needed, and if so, performing secondary editing on the block needing modification in the EPG and then performing preview issuing again; if not, the EPG is published.
Example 7
The present embodiment is a system of embodiment 2, and based on embodiment 6, the EPG page new creating module 20 includes a template determining sub-module 201, a template selecting sub-module 202, a template parsing sub-module 203, and a new creating determining sub-module 204, where:
the template judgment submodule 201 is used for inquiring the EPG template, judging whether the EPG template can be used or not, and if so, newly building an EPG page; if not, finishing the new construction;
a template selection sub-module 202, configured to select an EPG template to be used according to the input EPG name, the selected logo, and the EPG level information;
the template analysis submodule 203 is used for analyzing the json file of the selected EPG template to create the EPG;
a new building judgment sub-module 204 is established, and if the new building is successful, a new EPG page is output; and if the new construction fails, detecting the error reason and performing template selection again.
Example 8
The present embodiment is a system of embodiment 3, wherein on the basis of embodiment 6, the EPG block defining module 30 includes a first page determining sub-module 301, a block updating sub-module 302, a block deleting sub-module 303, and a content setting sub-module 304, wherein:
a home page judgment sub-module 301, configured to judge whether the selected EPG block is a home page block, and if yes, end block arrangement; if not, updating the block information;
a block update sub-module 302 for updating the block information and selecting a component that can make the block jump;
the block deleting submodule 303 is configured to delete the original content of the block, and if the deletion is successful, set the operation content of the EPG; otherwise, updating the block information again;
and the content setting submodule 304 is configured to set and store the operation content of the corresponding EPG according to the updated data of the block.
Example 9
The present embodiment is a system of embodiment 4, wherein on the basis of embodiment 6, the EPG content operating module 40 includes a column obtaining sub-module 401, a ex-warehouse judging sub-module 402, a program editing sub-module 403, and an updating judging sub-module 404, where:
a column obtaining sub-module 401, configured to obtain column information of the EPG according to the selected EPG;
the ex-warehouse judgment submodule 402 is configured to obtain program information in the column information, judge whether the current program is in the out-warehouse mode, and if so, end the editing; if not, editing the acquired program;
the program editing submodule 403 is configured to edit a program and obtain a corresponding component according to the block information;
an update judgment sub-module 404, configured to update the program information and the audit information, judge whether the update is successful, and if so, complete the editing; if not, the editing fails, and the program editing can be carried out again.
Example 10
The present embodiment is the system of embodiment 5, which further includes an EPG video distributing module 60 on the basis of embodiment 6, and when the operation content of the selected EPG is approved, the EPG video is distributed to the corresponding platform.
The above-mentioned embodiments only express the specific embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.