Information Display Method, Device, Electronic Device, and Storage Medium
By displaying active content cards on the page and responding to preset gestures, the problem of users performing multiple steps under too many content resources is solved, and fast and intuitive content viewing and efficient resource display are achieved.
Patent Information
- Application Number
- CN202410070987.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-17
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2044-01-17
AI Technical Summary
When the page hosts too many content resources, users need to perform more operational steps and cannot quickly and intuitively view the content resources they want to see.
By performing preset gesture operations in the activity list area, the activity content cards corresponding to multiple activities are displayed, and the content multimedia resources of the activity are displayed on each activity content card, and the display form is determined based on the activity type.
It simplifies the operation steps of content resource viewing, improves the convenience and intuitiveness of content resource viewing, increases the probability of users triggering entry into activities, and increases the diversity and attractiveness of resource display.
Smart Images

Figure CN118092771B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of multimedia technologies, and in particular, to an information display method, apparatus, electronic device, and storage medium. Background Art
[0002] In today's digital age, viewing content resources such as pictures, texts, and video live broadcasts on mobile terminals is one of the important ways for people to entertain. With the rapid development of the industry, more and more content resources can be carried on a page. It is not always easy for a limited screen and entrance to carry more and more content. In related technologies, if too many content resources are carried on a page, when a user views the content resources they want to see, they need to perform more operation steps, and thus cannot quickly and intuitively see the content resources they want to see. Summary of the Invention
[0003] The present disclosure provides an information display method, apparatus, electronic device, and storage medium to at least solve the problem in related technologies that when too many content resources are carried on a page, a user needs to perform more operation steps when viewing the content resources they want to see, and thus cannot quickly and intuitively see the content resources they want to see. The technical solution of the present disclosure is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, an information display method is provided, including:
[0005] Display an activity main page; the activity main page includes an activity list area, and the activity list area includes multiple activities, and the multiple activities correspond to multiple activity types;
[0006] In response to a preset gesture operation based on the activity list area, display activity content cards corresponding to the multiple activities respectively; on each activity content card corresponding to an activity, display content multimedia resources of the each activity, and a display form of the content multimedia resources of the each activity is determined based on the activity type of the each activity;
[0007] In response to a trigger operation on any one of the activity content cards, display an activity page of a target activity corresponding to the any one of the activity content cards; the activity page of the target activity includes activity detail information of the target activity.
[0008] In an exemplary embodiment, the step of "in response to a preset gesture operation based on the activity list area, display activity content cards corresponding to the multiple activities respectively" includes:
[0009] In response to a gesture operation of pinching and expanding based on the activity list area, display activity content cards corresponding to the multiple activities respectively.
[0010] In an exemplary embodiment, the step of presenting activity content cards corresponding to the multiple activities in response to a preset gesture operation based on the activity list area includes:
[0011] In response to the preset gesture operation based on the activity list area, presenting the activity content cards corresponding to the multiple activities in a preset style; each column in the preset style includes a first number of card display areas.
[0012] In an exemplary embodiment, the step of presenting activity content cards corresponding to the multiple activities in response to a preset gesture operation based on the activity list area includes:
[0013] In response to the preset gesture operation based on the activity list area, obtaining the activity priorities corresponding to the multiple activities;
[0014] Based on the activity priorities corresponding to the multiple activities, determining the display sizes corresponding to the multiple activities; the display size corresponding to an activity with a high activity priority is greater than the display size corresponding to an activity with a low activity priority; the number of card display areas occupied by the activity content card of the activity with a high activity priority is greater than the number of card display areas occupied by the activity content card of the activity with a low activity priority;
[0015] Based on the display sizes corresponding to the multiple activities, presenting the activity content cards corresponding to the multiple activities.
[0016] In an exemplary embodiment, the step of determining the display sizes corresponding to the multiple activities based on the activity priorities corresponding to the multiple activities includes:
[0017] Based on the activity priorities corresponding to the multiple activities, determining the number of card display areas occupied by the multiple activities;
[0018] Based on the number of card display areas occupied by the multiple activities and the resource layout information of the content multimedia resources of the multiple activities, determining the display sizes corresponding to the multiple activities.
[0019] In an exemplary embodiment, the step of presenting activity content cards corresponding to the multiple activities in response to a preset gesture operation based on the activity list area includes:
[0020] In response to the preset gesture operation based on the activity list area, presenting a semi-transparent overlay; presenting the activity content cards corresponding to the multiple activities in a first display style in the semi-transparent overlay;
[0021] In response to the preset gesture operation based on the semi-transparent overlay, display the activity content cards corresponding to each of the multiple activities in a second display style; each column in the first display style includes a second number of card display areas, and each column in the second display style includes a third number of card display areas; the second number is different from the third number.
[0022] In an exemplary embodiment, the displaying the activity content cards corresponding to each of the multiple activities in response to the preset gesture operation based on the activity list area includes:
[0023] In response to the preset gesture operation based on the activity list area, during the duration of the preset gesture operation, determine at least one style switching point; the at least one style switching point is determined based on the operation amplitude of the preset gesture operation;
[0024] When continuing to any style switching point, display the activity content cards corresponding to each of the multiple activities in the preset display style corresponding to the any style switching point; the number of card display areas included in each column in the preset display styles corresponding to different style switching points is different.
[0025] In an exemplary embodiment, the displaying the activity content cards corresponding to each of the multiple activities in response to the preset gesture operation based on the activity list area includes:
[0026] When the activity type of any activity is a live broadcast type, display the live broadcast page of the any activity on the activity content card of the any activity.
[0027] According to a second aspect of the embodiments of the present disclosure, there is provided an information display device, including:
[0028] A main page display unit configured to display an activity main page; the activity main page includes an activity list area, and the activity list area includes multiple activities, and the multiple activities correspond to multiple activity types;
[0029] A content card display unit configured to display the activity content cards corresponding to each of the multiple activities in response to a preset gesture operation based on the activity list area; the content multimedia resources of each activity are displayed on the activity content card corresponding to each activity, and the display form of the content multimedia resources of each activity is determined based on the activity type of each activity;
[0030] An activity page display unit configured to display the activity page of the target activity corresponding to the any activity content card in response to a trigger operation on the any activity content card; the activity page of the target activity includes the activity detail information of the target activity.
[0031] In an exemplary embodiment, the content card display unit is further configured to:
[0032] In response to a gesture operation of pinching and expanding based on the activity list area, display the activity content cards corresponding to the respective activities.
[0033] In an exemplary embodiment, the content card display unit is further configured to:
[0034] In response to the preset gesture operation based on the activity list area, display the activity content cards corresponding to the respective activities in a preset style; each column in the preset style includes a first number of card display areas.
[0035] In an exemplary embodiment, the content card display unit includes:
[0036] An activity priority acquisition unit, configured to execute in response to the preset gesture operation based on the activity list area, and acquire the activity priorities corresponding to the respective activities;
[0037] A display size determination unit, configured to execute based on the activity priorities corresponding to the respective activities, and determine the display sizes corresponding to the respective activities; the display size corresponding to an activity with a high activity priority is greater than the display size corresponding to an activity with a low activity priority; the number of card display areas occupied by the activity content card of the activity with the high activity priority is greater than the number of card display areas occupied by the activity content card of the activity with the low activity priority;
[0038] A first display unit, configured to execute based on the display sizes corresponding to the respective activities, and display the activity content cards corresponding to the respective activities.
[0039] In an exemplary embodiment, the display size determination unit includes:
[0040] A first determination unit, configured to execute based on the activity priorities corresponding to the respective activities, and determine the number of card display areas occupied by the respective activities;
[0041] A second determination unit, configured to execute based on the number of card display areas occupied by the respective activities and the resource layout information of the content multimedia resources of the respective activities, and determine the display sizes corresponding to the respective activities.
[0042] In an exemplary embodiment, the content card display unit includes:
[0043] A second display unit, configured to execute and display a semi-transparent overlay in response to a preset gesture operation based on the activity list area; activity content cards corresponding to the multiple activities are displayed in the semi-transparent overlay in a first display style;
[0044] A third display unit, configured to execute and display the activity content cards corresponding to the multiple activities in a second display style in response to a preset gesture operation based on the semi-transparent overlay; each column in the first display style includes a second number of card display areas, and each column in the second display style includes a third number of card display areas; the second number is different from the third number.
[0045] In an exemplary embodiment, the content card display unit includes:
[0046] A style switching point determination unit, configured to execute and determine at least one style switching point during the duration of the preset gesture operation in response to a preset gesture operation based on the activity list area; the at least one style switching point is determined based on the operation amplitude of the preset gesture operation;
[0047] A fourth display unit, configured to execute and display the activity content cards corresponding to the multiple activities in a preset display style corresponding to any one of the style switching points when it lasts until any one of the style switching points; the number of card display areas included in each column in the preset display styles corresponding to different style switching points is different.
[0048] In an exemplary embodiment, the content card display unit includes:
[0049] A fifth display unit, configured to execute and display the live broadcast page of any one of the activities on the activity content card of any one of the activities when the activity type of any one of the activities is a live broadcast type.
[0050] According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to execute the instructions to implement the information display method as described above.
[0051] According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by a processor of a server, enabling the server to execute the information display method as described above.
[0052] According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, which includes a computer program stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program, so that the device executes the above information display method.
[0053] The technical solutions provided by the embodiments of the present disclosure at least bring the following beneficial effects:
[0054] The present disclosure performs a preset gesture operation based on the activity list area to display activity content cards corresponding to multiple activities respectively. The content multimedia resources of each activity can be displayed on the activity content cards, so that users can intuitively understand the activity content of multiple activities through the content multimedia resources on the displayed activity content cards, and can directly enter the activity page of the target activity by triggering the activity content card of interest, without having to slide the activity list and click the activity entry in the activity list to switch and view the activity content of each activity. Therefore, the present disclosure can simplify the operation steps of viewing content resources, improve the convenience and intuitiveness of viewing content resources, and further increase the probability of users triggering and entering activities; in addition, the display form of the content multimedia resources of each activity in the present disclosure is determined based on the activity type of each activity, and multiple activities correspond to multiple activity types, so that different forms of multimedia resources can be carried on the page, improving the diversity of resource display, enriching the page display information, and increasing the activity attraction.
[0055] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure, and do not constitute an improper limitation to the present disclosure.
[0057] Figure 1 is a schematic diagram of an implementation environment shown according to an exemplary embodiment.
[0058] Figure 2 is a flowchart of an information display method shown according to an exemplary embodiment.
[0059] Figure 3 is a schematic diagram of a main activity page shown according to an exemplary embodiment.
[0060] Figure 4 is a schematic diagram of a pinch and expand gesture operation shown according to an exemplary embodiment.
[0061] Figure 5It is a schematic diagram of an activity page of a target activity shown according to an exemplary embodiment.
[0062] FIG. 6(a) is a schematic diagram of a card display area included in each column shown according to an exemplary embodiment.
[0063] FIG. 6(b) is a schematic diagram of two card display areas included in each column shown according to an exemplary embodiment.
[0064] FIG. 6(c) is a schematic diagram of three card display areas included in each column shown according to an exemplary embodiment.
[0065] Figure 7 It is a flowchart of a method for displaying activity content cards based on activity priorities shown according to an exemplary embodiment.
[0066] Figure 8 It is a schematic diagram of display sizes of activities with different activity priorities shown according to an exemplary embodiment.
[0067] Figure 9 It is a flowchart of a method for determining display sizes based on resource layout information shown according to an exemplary embodiment.
[0068] Figure 10 It is a schematic diagram of display based on layout display sizes shown according to an exemplary embodiment.
[0069] Figure 11 It is a flowchart of a method for dynamically switching display styles shown according to an exemplary embodiment.
[0070] FIG. 12(a) is a schematic diagram of displaying activity content cards in a first display style shown according to an exemplary embodiment.
[0071] FIG. 12(b) is a schematic diagram of displaying activity content cards in a second display style shown according to an exemplary embodiment.
[0072] Figure 13 It is a flowchart of another method for dynamically switching display styles shown according to an exemplary embodiment.
[0073] Figure 14 It is a schematic diagram of the change in the number of card display areas included in each column during a preset gesture operation shown according to an exemplary embodiment.
[0074] Figure 15 It is a block diagram of an information display device shown according to an exemplary embodiment.
[0075] Figure 16 It is a schematic diagram of the structure of an electronic device shown according to an exemplary embodiment. Detailed implementation manners
[0076] In order to enable those of ordinary skill in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0077] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described here can be implemented in an order other than those illustrated or described here. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0078] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in the present disclosure are all information and data authorized by the user or fully authorized by all parties.
[0079] Please refer to Figure 1 , which shows a schematic diagram of the implementation environment provided by the embodiments of the present disclosure. The implementation environment may include: at least one display terminal 110 and a server 120, and the display terminal 110 and the server 120 can communicate data through a network.
[0080] Specifically, the server 120 can send activity information to the display terminal 110, and the display terminal 110 can display the activity information. Specifically, it can display the activity main page, and the activity main page includes an activity list area; the display terminal 110 can respond to a preset gesture operation based on the activity list area and display activity content cards corresponding to multiple activities; further, the display terminal 110 can also respond to a trigger operation for any activity content card and display the activity page of the target activity corresponding to any activity content card, and the activity page of the target activity includes the activity details information of the target activity.
[0081] The display terminal 110 can communicate with the server 120 based on the Browser / Server (B / S) mode or the Client / Server (C / S) mode. The display terminal 110 can include: physical devices such as smart phones, tablet computers, laptop computers, digital assistants, smart wearable devices, in-vehicle terminals, etc., and can also include software running on the physical devices, such as application programs, etc. The operating system running on the display terminal 110 in the embodiments of the present disclosure can include, but is not limited to, Android system, IOS system, Linux, Windows, etc.
[0082] The server 120 and the display terminal 110 can establish a communication connection through wire or wireless. The server 120 can include an independently operating server, or a distributed server, or a server cluster composed of multiple servers, where the server can be a cloud server.
[0083] To solve the problem in the related art that when there are too many content resources carried on a page and a user needs to perform many operation steps to view the content resources they want to see, and thus cannot quickly and intuitively see the content resources they want to see, this embodiment provides an information display method, and its execution subject can be the above-mentioned display terminal. Please refer to Figure 2 and the method can include:
[0084] S210. Display the activity main page; the activity main page includes an activity list area, and the activity list area includes multiple activities, and the multiple activities correspond to multiple activity types.
[0085] The activity main page can include an activity list area and a content display area. Among them, the activity list area displays the activity entrances of multiple activities. The activity entrance of each activity can specifically further include the text identifier of each activity and the activity entrance control. Through the activity identifier of each activity, the activity theme of each activity can be understood. By triggering the activity entrance control of each activity, the viewing of the activity detail information of each activity can be realized. By triggering the activity entrance of any activity in the activity list area, the activity detail information of the any activity can be displayed in the content display area. When it is necessary to view the activity detail information of different activities, the activity entrance of different activities can be triggered, and the activity detail information of the currently triggered activity can be displayed in the content display area, that is, each time the activity detail information of one activity is displayed in the content display area. Please refer to Figure 3, which shows a schematic diagram of the active main page, including an activity list area and a content display area; when the activity entry of Activity 1 is triggered, the activity details information of Activity 1 can be displayed in the content display area accordingly; when the activity entry of Activity 2 is triggered, the activity details information of Activity 2 can be displayed in the content display area accordingly.
[0086] Multiple activities correspond to multiple activity types. Specifically, it can be understood that each activity corresponds to one activity type, and the activity types corresponding to each activity may be the same as or different from those of other activities. The activity types of multiple activities may be different from each other; or there may be activities with the same activity type among multiple activities, but the number of activity types is multiple.
[0087] The multiple activities in this embodiment can be activities with a chronological order or activities without a chronological order.
[0088] S220. In response to a preset gesture operation based on the activity list area, display the activity content cards corresponding to each of the multiple activities; on the activity content card corresponding to each activity, display the content multimedia resources of each activity, and the display form of the content multimedia resources of each activity is determined based on the activity type of each activity.
[0089] By displaying a preset gesture operation in the activity list area, it is possible to display the activity content cards corresponding to each of the multiple activities; in this embodiment, specifically, by responding to a pinch-expand gesture operation based on the activity list area, display the activity content cards corresponding to each of the multiple activities. For details, please refer to Figure 4 , which shows a schematic diagram of a pinch-expand gesture operation. By performing a pinch-expand gesture operation in the activity list area, the activity content cards corresponding to each of the multiple activities can be displayed. On each activity content card, content multimedia resources can be displayed. The content multimedia resources can specifically include the text theme of the activity and the activity image information related to the activity content. The activity image information can be static image information or video information, and this embodiment does not make specific limitations.
[0090] The pinch-expand gesture operation makes full use of the finger operation characteristics of the mobile terminal. By endowing the pinch-expand gesture operation with interactive capabilities, it is possible to conveniently and quickly display the activity content cards, achieving the purpose of quickly viewing content resources.
[0091] Further, the display form of the content multimedia resource of each activity is determined based on the activity type of each activity; in this embodiment, the activity type may include the graphic type, the video type, the live broadcast type, etc. Among them, the activity of the graphic type may be an activity that propagates or displays the activity content in the form of graphics and texts, the activity of the video type may be an activity that propagates or displays the activity content in the form of videos, and the activity of the live broadcast type may be an activity that is currently being broadcast live, etc. For the activity of the graphic type, it may display the highlights or features of the activity in the form of graphics and texts on the activity content card; for the activity of the video type, it may display the highlights or features of the activity in the form of videos on the activity content card; for the activity of the live broadcast type, it may directly display the live broadcast content on the activity content card.
[0092] Specifically, in this embodiment, the step of displaying the activity content cards corresponding to multiple activities in response to a preset gesture operation based on the activity list area includes: in the case where the activity type of any one activity is the live broadcast type, displaying the live broadcast page of the any one activity on the activity content card of the any one activity.
[0093] By directly displaying the live broadcast page on the activity content card of the activity of the live broadcast type, the content multimedia resource on the activity content card is synchronized with the live broadcast content, which is convenient for users to understand the detailed content of the current live broadcast and improves the convenience of obtaining the live broadcast content resource.
[0094] S230. In response to a trigger operation on any one activity content card, display the activity page of the target activity corresponding to the any one activity content card; the activity page of the target activity includes the activity detail information of the target activity.
[0095] Through the activity content cards corresponding to the multiple pieces of content displayed, users can understand the activity content of multiple activities through the content multimedia resources displayed on each activity content card. In the case where there is a target activity of interest, they can trigger the activity content card of the target activity to enter the activity page of the target activity to further understand the activity detail information of the target activity.
[0096] Please refer to Figure 5 , which shows the activity page of the target activity. The activity page of the target activity may include the activity detail information of the target activity. For example, if the target activity is an activity with a video inside, the preview video of the target activity and the reward information for reserving the target activity may be displayed on the activity page of the target activity.
[0097] The present disclosure realizes the display of activity content cards corresponding to multiple activities by performing a preset gesture operation based on the activity list area. The content multimedia resources of each activity can be displayed on the activity content cards, so that the user can intuitively understand the activity content of multiple activities through the content multimedia resources on the displayed activity content cards, and can directly enter the activity page of the target activity by triggering the activity content card of interest, without having to slide the activity list and click on the activity entry in the activity list to switch and view the activity content of each activity. Therefore, the present disclosure can simplify the operation steps of viewing content resources, improve the convenience and intuitiveness of viewing content resources, and further increase the probability of the user triggering and entering an activity; in addition, the display form of the content multimedia resources of each activity in the present disclosure is determined based on the activity type of each activity, and multiple activities correspond to multiple activity types, so that different forms of multimedia resources can be carried on the page, improving the diversity of resource display, enriching the page display information, and increasing the activity attraction.
[0098] In a specific embodiment, the displaying of the activity content cards corresponding to the multiple activities in response to a preset gesture operation based on the activity list area includes:
[0099] In response to the preset gesture operation based on the activity list area, the activity content cards corresponding to the multiple activities are displayed in a preset style; each column in the preset style includes a first number of card display areas.
[0100] In this embodiment, the preset style can be determined according to specific scenario requirements. For example, each column in the preset style includes one card display area, or each column in the preset style includes two card display areas, or each column in the preset style includes three card display areas. Each column in the preset style can also include other numbers of card display areas, which are not specifically limited in this embodiment. Specifically, please refer to FIG. 6(a), which shows a schematic diagram of each column including one card display area, FIG. 6(b) shows a schematic diagram of each column including two card display areas, and FIG. 6(c) shows a schematic diagram of each column including three card display areas.
[0101] By displaying the activity content cards corresponding to the multiple activities in a preset style, the user can clearly and intuitively view the content multimedia resources of the multiple activities, improving the viewing efficiency of the content multimedia resources.
[0102] In this embodiment, different activities may have different activity priorities, so the specific display form of each activity can be determined based on the activity priority corresponding to each activity; specifically, please refer to Figure 7 , which shows a method for displaying activity content cards based on activity priority. The method may include:
[0103] S710. In response to the preset gesture operation based on the activity list area, obtain the activity priorities corresponding to each of the multiple activities.
[0104] In this embodiment, the priority of each activity can be pre-configured when the activity is created; the priority of each activity can also be dynamically adjusted based on the real-time popularity of the multiple activities. The real-time popularity of the activity can be determined based on the real-time number of participating users of the activity or based on the real-time number of reserved users of the activity.
[0105] The activity priorities in this embodiment can include two or more activity priorities; the number of activities with each activity priority can be the same or different.
[0106] S720. Based on the activity priorities corresponding to each of the multiple activities, determine the display sizes corresponding to each of the multiple activities; the display size corresponding to the activity with a high activity priority is larger than the display size corresponding to the activity with a low activity priority; the number of card display areas occupied by the activity content card of the activity with a high activity priority is greater than the number of card display areas occupied by the activity content card of the activity with a low activity priority.
[0107] In this embodiment, the activity with a high activity priority can be prominently displayed, and the activity with a low activity priority can be normally displayed; specifically, the prominent display can be a prominent display in terms of the display size, that is, the display size corresponding to the activity with a high activity priority is larger than the display size corresponding to the activity with a low activity priority. The display size can specifically be determined based on the number of card display areas. The larger the display size, the more card display areas are required, and the smaller the display size, the fewer card display areas are required; in a specific embodiment, the activity priority of Activity 1 is higher than that of Activity 2, and correspondingly, the number of card display areas occupied by the activity content card of Activity 1 is greater than the number of card display areas occupied by the activity content card of Activity 2; among them, the number of card display areas occupied by the activity content card of Activity 1 can be 2, and the number of card display areas occupied by the activity content card of Activity 2 can be 1.
[0108] S730. Based on the display sizes corresponding to each of the multiple activities, display the activity content cards corresponding to each of the multiple activities.
[0109] Specifically, taking the activity priority including three levels as an example for illustration, it specifically includes the first activity priority, the second activity priority, and the third activity priority, where the first activity priority > the second activity priority > the third activity priority. Please refer to Figure 8, Activity a has the first activity priority, Activity b has the second activity priority, and Activity c has the third activity priority. Thus, the display size corresponding to Activity a > the display size corresponding to Activity b > the display size corresponding to Activity c. Furthermore, the number of card display areas occupied by the activity content card of Activity a > the number of card display areas occupied by the activity content card of Activity b > the number of card display areas occupied by the activity content card of Activity c. Specifically, the number of card display areas occupied by the activity content card of Activity a is 4, the number of card display areas occupied by the activity content card of Activity b is 2, and the number of card display areas occupied by the activity content card of Activity c is 1.
[0110] Determine the display sizes of each activity according to the activity priorities of each activity, so that activities with high activity priorities can be displayed in a large size, activities with low activity priorities can be displayed in a normal size, and the large size can be achieved through multiple card display areas, thereby enhancing the prominent display of activities with high activity priorities, increasing the attractiveness of activities with high activity priorities, and increasing the triggering probability of activities with high activity priorities; by realizing large-size display based on the benchmark card display area, there is no need to recreate a large-size card display area, improving the convenience of large-size display.
[0111] In an alternative embodiment, please refer to Figure 9 , which shows a method for determining the display size based on resource layout information, including:
[0112] S910. Based on the activity priorities corresponding to the multiple activities, determine the number of card display areas occupied by each of the multiple activities.
[0113] The number of card display areas occupied by an activity with a high activity priority is greater than the number of card display areas occupied by an activity with a low activity priority; the higher the activity priority, the more card display areas the activity occupies, and the lower the activity priority, the fewer card display areas the activity occupies; activities at the same activity level occupy the same number of card display areas. Specifically, taking the activity priority including three levels as an example for illustration, it specifically includes the first activity priority, the second activity priority, and the third activity priority. Among them, the first activity priority > the second activity priority > the third activity priority, Activity a has the first activity priority, Activities b and d have the second activity priority, and Activity c has the third activity priority. Thus, the display size corresponding to Activity a > the display size corresponding to Activity b = the display size corresponding to Activity d > the display size corresponding to Activity c. Furthermore, the number of card display areas occupied by the activity content card of Activity a > the number of card display areas occupied by the activity content card of Activity b = the number of card display areas occupied by the activity content card of Activity d > the number of card display areas occupied by the activity content card of Activity c.
[0114] S920. Determine the display sizes corresponding to the multiple activities respectively based on the number of card display areas occupied by each of the multiple activities and the resource layout information of the content multimedia resources of the multiple activities.
[0115] In this embodiment, the resource layout information of the content multimedia resources may include landscape and portrait orientations. For landscape orientation, there is a corresponding landscape display size, and for portrait orientation, there is a corresponding portrait display size. For activities with the same activity priority but different resource layout information, the number of card display areas they occupy is the same, but the corresponding layout display sizes are different.
[0116] Please refer to Figure 10 , which shows a display schematic diagram based on the layout display size. Among them, the number of card display areas occupied by the activity content card of activity a is 4, the number of card display areas occupied by the activity content cards of activity b and activity d are both 2, and the number of card display areas occupied by the activity content card of activity c is 1. Among them, the resource layout information of the content multimedia resources of activity b is landscape, and the activity content card of activity b is displayed in the landscape display size. The resource layout information of the content multimedia resources of activity d is portrait, and the activity content card of activity d is displayed in the portrait display size.
[0117] In this embodiment, on the basis of determining the number of card display areas corresponding to each activity based on the activity priority, and then based on the resource layout information of the content multimedia resources of the activity, the display size of each activity is determined, which can determine the corresponding display method according to the resource layout information of the content multimedia resources, so that the content multimedia resources are displayed in a suitable form, ensuring that the details in the content multimedia resources can be reasonably displayed, and improving the accuracy and rationality of the content multimedia resource display.
[0118] In an alternative embodiment, the display styles of the activity content cards of multiple activities can also be dynamically switched based on a preset gesture operation; please refer to Figure 11 , which shows a method for dynamically switching a display style. The method may include:
[0119] S1110. In response to the preset gesture operation based on the activity list area, display a semi-transparent mask layer; the activity content cards corresponding to the multiple activities are displayed in a first display style in the semi-transparent mask layer.
[0120] In this embodiment, the preset gesture operation based on the activity list area may include the entire operation process from the start to the end of the operation. When the preset gesture operation is executed, a semi-transparent mask layer can be displayed, and the activity content cards corresponding to each activity are displayed in the semi-transparent mask layer in a first display style. Each column in the first display style includes a second number of card display areas.
[0121] S1120. In response to the preset gesture operation based on the semi-transparent mask layer, display the activity content cards corresponding to each of the multiple activities in a second display style; each column in the first display style includes a second number of card display areas, and each column in the second display style includes a third number of card display areas; the second number is different from the third number.
[0122] When the first preset gesture operation is completed based on the activity list area, a second preset gesture operation can be further executed based on the semi-transparent mask layer, and the activity content cards corresponding to each of the multiple activities are switched to be displayed in a second style on the basis of the first display style; each column in the second display style includes a third number of card display areas, the second number is different from the third number, the second number can be greater than the third number, and the third number can also be greater than the second number.
[0123] In one example, on the basis of displaying the activity content cards in the second display style in the semi-transparent mask layer, a preset gesture operation can be further executed based on the semi-transparent mask layer to display the activity content cards corresponding to each of the multiple activities in a third display style; the preset gesture operation based on the semi-transparent mask layer can be repeated until the display style of the activity content cards cannot be switched; each column in the third display style includes a fourth number of card display areas, and the second number, the third number, and the fourth number are different.
[0124] In another example, multiple styles can be preset, and the preset gesture operation based on the semi-transparent mask layer can be repeated, and the corresponding multiple styles can be cyclically switched. Each time the preset gesture operation is executed, the display style is switched accordingly, and the switching order can be the first display style, the second display style, the third display style... the first display style, the second display style, the third display style...
[0125] Please refer to FIG. 12(a), which shows a schematic diagram of executing a preset gesture operation based on the activity list area and then displaying a semi-transparent mask layer, and a schematic diagram of displaying activity content cards in the first display style in the semi-transparent mask layer; FIG. 12(b) shows a schematic diagram of executing a preset gesture operation based on the semi-transparent mask layer and then displaying the activity content cards in the second display style; each column in the first display style includes two card display areas, and each column in the second display style includes three card display areas.
[0126] In this embodiment, by performing preset gesture operations in different regions, it is possible to switch the display style of the activity content cards after each execution of the preset gesture operation, so as to realize the personalized display of the activity content cards according to user needs and improve the flexibility of the display of the activity content cards.
[0127] In this embodiment, during the continuous process of a preset gesture operation, dynamic switching of the display style of the activity content cards can be realized; for details, please refer to Figure 13 , which shows another method for dynamic switching of the display style. The method may include:
[0128] S1310. In response to the preset gesture operation based on the activity list area, during the continuous process of the preset gesture operation, determine at least one style switching point; the at least one style switching point is determined based on the operation amplitude of the preset gesture operation.
[0129] During the process of a preset gesture operation, there may be at least one style switching point; during the preset gesture operation, the actual operation amplitude of the preset gesture operation may continuously increase, and at least one preset operation amplitude may be preset. When the actual operation amplitude is equal to at least one preset operation amplitude, it is determined that the current reaches the style switching point. For example, when the actual operation amplitude is equal to the first operation amplitude, the first display style switching point may be determined; when the actual operation amplitude is equal to the second operation amplitude, the second display style switching point may be determined...
[0130] Taking the preset gesture operation as a pinch-and-expand gesture operation as an example, the corresponding actual operation amplitude may be the distance that the fingers actually expand, and the corresponding preset operation amplitude may be the preset distance.
[0131] S1320. When it continues to reach any style switching point, display the activity content cards corresponding to the multiple activities in the preset display style corresponding to the any style switching point; the number of card display areas included in each column in the preset display styles corresponding to different style switching points is different.
[0132] Each style switching point corresponds to a preset operation amplitude, and each preset operation amplitude corresponds to a display style. Thus, during the preset gesture operation, once a certain style switching point is reached, the display form of the activity content cards can be switched to the preset display style corresponding to the style switching point. That is, the switching of the display style of the activity content cards in this embodiment is a switching during the preset gesture operation. As the operation amplitude of the preset gesture operation continuously increases, the number of card display areas included in each column in the corresponding display style may gradually increase or gradually decrease, which is not specifically limited in this embodiment.
[0133] Please refer to Figure 14, which shows a schematic diagram of dynamically switching the display style of the active content card during a preset gesture operation. During the operation, as the operation amplitude increases, the number of card display areas included in each column of the corresponding display style can gradually increase. For example, the number of card display areas included in each column changes from 2 to 3, and then from 3 to 4.
[0134] In this embodiment, during the continuous execution of the preset gesture operation, the display style of the active content card can be switched according to the operation amplitude of the preset gesture operation, so as to realize the personalized display of the active content card according to user needs and improve the flexibility of the active content card display.
[0135] In this embodiment, entering the content aggregation center through a convenient interaction gesture is faster and more convenient than the original multiple-slide entry list. At the same time, the content aggregation center can clearly and intuitively display all content resource collections, and can simultaneously carry the playback and display of multiple graphics, videos, and live broadcast resources, which is more attractive. Moreover, it can greatly increase the efficiency of users' selection and entry into the specified venue; the operation path of the information display method of the present disclosure includes two steps: pinching to evoke the content aggregation center and clicking on the resource card to enter the venue, and the operation path is shorter. The present disclosure can be reused in consumption scenarios such as H5 activities, live broadcasts / short videos, etc. The application scenario can be the traffic entrance of the main venue for festivals, and the traffic carried by the main venue is above hundreds of millions. Through a convenient technical solution, the user experience can be improved, and finally the traffic entering each venue can be increased, and a more perfect content ecosystem can be constructed.
[0136] It should be noted that any of the above methods in this embodiment can be combined based on the actual implementation situation and have corresponding beneficial effects, which will not be elaborated here.
[0137] Figure 15 is a block diagram of an information display device shown according to an exemplary embodiment. Referring to Figure 15 , the device includes:
[0138] The main page display unit 1510 is configured to display the activity main page; the activity main page includes an activity list area, and the activity list area includes multiple activities, and the multiple activities correspond to multiple activity types;
[0139] The content card display unit 1520 is configured to display the activity content cards corresponding to the multiple activities in response to a preset gesture operation based on the activity list area; the content multimedia resources of each activity are displayed on the activity content card corresponding to each activity, and the display form of the content multimedia resources of each activity is determined based on the activity type of each activity;
[0140] The activity page display unit 1530 is configured to execute and display the activity page of the target activity corresponding to any one of the activity content cards in response to a trigger operation for any one of the activity content cards; the activity page of the target activity includes the activity details information of the target activity.
[0141] In an exemplary embodiment, the content card display unit is further configured to:
[0142] In response to a gesture operation of pinching and expanding based on the activity list area, display the activity content cards corresponding to each of the multiple activities.
[0143] In an exemplary embodiment, the content card display unit is further configured to:
[0144] In response to the preset gesture operation based on the activity list area, display the activity content cards corresponding to each of the multiple activities in a preset style; each column in the preset style includes a first number of card display areas.
[0145] In an exemplary embodiment, the content card display unit includes:
[0146] The activity priority acquisition unit is configured to execute and acquire the activity priorities corresponding to each of the multiple activities in response to the preset gesture operation based on the activity list area;
[0147] The display size determination unit is configured to execute and determine the display sizes corresponding to each of the multiple activities based on the activity priorities corresponding to each of the multiple activities; the display size corresponding to an activity with a high activity priority is greater than the display size corresponding to an activity with a low activity priority; the number of card display areas occupied by the activity content card of the activity with a high activity priority is greater than the number of card display areas occupied by the activity content card of the activity with a low activity priority;
[0148] The first display unit is configured to execute and display the activity content cards corresponding to each of the multiple activities based on the display sizes corresponding to each of the multiple activities.
[0149] In an exemplary embodiment, the display size determination unit includes:
[0150] The first determination unit is configured to execute and determine the number of card display areas occupied by each of the multiple activities based on the activity priorities corresponding to each of the multiple activities;
[0151] The second determination unit is configured to execute and determine the display sizes corresponding to each of the multiple activities based on the number of card display areas occupied by each of the multiple activities and the resource layout information of the content multimedia resources of the multiple activities.
[0152] In an exemplary embodiment, the content card display unit includes:
[0153] A second display unit configured to perform, in response to a preset gesture operation based on the activity list area, displaying a semi-transparent mask layer; in the semi-transparent mask layer, the activity content cards corresponding to the multiple activities are displayed in a first display style;
[0154] A third display unit configured to perform, in response to a preset gesture operation based on the semi-transparent mask layer, displaying the activity content cards corresponding to the multiple activities in a second display style; each column in the first display style includes a second number of card display areas, and each column in the second display style includes a third number of card display areas; the second number is different from the third number.
[0155] In an exemplary embodiment, the content card display unit includes:
[0156] A style switching point determination unit configured to perform, in response to a preset gesture operation based on the activity list area, during the duration of the preset gesture operation, determining at least one style switching point; the at least one style switching point is determined based on the operation amplitude of the preset gesture operation;
[0157] A fourth display unit configured to perform, when continuing to any style switching point, displaying the activity content cards corresponding to the multiple activities in a preset display style corresponding to the any style switching point; the number of card display areas included in each column in the preset display styles corresponding to different style switching points is different.
[0158] In an exemplary embodiment, the content card display unit includes:
[0159] A fifth display unit configured to perform, when the activity type of any activity is a live broadcast type, displaying the live broadcast page of the any activity on the activity content card of the any activity.
[0160] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.
[0161] In an exemplary embodiment, there is also provided a computer-readable storage medium including instructions. Optionally, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.; when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the methods described above.
[0162] In an exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the device executes any of the above methods.
[0163] Figure 16 FIG. is a block diagram of an electronic device for information display according to an exemplary embodiment. The electronic device may be a terminal, and its internal structural diagram may be as Figure 16 shown. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements an information display method. The display screen of the electronic device may be a liquid crystal display screen or an electronic ink display screen. The input device of the electronic device may be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the electronic device, or an external keyboard, touchpad, or mouse, etc.
[0164] Those skilled in the art can understand that Figure 16 the structure shown in is only a block diagram of some structures related to the solution of the present disclosure, and does not constitute a limitation on the electronic device to which the solution of the present disclosure is applied. A specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.
[0165] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily think of other embodiments of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0166] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. An information display method, characterized in that: include: Display the main page of the activity; The activity main page includes an activity list area, the activity list area includes activity entrances of multiple activities, and the multiple activities correspond to multiple activity types; In response to a preset gesture operation based on the activity list area, the activity content cards corresponding to the multiple activities are displayed; the content multimedia resources of each activity are displayed on the activity content card corresponding to each activity, and the display form of the content multimedia resources of each activity is determined based on the activity type of each activity; The step of displaying the activity content cards corresponding to the plurality of activities in response to a preset gesture operation based on the activity list area includes: In response to the preset gesture operation based on the activity list area, the activity priority corresponding to each of the multiple activities is obtained; based on the activity priority corresponding to each of the multiple activities, the number of benchmark card display areas occupied by each of the multiple activities is determined; based on the number of benchmark card display areas occupied by each of the multiple activities and the resource layout information of the content multimedia resources of the multiple activities, the display size corresponding to each of the multiple activities is determined; the display size corresponding to the activity with a high activity priority is larger than the display size corresponding to the activity with a low activity priority; the number of benchmark card display areas occupied by the activity content card of the activity with a high activity priority is larger than the number of benchmark card display areas occupied by the activity content card of the activity with a low activity priority; based on the display size corresponding to each of the multiple activities, the activity content cards corresponding to each of the multiple activities are displayed; large-size display is achieved based on the benchmark card display area; In response to a trigger operation on any activity content card, an activity page of a target activity corresponding to the activity content card is displayed; the activity page of the target activity includes activity detail information of the target activity.
2. The method according to claim 1, characterized in that: The step of displaying the activity content cards corresponding to the plurality of activities in response to a preset gesture operation based on the activity list area includes: In response to a pinch-to-expand gesture operation based on the activity list area, activity content cards corresponding to each of the multiple activities are displayed.
3. The method according to claim 1 or 2, characterized in that: The step of displaying the activity content cards corresponding to the plurality of activities in response to a preset gesture operation based on the activity list area includes: In response to the preset gesture operation based on the activity list area, the activity content cards corresponding to each of the multiple activities are displayed in a preset style; each column in the preset style includes a first number of reference card display areas.
4. The method according to claim 1 or 2, characterized in that: The step of displaying activity content cards corresponding to the plurality of activities in response to a preset gesture operation based on the activity list area includes: In response to the preset gesture operation based on the activity list area, a semi-transparent mask is displayed; the activity content cards corresponding to each of the multiple activities are displayed in the semi-transparent mask in a first display style; In response to the preset gesture operation based on the translucent mask, the activity content cards corresponding to each of the multiple activities are displayed in a second display style; each column in the first display style includes a second number of baseline card display areas, and each column in the second display style includes a third number of baseline card display areas; the second number is different from the third number.
5. The method according to claim 1 or 2, characterized in that: The step of displaying activity content cards corresponding to the plurality of activities in response to a preset gesture operation based on the activity list area includes: In response to the preset gesture operation based on the active list area, during the continuation of the preset gesture operation, determining at least one style switching point; the at least one style switching point is determined based on the operation amplitude of the preset gesture operation; When continuing to any style switching point, the activity content cards corresponding to each of the multiple activities are displayed in the preset display style corresponding to any style switching point; the number of reference card display areas included in each column in the preset display styles corresponding to different style switching points is different.
6. The method according to claim 1, characterized in that The step of displaying activity content cards corresponding to the plurality of activities in response to a preset gesture operation based on the activity list area includes: In the case that the activity type of any activity is a live broadcast type, a live broadcast page of any activity is displayed on the activity content card of any activity.
7. An information display device, characterized in that: include: A main page display unit, configured to display an activity main page; The activity main page includes an activity list area, the activity list area includes activity entrances of multiple activities, and the multiple activities correspond to multiple activity types; a content card display unit, configured to execute, in response to a preset gesture operation based on the activity list area, displaying activity content cards corresponding to each of the multiple activities; the activity content card corresponding to each activity displays the content multimedia resources of each activity, and the display form of the content multimedia resources of each activity is determined based on the activity type of each activity; The step of displaying the activity content cards corresponding to the plurality of activities in response to a preset gesture operation based on the activity list area includes: In response to the preset gesture operation based on the activity list area, the activity priority corresponding to each of the multiple activities is obtained; based on the activity priority corresponding to each of the multiple activities, the number of benchmark card display areas occupied by each of the multiple activities is determined; based on the number of benchmark card display areas occupied by each of the multiple activities and the resource layout information of the content multimedia resources of the multiple activities, the display size corresponding to each of the multiple activities is determined; the display size corresponding to the activity with a high activity priority is larger than the display size corresponding to the activity with a low activity priority; the number of benchmark card display areas occupied by the activity content card of the activity with a high activity priority is larger than the number of benchmark card display areas occupied by the activity content card of the activity with a low activity priority; based on the display size corresponding to each of the multiple activities, the activity content cards corresponding to each of the multiple activities are displayed; large-size display is achieved based on the benchmark card display area; The activity page display unit is configured to execute a trigger operation on any activity content card to display an activity page of a target activity corresponding to the activity content card; the activity page of the target activity includes activity detail information of the target activity.
8. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the information display method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information display method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Page jumping method and device, computer equipment and storage medium
CN114201713A
Video processing method and device, equipment and storage medium
CN115665498A
Method and device for content presentation, equipment and storage medium
CN115730092A
Card information display method, electronic equipment and readable storage medium
CN116166154A