Page display method and device, electronic equipment, storage medium and program product
By using the display style associated with user content to display preset pages, the problem of single display style of preset pages is solved, achieving higher relevance and rich display effects.
Patent Information
- Application Number
- CN202410186200.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-19
- Publication Date
- 2025-08-19
AI Technical Summary
In the prior art, the display style of the preset page is relatively single and lacks correlation with user content.
The user's preset page is displayed in a display style associated with the user content of the target user in the preset page, including background images and work covers.
It improves the correlation between the display style of the preset page and the user content, enriches the display style of the preset page, and enhances the consistency of the display effect.
Smart Images

Figure CN120508718A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a page display method, device, electronic device, storage medium, and program product. Background Art
[0002] Currently, in some applications, a user's personal content can be displayed on a user's preset page, such as displaying the user's personal information and the cover of the user's published work, etc. However, the display style of the preset page is relatively simple. Summary of the Invention
[0003] The embodiments of the present disclosure provide a page display method, device, electronic device, storage medium, and program product to enrich the display style of preset pages.
[0004] In a first aspect, an embodiment of the present disclosure provides a page display method, including:
[0005] Receive the page display operation of the current user for the target user;
[0006] In response to the page display operation, a preset page of the target user is displayed in a first display style, wherein the first display style is associated with the user content of the target user in the preset page.
[0007] In a second aspect, an embodiment of the present disclosure further provides a page display device, comprising:
[0008] An operation receiving module is used to receive the page display operation of the current user for the target user;
[0009] The first page display module is configured to display the preset page of the target user in a first display style in response to the page display operation, wherein the first display style is associated with the user content of the target user in the preset page.
[0010] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:
[0011] one or more processors;
[0012] a memory for storing one or more programs,
[0013] When the one or more programs are executed by the one or more processors, the one or more processors implement the page display method as described in the embodiment of the present disclosure.
[0014] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the page display method as described in the embodiment of the present disclosure is implemented.
[0015] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product. When the computer program product is executed by a computer, the computer implements the page display method as described in the embodiment of the present disclosure.
[0016] The page display method, apparatus, electronic device, storage medium, and program product provided in the embodiments of the present disclosure receive a page display operation directed to a target user by a current user; in response to the page display operation, the target user's preset page is displayed using a first display style, wherein the first display style is associated with the target user's user content in their preset page. The embodiments of the present disclosure utilize the above-mentioned technical solution to display the user's preset page using a display style associated with the user content in the user's preset page, thereby improving the correlation between the display style of the preset page and the user content displayed on the preset page, thereby enriching the display style of the preset page. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0018] Figure 1 A flowchart of a page display method provided by an embodiment of the present disclosure;
[0019] Figure 2 A schematic diagram showing a preset page provided in an embodiment of the present disclosure;
[0020] Figure 3 A flowchart of another page display method provided by an embodiment of the present disclosure;
[0021] Figure 4 A schematic diagram of a display style setting process provided in an embodiment of the present disclosure;
[0022] Figure 5 A structural block diagram of a page display device provided in an embodiment of the present disclosure;
[0023] Figure 6 A schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0026] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "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," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0027] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0028] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0030] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0031] Figure 1 A flow chart of a page display method provided by an embodiment of the present disclosure. The method can be executed by a page display device, wherein the device can be implemented by software and / or hardware and can be configured in an electronic device, typically, a mobile phone or a tablet computer. The page display method provided by an embodiment of the present disclosure is applicable to the display scenario of a preset page, and is particularly applicable to the scenario of displaying a user's preset page in a display style associated with the user content in the preset page. Figure 1 As shown, the page display method provided in this embodiment may include:
[0032] S101: Receive a page display operation from a current user for a target user.
[0033] Among them, the page display operation can be a trigger operation for indicating the display of a preset page of a certain user. The execution method of the page display operation is not limited. For example, the page display operation can include an operation to trigger a preset page control, an operation to trigger the user identification of the target user and / or a sliding operation along a preset direction, etc. The target user can be the user corresponding to the page display operation, that is, the user whose preset page is indicated by the page display operation. The preset page of a certain user (such as the target user) can be the user's information display page, and the information display page can include but is not limited to the user's personal information display page and / or the work information display page. The current user can be the user who performs the page display operation, and can be the same or a different user as the target user. For example, the current user can view his own preset page or the preset page of other users except himself by performing the page display operation.
[0034] In this embodiment, when the current user wants to view the preset page of a certain user (such as a target user), he or she may perform a page display operation for the user. Accordingly, the current application may receive the page display operation performed by the current user.
[0035] S102: In response to the page display operation, display the preset page of the target user in a first display style, wherein the first display style is associated with the user content of the target user in the preset page.
[0036] The first display style may be a display style associated with the target user's user content on the preset page, such as a display style generated based on the target user's user content on the preset page. It should be noted that under different display styles, the preset page has different display content and / or display styles, such as displaying different page content on the preset page and / or displaying the page content on the preset page in different styles, etc.
[0037] The target user's user content on their preset page can be understood as the target user's personal content on the preset page, such as content set or published by the target user. Optionally, the user content includes at least one of the target user's first user information, a background image set by the target user for the preset page, and work information of works published by the target user.
[0038] Among them, the first user information of the target user can be understood as user information used to generate a display style corresponding to the target user, which may include the identification information of the target user and / or the profile information of the target user, etc. The identification information may include, for example, the avatar and / or nickname of the target user. The background image set by the target user for his preset page can be understood as the background image set by the target user in his preset page. The background image may correspond to the page area of the preset page, or it may be the header image of the preset page. The following explanation is based on the example of the background image being the header image of the preset page. The work information of the work published by the target user can be understood as the information of the work published by the target user, such as the content and / or cover of the work published by the target user.
[0039] Specifically, when a page display operation for a target user is received from the current user, a first display style associated with the user content of the target user in a preset page can be determined in response to the page display operation, and the preset page of the target user can be displayed using the first display style.
[0040] In this embodiment, considering that users generally express their current status by changing their profile pictures, nicknames, and / or profile information, changing background images, and / or publishing works, for example, users can express their current emotions or attitudes by updating their user content on the preset page, this embodiment can display the user's preset page using a display style associated with the user content on the preset page. Compared to the technical solution in the prior art that displays the preset page using a default display style unrelated to the user content, this can improve the correlation between the display style of the preset page and the user content displayed on the preset page, enriching the display style of the preset page.
[0041] In some embodiments, when the preset page of the target user is displayed in the first display style, at least part of the page content in the preset page of the target user can be displayed in the first display style, such as displaying the background image 20 of the preset page and / or the cover image 21 of at least part of the work published by the target user that needs to be displayed in the preset page in the first display style, such as Figure 2 shown.
[0042] At this time, optionally, the use of the first display style to display the preset page of the target user includes: using the first display style to display the target page content of the preset page, and the target page content includes the background image of the preset page and / or the cover of at least part of the work published by the user.
[0043] In the above embodiment, the target page content of the preset page is displayed in a unified display style that is associated with the user content of the target user in the preset page. This not only improves the relevance between the display style of the target page content and the displayed target user content, but also improves the consistency of the display style between different target page contents, avoids the confusion of display styles between different target page contents, and improves the display effect of the preset page.
[0044] The scope of the first display style can be set as needed. For example, the first display style can be used to adjust the screen style and / or screen content of the target page content. The screen style can include, for example, the display color and / or line style of the screen. The screen content can be understood as the content of the screen to be presented, such as the objects contained in the screen.
[0045] In some embodiments, at least part of the image set by the target user can be used as the image to be processed to meet the user's screen setting requirements; and / or, at least part of the image can be extracted from the content of the work published by the target user as the image to be processed to further improve the consistency of the screen style presented by different target page contents. After obtaining the image to be processed, at least part of the image to be processed can be processed based on the first display style to obtain the target page content with the first display style. At this time, optionally, the target page content is obtained by processing the image to be processed based on the first display style, wherein at least part of the image to be processed is set by the target user; and / or, at least part of the image to be processed is extracted from the content of the work published by the target user.
[0046] For example, the original background image set by the target user for the preset page and / or the original work cover set by the target user for the work published by the target user can be used as the image to be processed; the image to be processed is processed using the first display style to obtain a background image and / or work cover with the first display style; and the background image of the target user in the preset page is updated to the background image with the first display style, and / or the work cover of the corresponding work of the target user is updated to the work cover with the first display style.
[0047] For another example, a work picture used as a background image and / or a work cover can be extracted from the work content of the work published by the target user and used as a picture to be processed; the image to be processed is processed using a first display style to obtain a background image and / or work cover with the first display style; and the background image in the preset page of the target user is updated to the background image with the first display style, and / or the work cover of the corresponding work of the target user is updated to the work cover with the first display style.
[0048] The method for extracting the image to be processed from the content of the work posted by the target user is not limited. Optionally, the extracted image to be processed is associated with the first display style and / or the second user information of the target user. That is, based on the first display style and / or the second user information of the target user, a work frame (e.g., a picture and / or video frame) can be extracted from the content of the work posted by the target user as the image to be processed.
[0049] The second user information may be at least a portion of the target user's user information on a preset page. For example, the at least a portion of the user information may be user information whose display area is associated with the display area of the target page content, such as user information whose display area overlaps with the display area of the target page content. Optionally, the second user information may include an avatar and / or nickname of the target user.
[0050] Taking the association of the display area of the second user information with the display area of the background image as an example, illustratively, work images that match the first page style and the second user information of the target user can be extracted from at least part of the works published by the target user as images to be processed for generating the background image; and for the works published by the target user, work images that match the first page style can be extracted from the work as images to be processed for generating the work cover of the work.
[0051] There is no limit to the processing method when using the first page style to process the image to be processed. For example, the background picture of the image to be processed can be processed into a picture color and / or picture content that matches the first page style, and / or, a picture mask that matches the first page style is added to at least a part of the area of the picture to be processed, etc. The specific settings can be made as needed.
[0052] In some embodiments, in response to a page display operation, after displaying the target user's preset page in a first display style, the target user's preset page may continue to be displayed in the first display style until the current user exits the preset page; or, when a preset switching condition is met, the display style of the preset page may be switched from the first display style to a default second display style. In this case, optionally, after displaying the target user's preset page in the first display style, the process further includes: maintaining the display of the target user's preset page in the first display style; or switching the display style of the preset page from the first display style to a second display style, wherein the second display style is the default display style.
[0053] Among them, the switching condition can be set as needed, such as the switching condition can be set to the display time of the first display style reaching the set time. At this time, after the preset page of the target user is displayed in the first display style for the set time, the display style of the preset page can be switched from the first display style to the second display style. The set time can be, for example, 3s or 5s, and its specific value is not limited. The second display style can be the default display style. Under the second display style, if the target user sets a background image, the original background image set by the target user can be displayed in the preset page. If the target user does not set a background image, the default background image of the current application can be displayed in the preset page; and the original work cover set by the user for the published work can be displayed.
[0054] In some embodiments, no preset display condition may be set. Thus, after the target user sets the display style of their preset page to the first display style, any user with viewing permission who views the target user's preset page by performing a page display operation for the target user at any time will be presented with the target user's preset page in the first display style in response to the page display operation.
[0055] In other embodiments, a preset display condition may be set. Thus, after a target user sets the display style of their preset page to a first display style, when a user with viewing permission performs a page display operation for the target user to view the target user's preset page, the target user's preset page is displayed in the first display style in response to the page display operation only if the current conditions meet the preset display condition.
[0056] At this time, optionally, the use of the first display style to display the preset page of the target user includes: if the current conditions meet the preset display conditions, the use of the first display style to display the preset page of the target user, the preset display conditions include: the current user has a preset association relationship with the target user, and / or, the target user uses the first display style for a time period that is less than a preset time period.
[0057] The preset display conditions can be set as needed. For example, the preset display conditions may include the current user having a preset association relationship with the target user and / or the target user's usage time of the first display style being less than a preset duration. The preset association relationship is not limited, and may include, for example, a follow-up relationship and / or a friend relationship. The target user's usage time of the first display style can be understood as the target user's continuous usage of the first display style, such as the time interval between the current moment and the first user setting the display style of their preset page to the first display style.
[0058] In the above embodiment, if the current conditions do not meet the preset display conditions, the target user's preset page can be displayed using the default second display style in response to the current user's page display operation for the target user. In this case, the page display method may also include: if the current conditions do not meet the preset display conditions, displaying the target user's preset page using the second display style.
[0059] The page display method provided in this embodiment receives a page display operation for a target user from a current user; in response to the page display operation, displays the target user's preset page using a first display style, wherein the first display style is associated with the target user's user content in their preset page. This embodiment utilizes the above-described technical solution to display the user's preset page using a display style associated with the user content in the user's preset page. This improves the relevance between the preset page's display style and the user content displayed on the preset page, thereby enriching the display styles of the preset page.
[0060] Figure 3 A flow chart of another page display method provided for an embodiment of the present disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, the current user and the target user are the same user, and before receiving the page display operation for the target user, it also includes: in response to the style display operation for the preset page, displaying at least one candidate display style, wherein the candidate display style is associated with the user content; in response to the style confirmation operation for the first display style of the at least one candidate display style, switching the display style of the preset page to the first display style.
[0061] Correspondingly, such as Figure 3 As shown, the page display method provided in this embodiment includes:
[0062] S201: In response to a style display operation for a preset page of a target user, display at least one candidate display style, where the candidate display style is associated with user content of the target user in the preset page.
[0063] Among them, the style display operation can be understood as a trigger operation for indicating the display of a candidate display style. The execution method of the style display operation is not limited. For example, the style display operation may include an operation of triggering a certain control or performing a certain preset gesture. The candidate display style can be understood as a display style for the current user (i.e., the target user) to select. The candidate display style is associated with the user content of the target user in its preset page, such as the candidate display style is generated based on the user content of the target user in its preset page.
[0064] In this embodiment, users can be supported to set the display style of their preset pages.
[0065] For example, when receiving the style display operation of the current user for his / her own preset page, at least one candidate display style is determined based on the user content of the current user in his / her preset page, and the at least one candidate display style is displayed, such as displaying the style identification of the at least one candidate display style. In addition, the style description information of the at least one candidate display style can be further displayed.
[0066] In some embodiments, users can be supported to view a preview of their preset page when displayed in a candidate display style, thereby further improving the efficiency of the user's selection and determination of the display style they want to adopt. In this case, optionally, after displaying at least one candidate display style, the method further includes: in response to a preview operation, displaying a preview of the preset page in the candidate display style corresponding to the style preview operation.
[0067] The preview operation may be a triggering operation for instructing a user to view a preview screen of a preset page displayed in a certain display style, such as an operation for triggering a certain candidate page style to be displayed.
[0068] For example, when a preview operation for a candidate page style is received, a preview screen of the current user's preset page displayed in the candidate page style may be generated in response to the preview operation, and the preview screen may be displayed.
[0069] S202: In response to a style confirmation operation on a first display style among the at least one candidate display style, switch the display style of the preset page to the first display style.
[0070] The style confirmation operation may be a triggering operation for indicating confirmation of displaying a preset page in a certain display style, such as triggering a confirmation control or sliding in a certain direction. The first display style may be understood as the candidate display style corresponding to the style confirmation operation, i.e., the candidate display style confirmed for use by the style confirmation operation.
[0071] Specifically, when a style confirmation operation for a candidate display style (such as the first display style) is received, the display style of the preset page may be switched to the candidate display style.
[0072] S203: Receive a page display operation from a current user for a target user, where the current user and the target user are the same user.
[0073] S204 : In response to the page display operation, display the preset page of the target user in a first display style, wherein the first display style is associated with the user content of the target user in the preset page.
[0074] In some embodiments, the current user and the target user are the same user, and the method further includes: publishing the target work in response to a preset work publishing operation, wherein the target work presents a preview screen of the preset page in the current display style, and the current display style includes the first display style or the second display style.
[0075] The preset work publishing operation may be a triggering operation for instructing the publication of a target work. The execution method of the preset work publishing operation is not limited. For example, the preset work publishing operation may include an operation of triggering a certain control or an operation of executing a certain sliding gesture, etc. Optionally, the preset work publishing operation includes a style confirmation operation for the first display style and / or a work publishing operation for the preset page. For example, the current user may be supported to publish a target work when setting the display style of their preset page; the current user may also be supported to publish a target work in other scenarios, such as by executing a work publishing operation for their preset page.
[0076] The work publishing operation for a preset page may be a triggering operation for instructing the publication of a work for the preset page, and may be a different triggering operation from the style confirmation operation. For example, the work publishing operation for a preset page may be an operation that triggers a work publishing control corresponding to the preset page. The work publishing control may be displayed within its own preset page based on the current user's triggering operation, or may be displayed on a page different from the current user's preset page. This embodiment does not limit this.
[0077] The target work may be a work used to present a preview of the current user's preset page in the current display style. The current display style may be the display style currently used by the current user's preset page, which may be a first display style associated with the user content of the current user in their preset page, or a default second display style.
[0078] In the above embodiment, users can be supported to publish works based on their preset pages, so as to enrich the publishing methods of works and the preview methods of preset pages, and reduce the difficulty of publishing works.
[0079] For example, when a preset work publishing operation is received, a preview screen of the current user's preset page when displayed in the current display style can be obtained in response to the preset work publishing operation, a target work can be generated based on the preview screen, and the target work can be published.
[0080] The target work may include a preview of the current user's preset page. The display background of the preview may or may not be associated with the current display style. Optionally, the display background of the preview in the target work may be determined based on the current display style to improve the consistency between the preview and its display background, thereby improving the quality of the target work.
[0081] Furthermore, the preview screen presented in the target work can optionally trigger the display of the preset page. For example, when viewing the target work posted by the current user, the current user and / or users other than the current user can trigger the preview screen of the current user's preset page displayed in the target work to switch to the current user's preset page. This further enriches the display methods of the preset page.
[0082] In an alternative embodiment, Figure 4 As shown in the figure (taking the preset page as a personal page as an example), the process of setting the display style of the preset page by the current user can be described as follows:
[0083] When the current user views his own preset page, the style display control 40 can be displayed in the current user's preset page, such as Figure 4 In addition, when the current user updates his or her own avatar, nickname and / or profile information or updates the background image of the preset page, a prompt message can also be displayed ( Figure 4 (not shown in the figure), the prompt message prompts the current user to update the display style of his preset page.
[0084] like Figure 4 As shown in the second figure, when it is detected that the current user triggers the style display control 40 displayed in the preset page, it is confirmed that the style display operation has been received. In response to the style display operation, the style display page is displayed, and at least one candidate display style 41 associated with the user content of the current user in his preset page is displayed in the style display page. In addition, a certain candidate page style 41 can be displayed as selected, and a preview screen 42 of the current user's preset page when it is displayed using the candidate page style 41 can be displayed in the style display page; and / or, when it is detected that the current user triggers a certain candidate page style 41, the candidate page style 41 can be displayed as selected, and a preview screen 42 of the current user's preset page when it is displayed using the candidate page style 41 can be displayed in the style display page.
[0085] When it is detected that the current user triggers the style confirmation control 43 in the style display page, it is confirmed that the style confirmation operation has been received, and in response to the style confirmation operation, the display style of the current user's preset page can be switched to the candidate display style in the selected state in the style display page.
[0086] In addition, if Figure 4 As shown in the second figure, the style display page can also be provided with a work publishing option 44. When the work publishing option 44 is selected, the target work can be generated by using the preview screen 42 of the current user's preset page when the display style after switching is used. For example, the preview screen 42 can be used as the foreground screen of the target work, and the background screen 45 of the target work can be generated based on the display style after switching, and the target work can be published. Figure 4 As shown in the third picture.
[0087] It is understandable that after the display style of the current user's preset page is switched to the candidate display style in the selected state in the style display page, the current page can be switched from the style display page to the current user's preset page, so that the current user can view the preset page after the display style is switched; the current page can also be switched from the style display page to the media content display page, such as Figure 4 is shown, so that the current user can view the published target work.
[0088] The page display method provided in this embodiment supports users to select the display style they want to set from at least one candidate display style associated with their user content, which can further enrich the display style of preset pages and meet the different setting requirements of users.
[0089] Figure 5 This is a structural block diagram of a page display device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can be configured in an electronic device, typically a mobile phone or tablet computer, and can display a preset page by executing a page display method, such as displaying a user's preset page using a display style associated with the user content in the preset page. Figure 5 As shown, the page display device provided in this embodiment may include: an operation receiving module 501 and a first page display module 502, wherein:
[0090] An operation receiving module 501 is used to receive a page display operation of a current user for a target user;
[0091] The first page display module 502 is configured to display the preset page of the target user in a first display style in response to the page display operation, wherein the first display style is associated with the user content of the target user in the preset page.
[0092] The page display device provided in this embodiment receives a page display operation directed to a target user by a current user via an operation receiving module. In response to the page display operation, the first page display module displays the target user's preset page using a first display style, wherein the first display style is associated with the target user's user content within their preset page. This embodiment utilizes the above-described technical solution to display the user's preset page using a display style associated with the user content within the user's preset page. This improves the relevance between the preset page's display style and the user content displayed on the preset page, thereby enriching the display styles of the preset page.
[0093] Optionally, the user content includes at least one of first user information of the target user, a background image set by the target user for the preset page, and work information of a work published by the target user.
[0094] Optionally, the first page display module 502 is used to: display the target page content of the preset page in a first display style, and the target page content includes the background image of the preset page and / or the work cover of at least part of the work published by the user.
[0095] Optionally, the target page content is obtained by processing the image to be processed based on the first display style, wherein at least part of the image to be processed is set by the target user; and / or, at least part of the image to be processed is extracted from the content of the work published by the target user.
[0096] Optionally, the extracted image to be processed is associated with the first display style and / or the second user information of the target user.
[0097] Furthermore, the page display device provided in this embodiment may also include: a second page display module, which is used to continue to display the preset page of the target user using the first display style after the preset page of the target user is displayed using the first display style; or, switch the display style of the preset page from the first display style to the second display style, wherein the second display style is the default display style.
[0098] Optionally, the first page display module 502 is used to: when the current conditions meet the preset display conditions, use the first display style to display the preset page of the target user, and the preset display conditions include: the current user and the target user have a preset association relationship, and / or the target user uses the first display style for a time that is less than a preset time.
[0099] Furthermore, the page display device provided in this embodiment may further include: a third page display module, configured to display the preset page of the target user in a second display style when the current condition does not meet the preset display condition.
[0100] Optionally, the current user and the target user are the same user. The page display device provided in this embodiment may also include: a style display module for displaying at least one candidate display style in response to a style display operation for the preset page before receiving the page display operation for the target user, wherein the candidate display style is associated with the user content; and a style switching module for switching the display style of the preset page to the first display style in response to a style confirmation operation for the first display style among the at least one candidate display style.
[0101] Furthermore, the page display device provided in this embodiment may further include: a preview module for displaying a preview screen of the preset page in the candidate display style corresponding to the style preview operation in response to a preview operation after displaying at least one candidate display style.
[0102] Optionally, the current user and the target user are the same user. The page display device provided in this embodiment may also include: a work publishing module, used to publish the target work in response to a preset work publishing operation, and the target work presents a preview screen of the preset page in the current display style, and the current display style includes the first display style or the second display style.
[0103] Optionally, the preset work publishing operation includes a style confirmation operation for the first display style and / or a work publishing operation for the preset page.
[0104] Optionally, the preview screen presented in the target work supports triggering the display of the preset page.
[0105] The page display device provided in the embodiment of the present disclosure can execute the page display method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the page display method. For technical details not fully described in this embodiment, please refer to the page display method provided in any embodiment of the present disclosure.
[0106] Reference below Figure 6 , which shows a schematic structural diagram of an electronic device (e.g., terminal device) 600 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0107] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0108] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.
[0109] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0110] It should be noted that 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 two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0111] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0112] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0113] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: receives the page display operation of the current user for the target user; in response to the page display operation, uses a first display style to display the preset page of the target user, wherein the first display style is associated with the user content of the target user in the preset page.
[0114] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0115] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0116] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not, in some cases, limit the unit itself.
[0117] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0118] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0119] According to one or more embodiments of the present disclosure, Example 1 provides a page display method, including:
[0120] Receive the page display operation of the current user for the target user;
[0121] In response to the page display operation, a preset page of the target user is displayed in a first display style, wherein the first display style is associated with the user content of the target user in the preset page.
[0122] According to one or more embodiments of the present disclosure, Example 2 is based on the method described in Example 1, wherein the user content includes at least one of the first user information of the target user, the background image set by the target user for the preset page, and the work information of the work published by the target user.
[0123] According to one or more embodiments of the present disclosure, Example 3, according to the method of Example 1, wherein displaying the preset page of the target user in the first display style includes:
[0124] The target page content of the preset page is displayed in a first display style, where the target page content includes the background image of the preset page and / or the work covers of at least part of the works published by the user.
[0125] According to one or more embodiments of the present disclosure, Example 4 is the method according to Example 3, wherein the target page content is obtained by processing the image to be processed based on the first display style, wherein:
[0126] At least part of the images to be processed are set by the target user; and / or
[0127] At least part of the to-be-processed images are extracted from the content of the work published by the target user.
[0128] According to one or more embodiments of the present disclosure, Example 5 is based on the method described in Example 4, wherein the extracted image to be processed is associated with the first display style and / or the second user information of the target user.
[0129] According to one or more embodiments of the present disclosure, Example 6, according to the method of Example 1, further includes, after displaying the preset page of the target user in the first display style:
[0130] Maintaining the first display style to display the preset page for the target user; or
[0131] The display style of the preset page is switched from the first display style to a second display style, wherein the second display style is a default display style.
[0132] According to one or more embodiments of the present disclosure, Example 7, according to the method of Example 1, wherein displaying the preset page of the target user in the first display style includes:
[0133] If the current conditions meet the preset display conditions, the preset page of the target user is displayed using the first display style. The preset display conditions include: the current user has a preset association relationship with the target user, and / or the target user uses the first display style for a time that is less than a preset time.
[0134] According to one or more embodiments of the present disclosure, Example 8 is the method according to Example 7, further comprising:
[0135] If the current condition does not meet the preset display condition, the preset page of the target user is displayed using the second display style.
[0136] According to one or more embodiments of the present disclosure, Example 9 is the method according to Example 1, wherein the current user and the target user are the same user, and before receiving the page display operation for the target user, the method further includes:
[0137] In response to a style display operation for the preset page, display at least one candidate display style, where the candidate display style is associated with the user content;
[0138] In response to a style confirmation operation on a first display style among the at least one candidate display style, the display style of the preset page is switched to the first display style.
[0139] According to one or more embodiments of the present disclosure, Example 10 is the method according to Example 9, further comprising, after presenting at least one candidate presentation style:
[0140] In response to the preview operation, a preview screen of the preset page in the candidate display style corresponding to the style preview operation is displayed.
[0141] According to one or more embodiments of the present disclosure, Example 11 is the method according to any one of Examples 1-10, wherein the current user and the target user are the same user, and the method further includes:
[0142] In response to the preset work publishing operation, the target work is published, and a preview screen of the preset page in the current display style is presented in the target work, and the current display style includes the first display style or the second display style.
[0143] According to one or more embodiments of the present disclosure, Example 12 is the method according to Example 11, wherein the preset work publishing operation includes a style confirmation operation for the first display style and / or a work publishing operation for the preset page.
[0144] According to one or more embodiments of the present disclosure, Example 13 is the method according to Example 11, wherein the preview screen presented in the target work supports triggering the display of the preset page.
[0145] According to one or more embodiments of the present disclosure, Example 14 provides a page display device, including:
[0146] An operation receiving module is used to receive the page display operation of the current user for the target user;
[0147] The first page display module is configured to display the preset page of the target user in a first display style in response to the page display operation, wherein the first display style is associated with the user content of the target user in the preset page.
[0148] According to one or more embodiments of the present disclosure, Example 15 provides an electronic device, including:
[0149] one or more processors;
[0150] a memory for storing one or more programs,
[0151] When the one or more programs are executed by the one or more processors, the one or more processors implement the page display method as described in any one of Examples 1-13.
[0152] According to one or more embodiments of the present disclosure, Example 16 provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the page display method described in any one of Examples 1-13.
[0153] According to one or more embodiments of the present disclosure, Example 17 provides a computer program product. When the computer program product is executed by a computer, the computer implements the page display method described in any one of Examples 1-13.
[0154] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0155] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0156] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A page display method, characterized in that: include: Receive the page display operation of the current user for the target user; In response to the page display operation, a preset page of the target user is displayed in a first display style, wherein the first display style is associated with the user content of the target user in the preset page.
2. The method according to claim 1, characterized in that The user content includes at least one of the first user information of the target user, the background image set by the target user for the preset page, and the work information of the work published by the target user.
3. The method according to claim 1, characterized in that The displaying of the preset page of the target user in the first display style includes: The target page content of the preset page is displayed in a first display style, where the target page content includes the background image of the preset page and / or the work covers of at least part of the works published by the user.
4. The method according to claim 3, characterized in that The target page content is obtained by processing the image to be processed based on the first display style, wherein: At least part of the images to be processed are set by the target user; and / or At least part of the to-be-processed images are extracted from the content of the work published by the target user.
5. The method according to claim 4, characterized in that The extracted image to be processed is associated with the first display style and / or the second user information of the target user.
6. The method according to claim 1, characterized in that After displaying the preset page of the target user in the first display style, the method further includes: Maintaining the first display style to display the preset page for the target user; or The display style of the preset page is switched from the first display style to a second display style, wherein the second display style is a default display style.
7. The method according to claim 1, characterized in that The displaying of the preset page of the target user in the first display style includes: If the current conditions meet the preset display conditions, the preset page of the target user is displayed using the first display style. The preset display conditions include: the current user has a preset association relationship with the target user, and / or the target user uses the first display style for a time period that is less than a preset time period.
8. The method according to claim 7, characterized in that Also includes: If the current condition does not meet the preset display condition, the preset page of the target user is displayed using the second display style.
9. The method according to claim 1, characterized in that The current user and the target user are the same user, and before receiving the page display operation for the target user, the method further includes: In response to a style display operation for the preset page, display at least one candidate display style, where the candidate display style is associated with the user content; In response to a style confirmation operation on a first display style among the at least one candidate display style, the display style of the preset page is switched to the first display style.
10. The method according to claim 9, characterized in that After presenting at least one candidate presentation style, the method further includes: In response to the preview operation, a preview screen of the preset page in the candidate display style corresponding to the style preview operation is displayed.
11. The method according to any one of claims 1 to 10, characterized in that: The current user and the target user are the same user, and the method further includes: In response to the preset work publishing operation, the target work is published, and a preview screen of the preset page in the current display style is presented in the target work, and the current display style includes the first display style or the second display style.
12. The method according to claim 11, characterized in that The preset work publishing operation includes a style confirmation operation for the first display style and / or a work publishing operation for the preset page.
13. The method according to claim 11, characterized in that The preview screen presented in the target work supports triggering the display of the preset page.
14. A page display device, characterized in that: include: An operation receiving module is used to receive the page display operation of the current user for the target user; The first page display module is configured to display the preset page of the target user in a first display style in response to the page display operation, wherein the first display style is associated with the user content of the target user in the preset page.
15. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the page display method according to any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the page display method according to any one of claims 1 to 13 when executed.
17. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements the page display method according to any one of claims 1 to 13.
Citation Information
Cited By
Page display method and apparatus, and electronic device, storage medium and program product
WO2025175888A1