Page display method, device, apparatus and medium
By acquiring user terminal and account feature data for feature analysis, the strategy degradation coefficient is determined, and the visual optimization strategy is optimized. This solves the problem of inaccurate decision-making in existing technologies, improves user experience, and reduces the risk of application failure.
Patent Information
- Application Number
- CN202211288197.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2042-10-20
AI Technical Summary
Existing technologies fail to accurately consider users' viewing preferences and behaviors in visual optimization strategy degradation decisions, leading to a decline in user experience and increasing the risk of application malfunctions.
By acquiring device feature data and user account feature data from user terminals, feature analysis is performed to determine the strategy degradation coefficient corresponding to the target content type. Based on the degradation coefficient, the degree of degradation of the visual optimization strategy is determined to optimize the preview content display.
It improves the accuracy of visual optimization strategy degradation decisions, reduces the consumption of hardware and network resources on user terminals, lowers the probability of application failures, and enhances user experience.
Smart Images

Figure CN115630246B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of computer, and particularly relates to a page display method, a page display device, an electronic device and a computer readable storage medium. BACKGROUND
[0002] With the increasing richness of the functions of the application program, the preview content display page of the application program can display a variety of preview contents of display contents, for example, previewing text content, previewing image-text content, previewing video content and / or previewing live content.
[0003] Generally, in order to enable the user to more intuitively obtain information content, some visual optimization strategies can be used to perform visual optimization display on the preview content when the preview content is displayed, for example, if the displayable content is a dynamic animation, the preview dynamic animation is directly displayed in the preview content display page, but the optimization display of the preview content consumes more network and hardware resources, and may cause application program running failure, for example, application program page lag or even direct exit.
[0004] In the related art, in order to reduce the application program running failure caused by the optimization display of the preview content, the visual optimization strategy can be downgraded during the display process of the preview content, for example, the visual optimization strategy is closed or weakened, but in the process of making the downgrade decision of the visual optimization strategy, the related art has the problem of low accuracy of the decision result, which affects the user experience. SUMMARY
[0005] The present disclosure provides a page display method, device, equipment and medium, which can reduce the consumption of hardware resources and network resources of the user terminal, reduce the occurrence probability of the application program running failure, and improve the user experience. The technical solutions of the present disclosure are as follows:
[0006] According to a first aspect of the embodiments of the present disclosure, a page display method is provided, comprising:
[0007] In response to a trigger operation of a preview content display page to be displayed, device feature data of a user terminal and user account feature data are obtained, the device feature data comprises device real-time state data and device performance score value of the user terminal, and the user account feature data comprises real-time behavior data of the user account and preference data of an alternative display content type;
[0008] The device feature data and the user account feature data are analyzed to obtain a strategy downgrade coefficient corresponding to a target display content type, the target display content type is an alternative display content type in the alternative display content types that supports the visual optimization strategy, and the strategy downgrade coefficient is used to represent the degree of downgrade of the visual optimization strategy.
[0009] If it is determined that the display strategy corresponding to the strategy degradation coefficient is a degradation strategy of the visual optimization strategy, then in the preview content display page, the preview content of the target display content corresponding to the target display content type is displayed according to the degradation strategy.
[0010] Optionally, the step of obtaining device characteristic data and user account characteristic data of the user terminal in response to the trigger operation of the preview content display page to be displayed includes:
[0011] In response to the triggering operation of the preview content display page to be displayed, a first data collection indicator and a second data collection indicator corresponding to the preview content display page are determined from the pre-acquired configuration information. The first data collection indicator is a data collection indicator associated with the real-time status of the device, and the second data collection indicator is a data collection indicator associated with real-time behavior.
[0012] The real-time status data of the user terminal is obtained by acquiring the data of the first data collection index. The real-time status data of the user terminal is combined with the pre-acquired device performance score to obtain the device feature data of the user terminal.
[0013] The real-time behavior data of the user account is obtained by acquiring data from the second data collection indicator. The real-time behavior data of the user account is combined with the preference data of the pre-acquired alternative display content types to obtain the user account feature data.
[0014] Optionally, the target display content type is a dynamic animation, the target display content is a target dynamic animation, and the visual optimization strategy associated with the dynamic animation is a display preview dynamic animation. The method further includes:
[0015] When it is determined that the strategy degradation coefficient belongs to the first strategy degradation coefficient range associated with the dynamic animation, the first display strategy corresponding to the first strategy degradation coefficient range is determined as the display strategy, and the first display strategy is to prohibit the display of preview dynamic animation;
[0016] The step of displaying preview content corresponding to the target display content type in the preview content display page according to the degradation strategy includes:
[0017] Select any frame of the target animation in the target animation, and display the preview target animation frame corresponding to the target animation frame on the preview content display page.
[0018] Optionally, the method further includes:
[0019] When it is determined that the strategy degradation coefficient belongs to the second strategy degradation coefficient range associated with the dynamic animation, the second display strategy corresponding to the second strategy degradation coefficient range is determined as the display strategy, and the second display strategy is to display a preview dynamic animation of a preset duration.
[0020] The step of displaying preview content corresponding to the target display content type in the preview content display page according to the degradation strategy includes:
[0021] Select the target animation of the preset duration from the target animation, and display the preview target animation corresponding to the target animation of the preset duration on the preview content display page.
[0022] Optionally, the target display content type is a live video stream, the target display content is a target live video stream, and the visual optimization strategy associated with the live video stream is to display a preview of the live video stream. The method further includes:
[0023] When it is determined that the strategy degradation coefficient belongs to the third strategy degradation coefficient range associated with the live video stream, the third display strategy corresponding to the third strategy degradation coefficient range is determined as the display strategy, and the third display strategy is to prohibit the display of the preview live video stream.
[0024] The step of displaying preview content corresponding to the target display content type in the preview content display page according to the degradation strategy includes:
[0025] Select any frame of the target live video stream and display the preview target live video corresponding to the target live video frame on the preview content display page.
[0026] Optionally, the target display content type is a video stream, the target display content is a target video stream, and the visual optimization strategy associated with the video stream is to perform visual optimization processing on the video cover of the video stream. The method includes:
[0027] When it is determined that the strategy degradation coefficient belongs to the fourth strategy degradation coefficient range associated with the video stream, the fourth display strategy corresponding to the fourth strategy degradation coefficient range is determined as the display strategy, and the fourth display strategy is to prohibit visual optimization processing of the video cover of the video stream.
[0028] The step of displaying preview content corresponding to the target display content type in the preview content display page according to the degradation strategy includes:
[0029] Determine the target video cover corresponding to the target video stream, and display the preview target video cover corresponding to the target video cover on the preview content display page.
[0030] Optionally, the step of performing feature analysis on the device feature data and the user account feature data to obtain a policy degradation coefficient corresponding to the target content type includes:
[0031] The device feature data and the user account feature data are input into a pre-trained policy degradation coefficient prediction model for feature analysis to obtain the policy degradation coefficient corresponding to the target content type.
[0032] According to a second aspect of the present disclosure, a page display device is provided, comprising:
[0033] The acquisition module is configured to acquire device feature data and user account feature data of the user terminal in response to the trigger operation of the preview content display page to be displayed. The device feature data includes the real-time status data and performance score of the user terminal, and the user account feature data includes the real-time behavior data and preference data of the user account for alternative display content types.
[0034] The feature analysis module is configured to perform feature analysis on the device feature data and the user account feature data to obtain a strategy degradation coefficient corresponding to the target display content type. The target display content type is the candidate display content type that supports the visual optimization strategy among the candidate display content types. The strategy degradation coefficient is used to characterize the degree of degradation of the visual optimization strategy.
[0035] The display module is configured to, if it is determined that the display strategy corresponding to the strategy degradation coefficient is a degradation strategy of the visual optimization strategy, then in the preview content display page, display the preview content of the target display content corresponding to the target display content type in accordance with the degradation strategy.
[0036] Optionally, the acquisition module is configured as follows:
[0037] In response to the triggering operation of the preview content display page to be displayed, a first data collection indicator and a second data collection indicator corresponding to the preview content display page are determined from the pre-acquired configuration information. The first data collection indicator is a data collection indicator associated with the real-time status of the device, and the second data collection indicator is a data collection indicator associated with real-time behavior.
[0038] The real-time status data of the user terminal is obtained by acquiring the data of the first data collection index. The real-time status data of the user terminal is combined with the pre-acquired device performance score to obtain the device feature data of the user terminal.
[0039] The real-time behavior data of the user account is obtained by acquiring data from the second data collection indicator. The real-time behavior data of the user account is combined with the preference data of the pre-acquired alternative display content types to obtain the user account feature data.
[0040] Optionally, the target display content type is a dynamic animation, the target display content is a target dynamic animation, and the visual optimization strategy associated with the dynamic animation is a display preview dynamic animation. The device further includes a first determining module, configured to:
[0041] When it is determined that the strategy degradation coefficient belongs to the first strategy degradation coefficient range associated with the dynamic animation, the first display strategy corresponding to the first strategy degradation coefficient range is determined as the display strategy, and the first display strategy is to prohibit the display of preview dynamic animation;
[0042] The display module is configured as follows:
[0043] Select any frame of the target animation in the target animation, and display the preview target animation frame corresponding to the target animation frame on the preview content display page.
[0044] Optionally, the first determining module is further configured to:
[0045] When it is determined that the strategy degradation coefficient belongs to the second strategy degradation coefficient range associated with the dynamic animation, the second display strategy corresponding to the second strategy degradation coefficient range is determined as the display strategy, and the second display strategy is to display a preview dynamic animation of a preset duration.
[0046] The display module is configured as follows:
[0047] Select the target animation of the preset duration from the target animation, and display the preview target animation corresponding to the target animation of the preset duration on the preview content display page.
[0048] Optionally, the target display content type is a live video stream, the target display content is a target live video stream, and the visual optimization strategy associated with the live video stream is to display a preview of the live video stream. The device further includes a second determining module, which is further configured to:
[0049] When it is determined that the strategy degradation coefficient belongs to the third strategy degradation coefficient range associated with the live video stream, the third display strategy corresponding to the third strategy degradation coefficient range is determined as the display strategy, and the third display strategy is to prohibit the display of the preview live video stream.
[0050] The display module is configured as follows:
[0051] Select any frame of the target live video stream and display the preview target live video corresponding to the target live video frame on the preview content display page.
[0052] Optionally, the target display content type is a video stream, the target display content is a target video stream, and the visual optimization strategy associated with the video stream is to perform visual optimization processing on the video cover of the video stream. The device includes a third determining module, which is further configured to:
[0053] When it is determined that the strategy degradation coefficient belongs to the fourth strategy degradation coefficient range associated with the video stream, the fourth display strategy corresponding to the fourth strategy degradation coefficient range is determined as the display strategy, and the fourth display strategy is to prohibit visual optimization processing of the video cover of the video stream.
[0054] The display module is configured as follows:
[0055] Determine the target video cover corresponding to the target video stream, and display the preview target video cover corresponding to the target video cover on the preview content display page.
[0056] Optionally, the feature analysis module is configured as follows:
[0057] The device feature data and the user account feature data are input into a pre-trained policy degradation coefficient prediction model for feature analysis to obtain the policy degradation coefficient corresponding to the target content type.
[0058] According to a third aspect of the present disclosure, an electronic device is provided, comprising:
[0059] processor;
[0060] Memory used to store the processor's executable instructions;
[0061] The processor is configured to execute the instructions to implement the page display method as described in the first aspect.
[0062] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein when the... Computer readable Figure 1When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the page display method as described in the first aspect.
[0063] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects:
[0064] The page display method, apparatus, device, and medium provided in this disclosure, on the one hand, improve the matching degree between the determined preview content display strategy and the user terminal's device status and the user's viewing characteristics by basing the determination of the preview content display strategy on real-time status data of the user terminal, device performance, real-time behavior of the user account, and user account preference data for the display content type. On the other hand, for alternative display content types that support visual optimization strategies, when the preview display content corresponding to the alternative content type needs to be downgraded according to the visual optimization strategy, the preview display content corresponding to the alternative content type can be displayed according to the downgrade strategy, which can reduce the consumption of hardware and network resources of the user terminal, reduce the probability of application operation failure, and improve the user experience.
[0065] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0066] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0067] Figure 2 This is a schematic architecture diagram of a page display system according to an exemplary embodiment;
[0068] Figure 3 This is a flowchart illustrating a page display method according to an exemplary embodiment;
[0069] Figure 4 This is a schematic diagram illustrating a preview content display page according to an exemplary embodiment;
[0070] Figure 5 This is a block diagram illustrating a page display device according to an exemplary embodiment;
[0071] Figure 1 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0072] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0073] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0074] In related technologies, in order to reduce the application malfunctions that may be caused by the optimized display of preview content, the visual optimization strategy can be downgraded during the preview display process, for example, by turning off or weakening the visual optimization strategy.
[0075] However, when making downgrade decisions for visual optimization strategies, related technologies typically only consider the user's device information and do not take into account the user's viewing preferences and behavior. This often results in low accuracy of the downgrade decisions for visual optimization strategies, affecting the user experience.
[0076] For example, for users who enjoy watching live streams, the degradation decision of the visual optimization strategy provided by existing technology is usually to prohibit the display of preview live stream videos. However, in the degradation decision process, the user's viewing preferences and current behavior are not taken into account. Directly prohibiting the display of preview live stream videos on the preview content display page is not conducive to the growth of user experience metrics (Quality of Experience, QoE) data.
[0077] In view of the above problems, the exemplary embodiments of this disclosure provide a page display method. The application scenarios of this page display method include, but are not limited to: in a social application, in response to the triggering operation of the preview content display page to be displayed, acquiring device feature data of the user terminal and user account feature data; performing feature analysis on the device feature data and user account feature data to obtain a strategy degradation coefficient corresponding to the target display content type; if it is determined that the display strategy corresponding to the strategy degradation coefficient is a degradation strategy of the visual optimization strategy, then in the preview content display page, the preview content of the target display content corresponding to the target display content type is displayed according to the degradation strategy.
[0078] The device characteristic data includes real-time device status data and device performance rating of the user terminal; the user account characteristic data includes real-time behavior data of the user account and preference data of alternative display content types; the target display content type is the alternative display content type that supports the visual optimization strategy; and the strategy degradation coefficient is used to characterize the degree of degradation of the visual optimization strategy. Based on the device characteristic data and user account characteristic data of the user terminal, decisions can be made regarding the preview content display method to obtain a degradation strategy that better matches the user's viewing preferences and needs, thereby improving the accuracy of the degradation decision results of the visual optimization strategy.
[0079] To implement the above-described page display method, an exemplary embodiment of this disclosure provides a page display system. Figure 1 A schematic architecture diagram of the system displayed on this page is shown. For example... Figure 2 As shown, the page display system 100 may include a server 110 and a user terminal 120. The server 110 is the backend server for an application, which may be a shopping application, a content sharing application, or a music application, etc. The user terminal 120 is the terminal device used by the user with the application installed; more specifically, the terminal device may be a smartphone, personal computer, tablet computer, etc. The server 110 and the terminal device 120 can establish a connection via a network to achieve page display.
[0080] It should be understood that server 110 can be a single server or a cluster of multiple servers. This disclosure does not limit the specific architecture of server 110.
[0081] Figure 2 This is a flowchart illustrating a page display method according to an exemplary embodiment, such as... Figure 2 As shown, the page display method can be applied to the server, including steps S201 to S203.
[0082] In step S201, in response to the triggering operation of the preview content display page to be displayed, the device feature data of the user terminal and the user account feature data are obtained;
[0083] In this embodiment of the disclosure, the device feature data includes the real-time status data of the user terminal and the device performance score, and the user account feature data includes the real-time behavior data of the user account and the preference data of the alternative display content types.
[0084] In step S202, feature analysis is performed on device feature data and user account feature data to obtain the policy degradation coefficient corresponding to the target display content type;
[0085] In this embodiment of the disclosure, the target display content type is the alternative display content type that supports the visual optimization strategy among the alternative display content types, and the strategy degradation coefficient is used to characterize the degree of degradation of the visual optimization strategy.
[0086] In step S203, if it is determined that the display strategy corresponding to the strategy degradation coefficient is a degradation strategy of the visual optimization strategy, then in the preview content display page, the preview content of the target display content corresponding to the target display content type is displayed according to the degradation strategy.
[0087] In summary, the page display method provided in this embodiment has two advantages. First, in determining the preview content display strategy, it uses real-time status data of the user terminal, device performance, real-time behavior of the user account, and user account preference data for the display content type as a basis. This improves the matching degree between the determined preview content display strategy and the device status of the user terminal and the user's viewing characteristics of the display content. Second, for alternative display content types that support visual optimization strategies, when the preview display content corresponding to the alternative content type needs to be downgraded according to the visual optimization strategy, the preview display content corresponding to the alternative content type can be displayed according to the downgrade strategy. This can reduce the consumption of hardware and network resources of the user terminal, reduce the probability of application failure, and improve the user experience.
[0088] The following is about Figure 3 The specific steps in the process will be explained in detail.
[0089] In step S201 above, the user terminal can respond to the trigger operation of the preview content display page to be displayed and obtain the device feature data and user account feature data of the user terminal.
[0090] In this embodiment, the preview content display page may include multiple preview content display areas, each of which can display different preview content. The displayable content is content supported by the application, including text and images, video content, animated content, and live streaming content. The user terminal can respond to a trigger operation on the preview content, jumping to the display interface of the corresponding displayable content and displaying the corresponding content. The preview content display page can be the application's core page, the application's follow page, or the application's favorites page, etc., and this embodiment does not limit this. The terminal device's device characteristic data is used to characterize the user terminal's device characteristics, and the user account characteristic data characterizes the user account's behavioral characteristics.
[0091] Example, Figure 4An embodiment of this disclosure illustrates a preview content display page 300, which includes preview live content 301 and 302, preview text and image content 303, preview dynamic animation content 304, and preview video content 305. It can be understood that if a user terminal detects a touch operation on the display area of the preview live content 301, it can jump to the display interface of the live content corresponding to the preview live content and display the live content.
[0092] It should be noted that, in this embodiment of the disclosure, since the application terminal may include multiple preview content display pages, different data collection indicators can be selected to make preview content display strategy decisions based on the content display characteristics of different preview content display pages during the display process of different preview content display pages. Therefore, after the user launches the application for the first time, the application server can send configuration information to the user terminal. The configuration information is determined by the server according to the content display characteristics of different preview content display pages, and the configuration information may include a first data collection indicator and a second data collection indicator corresponding to different preview content display pages respectively.
[0093] In one optional embodiment, the process of obtaining device characteristic data and user account characteristic data of the user terminal in response to a trigger operation of the preview content display page to be displayed may include: the user terminal, in response to the trigger operation of the preview content display page to be displayed, determines a first data collection indicator and a second data collection indicator corresponding to the preview content display page from pre-acquired configuration information; obtains the real-time device status data of the user terminal by obtaining the data of the first data collection indicator, and combines the real-time device status data of the user terminal with the pre-acquired device performance score to obtain the device characteristic data of the user terminal; obtains the real-time behavior data of the user account by obtaining the data of the second data collection indicator, and combines the real-time behavior data of the user account with the pre-acquired preference data of alternative display content types to obtain the user account characteristic data. Appropriate data collection indicators can be selected in a targeted manner to make preview content display strategy decisions based on the content display characteristics of the preview content display page to be displayed, which can further improve the accuracy of the preview content display strategy decision results.
[0094] The first data collection indicator is a data collection indicator associated with the real-time status of the device. For example, the data collection indicators associated with the real-time status of the device may include the user terminal's device temperature, battery temperature, battery power status, network status, central processing unit (CPU) status, and memory usage status. The second data collection indicator is a data collection indicator associated with real-time behavior. For example, the data collection indicators associated with real-time behavior may include: liking, commenting, playing, and forwarding displayable content.
[0095] The device performance score is used to characterize the performance of a user terminal. A higher score indicates better performance. The device performance score is determined by the application server based on the user terminal's device performance data, which may include device model, operating system version, CPU model, and available memory. Specifically, after downloading or launching an application, the user terminal sends its performance data to the server to determine the device performance score, and the server then returns the score to the user terminal.
[0096] Preference data for alternative content types is used to characterize the degree of user preference for different types of content that can be displayed. For example, preference data for alternative content types may include user account preferences for live content, video content, animated images, and text and image content. The higher the preference value for a certain alternative content type, the more likely the user is to watch that alternative content type.
[0097] It should be noted that, in the embodiments of this disclosure, the triggering operation for the preview content display page to be displayed is an operation used to trigger the display of the preview content display page to be displayed. The triggering operation may vary depending on the preview content display page to be displayed, and this embodiment of the disclosure does not limit it in this regard. For example, if the preview content display page to be displayed is the core page of the application, the triggering operation may be a running operation of the application; if the preview content display page to be displayed is a favorites page, the triggering operation may be a triggering operation for the display control of the favorites page.
[0098] In step S202 above, the user terminal can perform feature analysis on device feature data and user account feature data to obtain the policy degradation coefficient corresponding to the target display content type.
[0099] In this embodiment of the disclosure, the target display content type is the candidate display content type that supports the visual optimization strategy among the alternative display content types. For example, in a shopping application, the alternative display content types are the content types that the application supports displaying; the alternative display content types may include text and images, videos, dynamic animations, and live streams, wherein the alternative content that supports the visual optimization strategy may include videos, dynamic animations, and live streams; the strategy degradation coefficient is used to characterize the degree of degradation of the visual optimization strategy. It can be understood that the higher the strategy degradation coefficient, the stronger the degradation of the visual optimization strategy.
[0100] In one optional implementation, the process of the user terminal performing feature analysis on device feature data and user account feature data to obtain the policy degradation coefficient corresponding to the target display content type may include: inputting the device feature data and user account feature data into a pre-trained policy degradation coefficient prediction model for feature analysis to obtain the policy degradation coefficient corresponding to the target display content type. The policy degradation coefficient prediction model can be a neural network model or a decision tree model, and this disclosure does not limit this. Predicting the policy degradation coefficient corresponding to the target display content type based on a pre-trained policy degradation coefficient prediction model can improve the accuracy and efficiency of determining the policy degradation coefficient.
[0101] Understandably, the strategy degradation coefficient prediction model can be trained based on sample device feature data and sample user account feature data within a historical period. To improve the reliability of the strategy degradation coefficient prediction model in practical applications, the model can be updated and trained according to a preset period, such as every month or every half month. During the update and training process, sample data from the previous period can be added to the sample data, increasing the richness of the sample data and further improving the reliability of the strategy degradation coefficient prediction model trained in the current period in determining the strategy degradation coefficient in the current period.
[0102] In step S203 above, if the user terminal determines that the display strategy corresponding to the strategy degradation coefficient is a degradation strategy of the visual optimization strategy, then in the preview content display page, the preview content of the target display content corresponding to the target display content type is displayed according to the degradation strategy.
[0103] In this embodiment, the visual optimization strategy and its degradation strategy can be determined based on the type of displayable content. The degradation strategy can include multiple strategies, each with a different degree of degradation relative to the visual optimization strategy. A stronger degradation strategy consumes less resource on the user's device during execution, reducing the likelihood of application failures. Conversely, a weaker degradation strategy, while reducing resource consumption on the user's device, better considers the user's viewing needs for the displayable content, further enhancing the satisfaction of personalized viewing requirements. The target display content, corresponding to the target display content type, is the displayable content that needs to be displayed.
[0104] For example, the target content type is dynamic animation, the visual optimization strategy associated with the dynamic animation is to display a preview dynamic animation, and the degradation strategy of the visual optimization strategy associated with the dynamic animation may include: prohibiting the display of the preview dynamic animation, and displaying a preview dynamic animation of a preset duration, wherein the degradation level of prohibiting the display of the preview dynamic animation is higher than that of displaying the preview dynamic animation of the preset duration.
[0105] In one optional implementation, the target display content type can be a dynamic animation, and the target display content is a target dynamic animation. After obtaining the strategy degradation coefficient corresponding to the target display content type, the user terminal can also determine the strategy degradation coefficient range to which the strategy degradation coefficient corresponding to the target display content type belongs in the first correspondence relationship between the pre-established strategy degradation coefficient and the display strategy. The first correspondence relationship is the correspondence relationship between the strategy degradation coefficient range associated with the dynamic animation and the display strategy.
[0106] In one optional implementation, when the policy degradation coefficient is determined to belong to the first policy degradation coefficient range associated with the dynamic animation, the first display policy corresponding to the first policy degradation coefficient range is determined as the display policy. The first display policy prohibits the display of preview dynamic animations. Since the first display policy is a degradation policy of the visual optimization policy associated with the dynamic animation, the process of the user terminal displaying the preview content of the target display content corresponding to the target display content type on the preview content display page according to the degradation policy may include: selecting any frame of the target dynamic animation and displaying the preview target animation frame corresponding to the target animation frame on the preview content display page. This allows the preview target animation frame of any target dynamic frame in the target dynamic animation to be displayed as preview content on the preview content display page, reducing the consumption of hardware and network resources on the user terminal, lowering the probability of application malfunctions, and improving the user experience.
[0107] In one optional implementation, when it is determined that the strategy degradation coefficient belongs to the second strategy degradation coefficient range associated with the dynamic animation, the second display strategy corresponding to the second strategy degradation coefficient range is determined as the display strategy. The second display strategy is to display a preview dynamic animation of a preset duration. Since the second display strategy is a degradation strategy of the visual optimization strategy associated with the dynamic animation, the process of the user terminal displaying the preview content of the target display content corresponding to the target display content type on the preview content display page according to the degradation strategy may include: selecting a target dynamic animation of a preset duration from the target dynamic animation, and displaying the preview target dynamic animation corresponding to the target dynamic animation of the preset duration on the preview content display page. The preset duration can be determined based on actual needs, and this embodiment does not limit this. It is understood that the preset duration is less than the total duration of the target dynamic animation. The preview target dynamic animation of the preset duration from the target dynamic animation can be displayed as preview content on the preview content display page. This reduces the consumption of hardware and network resources of the user terminal, lowers the probability of application failures, and simultaneously meets the user's preview needs for dynamic animations, further improving the user experience.
[0108] In one optional implementation, the target display content type can be a live video stream, the target display content is the target live video stream, and the visual optimization strategy associated with the live video stream is to display a preview of the live video stream. After obtaining the strategy degradation coefficient corresponding to the target display content type, the user terminal can also determine the strategy degradation coefficient range to which the strategy degradation coefficient corresponding to the target display content type belongs in the pre-established second correspondence between strategy degradation coefficients and display strategies. The second correspondence is the correspondence between the strategy degradation coefficient range associated with the live video stream and the display strategy.
[0109] Furthermore, when determining that the policy degradation coefficient belongs to the third policy degradation coefficient range associated with the live video stream, the third display policy corresponding to the third policy degradation coefficient range is determined as the display policy. The third display policy is to prohibit the display of the preview live video stream. Since prohibiting the display of the preview live video stream is a degradation policy for displaying the preview live video stream, the process by which the user terminal displays the preview content corresponding to the target display content type on the preview content display page according to the degradation policy can include: selecting any frame of the target live video stream and displaying the preview target live video frame corresponding to the target live video frame on the preview content display page. This allows the preview target live video frame of any target live video stream to be displayed as preview content on the preview content display page, reducing the consumption of hardware and network resources on the user terminal, lowering the probability of application malfunctions, and improving the user experience.
[0110] In one optional implementation, the target display content type is a video stream, the target display content is a target video stream, and the visual optimization strategy associated with the video stream is to perform visual optimization processing on the video cover of the video stream. After obtaining the strategy degradation coefficient corresponding to the target display content type, the user terminal can also determine the strategy degradation coefficient range to which the strategy degradation coefficient corresponding to the target display content type belongs in the pre-established third correspondence relationship between strategy degradation coefficients and display strategies. The third correspondence relationship is the correspondence relationship between the strategy degradation coefficient range associated with the video stream and the display strategy. The video stream can be a preset format video stream uploaded by any user account that has registered a user account in the server corresponding to the application. The preset format can be a video stream with a video frame aspect ratio greater than 1, for example, a video stream with a video frame aspect ratio of 16:9, or a video stream with a video frame aspect ratio of 4:3.
[0111] Furthermore, when determining that the strategy degradation coefficient belongs to the fourth strategy degradation coefficient range associated with the video stream, the fourth display strategy corresponding to the fourth strategy degradation coefficient range is determined as the display strategy. This fourth display strategy prohibits visual optimization processing of the video stream's cover image. Since prohibiting visual optimization processing of the video stream's cover image is a degradation strategy that performs visual optimization processing on the video stream's cover image, the process of the user terminal displaying the preview content corresponding to the target display content type on the preview content display page according to the degradation strategy can include: determining the target video cover image corresponding to the target video stream and displaying a preview of the target video cover image on the preview content display page. Visual optimization processing can involve enhancing the image quality of the video cover image, for example, Gaussian enhancement. The preview content display page can display the preview of the target video cover image from the target video stream that has not undergone visual optimization processing, reducing the consumption of hardware and network resources on the user terminal, lowering the probability of application malfunctions, and improving the user experience.
[0112] It is understood that, in this embodiment of the disclosure, if the display strategy corresponding to the strategy degradation coefficient is determined to be a visual optimization strategy, then in the preview content display page, the preview content of the target display content corresponding to the target display content type is displayed according to the visual optimization strategy. This can further satisfy the user's viewing preferences and needs for the content that can be displayed, and meet the user's personalized viewing needs, while ensuring the normal operation of the referencing program.
[0113] Figure 4 This is a block diagram illustrating a page display device according to an exemplary embodiment. (Refer to...) Figure 5 The display device for this page includes:
[0114] The acquisition module 401 is configured to acquire device feature data and user account feature data in response to the trigger operation of the preview content display page to be displayed. The device feature data includes the real-time status data of the user terminal and the device performance score. The user account feature data includes the real-time behavior data of the user account and the preference data of the alternative display content types.
[0115] The feature analysis module 402 is configured to perform feature analysis on device feature data and user account feature data to obtain a strategy degradation coefficient corresponding to the target display content type. The target display content type is the candidate display content type that supports the visual optimization strategy among the candidate display content types. The strategy degradation coefficient is used to characterize the degree of degradation of the visual optimization strategy.
[0116] The display module 403 is configured to, if it is determined that the display strategy corresponding to the strategy degradation coefficient is a degradation strategy of the visual optimization strategy, then in the preview content display page, the preview content corresponding to the target display content type is displayed according to the degradation strategy.
[0117] Optionally, module 401 is configured as follows:
[0118] In response to the triggering operation of the preview content display page to be displayed, the first data collection indicator and the second data collection indicator corresponding to the preview content display page are determined from the pre-acquired configuration information. The first data collection indicator is a data collection indicator associated with the real-time status of the device, and the second data collection indicator is a data collection indicator associated with real-time behavior.
[0119] The real-time status data of the user terminal is obtained by acquiring the data of the first data collection indicator. The real-time status data of the user terminal is combined with the pre-acquired device performance score to obtain the device characteristic data of the user terminal.
[0120] The real-time behavior data of user accounts is obtained by acquiring data from the second data collection indicator. The real-time behavior data of user accounts is combined with the preference data of the alternative display content types obtained in advance to obtain user account feature data.
[0121] Optionally, the target display content type is a dynamic animation, the target display content is a target dynamic animation, and the visual optimization strategy associated with the dynamic animation is to display a preview dynamic animation. The device also includes a first determining module 404, configured to:
[0122] When it is determined that the strategy degradation coefficient belongs to the first strategy degradation coefficient range associated with the dynamic animation, the first display strategy corresponding to the first strategy degradation coefficient range is determined as the display strategy, and the first display strategy is to prohibit the display of preview dynamic animation;
[0123] Display module 403 is configured as follows:
[0124] Select any frame of the target animation in the target animation, and display the preview target animation frame corresponding to the target animation frame on the preview content display page.
[0125] Optionally, the first determining module 404 is also configured as follows:
[0126] When it is determined that the strategy degradation coefficient belongs to the second strategy degradation coefficient range associated with the dynamic animation, the second display strategy corresponding to the second strategy degradation coefficient range is determined as the display strategy, and the second display strategy is to display a preview dynamic animation of a preset duration.
[0127] Display module 403 is configured as follows:
[0128] Select a target animation with a preset duration from the target animation, and display the preview target animation corresponding to the preset duration on the preview content display page.
[0129] Optionally, the target display content type is a live video stream, the target display content is the target live video stream, and the visual optimization strategy associated with the live video stream is to display a preview of the live video stream. The device also includes a second determining module 405, which is further configured to:
[0130] When it is determined that the strategy degradation coefficient belongs to the third strategy degradation coefficient range associated with the live video stream, the third display strategy corresponding to the third strategy degradation coefficient range is determined as the display strategy, and the third display strategy is to prohibit the display of the preview live video stream.
[0131] Display module 403 is configured as follows:
[0132] Select any frame of the target live video stream and display the corresponding preview of the target live video on the preview content display page.
[0133] Optionally, the target display content type is a video stream, the target display content is a target video stream, and the visual optimization strategy associated with the video stream is to perform visual optimization processing on the video cover of the video stream. The device includes a third determining module 406, which is further configured to:
[0134] When it is determined that the strategy degradation coefficient belongs to the fourth strategy degradation coefficient range associated with the video stream, the fourth display strategy corresponding to the fourth strategy degradation coefficient range is determined as the display strategy. The fourth display strategy is to prohibit visual optimization processing of the video cover of the video stream.
[0135] Display module 403 is configured as follows:
[0136] Identify the target video cover corresponding to the target video stream and display the preview target video cover on the preview content display page.
[0137] Optionally, the feature analysis module 402 is configured as follows:
[0138] Device feature data and user account feature data are input into a pre-trained policy degradation coefficient prediction model for feature analysis to obtain the policy degradation coefficient corresponding to the target content type.
[0139] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0140] Exemplary embodiments of this disclosure also provide an electronic device, which may be a user terminal. References below... Figure 5 This electronic device will be described. It should be understood that the following references... Figure 5 This electronic device will be described. It should be understood that... Figure 5 The electronic device 500 shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0141] like Figure 2 As shown, the electronic device 500 is presented in the form of a general-purpose computing device. The components of the electronic device 500 may include, but are not limited to: at least one processing unit 510, at least one storage unit 520, and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510).
[0142] The storage unit stores program code, which can be executed by the processing unit 510 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present invention. For example, the processing unit 510 can perform actions such as... The methods and steps shown are as follows.
[0143] Storage unit 520 may include volatile storage units, such as random access memory (RAM) 521 and / or cache memory 522, and may further include read-only memory (ROM) 523.
[0144] Storage unit 520 may also include a program / utility 524 having a set (at least one) program module 525, such program module 525 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.
[0145] Bus 530 may include a data bus, an address bus, and a control bus.
[0146] Electronic device 500 can also communicate with one or more external devices 600 (e.g., keyboards, pointing devices, Bluetooth devices, etc.) via input / output (I / O) interface 540. Electronic device 500 can also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via network adapter 580. As shown, network adapter 580 communicates with other modules of electronic device 500 via bus 530. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0147] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to exemplary embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0148] Those skilled in the art will understand that various aspects of this disclosure can be implemented as systems, methods, or program products. Therefore, various aspects of this disclosure can be embodied in entirely hardware implementations, entirely software implementations (including firmware, microcode, etc.), or implementations combining hardware and software aspects, collectively referred to herein as “circuit,” “module,” or “system.” Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0149] In addition, this disclosure also provides a computer-readable storage medium that, when the instructions in the computer-readable storage medium are executed by the processor of an electronic device, enables the electronic device to perform the page display method provided in the above embodiments.
[0150] In addition, this disclosure also provides a computer program product, including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the page display method provided in the above embodiments.
[0151] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
Claims
1. A page display method, characterized in that, include: In response to the triggering operation of the preview content display page to be displayed, the device feature data and user account feature data of the user terminal are obtained. The device feature data includes the real-time status data and performance score of the user terminal. The user account feature data includes the real-time behavior data and preference data of the user account for alternative display content types. Feature analysis is performed on the device feature data and the user account feature data to obtain the strategy degradation coefficient corresponding to the target display content type. The target display content type is the candidate display content type that supports the visual optimization strategy among the candidate display content types. The strategy degradation coefficient is used to characterize the degree of degradation of the visual optimization strategy. If it is determined that the display strategy corresponding to the strategy degradation coefficient is a degradation strategy of the visual optimization strategy, then in the preview content display page, the preview content of the target display content corresponding to the target display content type is displayed according to the degradation strategy.
2. The page display method according to claim 1, characterized in that, The trigger operation in response to the preview content display page to be shown obtains the device characteristic data and user account characteristic data of the user terminal, including: In response to the triggering operation of the preview content display page to be displayed, a first data collection indicator and a second data collection indicator corresponding to the preview content display page are determined from the pre-acquired configuration information. The first data collection indicator is a data collection indicator associated with the real-time status of the device, and the second data collection indicator is a data collection indicator associated with real-time behavior. The real-time status data of the user terminal is obtained by acquiring the data of the first data collection index. The real-time status data of the user terminal is combined with the pre-acquired device performance score to obtain the device feature data of the user terminal. The real-time behavior data of the user account is obtained by acquiring data from the second data collection indicator. The real-time behavior data of the user account is combined with the preference data of the pre-acquired alternative display content types to obtain the user account feature data.
3. The page display method according to claim 1, characterized in that, The target display content type is a dynamic animation, the target display content is a target dynamic animation, and the visual optimization strategy associated with the dynamic animation is to display a preview dynamic animation. The method further includes: When it is determined that the strategy degradation coefficient belongs to the first strategy degradation coefficient range associated with the dynamic animation, the first display strategy corresponding to the first strategy degradation coefficient range is determined as the display strategy, and the first display strategy is to prohibit the display of preview dynamic animation; The step of displaying preview content corresponding to the target display content type in the preview content display page according to the degradation strategy includes: Select any frame of the target animation in the target animation, and display the preview target animation frame corresponding to the target animation frame on the preview content display page.
4. The page display method according to claim 3, characterized in that, The method further includes: When it is determined that the strategy degradation coefficient belongs to the second strategy degradation coefficient range associated with the dynamic animation, the second display strategy corresponding to the second strategy degradation coefficient range is determined as the display strategy, and the second display strategy is to display a preview dynamic animation of a preset duration. The step of displaying preview content corresponding to the target display content type in the preview content display page according to the degradation strategy includes: Select the target animation of the preset duration from the target animation, and display the preview target animation corresponding to the target animation of the preset duration on the preview content display page.
5. The page display method according to claim 1, characterized in that, The target display content type is a live video stream, the target display content is a target live video stream, and the visual optimization strategy associated with the live video stream is to display a preview of the live video stream. The method further includes: When it is determined that the strategy degradation coefficient belongs to the third strategy degradation coefficient range associated with the live video stream, the third display strategy corresponding to the third strategy degradation coefficient range is determined as the display strategy, and the third display strategy is to prohibit the display of the preview live video stream. The step of displaying preview content corresponding to the target display content type in the preview content display page according to the degradation strategy includes: Select any frame of the target live video stream and display the preview target live video corresponding to the target live video frame on the preview content display page.
6. The page display method according to claim 1, characterized in that, The target display content type is a video stream, the target display content is a target video stream, and the visual optimization strategy associated with the video stream is to perform visual optimization processing on the video cover of the video stream. The method includes: When it is determined that the strategy degradation coefficient belongs to the fourth strategy degradation coefficient range associated with the video stream, the fourth display strategy corresponding to the fourth strategy degradation coefficient range is determined as the display strategy, and the fourth display strategy is to prohibit visual optimization processing of the video cover of the video stream. The step of displaying preview content corresponding to the target display content type in the preview content display page according to the degradation strategy includes: Determine the target video cover corresponding to the target video stream, and display the preview target video cover corresponding to the target video cover on the preview content display page.
7. The page display method according to claim 1, characterized in that, The step of performing feature analysis on the device feature data and the user account feature data to obtain the policy degradation coefficient corresponding to the target display content type includes: The device feature data and the user account feature data are input into a pre-trained policy degradation coefficient prediction model for feature analysis to obtain the policy degradation coefficient corresponding to the target content type.
8. A page display device, characterized in that, include: The acquisition module is configured to acquire device feature data and user account feature data of the user terminal in response to the trigger operation of the preview content display page to be displayed. The device feature data includes the real-time status data and performance score of the user terminal, and the user account feature data includes the real-time behavior data and preference data of the user account for alternative display content types. The feature analysis module is configured to perform feature analysis on the device feature data and the user account feature data to obtain a strategy degradation coefficient corresponding to the target display content type. The target display content type is the candidate display content type that supports the visual optimization strategy among the candidate display content types. The strategy degradation coefficient is used to characterize the degree of degradation of the visual optimization strategy. The display module is configured to, if it is determined that the display strategy corresponding to the strategy degradation coefficient is a degradation strategy of the visual optimization strategy, then in the preview content display page, display the preview content of the target display content corresponding to the target display content type in accordance with the degradation strategy.
9. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the page display method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the page display method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Page loading method and device, storage medium and electronic equipment
CN112307381A
Feature construction method, content display method and related device
CN113177176A