CN116974997A - Multimedia file display method, device, equipment and storage medium - Google Patents

Multimedia file display method, device, equipment and storage medium Download PDF

Info

Publication number
CN116974997A
CN116974997A CN202211521134.9A CN202211521134A CN116974997A CN 116974997 A CN116974997 A CN 116974997A CN 202211521134 A CN202211521134 A CN 202211521134A CN 116974997 A CN116974997 A CN 116974997A
Authority
CN
China
Prior art keywords
file
multimedia file
terminal
multimedia
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211521134.9A
Other languages
Chinese (zh)
Inventor
黄铁鸣
张玖林
许言君
李斌
罗程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202211521134.9A priority Critical patent/CN116974997A/en
Publication of CN116974997A publication Critical patent/CN116974997A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/156Query results presentation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the application discloses a method, a device, equipment and a storage medium for displaying multimedia files, wherein the method comprises the following steps: displaying target social pages participated by N objects in a first terminal; the N objects comprise first objects corresponding to the first terminal, and N is a positive integer greater than 1; if the first object has an operation right for a multimedia file to be received and the file mode of the multimedia file is a file security mode, displaying a first file message comprising key media contents in the multimedia file in the target social page; the key media content is sent to the first terminal by a second terminal to which a second object of the N objects belongs. The application can improve the viewing convenience of the media content under the condition of ensuring that the media content of the multimedia file is not leaked.

Description

Multimedia file display method, device, equipment and storage medium
Technical Field
The present application relates to the field of multimedia technologies, and in particular, to a method, an apparatus, a device, and a storage medium for displaying multimedia files.
Background
Information interaction between different users is often achieved in social situations by uploading multimedia files (e.g., images or videos) in a social page, such as uploading images related to corporate activities in a corporate-related social page or uploading videos related to corporate finances in a corporate-related social page. Currently, when a user uploads a multimedia file on a social page, the compressed multimedia file can be displayed on the social page only after the terminal compresses the multimedia file, so as to avoid leakage of media content in the multimedia file. In practice, the display mode of the multimedia file has the problem of low viewing convenience of the media content.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for displaying a multimedia file, which can improve the viewing convenience of the media content under the condition of ensuring that the media content of the multimedia file is not leaked.
An aspect of an embodiment of the present application provides a method for displaying a multimedia file, including:
displaying target social pages participated by N objects in a first terminal; the N objects comprise first objects corresponding to the first terminal, and N is a positive integer greater than 1;
If the first object has an operation right for a multimedia file to be received and the file mode of the multimedia file is a file security mode, displaying a first file message including key media content in the multimedia file in the target social page; the key media content is transmitted to the first terminal by a second terminal to which a second object of the N objects belongs.
An aspect of an embodiment of the present application provides a method for displaying a multimedia file, including:
displaying target social pages participated by N objects in a second terminal; the target social page comprises a multimedia file to be sent; n is a positive integer greater than 1;
if the file mode of the multimedia file is a file confidentiality mode and a first object corresponding to a first terminal has operation authority for the multimedia file, transmitting key media content in the multimedia file to the first terminal; the first terminal is used for displaying a first file message comprising the key media content in the target social page in the first terminal; and the first object and the second object corresponding to the second terminal belong to the N objects.
An aspect of an embodiment of the present application provides a method for displaying a multimedia file, including:
receiving a transmission request for the multimedia file sent by a second terminal; the sending request is used for indicating to send the multimedia file to a first terminal corresponding to a first object, the second object corresponding to the second terminal and the first object belong to N objects, the N objects comprise objects participating in a target social page in the first terminal, and N is a positive integer greater than 1;
if the file mode of the multimedia file is a file confidentiality mode, verifying the operation authority of the first object for the multimedia file according to the sending request to obtain a verification result;
and if the verification result indicates that the first object has the operation authority for the multimedia file, sending the key media content of the multimedia file in the second terminal to the first terminal, wherein the first terminal is used for displaying a first file message comprising the key media content in the target social page.
An aspect of an embodiment of the present application provides a multimedia file display device, including:
the first display module is used for displaying target social pages participated by the N objects in the first terminal; the N objects comprise first objects corresponding to the first terminal, and N is a positive integer greater than 1;
The second display module is used for displaying a first file message comprising key media contents in the multimedia file in the target social page if the first object has operation authority for the multimedia file to be received and the file mode of the multimedia file is a file confidentiality mode; the key media content is transmitted to the first terminal by a second terminal to which a second object of the N objects belongs.
An aspect of an embodiment of the present application provides a multimedia file display device, including:
the display module is used for displaying target social pages participated by the N objects in the second terminal; the target social page comprises a multimedia file to be sent; n is a positive integer greater than 1;
the sending module is used for sending the key media content in the multimedia file to the first terminal if the file mode of the multimedia file is a file confidentiality mode and the first object corresponding to the first terminal has the operation authority for the multimedia file; the first terminal is used for displaying a first file message comprising the key media content in the target social page in the first terminal; and the first object and the second object corresponding to the second terminal belong to the N objects.
An aspect of an embodiment of the present application provides a multimedia file display device, including:
the receiving module is used for receiving a sending request for the multimedia file sent by the second terminal; the sending request is used for indicating to send the multimedia file to a first terminal corresponding to a first object, the second object corresponding to the second terminal and the first object belong to N objects, the N objects comprise objects participating in a target social page of the first terminal, and N is a positive integer greater than 1;
the verification module is used for verifying the operation authority of the first object for the multimedia file according to the sent request if the file mode of the multimedia file is a file confidentiality mode, and obtaining a verification result;
and the sending module is used for sending the key media content of the multimedia file in the second terminal to the first terminal if the verification result indicates that the first object has the operation authority for the multimedia file, and the first terminal is used for displaying a first file message comprising the key media content in the target social page.
In one aspect, an embodiment of the present application provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method when executing the computer program.
In one aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, the computer program implementing the steps of the method described above when executed by a processor.
In one aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method described above.
In the application, when a first terminal receives a multimedia file in a file confidentiality mode, a first file message including key media contents in the multimedia file is displayed in a target social page only when a receiver (namely a first object corresponding to the first terminal) has an operation right for the multimedia file. Thus, the method is beneficial to a receiver with operation authority on the multimedia file, and key media contents in the multimedia file can be conveniently checked; meanwhile, a receiver without operation authority on the multimedia file can be prevented from viewing the media content in the multimedia file, so that the viewing convenience of the media content is improved and the convenience of multimedia file interaction in a social scene is improved under the condition that the media content of the multimedia file is ensured not to be leaked. In addition, by displaying the key media content in the multimedia file, it is advantageous for the recipient to quickly determine whether the multimedia file is a file that is itself needed, avoiding performing invalidation operations on the multimedia file, while avoiding interrupting the continuity of the recipient's view of the session message (i.e., session message between N objects) context.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a multimedia file display system according to the present application;
FIG. 2 is a schematic diagram of an interactive scenario of a method for displaying multimedia files according to the present application;
FIG. 3 is a schematic view of an interactive scenario of a method for displaying multimedia files according to the present application;
FIG. 4 is a flowchart of a method for displaying multimedia files according to the present application;
FIG. 5 is a schematic diagram of an interface for displaying a first file message in a target social page provided by the present application;
FIG. 6a is a schematic diagram of an interface for displaying a third file message in a target social page provided by the present application;
FIG. 6b is a schematic diagram of a scenario in which a third file message on a target social page is updated to a first file message according to the present application;
FIG. 7 is a schematic view of a scene of previewing a multimedia file when a first object has editing rights for the multimedia file;
FIG. 8 is a schematic view of a scene of previewing a multimedia file when a first object has editing rights for the multimedia file;
FIG. 9 is a schematic view of a scene of previewing a multimedia file when a first object has browsing rights for the multimedia file according to the present application;
FIG. 10 is a schematic view of a scene of previewing a multimedia file when a first object has browsing rights for the multimedia file according to the present application;
FIG. 11 is a flowchart of a method for displaying multimedia files according to the present application;
FIG. 12 is a schematic diagram of a method for generating a second file message in accordance with the present application;
FIG. 13 is a flowchart of a method for displaying multimedia files according to the present application;
FIG. 14 is a flowchart of a method for displaying multimedia files according to the present application;
fig. 15 is a schematic structural diagram of a multimedia file displaying apparatus according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a multimedia file displaying apparatus according to an embodiment of the present application;
Fig. 17 is a schematic structural diagram of a multimedia file displaying apparatus according to an embodiment of the present application;
fig. 18 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It can be understood that the file type of the multimedia file in the present application may refer to an image type, a video type, a document type, etc., and the file mode of the multimedia file includes a local file mode and a file security mode, and the file mode of the multimedia file reflects a circulation form of the multimedia file in a social application scene.
For example, when the file mode of the multimedia file uploaded to the social page is the local file mode, any user participating in the social page is allowed to perform operations such as downloading, browsing an original file, and the like on the multimedia file, and at this time, the multimedia file corresponds to a file local to the user's terminal, and the user can perform operations such as forwarding, downloading, modifying, and the like on the multimedia file.
The file confidentiality mode is that an online cloud disk component uniformly manages multimedia files sent through chat pages, mail pages, schedule creation pages in calendars, document creation pages, micro-disk pages and the like, and an online cloud disk component manages operation authorities of users for the multimedia files, and tracks actions of users for browsing, downloading, editing, forwarding and the like of the multimedia files, so that information leakage risks are reduced. For example, when the file mode of the multimedia file uploaded to the social page is a file security mode, the operation authority of the multimedia file is controlled by the online cloud disk component, where the operation authority includes a download authority, a browse authority, and the like. If the user participating in the social page has download rights (or editing rights) for the multimedia file, the online cloud disk component allows the user to download the multimedia file to the terminal local; if the user participating in the social page has preview authority (i.e. browsing authority) for the multimedia file, the user can preview the multimedia file through the online cloud disk assembly and cannot download the multimedia file to the local terminal; if the user participating in the social page does not have the operation authority for the multimedia file, the online cloud disk component does not allow the user to download the multimedia file to the terminal locally, and the user cannot forward the multimedia file to other people, and the user cannot preview the multimedia file. The operation authority of the user for the multimedia file may be set by an owner of the multimedia file, or may be set by an administrator of the multimedia file, or the administrator of the multimedia file may be an administrator of a communication group corresponding to the social page, or the administrator of the multimedia file may be an administrator of an enterprise to which the owner of the multimedia file belongs.
Here, an online cloud disk assembly: is an efficient, secure content collaboration platform provided in social applications. And the multimedia files are uniformly managed, so that the users can conveniently access the multimedia files at any time. The storage space is flexibly created for individuals or communication groups as required, and the operation rights for the multimedia files are individually allocated. Meanwhile, a user or an enterprise can execute operation and set authority on the multimedia file in the online cloud disk assembly through the interface. The online cloud disk component can be embedded in a social application program or independently installed in a terminal.
It can be understood that when a user uploads a multimedia file in a file privacy mode in a social page, if only a card (file name, file size) including the multimedia file is displayed in the social page, a receiver having operation authority for the multimedia file can only view media content in the multimedia file after clicking the card of the multimedia file, which results in low convenience in viewing the media content and breaks the rhythm of continuously viewing session messages. Meanwhile, after the user views the media content in the multimedia file, the user can determine whether the multimedia file is needed by himself, and when the multimedia file is not needed by himself, an invalidation operation is performed on the multimedia file.
Based on the above-described problems, when a sender uploads a multimedia file in a file security mode, a message including key media contents in the multimedia file is displayed in a social page for a receiver having an operation right of the multimedia file. The method is beneficial to a receiver with operation authority on the multimedia file to conveniently check the key media content in the multimedia file; meanwhile, a receiver which does not have operation authority on the multimedia file can be prevented from viewing the media content in the multimedia file, and the viewing convenience of the media content is improved and the interaction convenience of the multimedia file in a social scene is improved under the condition that the media content of the multimedia file is ensured not to be leaked. In addition, the method is beneficial to the receiver to quickly determine whether the multimedia file is a file required by the receiver through the key media content, avoids performing invalid operation on the multimedia file, and simultaneously avoids interrupting the continuity of the receiver to view the context of the session message.
In order to facilitate a clearer understanding of the present application, a media data processing system implementing the media data processing method of the present application will first be described, as shown in fig. 1, comprising a server 10 and a terminal cluster, which may comprise one or more terminals, the number of which will not be limited here. As shown in fig. 1, the terminal cluster may specifically include a terminal 1, a terminal 2, a terminal …, and a terminal n; it will be appreciated that terminals 1, 2, 3, …, n may all be network connected to the server 10, so that each terminal may interact with the server 10 via a network connection.
It can be appreciated that any terminal in the terminal cluster is installed with the social application program, and the social application program in the terminal can be used to interact with the multimedia file in the social scene, for example, the terminal can upload the multimedia file through a social page of the social application program, browse and download the multimedia file in the social page, and so on.
It is understood that social applications in the present application may include, but are not limited to: the application programs with social functions such as an instant messaging application program, a map application program, a game application program, a shopping application program, an audio-video application program, a mail application program, a schedule application program and the like can comprise an enterprise social application program, a general social application program and the like, wherein the enterprise social application program can be an application program for carrying out social contact in an enterprise, and the general social application program can be an application program for carrying out social contact in the enterprise and also can be an application program for carrying out social contact outside the enterprise. In particular, when the enterprise social application opens external social rights, the enterprise social application may also be referred to as a general social application.
It is understood that social pages in the present application may include, but are not limited to: chat pages, mail pages, calendar pages, document creation pages, and micro-disk pages. Chat pages include one-to-one chat pages, or one-to-many chat pages. In particular, when a multimedia application is uploaded on a chat page, all users participating in the chat page may be referred to as recipients of the multimedia file.
It is understood that the server 10 may refer to a device that provides back-end services for a social application, for example, the server 10 may be configured to record basic information of users in the social application, and operational rights for multimedia files, etc., where the basic information may include social relationships of the users, and user identifications, etc., and the social relationships may include colleagues, friends, relatives, etc. The server 10 may also be used to verify whether a user in a social application has an operation right for a multimedia file when the user needs to perform an operation on the multimedia file, and to allow the user to perform an operation on the multimedia file when the user has an operation right for the multimedia file.
It can be understood that the operation rights include browsing rights, editing rights, downloading rights, forwarding rights, etc.; the editing rights may include online editing rights and local editing rights. When the user has an online editing right on the multimedia file, the server allows the user to perform an online editing operation on the multimedia file, and does not allow the user to perform a downloading operation on the multimedia file. When the user has a local editing right on the multimedia file, the server allows the user to download the multimedia file to the terminal local and allows the user to perform editing operations on the multimedia file at the terminal local. When the user has browsing rights on the multimedia file, the server allows the user to execute preview operation on the multimedia file in the social page; when the user has download rights for the multimedia file, the server allows the user to download the multimedia file to the terminal locally. When the user has a forwarding right for the multimedia file, the server allows the user to forward the multimedia file to other applications, or the server allows the user to forward the multimedia file to other users.
It can be understood that the server may be a separate physical server, a server cluster or a distributed system formed by at least two physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a content delivery network (Content Delivery Network, CDN), and basic cloud computing services such as big data and an artificial intelligence platform. The terminal may specifically refer to a vehicle-mounted terminal, a smart phone, a tablet computer, a notebook computer, a desktop computer, an intelligent sound box, a screen sound box, a smart watch, and the like, but is not limited thereto. The terminals and the servers may be directly or indirectly connected through wired or wireless communication, and meanwhile, the number of the terminals and the servers may be one or at least two, which is not limited herein.
It can be understood that the multimedia file displaying method of the present application can be implemented based on the multimedia file displaying system, as shown in fig. 2 and 3, the terminal 20a and 22a in fig. 2 and the terminals 31a and 32a in fig. 3 may belong to the terminal cluster in fig. 1, and the server 21a in fig. 2 and 3 may refer to the server 10 in fig. 1. The social application is installed in each of the terminals 20a, 22a, 31a and 32a, and the social application is illustrated as an enterprise social application for enterprise a to communicate with the enterprise, where the terminals 20a, 22a, 31a and 32a are terminals corresponding to members in the enterprise a, and the corresponding user of the terminal 20a may refer to an administrator of the enterprise social application.
As shown in fig. 2, the terminal 20a may display a rights configuration page 23b of an online cloud disk component in the social application of the enterprise, where the rights configuration page 23b is used to configure the operation rights of the members inside the enterprise a for the multimedia file, and configure the status of the members inside the enterprise a about the file security mode. The rights configuration page 23b includes a file mode configuration option 24b, a privacy scope option 25b, and an operation rights configuration option 26b, the file mode configuration option 24b being used to set the status of the enterprise a internal members with respect to the file privacy mode to an on state or an off state. When the state of a member about the file security mode is in a closed state, the file mode of the multimedia file sent by the member is a local file mode; when a member is in an on state with respect to the file security mode, the file mode of the multimedia file transmitted by the member is the file security mode. The terminal 20a may set the status of the file security mode of all members or part of the members in the enterprise a to the on state through the file mode configuration option 24b, specifically, the terminal 20a determines that all the members in the enterprise a are in the on state with respect to the status of the file security mode in response to the triggering operation 1 for the file mode configuration option 24b, and the triggering operation 1 may be clicking, sliding, pressing, or other operations. Alternatively, the terminal 20a displays a member list in the authority configuration page 23b in response to the triggering operation 2 for the file mode configuration option 24b, the member list including members within the enterprise a, determines that the selected member is in an on state with respect to the state of the file security mode in response to the selection operation for the members of the member list, the triggering operation is clicking, pressing, sliding, or the like, and the triggering operation 1 is different from the triggering operation 2.
It is understood that the privacy scope option 25b is used to indicate which social pages (i.e., privacy scope) of the multimedia file transmitted through which social pages are in the file privacy mode after the user has turned on the status of the file privacy mode, where the social pages (i.e., privacy scope) may include, but are not limited to: chat pages, mail pages, calendar pages, document creation pages, micro disk pages (i.e., pages of an online cloud disk assembly), and so forth. The rights configuration option 26b may be used to configure the rights of the members in the enterprise a to the multimedia file, and the rights of the different members to the multimedia file may be the same or different. The terminal 20a may acquire the rights data configured by the manager through the rights configuration page 23, send the rights data to the server 21a, and the server 21a may synchronize the states of the respective members with respect to the file security mode to the corresponding terminal. The rights data herein includes the status of the internal members of the enterprise a with respect to the file security mode, the operation rights of the internal members of the enterprise a to the multimedia file, and the security scope, etc. In particular, the status of the internal member of the enterprise a regarding the file security mode, the operation authority regarding the multimedia file, the security range, and the like may also be configured by the internal member itself, which is not limited by the present application.
When the terminal 22a sends a multimedia file through the social page 27b of the enterprise application, the user corresponding to the terminal 22a may be referred to as the sender of the multimedia file (i.e., user a), the social page 27b is a chat page of the item discussion group 1 in which the user a participates, and the item discussion group 1 may include a plurality of members within the enterprise a. After user a sends the multimedia file, all members of the project discussion group 1 (i.e., including user a) may be referred to as recipients of the multimedia file. Taking the project discussion group 1 as an example, the project discussion group includes a user a, a user B, and a user C, where the user B is a user corresponding to the terminal 31a in fig. 3, and the user C is a user corresponding to the terminal 32a in fig. 3.
As in fig. 2, the social page 27b includes a message input area 29b and a message presentation area 28b, the message presentation area 28b for presenting a conversation message sent by a member within the project discussion group 1, the message input area 29b for sending a conversation message, where the conversation message may refer to a multimedia file, text, expression, symbol, etc., to a member within the project discussion group 1. If the sender corresponding to the terminal 22a sends an image a to the members in the item discussion group 1 through the message input area 29b, the image a may be referred to as a multimedia file. The terminal 22a may acquire the status of the user a with respect to the file security mode, and if the status of the user a with respect to the file security mode is an on status, may generate an acquisition address with respect to a thumbnail of the image a, generate a file message 1 including the acquisition address, generate a transmission request carrying the file message 1, and transmit the transmission request to the server 21a. The file message 1 may also carry an identification of user a, an identification of the item discussion group 1, etc. Here, the identification of the user a includes at least one of a name, an account number, and the like of the user a, and the identification of the item discussion group 1 includes at least one of a name, an account number, and the like of the item discussion group 1.
After receiving the transmission request, the server 21a may transmit the file message 1 to the terminals 31a and 32a. The image a may be generated by the terminal 22a itself or may be forwarded from a session message, mailbox, etc., i.e. the owner of the image a is user a or non-user a. If the owner of the image a is user a, user a has the operation right for image a, and if the owner of the image a is non-user a, further verification is required if user a has the operation right for image a. Therefore, the server 21a can obtain the authority data to verify the operation authority of the user a with respect to the image a according to the above configuration, and if the user a has the operation authority with respect to the image a, the authority verification passing information is returned to the terminal 22a, and after the terminal 22a receives the authority verification passing information, the thumbnail of the image a can be obtained according to the obtaining address of the thumbnail of the image a. After acquiring the thumbnail of image a, the terminal 22a may present a file message 30b including the thumbnail of image a in the message presentation area 28.
Further, as shown in fig. 3, after receiving the file message 1, the terminal 31a may generate an acquisition request 1 about the key media content of the multimedia file, where the acquisition request 1 carries an acquisition address and an identifier of the user B, and sends the acquisition request 1 to the server 21a. After the server 21a receives the acquisition request 1, it can be verified whether the user B has the operation right for the image a, and if the user B does not have the operation right for the image a, the server 21a returns an error code to the terminal 31 a. After receiving the error code, the terminal 31a may display a file message including permission indication information in the social page 33B, where the permission indication information is used to indicate that the user B does not have an operation permission for the image a, and the permission indication information may be at least one of text, image, symbol, voice, and the like. If the user B has the operation authority for the image a, the server 21a returns the thumbnail of the image a to the terminal 31a, and after the terminal 31a receives the thumbnail of the image a, the file message 34B including the thumbnail of the image a may be displayed in the social page 33B.
Similarly, as shown in fig. 3, after receiving the file message 1, the terminal 32a may generate an acquisition request 2 about the key media content of the multimedia file, where the acquisition request 2 carries an acquisition address and an identifier of the user C, and sends the acquisition request 2 to the server 21a. After the server 21a receives the acquisition request 2, it can be verified whether the user C has the operation right for the image a, and if the user C does not have the operation right for the image a, the server 21a returns an error code to the terminal 32 a. After receiving the error code, the terminal 32a may display a file message 36b including permission indication information in the social page 33b, where the permission indication information is used to indicate that the user C does not have the operation permission for the image a, and in fig. 3, the permission indication information includes text: an image of a picture is taken as an example without permission. If the user C has the operation authority for the image a, the server 21a returns the thumbnail of the image a to the terminal 32a, and after the terminal 32a receives the thumbnail of the image a, a file message including the thumbnail of the image a may be displayed in the social page 33 b.
In summary, as shown in fig. 2 and fig. 3, a user having no operation authority on the image a cannot view the key media content in the image a, and a user having authority on the image a can view the key media content in the image, so that viewing convenience of the multimedia file is improved and interaction convenience of the multimedia file in the social scene is improved under the condition that the content in the image a is ensured not to be leaked. In addition, by displaying a thumbnail of image a, it is advantageous for the recipient to quickly determine whether image a is itself a desired image, avoiding performing an invalidation operation with respect to image a, while avoiding interrupting the continuity of the recipient's view of the conversation message (i.e., conversation message between N objects) context.
Further, please refer to fig. 4, which is a flowchart illustrating a method for displaying a multimedia file according to an embodiment of the present application. As shown in fig. 4, the method may be performed by any terminal in the terminal cluster in fig. 1, and a terminal for performing the multimedia file displaying method in the present application may be referred to as a first terminal. Wherein, the method can comprise the following steps:
s101, displaying target social pages in which N objects participate in a first terminal; the N objects comprise first objects corresponding to the first terminal, and N is a positive integer greater than 1.
In the application, when the second terminal corresponding to the second object sends the multimedia file to the first terminal, the second object can be the sender of the multimedia file, and the first object corresponding to the first terminal can be the receiver of the multimedia file; the first terminal may display a target social page in which the N objects participate. The N objects include a first object and a second object, and the target social page may include, but is not limited to: chat pages, mail pages, calendar pages, document creation pages, pages of online cloud disk assemblies, and so forth. Any of the N objects can send or receive multimedia files, send session messages, etc. to other objects through the target social page.
S102, if the first object has an operation right for a multimedia file to be received and the file mode of the multimedia file is a file security mode, displaying a first file message comprising key media contents in the multimedia file in the target social page; the key media content is transmitted by a second terminal to which a second object of the N objects belongs.
In the application, the first terminal or the server can verify the operation authority of the first object on the multimedia file and the file mode of the multimedia file. If the first object does not have the operation authority for the multimedia file to be received and the file mode of the multimedia file is the file security mode, the first terminal may display a message including media attribute information of the multimedia file in the target social page, or may display indication information indicating that the first object does not have the operation authority for the multimedia file in the target social page; therefore, users without operation rights on the multimedia file can be avoided from viewing the media content in the multimedia file, and the transmission safety of the multimedia file is improved. If the first object has an operation right for a multimedia file to be received and the file mode of the multimedia file is a file security mode, the first terminal may acquire key media content of the multimedia file from the second terminal, and in the target social page, a first file message including the key media content in the multimedia file is displayed. The first file message is used for prompting the first object to execute the operation corresponding to the operation authority of the multimedia file. The method is beneficial to a receiver with operation authority on the multimedia file, key media contents in the multimedia file can be conveniently checked, checking convenience of the media contents is improved, and convenience of multimedia file interaction in a social scene is improved. In addition, by displaying the key media content in the multimedia file, it is advantageous for the recipient to quickly determine whether the multimedia file is a file that is itself needed, avoiding performing invalidation operations on the multimedia file, while avoiding interrupting the continuity of the recipient's view of the session message (i.e., session message between N objects) context.
It can be understood that after the second terminal performs the sending operation on the multimedia file, the multimedia file is stored in an online cloud disk assembly associated with the social application, and the multimedia file in the online cloud disk assembly allows the rights object to perform an operation corresponding to the operation rights of the multimedia file on the multimedia file, that is, the first file message is used for prompting the corresponding object to perform an operation corresponding to the operation rights of the multimedia file in the online cloud disk assembly. For example, the first file message is associated with a multimedia file in an online cloud disk assembly. The right object is an object with operation right for the multimedia file in the N objects, and the social application program is an application program to which the target social page belongs. The unified management of the multimedia files is realized by uploading the multimedia files to the online cloud disk assembly, so that the safety of the multimedia files is improved. For example, when the file mode of the multimedia file is a file security mode, indicating that the multimedia file is a file to be secured, if the first object has a browsing right for the multimedia file, the first terminal only allows the first object to perform a browsing operation on the multimedia file; the first terminal allows the first object to perform a download operation on the multimedia file if the first object has download rights for the multimedia file.
It can be understood that when the owner of the multimedia file is the second object, if the multimedia file is a file in the local storage of the second terminal, the multimedia file in the online cloud disk assembly may be uploaded to the online cloud disk assembly by the second terminal; if the owner of the multimedia file is not the second object, the forwarding operation is performed on the multimedia file by the second object, and the multimedia file in the online cloud disk assembly may be uploaded to the online cloud disk assembly by the second terminal, or the multimedia file in the online cloud disk assembly may be uploaded to the online cloud disk assembly by the terminal corresponding to the owner.
For example, at a first moment, the terminal of small Wang Duiying sends a multimedia file 1 with a file mode being a file security mode on the mail page 1, and the terminal of small Wang Duiying stores the multimedia file 1 in an online cloud disk assembly, where the multimedia file 1 in the online cloud disk allows a user in a first user set to perform an operation corresponding to an operation authority on the multimedia file, and the first user set includes a user having the operation authority on the multimedia file among recipients related to the multimedia file in the mail page 1. If at the second moment xiao Li the corresponding terminal forwards the multimedia file 1 in the online cloud disk assembly to chat page 2, the terminal that needs small Li Duiying does not at this time repeatedly store the multimedia file 1 in the online cloud disk assembly with the multimedia file 1, where the prune belongs to the user participating in mail page 1. But here the multimedia file 1 in the online cloud disk allows the user in the second user set to perform an operation corresponding to the operation authority on the user. The second user set here includes the first user set described above, and users who have an operation right to them among the users who participate in the chat page 2.
It may be understood that, after the second terminal performs the sending operation on the multimedia file, storing the multimedia file in the online cloud disk component associated with the social application refers to: the multimedia file is stored in a server corresponding to the online cloud disk assembly, and the online file list of the online cloud disk assembly (i.e., the client) corresponding to each of the N objects includes media attribute information (file size, file name, file type, etc.) about the multimedia file. The terminal corresponding to the rights object can respond to the triggering operation aiming at the media attribute information to execute the operation corresponding to the operation rights on the multimedia file, wherein the rights object is an object with the operation rights on the multimedia file in N objects. Or displaying a file message corresponding to the corresponding operation authority in an online file list of the online cloud disk assembly corresponding to the N objects respectively, for example, a first object has the operation authority for the multimedia file, and displaying an online file list on a target social page (or a page of the online cloud disk assembly) by a first terminal, wherein the online file list comprises the first file message, and the first object is allowed to execute the operation corresponding to the operation authority for the multimedia file through the first file message. If the first object does not have the operation authority for the multimedia file, the first terminal may display an online file list including authority indication information on the target social page (or on a page of the online cloud disk assembly), where the authority indication information is used to indicate that the first object does not have the operation authority for the multimedia file.
It is understood that the key media content is used to reflect the main content of the multimedia file, and may refer to a thumbnail of an image in the multimedia file if the file type of the multimedia file is an image type; the key media content may refer to a thumbnail of a key video frame in the multimedia file if the file type of the multimedia file is a video type. The key video frames may refer to the cover of the multimedia file, or the key video frames may be video frames capable of reflecting the body in the multimedia file. If the file type of the multimedia file is a document type, the key media content may refer to a thumbnail of a document top page of the multimedia file. When the multimedia file is a file local to the second terminal or the multimedia file is generated (e.g., cut, created) by the second terminal, the owner of the multimedia file locates the second object. If the multimedia file is forwarded by the second terminal from the page (including the target social page), the owner of the multimedia file may be a third object, which may be an object other than the second object in the social application, or the third object may be an object in another application, which is an application other than the social application in the second terminal. The key media content may also include an identification of an online cloud disk component that indicates that the multimedia file is stored in the online cloud disk component and that the file mode of the multimedia file is a file privacy mode. The identification of the online cloud disk may include at least one of text, coincidence, pattern, and the like.
It can be understood that the file mode of the multimedia file is a file security mode having four meanings as follows: a. the owner of the multimedia file is a second object, and the second object is in an on state with respect to the state of the file security mode. b. The owner of the multimedia file is a third object, the state of the third object about the file security mode is an on state, the third object may be an object except the second object in the social application program, or the third object is an object in other application programs, and the other application programs are application programs except the social application program in the second terminal. c. The owner of the multimedia file is a third object, and the state of the third object about the file security mode is an off state, and the state of the second object about the file security mode is an on state. d. The owner of the multimedia file is a third object, and the state of the third object about the file security mode is an on state, and the state of the second object about the file security mode is an on state.
It may be understood that the above-mentioned operation rights may include at least one of a browsing right, a downloading right, and an editing right, and in particular, when the first object multimedia file has only a forwarding right and the file mode of the multimedia file is a file security mode, the first terminal may display a message including media attribute information of the multimedia file in the target social page, or may display indication information indicating that the first object does not have the operation right for the multimedia file in the target social page. In other words, when the first object multimedia file only has forwarding authority and the file mode of the multimedia file is the file security mode, the first terminal does not display the first file message including the key media content of the multimedia file in the target social page.
It can be understood that when the file type of the multimedia file is an image type; displaying a first file message including key media content in the multimedia file in the target social page, including: the first terminal may display a first file message including a first thumbnail of the multimedia file and an identification of the online cloud disk assembly in the target social page. The first file message including the first thumbnail of the multimedia file is displayed in a generic way, so that a receiver with operation authority on the multimedia file is facilitated to quickly know the file type of the multimedia file and the key media content in the multimedia file, and invalid operation on the multimedia file is avoided.
It can be understood that the first thumbnail is generated according to the image in the multimedia file, and when the multimedia file contains only one image, the first thumbnail is obtained by performing a reduction process on the image in the multimedia file, or the first thumbnail is obtained by cutting the salient region in the image in the multimedia file. The salient region may be a region in the image that contains the most information, or the salient region may be a region in the image that has the highest sharpness. When the multimedia file only contains a plurality of images, the first thumbnail is obtained by performing reduction processing on the key images in the multimedia file, or is obtained by cutting the salient areas in the key images in the multimedia file. The key image herein may refer to an image in the multimedia file that can reflect the subject of the multimedia file, for example, the cumulative sum of the image distances between the key image and the remaining images in the multimedia file, which are images in the multimedia file except the key image, is smaller than the image distance threshold. Alternatively, the key image may refer to the highest definition image in the multimedia file.
It may be appreciated that, when the file type of the multimedia file is a video type, displaying, in the target social page, a first file message including key media content in the multimedia file, including: the first terminal may display a first file message including a second thumbnail of the multimedia file, which can reflect the primary content of the multimedia file, the file type, and the like, and an identification of the online cloud disk component in the target social page. The first file message including the second thumbnail of the multimedia file is displayed in a generic way, which is advantageous for a receiver having operation authority on the multimedia file to quickly understand the file type of the multimedia file and key media contents in the multimedia file, and avoid performing an invalidation operation on the multimedia file.
It can be understood that the second thumbnail is generated according to the key video frames in the multimedia file, that is, the first thumbnail is obtained by performing a reduction process on the key video frames in the multimedia file, or the first thumbnail is obtained by cutting the salient regions in the key video frames of the multimedia file. The key video frame may refer to a cover of the multimedia file, or the key video frame may be a video frame with highest definition in the multimedia file, or the key video frame may refer to a video frame with the highest information content in the multimedia file, or the key video frame may refer to a video frame in the multimedia file capable of reflecting the theme of the multimedia file.
It is understood that the size of the first thumbnail and the size of the second thumbnail may or may not be the same, and that the size of the first thumbnail and the size of the second thumbnail may be determined according to the size of the target social page, i.e., the size of the first thumbnail and the size of the second thumbnail may dynamically change as the size of the target social page changes. For example, if the size of the target social page becomes larger, the size of the first thumbnail and the size of the second thumbnail may also be increased accordingly; if the size of the target social page becomes smaller, the size of the first thumbnail and the size of the second thumbnail may also become smaller accordingly. Alternatively, the size of the first thumbnail and the size of the second thumbnail may be obtained by an online cloud disk assembly configuration.
It is understood that the first file message includes, in addition to the key media content, a type identifier for indicating a file type of the multimedia file, and the like, and the type identifier may be composed of at least one of text, a pattern, a symbol, and the like.
For example, as illustrated in fig. 5, taking the chat page 50a in which the target social page in the first terminal participates in with the task xiao Li as an example, when the first terminal receives the image b sent by the second terminal with the task Li Duiying, if the file mode of the image b is the file security mode and the task has the operation authority for the image b, the first terminal may display the first file message 52a in the message display area 51a of the chat page 50a, where the first file message 52a includes a thumbnail of the image b, and the identifier 53a of the online cloud disk component is a pattern. When the first terminal transmits video data c, i.e., small Wang Xiangxiao Li Fasong video data c, to the second terminal, if the small king has an operation right for the video c and the file mode of the video data c is a file security mode, the first terminal may display a first file message 54a in the chat page 50a, the first file message 54a including a thumbnail of a cover in the video data c, an identification 55a of an online cloud disk assembly, a type identification (i.e., play option 56 a), and a play duration of the video data c. Similarly, when xiao Li has an operation right for image b, the second terminal will also display the first file message 52a in the chat page where the king participates with xiao Li; when the small Li Juyou is directed to the operational rights of the video data b, the second terminal will also display the first file message 54a in the chat page where the small king participates with xiao Li.
It can be understood that the target social page is a chat page in which N objects participate, and the target social page includes a message display area in which the first file message is displayed. Or the target social page is a mail page (such as a mail receiving page) in which the N objects participate, and the target social page includes an attachment display area in which the first file message is displayed. Alternatively, the target social page may be a page of the online cloud disk assembly that includes a document presentation area in which the first file message is displayed.
It may be understood that, if the first object has an operation right for a multimedia file to be received and the file mode of the multimedia file is a file security mode, displaying, on the target social page, a first file message including key media content in the multimedia file, including: the first terminal can receive a second file message forwarded by a server corresponding to the target social page; the second file message is generated by the second terminal and transmitted to the server, and the second file message is used for indicating the multimedia file to be transmitted to the first terminal. Further, if the second file message includes the acquisition address of the key media content of the multimedia file, determining that the file mode of the multimedia file is a file confidentiality mode; the acquisition address is acquired by the second terminal after determining that the file mode of the multimedia file is the file security mode, or the acquisition address is acquired by the second terminal after determining that the file mode of the multimedia file is the file security mode. And if the first object has the operation authority for the multimedia file, acquiring the key media content of the multimedia file according to the acquisition address, and displaying a first file message comprising the key media content in the multimedia file in the target social page. By displaying the first file message including the key media content in the multimedia file in the first target social page, the receiver with the operation authority on the multimedia file is facilitated to quickly know the key media content in the multimedia file, and invalid operation on the multimedia file is avoided.
It can be understood that, if the first object has the operation authority for the multimedia file, acquiring the key media content of the multimedia file according to the acquisition address includes: the first terminal may generate an acquisition request for the key media content of the multimedia file, the acquisition request carrying the acquisition address. The acquisition request is sent to a server corresponding to the target social page, and the server is used for returning the key media content of the multimedia file after determining that the first object has the operation authority for the multimedia file based on the acquisition address; the first terminal may receive the key media content of the multimedia file returned by the server. The key media content in the server is transmitted by the terminal corresponding to the owner of the multimedia file. The key media content is sent to the first terminal only when the first terminal has the operation right for the multimedia file, so that the media content leakage risk of the multimedia file is reduced, and the transmission safety of the multimedia file is improved.
It can be understood that the file mode of the multimedia file is a file security mode, and the first object does not have an operation right for the multimedia file, so that the first terminal can display a third file message including right indication information in the target social page; the rights indication information is used for indicating that the first object does not have the operation rights for the multimedia file. The rights indication information herein may refer to at least one of image, text, symbol, etc. By displaying the third file message comprising the rights indication information, the user is prevented from being prompted to have no operation rights for the multimedia file after the triggering operation is performed on the third file message, i.e. the invalidation operation is prevented from being performed for the multimedia file, and at the same time, the continuity of the context of the receiver's viewing of the session message (i.e. the session message between N objects) is prevented from being interrupted.
It can be appreciated that the third file message may further include the identifier of the online cloud disk assembly and the file type identifier.
For example, as shown in fig. 6a, taking the chat page 60a of the project discussion group 2 as the target social page in the first terminal as an example, the user 3 corresponding to the first terminal belongs to the project discussion group 2, and the project discussion group 2 further includes the user 1 and the user 2. When the terminal corresponding to the user 1 transmits the image d to the terminal corresponding to the user 3 and the terminal corresponding to the user 2, if the file mode of the image d is the file security mode and the user 3 does not have the operation authority for the image d, the first terminal may display a third file message 62a in the message display area 61a of the chat page 60a, where the third file message 62a includes the authority indication thumbnail 1, and the authority indication thumbnail 1 includes the prohibited viewing pattern 64a and the identifier 63a of the online cloud disk assembly, and the identifier 63a of the online cloud disk assembly is a pattern. When the terminal corresponding to the user 2 transmits the video data e to the first terminal and the terminal corresponding to the user 1, if the user 3 does not have the operation right for the video e and the file mode of the video data e is the file security mode, the first terminal may display a third file message 65a in the chat page 60a, where the third file message 65a includes the limited indication thumbnail 2, the permission indication thumbnail 2 includes the prohibited view pattern 66a and the identifier 67a of the online cloud disk assembly, and the identifier 67a of the online cloud disk assembly is a pattern.
It may be understood that, if the first object does not have the operation authority for the multimedia file, displaying, on the target social page, a third file message including authority indication information, where the third file message includes: the first terminal can receive an error code which is returned by the server and is related to the multimedia file; the error code is returned by the server upon determining that the first object does not have operating rights for the multimedia file based on the acquisition address. The first terminal may locally acquire, from the first terminal, permission indication information for indicating that the first object does not have an operation permission for the multimedia file according to the error code, and display, in the target social page, a third file message including the permission indication information. When the first terminal displays the third file message including the permission indication information to the first object, the first object can be prevented from performing a triggering operation on the third file message, that is, performing an invalidation operation on the multimedia file, and simultaneously, interrupting the continuity of the context of the receiver's viewing of the session message (that is, the session message between N objects).
It can be understood that, the first terminal responds to the seventh triggering operation for the third file message, and can display the authority application page of the online cloud disk assembly, acquire the authority application information about the multimedia file obtained by configuring the authority application page, send the authority application information to the second terminal, and the second terminal authorizes the operation authority of the first object corresponding to the first terminal for the multimedia file. The seventh triggering operation here is a clicking operation, a sliding operation, a pressing operation, or the like. Or, the first terminal may output a prompt that the first object does not have the operation right for the multimedia file in response to the seventh trigger operation for the third file message, so as to prohibit the first object from performing the operation for the multimedia file.
It can be understood that if the second file message does not include the acquisition address, which indicates that the file mode of the multimedia file is a local file mode, the first terminal may acquire media attribute information of the multimedia file from the third file message, where the media attribute information includes a file size, a file name, a file type, and the like; then, in the target social page, a fourth file message including the media attribute information is displayed. When the file mode of the multimedia file is the file security mode, the fourth file message comprising the media attribute information is displayed, so that the user can download the multimedia file quickly.
It can be understood that the first terminal may detect the operation permission change state of the first object for the multimedia file to obtain a detection result, and if the detection result indicates that the first object has the operation permission to be changed from having no operation permission, the first terminal may update the first file message in the target social page to the third file message, so as to prompt that the first object does not have the operation permission of the multimedia file, and avoid the first object executing the invalidation operation on the multimedia file. If the detection result indicates that the first object does not have the operation right but has the operation right, the third file message in the target social page is updated to the first file message, so that a user can quickly know the key media content in the multimedia file, further determine whether the multimedia file is a file required by the user, and avoid executing invalid operation on the multimedia file.
It can be appreciated that the operation authority of the first object with respect to the multimedia file is variable and real-time is strong in order to maintain real-time response to the change of the operation authority. If the first terminal needs to display the first file message every time, the key media content about the multimedia file is downloaded again in the background. However, the first terminal will usually show the first file message in the target social page more frequently, if the background is returned to download the key media content related to the multimedia file each time, this may cause performance problems for the social application program, and the downloading needs to be time-consuming, and before the downloading is finished, the first file message is blank (i.e. does not include any information), so that the first terminal may cache the key media content of the multimedia file in the local storage.
It can be understood that, in order to consider the performance of the social application program, the fluency of the display of the message in the social page, and the update instantaneity of the operation authority, the authority change state of the first object is detected by any one of the following four modes: in one aspect, if a sixth triggering operation for the target file message is detected, which indicates that the first object needs to perform an operation on the multimedia file, the sixth triggering operation may refer to clicking, pressing, sliding, and other operations. At this time, the first terminal may send a request for obtaining the right about the operation right of the first object to the server, the server returns the latest operation right of the first object, and the first terminal may determine, according to the latest operation right, the operation right change state of the first object with respect to the multimedia file, so as to obtain a detection result. By detecting whether the operation authority of the first object is updated when the first object needs to perform the operation on the multimedia file, the authority of the first object for the multimedia file is ensured to be correct when the first object really needs to perform the operation on the multimedia file.
In the second mode, if the restart operation of the social application program to which the target social page belongs is detected, at this time, the first terminal may send a permission acquisition request about the operation permission of the first object to the server, the server returns the latest operation permission of the first object according to the permission acquisition request, and the first terminal may determine the operation permission change state of the first object for the multimedia file according to the latest operation permission, so as to obtain a detection result.
In a third mode, if it is detected that the content included in the target file message is in a failure state, detecting an operation permission change state of the first object for the multimedia file, and obtaining a detection result. The content contained in the target file message is cached in the local storage of the first terminal, the content contained in the target file message has a valid period, for example, the valid period is 24 hours, if the caching time of the content contained in the target file message is longer than 24 hours, the content contained in the target file message is in an invalid state, and the content contained in the target message file cached in the first terminal is deleted; if the caching duration of the content contained in the target file message is less than or equal to 24 hours, the content contained in the target message file message is in a valid state. When the target file message is the first file message, the content contained in the target file message is the key media content, and when the target file message is the third file message, the content contained in the target file message is the permission indication information.
In a fourth aspect, if an operation right change notification for the multimedia file is received with respect to the first object, the operation right change notification being sent by the server, the first terminal may determine a detection result for reflecting an operation right change state of the first object with respect to the multimedia file according to the operation right change notification. The target file message is the first file message or the third file message.
For example, as shown in fig. 6b, a chat page 60b in which a target social page in the first terminal is taken as the item discussion group 2 is taken as an example to describe that the user 3 corresponding to the first terminal belongs to the item discussion group 2. The chat page 60b comprises a second file message 61b, which file message 61b comprises a permission indication thumbnail for indicating that the user 3 does not have an operation permission for the image d sent by the terminal corresponding to the user 1 within the item discussion group 2. After the first terminal displays the second file message 61b, the user 3 may apply for the operation right for the image d to the user 2, that is, the first terminal may send an operation right request for the image d to the terminal corresponding to the user 1, where the operation right request is used to instruct the user 1 to grant the operation right for the image d to the user 3. After receiving the operation authority request, the terminal corresponding to the user 1 may add the user 3 to an operation authority list about the image d, where the operation authority list of the image d includes the user having the operation authority to the image b, and send the operation authority list to the server. After receiving the operation authority list, the server sends an operation authority change notification 62b to the first terminal, and after receiving the operation authority change notification 62b, the first terminal may display the operation authority change notification 62b on the chat page 60 b. The first terminal may update the permission indication thumbnail in the second file message 61b on the chat page 60b to the thumbnail of the image d in response to the triggering operation for the operation permission change notification 62b, to obtain the second file message 63d, where the size of the permission indication thumbnail may be the same as the size of the thumbnail of the image d, so that the first terminal is not required to perform a page jump in the process of updating the second file message 61 b.
It can be understood that the key media content in the first file message is a key content thumbnail of the multimedia file, and when the file type of the media file is an image type, the key content thumbnail is the first thumbnail; when the file type of the media file is the video type, the key content thumbnail is the second thumbnail. The authority indication information in the third file message is an authority indication thumbnail; updating the first file message in the target social page to the third file message includes: updating the key content thumbnail in the first file message in the target social page into the permission indication thumbnail; the updated first file message is the third file message. The key content thumbnail may be the same size as the rights indication thumbnail, which facilitates quick updating of file messages in the target social page.
Similarly, the updating the third file message in the target social page to the first file message includes: the first terminal may update the permission indication thumbnail included in the third file message in the target social page to a key content thumbnail, where the updated third file message is the first file message.
It can be understood that the operation authority of the first object for the multimedia file is an editing authority, and the first terminal can respond to the first triggering operation for the first file message to display an online editing window of the online cloud disk assembly on the target social page. The online editing window includes original media content in the multimedia file, and editing options related to the multimedia file, where the first triggering operation is clicking, pressing, sliding, and the like. Further, the first terminal may respond to a second triggering operation for the editing options in the online editing window, and display the media content obtained by the second triggering operation in the original media content of the online editing window, where the second triggering operation is clicking, pressing, sliding, and the like. And if the first object has the editing right for the multimedia file, supporting the first object to realize online editing operation on the social page. The first terminal can directly call the online editing window of the online cloud disk assembly in the target social page, does not need to jump to an application program corresponding to the online assembly, and improves editing convenience of the multimedia file. The online editing window shields part of session messages in the message display area in the social page, namely the size of the online editing window is smaller than that of the message display area, so that the first object can be prevented from missing the messages in the message display area.
It can be understood that when the media content obtained by the second triggering operation is displayed in the original media content of the online editing window, an updated multimedia file can be obtained, and the first terminal can store the updated multimedia file to the online cloud disk assembly. Or when the media content obtained by the second triggering operation is displayed in the original media content of the online editing window, an updated multimedia file can be obtained, and the first terminal can replace the multimedia file in the online cloud disk assembly by adopting the updated multimedia file. Further, the first terminal may send an update notification of a multimedia file to the terminals corresponding to the N objects, respectively.
It can be understood that the operation authority of the first object for the multimedia file is an editing authority, and the first terminal may download the multimedia file from the online cloud disk assembly to the local storage of the first terminal in response to a third triggering operation for the first file message, where the third triggering operation is a clicking operation, a pressing operation, a sliding operation, and the third triggering operation is different from the first triggering operation. Further, the first terminal may display the original media content of the multimedia file in the local storage and editing options for the multimedia file in a local editing window of an editing application of the first terminal, where the editing application may refer to a multimedia file editor, such as an image editor and a video editor. Then, the first terminal may respond to a fourth trigger operation for the editing options in the local editing window, and display the media content obtained by the fourth trigger operation in the original media content of the local editing window. The fourth triggering operation here is clicking, pressing, sliding, etc., and if the first object has editing rights to the multimedia file, the first object is supported to execute offline editing operation to the multimedia file. For example, as shown in fig. 7, the target social page in the first terminal is a chat page 70a between the king and xiao Li, the chat page 70a includes a first file message 71a therein, and the first file message 71a includes a thumbnail of the image b; the king corresponding to the first terminal has editing authority for the image b, and the file mode of the image b is a file confidentiality mode. The first terminal downloads the image b from the online cloud deck assembly into the local storage of the first terminal in response to the clicking operation for the first file message 71a, and the first terminal may display the image b in the local storage in a preview window 72a of an editing application (e.g., an image editor) of the first terminal. The preview window 72a further includes an application list 73a for editing the image b, and the first terminal may perform an editing operation on the image b through an application in the application list.
As another example, as shown in fig. 8, the target social page in the first terminal is a chat page 80a between the king and xiao Li, the chat page 80a includes a first file message 81a therein, and the first file message 81a includes a thumbnail of a cover of the video data c; the king corresponding to the first terminal has editing authority for the video data c, and the file mode of the image b is a file confidentiality mode. The first terminal downloads the video data c from the online cloud deck assembly into the local storage of the first terminal in response to the clicking operation for the first file message 81a, and the first terminal may display the video data c in the local storage in the preview window 82a of the editing application (e.g., video playing application) of the first terminal. The preview window 82a further includes an application list 83a for editing the video data c, and the application list 83a includes an image playing application, a video playing application, a document editing application, and a micro disk application, and the first terminal may perform an editing operation on the video data c through the application in the application list.
It can be understood that the operation authority of the first object for the multimedia file is a browsing authority, and the first terminal may respond to the fifth triggering operation for the first file message to display a browsing window of the online cloud disk assembly on the target social page. The browsing window includes the original media content of the multimedia file displayed in the online preview mode, that is, the first object can only browse the original media content of the multimedia file in the browsing window, and the first object cannot download or edit the original media content in the browsing window.
For example, as shown in fig. 9, the target social page in the first terminal is a chat page 90a between the king and xiao Li, the chat page 90a includes a first file message 91a therein, and the first file message 91a includes a thumbnail of the image b; the king corresponding to the first terminal has browsing authority for the image b, and the file mode of the image b is a file confidentiality mode. The first terminal displays a browsing window 92a of the online cloud deck assembly in the chat page 90a in response to the click operation for the first file message 91a, the browsing window 92a including the image b, and the tool list 93a. The tool list 93a includes an enlargement option for previewing a next image, a reduction option for previewing a previous image, a rotation option, a forward option for previewing the previous image, and a backward option, and the first terminal may perform a browsing operation on the image b through the tool list 93a.
For example, as shown in fig. 10, the target social page in the first terminal is a chat page 111a between the king and xiao Li, the chat page 111a includes a first file message 112a therein, and the first file message 112a includes a thumbnail of a cover in the video data c; the king corresponding to the first terminal has browsing permission for the video data c, and the file mode of the video data c is a file confidentiality mode. The first terminal displays a browsing window 113a of the online cloud deck assembly in the chat page 111a in response to the click operation for the first file message 112a, the browsing window 113a including video data c, and a tool list 114a. The tool list 114a includes an enlargement option, a reduction option, a rotation option, a forward option, and a backward option with respect to the video, the forward option being used to preview the next video data to be played, the backward option being used to preview the last video data, and the first terminal may perform a browsing operation on the video data c through the tool list 114a.
In the application, when a first terminal receives a multimedia file in a file confidentiality mode, a first file message including key media contents in the multimedia file is displayed in a target social page only when a receiver (namely a first object corresponding to the first terminal) has an operation right for the multimedia file. Thus, the method is beneficial to a receiver with operation authority on the multimedia file, and key media contents in the multimedia file can be conveniently checked; meanwhile, a receiver without operation authority on the multimedia file can be prevented from viewing the media content in the multimedia file, so that the viewing convenience of the media content is improved and the convenience of multimedia file interaction in a social scene is improved under the condition that the media content of the multimedia file is ensured not to be leaked. In addition, by displaying the key media content in the multimedia file, it is advantageous for the recipient to quickly determine whether the multimedia file is a file that is itself needed, avoiding performing invalidation operations on the multimedia file, while avoiding interrupting the continuity of the recipient's view of the session message (i.e., session message between N objects) context.
Further, please refer to fig. 11, which is a flowchart illustrating a method for displaying a multimedia file according to an embodiment of the present application. As shown in fig. 11, the method may be performed by any one of the terminals in the terminal cluster in fig. 1, and a terminal for performing the multimedia file displaying method in the present application may be referred to as a second terminal.
Wherein, the method can comprise the following steps:
s201, displaying target social pages in which N objects participate in a second terminal; the target social page comprises a multimedia file to be sent; the file mode of the multimedia file is a file confidentiality mode, and N is a positive integer greater than 1.
In the application, the second terminal can display the target social page in which N objects participate, and the target social page comprises a multimedia file to be sent, wherein the multimedia file can be located in the local storage of the second terminal, namely, the owner of the multimedia file is the second object, and the multimedia file can be obtained by cutting the page in the second terminal by the second terminal, or the multimedia file can be shot by the second terminal, or the multimedia file can be downloaded from the network to the local by the second terminal. The multimedia file may be located in an online cloud disk assembly, where the multimedia file in the online cloud disk assembly may be uploaded by the second terminal, or may be uploaded by another terminal.
S202, if the file mode of the multimedia file is a file confidentiality mode and a first object corresponding to a first terminal has operation authority for the multimedia file, transmitting key media content in the multimedia file to the first terminal; the first terminal is used for displaying a first file message comprising the key media content in the target social page in the first terminal; the first object and the second object corresponding to the second terminal belong to the N objects.
In the application, if the file mode of the multimedia file is the file confidentiality mode and the first object corresponding to the first terminal has the operation authority for the multimedia file, the key media content in the multimedia file is sent to the first terminal, so that the first terminal can display the first file message comprising the key media content, thereby being beneficial to a receiver with the operation authority for the multimedia file and being capable of conveniently viewing the key media content in the multimedia file; meanwhile, a receiver without operation authority on the multimedia file can be prevented from viewing the media content in the multimedia file, so that the viewing convenience of the media content is improved and the convenience of multimedia file interaction in a social scene is improved under the condition that the media content of the multimedia file is ensured not to be leaked.
It can be understood that the multimedia file is stored in an online cloud disk component associated with a social application, and the multimedia file in the online cloud disk component allows a rights object to perform an operation corresponding to an operation right of the multimedia file, where the rights object is an object having the operation right for the multimedia file in the N objects, and the social application is an application to which the target social page belongs.
It will be appreciated that the multimedia file is located in the local storage of the second terminal, and the owner of the multimedia file is generally considered as the second object, and the step S202 may include: if the file mode of the multimedia file is a file confidentiality mode, that is, the state of the second object about the file confidentiality mode is an on state, storing the multimedia file in the local storage of the second terminal into the online cloud disk assembly; and if the first object corresponding to the first terminal has the operation authority for the multimedia file, transmitting the key media content in the multimedia file to the first terminal. The first terminal can display the first file message comprising the key media content, so that a receiver with operation authority on the multimedia file is facilitated, the key media content in the multimedia file can be conveniently checked, and the checking convenience of the key media content of the multimedia file is improved.
It can be understood that if the file mode of the multimedia file is the file security mode, the second terminal may detect whether the online cloud disk assembly includes the multimedia file according to the file identifier (such as the file name) of the multimedia file, if the online cloud disk assembly does not include the multimedia file, upload the multimedia file to the online cloud disk assembly, and if the online cloud disk assembly includes the multimedia file, pause uploading the multimedia file to the online cloud disk assembly, so that repeated uploading of the multimedia file to the online cloud disk assembly can be avoided, and storage space of the online cloud disk assembly is saved.
It is understood that the step S202 may include: if the file mode of the multimedia file is a file security mode, generating a sending request about the multimedia file; the sending request is used for indicating to send the multimedia file in the second terminal to the first terminal corresponding to the first object, and sending the sending request to the server corresponding to the target social page. After receiving the sending request, the server can verify the operation authority of the first object for the multimedia file according to the sending request to obtain a verification result; and receiving the verification result returned by the server. And if the verification result indicates that the first object has the operation authority for the multimedia file, transmitting the key media content in the multimedia file to the first terminal.
It can be understood that, if the file mode of the multimedia file is the file security mode, generating the transmission request about the multimedia file includes: the second terminal verifies the file mode of the multimedia file, and if the file mode of the multimedia file is a file confidentiality mode, the second terminal obtains an obtaining address related to key media content in the multimedia file; and adding the acquired address to the initial file message to obtain a second file message, and generating a sending request carrying the second file message. If the file mode of the multimedia file is the local file mode, a transmission request including media attribute information of the multimedia file is generated.
For example, as shown in fig. 12, the key media content of the multimedia file is a key content thumbnail, and the initial file message includes fields of a file name, a file size, a file icon, and the like of the multimedia file. If the file mode of the multimedia file is a file security mode, the second terminal may add an acquisition address of a thumbnail of the key content (thumbnail for short), a width of the thumbnail of the key content and a height of the thumbnail of the key content to the initial file message to obtain a second file message, where the acquisition address of the thumbnail is a download address of the thumbnail.
It will be appreciated that when the second file message includes the acquisition address of the key media content, the second file message may also include the size of the key media content, such as the height and width. It can be understood that if the state of the second object about the file security mode is an on state and the owner of the multimedia file is the second object, determining that the file mode of the multimedia file is the file security mode, generating the key media content of the multimedia file, and generating the acquisition address about the key media content in the multimedia file. If the state of the second object about the file security mode is an unopened state (or an opened state), and the owner of the multimedia file is the third object, and the state of the third object about the file security mode is an opened state, which indicates that the key media content of the multimedia file already exists in the terminal corresponding to the third object, and the acquiring address of the key media content, the second terminal determines that the file mode of the multimedia file is the file security mode, and acquires the acquiring address about the key media content in the multimedia file from the terminal corresponding to the third object. If the state of the second object about the file security mode is an on state, and the owner of the multimedia file is the third object, and the state of the third object about the file security mode is an unopened state, the second terminal determines that the file mode of the multimedia file is the file security mode, generates key media content of the multimedia file, and generates an acquisition address about the key media content in the multimedia file.
It can be understood that if the second object has an operation right for the multimedia file and the file mode of the multimedia file is a file security mode, displaying a first file message containing the key media content in the target social page in the second terminal; when the second object does not have the operation authority for the multimedia file and the file mode of the multimedia file is the file confidentiality mode, displaying a fifth file message in a target social page in the second terminal; the fifth file message includes rights indication information indicating that the second object does not have an operation right for the multimedia file. In other words, for the sender of the multimedia file, the operation authority of the sender for the multimedia file needs to be verified, so that when the owner of the multimedia file is inconsistent with the sender, the user who does not have the operation authority for the multimedia file is prevented from viewing the key media content in the multimedia file, the security of the multimedia file is improved, and traceability of the operation behavior of the multimedia file is realized.
According to the method and the device, through interaction among the first terminal, the second terminal and the server, when the first terminal receives the multimedia file in the file security mode, the first file message including the key media content in the multimedia file is displayed in the target social page only when a receiver (namely a first object corresponding to the first terminal) has the operation right for the multimedia file. Thus, the method is beneficial to a receiver with operation authority on the multimedia file, and key media contents in the multimedia file can be conveniently checked; meanwhile, a receiver without operation authority on the multimedia file can be prevented from viewing the media content in the multimedia file, so that the viewing convenience of the media content is improved and the convenience of multimedia file interaction in a social scene is improved under the condition that the media content of the multimedia file is ensured not to be leaked. In addition, by displaying the key media content in the multimedia file, it is advantageous for the recipient to quickly determine whether the multimedia file is a file that is itself needed, avoiding performing invalidation operations on the multimedia file, while avoiding interrupting the continuity of the recipient's view of the session message (i.e., session message between N objects) context.
Further, please refer to fig. 13, which is a flowchart illustrating a method for displaying a multimedia file according to an embodiment of the present application. As shown in fig. 13, the method may be performed by the server of fig. 1. Wherein, the method can comprise the following steps:
s301, receiving a transmission request for the multimedia file sent by a second terminal; the sending request is used for indicating to send the multimedia file to a first terminal corresponding to a first object, the second object corresponding to the second terminal and the first object belong to N objects, the N objects comprise objects participating in a target social page in the first terminal, and N is a positive integer greater than 1.
In the application, when the second terminal needs to send the multimedia file to the first terminal, the second terminal can generate a sending request about the multimedia file, wherein the sending request is used for indicating to send the multimedia file in the second terminal to the first terminal corresponding to the first object. The second object and the first object corresponding to the second terminal belong to N objects, wherein the N objects comprise objects participating in a target social page in the first terminal, and N is a positive integer greater than 1. The second terminal corresponds to the second object being a sender of the multimedia file, and the first object being a receiver of the multimedia file.
S302, if the file mode of the multimedia file is a file security mode, obtaining a verification result according to the operation authority of the first object for the multimedia file, which is requested by the sending.
And S303, if the verification result indicates that the first object has the operation authority for the multimedia file, transmitting the key media content of the multimedia file in the second terminal to the first terminal, wherein the first terminal is used for displaying a first file message comprising the key media content in the target social page.
In the application, after receiving the sending request, the server can obtain the verification result according to the operation authority of the first object aiming at the multimedia file. And if the verification result indicates that the first object has the operation authority for the multimedia file, transmitting the key media content of the multimedia file in the second terminal to the first terminal. Therefore, the first terminal can display the first file message comprising the key media content in the target social page, which is beneficial for a user to quickly know the key media content in the multimedia file, further determine whether the multimedia file is a file required by the user or not, and avoid executing invalid operation on the multimedia file.
It can be understood that the multimedia file is stored in an online cloud disk component associated with a social application, and the multimedia file in the online cloud disk component allows a rights object to perform an operation corresponding to an operation right of the multimedia file, where the rights object is an object having the operation right for the multimedia file in the N objects, and the social application is an application to which the target social page belongs. It is understood that the sending request carries a second file message; the method for verifying the file mode of the multimedia file and the operation authority of the first object for the multimedia file according to the sent request, to obtain a verification result, includes:
if the second file message carries the acquisition address of the key media content, determining that the file mode of the multimedia file is a file confidentiality mode; the acquired address is acquired by the second terminal after determining that the file mode of the multimedia file is a file security mode. Further, forwarding a second file message carrying the acquired address to the first terminal; the first terminal is used for returning an acquisition request of key media content of the multimedia file; the acquisition request carries the acquisition address, which is an address for acquiring the key media content. Then, according to the acquisition address carried by the acquisition request, inquiring an operation authority list about the multimedia file in a server; the operation authority list comprises objects with operation authorities for the multimedia files; if the first object belongs to the operation authority list, generating a verification result indicating that the first object has the operation authority for the multimedia file.
It can be understood that the operation authority list of the multimedia file is configured by an owner or manager of the multimedia file through an online cloud disk assembly.
It can be understood that if the first object does not belong to the operation authority list, it indicates that the first object does not have the operation authority for the multimedia file, and a verification result indicating that the first object does not have the operation authority for the multimedia file and that the file mode of the multimedia file is the file security mode is generated. And returning an error code related to the multimedia file to the first terminal according to the verification result, wherein the first terminal is further used for displaying a third file message comprising permission indication information in the target social page according to the error code, and the permission indication information is used for indicating that the first object does not have operation permission for the multimedia file. When the first terminal displays the third file message including the permission indication information to the first object, the first object can be prevented from performing a triggering operation on the third file message, that is, performing an invalidation operation on the multimedia file, and simultaneously, interrupting the continuity of the context of the receiver's viewing of the session message (that is, the session message between N objects). It can be understood that the server can detect the storage time length of the multimedia files in the online cloud disk assembly, delete the multimedia files with the storage time length larger than the time length threshold value, so as to save the storage space of the online cloud disk assembly, and facilitate other users to upload the multimedia files normally. The manager of the online cloud disk assembly may configure a limit number of times of uploading the multimedia file in a preset time period for the user, and limit data amount of uploading the multimedia file each time, and if the second terminal detects that the number of times of uploading the multimedia file by the second object in the preset time period is greater than the limit number of times, pause uploading the multimedia file to the online cloud disk assembly. And if the fact that the uploading frequency of the second object for the multimedia file in the preset time period is smaller than the limiting frequency is detected, uploading the multimedia file to the online cloud disk assembly. Or if the data volume of the multimedia file is detected to be larger than the limit data volume, suspending uploading the multimedia file to the online cloud disk assembly; and if the detected data volume of the multimedia file is smaller than the limit data volume, uploading the multimedia file to the online cloud disk assembly.
It can be understood that the embodiments of the method for displaying a multimedia file in the present application may refer to each other, and the repetition is not repeated.
According to the method, the server is used for verifying the operation authority of the first object on the multimedia file and the file mode of the multimedia file, so that when the first object has the operation authority of the multimedia file and the file mode of the multimedia file is a file confidentiality mode, a first file message comprising key media content is displayed in a target social page of the first terminal; under the condition that the media content of the multimedia file is not leaked, the viewing convenience of the media content is improved, and the convenience of multimedia file interaction in a social scene is improved.
In an implementation, as shown in fig. 14, the method for displaying a multimedia file according to the present application is described by taking a target social page as an example of a chat page, where the chat page may include a first object corresponding to a first terminal and a page corresponding to a second object corresponding to a second terminal, and the method for displaying a multimedia file includes:
s141, the second terminal drags the locally stored image into the message input box and sends the locally stored image.
And S142, the second terminal generates an initial file message and sends the initial file message to the message module.
s143, the second terminal determines whether the second object starts the file security mode, if yes, step s144 is executed, and if not, step s145 is executed.
s144, the second terminal generates a thumbnail, and adds a thumbnail field in the initial file message.
s145, the second terminal sends the initial file message to the server.
s146, the server forwards the initial file message to the first terminal corresponding to the receiver (i.e. the first object).
s147, the server judges whether the receiver has authority, if yes, step s148 is executed; if not, step s149 is performed.
s148, the first terminal displays the first file message including the thumbnail.
s149, the first terminal displays a third file message including the permission indication information.
In steps s141 to s149, the second terminal responds to a drag operation for an image in the local storage (referred to as image g), drags the image g into a message input box (message input area) of the chat page according to the drag operation, and performs a transmission operation. The second terminal may generate an initial file message, where the initial file message includes a file type field, and a field value of the file type field is an image, i.e. type=image, for indicating that a file type of a multimedia file to be transmitted by the second object is an image type, and transmit the initial file message to the message module. If the state of the second object about the file security mode is the closed state, the initial file message may be sent to the server. If the second object is in an on state with respect to the file security mode, generating a thumbnail of the image g, changing a field value of a file type field in the initial file message to a file, i.e., type=file, and adding a thumbnail field, wherein the thumbnail field includes an acquisition address of the thumbnail and a size of the thumbnail, and transmitting the initial file message (i.e., the added initial file message corresponds to the second file message) to the server.
Further, after receiving the initial file message, the server sends the initial file message to the first terminal corresponding to the first object, and the first terminal may send an acquisition request about the thumbnail to the server. After receiving the acquisition request, the server verifies the operation authority of the first object on the image g according to the acquisition request, if the first object has the operation authority for the image g, the thumbnail of the image g is acquired from the second terminal, the thumbnail of the image g is returned to the first terminal, and the first terminal displays a first file message comprising the thumbnail of the image g in the chat page. If the first object does not have the operation right for the image g, the server returns an error code, i.e., error_code=no_auth, to the first terminal, and the first terminal displays a third file message including right indication information in the chat page.
Fig. 15 is a schematic structural diagram of a multimedia file display device according to an embodiment of the application. As shown in fig. 15, the multimedia file display device may include:
a first display module 151, configured to display, in a first terminal, a target social page in which N objects participate; the N objects comprise first objects corresponding to the first terminal, and N is a positive integer greater than 1;
A second display module 152, configured to display, on the target social page, a first file message including key media content in the multimedia file if the first object has an operation right for the multimedia file to be received and the file mode of the multimedia file is a file security mode; the key media content is transmitted to the first terminal by a second terminal to which a second object of the N objects belongs.
It may be appreciated that the multimedia file is stored in an online cloud disk assembly associated with a social application, where the multimedia file in the online cloud disk assembly allows a rights object to perform an operation corresponding to an operation right of the multimedia file, where the rights object is an object having an operation right with respect to the multimedia file among the N objects, and the social application is an application to which the target social page belongs.
It can be understood that the file type of the multimedia file is an image type; the second display module 152 displays a first file message including key media contents in the multimedia file in the target social page, including:
Displaying a first file message comprising a first thumbnail of the multimedia file and an identifier of the online cloud disk assembly in the target social page; the first thumbnail is generated from an image in the multimedia file.
It can be understood that the file type of the multimedia file is a video type; the second display module 152 displays a first file message including key media contents in the multimedia file in the target social page, including:
displaying a first file message comprising a second thumbnail of the multimedia file and an identifier of the online cloud disk assembly in the target social page; the second thumbnail is generated from key video frames in the multimedia file. It can be understood that the operation authority of the first object for the multimedia file is an editing authority, and the second display module 152 is further configured to display an online editing window in the online cloud disk assembly on the target social page in response to a first trigger operation for the first file message; the online editing window comprises original media content in the multimedia file and editing options related to the multimedia file; and responding to a second triggering operation for the editing options in the online editing window, and displaying the media content obtained by the second triggering operation in the original media content of the online editing window.
It can be understood that the operation authority of the first object for the multimedia file is an editing authority, and the second display module 152 is further configured to:
responding to a third triggering operation for the first file message, and downloading the multimedia file from an online cloud disk assembly to a local storage of the first terminal;
displaying original media content of the multimedia file in the local storage and editing options related to the multimedia file in a local editing window of an editing application program of the first terminal;
and responding to a fourth triggering operation for the editing options in the local editing window, and displaying the media content obtained by the fourth triggering operation in the original media content of the local editing window.
It can be understood that the operation authority of the first object for the multimedia file is a browsing authority, and the second display module 152 is further configured to: responding to a fifth triggering operation for the first file message, and displaying a browsing window in the online cloud disk assembly on the target social page; the browsing window includes the original media content of the multimedia file displayed in the online preview mode.
It may be appreciated that, if the first object has an operation right for a multimedia file to be received and the file mode of the multimedia file is a file security mode, the second display module 152 is further configured to display, on the target social page, a first file message including key media content in the multimedia file, where the first file message includes:
receiving a second file message forwarded by a server corresponding to the target social page; the second file message is generated by the second terminal and sent to the server, and the second file message is used for indicating to send the multimedia file to the first terminal;
if the second file message includes the acquisition address of the key media content of the multimedia file, determining that the file mode of the multimedia file is a file confidentiality mode; the obtained address is obtained after the second terminal determines that the file mode of the multimedia file is a file security mode;
if the first object has the operation authority for the multimedia file, acquiring the key media content of the multimedia file according to the acquisition address;
and displaying a first file message comprising the key media content in the multimedia file in the target social page.
It can be understood that, if the first object has an operation right for the multimedia file, the second display module 152 is further configured to obtain, according to the obtaining address, the key media content of the multimedia file, including:
generating an acquisition request of key media content of the multimedia file; the acquisition request carries the acquisition address;
the acquisition request is sent to a server corresponding to the target social page, and the server is used for returning key media content of the multimedia file after determining that the first object has operation authority for the multimedia file based on the acquisition address;
and receiving the key media content of the multimedia file returned by the server.
It can be understood that the file mode of the multimedia file is a file security mode, and the second display module 152 is further configured to: if the first object does not have the operation authority for the multimedia file, displaying a third file message including authority indication information in the target social page; the rights indication information is used for indicating that the first object does not have operation rights for the multimedia file.
The second display module 152 is further configured to display, in the target social page, a third file message including permission indication information if the first object does not have an operation permission for the multimedia file, where the third file message includes:
receiving an error code which is returned by the server and is related to the multimedia file; the error code is returned by the server after determining that the first object does not have an operation right for the multimedia file based on the acquisition address;
acquiring permission indication information for indicating that the first object does not have operation permission for the multimedia file according to the error code;
and displaying a third file message comprising the permission indication information in the target social page.
The second display module 152 is further configured to obtain media attribute information of the multimedia file from the third file message if the second file message does not include the obtaining address;
and displaying a fourth file message comprising the media attribute information in the target social page.
The second display module 152 is further configured to detect an operation permission change state of the first object for the multimedia file, so as to obtain a detection result;
If the detection result indicates that the first object is changed from having the operation authority to not having the operation authority, updating the first file message in the target social page to the third file message;
and if the detection result indicates that the first object does not have the operation authority to be changed to have the operation authority, updating the third file message in the target social page into the first file message.
The second display module 152 is further configured to detect an operation permission change state of the first object for the multimedia file, to obtain a detection result, where the detection result includes:
if a sixth triggering operation aiming at the target file message is detected, detecting an operation authority changing state of the first object aiming at the multimedia file to obtain a detection result; or alternatively, the process may be performed,
if the restarting operation of the social application program which belongs to the target social page is detected, detecting the operation authority changing state of the first object for the multimedia file, and obtaining a detection result; or alternatively, the process may be performed,
if the content contained in the target file message is detected to be in a failure state, detecting an operation authority changing state of the first object aiming at the multimedia file, and obtaining a detection result; or alternatively, the process may be performed,
When an operation right change notification for the first object with respect to the multimedia file is received, a detection result for reflecting an operation right change state of the first object with respect to the multimedia file is determined based on the operation right change notification.
Wherein the target file message is the first file message or the third file message.
It can be understood that the key media content in the first file message is a key content thumbnail of the multimedia file, and the rights indication information in the third file message is a rights indication thumbnail;
the second display module 152 is further configured to update the first file message in the target social page to the third file message, including:
updating the key content thumbnail in the first file message in the target social page into the permission indication thumbnail; the updated first file message is the third file message.
It can be appreciated that the target social page includes a message presentation area, and the first file message is displayed in the message presentation area.
In the application, when a first terminal receives a multimedia file in a file confidentiality mode, a first file message including key media contents in the multimedia file is displayed in a target social page only when a receiver (namely a first object corresponding to the first terminal) has an operation right for the multimedia file. Thus, the method is beneficial to a receiver with operation authority on the multimedia file, and key media contents in the multimedia file can be conveniently checked; meanwhile, a receiver without operation authority on the multimedia file can be prevented from viewing the media content in the multimedia file, so that the viewing convenience of the media content is improved and the convenience of multimedia file interaction in a social scene is improved under the condition that the media content of the multimedia file is ensured not to be leaked. In addition, by displaying the key media content in the multimedia file, it is advantageous for the recipient to quickly determine whether the multimedia file is a file that is itself needed, avoiding performing invalidation operations on the multimedia file, while avoiding interrupting the continuity of the recipient's view of the session message (i.e., session message between N objects) context.
Fig. 16 is a schematic structural diagram of a multimedia file display device according to an embodiment of the application. As shown in fig. 16, the multimedia file display device may include:
a display module 161, configured to display, in the second terminal, a target social page in which N objects participate; the target social page comprises a multimedia file to be sent; n is a positive integer greater than 1;
a sending module 162, configured to send the key media content in the multimedia file to the first terminal if the file mode of the multimedia file is a file security mode and the first object corresponding to the first terminal has an operation right for the multimedia file; the first terminal is used for displaying a first file message comprising the key media content in the target social page in the first terminal; and the first object and the second object corresponding to the second terminal belong to the N objects.
It may be appreciated that the multimedia file is stored in an online cloud disk assembly associated with a social application, where the multimedia file in the online cloud disk assembly allows a rights object to perform an operation corresponding to an operation right of the multimedia file, where the rights object is an object having an operation right with respect to the multimedia file among the N objects, and the social application is an application to which the target social page belongs.
It is understood that the multimedia file is located in the local storage of the second terminal; if the file mode of the multimedia file is a file security mode and the first object corresponding to the first terminal has an operation right for the multimedia file, the sending module 162 sends the key media content in the multimedia file to the first terminal, including:
if the file mode of the multimedia file is a file security mode, storing the multimedia file in the local storage of the second terminal in the online cloud disk assembly;
and if the first object corresponding to the first terminal has the operation authority for the multimedia file, transmitting the key media content in the multimedia file to the first terminal.
It can be understood that, if the file mode of the multimedia file is a file security mode and the first object corresponding to the first terminal has an operation right for the multimedia file, the sending module 162 sends the key media content in the multimedia file to the first terminal, including:
if the file mode of the multimedia file is a file security mode, generating a sending request about the multimedia file; the sending request is used for indicating to send the multimedia file to the first terminal;
Transmitting the transmission request to a server corresponding to the target social page; the server is used for verifying the operation authority of the first object for the multimedia file according to the sending request to obtain a verification result;
and receiving the verification result returned by the server, and if the verification result indicates that the first object has the operation authority for the multimedia file, transmitting the key media content in the multimedia file to the first terminal.
It is to be appreciated that the transmitting module 162 is configured to: if the file mode of the multimedia file is a file confidentiality mode, acquiring an acquisition address related to key media content in the multimedia file;
and adding the acquired address into the initial file message to obtain a second file message, and generating a sending request carrying the second file message.
It can be understood that, if the file mode of the multimedia file is the file security mode, the sending module 162 is configured to determine that the file mode of the multimedia file is the file security mode if the owner of the multimedia file is the second object and the status of the second object with respect to the file security mode is the on status, and generate the key media content of the multimedia file and the acquisition address of the key media content;
If the owner of the multimedia file is the third object and the state of the third object about the file security mode is an on state, determining that the file mode of the multimedia file is the file security mode, and acquiring the acquisition address of the key media content from the terminal corresponding to the third object;
if the owner of the multimedia file is the third object, the state of the second object about the file security mode is an on state, and the state of the third object about the file security mode is an unopened state, determining that the file mode of the multimedia file is the file security mode, generating key media content of the multimedia file, and an acquisition address of the key media content.
According to the method and the device, through interaction among the first terminal, the second terminal and the server, when the first terminal receives the multimedia file in the file security mode, the first file message including the key media content in the multimedia file is displayed in the target social page only when a receiver (namely a first object corresponding to the first terminal) has the operation right for the multimedia file. Thus, the method is beneficial to a receiver with operation authority on the multimedia file, and key media contents in the multimedia file can be conveniently checked; meanwhile, a receiver without operation authority on the multimedia file can be prevented from viewing the media content in the multimedia file, so that the viewing convenience of the media content is improved and the convenience of multimedia file interaction in a social scene is improved under the condition that the media content of the multimedia file is ensured not to be leaked. In addition, by displaying the key media content in the multimedia file, it is advantageous for the recipient to quickly determine whether the multimedia file is a file that is itself needed, avoiding performing invalidation operations on the multimedia file, while avoiding interrupting the continuity of the recipient's view of the session message (i.e., session message between N objects) context.
Fig. 17 is a schematic structural diagram of a multimedia file display device according to an embodiment of the application. As shown in fig. 17, the multimedia file display device may include:
a receiving module 171 for receiving a transmission request for a multimedia file transmitted by the second terminal; the sending request is used for indicating to send the multimedia file to a first terminal corresponding to a first object, the second object corresponding to the second terminal and the first object belong to N objects, the N objects comprise objects participating in a target social page of the first terminal, and N is a positive integer greater than 1;
the verification module 172 is configured to verify the operation authority of the first object for the multimedia file according to the sent request if the file mode of the multimedia file is a file security mode, and obtain a verification result;
and a sending module 173, configured to send, if the verification result indicates that the first object has the operation authority for the multimedia file, the key media content of the multimedia file in the second terminal to the first terminal, where the first terminal is configured to display a first file message including the key media content on the target social page.
It may be appreciated that the multimedia file is stored in an online cloud disk assembly associated with a social application, where the multimedia file in the online cloud disk assembly allows a rights object to perform an operation corresponding to an operation right of the multimedia file, the rights object is an object having the operation right for the multimedia file among the N objects, and the social application is an application to which the target social page belongs. It can be understood that the above-mentioned transmission request carries a second file message; the verification module 172 verifies the operation authority of the first object for the multimedia file according to the sent request, and obtains a verification result, including:
if the second file message carries the acquisition address of the key media content, determining that the file mode of the multimedia file is a file confidentiality mode; the obtained address is obtained after the second terminal determines that the file mode of the multimedia file is a file confidentiality mode;
forwarding a second file message carrying the acquired address to the first terminal; the first terminal is used for returning an acquisition request of key media content of the multimedia file; the acquisition request carries the acquisition address;
Inquiring an operation authority list about the multimedia file according to the acquisition address carried by the acquisition request; the operation authority list includes objects having operation authority for the multimedia file;
if the first object belongs to the operation authority list, generating a verification result indicating that the first object has the operation authority for the multimedia file.
It is understood that the transmitting module 173 is further configured to: if the first object does not belong to the operation authority list, generating a verification result indicating that the first object does not have the operation authority for the multimedia file; returning an error code related to the multimedia file to the first terminal according to the verification result; the first terminal is further configured to display, on the target social page, a third file message including permission indication information according to the error code, where the permission indication information is used to indicate that the first object does not have an operation permission for the multimedia file.
According to the method, the server is used for verifying the operation authority of the first object on the multimedia file and the file mode of the multimedia file, so that when the first object has the operation authority of the multimedia file and the file mode of the multimedia file is a file confidentiality mode, a first file message comprising key media content is displayed in a target social page of the first terminal; under the condition that the media content of the multimedia file is not leaked, the viewing convenience of the media content is improved, and the convenience of multimedia file interaction in a social scene is improved.
Fig. 18 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 18, the computer device 1000 may be a first device in the above method, and specifically may refer to a terminal or a server, including: processor 1001, network interface 1004, and memory 1005, and in addition, the above-described computer device 1000 may further include: a user interface 1003, and at least one communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. In some embodiments, the user interface 1003 may include a DiSPlay (DiSPlay), a Keyboard (keyBoard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface, among others. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The MeMory 1005 may be a high-speed RAM MeMory or a nonvolatile MeMory (non-volatile MeMory), such as at least one magnetic disk MeMory. The memory 1005 may also optionally be at least one storage device remote from the processor 1001. As shown in fig. 18, an operating system, a network communication module, a user interface module, and computer applications may be included in a memory 1005, which is a type of computer-readable storage medium.
In the computer device 1000 shown in fig. 18, the network interface 1004 may provide network communication functions; while user interface 1003 is primarily used as an interface to provide input; and the processor 1001 may be used to invoke computer applications stored in the memory 1005 to implement:
displaying target social pages participated by N objects in a first terminal; the N objects comprise first objects corresponding to the first terminal, and N is a positive integer greater than 1;
if the first object has an operation right for a multimedia file to be received and the file mode of the multimedia file is a file security mode, displaying a first file message including key media content in the multimedia file in the target social page; the key media content is transmitted to the first terminal by a second terminal to which a second object of the N objects belongs.
It may be appreciated that the multimedia file is stored in an online cloud disk assembly associated with a social application, where the multimedia file in the online cloud disk assembly allows a rights object to perform an operation corresponding to an operation right of the multimedia file, where the rights object is an object having an operation right with respect to the multimedia file among the N objects, and the social application is an application to which the target social page belongs.
It can be understood that the file type of the multimedia file is an image type; the processor 1001 may be used to invoke computer applications stored in the memory 1005 to implement:
displaying a first file message including key media content in the multimedia file in the target social page, including:
displaying a first file message comprising a first thumbnail of the multimedia file and an identifier of the online cloud disk assembly in the target social page; the first thumbnail is generated from an image in the multimedia file.
It can be understood that the file type of the multimedia file is a video type; the processor 1001 may be configured to invoke a computer application program stored in the memory 1005 to implement:
displaying a first file message including key media content in the multimedia file in the target social page, including:
displaying a first file message comprising a second thumbnail of the multimedia file and an identifier of the online cloud disk assembly in the target social page; the second thumbnail is generated from key video frames in the multimedia file.
It may be appreciated that the operation authority of the first object for the multimedia file is an editing authority, and the processor 1001 may be configured to invoke a computer application program stored in the memory 1005 to implement:
responding to a first triggering operation for the first file message, and displaying the online editing window of the online cloud disk assembly on the target social page; the online editing window comprises original media content in the multimedia file and editing options related to the multimedia file;
and responding to a second triggering operation for the editing options in the online editing window, and displaying the media content obtained by the second triggering operation in the original media content of the online editing window.
It may be appreciated that the operation authority of the first object for the multimedia file is an editing authority, and the processor 1001 may be configured to invoke a computer application program stored in the memory 1005 to implement:
responding to a third triggering operation for the first file message, and downloading the multimedia file from the online cloud disk assembly to a local storage of the first terminal;
Displaying original media content of the multimedia file in the local storage and editing options related to the multimedia file in a local editing window of an editing application program of the first terminal;
and responding to a fourth triggering operation for the editing options in the local editing window, and displaying the media content obtained by the fourth triggering operation in the original media content of the local editing window.
It may be appreciated that the operation authority of the first object for the multimedia file is a browsing authority, and the processor 1001 may be configured to invoke a computer application program stored in the memory 1005 to implement:
responding to a fifth triggering operation for the first file message, and displaying the browsing window of the online cloud disk assembly on the target social page; the browsing window includes the original media content of the multimedia file displayed in the online preview mode.
It may be appreciated that the processor 1001 may be configured to invoke the computer application program stored in the memory 1005, so as to display, on the target social page, a first file message including the key media content in the multimedia file if the first object has an operation right for the multimedia file to be received and the file mode of the multimedia file is a file security mode, including:
Receiving a second file message forwarded by a server corresponding to the target social page; the second file message is generated by the second terminal and sent to the server, and the second file message is used for indicating to send the multimedia file to the first terminal;
if the second file message includes the acquisition address of the key media content of the multimedia file, determining that the file mode of the multimedia file is a file confidentiality mode; the obtained address is obtained after the second terminal determines that the file mode of the multimedia file is a file security mode;
if the first object has the operation authority for the multimedia file, acquiring the key media content of the multimedia file according to the acquisition address;
and displaying a first file message comprising the key media content in the multimedia file in the target social page.
It may be appreciated that the processor 1001 may be configured to invoke a computer application program stored in the memory 1005, so as to obtain, if the first object has an operation right for a multimedia file, key media contents of the multimedia file according to the obtaining address, where the obtaining includes:
Generating an acquisition request of key media content of the multimedia file; the acquisition request carries the acquisition address;
the acquisition request is sent to a server corresponding to the target social page, and the server is used for returning key media content of the multimedia file after determining that the first object has operation authority for the multimedia file based on the acquisition address;
and receiving the key media content of the multimedia file returned by the server.
It will be appreciated that the file mode of the multimedia file is a file security mode, and the processor 1001 may be configured to invoke the computer application program stored in the memory 1005 to implement:
if the first object does not have the operation authority for the multimedia file, displaying a third file message including authority indication information in the target social page; the rights indication information is used for indicating that the first object does not have operation rights for the multimedia file.
It is understood that the processor 1001 may be configured to invoke a computer application program stored in the memory 1005, so as to display, on the target social page, a third file message including rights indication information if the first object does not have an operation right for the multimedia file, including:
Receiving an error code which is returned by the server and is related to the multimedia file; the error code is returned by the server after determining that the first object does not have an operation right for the multimedia file based on the acquisition address;
acquiring permission indication information for indicating that the first object does not have operation permission for the multimedia file according to the error code;
and displaying a third file message comprising the permission indication information in the target social page.
It will be appreciated that the processor 1001 may be operative to invoke computer applications stored in the memory 1005 to implement: if the second file message does not include the acquisition address, acquiring the media attribute information of the multimedia file from the third file message;
and displaying a fourth file message comprising the media attribute information in the target social page.
It will be appreciated that the processor 1001 may be operative to invoke computer applications stored in the memory 1005 to implement: detecting the operation authority changing state of the first object aiming at the multimedia file to obtain a detection result;
if the detection result indicates that the first object is changed from having the operation authority to not having the operation authority, updating the first file message in the target social page to the third file message;
And if the detection result indicates that the first object does not have the operation authority to be changed to have the operation authority, updating the third file message in the target social page into the first file message.
It will be appreciated that the processor 1001 may be operative to invoke computer applications stored in the memory 1005 to implement: if a sixth triggering operation aiming at the target file message is detected, detecting an operation authority changing state of the first object aiming at the multimedia file to obtain a detection result; or alternatively, the process may be performed,
if the restarting operation of the social application program which belongs to the target social page is detected, detecting the operation authority changing state of the first object for the multimedia file, and obtaining a detection result; or alternatively, the process may be performed,
if the content contained in the target file message is detected to be in a failure state, detecting an operation authority changing state of the first object aiming at the multimedia file, and obtaining a detection result; or alternatively, the process may be performed,
when an operation right change notification for the first object with respect to the multimedia file is received, a detection result for reflecting an operation right change state of the first object with respect to the multimedia file is determined based on the operation right change notification.
Wherein the target file message is the first file message or the third file message.
It can be understood that the key media content in the first file message is a key content thumbnail of the multimedia file, and the rights indication information in the third file message is a rights indication thumbnail;
it will be appreciated that the processor 1001 may be operative to invoke computer applications stored in the memory 1005 to implement: updating the key content thumbnail in the first file message in the target social page into the permission indication thumbnail; the updated first file message is the third file message.
It can be appreciated that the target social page includes a message presentation area, and the first file message is displayed in the message presentation area.
It will be appreciated that the processor 1001 may be operative to invoke computer applications stored in the memory 1005 to implement:
displaying target social pages participated by N objects in a second terminal; the target social page comprises a multimedia file to be sent; n is a positive integer greater than 1;
if the file mode of the multimedia file is a file confidentiality mode and a first object corresponding to a first terminal has operation authority for the multimedia file, transmitting key media content in the multimedia file to the first terminal; the first terminal is used for displaying a first file message comprising the key media content in the target social page in the first terminal; and the first object and the second object corresponding to the second terminal belong to the N objects.
It can be understood that the multimedia file is located in the local storage of the second terminal; the processor 1001 may be used to invoke computer applications stored in the memory 1005 to implement:
if the file mode of the multimedia file is a file security mode and the first object corresponding to the first terminal has an operation right for the multimedia file, sending the key media content in the multimedia file to the first terminal, including:
if the file mode of the multimedia file is a file security mode, storing the multimedia file in the local storage of the second terminal in the online cloud disk assembly;
and if the first object corresponding to the first terminal has the operation authority for the multimedia file, transmitting the key media content in the multimedia file to the first terminal.
It will be appreciated that the processor 1001 may be operative to invoke computer applications stored in the memory 1005 to implement:
if the file mode of the multimedia file is a file security mode, generating a sending request about the multimedia file; the sending request is used for indicating to send the multimedia file to the first terminal;
Transmitting the transmission request to a server corresponding to the target social page; the server is used for verifying the operation authority of the first object for the multimedia file according to the sending request to obtain a verification result;
and receiving the verification result returned by the server, and if the verification result indicates that the first object has the operation authority for the multimedia file, transmitting the key media content in the multimedia file to the first terminal.
It will be appreciated that the processor 1001 may be operative to invoke computer applications stored in the memory 1005 to implement:
if the file mode of the multimedia file is a file confidentiality mode, acquiring an acquisition address related to key media content in the multimedia file;
and adding the acquired address into the initial file message to obtain a second file message, and generating a sending request carrying the second file message.
It is understood that the processor 1001 may be configured to invoke a computer application program stored in the memory 1005 to obtain an acquisition address related to a key media content in the multimedia file if the file mode of the multimedia file is a file security mode, including:
If the owner of the multimedia file is the second object and the state of the second object about the file security mode is an on state, determining that the file mode of the multimedia file is the file security mode, and generating key media content of the multimedia file and an acquisition address of the key media content;
if the owner of the multimedia file is the third object and the state of the third object about the file security mode is an on state, determining that the file mode of the multimedia file is the file security mode, and acquiring the acquisition address of the key media content from the terminal corresponding to the third object;
if the owner of the multimedia file is the third object, the state of the second object about the file security mode is an on state, and the state of the third object about the file security mode is an unopened state, determining that the file mode of the multimedia file is the file security mode, generating key media content of the multimedia file, and an acquisition address of the key media content.
It will be appreciated that the processor 1001 may be operative to invoke computer applications stored in the memory 1005 to implement: receiving a transmission request for the multimedia file sent by a second terminal; the sending request is used for indicating to send the multimedia file to a first terminal corresponding to a first object, the second object corresponding to the second terminal and the first object belong to N objects, the N objects comprise objects participating in a target social page in the first terminal, and N is a positive integer greater than 1;
If the file mode of the multimedia file is a file confidentiality mode, verifying the operation authority of the first object for the multimedia file according to the sent request to obtain a verification result;
and if the verification result indicates that the first object has the operation authority for the multimedia file, sending the key media content of the multimedia file in the second terminal to the first terminal, wherein the first terminal is used for displaying a first file message comprising the key media content in the target social page.
It will be appreciated that the processor 1001 may be operative to invoke computer applications stored in the memory 1005 to implement: if the second file message carries the acquisition address of the key media content, determining that the file mode of the multimedia file is a file confidentiality mode; the obtained address is obtained after the second terminal determines that the file mode of the multimedia file is a file confidentiality mode;
forwarding a second file message carrying the acquired address to the first terminal; the first terminal is used for returning an acquisition request of key media content of the multimedia file; the acquisition request carries the acquisition address;
Inquiring an operation authority list about the multimedia file according to the acquisition address carried by the acquisition request; the operation authority list includes objects having operation authority for the multimedia file;
if the first object belongs to the operation authority list, generating a verification result indicating that the first object has the operation authority for the multimedia file.
It will be appreciated that the processor 1001 may be operative to invoke computer applications stored in the memory 1005 to implement:
if the first object does not belong to the operation authority list, generating a verification result indicating that the first object does not have the operation authority for the multimedia file, and the file mode of the multimedia file is a file confidentiality mode;
returning an error code related to the multimedia file to the first terminal according to the verification result; the first terminal is further configured to display, on the target social page, a third file message including permission indication information according to the error code, where the permission indication information is used to indicate that the first object does not have an operation permission for the multimedia file.
In the application, when a first terminal receives a multimedia file in a file confidentiality mode, a first file message including key media contents in the multimedia file is displayed in a target social page only when a receiver (namely a first object corresponding to the first terminal) has an operation right for the multimedia file. Thus, the method is beneficial to a receiver with operation authority on the multimedia file, and key media contents in the multimedia file can be conveniently checked; meanwhile, a receiver without operation authority on the multimedia file can be prevented from viewing the media content in the multimedia file, so that the viewing convenience of the media content is improved and the convenience of multimedia file interaction in a social scene is improved under the condition that the media content of the multimedia file is ensured not to be leaked. In addition, by displaying the key media content in the multimedia file, it is advantageous for the recipient to quickly determine whether the multimedia file is a file that is itself needed, avoiding performing invalidation operations on the multimedia file, while avoiding interrupting the continuity of the recipient's view of the session message (i.e., session message between N objects) context.
It should be understood that the computer device described in the embodiments of the present application may perform the description of the method for displaying a multimedia file in the foregoing corresponding embodiments, or may perform the description of the device for displaying a multimedia file in the foregoing corresponding embodiments, which is not repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
Furthermore, it should be noted here that: the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program executed by the multimedia file display device mentioned above, and the computer program includes program instructions, when the processor executes the program instructions, the description of the multimedia file display method in the corresponding embodiment mentioned above can be executed, and therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer-readable storage medium according to the present application, please refer to the description of the method embodiments of the present application.
As an example, the above-described program instructions may be executed on one computer device or at least two computer devices disposed at one site, or alternatively, at least two computer devices distributed at least two sites and interconnected by a communication network, which may constitute a blockchain network.
The computer readable storage medium may be the multimedia file display apparatus provided in any one of the foregoing embodiments or a middle storage unit of the foregoing computer device, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a SMart Media Card (SMC), a Secure Digital (SD) card, a flaSh memory card (flashh card), etc. provided on the computer device. Further, the computer-readable storage medium may also include both a central storage unit and an external storage device of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
The terms first, second and the like in the description and in the claims and drawings of embodiments of the application, are used for distinguishing between different media and not necessarily for describing a particular sequential or chronological order. Furthermore, the term "include" and any variations thereof is intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or device that comprises a list of steps or elements is not limited to the list of steps or modules but may, in the alternative, include other steps or modules not listed or inherent to such process, method, apparatus, article, or device.
It will be appreciated that the above embodiments of the present application require compliance with relevant national and regional laws and regulations, if such need to be used for user information or the like, if such need to be licensed or otherwise agreed upon by the user.
The embodiment of the present application further provides a computer program product, which includes a computer program/instruction, where the computer program/instruction when executed by a processor implements the description of the multimedia file display method and the decoding method in the foregoing corresponding embodiments, and therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer program product according to the present application, reference is made to the description of the method embodiments according to the present application.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The method and related apparatus provided in the embodiments of the present application are described with reference to the flowchart and/or schematic structural diagrams of the method provided in the embodiments of the present application, and each flow and/or block of the flowchart and/or schematic structural diagrams of the method may be implemented by computer program instructions, and combinations of flows and/or blocks in the flowchart and/or block diagrams. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable network connection device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable network connection device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable network connection device to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or structural diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable network connection device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer implemented process such that the instructions which execute on the computer or other programmable device provide steps for implementing the functions specified in the flowchart flow or flows and/or structures.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.

Claims (30)

1. A multimedia file display method, comprising:
displaying target social pages participated by N objects in a first terminal; the N objects comprise first objects corresponding to the first terminal, and N is a positive integer greater than 1;
if the first object has an operation right for a multimedia file to be received and the file mode of the multimedia file is a file security mode, displaying a first file message comprising key media contents in the multimedia file in the target social page; the key media content is sent to the first terminal by a second terminal to which a second object of the N objects belongs.
2. The method of claim 1, wherein the multimedia file is stored in an online cloud disk component associated with a social application, the multimedia file in the online cloud disk component allowing a rights object to perform an operation corresponding to its operation rights on the multimedia file, the rights object being an object of the N objects having an operation right for the multimedia file, the social application being an application to which the target social page belongs.
3. The method of claim 2, wherein the file type of the multimedia file is an image type; the displaying, in the target social page, a first file message including key media content in the multimedia file, including:
displaying a first file message comprising a first thumbnail of the multimedia file and an identification of the online cloud disk assembly in the target social page; the first thumbnail is generated from an image in the multimedia file.
4. The method of claim 2, wherein the file type of the multimedia file is a video type; the displaying, in the target social page, a first file message including key media content in the multimedia file, including:
displaying, in the target social page, a first file message including a second thumbnail of the multimedia file and an identification of the online cloud disk assembly; the second thumbnail is generated from key video frames in the multimedia file.
5. The method of claim 2, wherein the first object's operational rights to the multimedia file is edit rights, the method further comprising:
Responding to a first triggering operation for the first file message, and displaying an online editing window in the online cloud disk assembly on the target social page; the online editing window includes original media content in the multimedia file and editing options for the multimedia file;
and responding to a second trigger operation for editing options in the online editing window, and displaying the media content obtained by the second trigger operation in the original media content of the online editing window.
6. The method of claim 2, wherein the first object's operational rights to the multimedia file is edit rights, the method further comprising:
responding to a third triggering operation for the first file message, and downloading the multimedia file from the online cloud disk assembly to a local storage of the first terminal;
displaying original media content of the multimedia file in the local storage and editing options related to the multimedia file in a local editing window of an editing application of the first terminal;
and responding to a fourth triggering operation for the editing options in the local editing window, and displaying the media content obtained by the fourth triggering operation in the original media content of the local editing window.
7. The method of claim 2, wherein the operational rights of the first object to the multimedia file are browsing rights, the method further comprising:
responding to a fifth triggering operation for the first file message, and displaying a browsing window in the online cloud disk assembly on the target social page; the browsing window comprises the original media content of the multimedia file displayed in an online preview mode.
8. The method of claim 1, wherein if the first object has an operation right for a multimedia file to be received and a file mode of the multimedia file is a file security mode, displaying a first file message including key media content in the multimedia file in the target social page comprises:
receiving a second file message forwarded by a server corresponding to the target social page; the second file message is generated by the second terminal and sent to the server, and the second file message is used for indicating to send the multimedia file to the first terminal;
if the second file message includes the acquisition address of the key media content of the multimedia file, determining that the file mode of the multimedia file is a file confidentiality mode; the obtained address is obtained after the second terminal determines that the file mode of the multimedia file is a file confidentiality mode;
If the first object has the operation authority for the multimedia file, acquiring the key media content of the multimedia file according to the acquisition address;
and displaying a first file message comprising key media content in the multimedia file in the target social page.
9. The method of claim 8, wherein if the first object has an operation right for a multimedia file, acquiring key media content of the multimedia file according to the acquisition address comprises:
generating an acquisition request for key media content of the multimedia file; the acquisition request carries the acquisition address;
the acquisition request is sent to a server corresponding to the target social page, and the server is used for returning key media content of the multimedia file after determining that the first object has operation authority for the multimedia file based on the acquisition address;
and receiving the key media content of the multimedia file returned by the server.
10. The method of claim 9, wherein the file mode of the multimedia file is a file security mode, the method further comprising:
If the first object does not have the operation authority for the multimedia file, displaying a third file message comprising authority indication information in the target social page; the rights indication information is used to indicate that the first object does not have an operation right for the multimedia file.
11. The method of claim 10, wherein displaying a third file message including rights indication information in the target social page if the first object does not have an operation right for the multimedia file, comprises:
receiving an error code about the multimedia file returned by the server; the error code is returned by the server after determining that the first object does not have operating rights for the multimedia file based on the acquisition address;
acquiring right indication information for indicating that the first object does not have operation right for the multimedia file according to the error code;
and displaying a third file message comprising the permission indication information in the target social page.
12. The method of claim 8, wherein the method further comprises:
If the second file message does not include the acquisition address, acquiring the media attribute information of the multimedia file from the third file message;
and displaying a fourth file message comprising the media attribute information in the target social page.
13. The method of claim 10, wherein the method further comprises:
detecting an operation authority changing state of the first object aiming at the multimedia file to obtain a detection result;
if the detection result indicates that the first object is changed from having the operation authority to not having the operation authority, updating the first file message in the target social page into the third file message;
and if the detection result indicates that the first object does not have the operation authority to be changed into the operation authority, updating the third file message in the target social page into the first file message.
14. The method of claim 13, wherein detecting the status of the first object for changing the operation authority of the multimedia file, to obtain the detection result, comprises:
if a sixth triggering operation aiming at the target file message is detected, detecting an operation authority changing state of the first object aiming at the multimedia file to obtain a detection result; or alternatively, the process may be performed,
If the restarting operation of the social application program which belongs to the target social page is detected, detecting the operation authority changing state of the first object for the multimedia file, and obtaining a detection result; or alternatively, the process may be performed,
if the content contained in the target file message is detected to be in a failure state, detecting an operation authority changing state of the first object aiming at the multimedia file to obtain a detection result; or alternatively, the process may be performed,
if an operation authority change notification about the first object aiming at the multimedia file is received, determining a detection result for reflecting the operation authority change state of the first object aiming at the multimedia file according to the operation authority change notification;
wherein the target file message is the first file message or the third file message.
15. The method of claim 13, wherein the key media content in the first file message is a key content thumbnail of the multimedia file and the rights indication information in the third file message is a rights indication thumbnail;
the updating the first file message in the target social page to the third file message includes:
Updating the key content thumbnail in the first file message in the target social page to the permission indication thumbnail; and the updated first file message is the third file message.
16. The method of any of claims 1-15, wherein the target social page includes a message presentation area within which the first file message is displayed.
17. A multimedia file display method, comprising:
displaying target social pages participated by N objects in a second terminal; the target social page comprises a multimedia file to be sent; n is a positive integer greater than 1;
if the file mode of the multimedia file is a file confidentiality mode and a first object corresponding to a first terminal has operation authority for the multimedia file, transmitting key media content in the multimedia file to the first terminal; the first terminal is used for displaying a first file message comprising the key media content in the target social page in the first terminal; and the first object and the second object corresponding to the second terminal belong to the N objects.
18. The method of claim 17, wherein the multimedia file is stored in an online cloud disk component associated with a social application, the multimedia file in the online cloud disk component allowing a rights object to perform an operation corresponding to its operation rights on the multimedia file, the rights object being an object of the N objects having operation rights for the multimedia file, the social application being an application to which the target social page belongs.
19. The method of claim 18, wherein the multimedia file is located in a local storage of the second terminal; if the file mode of the multimedia file is a file security mode and the first object corresponding to the first terminal has an operation right for the multimedia file, sending the key media content in the multimedia file to the first terminal, including:
if the file mode of the multimedia file is a file confidentiality mode, storing the multimedia file in the local storage of the second terminal into the online cloud disk assembly;
and if the first object corresponding to the first terminal has the operation authority for the multimedia file, sending the key media content in the multimedia file to the first terminal.
20. The method of claim 17, wherein if the file mode of the multimedia file is a file security mode and the first object corresponding to the first terminal has an operation right for the multimedia file, sending the key media content in the multimedia file to the first terminal comprises:
if the file mode of the multimedia file is a file security mode, generating a sending request about the multimedia file; the sending request is used for indicating to send the multimedia file to the first terminal;
the sending request is sent to a server corresponding to the target social page; the server is used for verifying the operation authority of the first object for the multimedia file according to the sending request to obtain a verification result;
and receiving the verification result returned by the server, and if the verification result indicates that the first object has the operation authority for the multimedia file, sending the key media content in the multimedia file to the first terminal.
21. The method of claim 20, wherein generating the transmission request for the multimedia file if the file mode of the multimedia file is a file security mode comprises:
If the file mode of the multimedia file is a file confidentiality mode, acquiring an acquisition address related to key media content in the multimedia file;
and adding the acquired address to the initial file message to obtain a second file message, and generating a sending request carrying the second file message.
22. The method of claim 21, wherein if the file mode of the multimedia file is a file security mode, acquiring the acquisition address for the key media content in the multimedia file comprises:
if the owner of the multimedia file is the second object and the state of the second object about the file security mode is an on state, determining that the file mode of the multimedia file is the file security mode, and generating key media content of the multimedia file and an acquisition address of the key media content;
if the owner of the multimedia file is the third object and the state of the third object about the file security mode is an on state, determining that the file mode of the multimedia file is the file security mode, and acquiring the acquisition address of the key media content from the terminal corresponding to the third object;
If the owner of the multimedia file is the third object, the state of the second object about the file security mode is an on state, and the state of the third object about the file security mode is an unopened state, determining that the file mode of the multimedia file is the file security mode, generating key media content of the multimedia file, and an acquisition address of the key media content.
23. A multimedia file display method, comprising:
receiving a transmission request for the multimedia file sent by a second terminal; the sending request is used for indicating to send the multimedia file to a first terminal corresponding to a first object, a second object corresponding to a second terminal and the first object belong to N objects, the N objects comprise objects participating in a target social page in the first terminal, and N is a positive integer greater than 1;
if the file mode of the multimedia file is a file confidentiality mode, verifying the operation authority of the first object for the multimedia file according to the sending request to obtain a verification result;
and if the verification result indicates that the first object has the operation authority for the multimedia file, sending the key media content of the multimedia file in the second terminal to the first terminal, wherein the first terminal is used for displaying a first file message comprising the key media content in the target social page.
24. The method of claim 23, wherein the multimedia file is stored in an online cloud disk component associated with a social application, the multimedia file in the online cloud disk component allowing a rights object to perform an operation corresponding to its operation rights on the multimedia file, the rights object being an object of the N objects having an operation right for the multimedia file, the social application being an application to which the target social page belongs.
25. The method of claim 23, wherein the send request carries a second file message; and if the file mode of the multimedia file is a file security mode, verifying the operation authority of the first object for the multimedia file according to the sending request to obtain a verification result, wherein the verification result comprises:
if the second file message carries the acquisition address of the key media content, determining that the file mode of the multimedia file is a file confidentiality mode; the obtained address is obtained after the second terminal determines that the file mode of the multimedia file is a file confidentiality mode;
forwarding a second file message carrying the acquired address to the first terminal; the first terminal is used for returning an acquisition request of key media content of the multimedia file; the acquisition request carries the acquisition address;
Inquiring an operation authority list related to the multimedia file according to the acquisition address carried by the acquisition request; the operation authority list comprises objects with operation authorities for the multimedia files;
and if the first object belongs to the operation authority list, generating a verification result indicating that the first object has the operation authority for the multimedia file.
26. The method of claim 25, wherein the method further comprises:
if the first object does not belong to the operation authority list, generating a verification result indicating that the first object does not have the operation authority for the multimedia file;
returning an error code related to the multimedia file to the first terminal according to the verification result; the first terminal is further configured to display, in the target social page, a third file message including permission indication information according to the error code, where the permission indication information is used to indicate that the first object does not have an operation permission for the multimedia file.
27. A multimedia data processing apparatus, comprising:
the first display module is used for displaying target social pages participated by the N objects in the first terminal; the N objects comprise first objects corresponding to the first terminal, and N is a positive integer greater than 1;
The second display module is used for displaying a first file message comprising key media contents in the multimedia file in the target social page if the first object has operation authority for the multimedia file to be received and the file mode of the multimedia file is a file confidentiality mode; the key media content is sent to the first terminal by a second terminal to which a second object of the N objects belongs.
28. A multimedia file display device, comprising:
the display module is used for displaying target social pages participated by the N objects in the second terminal; the target social page comprises a multimedia file to be sent; n is a positive integer greater than 1;
the sending module is used for sending the key media content in the multimedia file to the first terminal if the file mode of the multimedia file is a file confidentiality mode and the first object corresponding to the first terminal has the operation authority for the multimedia file; the first terminal is used for displaying a first file message comprising the key media content in the target social page in the first terminal; and the first object and the second object corresponding to the second terminal belong to the N objects.
29. A multimedia file display device, comprising:
the receiving module is used for receiving a sending request for the multimedia file sent by the second terminal; the sending request is used for indicating to send the multimedia file to a first terminal corresponding to a first object, a second object corresponding to a second terminal and the first object belong to N objects, the N objects comprise objects participating in a target social page of the first terminal, and N is a positive integer greater than 1;
the verification module is used for verifying the operation authority of the first object for the multimedia file according to the sent request if the file mode of the multimedia file is a file confidentiality mode, and obtaining a verification result;
the sending module is configured to send, if the verification result indicates that the first object has an operation right for the multimedia file, key media content of the multimedia file in the second terminal to the first terminal, where the first terminal is configured to display, in the target social page, a first file message including the key media content.
30. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 26 when the computer program is executed.
CN202211521134.9A 2022-11-30 2022-11-30 Multimedia file display method, device, equipment and storage medium Pending CN116974997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211521134.9A CN116974997A (en) 2022-11-30 2022-11-30 Multimedia file display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211521134.9A CN116974997A (en) 2022-11-30 2022-11-30 Multimedia file display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116974997A true CN116974997A (en) 2023-10-31

Family

ID=88473705

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211521134.9A Pending CN116974997A (en) 2022-11-30 2022-11-30 Multimedia file display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116974997A (en)

Similar Documents

Publication Publication Date Title
CN109815200B (en) File sharing method and device and storage medium
US9558476B2 (en) Method and device for editing workspace data objects
EP1796314B1 (en) A system and method for implementing online file storage based on a real-time communication platform
US8566412B2 (en) Group messaging
US8826375B2 (en) Rich media collaboration system
US20090327305A1 (en) Content management and access systems and methods
US8787579B2 (en) Key-based content management and access systems and methods
US9497602B2 (en) System and method of enterprise mobile message
US10305841B2 (en) System and method of enterprise mobile message
KR101774422B1 (en) Method and system for transmitting text messages
TWI638321B (en) System and method of an enterprise instant
CN111654730B (en) Video playing method, data processing method, related device and medium
US20110252326A1 (en) System for monitoring/managing information leakage
US20160330158A1 (en) Messaging Sharing System and Method of Use
US9003550B2 (en) Systems and methods for crisis management and situational awareness
CN111711558A (en) Message control method and device
CN110737844A (en) Data recommendation method and device, terminal equipment and storage medium
CN113010328A (en) Information sharing method and device, terminal equipment and storage medium
CN108339273B (en) Method, client, server and system for setting player head portraits
KR101835884B1 (en) Method and apparatus for accessing one or more services of a device
US20070157071A1 (en) Methods, systems, and computer program products for providing multi-media messages
CN116974997A (en) Multimedia file display method, device, equipment and storage medium
CN114339628A (en) Method, device, storage medium and product for sending 5G rich media message
CN113568616A (en) Data processing method, device, equipment and medium
CN113572676A (en) Mail processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication