Information presentation method and device, equipment and storage medium
By automatically determining the presentation rules of target components, the problem of unattractive animation effects on information pages has been solved, resulting in aesthetically pleasing and orderly information presentation, which improves user experience and information conversion rate.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
- Filing Date
- 2022-09-21
- Publication Date
- 2026-07-21
AI Technical Summary
The existing information pages have unattractive animation effects and chaotic rules, resulting in a poor user experience. They also place high technical demands on information providers and are complex to operate.
By acquiring the configuration information and display rules of the display components, the system automatically determines the target components and their target presentation rules, and controls the components to present information according to the target rules, ensuring that the animation effects are aesthetically pleasing and orderly.
It improved the diversity and visual appeal of information pages, enhanced user experience, extended browsing time and depth, and increased information conversion rates.
Smart Images

Figure CN115481339B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of artificial intelligence technology, specifically to the field of information processing technology, and in particular to an information presentation method, apparatus, device, storage medium, and computer program product. Background Technology
[0002] Most information pages are currently static. To enhance end-user interest in the page content, it is necessary to add some animation effects to increase user browsing time and depth.
[0003] In related technologies, the solution to this technical problem often involves the information provider actively expressing their needs by adding corresponding animations to the page. This approach not only demands a high level of technical expertise from the information provider, making it very unfriendly to those with no prior experience, but also presents challenges due to the varying animations required for different display components on the page. Furthermore, it can easily lead to cluttered rules and unattractive animation flow, resulting in a degraded user experience. Summary of the Invention
[0004] This disclosure provides an information presentation method, apparatus, device, storage medium, and computer program product that enhances the diversity and visual appeal of web pages.
[0005] According to a first aspect of this disclosure, an information presentation method is provided, comprising:
[0006] In response to the display component starting to load information to be presented, obtain the display rules and configuration information of the display component;
[0007] Based on the configuration information, determine the target component from the display components;
[0008] Based on the display rules, determine the target rendering rules for the target component;
[0009] Control the target component to present its loaded information according to the target presentation rules.
[0010] According to a second aspect of this disclosure, an information presentation apparatus is provided, comprising:
[0011] The acquisition module is configured to acquire display rules and configuration information of the display components in response to the start of loading information to be presented by the display components;
[0012] The first determining module is configured to determine the target component from the display components based on the configuration information;
[0013] The second determining module is configured to determine the target rendering rules of the target component based on the display rules;
[0014] The presentation module is configured to control the target component to present its loaded information according to the target presentation rules.
[0015] According to a third aspect of this disclosure, an electronic device is provided, comprising:
[0016] At least one processor; and
[0017] A memory that is communicatively connected to at least one processor; wherein,
[0018] The memory stores instructions that can be executed by at least one processor, such that the instructions are executed by at least one processor to enable the at least one processor to perform the method provided in the first aspect.
[0019] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions for causing a computer to perform the method provided in the first aspect.
[0020] According to a fifth aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the method provided according to the first aspect.
[0021] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0022] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0023] Figure 1 An exemplary system architecture to which the information presentation method of this disclosure can be applied is shown;
[0024] Figure 2 A flowchart of one embodiment of the information presentation method according to the present disclosure is shown;
[0025] Figure 3a A schematic diagram illustrating an application scenario for implementing the information presentation method of this disclosure is shown;
[0026] Figure 3b A schematic diagram illustrating the execution process of the information presentation method of this disclosure is shown;
[0027] Figure 4 A schematic diagram of the sequence rules in the information presentation method of this disclosure is shown;
[0028] Figure 5 A flowchart illustrating another embodiment of the information presentation method according to this disclosure is shown;
[0029] Figure 6 A schematic diagram of the structure of an embodiment of the information presentation apparatus according to the present disclosure is shown;
[0030] Figure 7 A block diagram of an electronic device used to implement the information presentation method of this disclosure is shown. Detailed Implementation
[0031] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0032] It should be noted that, unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other. This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.
[0033] The quality and aesthetics of information pages, such as advertising landing pages, directly impact the user's actual experience after opening the page, and indirectly affect the conversion rate of the information on the page (e.g., whether the user makes a purchase of the product on the advertising landing page). To enhance the eye-catching nature of the page information, information providers (such as advertisers) often need to actively express themselves by adding animations to their pages. However, due to the different display components of the page, the animation effects vary, and the operation is complex, resulting in unattractive animation flows and chaotic rules. For example, images may fly in and out randomly, and text may flicker, severely impacting the user experience and leading to a decrease in the overall page conversion rate.
[0034] This disclosure provides an information presentation method that, without requiring advertisers or other information providers to actively express themselves on the information page, determines the target component based on the configuration information of the display components within the information page, executes preset animation presentation rules on the target component, thereby enabling the target component to present the information to be presented with corresponding animation effects, ensuring that the animation effects are aesthetically pleasing and orderly, improving the diversity and eye-catching nature of the information page and the information within the page, enhancing the user experience, and ultimately increasing the user's browsing time and depth.
[0035] This disclosure provides an information presentation method. After a display component in a display interface begins loading information to be presented, display rules and configuration information of the display component are obtained. Based on this, a target component and its target presentation rule are determined from the display components. The target component is then controlled to present its loaded information according to the target presentation rule. For example, the target presentation rule can be one of a variety of preset animation presentation rules, so that the information to be presented by the target component is presented with corresponding dynamic effects, ensuring that the animation is aesthetically pleasing and orderly, increasing the attractiveness of the information, improving user experience, thereby increasing user browsing time and depth, and improving information conversion rate.
[0036] Figure 1 An exemplary system architecture 100 is shown that can be applied to embodiments of the information presentation method or information presentation apparatus of this disclosure.
[0037] like Figure 1 As shown, the system architecture 100 may include a terminal device 101, a network 102, and a server 103. The network 102 is used to provide a communication link between the terminal device 101 and the server 103, and may include various connection types, such as wired communication links, wireless communication links, or fiber optic cables, etc.
[0038] Users can use terminal device 101 to interact with server 103 via network 102 to receive or send information, etc. Various client applications can be installed on terminal device 101.
[0039] Terminal device 101 can be hardware or software. When terminal device 101 is hardware, it can be various electronic devices, including but not limited to smartphones, tablets, laptops, and desktop computers. When terminal device 101 is software, it can be installed in the aforementioned electronic devices. It can be implemented as multiple software programs or software modules, or as a single software program or software module. No specific limitations are made here.
[0040] Server 103 can be either hardware or software. When server 103 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When server 103 is software, it can be implemented as multiple software programs or software modules (e.g., used to provide distributed services), or as a single software program or software module. No specific limitations are made here.
[0041] The information presentation method provided in this embodiment is generally executed by server 103, and correspondingly, the information presentation device is generally located in server 103.
[0042] It should be noted that, Figure 1The number of terminal devices 101, network 102, and server 103 shown is merely illustrative. Depending on implementation needs, there can be any number of terminal devices 101, network 102, and server 103.
[0043] In this embodiment of the disclosure, the information presentation method is executed by server 103, and the processing result is sent to terminal device 101 with client installed. For example, the information to be presented according to the target presentation rule is directly sent to the client or browser page of terminal device 101 for presentation.
[0044] Figure 2 A flow 200 of one embodiment of the information presentation method according to this disclosure is shown, with reference to Figure 2 As shown, the information presentation method includes the following steps:
[0045] Step S201: In response to the display component starting to load the information to be presented, obtain the display rules and the configuration information of the display component.
[0046] In this embodiment, the entity executing the information presentation method is, for example, Figure 1 The server 103 shown acquires the loading status of the display component in real time to determine whether the display component has started loading the information to be presented. Once it is determined that the display component has started loading the information to be presented, it acquires the display rules and the configuration information of the display component to determine the presentation rules of the information to be presented loaded by the display component, that is, to determine which presentation rules the display component uses to present the information to be presented.
[0047] Display components are integral parts of an information page and include at least one of the following page elements: text, images, audio, video, buttons, information input fields, etc. For example, an advertising information page may include product images, text or video descriptions of the product, a purchase button, and other display components. The information displayed by multiple display components constitutes the information page.
[0048] In this embodiment, the display rules obtained by the execution entity include at least one display rule that is compatible with the configuration information of each display component. For example, the configuration information of a display component indicates that the content displayed by the display component is text or an image, and the corresponding display rules include at least one text or image display rule.
[0049] Step S202: Determine the target component from the display components based on the configuration information.
[0050] In this embodiment, the execution body of the information presentation method determines the target component from the display components in the display interface according to the configuration information of each display component.
[0051] For example, the aforementioned execution entity determines the target component from among the display components in the display interface according to preset conditions or preset methods and based on the configuration information of each display component obtained in step S201. For instance, display components with optimal configuration information or configuration information that meets preset conditions can be selected as the target component.
[0052] Step S203: Determine the target rendering rules for the target component based on the display rules.
[0053] In this embodiment, the execution body of the information presentation method determines the target presentation rule of the target component based on the display rule obtained in step S201.
[0054] Among them, the target presentation rules of the target component can be motion effect presentation rules, such as one or more of the motion effect methods such as scaling motion effect, fade-in motion effect, preset regular flashing or moving motion effect to present information.
[0055] In some optional implementations, the execution entity determines the target rendering rules of the target component based on the configuration information of the target component and the display rules adapted to the configuration information. For example, the configuration information of the target component includes that its display content is an image, and the execution entity can determine the target rendering rules of the target component based on the display rules adapted to the image.
[0056] In some alternative implementations, the execution entity may also select a target rendering rule that is compatible with the configuration information of the target component from a set of display rules adapted to the image. For example, the display rules adapted to the image include display rules adapted to images of different sizes, and the configuration information of the target component also includes the specifications of its displayed image. The execution entity can determine the display rule adapted to the specifications of its displayed image as the target rendering rule based on the configuration information of the target component.
[0057] Step S204: Control the target component to present its loaded information according to the target presentation rules.
[0058] In this embodiment, the execution entity of the information presentation method controls the target component determined in step S202 to present the information to be presented after it has been loaded, in accordance with the target presentation rules determined in step S203.
[0059] Figure 3aAn application scenario 300a illustrating the information presentation method of this disclosure is shown, wherein the executing entity presents information through the display interface 302 of the terminal device 301, and the dashed boxes represent each display component 303. Based on the configuration information of each display component, the executing entity determines a target component from among the multiple display components 303, and controls the target component to present its loaded information according to the target presentation rules.
[0060] Figure 3b An execution process 300b of the information presentation method of this disclosure is shown, such as Figure 3b As shown, the aforementioned execution entity includes multiple display components 303 and an underlying common component 304. The display components 303 are used to display information according to configuration information and display rules; the underlying common component 304 is used for communication and logic processing, including but not limited to: obtaining the information loading status, configuration information, and display rules of each display component 303; determining the target component and its loading status from each display component 303; and feeding back the determination results to each display component.
[0061] For example, the underlying common component 304 obtains the status loading information of each display component 303 corresponding to the current display interface in real time. When it is determined that a display component 303 has started loading information to be presented, the underlying common component 304 obtains the configuration information and display rules of each display component 303. Then, based on the configuration information of each display component 303, it determines the target component from each display component 303, and determines the target presentation rule according to the display rule, and feeds back the determination result to each display component 303. Then, it controls each display component 303 to execute according to the aforementioned result, that is, it controls the target component to present information according to the target presentation rule, and controls the display components other than the target component to present information according to their respective display rules.
[0062] The processes and results of loading information to be presented by multiple display components 303, the execution process of the underlying common component 304, and the presentation of information by the target component according to the target presentation rules are all implemented within the aforementioned execution entity (e.g., Figure 1 The implementation is carried out under the server shown.
[0063] In the information presentation method provided in this embodiment, the target component determined in step S202 can be one or more. When the number of determined target components is one, it is only necessary to control the target component to present its loaded information according to the target presentation rules. When the number of determined target components is two or more, if different target components present information simultaneously according to their respective target presentation rules, it will lead to chaotic information presentation and affect user experience. Therefore, it is necessary to control the two or more target components to present their respective information in sequence.
[0064] In some optional implementations of the embodiments of this disclosure, controlling the target component to present its loaded information to be presented according to the target presentation rules includes: in response to the number of target components being at least two, obtaining the order rules of the target components, the order rules including positional order and presentation start time; and controlling the target component to present its loaded information to be presented according to the order rules and the target presentation rules.
[0065] In this embodiment, the execution entity obtains the order rules such as the position order and presentation start time of each target component based on the number of target components. According to the order rules, it controls each target component to present its loaded information in sequence according to its own target presentation rules, ensuring that multiple target components present their respective information in an orderly manner, avoiding chaotic information presentation effects, improving user experience, and thereby increasing user browsing time and browsing depth.
[0066] In some optional implementations of the embodiments of this disclosure, obtaining the order rules of the target components includes: obtaining the position information of the target components; determining the position order of the target components along a preset direction based on the position information; obtaining a preset delay rule; and determining the presentation start time of the target components to present their information based on the position order and the preset delay rule.
[0067] In this embodiment, when there are at least two target components, the execution entity obtains the position information of each target component, then determines the position order of each target component along a preset direction, and uses this position order as the order in which the target components present information. Next, it obtains a preset delay rule and, based on the preset delay rule and the aforementioned position order, determines the presentation start time for each target component to present its information. When presenting information, it is only necessary to control each target component to execute the corresponding target presentation rule according to its respective presentation start time, thereby achieving the orderly presentation of different information by at least two target components, avoiding chaotic information presentation effects and improving user experience.
[0068] The preset direction for determining the position order of the target components can be a direction of a coordinate axis, such as the Y-axis or X-axis, to determine the position order of each target component.
[0069] In some optional implementations, the aforementioned execution entity uses the position coordinates of the upper left corner, center position, or upper right corner of each target component as the position information of the target component, and uses the negative Y-axis direction or the positive Y-axis direction as the preset direction to determine the position order of each target component.
[0070] The preset delay rule includes the preset delay duration, which refers to the execution delay duration between two adjacent target rendering rules, that is, the interval between the start rendering time of the loaded information to be rendered by two adjacent target components.
[0071] Figure 4 A schematic diagram of the sequence rule 400 in the information presentation method of this disclosure is shown, with reference to Figure 4 As shown, the target components include component A1 and component A2. The target presentation rule corresponding to component A1 is rule B1, and the target presentation rule corresponding to component A2 is rule B2. The preset delay duration t is 500ms. If component A1 presents information according to rule B1 first, then component A2 will start presenting information according to rule B2 500ms after component A1 starts presenting information.
[0072] In some optional implementations, the preset delay duration can be greater than or equal to the execution duration of each target rendering rule, in order to avoid overlap between two adjacent target components when executing their respective target rendering rules and to avoid confusion in information presentation.
[0073] For example, the execution time of the target rendering rule for target component A1 is T1, and the execution time of the target rendering rule for target component A2 is T2. The preset delay time must be greater than or equal to T1 and T2 to ensure that the rendering processes of the two target components will not overlap, regardless of which target component renders its information first.
[0074] In some optional implementations, one or more target components present their information to be presented according to their target presentation rules. This can be done once or multiple times in a pre-defined manner.
[0075] In the information presentation method provided in this embodiment, after the display component starts loading the information to be presented, the target component is determined according to the configuration information of the display component, and the target presentation rule of the target component is determined according to the display rules. By controlling the target component to present the loaded information to be presented in accordance with the target presentation rule, the information to be presented of the target component is highlighted according to the target presentation rule, thereby improving the user experience, increasing the user's browsing time and browsing depth, and thus improving the conversion rate of the presented information.
[0076] The information presentation method provided in this disclosure is applicable to different information presentation interfaces. It eliminates the need for information providers to process each interface independently, enabling information within the interface to be highlighted according to target presentation rules, thereby enhancing the information's appeal. When applied to advertising landing pages, it eliminates the need for advertisers to pre-process animations for information on different landing pages. It automatically determines target components and their target presentation rules based on the display components, their configuration information, and display rules within the landing page, enabling the corresponding target components to display animation information according to the target presentation rules. This achieves automatic extraction, determination, and execution of animation information.
[0077] Figure 5A flow 500 is shown according to another embodiment of the information presentation method according to this disclosure, with reference to Figure 5 As shown, the information presentation method includes the following steps:
[0078] Step S501: In response to the display component starting to load the information to be presented, obtain the display rules and the configuration information of the display component.
[0079] In this embodiment, the execution subject of the information presentation method (e.g. Figure 1 The server 103 shown can obtain the display rules and the configuration information of the display component after determining that the display component has started loading the information to be presented. Step 501 is basically the same as step 201 in the previous embodiment. The specific implementation method can be referred to the above description of step 201, and will not be repeated here.
[0080] Step S502: Display components of the same type are selected as a set of candidate components.
[0081] In this embodiment, the execution entity groups the display components according to the display type, and the display components with the same display type are combined into a candidate component set, so as to determine the corresponding target component from each candidate component set, that is, to determine the target component of different display types.
[0082] When there are many display components of the same display type, for example, if most of the display components in a display interface are text-based, treating all display components of the same type as a single candidate component set would result in a large amount of data processing and low efficiency in determining the target component. Therefore, in some alternative implementations, to reduce data processing, a subset of display components of the same display type can be selected as a candidate component set based on preset filtering criteria. For example, the preset filtering criteria could be whether the display parameter is greater than or equal to a preset display parameter threshold. This display parameter threshold can be a fixed value or an adjustable variable.
[0083] In some optional implementations of the embodiments of this disclosure, display components with the same display type are used as a candidate component set, including: obtaining the display parameter threshold value corresponding to the display type; and selecting display components with display parameters greater than or equal to the display parameter threshold value from the display components with the same display type as a candidate component set.
[0084] By setting a display parameter threshold, display components with display parameters less than the threshold will be excluded from the candidate component set, which can effectively reduce the amount of subsequent data processing and improve the efficiency of determining the target component.
[0085] Step S503: Determine the target component corresponding to the display type from the candidate component set based on the display parameters of the display component.
[0086] In this embodiment, the execution body of the information presentation method determines the target component corresponding to its display type from the candidate component set in step S502 according to the display parameters of the display component, that is, determines the target component corresponding to the display type of the display component in the candidate component set.
[0087] The aforementioned execution entity determines the target component corresponding to each display type from the candidate component set corresponding to different display types, ensuring that the target component covers each display type in the display interface, ensuring the integrity of the display type of the target component, that is, ensuring that the target component in the display component of different display types presents information according to its own target presentation rules, ensuring the diversity of the information to be presented, thereby improving the eye-catching nature of the information to be presented.
[0088] In some alternative implementations, the number of target components determined in the candidate component set of the same display type can be one or more.
[0089] For example, in order to simplify the information presentation effect and further improve the prominence of the highlighted information, only one target component needs to be determined in the candidate component set of the same display type, that is, each display type has only one corresponding target component.
[0090] In other words, if there is only one display component in the candidate component set for a display type, then that display component is the target component corresponding to that display type.
[0091] In some optional implementations of the embodiments of this disclosure, determining the target component corresponding to the display type from the candidate component set includes: in response to the number of display components in the candidate component set being at least two, determining the display component with the largest display parameter as the target component corresponding to the display type.
[0092] In this embodiment, when the number of displayed components in a candidate component set is at least two, the execution entity selects the display component with the largest display parameter and determines it as the target component corresponding to the display type. Within a display type, selecting the display component with the largest configured display parameter as the target component means that the content displayed by this component is the content to be highlighted in that display type. Therefore, by determining the display component with the largest display parameter as the target component, the content it displays can be further highlighted according to the target presentation rules, thereby further improving the prominence of the displayed content and increasing its attractiveness.
[0093] Step S504: Determine the target rendering rule of the target component according to the display rule corresponding to the display type of the target component.
[0094] In this embodiment, the entity executing the information presentation method is, for example, Figure 1 The server 103 shown determines the target rendering rule for the target component based on the display rule corresponding to the display type of the target component. For example, when the target rendering rule is an animation rendering rule, the aforementioned execution entity determines the animation rendering rule for the target component's rendering information based on the display rule corresponding to the display type of the target component.
[0095] In some optional implementations of the embodiments of this disclosure, the display type includes an image, the display parameters include image specification values; and, determining the target presentation rule of the target component according to the display rule corresponding to the display type of the target component includes: obtaining an image specification threshold; determining a first presentation rule as the target presentation rule in response to the image specification value of the target component being greater than or equal to the image specification threshold; and determining a second presentation rule as the target presentation rule in response to the image specification value of the target component being less than the image specification threshold.
[0096] When the display type is image, the displayed content can be a static image, an animated image, or a video image.
[0097] The image specification values include at least one of the following: image width, image height, the ratio of the image width to the display interface width, and the ratio of the image height to the display interface height. The image specification threshold value is a critical value corresponding to the image specification value.
[0098] For example, if the image specification value is the ratio of the image width to the width of the display interface, then the image specification threshold value is the threshold value of the image width to the width of the display interface. For example, the image specification threshold value can be a 70% ratio of the image width to the width of the display interface. If the ratio of the target component's image width to the width of the display interface is greater than or equal to 70%, the first rendering rule is used as the target rendering rule; if the ratio of the target component's image width to the width of the display interface is less than 70%, the second rendering rule is used as the target rendering rule.
[0099] The second presentation rule can be the same as or different from the first presentation rule. For example, the first presentation rule is a motion effect presentation rule, and the second presentation rule can be an initial static presentation rule or a motion effect presentation rule.
[0100] For example, the presentation effect corresponding to the first presentation rule can be a scaling animation or a movement animation, and the presentation effect corresponding to the second presentation rule can also be a scaling animation or a movement animation, or it can be no animation, that is, the initial presentation effect after loading the information to be presented.
[0101] In some optional implementations, the image specification threshold is greater than 50% of the corresponding specification value of the display interface. For example, when the image specification value is the image width value, the image specification threshold is the image width threshold, which must be greater than 50% of the width threshold of the display interface. Setting the image specification threshold in this way ensures that the target component with an image specification value greater than or equal to the image specification threshold is unique, thus avoiding the simultaneous occurrence of two display components with image specification values greater than or equal to the image specification threshold and having the same image specification value.
[0102] When the image specification value is less than the image specification threshold, the image specification values of other display components may be equal to the image specification value of the target component.
[0103] In some optional implementations, if the presentation effect corresponding to the second presentation rule is to not execute animation, that is, the initial presentation effect after loading the information to be presented, the above-mentioned execution entity can control all display components (including target components) whose image specification values are less than the image specification threshold to present information according to the effect of not executing animation corresponding to the second presentation rule.
[0104] In some optional implementations, if the presentation effect corresponding to the second presentation rule is the same as or different from the animation effect corresponding to the first presentation rule, the aforementioned execution entity can control the target component to present the animation effect information according to the second presentation rule in a preset manner.
[0105] For example, the corresponding display components and the target components can be selected according to a preset position order or preset position rules to jointly present motion information according to the second presentation rule, or one of them can be randomly determined to present motion information according to the second rule.
[0106] In this embodiment, when the display type of the target component is an image, the target rendering rule of the target component is determined by the image specification threshold, thereby improving the efficiency and accuracy of the target rendering rule determination.
[0107] In some optional implementations of the embodiments of this disclosure, determining the second rendering rule as the target rendering rule in response to the image specification value of the target component being less than the image specification threshold includes: determining the second rendering rule as the target rendering rule in response to the image specification value of the target component being less than the image specification threshold and the image specification values of each display component being unequal.
[0108] In this embodiment, the execution entity controls the target component to present information according to the second presentation rule only if the image specification value of the target component is less than the image specification threshold and the image specification values of each display component (including the target component) are not equal. This can effectively ensure the uniqueness of the image specification of the target component, thereby ensuring the uniqueness of the target component.
[0109] In some optional implementations of the embodiments of this disclosure, the display type includes text, the display parameters include text specification values, and the target rendering rule of the target component is determined according to the display rule corresponding to the display type of the target component, including: obtaining a text specification threshold value; in response to the text specification value of the target component being greater than or equal to the text specification threshold value, determining a third rendering rule as the target rendering rule; and in response to the text specification value of the target component being less than the text specification threshold value, determining a fourth rendering rule as the target rendering rule.
[0110] When the display type of the target component is text, its display content can include at least one of the following: Chinese characters, numbers, letters, characters, etc.
[0111] The text specification value can include font size, as well as other information such as font and color. The text specification threshold value is the corresponding threshold value for the text specification value. For example, if the text specification value is the font size, the text specification threshold value could be 20.
[0112] Among them, the third presentation rule is the motion effect presentation rule, that is, the presentation effect corresponding to the third presentation rule is a motion effect, such as any one of scaling motion effect, moving motion effect, fade-in motion effect, flashing motion effect, etc.
[0113] The fourth presentation rule can be either a motion effect presentation rule or an initial static presentation rule. In other words, the presentation effect corresponding to the fourth presentation rule can be the same as or different from the presentation effect corresponding to the third presentation rule, or it can be the initial presentation effect after loading the information to be presented without executing any motion effects.
[0114] In some optional implementations, if the text specification value of the target component is less than the text specification threshold, the text specification values of other display components may be equal to the text specification value of the target component. In this case, the aforementioned execution entity can control the target component to present the information with or without animation effects according to the fourth presentation rule.
[0115] In some optional implementations, if the presentation effect corresponding to the fourth presentation rule is to not execute animation, that is, the initial presentation effect after loading the information to be presented, the above-mentioned execution entity can control all display components (including target components) whose text size values are less than the text size threshold value to present information according to the effect of not executing animation corresponding to the fourth presentation rule.
[0116] In some optional implementations, if the presentation effect corresponding to the fourth presentation rule is the same as or different from the animation effect corresponding to the third presentation rule, the aforementioned execution entity can control the target component to present the animation effect information according to the fourth presentation rule in a preset manner.
[0117] For example, the corresponding display components and the target components can be selected according to a preset position order or preset position rules to jointly present motion effect information according to the fourth presentation rule, or one of them can be randomly determined to present motion effect information according to the fourth rule.
[0118] In this embodiment, when the display type of the target component is text, the target rendering rule of the target component is determined by the text specification threshold, thereby improving the efficiency and accuracy of the target rendering rule determination.
[0119] In some optional implementations of the embodiments of this disclosure, determining the fourth rendering rule as the target rendering rule in response to the text specification value of the target component being less than the text specification threshold includes: determining the fourth rendering rule as the target rendering rule in response to the text specification value of the target component being less than the text specification threshold and the text specification values of each display component being unequal.
[0120] In this embodiment, the execution entity controls the target component to present information according to the second presentation rule only if the text specification value of the target component is less than the text specification threshold. This effectively ensures the uniqueness of the text specification of the target component, thereby ensuring the uniqueness of the target component.
[0121] Step S505: Control the target component to present its loaded information according to the target presentation rules.
[0122] In this embodiment, the entity executing the information presentation method is, for example, Figure 1 The server 103 shown controls the target component to present its loaded information according to the target presentation rules. Step 505 is basically the same as step 204 in the previous embodiment. For the specific implementation method, please refer to the above description of step 204, which will not be repeated here.
[0123] In the information presentation method provided in this disclosure embodiment, a set of candidate components is selected according to the display type, and then the target components corresponding to different display types are determined according to the display parameters, and the target presentation rules of the target components are determined, thereby ensuring the integrity of the display type of the target components, that is, ensuring that there are target components in the display components of different display types that present information according to their respective target presentation rules, ensuring the diversity of the information to be presented, and thereby improving the eye-catching nature of the information to be presented.
[0124] As an implementation of the methods shown in the above figures, Figure 6 An embodiment of an information presentation apparatus according to the present disclosure is shown. This information presentation apparatus is related to… Figure 2 Corresponding to the method embodiments shown, this device can be applied to various electronic devices.
[0125] Reference Figure 6 As shown, the information presentation device 600 provided in this embodiment includes: an acquisition module 601, a first determination module 602, a second determination module 603, and a presentation module 604. The acquisition module 601 is configured to acquire display rules and configuration information of the display component in response to the display component starting to load information to be presented; the first determination module 602 is configured to determine a target component from the display component based on the configuration information; the second determination module 603 is configured to determine a target presentation rule for the target component based on the display rules; and the presentation module 604 is configured to control the target component to present its loaded information to be presented according to the target presentation rule.
[0126] In the information presentation device 600 of this embodiment, the specific processing of the acquisition module 601, the first determination module 602, the second determination module 603, and the presentation module 604, and the resulting technical effects, can be found in the following references: Figure 2 The relevant descriptions of steps S201-S204 in the corresponding embodiments will not be repeated here.
[0127] In some optional implementations of the embodiments of this disclosure, the configuration information includes display type and display parameters; the first determining module 602 includes a selection unit and a first determining unit; wherein, the selection unit is configured to treat display components with the same display type as a candidate component set; the first determining unit is configured to determine the target component corresponding to the display type from the candidate component set according to the display parameters of the display component; and the second determining module includes a second determining unit, which is configured to determine the target presentation rule of the target component according to the display rule corresponding to the display type of the target component.
[0128] In some optional implementations of the embodiments of this disclosure, the selection unit is configured to: obtain the display parameter threshold value corresponding to the display type; and select, from the display components with the same display type, display components whose display parameters are greater than or equal to the display parameter threshold value as a candidate component set.
[0129] In some optional implementations of the embodiments of this disclosure, the first determining unit is configured to: in response to the fact that the number of display components in the candidate component set is at least two, determine the display component with the largest display parameter as the target component corresponding to the display type.
[0130] In some optional implementations of embodiments of this disclosure, the display type includes an image, the display parameters include image specification values; and the second determining unit is configured to: obtain an image specification threshold; determine a first rendering rule as a target rendering rule in response to the image specification value of the target component being greater than or equal to the image specification threshold; and determine a second rendering rule as a target rendering rule in response to the image specification value of the target component being less than the image specification threshold.
[0131] In some optional implementations of the embodiments of this disclosure, the second determining unit is configured to: determine the second rendering rule as the target rendering rule in response to the image specification value of the target component being less than the image specification threshold and the image specification values of each display component being unequal.
[0132] In some optional implementations of the embodiments of this disclosure, the display type includes text, the display parameters include text specification values, and the second determining unit is configured to: obtain a text specification threshold; determine a third rendering rule as a target rendering rule in response to the text specification value of the target component being greater than or equal to the text specification threshold; and determine a fourth rendering rule as a target rendering rule in response to the text specification value of the target component being less than the text specification threshold.
[0133] In some optional implementations of the embodiments of this disclosure, the second determining unit is configured to: determine the fourth rendering rule as the target rendering rule in response to the fact that the text specification value of the target component is less than the text specification threshold and the text specification values of each display component are not equal.
[0134] In some optional implementations of the embodiments of this disclosure, the presentation module 604 includes: an acquisition unit and a presentation unit, wherein the acquisition unit is configured to acquire the order rules of the target components in response to the number of target components being at least two, the order rules including positional order and presentation start time; the presentation unit is configured to control the target components to present their loaded information to be presented according to the order rules and the target presentation rules.
[0135] In some optional implementations of the embodiments of this disclosure, the acquisition unit is configured to: acquire the position information of the target component; determine the position order of the target component along a preset direction based on the position information; acquire a preset delay rule; and determine the presentation start time of the target component to present its information based on the position order and the preset delay rule.
[0136] According to embodiments of this disclosure, this disclosure also provides an electronic device, a non-transitory computer-readable storage medium storing computer instructions, and a computer program product.
[0137] The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the aforementioned information presentation method.
[0138] In some embodiments, a non-transitory computer-readable storage medium storing computer instructions is provided, the computer instructions being used to cause a computer to perform the above-described information presentation method.
[0139] In some embodiments, a computer program product includes a computer program that, when executed by a processor, implements the above-described information presentation method.
[0140] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0141] like Figure 7 As shown, device 700 includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 702 or a computer program loaded into random access memory (RAM) 703 from storage unit 708. RAM 703 may also store various programs and data required for the operation of device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via bus 704. Input / output (I / O) interface 705 is also connected to bus 704.
[0142] Multiple components in device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of monitors, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0143] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as methods for generating backbone networks or image processing methods. For example, in some embodiments, the information presentation method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the methods for generating backbone networks or image processing methods described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform an information presentation method by any other suitable means (e.g., by means of firmware).
[0144] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0145] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0146] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0147] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0148] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0149] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0150] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0151] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. An information presentation method, comprising: In response to the display component starting to load information to be presented, obtain the display rules and the configuration information of the display component; The configuration information includes display type and display parameters. The display type includes image or text, and the display parameters include image specification values or text specification values. Based on the configuration information, the target component is determined from the display components; In response to the image specification value of the target component being not less than the image specification threshold, a first rendering rule is determined as the target rendering rule; in response to the image specification value of the target component being less than the image specification threshold, a second rendering rule is determined as the target rendering rule; or, In response to the target component's text specification value being not less than the text specification threshold, the third rendering rule is determined as the target rendering rule; in response to the target component's text specification value being less than the text specification threshold, the fourth rendering rule is determined as the target rendering rule. Control the target component to present its loaded information according to the target presentation rules.
2. The information presentation method according to claim 1, wherein, The step of determining the target component from the display components based on the configuration information includes: Display components of the same type will be grouped into a candidate component set. Based on the display parameters of the display component, the target component corresponding to the display type is determined from the candidate component set.
3. The information presentation method according to claim 2, wherein, The display components with the same display type are considered as a candidate component set, including: Obtain the critical value of the display parameter corresponding to the display type; From the display components of the same display type, select a set of display components whose display parameters are greater than or equal to the display parameter threshold.
4. The information presentation method according to claim 2 or 3, wherein, Determining the target component corresponding to the display type from the candidate component set includes: In response to the fact that there are at least two display components in the candidate component set, the display component with the largest display parameter is determined as the target component corresponding to the display type.
5. The information presentation method according to claim 1, wherein, The step of determining the second rendering rule as the target rendering rule in response to the image specification value of the target component being less than the image specification threshold includes: In response to the fact that the image specification value of the target component is less than the image specification threshold and the image specification values of each display component are not equal, the second rendering rule is determined as the target rendering rule.
6. The information presentation method according to claim 1, wherein, The step of determining the fourth rendering rule as the target rendering rule in response to the text specification value of the target component being less than the text specification threshold includes: In response to the fact that the text specification value of the target component is less than the text specification threshold, and the text specification values of each display component are not equal, the fourth presentation rule is determined as the target presentation rule.
7. The information presentation method according to any one of claims 1 to 6, wherein, The control of the target component to present its loaded information according to the target presentation rules includes: In response to the fact that the number of target components is at least two, the order rule of the target components is obtained, the order rule including positional order and presentation start time; Based on the order rules and the target presentation rules, the target component is controlled to present the information to be presented after it has been loaded.
8. The information presentation method according to claim 7, wherein, The order rules for acquiring the target component include: Obtain the location information of the target component; Based on the location information, the positional order of the target components is determined along a preset direction; Get the preset delay rules; Based on the positional order and the preset delay rule, the start time for the target component to present its information is determined.
9. An information presentation device, comprising: The acquisition module is configured to acquire display rules and configuration information of the display component in response to the display component starting to load information to be presented; The configuration information includes display type and display parameters. The display type includes image or text, and the display parameters include image specification values or text specification values. The first determining module is configured to determine the target component from the display components based on the configuration information; The second determining module is configured to determine a first rendering rule as the target rendering rule in response to the image specification value of the target component being greater than or equal to an image specification threshold; and to determine a second rendering rule as the target rendering rule in response to the image specification value of the target component being less than the image specification threshold; or... In response to the target component's text specification value being greater than or equal to the text specification threshold, the third rendering rule is determined as the target rendering rule; In response to the target component's text specification value being less than the text specification threshold, the fourth rendering rule is determined as the target rendering rule; The presentation module is configured to control the target component to present its loaded information according to the target presentation rules.
10. The information presentation device according to claim 9, wherein, The first determining module includes: The selection unit is configured to select display components of the same type as a candidate component set; The first determining unit is configured to determine the target component corresponding to the display type from the candidate component set based on the display parameters of the display component.
11. The information presentation device according to claim 10, wherein, The selection unit is configured as follows: Obtain the critical value of the display parameter corresponding to the display type; From the display components of the same display type, select a set of display components whose display parameters are greater than or equal to the display parameter threshold.
12. The information presentation device according to claim 10 or 11, wherein, The first determining unit is configured as follows: In response to the fact that there are at least two display components in the candidate component set, the display component with the largest display parameter is determined as the target component corresponding to the display type.
13. The information presentation device according to claim 9, wherein, The second determining module is configured as follows: In response to the fact that the image specification value of the target component is less than the image specification threshold and the image specification values of each display component are not equal, the second rendering rule is determined as the target rendering rule.
14. The information presentation device according to claim 9, wherein, The second determining module is configured as follows: In response to the fact that the text specification value of the target component is less than the text specification threshold, and the text specification values of each display component are not equal, the fourth presentation rule is determined as the target presentation rule.
15. The information presentation device according to any one of claims 9 to 14, wherein, The presentation module includes: The acquisition unit is configured to acquire the order rules of the target components in response to the number of target components being at least two, the order rules including positional order and presentation start time; The presentation unit is configured to control the target component to present its loaded information according to the order rules and the target presentation rules.
16. The information presentation device according to claim 15, wherein, The acquisition unit is configured as follows: Obtain the location information of the target component; Based on the location information, the positional order of the target components is determined along a preset direction; Get the preset delay rules; Based on the positional order and the preset delay rule, the start time for the target component to present its information is determined.
17. An electronic device comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 8.
18. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1 to 8.
19. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 8.