WO2022213773A1 - 页面显示控制方法、装置、设备及存储介质 - Google Patents

页面显示控制方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2022213773A1
WO2022213773A1 PCT/CN2022/080371 CN2022080371W WO2022213773A1 WO 2022213773 A1 WO2022213773 A1 WO 2022213773A1 CN 2022080371 W CN2022080371 W CN 2022080371W WO 2022213773 A1 WO2022213773 A1 WO 2022213773A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
user
display
control
content
Prior art date
Application number
PCT/CN2022/080371
Other languages
English (en)
French (fr)
Inventor
赵育萱
蒋森
梁琛奇
孙辉
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2022213773A1 publication Critical patent/WO2022213773A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the embodiments of the present disclosure relate to the field of computer technologies, for example, to a page display control method, apparatus, device, and storage medium.
  • users can be allowed to publish various forms of content such as pictures or videos for other users to view.
  • users may also be allowed to establish a follow relationship with other users through some operations, such as triggering a follow control on a page.
  • the display control scheme of the above-mentioned controls is not perfect and needs to be improved.
  • the embodiments of the present disclosure provide a page display control method, apparatus, device, and storage medium, which can optimize the page display control scheme in the related art.
  • an embodiment of the present disclosure provides a method for controlling page display, including:
  • a first preset control is displayed on the current page, wherein the first preset control is used to establish a relationship between the first user and the second user.
  • a preset association relationship in the preset application program the first user includes a user currently using the preset application program, and the second user includes a user who publishes the first content;
  • the display mode of the first preset control is changed.
  • an embodiment of the present disclosure provides a page display control device, including:
  • the first preset control display module is configured to display the first preset control on the current page during the process of displaying the first content on the current page of the preset application, wherein the first preset control is used for establishing a preset association relationship between a first user and a second user in the preset application program, the first user includes a user currently using the preset application program, and the second user includes publishing the first user users of the content;
  • the change processing module is configured to perform change processing on the display mode of the first preset control based on the interactive operation of the first user acting on the first content.
  • an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the page display control method provided by the embodiment of the present disclosure.
  • an embodiment of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the present disclosure when executing the computer program
  • the page display control method provided by the embodiment including
  • FIG. 1 is a schematic flowchart of a page display control method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a page display provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of another page display control method provided by an embodiment of the present disclosure.
  • FIG. 4 is another schematic diagram of page display provided by an embodiment of the present disclosure.
  • FIG. 5 is another schematic diagram of page display provided by an embodiment of the present disclosure.
  • FIG. 6 is another schematic diagram of page display provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic flowchart of another page display control method provided by an embodiment of the present disclosure.
  • FIG. 8 is a structural block diagram of a page display control apparatus according to an embodiment of the present disclosure.
  • FIG. 9 is a structural block diagram of an electronic device according to an embodiment of the present disclosure.
  • the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
  • the term “based on” is “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • FIG. 1 is a schematic flowchart of a page display control method provided by an embodiment of the present disclosure.
  • the method can be executed by a page display control apparatus, wherein the apparatus can be implemented by software and/or hardware, and can generally be integrated in electronic equipment.
  • the method includes:
  • Step 101 In the process of displaying the first content on the current page of the preset application, display a first preset control in the current page, wherein the first preset control is used to establish the first user and the second user.
  • the preset association relationship of users in the preset application program the first user includes a user currently using the preset application program, and the second user includes a user who publishes the first content.
  • the preset application program is used to display the content published by the user, wherein the type of the preset application program is not limited, and can be installed in an electronic device such as a mobile phone, a tablet computer, or a computer. Register an account in the app and log in.
  • the content may be various forms of information or files such as pictures, text, audio or video, etc., which are not limited.
  • the user can upload the content to be published to the server corresponding to the preset application, and the server will deliver the content to the preset application used by other users for display.
  • the form in which the content is displayed may be determined according to the type of the content, such as displaying pictures, displaying text, playing audio, or playing video, and so on.
  • the preset application includes a short video application, and the content includes a short video
  • the short video application is used to play the short video released by the user, and the user can upload the short video work shot by himself to the Short video platform
  • the short video platform can send the short video work to the short video application used by other users for playback, and then other users can watch the short video work published by the user.
  • the default application includes an information application
  • the content includes articles
  • the information application is used to display articles published by the user, the user can upload the article written by himself to the information platform, and the information platform can send the article to other If it is displayed in the news application used by the user, other users can view the articles published by the user.
  • the current page may be a page for displaying content in a preset application
  • the first content may be any content that can be displayed.
  • the user currently using the preset application program may be recorded as the first user, and the first user may also be understood as the user currently watching the first content; the publisher of the first content may be recorded as the second user.
  • the first preset control is displayed on the current page.
  • the process here can be the entire process of displaying the first content, for example, from the moment when the first content appears on the current page to the moment when the first content disappears from the current page; the process here can also be the display of the first content.
  • Part of the process of the content for example, the first preset control is not displayed when the first content appears on the current page, and the first preset control is displayed after a period of time.
  • the display position of the first preset control is not limited, and the display mode of the first preset control at this time may be regarded as the default display mode.
  • a preset association relationship may exist between users, and the preset association relationship is established by the user according to personal wishes, that is, a user can decide whether to establish a preset association with another user according to his personal wishes. relation.
  • a first preset control may be provided to establish a preset association relationship between users, and the first user may trigger the first preset control in a first preset triggering manner to realize the preset relationship with the second user. Assuming the establishment of the association relationship, the first preset triggering manner may be, for example, a click or the like.
  • the preset association relationship may be understood as a friend relationship, and may also be understood as a one-way following relationship between a fan (ie, a follower) and a person being followed.
  • the expression form of the first preset control is not limited.
  • the first preset control may be an add friend button or a follow button.
  • Step 102 Perform a change process on the display mode of the first preset control based on the interactive operation performed by the first user on the first content.
  • the first user watches the first content
  • many forms of interactive operations may be generated.
  • the interactive operation can be directly implemented by the user on the electronic device, such as by touching the content on the screen with a finger.
  • the display mode of the first preset control is changed.
  • the change processing mode is not limited.
  • the display mode can be regarded as a display mode different from the above-mentioned default display mode.
  • the display mode of the first preset control may be changed to a display mode that more attracts the attention of the first user, such as increasing the display size of the first preset control, and so on.
  • the display mode of the first content may not be changed, that is, in general, the first preset control
  • the change of the display mode of the first content will not affect the display of the first content, and the display strategy of the first content remains unchanged.
  • the short video can continue to be played until it receives the video playback control command from the first user (such as a pause playback command or a switch to play the next one). Instructions for short videos, etc.).
  • a first preset control is displayed on the current page, wherein the first preset control is used to establish a first preset control.
  • the preset association relationship between a user and a second user in the preset application the first user includes the user currently using the preset application, the second user includes the user who publishes the first content, based on the first user
  • the interactive operation acting on the first content changes the display mode of the first preset control.
  • the display mode of the first preset control used to establish the preset association relationship between users is changed based on the interactive operation of the first user acting on the first content, so that the display mode of the control can be changed. It is richer and fits the actual needs of users, so as to control the page display more reasonably.
  • displaying the first preset control on the current page includes: displaying the first content on the current page of the preset application During the content process, when it is determined that there is no preset association relationship between the first user and the second user, a first preset control is displayed on the current page.
  • a display for establishing the first user in the process of displaying the first content on the current page of the preset application program, a display for establishing the first user may be displayed on the current page.
  • An association relationship establishment control with the preset association relationship of the second user in the preset application program In order to reflect the difference between the existence of a preset association relationship between the first user and the second user and the absence of a preset association relationship, two types of interactive controls can be designed, for example, including the above-mentioned first preset control, and may also include a fourth preset control . When there is a preset association relationship between the first user and the second user, the fourth preset control can be displayed on the current page.
  • the fourth preset control can be displayed on the current page.
  • the fourth preset control may be, for example, a private message button, and the first user may send a private message to the second user by triggering the fourth preset control.
  • FIG. 2 is a schematic diagram of a page display provided by an embodiment of the present disclosure.
  • a short video (first content) is played on a short video playback page 201 (current page), as shown in FIG. 2 Contains short video content of clowns.
  • a fourth preset control 202 may be displayed on the current page.
  • the fourth preset control 202 may be a private message icon.
  • the first preset control 203 may be displayed on the current page.
  • the first preset control 203 may have a text content of "Follow". button.
  • the changing the display mode of the first preset control based on the interactive operation of the first user acting on the first content includes: determining that the first user acts on the first content. Whether the interactive operation of the first content satisfies the trigger condition of the preset display change event; when it is determined that the interactive operation meets the trigger condition of the preset display change event, it is determined that the preset display change event is triggered, and the The display mode of the first preset control is changed.
  • the preset display change event can be understood as an event that needs to change the display mode of the first preset control.
  • the trigger condition of the preset display change event can be predefined, and the trigger condition can be based on the user's interactive operation on the displayed content.
  • the definition method is not limited, and can be set according to actual needs.
  • the determining that the preset display change event is triggered includes: after detecting that the third preset control is touched
  • the third preset control is a forward interactive control for the first content.
  • the interaction operation triggering the third preset control is a forward interaction operation
  • the forward interaction operation can be understood as an interaction operation that reflects the user's interest in the displayed content or the content publishing user.
  • the advantage here is that when the first user touches the third preset control, it means that the first user is interested in the first content or the second user, that is, it means that the first user has established a preset association relationship with the second user. In this case, the display mode of the first preset control is changed, which can act as a prompt to the first user.
  • the third preset control may be, for example, a like control, a comment control, or a forward control, and may include at least one of them.
  • the like control can be, for example, a heart-shaped control 204 , and the first user can trigger the like control by clicking or the like.
  • the sharing control can be, for example, an arrow-shaped control 205, and the first user can trigger the sharing control by clicking or the like.
  • the comment control can be, for example, a message style control 206, and the first user can trigger the comment control by clicking or the like.
  • the preset display change event when it is determined that the interactive operation satisfies the triggering condition of the preset display change event, it is determined that the preset display change event is triggered, including: : When it is detected that a preset number of third preset controls are touched, it is determined that a preset display change event is detected to be triggered. For example, if the preset number is 2, and the user touches the like control and the forward control successively, it can be determined that the preset display change event is detected to be triggered.
  • the determining that the preset display change event is triggered includes: after it is detected that the first content is completed playing When the number of times reaches the first preset number of times threshold, it is determined that a preset display change event is detected to be triggered.
  • the first content may generally be displayed multiple times, and each display may be considered as the first user viewing the first content once. For content such as videos, one display may be the start of playback or the completion of playback, which can be set according to actual conditions.
  • the number of times the first user watches the first content may be the number of times the first content is watched within the first preset duration, or the number of times the first content is watched continuously, etc., which may be set according to actual conditions. Taking a short video as an example, when it is detected that the number of completed playbacks of the first content reaches a first preset number of times threshold, it may be determined that it is detected that the number of times the first user watches the first content reaches a first preset number of times threshold.
  • the first preset number of times threshold can be set or dynamically adjusted according to the actual situation.
  • a preset display change event when it is determined that the interactive operation satisfies the triggering condition of the preset display change event, it is determined that a preset display change event is triggered, including a combination of the above. For example, when it is detected that the third preset control is touched, and it is detected that the number of times that the first content has been played reaches a first preset number of times threshold, it is determined that a preset display change event is detected to be triggered.
  • the processing of changing the display mode of the first preset control includes at least one of the following: increasing the display size of the first preset control; changing the first preset control The text and/or pattern displayed in the inside; adding animation special effects to the first preset control; changing the color and/or shape of the first preset control.
  • the advantage of this setting is that the first preset control can be made to more attract the attention of the first user and play a certain prompting role.
  • increasing the display size of the first preset control can be understood as expanding the display area of the first preset control while keeping the shape of the first preset control unchanged, as shown in FIG. 2 .
  • the control 203 is rectangular in shape, its width and/or height can be increased in size.
  • a general control may display text, a pattern, or a combination of text and a pattern.
  • the text can be modified, such as changing "Follow” to "Focus”
  • the pattern can also be modified, for example, the first preset control is a pattern with a solid color background, It can be changed to a pattern filled with gradient or texture, etc.; you can also modify the text and pattern at the same time, for example, change the "Focus" to "Focus” and change the pattern of the solid color background to the pattern of the gradient fill.
  • animation effects can be added to the first preset control, and the type of animation effects is not limited. change at a preset frequency), and the first preset control can also have the effect of vibration or shaking, and the like.
  • the first preset control to which animation special effects are added is changed from a static display to a dynamic display, which can more attract the attention of the first user.
  • the color of the first preset control can be changed to a more conspicuous color, such as changing from gray to fluorescent yellow.
  • the shape of the first preset control can also be changed, for example, changing a rectangle into a heart shape and the like. You can also change the color and shape at the same time, such as changing a gray rectangle to a fluorescent yellow heart, etc.
  • a second preset control for the first user to input a negative interaction operation may also be displayed on the current page.
  • the displaying the first preset control in the current page includes: displaying the first preset control and the second preset control in the current page, wherein the second preset control is For the negative interactive control of the first content, the distance between the first display area corresponding to the first preset control and the second display area corresponding to the second preset control is less than a preset distance threshold.
  • the increasing the display size of the first preset control includes: displaying the first preset control in a third display area and hiding the second preset control, wherein the third display area covers At least part of the first display area and at least part of the second display area, the size of the third display area is larger than the size of the first display area; or, the first preset is displayed in the fourth display area control, and the second preset control is displayed in a fifth display area, wherein the area of the fourth display area is larger than that of the first display area, and the area of the fifth display area is smaller than that of the second display area Displays the area of the area.
  • the advantage of this setting is that the display mode of the second preset control is adjusted at the same time, so that the first user can more easily notice the first preset control, thereby increasing the probability of the first user triggering the first preset control.
  • the third display area covers all of the first display area and all of the second display area.
  • the first preset control and the second preset control are displayed on the current page, and the current display mode of the first preset control and the second preset control at this time. can be considered as the default display mode.
  • a negative interaction operation can be understood as an interaction operation that reflects that the user is not interested in the displayed content or the publishing user of the content, such as by triggering a second preset control.
  • the second preset control may be a control with words such as "not interested", or may be a control with a pattern such as thumb down, which is not limited.
  • the first preset control and the second preset control are relatively close when displayed, and the above-mentioned preset distance threshold can be set according to actual requirements.
  • FIG. 3 is a schematic flowchart of another page display control method provided by an embodiment of the present disclosure.
  • the method includes the following steps:
  • Step 301 Determine that there is no preset association relationship between the first user and the second user, where the first user includes a user currently using a preset application program, and the second user includes a user who publishes the first content.
  • step 302 before the current page of the preset application program displays the first content, it may be pre-determined whether there is a preset association relationship between the user who publishes the first content and the user who uses the current preset application program. If there is no preset association relationship with the current user of the preset application program, step 302 is continued. Optionally, if there is a preset association relationship between the user who publishes the first content and the user who currently uses the preset application, step 302 may not be performed, and the first content is displayed on the current page according to other display strategies.
  • Step 302 In the process of displaying the first content on the current page of the preset application, display the first preset control and the second preset control in the current page, wherein the first preset control is used to establish the first user and the second preset control.
  • the preset association relationship of the second user in the preset application program, the second preset control is a negative interaction control for the first content, the first display area corresponding to the first preset control and the corresponding second preset control The distance between the second display areas is smaller than the preset distance threshold.
  • FIG. 4 is a schematic diagram of a page display provided by an embodiment of the present disclosure.
  • the first preset control 401 is a focus button
  • the second preset control 402 is a disinterested button. If the distance between them is less than the preset distance threshold, the calculation may be performed based on the adjacent boundaries. For example, the distance between the right boundary of the focus button and the left boundary of the disinterested button is less than the preset distance threshold.
  • Step 303 Determine whether the interactive operation of the first user acting on the first content satisfies the trigger condition of the preset display change event, in the case that the interactive operation of the first user acting on the first content satisfies the trigger condition of the preset display change event , and perform step 304 ; in the case that the interactive operation performed by the first user on the first content does not satisfy the triggering condition of the preset display change event, perform step 303 repeatedly.
  • the first user finishes playing the first content reaches the first preset number of times threshold or triggers the like control, share control, and comment control corresponding to the first content
  • the interactive operation of the content satisfies the trigger condition of the preset display change event.
  • Step 304 it is determined that a preset display change event is detected to be triggered.
  • this step can also be omitted to be executed, that is, if it is concluded that the judgment in step 303 is yes, step 305 can be directly executed.
  • Step 305 Increase the display size of the first preset control.
  • FIG. 5 is a schematic diagram of a page display provided by an embodiment of the present disclosure. Comparing FIG. 4 and FIG. 5 , the display area corresponding to the first preset control 501 after the increased size covers the focus button and the disinterest button in FIG. 4 . Display area, and covers the display area between the focus button and the disinterest button.
  • the third display area corresponding to the increased size of the first preset control may also be larger than that shown in FIG. 5 .
  • FIG. 6 is a schematic diagram of a page display provided by an embodiment of the present disclosure. Comparing FIG. 4 and FIG. 6 , it can be seen that the size of the first preset control is increased, and the enlarged first preset control 601 is obtained. The size of the second preset control is obtained by obtaining the reduced second preset control 602, and the range of increase and decrease is not limited. In addition, the ratio of the display area area of the two can also be adjusted, such as from 1:1 to 3:1.
  • the page display control method before displaying the first content published by the second user, it may be determined whether there is a preset association relationship between the first user who currently needs to watch the first content and the second user , in the case where there is no preset association relationship between the first user who currently needs to watch the first content and the second user, the first preset control and the second preset control are displayed at the same time, and the preset display change event is detected When triggered, the display size of the first preset control is increased to attract the attention of the first user, and prompt the first user to actively establish a preset with the second user in the preset application program by triggering the first preset control. Set up a relationship.
  • the method before the processing of changing the display mode of the first preset control, the method further includes: determining, for the first user within a first preset time period, in the second user's published The number of times that the preset display change event is triggered on the display page of the content is less than or equal to the second preset number of times threshold; or it is determined that for the first user within the second preset time period, the preset display change event is triggered. The number of times is less than or equal to the third preset number of times threshold.
  • the advantage of this setting is that the trigger frequency of the preset display change event is controlled, so as to avoid excessive interference to the user.
  • the first preset time period and the second preset time period can be set according to actual needs, such as one week or 12 hours, and the first preset time period and the second preset time period can be the same or different; the second preset number of times threshold and The third preset number of times threshold can also be set or dynamically adjusted according to the actual situation, and the two can be the same or different. If the second preset number of times threshold is X times, during the first preset time period when the first user uses the preset application, during the process of displaying the content published by the second user, a maximum of X preset display changes are triggered event.
  • the display mode of the first preset control can be kept unchanged, that is, the current display mode of the first preset control can be maintained.
  • the content published by the second user is not limited to the first content, and may also include second content, third content, and the like.
  • the display mode of the first preset control is changed, and for the first user within the second preset time period, when the number of times the preset display change event is triggered is greater than the third preset number of times threshold, the first user can be maintained.
  • the display mode of a preset control remains unchanged, that is, the current display mode of the first preset control is maintained. Or, after it is determined that the interactive operation of the first user acting on the first content satisfies the triggering condition of the preset display change event, if it is determined that the first user is to be displayed within the first preset time period, the content displayed on the display page of the content published by the second user is previewed.
  • the number of times the display change event is triggered is less than or equal to the second preset number of times threshold, and it is determined that for the first user within the second preset time period, the number of times the preset display change event is triggered is less than or equal to the third preset number of times threshold, Then, the process of changing the display mode of the first preset control is performed.
  • the display mode of the first preset control can be kept unchanged.
  • the preset application includes a short video application, and the content includes a short video.
  • the following takes this application scenario as an example for description.
  • FIG. 7 is a schematic flowchart of another page display control method provided by an embodiment of the present disclosure. As shown in FIG. 7 , the method includes:
  • Step 701 Determine that there is no preset association relationship between the first user and the second user, where the first user includes a user currently using a short video application, and the second user includes a user who publishes the first short video.
  • the first short video before the first short video is played on the short video playback page of the short video application, it can be pre-determined whether there is a preset association between the user who publishes the first short video and the user who uses the short video application. If there is no preset association relationship between the user who publishes the video and the user who uses the short video application, go to step 702 . Optionally, if there is a preset association relationship between the user who publishes the first short video and the user who uses the short video application, step 702 may not be performed, and the first short video is played on the short video playback page according to other display strategies. .
  • Step 702 During the process of playing the first short video on the short video playback page of the short video application, a focus button and a disinterest button are displayed on the short video playback page, and the first display area corresponding to the focus button and the disinterest button correspond to each other.
  • the distance between the second display areas is smaller than the preset distance threshold.
  • Step 703 Determine whether the interactive operation of the first user acting on the first short video satisfies the trigger condition of the preset display change event, and if the interactive operation of the first user acting on the first short video meets the trigger condition of the preset display change event. In this case, step 704 is performed; when the interactive operation performed by the first user on the first short video does not satisfy the trigger condition of the preset display change event, step 703 is performed repeatedly.
  • the first user when the number of completed playbacks of the first short video by the first user reaches the first preset number of times threshold or triggers the like control, sharing control, and comment control for the first short video, it may be considered that the first user acts on the first short video.
  • the interactive operation of a short video satisfies the trigger condition of the preset display change event.
  • Step 704 Determine whether the number of times the preset display change event is triggered on the display page of the short video published by the second user for the first user within the first preset time period is less than or equal to the second preset number of times threshold. For the first user within the set time period, if the number of times the preset display change event of the display page of the short video published by the second user is triggered is less than or equal to the second preset number of times threshold, perform step 705; For the first user within the time period, if the number of times the preset display change event of the display page of the short video published by the second user is triggered is greater than the second preset number of times threshold, step 706 is executed.
  • Step 705 Display the concerned button and hide the disinterested button in a third display area, wherein the third display area covers the first display area and the second display area.
  • Step 706 Keep the display mode of the focus button unchanged.
  • the method may further include: displaying, on the current page, triggering prompt information corresponding to the first preset control based on an interactive operation performed by the first user on the first content, wherein the The trigger prompt information includes at least one of text, pictures and animation special effects.
  • the advantage of this setting is that the prompt effect can be enhanced.
  • the trigger prompt information can be set according to the actual situation, and the display position is not limited. In order to avoid affecting the display of the first content, a position such as the bottom or the top of the current page can be selected.
  • the trigger prompt information may include the content disclosed in the user details page corresponding to the second user.
  • the advantage of this setting is that it can reduce the occurrence of the first user getting to know the second user by entering the user details page of the second user, that is, reducing the operation of the first user and improving the operation efficiency.
  • the triggering prompt information may be the self-introduction information disclosed on the user details page or the label information added by the user himself.
  • the triggering prompt information may also be the quantity of content that has been published, and the like. Taking a short video application as an example, it may also be the total number of public short videos published by the second user.
  • FIG. 8 is a structural block diagram of a page display control apparatus provided by an embodiment of the present disclosure.
  • the apparatus may be implemented by software and/or hardware, and may generally be integrated in an electronic device, and may perform page display control by executing a page display control method.
  • the device includes:
  • the first preset control display module 801 is configured to display a first preset control in the current page during the process of displaying the first content on the current page of the preset application, wherein the first preset control is In establishing a preset association relationship between a first user and a second user in the preset application, the first user includes a user currently using the preset application, and the second user includes publishing the first user. a user of the content;
  • the change processing module 802 is configured to perform change processing on the display mode of the first preset control based on the interactive operation of the first user acting on the first content.
  • the device for controlling page display displays a first preset control on the current page in the process of displaying the first content on the current page of the preset application, wherein the first preset control is used to establish a first preset control.
  • the preset association relationship between a user and a second user in the preset application the first user includes the user currently using the preset application, the second user includes the user who publishes the first content, based on the first user
  • the interactive operation acting on the first content changes the display mode of the first preset control.
  • the changing the display mode of the first preset control based on the interactive operation of the first user acting on the first content includes: determining that the first user acts on the first content Whether the interactive operation of the first content satisfies the trigger condition of the preset display change event; when it is determined that the interactive operation satisfies the trigger condition of the preset display change event, it is determined that the preset display change event is triggered, and the The display mode of the first preset control is changed.
  • determining that the preset display change event is triggered includes: when it is detected that the third preset control is triggered, It is determined that it is detected that a preset display change event is triggered, and the third preset control is a forward interactive control for the first content; When the number of thresholds is reached, it is determined that a preset display change event is detected to be triggered.
  • the processing of changing the display mode of the first preset control includes at least one of the following: increasing the display size of the first preset control; changing the display in the first preset control the text and/or pattern; adding animation special effects to the first preset control; changing the color and/or shape of the first preset control.
  • the displaying the first preset control in the current page includes: displaying the first preset control and the second preset control in the current page, wherein the second preset control is For the negative interactive control of the first content, the distance between the first display area corresponding to the first preset control and the second display area corresponding to the second preset control is less than a preset distance threshold.
  • the increasing the display size of the first preset control includes: displaying the first preset control in a third display area and hiding the second preset control, wherein the third display area covers At least part of the first display area and at least part of the second display area, the size of the third display area is larger than the size of the first display area; or, the increasing the size of the first preset control
  • the display size includes: displaying the first preset control in a fourth display area, and displaying the second preset control in a fifth display area, wherein the area of the fourth display area is larger than that of the first display area, the area of the fifth display area is smaller than the area of the second display area.
  • the device may further include: a triggering prompt information display module, configured to display on the current page corresponding to the first preset control based on the interactive operation of the first user acting on the first content.
  • the trigger prompt information wherein the trigger prompt information includes at least one of text, pictures and animation special effects.
  • the device may further include: a trigger count determination module, configured to determine that for the first user within the first preset time period, before the change processing is performed on the display mode of the first preset control, The number of times that the preset display change event is triggered on the display page of the content published by the second user is less than or equal to a second preset number of times threshold; and/or, determining that the first user has a , the number of times the preset display change event is triggered is less than or equal to a third preset number of times threshold.
  • a trigger count determination module configured to determine that for the first user within the first preset time period, before the change processing is performed on the display mode of the first preset control, The number of times that the preset display change event is triggered on the display page of the content published by the second user is less than or equal to a second preset number of times threshold; and/or, determining that the first user has a , the number of times the preset display change event is triggered is less than or equal to a third preset
  • the change processing module may further include: a first display sub-module, configured to display the current page of the preset application when it is determined that the preset association relationship does not exist between the first user and the second user.
  • a first preset control is displayed on the current page; and/or, a second display sub-module is configured to be configured to determine that the first user and the second user have the preset control.
  • a fourth preset control is displayed on the current page.
  • FIG. 9 it shows a schematic structural diagram of an electronic device 900 suitable for implementing an embodiment of the present disclosure.
  • the electronic devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), PADs (tablets), portable multimedia players (Portable Media Players). , PMP), mobile terminals such as in-vehicle terminals (eg, in-vehicle navigation terminals), etc., as well as fixed terminals such as digital televisions (Television, TV), desktop computers, and the like.
  • PDAs personal digital assistants
  • PADs tablets
  • PMP portable multimedia players
  • PMP mobile terminals
  • in-vehicle terminals eg, in-vehicle navigation terminals
  • fixed terminals such as digital televisions (Television, TV), desktop computers, and the like.
  • the electronic device shown in FIG. 9 is only an example, and should not impose any limitation on the function and scope of
  • the electronic device 900 may include a processing device (such as a central processing unit, a graphics processor, etc.) 901, which may be stored in a read-only memory (Read-Only Memory, ROM) 902 according to a program or from a storage device 908 is a program loaded into a random access memory (RAM) 903 to perform various appropriate actions and processes.
  • ROM Read-Only Memory
  • RAM random access memory
  • various programs and data necessary for the operation of the electronic device 900 are also stored.
  • the processing device 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904.
  • An Input/Output (I/O) interface 905 is also connected to the bus 904 .
  • the following devices can be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD) Output device 907 , speaker, vibrator, etc.; storage device 908 including, for example, magnetic tape, hard disk, etc.; and communication device 909 .
  • the communication means 909 may allow the electronic device 900 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 9 shows an electronic device 900 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication device 909, or from the storage device 908, or from the ROM 902.
  • the processing device 901 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
  • Computer readable storage media may include, but are not limited to, electrical connections having at least one wire, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable Read memory (Erasable Programmable Read-Only Memory, EPROM or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any of the above suitable combination.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • the program code embodied on the computer-readable medium may be transmitted by any suitable medium, including but not limited to: electric wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries at least one program, and when the above-mentioned at least one program is executed by the electronic device, the electronic device: in the process of displaying the first content on the current page of the preset application program, in the current page A first preset control is displayed, wherein the first preset control is used to establish a preset association relationship between a first user and a second user in the preset application, and the first user includes A user of a preset application program, and the second user includes a user who publishes the first content; based on the interactive operation of the first user acting on the first content, the display mode of the first preset control Make changes.
  • Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or, can be connected to an external computer ( For example, using an Internet service provider to connect via the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains at least one configurable function for implementing the specified logical function. Execute the instruction.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the modules involved in the embodiments of the present disclosure may be implemented in software or hardware. Wherein, the name of the module does not constitute a limitation of the module itself under certain circumstances, for example, the change processing module may also be described as "a module for changing the display mode of the first preset control".
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (Application Specific Standard Products) Standard Parts, ASSP), system on chip (System on Chip, SOC), complex programmable logic device (Complex Programmable Logic Device, CPLD) and so on.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSP Application Specific Standard Products
  • SOC System on Chip
  • complex programmable logic device Complex Programmable Logic Device, CPLD
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
  • the machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include at least one wire-based electrical connection, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • flash memory flash memory
  • fiber optics compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • CD-ROM compact disk read only memory
  • magnetic storage devices or any suitable combination of the foregoing.
  • a page display control method including:
  • a first preset control is displayed on the current page, wherein the first preset control is used to establish a relationship between the first user and the second user.
  • a preset association relationship in the preset application program the first user includes a user currently using the preset application program, and the second user includes a user who publishes the first content;
  • the display mode of the first preset control is changed.
  • the processing of changing the display mode of the first preset control based on the interactive operation performed by the first user on the first content includes:
  • the preset display change event when it is determined that the interactive operation satisfies the triggering condition of the preset display change event, it is determined that the preset display change event is triggered, including:
  • a third preset control When it is detected that a third preset control is touched, it is determined that a preset display change event is triggered, and the third preset control is a forward interaction control for the first content; or
  • processing of changing the display mode of the first preset control includes at least one of the following:
  • the displaying the first preset control on the current page includes:
  • a first preset control and a second preset control are displayed on the current page, wherein the second preset control is a negative interaction control for the first content, and the first preset control corresponds to The distance between the first display area and the second display area corresponding to the second preset control is less than a preset distance threshold;
  • the increasing the display size of the first preset control includes:
  • the first preset control and hide the second preset control in a third display area wherein the third display area covers at least part of the first display area and at least part of the second display area , the size of the third display area is larger than the size of the first display area; or,
  • the increasing the display size of the first preset control includes:
  • the first preset control is displayed in a fourth display area
  • the second preset control is displayed in a fifth display area, wherein the area of the fourth display area is larger than that of the first display area, so The area of the fifth display area is smaller than that of the second display area.
  • triggering prompt information corresponding to the first preset control is displayed on the current page, where the triggering prompt information includes text, pictures and animations At least one of the special effects.
  • the method before the process of changing the display mode of the first preset control, the method further includes:
  • the method further includes:
  • the first preset is displayed on the current page controls;
  • a fourth preset control is displayed on the current page .
  • a page display control device comprising:
  • the first preset control display module is configured to display the first preset control on the current page during the process of displaying the first content on the current page of the preset application, wherein the first preset control is used for establishing a preset association relationship between a first user and a second user in the preset application program, the first user includes a user currently using the preset application program, and the second user includes publishing the first user users of the content;
  • the change processing module is configured to perform change processing on the display mode of the first preset control based on the interactive operation of the first user acting on the first content.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

提供了一种页面显示控制方法、装置、设备及存储介质,包括:在预设应用程序的当前页面展示第一内容的过程中,在当前页面中显示第一预设控件,其中,第一预设控件用于建立第一用户与第二用户在预设应用程序中的预设关联关系,第一用户包括当前使用预设应用程序的用户,第二用户包括发布第一内容的用户,基于第一用户作用于第一内容的交互操作,对第一预设控件的显示方式进行变更处理。

Description

页面显示控制方法、装置、设备及存储介质
本申请要求在2021年4月6日提交中国专利局、申请号为202110369299.8的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开实施例涉及计算机技术领域,例如涉及页面显示控制方法、装置、设备及存储介质。
背景技术
随着互联网技术的快速发展,各种应用程序层出不穷,为用户提供了越来越丰富的交互方式和交互体验。
在一些应用平台中,可以允许用户发布图片或视频等各种形式的内容,供其他用户查看。为了便于用户之间的交互,还可以允许用户通过一些操作,如触发页面中的关注控件,来建立与其他用户之间的关注关系。然而,目前的应用程序中,上述控件的显示控制方案不够完善,需要改进。
发明内容
本公开实施例提供了页面显示控制方法、装置、设备及存储介质,可以优化相关技术中的页面显示控制方案。
第一方面,本公开实施例提供了一种页面显示控制方法,包括:
在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件,其中,所述第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,所述第一用户包括当前使用所述预设应用程序的用户,所述第二用户包括发布所述第一内容的用户;
基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理。
第二方面,本公开实施例提供了一种页面显示控制装置,包括:
第一预设控件显示模块,设置为在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件,其中,所述第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,所述第一用户包括当前使用所述预设应用程序的用户,所述第二用户包括发布所述第一内容的用户;
变更处理模块,设置为基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理。
第三方面,本公开实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开实施例提供的页面显示控制方法。
第四方面,本公开实施例提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本公开实施例提供的页面显示控制方法。
附图说明
图1为本公开实施例提供的一种页面显示控制方法的流程示意图;
图2为本公开实施例提供的一种页面显示示意图;
图3为本公开实施例提供的另一种页面显示控制方法的流程示意图;
图4为本公开实施例提供的另一种页面显示示意图;
图5为本公开实施例提供的又一种页面显示示意图;
图6为本公开实施例提供的又一种页面显示示意图;
图7为本公开实施例提供的又一种页面显示控制方法的流程示意图;
图8为本公开实施例提供的一种页面显示控制装置的结构框图;
图9为本公开实施例提供的一种电子设备的结构框图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“至少一个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
下述各实施例中,每个实施例中同时提供了可选特征和示例,实施例中记载的各个特征可进行组合,形成多个可选方案,不应将每个编号的实施例仅视为一个技术方案。
图1为本公开实施例提供的一种页面显示控制方法的流程示意图,该方法 可以由页面显示控制装置执行,其中该装置可由软件和/或硬件实现,一般可集成在电子设备中。如图1所示,该方法包括:
步骤101、在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件,其中,所述第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,所述第一用户包括当前使用所述预设应用程序的用户,所述第二用户包括发布所述第一内容的用户。
本公开实施例中,预设应用程序用于展示用户发布的内容,其中,预设应用程序的类型不做限定,可以安装在如手机、平板电脑或计算机等电子设备中,用户可以在预设应用程序中注册账号并登录。所述内容可以是图片、文字、音频或视频等各种形式的信息或文件等,不做限定。用户可以将所需要发布的内容上传至预设应用程序对应的服务端,由服务端下发至其他用户所使用的预设应用程序中进行展示。其中,对内容进行展示的形式可以根据内容的类型确定,例如显示图片、显示文字、播放音频、或播放视频等等。以一种具体的应用场景为例,预设应用程序包括短视频应用程序,内容包括短视频,则短视频应用程序用于播放用户发布的短视频,用户可以将自己拍摄的短视频作品上传至短视频平台,短视频平台可以将该短视频作品下发至其他用户使用的短视频应用程序中进行播放,则其他用户可以观看到该用户发布的短视频作品。又如,预设应用程序包括资讯应用程序,内容包括文章,则资讯应用程序用于显示用户发布的文章,用户可以将自己撰写的文章上传至资讯平台,资讯平台可以将该文章下发至其他用户使用的资讯应用程序中进行显示,则其他用户可以观看到该用户发布的文章。
示例性的,当前页面可以是预设应用程序中用于展示内容的页面,第一内容可以是任意一个可供展示的内容。当前使用预设应用程序的用户可记为第一用户,第一用户也可理解为当前在观看第一内容的用户;第一内容的发布者可记为第二用户。
示例性的,在当前页面展示第一内容的过程中,在当前页面中显示第一预 设控件。此处的过程中可以是展示第一内容的整个过程,例如从第一内容在当前页面中出现的时刻至第一内容从当前页面中消失的时刻;此处的过程中还可以是展示第一内容的部分过程,例如,在第一内容在当前页面中出现的时刻先不显示第一预设控件,经过一段时间后再显示第一预设控件等。
示例性的,第一预设控件的显示位置等不做限定,此时第一预设控件的显示方式可以认为是默认的显示方式。在预设应用程序中,用户之间可以存在预设关联关系,该预设关联关系由用户根据个人意愿建立,也即一个用户可以根据个人意愿决定是否建立与另一个用户之间的预设关联关系。本公开实施例中,可以提供第一预设控件来建立用户之间的预设关联关系,第一用户可以通过第一预设触发方式触发第一预设控件,来实现与第二用户的预设关联关系的建立,第一预设触发方式例如可以是点击等。在一些应用场景中,预设关联关系可理解为好友关系,也可理解为粉丝(也即关注者)与被关注者的单向关注关系等。第一预设控件的表现形式不做限定,例如,第一预设控件可以为添加好友按钮或关注按钮等。
步骤102、基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理。
示例性的,第一用户在观看第一内容时,可以产生很多形式的交互操作。交互操作可以由用户在电子设备上直接实施,如通过手指触摸屏幕上的内容。
本公开实施例中,基于第一用户作用于第一内容的交互操作,对第一预设控件的显示方式进行变更处理,变更处理方式不做限定,经过变更处理后的第一预设控件的显示方式可以认为是与上述的默认显示方式不同的显示方式。示例性的,可以将第一预设控件的显示方式变更为更加吸引第一用户注意的显示方式,如增大第一预设控件的显示尺寸等等。
可选的,在对所述第一预设控件的显示方式进行变更处理的同时和/或之后,可以不对第一内容的展示方式进行变更,也就是说,一般情况下,第一预设控件的显示方式的变更不会对第一内容的展示造成影响,第一内容的展示策略保 持不变。以短视频为例,第一预设控件的显示方式进行变更处理的同时以及之后,短视频可以继续播放,直到接收到第一用户的视频播放控制指令(如暂停播放指令或切换至播放下一个短视频的指令等)。
本公开实施例中提供的页面显示控制方法,在预设应用程序的当前页面展示第一内容的过程中,在当前页面中显示第一预设控件,其中,第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,第一用户包括当前使用预设应用程序的用户,第二用户包括发布所述第一内容的用户,基于第一用户作用于所述第一内容的交互操作,对第一预设控件的显示方式进行变更处理。通过采用上述技术方案,基于第一用户作用于第一内容的交互操作来对用于建立用户之间的预设关联关系的第一预设控件的显示方式进行变更处理,可以使得控件的显示方式更加丰富,且贴合用户的实际需求,从而实现更加合理地对页面显示进行控制。
在一些实施例中,所述在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件,包括:在预设应用程序的当前页面展示第一内容的过程中,在确定所述第一用户和所述第二用户不存在预设关联关系时,在所述当前页面中显示第一预设控件。
在一些实施例中,为了方便不同的用户之间便捷地建立预设关联关系,在预设应用程序的当前页面展示第一内容的过程中,均可以在当前页面中显示用于建立第一用户和第二用户在所述预设应用程序中的预设关联关系的关联关系建立控件。为了体现第一用户和第二用户存在预设关联关系以及不存在预设关联关系的区别,可以设计两种类型的交互控件,例如包括上述第一预设控件,还可以包括第四预设控件。当第一用户和第二用户存在预设关联关系时,可以在当前页面中显示第四预设控件,当第一用户和第二用户不存在预设关联关系时,可以在当前页面中显示第一预设控件。其中,第四预设控件例如可以是私信按钮,第一用户可以通过触发第四预设控件向第二用户发送私信消息。
图2为本公开实施例提供的一种页面显示示意图,以预设应用程序为短视 频应用程序为例,在短视频播放页面201(当前页面)播放短视频(第一内容),如图2中包含小丑的短视频内容。当第一用户和第二用户存在预设关联关系时,可以在当前页面中显示第四预设控件202,如图2所示,第四预设控件202可以是私信图标。当第一用户和第二用户不存在预设关联关系时,可以在当前页面中显示第一预设控件203,如图2所示,第一预设控件203可以是文字内容为“关注”的按钮。
在一些实施例中,所述基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理,包括:确定所述第一用户作用于所述第一内容的交互操作是否满足预设显示变更事件的触发条件;在确定所述交互操作满足所述预设显示变更事件的触发条件时,确定检测到预设显示变更事件被触发,对所述第一预设控件的显示方式进行变更处理。预设显示变更事件可以理解为需要对第一预设控件的显示方式进行变更的事件,可以预先定义预设显示变更事件的触发条件,该触发条件可以根据用户作用于正在展示的内容的交互操作来进行定义,定义方式不做限定,可以根据实际需求设置。
在一些实施例中,所述在确定所述交互操作满足所述预设显示变更事件的触发条件时,确定检测到预设显示变更事件被触发,包括:在检测到第三预设控件被触动时,确定检测到预设显示变更事件被触发,所述第三预设控件为针对所述第一内容的正向交互控件。其中,触发第三预设控件的交互操作为正向交互操作,正向交互操作可以理解为体现用户对所展示的内容或内容的发布用户感兴趣的交互操作。此处的好处在于,当第一用户触动第三预设控件后,说明第一用户对第一内容或第二用户感兴趣时,也即说明第一用户存在与第二用户建立预设关联关系的倾向,此时对第一预设控件的显示方式进行变更处理,可以对第一用户起到提示的作用。
在一些实施例中,第三预设控件例如可以是点赞控件、评论控件或转发控件等控件,可以包括其中的至少一个。示例性的,如图2所示,点赞控件例如可以是心形控件204,第一用户可以以点击等方式触发点赞控件。分享控件例如 可以是箭头形状控件205,第一用户可以以点击等方式触发分享控件。如图2所示,评论控件例如可以是消息样式控件206,第一用户可以以点击等方式触发评论控件。
在一些实施例中,当第三预设控件包括多个时,所述在确定所述交互操作满足所述预设显示变更事件的触发条件时,确定检测到预设显示变更事件被触发,包括:在检测到预设数量的第三预设控件被触动时,确定检测到预设显示变更事件被触发。例如,预设数量为2,用户先后触动了点赞控件和转发控件,可确定检测到预设显示变更事件被触发。
在一些实施例中,所述在确定所述交互操作满足所述预设显示变更事件的触发条件时,确定检测到预设显示变更事件被触发,包括:在检测到所述第一内容完成播放的次数达到第一预设次数阈值时,确定检测到预设显示变更事件被触发。示例性的,第一内容一般可以被多次展示,每次展示可以认为第一用户观看一次第一内容,对于视频等内容,一次展示可以是开始播放或者完成播放,可根据实际情况设置。第一用户观看第一内容的次数可以是第一预设时长内观看第一内容的次数,也可以是连续观看第一内容的次数等,可根据实际情况设置。以短视频为例,可以在检测到第一内容的完成播放次数达到第一预设次数阈值时,确定检测到第一用户观看第一内容的次数达到第一预设次数阈值。第一预设次数阈值可以根据实际情况设置或动态调整。
在一些实施例中,所述在确定所述交互操作满足所述预设显示变更事件的触发条件时,确定检测到预设显示变更事件被触发,包括上述组合。例如,检测到第三预设控件被触动,且检测到所述第一内容完成播放的次数达到第一预设次数阈值时,确定检测到预设显示变更事件被触发。
在一些实施例中,所述对所述第一预设控件的显示方式进行变更处理,包括以下至少一项:增大所述第一预设控件的显示尺寸;变更所述第一预设控件内显示的文字和/或图案;为所述第一预设控件添加动画特效;改变所述第一预设控件的颜色和/或形状。这样设置的好处在于,可以使得第一预设控件更加吸 引第一用户的注意,起到一定的提示作用。
示例性的,增大第一预设控件的显示尺寸可以理解为在保持第一预设控件的形状不变的情况下扩大第一预设控件的显示区域,如图2所示的第一预设控件203,形状是矩形,可以增大其宽和/或高的尺寸。
示例性的,为了帮助用户了解控件的功能,一般控件内可以显示文字、图案、或者文字与图案的结合等。在需要对第一预设控件的显示方式进行变更处理时,可以修改文字,如将“关注”变更为“关注一下”;还可修改图案,如第一预设控件中是纯色背景的图案,可以变更为渐变填充或纹理填充的图案等;还可同时修改文字和图案,例如,将“关注”变更为“关注一下”的同时将纯色背景的图案变更为渐变填充的图案。
示例性的,可以为第一预设控件添加动画特效,动画特效的类型不做限定,例如可以是添加闪烁色环(如环绕第一预设控件的外边缘的环形图案,该环形图案的颜色以预设频率变化),还可使第一预设控件具有振动或抖动的效果等。添加了动画特效的第一预设控件从静态的显示变成了动态的显示,能够更加吸引第一用户的注意。
示例性的,可以将第一预设控件的颜色变为更加显眼的颜色,如从灰色变成荧光黄色等。此外,还可以改变第一预设控件的形状,例如将矩形改变为心形等。也可同时改变颜色和形状,如将灰色的矩形改变为荧光黄色的心形等。
对于一些预设应用程序来说,在当前页面还可以显示用于供第一用户输入负向交互操作的第二预设控件。示例性的,所述在所述当前页面中显示第一预设控件,包括:在所述当前页面中显示第一预设控件和第二预设控件,其中,所述第二预设控件为针对所述第一内容的负向交互控件,所述第一预设控件对应的第一显示区域和所述第二预设控件对应的第二显示区域之间的距离小于预设距离阈值。所述增大所述第一预设控件的显示尺寸,包括:在第三显示区域显示所述第一预设控件,并隐藏所述第二预设控件,其中,所述第三显示区域涵盖至少部分所述第一显示区域和至少部分所述第二显示区域,所述第三显示 区域的尺寸大于所述第一显示区域的尺寸;或者,在第四显示区域显示所述第一预设控件,以及在第五显示区域显示所述第二预设控件,其中,所述第四显示区域的面积大于所述第一显示区域的面积,所述第五显示区域的面积小于所述第二显示区域的面积。这样设置的好处在于,对第二预设控件的显示方式同时进行调整,使得第一用户更容易注意到第一预设控件,进而提高第一用户触发第一预设控件的概率。可选的,所述第三显示区域涵盖全部所述第一显示区域和全部所述第二显示区域。
示例性的,在当前页面展示第一内容的过程中,在当前页面中显示第一预设控件和第二预设控件,此时第一预设控件和第二预设控件的当前的显示方式均可以认为是默认的显示方式。负向交互操作可以理解为体现用户对所展示的内容或内容的发布用户不感兴趣的交互操作,如通过触发第二预设控件来体现。第二预设控件例如可以是“不感兴趣”等字样的控件,还可以是拇指向下等图案的控件,不做限定。为了便于用户输入,一般第一预设控件和第二预设控件在显示时距离比较近,上述预设距离阈值可根据实际需求设置。
图3为本公开实施例提供的另一种页面显示控制方法的流程示意图。
该方法包括如下步骤:
步骤301、确定第一用户和第二用户不存在预设关联关系,其中,第一用户包括当前使用预设应用程序的用户,第二用户包括发布第一内容的用户。
示例性的,在预设应用程序的当前页面展示第一内容之前,可以预先确定第一内容的发布用户和当前预设应用程序的使用用户是否存在预设关联关系,在第一内容的发布用户和当前预设应用程序的使用用户不存在预设关联关系的情况下,继续执行步骤302。可选的,在第一内容的发布用户和当前预设应用程序的使用用户存在预设关联关系的情况下,可以不执行步骤302,按照其他的展示策略在当前页面中展示第一内容。
步骤302、在预设应用程序的当前页面展示第一内容的过程中,在当前页面中显示第一预设控件和第二预设控件,其中,第一预设控件用于建立第一用户 和第二用户在预设应用程序中的预设关联关系,第二预设控件为针对第一内容的负向交互控件,第一预设控件对应的第一显示区域和第二预设控件对应的第二显示区域之间的距离小于预设距离阈值。
示例性的,以预设应用程序为短视频应用为例,当前页面可以是短视频播放页面,第一内容可以是短视频,当第一用户和第二用户不存在预设关联关系时,则同时显示第一预设控件和第二预设控件。图4为本公开实施例提供的一种页面显示示意图,如图4所示,第一预设控件401为关注按钮,第二预设控件402为不感兴趣按钮,二者分别对应的显示区域之间的距离小于预设距离阈值,可以相邻的边界为基准进行计算,例如,关注按钮的右边界和不感兴趣按钮的左边界之间的距离小于预设距离阈值。
步骤303、确定第一用户作用于第一内容的交互操作是否满足预设显示变更事件的触发条件,在第一用户作用于第一内容的交互操作满足预设显示变更事件的触发条件的情况下,执行步骤304;在第一用户作用于第一内容的交互操作不满足预设显示变更事件的触发条件的情况下,重复执行步骤303。
示例性的,当第一用户针对第一内容完成播放的次数达到第一预设次数阈值或触发第一内容对应的点赞控件、分享控件、评论控件时,可认为第一用户作用于第一内容的交互操作满足预设显示变更事件的触发条件。可选的,在第一内容的展示结束之前,可以持续判断第一用户作用于第一内容的交互操作是否满足预设显示变更事件的触发条件,直到满足触发条件到为止。
步骤304、确定检测到预设显示变更事件被触发。
可选的,本步骤也可省略执行,也即,若经过步骤303的判定得出结论为是时,可以直接执行步骤305。
步骤305、增大第一预设控件的显示尺寸。
示例性的,在增大第一预设控件的显示尺寸时,可以有不同的增大方式,下面先以其中一种为例进行说明。例如,在第三显示区域显示第一预设控件,并隐藏第二预设控件,其中,第三显示区域涵盖第一显示区域和第二显示区域。 图5为本公开实施例提供的一种页面显示示意图,对比图4和图5,增大尺寸后的第一预设控件501对应的显示区域涵盖了图4中的关注按钮和不感兴趣按钮的显示区域,且涵盖了关注按钮和不感兴趣按钮之间的显示区域。可选的,增大尺寸后的第一预设控件对应的第三显示区域也可比如图5所示更大。
此外,还可以有另一种增大方式,例如,在第四显示区域显示第一预设控件,以及在第五显示区域显示第二预设控件,其中,第四显示区域的面积大于第一显示区域的面积,第五显示区域的面积小于第二显示区域的面积。图6为本公开实施例提供的一种页面显示示意图,对比图4和图6,可见,相当于增大第一预设控件的尺寸,得到增大后的第一预设控件601,减小第二预设控件的尺寸,得到减小后的第二预设控件602,增大和减小的幅度不做限定。此外,也可以调整两者显示区域面积的比例,如从1比1调整为3比1等。
本公开实施例提供的页面显示控制方法,在对第二用户发布的第一内容进行展示之前,可以先确定当前需要观看第一内容的第一用户与第二用户之间是否存在预设关联关系,在当前需要观看第一内容的第一用户与第二用户之间不存在预设关联关系的情况下,同时显示第一预设控件和第二预设控件,在检测到预设显示变更事件被触发时,增大第一预设控件的显示尺寸,吸引第一用户的注意,提示第一用户主动通过触发第一预设控件的方式建立与第二用户的在预设应用程序中的预设关联关系。
在一些实施例中,在所述对所述第一预设控件的显示方式进行变更处理之前,还包括:确定第一预设时段内对于所述第一用户,在所述第二用户发布的内容的展示页面所述预设显示变更事件被触发的次数小于或等于第二预设次数阈值;或者确定第二预设时段内对于所述第一用户,所述预设显示变更事件被触发的次数小于或等于第三预设次数阈值。这样设置的好处在于,对预设显示变更事件的触发频次进行控制,避免对用户产生过多干扰。其中,第一预设时段和第二预设时段可以根据实际需求设置,如一周或12小时等,第一预设时段和第二预设时段可以相同也可以不同;第二预设次数阈值和第三预设次数阈值 也可根据实际情况设置或动态调整,两者可以相同也可以不同。若第二预设次数阈值为X次,在第一用户使用预设应用程序期间,在第一预设时段内,在展示第二用户发布的内容的过程中,最多触发X次预设显示变更事件。示例性的,在确定第一用户作用于第一内容的交互操作满足预设显示变更事件的触发条件之后,先判断第一预设时段内对于第一用户,在第二用户发布的内容的展示页面预设显示变更事件被触发的次数是否小于或等于第二预设次数阈值,在第一预设时段内对于第一用户,在第二用户发布的内容的展示页面预设显示变更事件被触发的次数小于或等于第二预设次数阈值的情况下,执行对第一预设控件的显示方式进行变更处理,在第一预设时段内对于第一用户,在第二用户发布的内容的展示页面预设显示变更事件被触发的次数大于第二预设次数阈值的情况下,可保持第一预设控件的显示方式不变,也即维持第一预设控件的当前的显示方式。其中,第二用户发布的内容不限于第一内容,还可以包括第二内容、第三内容等。或者,在确定第一用户作用于第一内容的交互操作满足预设显示变更事件的触发条件之后,先判断第二预设时段内对于所述第一用户,预设显示变更事件被触发的次数是否小于或等于第三预设次数阈值,在第二预设时段内对于所述第一用户,预设显示变更事件被触发的次数小于或等于第三预设次数阈值的情况下,执行对所述第一预设控件的显示方式进行变更处理,在第二预设时段内对于所述第一用户,预设显示变更事件被触发的次数大于第三预设次数阈值的情况下,可保持第一预设控件的显示方式不变,也即维持第一预设控件的当前的显示方式。或者,在确定第一用户作用于第一内容的交互操作满足预设显示变更事件的触发条件之后,若确定第一预设时段内对于第一用户,在第二用户发布的内容的展示页面预设显示变更事件被触发的次数小于或等于第二预设次数阈值,且确定第二预设时段内对于第一用户,预设显示变更事件被触发的次数小于或等于第三预设次数阈值,则执行对所述第一预设控件的显示方式进行变更处理。
可选的,在确定所述第一用户作用于所述第一内容的交互操作是否满足预 设显示变更事件的触发条件之前,确定第一预设时段内对于所述第一用户,在所述第二用户发布的内容的展示页面所述预设显示变更事件被触发的次数是否小于第二预设次数阈值,和/或,确定第二预设时段内对于所述第一用户,所述预设显示变更事件被触发的次数是否小于第三预设次数阈值,若确定结果为是,则继续确定所述第一用户作用于所述第一内容的交互操作是否满足预设显示变更事件的触发条件,若前述关于次数的确定结果为否,可保持第一预设控件的显示方式不变。这样设置的好处在于,将预设显示变更事件被触发次数的判定提前,避免多余的交互操作检测步骤,可节省电子设备功耗。
在一些实施例中,所述预设应用程序包括短视频应用程序,所述内容包括短视频。下面以该应用场景为例进行说明。图7为本公开实施例提供的又一种页面显示控制方法的流程示意图,如图7所示,该方法包括:
步骤701、确定第一用户和第二用户不存在预设关联关系,其中,第一用户包括当前使用短视频应用程序的用户,第二用户包括发布第一短视频的用户。
示例性的,在短视频应用程序的短视频播放页面播放第一短视频之前,可以预先确定第一短视频的发布用户和短视频应用程序的使用用户是否存在预设关联关系,在第一短视频的发布用户和短视频应用程序的使用用户不存在预设关联关系的情况下,继续执行步骤702。可选的,在第一短视频的发布用户和短视频应用程序的使用用户存在预设关联关系的情况下,可以不执行步骤702,按照其他的展示策略在短视频播放页面播放第一短视频。
步骤702、在短视频应用程序的短视频播放页面播放第一短视频的过程中,在短视频播放页面中显示关注按钮和不感兴趣按钮,关注按钮对应的第一显示区域和不感兴趣按钮对应的第二显示区域之间的距离小于预设距离阈值。
步骤703、判断第一用户作用于第一短视频的交互操作是否满足预设显示变更事件的触发条件,在第一用户作用于第一短视频的交互操作满足预设显示变更事件的触发条件的情况下,执行步骤704;在第一用户作用于第一短视频的交互操作不满足预设显示变更事件的触发条件的情况下,重复执行步骤703。
示例性的,当第一用户针对第一短视频的完成播放次数达到第一预设次数阈值或针对第一短视频触发点赞控件、分享控件、评论控件时,可认为第一用户作用于第一短视频的交互操作满足预设显示变更事件的触发条件。
步骤704、确定第一预设时段内对于第一用户,在第二用户发布的短视频的展示页面预设显示变更事件被触发的次数是否小于或等于第二预设次数阈值,在第一预设时段内对于第一用户,在第二用户发布的短视频的展示页面预设显示变更事件被触发的次数小于或等于第二预设次数阈值的情况下,执行步骤705;在第一预设时段内对于第一用户,在第二用户发布的短视频的展示页面预设显示变更事件被触发的次数大于第二预设次数阈值的情况下,执行步骤706。
步骤705、在第三显示区域显示关注按钮,并隐藏不感兴趣按钮,其中,所述第三显示区域涵盖第一显示区域和第二显示区域。
步骤706、保持关注按钮的显示方式不变。
本公开实施例提供的页面显示控制方法,以短视频应用为例,用户在使用短视频应用观看视频时,会刷到可能认识的人的视频,而经过大量研究发现视频的点赞率往往是关注率的很多倍,说明即使用户对当前视频或当前视频的发布者感兴趣,也可能不会主动点击关注按钮,关注的转化率存在提升空间。通过采用上述技术方案,在用户对视频产生正向交互操作后,在已有的关注按钮基础上进一步提示,将关注按钮的显示尺寸变大,占满关注按钮和不感兴趣按钮的所在区域,可以对用户点击关注按钮进行提示,进而可以提升关系构建效率,同时,对上述用户点击关注按钮进行提示的触发次数进行控制,保留用户可以对不感兴趣按钮进行触发的功能,尊重用户的个性化操作意愿。
在一些实施例中,还可包括:基于所述第一用户作用于所述第一内容的交互操作,在所述当前页面中显示所述第一预设控件对应的触发提示信息,其中,所述触发提示信息包括文字、图片和动画特效中的至少一种。这样设置的好处在于,可以加强提示效果。触发提示信息可以根据实际情况设置,显示位置也不做限定,为了避免对第一内容的展示造成影响,可以选择如当前页面底部或 顶部等位置。
示例性的,触发提示信息可以包括所述第二用户对应的用户详情页面中公开的内容。这样设置的好处在于,可以减少第一用户通过进入第二用户的用户详情页面的方式对第二用户进行了解的情况发生,也即减少第一用户的操作,提高操作效率。可选的,触发提示信息可以是用户详情页面中公开的自我介绍信息或用户自己添加的标签信息等内容。此外,触发提示信息还可以是已发布内容的数量内容等。以短视频应用为例,还可以是第二用户已发布的公开的短视频总数量。
图8为本公开实施例提供的一种页面显示控制装置的结构框图,该装置可由软件和/或硬件实现,一般可集成在电子设备中,可通过执行页面显示控制方法来进行页面显示控制。如图8所示,该装置包括:
第一预设控件显示模块801,设置为在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件,其中,所述第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,所述第一用户包括当前使用所述预设应用程序的用户,所述第二用户包括发布所述第一内容的用户;
变更处理模块802,设置为基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理。
本公开实施例中提供的页面显示控制装置,在预设应用程序的当前页面展示第一内容的过程中,在当前页面中显示第一预设控件,其中,第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,第一用户包括当前使用预设应用程序的用户,第二用户包括发布所述第一内容的用户,基于第一用户作用于所述第一内容的交互操作,对第一预设控件的显示方式进行变更处理。通过采用上述技术方案,基于第一用户作用于第一内容的交互操作来对用于建立用户之间的预设关联关系的第一预设控件的显示方式进行变更处理,可以使得控件的显示方式更加丰富,且贴合用户的实际需求,从而实现 更加合理地对页面显示进行控制。
可选的,所述基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理,包括:确定所述第一用户作用于所述第一内容的交互操作是否满足预设显示变更事件的触发条件;在确定所述交互操作满足所述预设显示变更事件的触发条件时,确定检测到预设显示变更事件被触发,对所述第一预设控件的显示方式进行变更处理。
可选的,所述在确定所述交互操作满足所述预设显示变更事件的触发条件时,确定检测到预设显示变更事件被触发,包括:在检测到第三预设控件被触动时,确定检测到预设显示变更事件被触发,所述第三预设控件为针对所述第一内容的正向交互控件;或者,在检测到所述第一内容完成播放的次数达到第一预设次数阈值时,确定检测到预设显示变更事件被触发。
可选的,所述对所述第一预设控件的显示方式进行变更处理,包括以下至少一项:增大所述第一预设控件的显示尺寸;变更所述第一预设控件内显示的文字和/或图案;为所述第一预设控件添加动画特效;改变所述第一预设控件的颜色和/或形状。
可选的,所述在所述当前页面中显示第一预设控件,包括:在所述当前页面中显示第一预设控件和第二预设控件,其中,所述第二预设控件为针对所述第一内容的负向交互控件,所述第一预设控件对应的第一显示区域和所述第二预设控件对应的第二显示区域之间的距离小于预设距离阈值。所述增大所述第一预设控件的显示尺寸,包括:在第三显示区域显示所述第一预设控件,并隐藏所述第二预设控件,其中,所述第三显示区域涵盖至少部分所述第一显示区域和至少部分所述第二显示区域,所述第三显示区域的尺寸大于所述第一显示区域的尺寸;或者,所述增大所述第一预设控件的显示尺寸,包括:在第四显示区域显示所述第一预设控件,以及在第五显示区域显示所述第二预设控件,其中,所述第四显示区域的面积大于所述第一显示区域的面积,所述第五显示区域的面积小于所述第二显示区域的面积。
可选的,该装置还可包括:触发提示信息显示模块,设置为基于所述第一用户作用于所述第一内容的交互操作,在所述当前页面中显示所述第一预设控件对应的触发提示信息,其中,所述触发提示信息包括文字、图片和动画特效中的至少一种。
可选的,该装置还可包括:触发次数判定模块,设置为在所述对所述第一预设控件的显示方式进行变更处理之前,确定第一预设时段内对于所述第一用户,在所述第二用户发布的内容的展示页面所述预设显示变更事件被触发的次数小于或等于第二预设次数阈值;和/或,确定第二预设时段内对于所述第一用户,所述预设显示变更事件被触发的次数小于或等于第三预设次数阈值。
可选的,变更处理模块还可包括:第一显示子模块,设置为在确定所述第一用户和所述第二用户不存在所述预设关联关系时,在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件;和/或,第二显示子模块,设置为在确定所述第一用户和所述第二用户存在所述预设关联关系时,在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第四预设控件。
下面参考图9,其示出了适于用来实现本公开实施例的电子设备900的结构示意图。本公开实施例中的电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、PAD(平板电脑)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。图9示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图9所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(Read-Only Memory,ROM)902中的程序或者从存储装置908加载到随机访问存储器(Random Access Memory,RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有 电子设备900操作所需的各种程序和数据。处理装置901、ROM 902以及RAM903通过总线904彼此相连。输入/输出(Input/Output,I/O)接口905也连接至总线904。
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有各种装置的电子设备900,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有至少一个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器((Erasable Programmable Read-Only Memory,EPROM)或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可 以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有至少一个程序,当上述至少一个程序被该电子设备执行时,使得该电子设备:在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件,其中,所述第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,所述第一用户包括当前使用所述预设应用程序的用户,所述第二用户包括发布所述第一内容的用户;基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)—连接到用户计算机,或 者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含至少一个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该模块本身的限定,例如,变更处理模块还可以被描述为“对所述第一预设控件的显示方式进行变更处理的模块”。
本文中以上描述的功能可以至少部分地由至少一个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质 的更具体示例会包括基于至少一个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的至少一个实施例,提供了一种页面显示控制方法,包括:
在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件,其中,所述第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,所述第一用户包括当前使用所述预设应用程序的用户,所述第二用户包括发布所述第一内容的用户;
基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理。
可选的,所述基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理,包括:
确定所述第一用户作用于所述第一内容的交互操作是否满足预设显示变更事件的触发条件;
在确定所述交互操作满足所述预设显示变更事件的触发条件时,确定检测到预设显示变更事件被触发,对所述第一预设控件的显示方式进行变更处理。
可选的,所述在确定所述交互操作满足所述预设显示变更事件的触发条件时,确定检测到预设显示变更事件被触发,包括:
在检测到第三预设控件被触动时,确定检测到预设显示变更事件被触发,所述第三预设控件为针对所述第一内容的正向交互控件;或者
在检测到所述第一内容完成播放的次数达到第一预设次数阈值时,确定检测到预设显示变更事件被触发。
可选的,所述对所述第一预设控件的显示方式进行变更处理,包括以下至少一项:
增大所述第一预设控件的显示尺寸;
变更所述第一预设控件内显示的文字和/或图案;
为所述第一预设控件添加动画特效;
改变所述第一预设控件的颜色和/或形状。
可选的,所述在所述当前页面中显示第一预设控件,包括:
在所述当前页面中显示第一预设控件和第二预设控件,其中,所述第二预设控件为针对所述第一内容的负向交互控件,所述第一预设控件对应的第一显示区域和所述第二预设控件对应的第二显示区域之间的距离小于预设距离阈值;
所述增大所述第一预设控件的显示尺寸,包括:
在第三显示区域显示所述第一预设控件,并隐藏所述第二预设控件,其中,所述第三显示区域涵盖至少部分所述第一显示区域和至少部分所述第二显示区域,所述第三显示区域的尺寸大于所述第一显示区域的尺寸;或者,
所述增大所述第一预设控件的显示尺寸,包括:
在第四显示区域显示所述第一预设控件,以及在第五显示区域显示所述第二预设控件,其中,所述第四显示区域的面积大于所述第一显示区域的面积,所述第五显示区域的面积小于所述第二显示区域的面积。
可选的,还包括:
基于所述第一用户作用于所述第一内容的交互操作,在所述当前页面中显示所述第一预设控件对应的触发提示信息,其中,所述触发提示信息包括文字、图片和动画特效中的至少一种。
可选的,在所述对所述第一预设控件的显示方式进行变更处理之前,还包括:
确定第一预设时段内对于所述第一用户,在所述第二用户发布的内容的展示页面所述预设显示变更事件被触发的次数小于或等于第二预设次数阈值;和/或
确定第二预设时段内对于所述第一用户,所述预设显示变更事件被触发的次数小于或等于第三预设次数阈值。
可选的,所述方法还包括:
在确定所述第一用户和所述第二用户不存在所述预设关联关系时,在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件;和/或
在确定所述第一用户和所述第二用户存在所述预设关联关系时,在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第四预设控件。
根据本公开的至少一个实施例,提供了一种页面显示控制装置,包括:
第一预设控件显示模块,设置为在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件,其中,所述第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,所述第一用户包括当前使用所述预设应用程序的用户,所述第二用户包括发布所述第一内容的用户;
变更处理模块,设置为基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理。
以上描述仅为本公开的可选实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中 描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (11)

  1. 一种页面显示控制方法,包括:
    在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件,其中,所述第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,所述第一用户包括当前使用所述预设应用程序的用户,所述第二用户包括发布所述第一内容的用户;
    基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理。
  2. 根据权利要求1所述的方法,其中,所述基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理,包括:
    确定所述第一用户作用于所述第一内容的交互操作是否满足预设显示变更事件的触发条件;
    响应于确定所述交互操作满足所述预设显示变更事件的触发条件,确定检测到预设显示变更事件被触发,对所述第一预设控件的显示方式进行变更处理。
  3. 根据权利要求2所述的方法,其中,所述响应于确定所述交互操作满足所述预设显示变更事件的触发条件,确定检测到预设显示变更事件被触发,包括:
    响应于检测到第三预设控件被触动,确定检测到预设显示变更事件被触发,所述第三预设控件为针对所述第一内容的正向交互控件;或者
    响应于检测到所述第一内容完成播放的次数达到第一预设次数阈值,确定检测到预设显示变更事件被触发。
  4. 根据权利要求1所述的方法,其中,所述对所述第一预设控件的显示方式进行变更处理,包括以下至少一项:
    增大所述第一预设控件的显示尺寸;
    变更所述第一预设控件内显示的文字和图案中的至少之一;
    为所述第一预设控件添加动画特效;
    改变所述第一预设控件的颜色和形状中的至少之一。
  5. 根据权利要求4所述的方法,其中,所述在所述当前页面中显示第一预设控件,包括:
    在所述当前页面中显示第一预设控件和第二预设控件,其中,所述第二预设控件为针对所述第一内容的负向交互控件,所述第一预设控件对应的第一显示区域和所述第二预设控件对应的第二显示区域之间的距离小于预设距离阈值;
    所述增大所述第一预设控件的显示尺寸,包括:
    在第三显示区域显示所述第一预设控件,并隐藏所述第二预设控件,其中,所述第三显示区域涵盖至少部分所述第一显示区域和至少部分所述第二显示区域,所述第三显示区域的尺寸大于所述第一显示区域的尺寸;或者,
    所述增大所述第一预设控件的显示尺寸,包括:
    在第四显示区域显示所述第一预设控件,以及在第五显示区域显示所述第二预设控件,其中,所述第四显示区域的面积大于所述第一显示区域的面积,所述第五显示区域的面积小于所述第二显示区域的面积。
  6. 根据权利要求1所述的方法,还包括:
    基于所述第一用户作用于所述第一内容的交互操作,在所述当前页面中显示所述第一预设控件对应的触发提示信息,其中,所述触发提示信息包括文字、图片和动画特效中的至少一种。
  7. 根据权利要求1所述的方法,在所述对所述第一预设控件的显示方式进行变更处理之前,还包括以下至少之一:
    确定第一预设时段内对于所述第一用户,在所述第二用户发布的内容的展示页面所述预设显示变更事件被触发的次数小于或等于第二预设次数阈值;
    确定第二预设时段内对于所述第一用户,所述预设显示变更事件被触发的次数小于或等于第三预设次数阈值。
  8. 根据权利要求1所述的方法,还包括以下至少之一:
    在确定所述第一用户和所述第二用户不存在所述预设关联关系的情况下,在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第 一预设控件;
    在确定所述第一用户和所述第二用户存在所述预设关联关系的情况下,在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第四预设控件。
  9. 一种页面显示控制装置,包括:
    第一预设控件显示模块,设置为在预设应用程序的当前页面展示第一内容的过程中,在所述当前页面中显示第一预设控件,其中,所述第一预设控件用于建立第一用户与第二用户在所述预设应用程序中的预设关联关系,所述第一用户包括当前使用所述预设应用程序的用户,所述第二用户包括发布所述第一内容的用户;
    变更处理模块,设置为基于所述第一用户作用于所述第一内容的交互操作,对所述第一预设控件的显示方式进行变更处理。
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-8任一项所述的方法。
  11. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-8任一项所述的方法。
PCT/CN2022/080371 2021-04-06 2022-03-11 页面显示控制方法、装置、设备及存储介质 WO2022213773A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110369299.8A CN113094135B (zh) 2021-04-06 2021-04-06 页面显示控制方法、装置、设备及存储介质
CN202110369299.8 2021-04-06

Publications (1)

Publication Number Publication Date
WO2022213773A1 true WO2022213773A1 (zh) 2022-10-13

Family

ID=76674067

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/080371 WO2022213773A1 (zh) 2021-04-06 2022-03-11 页面显示控制方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN113094135B (zh)
WO (1) WO2022213773A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094135B (zh) * 2021-04-06 2023-05-30 北京字跳网络技术有限公司 页面显示控制方法、装置、设备及存储介质
CN114385298A (zh) * 2022-01-12 2022-04-22 北京字跳网络技术有限公司 信息交互方法、装置、设备及存储介质
CN114416250B (zh) * 2022-01-14 2023-11-24 百果园技术(新加坡)有限公司 页面显示控制方法、装置、设备及存储介质
CN114676358A (zh) * 2022-03-21 2022-06-28 北京字跳网络技术有限公司 控件的显示方法、装置、电子设备、存储介质和程序产品

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN304624850S (zh) * 2017-10-25 2018-05-11
CN108932103A (zh) * 2018-06-29 2018-12-04 北京微播视界科技有限公司 标识用户兴趣的方法、装置、终端设备及存储介质
CN111610851A (zh) * 2019-02-22 2020-09-01 阿里巴巴集团控股有限公司 互动方法、装置以及用于实现该互动方法的用户终端
CN112218170A (zh) * 2020-10-12 2021-01-12 北京字节跳动网络技术有限公司 直播界面交互方法、装置、电子设备及计算机可读介质
CN113094135A (zh) * 2021-04-06 2021-07-09 北京字跳网络技术有限公司 页面显示控制方法、装置、设备及存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413357B (zh) * 2013-06-08 2022-09-06 苹果公司 用于同步两个或更多个显示器的设备、方法和图形用户界面
KR102110779B1 (ko) * 2013-06-27 2020-05-14 삼성전자 주식회사 사용자 전자기기의 애플리케이션에서 페이지 표시 모드 관리 방법 및 장치
CN104898931B (zh) * 2015-06-19 2018-06-19 胡月鹏 一种基于连续渐变操作的控件显示方法及装置
CN106547461B (zh) * 2015-09-23 2021-11-09 小米科技有限责任公司 一种操作处理方法、装置及设备
CN106775681A (zh) * 2016-12-01 2017-05-31 珠海市魅族科技有限公司 误操作处理方法和误操作处理装置
CN116700559A (zh) * 2018-08-07 2023-09-05 阿里巴巴集团控股有限公司 控制方法、装置及电子设备
CN109101647A (zh) * 2018-08-22 2018-12-28 百度在线网络技术(北京)有限公司 用于在页面上添加标记的方法和装置
CN109618212B (zh) * 2018-12-13 2022-11-11 北京达佳互联信息技术有限公司 信息显示方法、装置、终端及存储介质
CN112445393A (zh) * 2019-08-29 2021-03-05 斑马智行网络(香港)有限公司 一种数据处理方法、装置、设备和机器可读介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN304624850S (zh) * 2017-10-25 2018-05-11
CN108932103A (zh) * 2018-06-29 2018-12-04 北京微播视界科技有限公司 标识用户兴趣的方法、装置、终端设备及存储介质
CN111610851A (zh) * 2019-02-22 2020-09-01 阿里巴巴集团控股有限公司 互动方法、装置以及用于实现该互动方法的用户终端
CN112218170A (zh) * 2020-10-12 2021-01-12 北京字节跳动网络技术有限公司 直播界面交互方法、装置、电子设备及计算机可读介质
CN113094135A (zh) * 2021-04-06 2021-07-09 北京字跳网络技术有限公司 页面显示控制方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN113094135B (zh) 2023-05-30
CN113094135A (zh) 2021-07-09

Similar Documents

Publication Publication Date Title
US11750888B2 (en) User interfaces including selectable representations of content items
US20230022781A1 (en) User interfaces for viewing and accessing content on an electronic device
WO2022213773A1 (zh) 页面显示控制方法、装置、设备及存储介质
US11843838B2 (en) User interfaces for accessing episodes of a content series
US11683565B2 (en) User interfaces for interacting with channels that provide content that plays in a media browsing application
US11962836B2 (en) User interfaces for a media browsing application
US20200257415A1 (en) Identifying applications on which content is available
US20200382845A1 (en) Notification of augmented reality content on an electronic device
CN109640188B (zh) 视频预览方法、装置、电子设备及计算机可读存储介质
WO2022161335A1 (zh) 互动方法、装置、电子设备和存储介质
US20220368659A1 (en) Shared-content session user interfaces
US10650052B2 (en) Column interface for navigating in a user interface
WO2019085574A1 (zh) 视频播放控制方法、装置及终端
CN107113468B (zh) 一种移动计算设备以及实现的方法、计算机存储介质
WO2022156638A1 (zh) 互动方法、装置、电子设备和存储介质
WO2018157812A1 (zh) 一种实现视频分支选择播放的方法及装置
WO2023045783A1 (zh) 页面处理方法、装置、设备及存储介质
US11233895B2 (en) Automatic wallpaper setting method, terminal device, and graphical user interface
WO2023051330A1 (zh) 显示控制方法、装置、设备及存储介质
JP2023523067A (ja) ビデオ処理方法、装置、機器及び媒体
EP4124052A1 (en) Video production method and apparatus, and device and storage medium
US11656838B2 (en) User interfaces for time period-based curated playlists
WO2023061230A1 (zh) 内容展示方法、装置、设备及存储介质
WO2020233169A1 (zh) 一种评论内容显示方法、装置、设备及存储介质
WO2023036277A1 (zh) 内容显示方法、装置、设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22783842

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 15/02/2024)