Multimedia resource display method and device, electronic equipment and storage medium
By using fuzzy display to display content when the device does not have the permission to view multimedia resources, and switching to clearly display part of the content when the user triggers the preview operation, the problem of poor user experience in the existing technology is solved and effective Permission reminders and information previews.
Patent Information
- Application Number
- CN202411472480.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-02-11
AI Technical Summary
The prior art cannot effectively display multimedia resources when the device does not have permission to view multimedia resources, resulting in poor user experience.
By displaying the content of the multimedia resource in a blurred display without viewing permission, and switching to clearly displaying some resource content when the user triggers the preview operation.
It realizes that users are reminded of permission restrictions through fuzzy display when they do not have viewing permissions, and allows users to preview some content, improving information transmission efficiency and user experience.
Smart Images

Figure CN119415058A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a multimedia resource display method, device, electronic device and storage medium. Background Art
[0002] With the development of computer technology, multimedia resources are becoming more and more abundant and diverse, and devices can display multimedia resources for users to view. For some multimedia resources, the device can only display these multimedia resources when the device has the authority to view these multimedia resources. However, when the device does not have the authority to view these multimedia resources, when the device views any of these multimedia resources, the device cannot display the viewed multimedia resource or will display prompt information for prompting. However, this multimedia resource display method has a poor display effect, resulting in a poor user experience. Summary of the invention
[0003] The present disclosure provides a multimedia resource display method, device, electronic device and storage medium, which can improve the display effect of resource content and thus improve user experience. The technical solution of the present disclosure is as follows:
[0004] According to one aspect of an embodiment of the present disclosure, a method for displaying multimedia resources is provided, the method comprising:
[0005] In response to a viewing operation on a multimedia resource, displaying resource content of the multimedia resource in a first display mode without having viewing authority for the multimedia resource, wherein the first display mode indicates that the resource content is in a blurred display state;
[0006] In response to a preview operation on the multimedia resource, a portion of resource content of the multimedia resource is displayed in a second display mode, and the second display mode indicates that the portion of resource content is in a non-fuzzy display state.
[0007] In some embodiments, the preview operation includes a trigger operation in the resource interface; the method further includes:
[0008] The preview area is determined from the resource interface based on a trigger position corresponding to the trigger operation.
[0009] In some embodiments, determining the preview area from the resource interface based on the trigger position corresponding to the trigger operation includes:
[0010] determining a circular area with the trigger position as the center and the first value as the radius as the preview area; or,
[0011] A rectangular area with the trigger position as the center and the sides of the second value and the third value is determined as the preview area.
[0012] In some embodiments, after determining the preview area from the resource interface based on the trigger position corresponding to the trigger operation, the method further includes:
[0013] In response to a drag operation on the preview area, a position of the preview area in the resource interface is updated.
[0014] In some embodiments, the multimedia resource belongs to a resource collection, and the method further comprises:
[0015] Based on the target ratio, the preview area is determined from the resource interface, the proportion of the preview area in the resource interface is the target ratio, the target ratio is the ratio of a first quantity to a second quantity, the first quantity is the number of multimedia resources with viewing permissions in the resource collection, and the second quantity is the total number of multimedia resources in the resource collection.
[0016] According to another aspect of an embodiment of the present disclosure, a multimedia resource display device is provided, the device comprising:
[0017] A display unit configured to execute, in response to a viewing operation on a multimedia resource, displaying resource content of the multimedia resource in a first display mode without having viewing authority for the multimedia resource, wherein the first display mode indicates that the resource content is in a blurred display state;
[0018] The display unit is further configured to display part of the resource content of the multimedia resource in a second display mode in response to a preview operation on the multimedia resource, wherein the second display mode indicates that the part of the resource content is in a non-fuzzy display state.
[0019] In some embodiments, the display unit is configured to execute, in response to the viewing operation, display the resource content of the multimedia resource in the second display mode without the viewing permission; and switch the resource content of the multimedia resource from the second display mode to the first display mode when the display time of the resource content of the multimedia resource reaches a threshold.
[0020] In some embodiments, the display unit is further configured to execute, in response to the viewing operation, display permission prompt information when the viewing permission is not possessed, wherein the permission prompt information is used to prompt that the viewing permission is not possessed.
[0021] In some embodiments, the permission prompt information is also used to obtain the viewing permission; the display unit is also configured to perform a permission acquisition operation in response to the permission prompt information, and when the viewing permission is obtained, the resource content of the multimedia resource is switched from the first display mode to the second display mode.
[0022] In some embodiments, the display unit is further configured to switch part of the resource content of the multimedia resource from the second display mode to the first display mode in response to the preview operation ending.
[0023] In some embodiments, the display unit is configured to execute, in response to the viewing operation, display the resource content of the multimedia resource without the viewing permission, and display a mask on the resource content of the multimedia resource, wherein the transparency of the mask is less than 1.
[0024] In some embodiments, the resource content of the multimedia resource is displayed in a resource interface, and the display unit is configured to execute in response to the preview operation, and display the resource content included in the preview area in the second display mode, and the preview area is the area corresponding to the preview operation in the resource display interface, or is a preset area in the resource interface.
[0025] In some embodiments, the preview operation includes a sliding operation in the resource interface, and the preview area is the area in the resource interface through which the sliding operation passes, or the preview area is the area included in a closed sliding track in the resource interface, and the sliding track is the track of the sliding operation.
[0026] In some embodiments, the preview operation includes a trigger operation in the resource interface; the display unit is further configured to determine the preview area from the resource interface based on a trigger position corresponding to the trigger operation.
[0027] In some embodiments, the display unit is configured to determine a circular area with the trigger position as the center and the first value as the radius as the preview area; or to determine a square area with the trigger position as the center and the sides of the second value and the third value as the preview area.
[0028] In some embodiments, after determining the preview area from the resource interface based on the trigger position corresponding to the trigger operation, the display unit is further configured to execute an update of the position of the preview area in the resource interface in response to a drag operation on the preview area.
[0029] In some embodiments, the multimedia resources belong to a resource collection, and the display unit is further configured to determine the preview area from the resource interface based on a target ratio, the proportion of the preview area in the resource interface is the target ratio, and the target ratio is the ratio of a first quantity to a second quantity, the first quantity is the number of multimedia resources with viewing permissions in the resource collection, and the second quantity is the total number of multimedia resources in the resource collection.
[0030] In some embodiments, the multimedia resource is text; and the display unit is configured to display key information included in the text in the second display mode in response to the preview operation.
[0031] In some embodiments, the multimedia resource is a video; the video is not played when the video screen of the video is displayed in the first display mode; the display unit is configured to execute, in response to the preview operation, playing the video, displaying a first sub-screen of the video screen in the first display mode, and displaying a second sub-screen of the video screen in the second display mode, wherein the first sub-screen is the screen of the video screen excluding the second sub-screen.
[0032] In some embodiments, the multimedia resource is a video; the display unit is configured to display segment prompt information in response to the preview operation, and the segment prompt information indicates a video segment in the video that can be previewed; in response to a confirmation operation on the segment prompt information, the resource content of the multimedia resource is displayed in the first display mode, and the video segment indicated by the segment prompt information is displayed in the second display mode.
[0033] According to another aspect of the embodiments of the present disclosure, there is provided an electronic device, the electronic device comprising:
[0034] one or more processors;
[0035] A memory for storing program codes executable by the processor;
[0036] The processor is configured to execute the program code to implement the multimedia resource display method described in the above aspect.
[0037] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When a program code in the computer-readable storage medium is executed by a processor of an electronic device, the electronic device can execute the multimedia resource display method described in the above aspects.
[0038] According to another aspect of the embodiments of the present disclosure, a computer program product is provided, including a computer program / instruction, which implements the multimedia resource display method described in the above aspects when executed by a processor.
[0039] In the scheme provided by the present disclosure, when the user does not have the permission to view the multimedia resource, the resource content of the multimedia resource is displayed in a first display mode. When the resource content of the multimedia resource is displayed in the first display mode, by triggering a preview operation on the multimedia resource, part of the resource content of the multimedia resource can be displayed in a second display mode. In this way, when viewing a multimedia resource for which the user does not have the permission to view, the resource content of the multimedia resource is in a fuzzy display state, so that the resource content of the multimedia resource is not clearly displayed, and the user cannot see the resource content of the multimedia resource through the terminal, so as to remind the user that he does not have the permission to view the multimedia resource, thereby achieving a strong reminder effect. Moreover, when the user does not have the permission to view the multimedia resource, part of the resource content of the multimedia resource can also be previewed, so that part of the resource content of the multimedia resource is clearly displayed, so that the user can know part of the resource content of the multimedia resource, thereby ensuring information transmission efficiency, and enriching the way of viewing the resource content of the multimedia resource, ensuring the display effect of the resource content, thereby improving the user experience.
[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0042] Figure 1 The figure is a schematic diagram of an implementation environment according to an exemplary embodiment.
[0043] Figure 2 The figure is a flowchart of a multimedia resource display method according to an exemplary embodiment.
[0044] Figure 3 The figure is a flow chart of another multimedia resource display method according to an exemplary embodiment.
[0045] Figure 4 It is a schematic diagram of a resource interface according to an exemplary embodiment.
[0046] Figure 5 The figure is a flow chart of another multimedia resource display method according to an exemplary embodiment.
[0047] Figure 6 The figure is a flow chart of another multimedia resource display method according to an exemplary embodiment.
[0048] Figure 7 The figure is a flow chart of another multimedia resource display method according to an exemplary embodiment.
[0049] Figure 8 is a schematic diagram of another resource interface according to an exemplary embodiment.
[0050] Fig. 9 The present invention is a block diagram of a multimedia resource display device according to an exemplary embodiment.
[0051] Fig.10 It is a block diagram of a terminal according to an exemplary embodiment.
[0052] Fig.11 It is a block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION
[0053] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0054] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0055] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the multimedia resources involved in this application are all obtained with full authorization.
[0056] The multimedia resource display method provided by the embodiments of the present disclosure is performed by an electronic device. In some embodiments, the electronic device is provided as a terminal or a server. In some embodiments, the terminal is at least one of a smart phone, a smart watch, a desktop computer, a laptop, an MP3 player, an MP4 player, and a laptop portable computer. In some embodiments, the server is at least one of a server, multiple servers, a cloud computing platform, and a virtualization center. When the electronic device is provided as a terminal, the operations performed by the multimedia resource display method are implemented by the terminal; when the electronic device is provided as a server, the operations performed by the multimedia resource display method are implemented by the server. In some embodiments, the server and the terminal interact to implement the operations performed by the multimedia resource display method.
[0057] In some embodiments, the electronic device is provided as a terminal. Figure 1 FIG. 1 is a schematic diagram of an implementation environment of a multimedia resource display method according to an exemplary embodiment. Figure 1 , the implementation environment specifically includes: a terminal 101 and a server 102.
[0058] The terminal 101 is used to display a resource display interface, and can display the viewed multimedia resources in the resource display interface. The server 102 is used to provide the viewed multimedia resources to the terminal 101 .
[0059] In some embodiments, the terminal 101 is installed with an application provided by the server 102, and the terminal 101 can realize functions such as multimedia resource display through the application. In some embodiments, the application is an application in the operating system of the terminal 101, or an application provided by a third party. For example, the application is a multimedia resource application, and the multimedia resource application has the function of multimedia resource display. Of course, the multimedia resource application can also have other functions, such as review function, shopping function, navigation function, game function, etc.
[0060] Terminal 101 is used to log in to the application through an account and display the resource display interface through the application. Terminal 101 interacts with server 102 through the application. Server 102 is used to send the multimedia resources viewed by terminal 101 to terminal 101. Terminal 101 is used to display multimedia resources in the resource display interface through the application.
[0061] Figure 2 is a flowchart of a multimedia resource display method according to an exemplary embodiment. Figure 2 As shown, taking the method executed by a terminal as an example, the method includes:
[0062] In step S201, in response to a viewing operation on a multimedia resource, the terminal displays resource content of the multimedia resource in a first display mode without having viewing authority for the multimedia resource, and the first display mode indicates that the resource content is in a blurred display state.
[0063] In the disclosed embodiment, the user can view any multimedia resource through the terminal. However, only when the user has the permission to view the multimedia resource can the resource content of the multimedia resource being viewed be displayed in the second display mode, so that the user can view the resource content displayed by the terminal through the terminal. However, when the user does not have the permission to view the multimedia resource, the terminal will display the resource content of the multimedia resource being viewed in the first display mode, so that when the user does not have the permission to view the multimedia resource, the resource content of the multimedia resource is displayed in a blurred manner, and the user cannot see the resource content of the multimedia resource clearly through the terminal, so as to remind the user that the user does not have the permission to view the multimedia resource, thereby achieving a strong reminder effect.
[0064] Among them, the multimedia resource is any type of multimedia resource, for example, the multimedia resource is text, image or video. For another example, the multimedia resource is a chapter in a novel, any video in a video episode, or any image in an image set. The resource content of the multimedia resource is the content contained in the multimedia resource, for example, the multimedia resource is a video, and the resource content of the multimedia resource is the video screen of the video; or, the multimedia resource is a text, and the resource content of the multimedia resource is the text in the text. The viewing permission for the multimedia resource indicates whether the resource content of the multimedia resource can be viewed. If the multimedia resource has the viewing permission, the resource content of the multimedia resource can be viewed. If the multimedia resource does not have the viewing permission, the resource content of the multimedia resource cannot be viewed. The fuzzy display state means that the resource content is displayed fuzzy, that is, the resource content is not clearly displayed. If the resource content of the multimedia resource is in a fuzzy display state, the resource content of the multimedia resource cannot be seen clearly.
[0065] In step S202, the terminal displays part of the resource content of the multimedia resource in a second display mode in response to a preview operation on the multimedia resource, and the second display mode indicates that the part of the resource content is in a non-fuzzy display state.
[0066] In an embodiment of the present disclosure, when displaying multimedia resources in a first display mode, it is also possible to preview partial resource content of the multimedia resources. By triggering a preview operation on the multimedia resources through a terminal, it is possible to display partial resource content of the multimedia resources in a preview area in a second display mode, so that without having viewing authority for the multimedia resources, partial resource content of the multimedia resources can be clearly displayed, thereby realizing a preview of partial resource content of the multimedia resources.
[0067] Among them, the non-fuzzy display state means that the resource content display is not fuzzy, that is, the resource content is clearly displayed. Part of the resource content of the multimedia resource is in the non-fuzzy display state, then this part of the resource content is not fuzzy, that is, this part of the resource content can be seen clearly. Part of the resource content of the multimedia resource is part of the resource content of the multimedia resource displayed in the first display mode. For example, the multimedia resource is a video, and the resource content of the multimedia resource is the video screen of the video, then the part of the resource content of the multimedia resource is part of the screen of the video. For another example, the multimedia resource is a text, and the resource content of the multimedia resource is the text contained in the text, then the part of the resource content of the multimedia resource is part of the text.
[0068] In the scheme provided by the present disclosure, when the user does not have the permission to view the multimedia resource, the resource content of the multimedia resource is displayed in a first display mode. When the resource content of the multimedia resource is displayed in the first display mode, by triggering a preview operation on the multimedia resource, part of the resource content of the multimedia resource can be displayed in a second display mode. In this way, when viewing a multimedia resource for which the user does not have the permission to view, the resource content of the multimedia resource is in a fuzzy display state, so that the resource content of the multimedia resource is not clearly displayed, and the user cannot see the resource content of the multimedia resource through the terminal, so as to remind the user that he does not have the permission to view the multimedia resource, thereby achieving a strong reminder effect. Moreover, when the user does not have the permission to view the multimedia resource, part of the resource content of the multimedia resource can also be previewed, so that part of the resource content of the multimedia resource is clearly displayed, so that the user can know part of the resource content of the multimedia resource, thereby ensuring information transmission efficiency, and enriching the way of viewing the resource content of the multimedia resource, ensuring the display effect of the resource content, thereby improving the user experience.
[0069] In the above Figure 2 On the basis of the illustrated embodiment, in the embodiment of the present disclosure, when viewing multimedia resources for which viewing permission is not granted, the multimedia resources can be first displayed in the second display mode and then automatically switched to display in the first display mode, and after the preview operation is completed, part of the multimedia resources displayed in the second display mode will be restored to display in the first display mode. The specific process is described in the following embodiment.
[0070] Figure 3 is a flowchart of another multimedia resource display method according to an exemplary embodiment. Figure 3 As shown, taking the method executed by a terminal as an example, the method includes:
[0071] In step S301, in response to a viewing operation on a multimedia resource, the terminal displays resource content of the multimedia resource in a second display mode without having viewing authority for the multimedia resource, and the second display mode indicates that the resource content is in a non-ambiguous display state.
[0072] In the embodiment of the present disclosure, the second display mode is the same as the display mode for displaying the resource content of the multimedia resource when the user has the permission to view the multimedia resource. Therefore, when viewing a multimedia resource for which the user does not have the permission to view the multimedia resource, the resource content of the multimedia resource is first displayed in the second display mode, and then the resource content of the multimedia resource is displayed in the first display mode after a certain period of time. In this way, when viewing a multimedia resource for which the user does not have the permission to view the multimedia resource, the user can view the resource content of the multimedia resource in a short period of time, and the user cannot view the resource content of the multimedia resource for a long time. This not only realizes the preview of the resource content of the multimedia resource, but also can remind the user who does not have the permission to view the multimedia resource, thereby achieving the effect of a strong reminder, and can also enhance the attractiveness of the multimedia resource to the user.
[0073] In the embodiment of the present disclosure, displaying the resource content of the multimedia resource in the second display mode refers to displaying the resource content of the multimedia resource normally, and the resource content of the multimedia resource can be seen clearly at this time.
[0074] For example, the multimedia resource is text. In response to a viewing operation on the text, the content of the text is displayed normally on the resource interface without the permission to view the text, so that when the user can view the content displayed in the resource interface through the terminal, he can know the content contained in the text.
[0075] For another example, the multimedia resource is a video. In response to a viewing operation on the video, the video is played normally in the resource interface without the viewing permission of the video, so that the user can watch the video played in the resource interface through the terminal.
[0076] In some embodiments, step S301 includes: the terminal displays multiple resource identifiers in the resource interface, different resource identifiers indicate different multimedia resources, and in response to a trigger operation on any resource identifier, displays the first multimedia resource in a second display mode without having viewing authority for the multimedia resource corresponding to the triggered resource identifier.
[0077] The resource identifier can be represented in any form, for example, the resource identifier can be represented by the name or serial number of the multimedia resource. The triggering operation on any resource identifier is equivalent to the viewing operation on the multimedia resource corresponding to the resource identifier.
[0078] For example, the multimedia resource is a chapter in a novel, and the resource identifier is the chapter title of the novel; then multiple chapter titles of the novel are displayed in the resource interface, and the user clicks on any chapter title through the terminal, then the terminal detects the viewing operation of the chapter corresponding to the chapter title, and if the terminal does not have the viewing authority for the chapter corresponding to the chapter title, the content of the chapter is displayed in the second display mode.
[0079] In some embodiments, the multimedia resources in the embodiments of the present disclosure are referred to as first multimedia resources. Step S301 includes: the terminal displays the second multimedia resource in the resource interface, and in response to the operation of switching the second multimedia resource to the first multimedia resource in the resource interface, the terminal displays the first multimedia resource in the resource interface in the second display mode without having the viewing permission for the first multimedia resource.
[0080] In the disclosed embodiment, the second multimedia resource and the first multimedia resource belong to the same resource set, and the terminal may have the right to view the second multimedia resource, or may not have the right to view the second multimedia resource. The resource set is any type of resource set, for example, if the resource set is a novel, the first multimedia resource and the second multimedia resource are different chapters in the novel; or if the resource set is a TV series, the first multimedia resource and the second multimedia resource are different episodes of the TV series.
[0081] In the disclosed embodiment, when viewing any multimedia resource in any resource set, it is possible to switch to viewing other multimedia resources in the resource set, and the resource content of the multimedia resource being viewed is displayed in different display modes in the resource interface depending on whether the user has the permission to view the multimedia resource being viewed.
[0082] In some embodiments, the terminal has viewing authority for the second multimedia resource.
[0083] In the embodiment of the present disclosure, the operation of switching the currently viewed multimedia resource to other multimedia resources belonging to the same resource set can be triggered only when the viewing permission for the currently viewed multimedia resource is possessed, so that the operation of triggering switching multimedia resources is limited when the viewing permission for the currently viewed multimedia resource is not possessed.
[0084] In some embodiments, step S301 includes: in response to a viewing operation on the multimedia resource, the terminal displays resource content of the multimedia resource in a second display mode when the account does not have viewing authority for the multimedia resource.
[0085] The account is the account that the terminal logs in. The account can be represented in any form, for example, the account is a nickname or other identifier.
[0086] In the disclosed embodiment, the terminal is logged in with an account and can view multimedia resources based on the account. For the multimedia resources being viewed, the multimedia resources can be displayed in different ways based on whether the account has the viewing authority for the multimedia resources, thereby ensuring fairness in viewing the multimedia resources.
[0087] In some embodiments, step S301 includes: the terminal logs in to the application based on the account, and the terminal responds to the viewing operation of the multimedia resource through the application, and sends a viewing request to the server, the viewing request carries the account number and the resource identifier of the multimedia resource, and the server responds to the viewing request, verifies the account number and the resource identifier, obtains the verification result, and sends the multimedia resource corresponding to the resource identifier and the verification result to the terminal. When the verification result indicates that the account does not have the viewing permission for the multimedia resource corresponding to the resource identifier, the terminal displays the resource content of the multimedia resource in a second display mode.
[0088] The verification result is used to indicate whether the account has the permission to view the multimedia resource corresponding to the resource identifier.
[0089] In the disclosed embodiment, the server is used to provide services for the application. The server stores multiple multimedia resources. The server records the resource identifiers of the multimedia resources that each account has viewing permissions for. The server responds to the viewing request and verifies the account and resource identifier to determine whether the account has viewing permissions for the multimedia resource corresponding to the resource identifier.
[0090] In some embodiments, a permission correspondence relationship is stored in the server, and the permission correspondence relationship includes at least one account and a resource identifier corresponding to each account. The server verification process includes: the server queries the permission correspondence relationship based on the account and resource identifier in the viewing request, and obtains a first verification result when the permission correspondence relationship is found to include a correspondence between the account and the resource identifier; and obtains a second verification result when the permission correspondence relationship is not found to include a correspondence between the account and the resource identifier. The first verification result indicates that the account has viewing permission for the multimedia resource corresponding to the resource identifier, and the second verification result indicates that the account does not have viewing permission for the multimedia resource corresponding to the resource identifier.
[0091] Among them, in the permission correspondence relationship, any account corresponds to any resource identifier, which means that the account has the viewing permission of the multimedia resource corresponding to the resource identifier.
[0092] In step S302, when the display duration of the resource content of the multimedia resource reaches a threshold, the terminal switches the resource content of the multimedia resource from the second display mode to the first display mode, where the first display mode indicates that the resource content is in a blurred display state.
[0093] The threshold is any time length, for example, the threshold is 5 seconds.
[0094] In an embodiment of the present disclosure, in the absence of permission to view the multimedia resource, the maximum time for displaying the resource content of the multimedia resource in the second display mode is a threshold, after which the display mode of the resource content of the multimedia resource is switched from the second display mode to the first display mode, so as to continue to display the resource content of the multimedia resource in the first display mode.
[0095] For example, when a user views a chapter of a novel through a terminal, the terminal, if it does not have the permission to view the chapter, displays the content of the chapter in the same way as it would if it had the permission to view the chapter, that is, in the second display mode. After displaying for 5 seconds, the terminal switches to displaying the content of the chapter in the first display mode.
[0096] In some embodiments, the blurriness indicated by the first display mode is a target value, and the blurriness indicated by the second display mode is 0; step 302 includes: when the display time of the resource content of the multimedia resource reaches a threshold, the terminal gradually increases the blurriness of the resource content of the multimedia resource from 0 to the target value.
[0097] The target value is any value greater than 0. Fuzziness refers to the degree of blurriness of the displayed resource content. The greater the fuzziness, the blurrier the displayed resource content, and the smaller the fuzziness, the less blurry the displayed resource content. The fuzziness of the resource content displayed in the first display mode is the target value, and the fuzziness of the resource content displayed in the second display mode is 0, that is, the resource content displayed in the second display mode is not blurry.
[0098] In the embodiment of the present disclosure, the second display mode is the same as the display mode for displaying the resource content of the multimedia resource when the multimedia resource has the viewing permission. When viewing the multimedia resource for which the viewing permission is not provided, the resource content of the multimedia resource is first displayed in the second display mode, and then after a certain period of time, the displayed resource content is blurred so that the displayed resource content gradually becomes blurred. When the blurriness of the resource content reaches the target value, the resource content of the multimedia resource is displayed in the first display mode, thereby achieving the effect of gradually changing from the first display mode to the second display mode, achieving the transition effect when switching the display mode, and ensuring the display effect of the resource content of the multimedia resource.
[0099] It should be noted that, in the embodiment of the present disclosure, when the user does not have the permission to view the multimedia resources, the resource content of the multimedia resources is first displayed in the first display mode, and then the resource content of the multimedia resources is displayed in the second display mode. In another embodiment, there is no need to execute the above steps S301-S302, but other methods are adopted. In response to the viewing operation of the multimedia resources, the resource content of the multimedia resources is displayed in the first display mode when the user does not have the permission to view the multimedia resources.
[0100] In step S303, the terminal displays part of the resource content of the multimedia resource in a second display mode in response to the preview operation of the multimedia resource, and the second display mode indicates that the part of the resource content is in a non-fuzzy display state.
[0101] In some embodiments, the resource content of the multimedia resource is displayed in the resource interface, and step S303 includes: in response to a preview operation on the multimedia resource, displaying the resource content included in the preview area in a second display mode, where the preview area is an area corresponding to the preview operation in the resource display interface, or a preset area in the resource interface.
[0102] Among them, the preview area is a partial area of the resource interface. The preset area is any area in the resource interface, for example, the preset area is a partial area in the resource interface or the entire resource interface. For example, in the case where the preset area is a partial area in the resource interface, the preset area is the area in the upper left corner of the resource interface, or, it is the central area in the resource interface. In the case where the preview area is a preset area in the resource interface, no matter which preview operation is performed on the currently displayed multimedia resource, or no matter which multimedia resource is currently displayed, the position of the preset area in the resource interface remains unchanged, that is, the preset area is a fixed area in the resource interface. The area corresponding to the preview operation will change with the preview operation, and the areas corresponding to different preview operations may be different. For example, the preview operation includes a trigger operation in the resource interface, and the preview area is related to the trigger position corresponding to the trigger operation. The trigger positions corresponding to different trigger operations may be different, and the preview areas corresponding to different trigger operations are different. In the case where the resource content of the multimedia resource is displayed in the resource interface, the resource content included in the preview area is equivalent to part of the resource content of the multimedia resource.
[0103] In an embodiment of the present disclosure, when the resource content of a multimedia resource is displayed in a first display mode in a resource interface, a portion of the content of the multimedia resource can be previewed. In response to a preview operation on the multimedia resource, the resource content included in the preview area will be displayed in a second display mode. The preview area may be a preset area in the resource interface, or it may be an area corresponding to the preview operation. Preview of a portion of the resource content of the multimedia resource can be implemented in either manner to implement a solution for previewing a portion of the resource content of the multimedia resource and ensure the preview effect.
[0104] In some embodiments, the preview operation includes a sliding operation in the resource interface, and the preview area is the area passed by the sliding operation in the resource interface, or the preview area is the area included in a closed sliding track in the resource interface, and the sliding track is the track of the sliding operation.
[0105] The preview operation is a sliding operation in the resource interface. The sliding operation can be any sliding operation, and can also be a sliding operation that outlines a closed sliding track in the resource interface.
[0106] In the disclosed embodiment, the preview area is the area passed by the sliding operation in the resource interface, or the area included in the closed sliding track outlined by the sliding operation. By triggering any sliding operation in the resource interface, any preview area can be specified, and then the resource content contained in the preview area is displayed in the second display mode, which enables the resources contained in any local area in the resource interface to be displayed in the second display mode, enriching the convenience of resource content preview, ensuring the preview effect, and improving the efficiency of human-computer interaction.
[0107] In some embodiments, the preview operation includes a sliding operation in the resource interface, and the process of previewing part of the resource content of the multimedia resource includes: when the sliding operation is triggered and the sliding is performed, the resource content included in the area passed by the sliding operation is displayed in the second display mode; when the sliding track of the sliding operation is a closed sliding track, while maintaining the second display mode for displaying the resource content included in the area passed by the sliding operation, the resource content in the area included in the closed sliding track is displayed in the second display mode.
[0108] In an embodiment of the present disclosure, when the resource content of a multimedia resource is displayed in a first display mode in a resource interface, an arbitrary sliding operation can be triggered in the resource interface so as to display the resource content in the area passed by the sliding operation, and when the sliding track of the sliding operation constitutes a closed space, the resource content in the area included in the closed sliding track can be displayed at the same time, thereby enriching the method of previewing part of the resource content in the multimedia resources, meeting the different needs of users, and ensuring the convenience of previewing the resource content.
[0109] like Figure 4 As shown, the user triggers a sliding operation through the terminal at any position in the resource interface, and draws a closed sliding track in the resource interface through the sliding operation. When the sliding track of the sliding operation does not constitute a closed sliding track, only the resource content included in the area passed by the sliding operation is displayed. When the sliding track of the sliding operation constitutes a closed sliding track, not only the resource content included in the area passed by the sliding operation is displayed, but also the resource content in the area contained in the circular sliding track.
[0110] In some embodiments, the preview operation includes a trigger operation in the resource interface; the step S303 includes: determining a preview area from the resource interface based on a trigger position corresponding to the trigger operation.
[0111] The trigger operation is any operation, for example, the trigger operation is a click operation on any position in the resource interface, or a press operation on any position in the resource interface.
[0112] In the embodiment of the present disclosure, the position of the preview area in the resource interface is related to the trigger position corresponding to the trigger operation in the resource interface. Based on the trigger position corresponding to the trigger operation, the preview area is determined from the resource interface so that the user can trigger the operation at any position in the resource interface, so that the user can select any preview area from the resource interface to preview the content of the multimedia resource, thereby ensuring the flexibility of resource content preview.
[0113] In some embodiments, the process of determining the preview area includes: determining a circular area with the trigger position as the center and the first value as the radius as the preview area; or determining a square area with the trigger position as the center and the side lengths of the second value and the third value as the preview area.
[0114] The first value, the second value or the third value are all arbitrary values, and the first value, the second value or the third value are equal or unequal. For a square area, the length of the square area is the second value, and the width of the square area is the third value; or, the length of the square area is the third value, and the width of the square area is the second value.
[0115] In the disclosed embodiment, the preview area is a circular area or a square area. A trigger swipe operation at any position in the resource interface can preview the resource content in the circular area or square area centered on the trigger position corresponding to the trigger operation, thereby realizing that resource content within a certain range can be previewed with only one trigger operation. Users no longer need to perform complex operations to preview, thereby ensuring the convenience of resource content preview and, at the same time, ensuring the preview effect of the resource content.
[0116] In some embodiments, the first value is related to the target ratio corresponding to the account logged in on the local end, that is, the method of determining the first value includes: determining the first value based on the target ratio corresponding to the account, and the first value is positively correlated with the target ratio.
[0117] The multimedia resources belong to a resource set, the target ratio is the ratio of the first quantity to the second quantity, the first quantity is the number of multimedia resources with viewing permissions in the resource set, and the second quantity is the total number of multimedia resources in the resource set.
[0118] In the disclosed embodiment, the first numerical value is positively correlated with the target ratio corresponding to the account, that is, the larger the target ratio is, the larger the first numerical value is, and the smaller the target ratio is, the smaller the first numerical value is. In this way, the area of the preview area subsequently determined is positively correlated with the target ratio corresponding to the account, so that when the target ratio corresponding to the account is larger, the preview area is larger, and more resource content can be previewed, enriching the various possibilities of content preview, thereby ensuring information transmission efficiency, and can also encourage the account to interact with the resource collection to obtain viewing rights for more multimedia resources in the resource collection, thereby ensuring the interactive effect.
[0119] In some embodiments, the process of determining the first value includes: determining the first value based on the product of the fourth value and the target ratio, wherein the fourth value is an arbitrary value, for example, the fourth value is the length or width of the resource interface.
[0120] In some embodiments, the second value and the third value are related to the target ratio corresponding to the account logged in on the local end, that is, the method of determining the second value and the third value includes: determining the second value and the third value based on the target ratio corresponding to the account, and the second value and the third value are both positively correlated with the target ratio.
[0121] In some embodiments, the process of determining the second value and the third value includes: determining the second value based on the product of the fifth value and the target ratio, and determining the third value based on the product of the sixth value and the target ratio. Wherein, the fifth value and the sixth value are both arbitrary values, for example, the fifth value is the length of the resource interface, the sixth value is the width of the resource interface, then the second value is the length of the square area, and the third value is the width of the square area.
[0122] It should be noted that the process of determining the second value and the third value is the same as the process of determining the first value, and will not be repeated here.
[0123] In some embodiments, the preview area can be updated during the preview process so as to preview the contents of different areas. That is, the method further includes: in response to a drag operation on the preview area, updating the position of the preview area in the resource interface.
[0124] The drag operation refers to an operation of moving while maintaining the trigger operation, or an operation of moving the preview area when the preview area is displayed after the trigger operation.
[0125] In an embodiment of the present disclosure, when the resource content in the preview area is displayed in the second display mode in the resource interface, the position of the preview area in the resource interface can be updated by dragging the preview area, and then the previewed resource content can be updated, which can meet the different needs of users and ensure the flexibility of resource content preview.
[0126] For example, the trigger operation is a pressing operation on a certain position in the resource interface, and the operation of moving while maintaining the pressing operation is a drag operation. If the user presses a certain position in the resource interface through the terminal and keeps pressing to move, the terminal is equivalent to detecting the drag operation. When the user presses a certain position in the resource interface through the terminal, the terminal displays the resource content in a circular area or a square area centered on the position in the second display mode in the above manner. The user triggers a drag operation in the resource interface while maintaining the pressing, then the terminal is equivalent to detecting a drag operation on the preview area. The terminal will update the position of the preview area in the resource interface so that the preview area is always centered on the trigger position corresponding to the drag operation, so as to preview the resource content in different areas of the resource interface.
[0127] For another example, when the terminal responds to a trigger operation and displays the resource content in the preview area in the resource interface in the second display mode, the user can trigger a drag operation on the preview area through the terminal. That is, when the user presses a position in the preview area through the terminal and keeps pressing to move, the terminal is equivalent to detecting the drag operation. During the dragging process, the terminal will update the position of the preview area in the resource interface to show that the position of the preview area in the resource interface changes with the dragging operation, so as to preview the resource content in different areas of the resource interface.
[0128] In some embodiments, the blurriness indicated by the first display mode is a target value, and the blurriness indicated by the second display mode is 0; step 302 includes: the terminal responds to the preview operation of the multimedia resource, and gradually reduces the blurriness of the resource content in the preview area from the target value to 0.
[0129] In the embodiment of the present disclosure, the blurriness of the resource content in the preview area is gradually reduced from the target value to 0, indicating that the resource content in the preview area is gradually changed from a blurred state to a non-blurred state. When the blurriness of the resource content in the preview area reaches 0, it is equivalent to displaying the resource content in the preview area in the second display mode.
[0130] In the disclosed embodiment, when part of the resource content of a multimedia resource is in a blurred display state and a preview is performed on the part of the resource content of the multimedia resource so that the part of the resource content of the multimedia resource gradually becomes clear, and when the blurriness of the resource content in the preview area reaches 0, it is equivalent to displaying the resource content in the preview area in the second display mode, thereby achieving an effect of gradually changing from the first display mode to the second display mode, achieving a transition effect when switching the display mode, and ensuring the display effect of the resource content of the multimedia resource.
[0131] In step S304, in response to the preview operation being completed, the terminal switches part of the resource content of the multimedia resource from the second display mode to the first display mode.
[0132] In the disclosed embodiment, since the user does not have the permission to view the multimedia resources, when the preview operation is completed, the resource content currently displayed in the second display mode is restored to be displayed in the first display mode, so that when the user does not have the permission to view the multimedia resources, the resource content in the multimedia resources cannot be displayed in the second display mode for a long time, thereby ensuring the fairness and security of the display of the resource content.
[0133] In some embodiments, the blurriness indicated by the first display mode is a target value, and the blurriness indicated by the second display mode is 0; step 302 includes: in response to the end of the preview operation, the terminal gradually reduces the blurriness of part of the resource content of the multimedia resource from 0 to the target value.
[0134] In an embodiment of the present disclosure, when previewing partial resource content of a multimedia resource, in response to the end of the preview operation, the partial resource content of the multimedia resource is gradually blurred. When the blurriness of the partial resource content of the multimedia resource reaches the target, it is equivalent to displaying the partial resource content of the multimedia resource in the first display mode, achieving the effect of gradually changing from the second display mode to the first display mode, achieving the transition effect when switching the display mode, and ensuring the display effect of the resource content of the multimedia resource.
[0135] In some embodiments, the preview operation is a sliding operation, and the preview operation ends when the sliding operation ends; or, the preview operation is a triggering operation, and the preview operation ends when the triggering operation ends.
[0136] In the embodiment of the present disclosure, the end of the sliding operation means that the sliding operation stops and no longer presses any position in the resource interface, and the terminal can no longer detect the sliding operation. The triggering operation means that no longer presses any position in the resource interface, and the terminal can no longer detect the triggering operation.
[0137] It should be noted that the embodiment of the present disclosure uses the example of canceling the preview after the preview operation is completed, and in another embodiment, the above step S304 does not need to be performed, but other methods are adopted to cancel the preview. In some embodiments, when the preview duration reaches the target duration, part of the resource content of the multimedia resource is switched from the second display mode to the first display mode. The target duration is any duration, for example, the target duration is 10 seconds.
[0138] It should be noted that in the embodiment of the present disclosure, when the preview operation is completed, the resource content currently displayed in the second display mode is restored to be displayed in the first display mode. In another embodiment, there is no need to execute the above step S304. Instead, when the preview operation is completed, part of the resource content of the media resource remains displayed in the second display mode.
[0139] In the scheme provided by the present disclosure, when the user does not have the permission to view the multimedia resource, the resource content of the multimedia resource is displayed in a first display mode. When the resource content of the multimedia resource is displayed in the first display mode, by triggering a preview operation on the multimedia resource, part of the resource content of the multimedia resource can be displayed in a second display mode. In this way, when viewing a multimedia resource for which the user does not have the permission to view, the resource content of the multimedia resource is in a fuzzy display state, so that the resource content of the multimedia resource is not clearly displayed, and the user cannot see the resource content of the multimedia resource through the terminal, so as to remind the user that he does not have the permission to view the multimedia resource, thereby achieving a strong reminder effect. Moreover, when the user does not have the permission to view the multimedia resource, part of the resource content of the multimedia resource can also be previewed, so that part of the resource content of the multimedia resource is clearly displayed, so that the user can know part of the resource content of the multimedia resource, thereby ensuring information transmission efficiency, and enriching the way of viewing the resource content of the multimedia resource, ensuring the display effect of the resource content, thereby improving the user experience.
[0140] In the above Figure 2 On the basis of the illustrated embodiment, in the embodiment of the present disclosure, when viewing a multimedia resource for which viewing permission is not granted, permission prompt information can be displayed, and viewing permission can be acquired based on the permission prompt information. The specific process is described in detail in the following embodiment.
[0141] Figure 5 is a flowchart of another multimedia resource display method according to an exemplary embodiment. Figure 5 As shown, taking the method executed by a terminal as an example, the method includes:
[0142] In step S501, the terminal responds to a viewing operation on a multimedia resource. When the terminal does not have permission to view the multimedia resource, the terminal displays the resource content of the multimedia resource in a first display mode and displays permission prompt information. The first display mode indicates that the resource content is in a blurred display state, and the permission prompt information is used to prompt that the terminal does not have permission to view the multimedia resource.
[0143] In the disclosed embodiment, when viewing a multimedia resource for which one does not have permission to view the multimedia resource, not only will the resource content of the multimedia resource be displayed in the first display mode, but permission prompt information will also be displayed to indicate that one does not have permission to view the multimedia resource. The reminder can be given not only in a blurred display mode, but also in a mode of displaying permission prompt information to obtain a strong reminder effect.
[0144] The permission prompt information may be expressed in any form, for example, the permission prompt information may be expressed in a text form.
[0145] In some embodiments, the method of displaying resource content and permission prompt information includes: in response to a viewing operation on a multimedia resource, the terminal displays the resource content of the multimedia resource in a first display mode in the resource interface without having viewing permission for the multimedia resource, and displays permission prompt information above the resource content.
[0146] In the disclosed embodiment, not only is the resource content of the multimedia resource displayed in the resource interface in the first display mode, but the permission prompt information is also displayed on the resource content to reflect that the permission prompt information is overlaid on the resource content, so that the permission prompt information can be highlighted, allowing the user to view the permission prompt information, thereby achieving the effect of a strong reminder.
[0147] In some embodiments, when viewing a multimedia resource for which the terminal does not have viewing permission, the terminal first displays the resource content of the multimedia resource in the second display mode, and then displays the resource content of the multimedia resource in the first display mode. The process of displaying permission prompt information includes: in response to a viewing operation on the multimedia resource, the terminal displays the resource content of the multimedia resource in the second display mode without having viewing permission for the multimedia resource, and when the display time of the resource content of the multimedia resource reaches a threshold, gradually increases the fuzziness of the resource content of the multimedia resource from 0 to a target value, and when the fuzziness of the resource content of the multimedia resource reaches the target value, displays permission prompt information.
[0148] In the embodiment of the present disclosure, the blurriness indicated by the first display mode is a target value, and the blurriness indicated by the second display mode is 0.
[0149] In the disclosed embodiment, when the fuzziness of the resource content of the multimedia resource reaches the target value, which is equivalent to displaying the resource content of the multimedia resource in the first display mode, the permission prompt information will be displayed at this time. While ensuring a preview of part of the resource content of the multimedia resource, when the resource content of the multimedia resource is in a blurred display state, the permission prompt information can be displayed in time, so as to timely remind those who do not have the viewing permission for the multimedia resource and ensure the reminder effect.
[0150] In step S502, the terminal displays part of the resource content of the multimedia resource in a second display mode in response to a preview operation on the multimedia resource, and the second display mode indicates that the part of the resource content is in a non-fuzzy display state.
[0151] The step S502 is similar to the above step S303 and will not be described again.
[0152] In step S503, in response to the permission acquisition operation for the permission prompt information, the terminal switches the resource content of the multimedia resource from the first display mode to the second display mode when the viewing permission for the multimedia resource is acquired.
[0153] In the disclosed embodiment, the permission prompt information is also used to obtain the permission to view multimedia resources. The user can trigger the permission acquisition operation through the terminal based on the displayed permission prompt information to obtain the permission to view the multimedia resources, thereby ensuring the convenience of obtaining the viewing permission. When the permission to view the multimedia resources is obtained, the display method of the resource content of the multimedia resources can be updated so that the display method of the resource content matches whether the user has the permission to view the multimedia resources, thereby ensuring the accuracy of the displayed resource content.
[0154] In some embodiments, the permission prompt information includes the number of virtual resources and a confirmation option, and the process of obtaining viewing permissions includes: the terminal sends a permission acquisition request to the server in response to a trigger operation on the confirmation option, the permission acquisition request carries the account logged in by the terminal and the resource identifier of the multimedia resource, the server responds to the permission acquisition request, deducts the virtual resources of the number of virtual resources from the virtual resources owned by the account, and when the resource deduction is successful, adds the correspondence between the account and the resource identifier to the permission correspondence, sends a successful acquisition notification to the terminal, and the terminal responds to the successful acquisition notification by switching the resource content of the multimedia resource from the first display mode to the second display mode.
[0155] The number of virtual resources is used to represent the virtual resources required to obtain the viewing authority of the multimedia resource.
[0156] In the disclosed embodiment, the server is used to manage multimedia resources and the viewing rights of each account to each multimedia resource. When the virtual resources owned by the account are sufficient to obtain the viewing rights of the multimedia resources, the virtual resources of the number of virtual resources will be deducted from the virtual resources owned by the account, so as to obtain the viewing rights of the multimedia resources for the account, and the corresponding relationship between the account and the resource identifier will be added to the permission corresponding relationship stored in the server, so that when viewing the multimedia resources later, it can be determined whether the account has the viewing rights of the multimedia resources based on the permission redemption relationship. In addition, when the virtual resources owned by the account are not sufficient to obtain the viewing rights of the multimedia resources, the server sends a failed acquisition notification to the terminal, and the terminal will display the failed acquisition notification to remind the user that the resource content of the multimedia resource cannot be obtained.
[0157] It should be noted that the embodiment of the present disclosure is described by taking the execution of step S502 and then step S503 as an example, while in another embodiment, after step S501, step S503 can be directly executed without executing the above step S502.
[0158] In the scheme provided by the present disclosure, when the user does not have the permission to view the multimedia resource, the resource content of the multimedia resource is displayed in a first display mode. When the resource content of the multimedia resource is displayed in the first display mode, by triggering a preview operation on the multimedia resource, part of the resource content of the multimedia resource can be displayed in a second display mode. In this way, when viewing a multimedia resource for which the user does not have the permission to view, the resource content of the multimedia resource is in a fuzzy display state, so that the resource content of the multimedia resource is not clearly displayed, and the user cannot see the resource content of the multimedia resource through the terminal, so as to remind the user that he does not have the permission to view the multimedia resource, thereby achieving a strong reminder effect. Moreover, when the user does not have the permission to view the multimedia resource, part of the resource content of the multimedia resource can also be previewed, so that part of the resource content of the multimedia resource is clearly displayed, so that the user can know part of the resource content of the multimedia resource, thereby ensuring information transmission efficiency, and enriching the way of viewing the resource content of the multimedia resource, ensuring the display effect of the resource content, thereby improving the user experience.
[0159] It should be noted that in the above Figure 2 On the basis of the illustrated embodiment, in the disclosed embodiment, a mask is displayed on the resource content of the multimedia resource, and the state of the resource content is adjusted to a blurred display state or a non-blurred display state by adjusting the transparency of the mask. The specific process is detailed in the following embodiment.
[0160] Figure 6 is a flowchart of another multimedia resource display method according to an exemplary embodiment. Figure 6As shown, taking the method executed by a terminal as an example, the method includes:
[0161] In step S601, in response to a viewing operation on a multimedia resource, the terminal displays resource content of the multimedia resource and displays a mask on the resource content of the multimedia resource without having viewing authority for the multimedia resource, wherein the transparency of the mask is less than 1.
[0162] In the disclosed embodiment, when viewing a multimedia resource for which viewing permission is not granted, the resource content of the multimedia resource is displayed, and a mask with a transparency less than 1 is displayed on the resource content to achieve a blurred display effect of the resource content of the multimedia resource. At this time, the resource content of the multimedia resource is in a blurred display state, which is equivalent to displaying the resource content of the multimedia resource in the first display mode, thereby ensuring the feasibility of blurred display of the resource content of the multimedia resource, and further ensuring the display effect of the resource content.
[0163] In the disclosed embodiment, the transparency of the mask layer ranges from [0 to 1]. When the transparency of the mask layer is 1, it means that the mask layer will not block the resource content of the multimedia resource. When the transparency of the mask layer is less than 1, it means that the mask layer will block the resource content of the multimedia resource, making the blocked resource content blurred. When the transparency of the mask layer is 0, it means that the mask layer completely blocks the resource content of the multimedia resource, making the blocked resource content unable to be displayed.
[0164] It should be noted that the embodiment of the present disclosure is explained by taking the example of displaying a mask with a transparency less than 1 on the resource content of a multimedia resource, while in another embodiment, there is no need to execute the above-mentioned step S601, but other methods are adopted. In response to the viewing operation of the multimedia resource, in the case of not having the viewing permission for the multimedia resource, the resource content of the multimedia resource is displayed in a first display mode, and the first display mode indicates that the resource content is in a blurred display state.
[0165] In step S602 , the terminal adjusts the transparency of a local mask on a portion of resource content of the multimedia resource to 1 in response to a preview operation on the multimedia resource.
[0166] In the disclosed embodiment, a mask covers the resource content of a multimedia resource. When a portion of the resource content of the multimedia resource is previewed, the transparency of the local mask on the portion of the resource content of the multimedia resource is adjusted to 1, that is, the transparency of the partial area of the mask is adjusted to 1, so that the resource content covered by the partial area of the mask with a transparency of 1 is displayed, so that this portion of the resource content reaches a non-blurred display state, which is equivalent to displaying the partial resource content of the multimedia resource in the second display mode, thereby ensuring the feasibility of previewing the partial resource content of the multimedia resource, and further ensuring the preview effect of the resource content.
[0167] In some embodiments, the resource content of the multimedia resource is displayed in the resource interface, and step 602 includes: in response to a preview operation on the multimedia resource, adjusting the transparency of the local mask on the preview area to 1.
[0168] In an embodiment of the present disclosure, the preview area is a preset area in the resource interface, or an area corresponding to a preview operation in the resource interface. In response to a preview operation on a multimedia resource, the transparency of a local mask on the preview area is adjusted to 1 to display the resource content in the preview area, thereby ensuring the preview effect of the resource content.
[0169] It should be noted that the embodiment of the present disclosure is described by taking the example of displaying a mask with a transparency less than 1 on the resource content of a multimedia resource, while in another embodiment, there is no need to execute the above step S601, and in response to a preview operation on the multimedia resource, part of the resource content of the multimedia resource is displayed in a second display mode, and the second display mode indicates that part of the resource content is in a non-blurred display state.
[0170] In the scheme provided by the present disclosure, when the user does not have the permission to view the multimedia resource, the resource content of the multimedia resource is displayed in a first display mode. When the resource content of the multimedia resource is displayed in the first display mode, by triggering a preview operation on the multimedia resource, part of the resource content of the multimedia resource can be displayed in a second display mode. In this way, when viewing a multimedia resource for which the user does not have the permission to view, the resource content of the multimedia resource is in a fuzzy display state, so that the resource content of the multimedia resource is not clearly displayed, and the user cannot see the resource content of the multimedia resource through the terminal, so as to remind the user that he does not have the permission to view the multimedia resource, thereby achieving a strong reminder effect. Moreover, when the user does not have the permission to view the multimedia resource, part of the resource content of the multimedia resource can also be previewed, so that part of the resource content of the multimedia resource is clearly displayed, so that the user can know part of the resource content of the multimedia resource, thereby ensuring the efficiency of information transmission, and enriching the way of viewing the resource content of the multimedia resource, ensuring the display effect of the resource content, thereby improving the user experience.
[0171] In the above Figure 2 On the basis of the illustrated embodiment, in the disclosed embodiment, when previewing partial resource content of a multimedia resource for which viewing permission is not granted, a preview area of the resource interface that occupies a target proportion will be determined so that the resource content in the preview area can be displayed. The specific process is described in detail in the following embodiment.
[0172] Figure 7 is a flowchart of another multimedia resource display method according to an exemplary embodiment. Figure 7As shown, taking the method executed by a terminal as an example, the method includes:
[0173] In step S701, in response to a viewing operation on a multimedia resource, the terminal displays the resource content of the multimedia resource in a first display mode in a resource interface without having viewing authority for the multimedia resource. The first display mode indicates that the resource content is in a blurred display state and the multimedia resource belongs to a resource collection.
[0174] The step S701 is the same as the above step S301 and will not be described again.
[0175] In step S702, the terminal responds to the preview operation of the multimedia resources and determines a preview area from the resource interface based on the target ratio. The proportion of the preview area in the resource interface is the target ratio, and the target ratio is the ratio of the first number to the second number. The first number is the number of multimedia resources with viewing permissions in the resource collection, and the second number is the total number of multimedia resources in the resource collection.
[0176] In an embodiment of the present disclosure, when the resource content of a multimedia resource is displayed in a first display mode, in response to a preview operation on the multimedia resource, a preview area is determined from the resource interface according to a target ratio so that the area of the preview area is proportional to the target ratio, so that the resource content in the preview area can be subsequently displayed in a second display mode, so that the larger the target ratio, the larger the preview area, and more resource content can be previewed, thereby enriching the various possibilities of content preview, thereby ensuring the efficiency of information transmission, and also enabling the account to interact with the resource collection to obtain viewing permissions for more multimedia resources in the resource collection, thereby ensuring the interactive effect.
[0177] The preview area is located anywhere in the resource interface.
[0178] In some embodiments, the preview area is a preset area in the resource interface, or is an area corresponding to the preview operation in the resource interface, and the area of the preview area is positively correlated with the target ratio.
[0179] In some embodiments, the target ratio is the ratio corresponding to the account logged in by the terminal, and the target ratio is the ratio of the number of multimedia resources in the resource set that the account has viewing authority for to the total number of multimedia resources in the resource set.
[0180] In some embodiments, a permission correspondence relationship is stored in the server, and the permission correspondence relationship includes at least one account and a resource identifier corresponding to each account. The process of determining the preview area includes: the terminal sends a preview request to the server in response to a preview operation on the multimedia resource, and the preview request carries the account logged in by the terminal and the resource identifier of the multimedia resource. The server responds to the preview request and queries the permission correspondence relationship based on the account and resource identifier in the preview request to determine the number of resource identifiers that have a corresponding relationship with the account among the resource identifiers belonging to the same resource set as the resource identifier, and determines the ratio of the determined resource number to the total number of resource identifiers in the resource set as the target ratio, and sends the target ratio to the terminal. The terminal determines the preview area from the resource interface based on the target ratio.
[0181] Among them, in the permission correspondence relationship, any account corresponds to any resource identifier, which means that the account has the viewing permission of the multimedia resource corresponding to the resource identifier.
[0182] In step S703, the terminal displays the resource content in the preview area in a second display mode, where the second display mode indicates that part of the resource content is in a non-blurred display state.
[0183] The step S703 is the same as the above step S303 and will not be described again.
[0184] It should be noted that, in the embodiment of the present disclosure, the preview area is first determined based on the target ratio, and then the resource content in the preview area is displayed in the second display mode. In another embodiment, there is no need to execute the above steps S702-S703, but other methods are adopted to display part of the resource content of the multimedia resource in the second display mode in response to the preview operation of the multimedia resource.
[0185] In the scheme provided by the present disclosure, when the user does not have the permission to view the multimedia resource, the resource content of the multimedia resource is displayed in a first display mode. When the resource content of the multimedia resource is displayed in the first display mode, by triggering a preview operation on the multimedia resource, part of the resource content of the multimedia resource can be displayed in a second display mode. In this way, when viewing a multimedia resource for which the user does not have the permission to view, the resource content of the multimedia resource is in a fuzzy display state, so that the resource content of the multimedia resource is not clearly displayed, and the user cannot see the resource content of the multimedia resource through the terminal, so as to remind the user that he does not have the permission to view the multimedia resource, thereby achieving a strong reminder effect. Moreover, when the user does not have the permission to view the multimedia resource, part of the resource content of the multimedia resource can also be previewed, so that part of the resource content of the multimedia resource is clearly displayed, so that the user can know part of the resource content of the multimedia resource, thereby ensuring information transmission efficiency, and enriching the way of viewing the resource content of the multimedia resource, ensuring the display effect of the resource content, thereby improving the user experience.
[0186] In the above Figures 2 to 7 Based on the embodiment shown, if the multimedia resource is text or video, different information will be displayed in response to a preview operation on the multimedia resource when the user does not have the viewing authority for the multimedia resource.
[0187] In some embodiments, the multimedia resource is text; and the process of displaying part of the resource content of the multimedia resource in the second display mode includes: in response to a preview operation on the multimedia resource, displaying key information included in the text in the second display mode.
[0188] Among them, the key information is the keywords or wonderful text fragments in the text. The key information included in the text is equivalent to the resource content of the multimedia resource.
[0189] In an embodiment of the present disclosure, in response to a preview operation on a multimedia resource, key information included in the text is displayed in a second display mode for user viewing, so that the user can obtain the key information of the text, thereby enriching the information preview method, ensuring the display effect of the resource content, and enhancing the attractiveness of the multimedia resources to users.
[0190] In some embodiments, the process of displaying key information includes: in response to a preview operation on the multimedia resource, displaying information in the preview area in a second display mode.
[0191] In the embodiment of the present disclosure, when text is displayed in the resource interface, the area occupied by key information in the text in the resource interface is equivalent to the preview area, that is, the information in the preview area is the key information in the text.
[0192] In some embodiments, the process of displaying the key information includes: in response to a preview operation on the multimedia resource, displaying the key information in the preview area in a second display mode.
[0193] In an embodiment of the present disclosure, the preview area is a preset area in the resource interface, or is an area corresponding to a preview operation in the resource interface. In response to a preview operation on a multimedia resource, key information in the information contained in the preview area is displayed in a second display mode, and non-key information in the preview area remains displayed in a first display mode. In this way, the displayed key information can be ensured to be convenient for users to view, so that users can obtain key information of the text, enriching the information preview method, ensuring the display effect of the resource content, and enhancing the attractiveness of multimedia resources to users.
[0194] In some embodiments, the multimedia resource is a video; the video is not played when the video screen is displayed in a first display mode; the process of displaying part of the resource content of the multimedia resource in a second display mode includes: in response to a preview operation on the multimedia resource, playing the video, displaying a first sub-screen of the video screen in the first display mode, and displaying a second sub-screen of the video screen in the second display mode, wherein the first sub-screen is the screen of the video screen excluding the second sub-screen.
[0195] The video screen of the video is equivalent to the resource content of the multimedia resource, the first sub-screen is part of the resource content of the multimedia resource, and the second sub-screen is also part of the resource content of the multimedia resource.
[0196] In an embodiment of the present disclosure, in response to a viewing operation on a multimedia resource, without having permission to view the multimedia resource, a video screen of a video is displayed in a first display mode and the video is not played; in response to a preview operation on the multimedia resource, the video is played, a first sub-screen of the video screen is displayed in a first display mode, and a second sub-screen of the video screen is displayed in a second display mode, so that a portion of the video screen can be in a non-blurred display state, so that a user can view a portion of the video screen of the video, thereby implementing a video preview solution and ensuring a preview effect.
[0197] In some embodiments, when the video is not played, the video screen displayed in the first display mode is a certain video screen in the video or a cover of the video.
[0198] In some embodiments, the process of displaying part of the resource content of a multimedia resource in a second display mode includes: in response to a preview operation on the multimedia resource, playing a video, displaying the video screen in the preview area in the second display mode, and displaying the video screen in the area outside the preview area in the resource interface in the first display mode.
[0199] In the embodiment of the present disclosure, displaying the video screen in the area outside the preview area in the resource interface in the first display mode is equivalent to the first sub-screen, and displaying the video screen in the preview area in the second display mode is equivalent to the second sub-screen. The preset area is a preset area in the resource interface, or an area corresponding to the preview operation in the resource interface.
[0200] In some embodiments, the multimedia resource is a video; the process of displaying part of the resource content of the multimedia resource in the second display mode includes: in response to a preview operation on the multimedia resource, displaying segment prompt information, the segment prompt information indicating a video segment in the video that can be previewed; in response to a confirmation operation on the segment prompt information, maintaining display of the resource content of the multimedia resource in the first display mode, and displaying the video segment indicated by the segment prompt information in the second display mode.
[0201] Among them, the segment prompt information can be displayed in any form, for example, the segment prompt information is displayed in the form of text, or displayed as a prompt mark in the progress bar of the video. The prompt mark can be expressed in any form, such as the prompt mark is a circle or other shapes.
[0202] In the embodiment of the present disclosure, during the preview operation of a multimedia resource, segment prompt information is displayed so that, based on the segment prompt information, the video segment indicated by the segment prompt information is displayed in a second display mode, and the resource content of the multimedia resource is kept displayed in the first display mode, so that even if the user does not have the permission to view the multimedia resource, the video segment of the multimedia resource can be previewed, so that the user can know part of the content of the video, thereby enriching the way of previewing the video and ensuring the efficiency of information transmission.
[0203] In some embodiments, the fragment prompt information is represented in the form of text or image, and the process of displaying the video fragment includes: displaying the video screen of the video in the first display mode in the resource interface, in response to a preview operation on the video, displaying at least one fragment prompt information in the resource interface; in response to a trigger operation on any fragment prompt information, keeping the video screen of the video displayed in the first display mode in the resource interface, and displaying the video fragment indicated by the fragment prompt information in the second display mode in a pop-up window.
[0204] In the embodiment of the present disclosure, when a user does not have the permission to view the video, the video clips that can be previewed in the video are displayed in a pop-up window when previewing the video to ensure the preview effect of the video.
[0205] In some embodiments, the segment prompt information is a prompt icon in a progress bar of the video, and the process of displaying the video segment includes: displaying the video screen of the video in a first display mode in the resource interface, in response to a preview operation on the video, displaying a progress bar of the video in the resource interface, wherein at least one prompt icon is displayed in the progress bar, in response to a triggering operation on any prompt icon in the progress bar, maintaining the video screen of the video displayed in the first display mode in the resource interface, and displaying the video segment indicated by the prompt icon in a second display mode in a pop-up window.
[0206] In the disclosed embodiment, in the case of not having the permission to view the video, the prompt mark in the progress bar of the video serves as segment prompt information, so that the user can know the progress of the video segment that can be previewed in the video. When previewing the video, the video segment that can be previewed in the video is displayed in the form of a pop-up window to ensure the preview effect of the video.
[0207] It should be noted that the above-mentioned various embodiments can be combined arbitrarily.
[0208] For example, taking the multimedia resource as a chapter of a novel, the user views chapter 1 of the novel through the terminal, and the terminal displays the content of chapter 1 in the resource interface, and the displayed mask covers the resource interface, and the transparency of the mask is 1, so as to realize the display of the content of chapter 1 in the second display mode, and the displayed resource interface is as follows: Figure 8 When the display time of Chapter 1 reaches 5 seconds, the transparency of the mask layer is gradually reduced from 1, so that the content of Chapter 1 in the resource interface gradually becomes blurred, and the displayed resource interface is as follows: Figure 8 When the transparency of the mask is reduced to the preset value, the permission prompt information is displayed in the resource interface. The displayed resource interface is as follows: Figure 8 As shown in the right figure in the figure. When the user selects "Unlock 10 Chapters" through the terminal, the user clicks the "Confirm" option through the terminal to unlock the viewing rights of Chapters 1 to 10. The user slides through the resource interface through the terminal to gradually increase the transparency of the mask in the area where the sliding operation passes from the preset value to 1, so that the text contained in the area where the sliding operation passes can be displayed.
[0209] Fig. 9 is a block diagram of a multimedia resource display device according to an exemplary embodiment. Fig. 9 , the device comprises:
[0210] The display unit 901 is configured to execute, in response to a viewing operation on a multimedia resource, displaying resource content of the multimedia resource in a first display mode without having viewing authority for the multimedia resource, wherein the first display mode indicates that the resource content is in a blurred display state;
[0211] The display unit 901 is further configured to display part of the resource content of the multimedia resource in a second display mode in response to a preview operation on the multimedia resource, and the second display mode indicates that the part of the resource content is in a non-fuzzy display state.
[0212] In the scheme provided by the present disclosure, when the user does not have the permission to view the multimedia resource, the resource content of the multimedia resource is displayed in a first display mode. When the resource content of the multimedia resource is displayed in the first display mode, by triggering a preview operation on the multimedia resource, part of the resource content of the multimedia resource can be displayed in a second display mode. In this way, when viewing a multimedia resource for which the user does not have the permission to view, the resource content of the multimedia resource is in a fuzzy display state, so that the resource content of the multimedia resource is not clearly displayed, and the user cannot see the resource content of the multimedia resource through the terminal, so as to remind the user that he does not have the permission to view the multimedia resource, thereby achieving a strong reminder effect. Moreover, when the user does not have the permission to view the multimedia resource, part of the resource content of the multimedia resource can also be previewed, so that part of the resource content of the multimedia resource is clearly displayed, so that the user can know part of the resource content of the multimedia resource, thereby ensuring information transmission efficiency, and enriching the way of viewing the resource content of the multimedia resource, ensuring the display effect of the resource content, thereby improving the user experience.
[0213] In some embodiments, the display unit 901 is configured to execute a response to a viewing operation, and display the resource content of the multimedia resource in a second display mode when the viewing permission is not provided; when the display time of the resource content of the multimedia resource reaches a threshold, the resource content of the multimedia resource is switched from the second display mode to the first display mode.
[0214] In some embodiments, the display unit 901 is further configured to execute, in response to a viewing operation, a permission prompt message when the viewing permission is not granted, wherein the permission prompt message is used to indicate that the viewing permission is not granted.
[0215] In some embodiments, the permission prompt information is also used to obtain viewing permissions; the display unit 901 is also configured to execute a permission acquisition operation in response to the permission prompt information, and when the viewing permission is obtained, the resource content of the multimedia resource is switched from the first display mode to the second display mode.
[0216] In some embodiments, the display unit 901 is further configured to switch part of the resource content of the multimedia resource from the second display mode to the first display mode in response to the end of the preview operation.
[0217] In some embodiments, the display unit 901 is configured to execute, in response to a viewing operation, display resource content of the multimedia resource without viewing permission, and display a mask on the resource content of the multimedia resource, wherein the transparency of the mask is less than 1.
[0218] In some embodiments, the resource content of the multimedia resource is displayed in the resource interface, and the display unit 901 is configured to execute in response to the preview operation, and display the resource content included in the preview area in a second display mode. The preview area is the area corresponding to the preview operation in the resource display interface, or is a preset area in the resource interface.
[0219] In some embodiments, the preview operation includes a sliding operation in the resource interface, and the preview area is the area passed by the sliding operation in the resource interface, or the preview area is the area included in a closed sliding track in the resource interface, and the sliding track is the track of the sliding operation.
[0220] In some embodiments, the preview operation includes a trigger operation in the resource interface; the display unit 901 is further configured to determine a preview area from the resource interface based on a trigger position corresponding to the trigger operation.
[0221] In some embodiments, the display unit 901 is configured to determine a circular area with the trigger position as the center and the first value as the radius as the preview area; or, determine a square area with the trigger position as the center and the sides of the second value and the third value as the preview area.
[0222] In some embodiments, after determining the preview area from the resource interface based on the trigger position corresponding to the trigger operation, the display unit 901 is further configured to execute an update of the position of the preview area in the resource interface in response to a drag operation on the preview area.
[0223] In some embodiments, the multimedia resources belong to a resource collection, and the display unit 901 is further configured to determine a preview area from the resource interface based on a target ratio, the proportion of the preview area in the resource interface is the target ratio, the target ratio is the ratio of the first number to the second number, the first number is the number of multimedia resources with viewing permissions in the resource collection, and the second number is the total number of multimedia resources in the resource collection.
[0224] In some embodiments, the multimedia resource is text; the display unit 901 is configured to display key information included in the text in a second display mode in response to a preview operation.
[0225] In some embodiments, the multimedia resource is a video; the video is not played when the video screen of the video is displayed in a first display mode; the display unit 901 is configured to execute in response to a preview operation, play the video, display a first sub-screen of the video screen in a first display mode, and display a second sub-screen of the video screen in a second display mode, the first sub-screen being the screen of the video screen except the second sub-screen.
[0226] In some embodiments, the multimedia resource is a video; the display unit 901 is configured to display segment prompt information in response to a preview operation, where the segment prompt information indicates a video segment in the video that can be previewed; in response to a confirmation operation on the segment prompt information, the resource content of the multimedia resource is displayed in a first display mode, and the video segment indicated by the segment prompt information is displayed in a second display mode.
[0227] It should be noted that the multimedia resource display device provided in the above embodiment is only illustrated by the division of the above functional units. In actual applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the electronic device is divided into different functional units to complete all or part of the functions described above. In addition, the multimedia resource display device provided in the above embodiment and the multimedia resource display method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0228] In an exemplary embodiment, an electronic device is also provided, the electronic device comprising:
[0229] one or more processors;
[0230] a memory for storing processor executable program code;
[0231] The processor is configured to execute the program code to implement the multimedia resource display method.
[0232] In some embodiments, when the electronic device is provided as a terminal, Fig.10 FIG. 1 is a block diagram of a terminal 1000 according to an exemplary embodiment. Fig.10 The structure block diagram of a terminal 1000 provided by an exemplary embodiment of the present disclosure is shown. Generally, the terminal 1000 includes: a processor 1001 and a memory 1002 .
[0233] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0234] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one program code, which is used to be executed by the processor 1001 to implement the multimedia resource display method provided in the method embodiment of the present disclosure.
[0235] In some embodiments, the terminal 1000 may also optionally include: a peripheral device interface 1003 and at least one peripheral device. The processor 1001, the memory 1002 and the peripheral device interface 1003 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1003 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007, a positioning assembly 1008 and a power supply 1009.
[0236] The peripheral device interface 1003 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral device interface 1003 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0237] The radio frequency circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1004 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1004 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 1004 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1004 may also include circuits related to NFC (Near Field Communication), which is not limited in the present disclosure.
[0238] The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to collect touch signals on the surface or above the surface of the display screen 1005. The touch signal can be input to the processor 1001 as a control signal for processing. At this time, the display screen 1005 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1005 can be one, and the front panel of the terminal 1000 is set; in other embodiments, the display screen 1005 can be at least two, which are respectively set on different surfaces of the terminal 1000 or are folded; in some other embodiments, the display screen 1005 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 1000. Even, the display screen 1005 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0239] The camera assembly 1006 is used to capture images or videos. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0240] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1001 for processing, or input them into the radio frequency circuit 1004 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1000. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1007 may also include a headphone jack.
[0241] The positioning component 1008 is used to locate the current geographical location of the terminal 1000 to implement navigation or LBS (Location Based Service). The positioning component 1008 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Grenas system or the European Union's Galileo system.
[0242] The power supply 1009 is used to power various components in the terminal 1000. The power supply 1009 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1009 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0243] Those skilled in the art will understand that Fig.10 The structure shown in the figure does not constitute a limitation on the terminal 1000, and the terminal 1000 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0244] In some embodiments, when the electronic device is provided as a server, Fig.11 It is a block diagram of a server 1100 according to an exemplary embodiment. The server 1100 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1101 and one or more memories 1102. Of course, the server may also have components such as wired or wireless network interfaces, keyboards, and input and output interfaces for input and output. The server 1100 may also include other components for realizing device functions, which are not described in detail here.
[0245] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by a processor of the device to complete the above multimedia resource display method. In some embodiments, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0246] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the above-mentioned multimedia resource display method is implemented.
[0247] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0248] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A multimedia resource display method, characterized in that: The method comprises: In response to a viewing operation on a multimedia resource, displaying resource content of the multimedia resource in a first display mode without having viewing authority for the multimedia resource, wherein the first display mode indicates that the resource content is in a blurred display state; In response to a preview operation on the multimedia resource, a portion of resource content of the multimedia resource is displayed in a second display mode, and the second display mode indicates that the portion of resource content is in a non-fuzzy display state.
2. The method according to claim 1, characterized in that: In response to the viewing operation on the multimedia resource, displaying the resource content of the multimedia resource in a first display mode without having the viewing authority for the multimedia resource includes: In response to the viewing operation, displaying the resource content of the multimedia resource in the second display mode without the viewing permission; When the display time of the resource content of the multimedia resource reaches a threshold, the resource content of the multimedia resource is switched from the second display mode to the first display mode.
3. The method according to claim 1, characterized in that Before displaying part of the resource content of the multimedia resource in a second display mode in response to the preview operation on the multimedia resource, the method further includes: In response to the viewing operation, if the user does not have the viewing permission, permission prompt information is displayed, where the permission prompt information is used to prompt that the user does not have the viewing permission.
4. The method according to claim 3, characterized in that The permission prompt information is also used to obtain the viewing permission; In response to the viewing operation, after displaying permission prompt information when the user does not have the viewing permission, the method further includes: In response to the permission acquisition operation for the permission prompt information, when the viewing permission is acquired, the resource content of the multimedia resource is switched from the first display mode to the second display mode.
5. The method according to claim 1, characterized in that After displaying part of the resource content of the multimedia resource in a second display mode in response to the preview operation on the multimedia resource, the method further includes: In response to the preview operation being completed, a portion of resource content of the multimedia resource is switched from the second display mode to the first display mode.
6. The method according to claim 1, characterized in that In response to the viewing operation on the multimedia resource, displaying the resource content of the multimedia resource in a first display mode without having the viewing authority for the multimedia resource includes: In response to the viewing operation, without the viewing permission, the resource content of the multimedia resource is displayed, and a mask layer is displayed on the resource content of the multimedia resource, and the transparency of the mask layer is less than 1.
7. The method according to claim 1, characterized in that The resource content of the multimedia resource is displayed in the resource interface, and in response to the preview operation of the multimedia resource, a part of the resource content of the multimedia resource is displayed in a second display mode, including: In response to the preview operation, resource content included in the preview area is displayed in the second display mode, and the preview area is an area corresponding to the preview operation in the resource display interface, or a preset area in the resource interface.
8. The method according to claim 7, characterized in that The preview operation includes a sliding operation in the resource interface, and the preview area is an area in the resource interface through which the sliding operation passes, or the preview area is an area included in a closed sliding track in the resource interface, and the sliding track is a track of the sliding operation.
9. The method according to claim 1, characterized in that: The multimedia resource is text; The step of displaying a portion of the resource content of the multimedia resource in a second display mode in response to the preview operation on the multimedia resource includes: In response to the preview operation, key information included in the text is displayed in the second display mode.
10. The method according to claim 1, characterized in that The multimedia resource is a video; when the video screen of the video is displayed in the first display mode, the video is not played; The step of displaying a portion of the resource content of the multimedia resource in a second display mode in response to the preview operation on the multimedia resource includes: In response to the preview operation, the video is played, a first sub-picture of the video picture is displayed in the first display mode, and a second sub-picture of the video picture is displayed in the second display mode, wherein the first sub-picture is a picture of the video picture other than the second sub-picture.
11. The method according to claim 1, characterized in that The multimedia resource is a video; The step of displaying a portion of the resource content of the multimedia resource in a second display mode in response to the preview operation on the multimedia resource includes: In response to the preview operation, displaying segment prompt information, wherein the segment prompt information indicates a video segment in the video that can be previewed; In response to a confirmation operation on the segment prompt information, the resource content of the multimedia resource is kept displayed in the first display mode, and the video segment indicated by the segment prompt information is displayed in the second display mode.
12. A multimedia resource display device, characterized in that: The device comprises: A display unit configured to execute, in response to a viewing operation on a multimedia resource, displaying resource content of the multimedia resource in a first display mode without having viewing authority for the multimedia resource, wherein the first display mode indicates that the resource content is in a blurred display state; The display unit is further configured to display part of the resource content of the multimedia resource in a second display mode in response to a preview operation on the multimedia resource, wherein the second display mode indicates that the part of the resource content is in a non-fuzzy display state.
13. An electronic device, characterized in that: The electronic device comprises: one or more processors; a memory for storing program code executable by the processor; The processor is configured to execute the program code to implement the multimedia resource display method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the multimedia resource display method according to any one of claims 1 to 11.
15. A computer program product, characterized in that The method comprises a computer program, which, when executed by a processor, implements the multimedia resource display method according to any one of claims 1 to 11.