The invention discloses an EPG automatic
layout method based on an
IPTV, and the method comprises the following steps: building an EPG template; if an available EPG template exists, newly building anEPG page according to the selected EPG template; after receiving an instruction of laying out an EPG block, defining attribute of and
jumping components of the EPG block, and acquiring operating content of corresponding EPG; according to the operating content of the EPG, assigning the
jumping components of different blocks to perform block display, and updating auditing information and program information; previewing display effects of the EPG, if modification is needed, performing secondary editing for the blocks needed to be modified in the EPG, and issuing the EPG after completing editing.The invention also discloses an EPG automatic
layout system based on the
IPTV. The
system comprises an EPG template building module, an EPG page newly building module, an EPG block defining module, anEPG content operating module and an EPG previewing and issuing module. With the method and the
system provided by the invention, operation logics of the EPG are simplified,
resource utilization rateis improved, components and blocks are introduced, modification of the components is completed through updating, editable attribute of the EPG is realized, and personalized demands are satisfied.