Media information display method and device
A technology of media information and display methods, which is applied in the direction of program control devices, etc., can solve the problems of single media display form and the inability of the client to design and layout media display by itself, so as to save development steps, reduce the amount of data transmission, and display various effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0019] like figure 1 Shown is a flow chart of the media information display method provided by the first embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown.
[0020] In this embodiment of the present invention, the types of media information include, but are not limited to: news media information, advertisement media information, notification media information, and the like.
[0021] In step S101, a media view control is created, and a plurality of media layout templates are pre-built according to the media view control.
[0022] In this embodiment of the present invention, the media view control refers to an area on the page, and the shape of the area may be a rectangle, a circle, a triangle, or the like. Among them, media view controls include but are not limited to: media title view controls, media source and release time view controls, and media text view controls, etc. Media text view cont...
Embodiment 2
[0034] like figure 2 Shown is a flow chart of the media information display method provided by the second embodiment of the present invention. For convenience of description, only the parts related to the embodiment of the present invention are shown.
[0035] In step S201, a media view control is created, and a plurality of media layout templates are pre-built according to the media view control;
[0036] In step S202, media information is acquired;
[0037] In step S203, determine the number of page media information, and select a pre-built media layout template according to the determined number of page media information;
[0038]Wherein, the execution process of steps S201-S203 is similar to steps S101-S103 in the first embodiment above, and for details, refer to the description of the first embodiment.
[0039] In step S204, a media list is constructed according to the number of pieces of media information on the page, and the media information is stored in the media l...
Embodiment 3
[0044] like image 3 Shown is a flow chart of the media information display method provided by the third embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown.
[0045] In step S301, create a media view control, and pre-build a plurality of media layout templates according to the media view control;
[0046] In step S302, media information is acquired;
[0047] In step S303, determine the number of page media information, and select a pre-built media layout template according to the determined number of page media information;
[0048] In step S304, the media information is filled into the selected media layout template;
[0049] Wherein, the execution process of steps S301-S304 is similar to steps S101-S104 in the first embodiment above, and for details, refer to the description of the first embodiment.
[0050] In step S305, it is determined whether the media information includes media picture...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 