CN111090757A - Multimedia file display method, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN111090757A
CN111090757A CN201911165530.0A CN201911165530A CN111090757A CN 111090757 A CN111090757 A CN 111090757A CN 201911165530 A CN201911165530 A CN 201911165530A CN 111090757 A CN111090757 A CN 111090757A
Authority
CN
China
Prior art keywords
sub
file
multimedia
target
multimedia files
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
CN201911165530.0A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911165530.0A priority Critical patent/CN111090757A/en
Publication of CN111090757A publication Critical patent/CN111090757A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a multimedia file display method, electronic equipment and a storage medium. The multimedia file display method comprises the following steps: acquiring a target multimedia file to be displayed; under the condition that the target multimedia file comprises the description file, decompressing the target multimedia file to obtain the description file and N sub multimedia files; displaying the N sub multimedia files based on the description file; the description file comprises attribute information of each of N sub multimedia files and association information used for indicating the association between at least two of the N sub multimedia files, wherein N is an integer larger than 1. The embodiment of the invention can realize the management of a plurality of multimedia files.

Description

Multimedia file display method, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of multimedia, in particular to a multimedia file display method, electronic equipment and a storage medium.
Background
Current multimedia file formats typically store only one segment, for example: for a plurality of pictures, a plurality of format pictures or a plurality of multimedia resources of a single scene, one picture, one audio or one video, the pictures, the format pictures or the multimedia resources need to be correspondingly stored as a plurality of independent files, when a user needs to check the plurality of independent files, the file needs to be searched one by one, and the operation is troublesome, so that the management of the plurality of independent multimedia files is inconvenient.
Disclosure of Invention
The embodiment of the invention provides a multimedia file display method, electronic equipment and a storage medium, and aims to solve the problem that multimedia files are inconvenient to manage.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention further provides a multimedia file display method, where the multimedia file display method includes:
acquiring a target multimedia file to be displayed;
under the condition that the target multimedia file comprises the description file, decompressing the target multimedia file to obtain the description file and N sub multimedia files;
displaying the N sub multimedia files based on the description file;
the description file comprises attribute information of each of N sub multimedia files and association information used for indicating the association between at least two of the N sub multimedia files, wherein N is an integer larger than 1.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the acquisition module is used for acquiring a target multimedia file to be displayed;
the decompression module is used for decompressing the target multimedia file under the condition that the target multimedia file comprises the description file to obtain the description file and the N sub multimedia files;
the display module is used for displaying the N sub multimedia files based on the description file;
the description file comprises attribute information of each of N sub multimedia files and association information used for indicating the association between at least two of the N sub multimedia files, wherein N is an integer larger than 1.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the multimedia file display method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the multimedia file display method of the first aspect.
In the embodiment of the invention, by detecting the description file in the target multimedia, under the condition of determining that the description file is contained, decompressing the target multimedia file to obtain the description file and N sub-multimedia files, and displaying the N sub-multimedia files by using the description file; the description file is used for representing the relevance between the N sub-multimedia files, the relevance is the attribute information of each sub-multimedia file and the relevance information of the relevance between at least two sub-multimedia files, and the N sub-multimedia files are displayed in a relevant mode through the relevance between the N sub-multimedia files, so that a user can manage and view the N sub-multimedia files conveniently.
Drawings
Fig. 1 is a flowchart of a multimedia file display method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a multimedia file display according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another multimedia file display according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a multimedia file display according to an embodiment of the present invention
FIG. 5 is a flowchart of a multimedia file processing method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another electronic device provided in an embodiment of the invention;
fig. 8 is a schematic diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a multimedia file display method according to an embodiment of the present invention. As shown in fig. 1, the multimedia file display method includes:
step 101: acquiring a target multimedia file to be displayed;
step 102: under the condition that the target multimedia file comprises the description file, decompressing the target multimedia file to obtain the description file and N sub multimedia files;
step 103: displaying the N sub multimedia files based on the description file; the description file comprises attribute information of each of N sub multimedia files and association information used for indicating the association between at least two of the N sub multimedia files, wherein N is an integer larger than 1.
According to the embodiment of the invention, the file format of the target multimedia file to be displayed is obtained, the target multimedia file to be displayed is decompressed under the condition that the file format is the first sub multimedia file format, and the decompressed N sub multimedia files are displayed according to the decompressed description file. The method and the device can realize the associated display of the N sub-multimedia files, and facilitate the management and the checking of a user on the N sub-multimedia files.
In this embodiment of the present invention, when a user needs to view a target multimedia file to be displayed sent by a first electronic device or a target multimedia file to be displayed locally stored, the user may view the target multimedia file to be displayed based on an album or browsing software on a second electronic device (the user's own electronic device), where step 101 specifically includes:
receiving a target multimedia file to be displayed sent by first electronic equipment or locally acquiring the target multimedia file to be displayed from second electronic equipment;
and viewing the target multimedia file to be displayed through an album or browsing software on the second electronic equipment.
It should be noted that the album or the browsing software needs to be compatible with the multimedia file in the target format, and is identified as a file in the multimedia format.
Step 102 in the embodiment of the present invention includes: and under the condition that the target multimedia file to be displayed contains the description file, decompressing the target multimedia file to be displayed, reading out the description file and the N sub multimedia files and analyzing the content of the description file.
The decompressing can be performed by decompressing software on the second electronic device, and the specific cases include the following cases:
in the first case: in response to receiving the decompression operation of the target multimedia file by the user, decompressing the target multimedia file to obtain a description file and N sub-multimedia files;
in the second case: under the condition that the format of the target multimedia file is detected to be the target format, decompressing the target multimedia file to obtain a description file and N sub multimedia files;
in the third case: and under the condition that the target multimedia file is detected to contain the description file, decompressing the target multimedia file to obtain the description file and the N sub multimedia files.
In the embodiment of the invention, whether the target multimedia file comprises N sub multimedia files with relevance is determined by detecting whether the target multimedia file comprises the description file, when the target multimedia file comprises the description file, the target multimedia file is decompressed, and the N sub multimedia files are displayed in a relevant mode based on the description file, so that a user can conveniently correlate and check the N sub multimedia files.
In embodiments of the present invention, the target formats include, but are not limited to: the formats of rar,. zip, 7Z, CAB, ISO, and user-defined, as long as they are distinguishable from the formats of the N sub multimedia files, or the formats representing the inclusion of description files, may be included within the scope of embodiments of the present invention. For convenience of description, zip is exemplified hereinafter.
In this embodiment of the present invention, after the description file is obtained by decompression, the N sub multimedia files are displayed based on the description file, and step 103 specifically includes:
acquiring attribute information in the description file, wherein the attribute information indicates that the display size of the first sub multimedia file is a preset size;
displaying a first sub multimedia file in a first display area according to a preset size;
displaying at least one thumbnail in a second display area associated with the first display area;
wherein each thumbnail indicates a sub multimedia file.
In the embodiment of the invention, in order to facilitate the user to check the N sub-multimedia files, the first sub-multimedia file is displayed in a preset size, so that the user can conveniently and intuitively check the first sub-multimedia file; and displaying the thumbnail of at least one of the N sub multimedia files in a second area managed by the first display area.
In addition, at least one thumbnail is displayed, including the following cases:
in the first case: hiding a thumbnail of a first sub multimedia file when other sub multimedia files (except for a first sub multimedia file among the N sub multimedia files) among the N sub multimedia files are displayed and the first sub multimedia file is displayed in a preset size;
and hiding the thumbnail of the third sub multimedia file and displaying the thumbnail of the first sub multimedia file when the thumbnail of the second sub multimedia file is displayed and the third sub multimedia file is displayed in a preset size. Wherein the other sub multimedia files include a second sub multimedia file and a third sub multimedia file.
The first sub-multimedia file may be a multimedia file displayed by default on the second electronic device, or a multimedia file set by the user according to personal preferences. Wherein, the first sub multimedia file is as "a image" in fig. 2 to 4.
In the embodiment of the invention, the first display area is associated with at least two second display areas, wherein different second display areas correspondingly display different types of sub multimedia files.
Specifically, the N sub multimedia files may be displayed in a preset area on the first display area according to the type of the sub multimedia file; that is, the sub multimedia files are displayed according to the types of the sub multimedia files, and the sub multimedia files of different types are displayed in different areas.
According to the embodiment of the invention, the first sub multimedia display area is displayed in a distinguishing way according to the types of the N sub multimedia files, so that a user can manage and check the sub multimedia files of different types conveniently.
Wherein, the association means that the preset area on the first display area is as shown in fig. 4; or in a predetermined direction of the first display area, as shown in fig. 2 and 3.
It should be noted that the preset directions include, but are not limited to, upper, lower, left, and right; the predetermined area includes, but is not limited to, an upper area, a lower area, a left area, and a right area.
The following upper and lower regions are exemplified below, respectively.
Txt (description file) specifies a main resource file (i.e., a first sub-multimedia file), and N sub-multimedia files are suspended over the large map in thumbnail form in fig. 2.
Note that, in fig. 2, the preset shooting mode information is a continuous shooting mode, and in this case, the focal length corresponding to the "A, B, C, D" thumbnail is different.
Txt (description file) specifies a main resource file (i.e., a first sub multimedia file), and N sub multimedia files are suspended over the big map in thumbnail form; wherein, the types (such as format, size, etc.) of A and D are the same, and the types (such as format, size, etc.) of B and C are the same.
It should be noted that the different types of sub multimedia files in fig. 3 are displayed in different areas of the large map; in addition, B and C are not only displayed on the side of the large graph, but also displayed on the large graph.
In one example, after displaying at least one thumbnail in the second display area associated with the first display area, the method further comprises:
receiving a third input of the user;
hiding at least one thumbnail in response to a third input;
displaying at least two identifications in a third display area associated with the first display area under the condition that the display modes of the first sub multimedia file comprise display modes of at least two formats and the current display mode of the first sub multimedia file is the display mode of the first format, wherein each identification indicates one format;
receiving a fourth input of the target identification of the at least two identifications from the user;
in response to a fourth input, the display mode in the first format is updated to the display mode in the second format indicated by the target identification.
It should be noted that, the first sub multimedia file can be displayed on the screen of the first electronic device in a full screen mode while the thumbnail is hidden; if the hidden thumbnail needs to be called out, the user can manually click to quit displaying the first sub multimedia file in a full screen mode; after exiting the full screen display, displaying at least one thumbnail and displaying the first sub-multimedia file in a preset size.
In addition, when the display mode of the first sub multimedia file comprises the display modes of at least two formats and the current display mode of the first sub multimedia file is the display mode of the first format, displaying an identifier for indicating the format in a third display area; when a user needs to switch the display mode, the display mode of the first format can be switched to the display mode of the second format only by clicking the mark.
The third input includes, but is not limited to, clicking, long-pressing, or other input manners, and may also be the first operation, such as a sliding operation.
The fourth input includes but is not limited to clicking, long pressing or other input modes, and can also be a first operation, such as a sliding operation.
The display mode is a presentation form corresponding to different formats of the first sub multimedia file, for example, a moving picture format, and is presented as the display mode of the moving picture; the JPG format is displayed as a display mode of pictures.
The third display area is on a preset area in the first display area (as shown in fig. 4).
Txt main resource file, in fig. 4, the "a" format of the description.txt main resource file is displayed on the large map, and the "a" and "B" identifications are displayed in the third area.
It should be noted that the preset shooting mode information in fig. 4 is a RAW format shooting mode, and in this case, "A, B" shall be formatted as JPG and RAW. In addition, in the case of displaying the sub multimedia file having the format of "a" in fig. 4, the transparency of the sub multimedia file having the "B" format is 0 or the sub multimedia file having the "B" format is hidden under the sub multimedia file having the "a" format.
In fig. 2 to 3, the first sub multimedia file is displayed as a large image, and at least one sub multimedia file is displayed as a thumbnail image, including the following cases:
in the first case: before displaying the N sub-multimedia files, at least one thumbnail and a first sub-multimedia file displayed in a preset size are obtained, and the first sub-multimedia file is directly displayed during displaying.
In the second case: before displaying N sub multimedia files, obtaining at least one thumbnail; then, detecting whether a first sub multimedia file exists in the N sub multimedia files according to the attribute information; if the first sub multimedia file exists, detecting whether the display size of the first sub multimedia file meets the preset size; and if the preset size is satisfied, displaying at least one thumbnail and the first sub multimedia file displayed in the preset size.
In the embodiment of the invention, the main resource file is displayed to the user by default or according to the preference, habit and the like of the user, and the experience of the user is the same as that of the single photo or video file.
In an embodiment of the present invention, after displaying at least one thumbnail in a target area associated with a target sub-multimedia file, the multimedia file display method further includes:
receiving a first input of a user to a target thumbnail in at least one thumbnail;
in response to the first input, the first sub-multimedia file in the first display area is updated to the second sub-multimedia file indicated by the target thumbnail.
Specifically, a first input of a target thumbnail from a user is received, and a second sub multimedia file indicated by the target thumbnail is updated and displayed in the first display area.
According to the embodiment of the invention, at least one sub multimedia file in the N sub multimedia files is displayed in a thumbnail mode, when a user needs to check other sub multimedia files except the first sub multimedia file, thumbnails of other sub multimedia files are selected, so that switching display of other sub multimedia files can be realized, and the user can conveniently check other sub multimedia files.
In fig. 2, when the user clicks "thumbnail 2", the "B image" is displayed in the first display area; wherein, the first display area is an area (such as an "A image" in FIG. 2) displayed by a large image; the second display area is an area where thumbnails are displayed (e.g., "A, B, C, D thumbnail" in FIG. 2).
It should be noted that the first input includes, but is not limited to, clicking, long pressing, or other input manners, and may also be a first operation, such as a sliding operation.
In the embodiment of the present invention, before step 101, the method for displaying a multimedia file further includes:
the first step is as follows: acquiring N sub multimedia files;
the second step is that: acquiring attribute information of each sub multimedia file;
the third step: determining the associated information between at least two sub multimedia files in the N sub multimedia files;
the fourth step: generating a description file according to the attribute information and the associated information;
the fifth step: and compressing the N sub multimedia files and the description file to generate a target multimedia file in a target format.
In the embodiment of the invention, the description file is generated through the attribute information of each sub multimedia file in the N sub multimedia files and the relevance between at least two sub multimedia files in the N sub multimedia files; and then compressing the N sub multimedia files and the description file to obtain a target multimedia file to be displayed, storing the N sub multimedia files with relevance in a target format, and greatly facilitating the management and the viewing of the N sub multimedia files by a user under the condition of not changing the display formats and the display contents of the N sub multimedia files.
It should be noted that the first to fifth steps may be applied to the first electronic device, and may also be applied to the second electronic device.
In the embodiment of the present invention, the obtaining N sub multimedia files in the first step includes the following situations:
in the first case:
receiving a second input of the user;
in response to the second input, N sub-multimedia files selected by the second input are determined.
It should be noted that N sub-multimedia files may be selected from the local of the first electronic device.
The second input includes but is not limited to clicking, long pressing or other input modes, and can also be a second operation, such as a sliding operation.
In the second case: and the sub multimedia file can be shot by the first electronic equipment according to a preset shooting mode.
Wherein, predetermine the shooting module and include: a raw format photograph mode, a continuous photograph mode, a dynamic photograph mode, or a vocal photograph mode. The method comprises the steps that a JPG format multimedia file and a DNG format multimedia file are shot in a raw format shooting mode of first electronic equipment; picture files and video files taken in a dynamic photo mode of the first electronic device.
In the third case: and receiving the N sub multimedia files sent by other electronic equipment.
According to the embodiment of the invention, the N sub multimedia files can be obtained through different approaches, so that a user can conveniently perform associated display on the sub multimedia files obtained through different approaches.
In the embodiment of the present invention, the attribute information of the second step includes at least one of the following items: the display order of each sub multimedia file, the display format of each sub multimedia file, and the display size of each sub multimedia file.
The display order refers to an arrangement order among the N sub multimedia files, for example, the N sub multimedia files are ordered according to the focal length from small to large; the display format refers to a format for displaying multimedia files, such as pictures JPG and the like; displaying the size, wherein in the application file, a first sub multimedia file is displayed according to a preset size, and N sub multimedia files are displayed in a thumbnail mode; wherein the preset size can be adaptively displayed based on the screen size of the first electronic device.
In this embodiment of the present invention, the association information in the third step includes: the first type of associated information and the second type of associated information.
The first type of associated information indicates the relevance of display modes between at least two sub multimedia files in the N sub multimedia files; the second type of association information indicates an association of file attributes between at least two of the N sub-multimedia files.
In one example, the display modes include a first display mode and a second display mode, where the first mode refers to a mode of displaying according to a preset size, for example, "a image" in fig. 2 to 4; the second display mode corresponds to the display mode of the thumbnails of the N sub multimedia files.
In one example, the file attributes include at least one of: shooting mode, shooting parameters and shooting number.
A shooting mode:
when the photographing device of the first electronic device or a separate photographing device (e.g., a single lens reflex) has been activated, and the photographing device performs the following photographing modes:
a photographing mode with raw format, a continuous photographing mode, a dynamic photograph mode, a sound photograph mode, etc.
In addition, the relevance of the display mode is used for appointing a default displayed main resource file; taking a picture in a jpg format as a main resource file in a photographing mode with a raw format; in a continuous shooting mode, taking a first photo as a main resource file; in the dynamic photo mode, a photo file is used as a main resource file.
The photographing parameters include, but are not limited to: continuous shooting or multiple focal lengths.
Number of shots:
in the embodiment of the invention, the size of the memory occupied by the N sub multimedia files of the first electronic equipment does not exceed the preset range of the memory of the first electronic equipment.
It should be noted that each of the N sub-multimedia files occupies the memory of the first electronic device, and from the viewpoint of normal operation of the first electronic device, the number of the sub-multimedia files stored in the memory of the first electronic device, that is, the number of the shot images, needs to be limited. Of course, the preset range may be adaptively adjusted according to the capacity of the memory of the first electronic device, on the premise that the normal operation of the first electronic device is not affected.
In the embodiment of the invention, the number of the shot pictures is limited, so that the sub multimedia files can be quickly compressed, decompressed, viewed and transmitted; once the sub-multimedia file occupies too much memory of the first electronic device, the first electronic device needs to process the sub-multimedia file for a longer time, which may reduce user experience.
In the embodiment of the present invention, after the compressing the N sub multimedia files and the description file in the fifth step to generate the target multimedia file in the target format, the multimedia file display method further includes:
the target multimedia file is stored.
In the embodiment of the present invention, the target multimedia file is stored for the purpose of subsequently transmitting the target multimedia file to the target electronic device (e.g., the second electronic device in the above) and also for the convenience of the user to view and manage the target multimedia file on the electronic device (e.g., the first electronic device in the above).
In the embodiment of the present invention, after the compressing the N sub multimedia files and the description file in the fifth step to generate the target multimedia file in the target format, the multimedia file display method further includes:
and sending the target multimedia file to the target electronic equipment so that the target electronic equipment obtains the description file and the N sub-multimedia files based on decompressing the target multimedia file, and displays the N sub-multimedia files based on the description file.
In an embodiment of the present invention, the target electronic device may be a second electronic device.
In the embodiment of the invention, the user can conveniently transmit the target multimedia file to the target electronic equipment, so that the user of the target electronic equipment can conveniently view and manage the N sub multimedia files with the relevance.
It should be noted that the first step may be performed before the third step, either simultaneously with the second step or after the second step; the second step may be performed before the fourth step, and may be performed before the first step, the third step, and the fourth step.
In addition, the step of storing and the step of transmitting to the target electronic device may be performed simultaneously or may be performed separately, for example, the step of storing is performed first and then the step of transmitting to the target electronic device is performed; or, the step of sending to the target electronic device is executed first and then the step of storing is executed.
In an embodiment of the present invention, parsing the description file includes: reading attribute information of each of the N sub multimedia files included in the description file and association information for indicating an association between at least two of the N sub multimedia files according to a format of the description file.
Wherein the format of the description file is a plain text format.
The format of the description file includes:
<Imnf version=“1.0”encoding="utf-8">
<CR=“FL”>
<Nos=“4”>
<Fsmf=“A”>
<name=“A”Fl=“4”>
<name=“B”Fl=“8”>
<name=“C”Fl=“4”>
<name=“D”Fl=“16”>
wherein, Imnf represents an identifier of the description file, and whether the description file is a valid file is determined through the identifier; in addition, Imnf is an inclusive multiple multimedia files, i.e. includes a plurality of multimedia files.
Version represents Version information describing a file.
CR (associated information indicating an association between at least two of the N sub multimedia files; FL indicating an association between at least two sub multimedia files is a focal length.
Nos (of sheets) indicates the number of N, and N is 4 in this case.
Fsmf (First sub-multimedia file) represents the master resource file, and a is the name of the master resource file.
Name "a" represents a sub multimedia file with a file Name a, and Fl ═ 4 "represents a focal length of 4 mm; name "B" represents a sub multimedia file with a file Name B, and Fl ═ 8 "represents a focal length of 8 mm; name "C" represents a sub multimedia file with a file Name AC, and Fl ═ 4 "represents a focal length of 4 mm; name "D" indicates a sub multimedia file with a file Name D, and Fl ═ 16 "indicates a focal length of 16 mm.
The above is an example of multiple focal lengths; for continuous shooting: CR ═ DT "indicates that the associated information of the association between at least two sub multimedia files is a continuous shooting;
< name ═ a "Dt ═ 1" > indicates that the order of a child multimedia files is 1 st;
< name ═ B "Dt ═ 2" > means that the order of the B child multimedia files is 2 nd;
< name ═ C "Dt ═ 3" > means that the order of the C child multimedia files is 3 rd;
< name ═ D "Dt ═ D" > means that the order of the D sub multimedia files is the 4 th.
In addition, the file format of the description file is not limited to the above description, and the association between at least two of the N sub multimedia files may be adjusted.
In the embodiment of the invention, by detecting the description file in the target multimedia, under the condition of determining that the description file is contained, decompressing the target multimedia file to obtain the description file and N sub-multimedia files, and displaying the N sub-multimedia files by using the description file; the description file is used for representing the relevance between the N sub-multimedia files, the relevance is the attribute information of each sub-multimedia file and the relevance information between at least two sub-multimedia files, the N sub-multimedia files are displayed in a relevant mode through the relevance between the N sub-multimedia files, the N sub-multimedia files are convenient to manage and view by a user, the compressed target multimedia file is transmitted between other electronic devices, and the target multimedia file is convenient to view and manage by the user of other electronic devices.
Fig. 5 is a flowchart of a multimedia file processing method according to an embodiment of the present invention. As shown in fig. 5, the multimedia file processing method includes:
step 501: acquiring N sub multimedia files;
step 502: acquiring attribute information of each sub multimedia file;
step 503: determining the associated information between at least two sub multimedia files in the N sub multimedia files;
step 504: generating a description file according to the attribute information and the associated information;
step 505: and compressing the N sub multimedia files and the description file to generate a target multimedia file in a target format, wherein N is an integer greater than 1.
In the embodiment of the invention, the description file is generated through the attribute information of each sub multimedia file in the N sub multimedia files and the relevance between at least two sub multimedia files in the N sub multimedia files; and then compressing the N sub multimedia files and the description file to obtain a target multimedia file to be displayed, and storing the N sub multimedia files with relevance in a target format, so that a user can manage and view the N sub multimedia files greatly conveniently under the condition of not changing the N sub multimedia files.
In this embodiment of the present invention, after compressing the N sub multimedia files and the description file and generating the target multimedia file in step 505, the method further includes:
the target multimedia file is stored.
In the embodiment of the present invention, the target multimedia file is stored for the purpose of subsequently transmitting the target multimedia file to the target electronic device (e.g., the second electronic device in the above) and also for the convenience of the user to view and manage the target multimedia file on the electronic device (e.g., the first electronic device in the above).
In this embodiment of the present invention, after compressing the N sub multimedia files and the description file and generating the target multimedia file in step 505, the method further includes:
and sending the target multimedia file to the target electronic equipment so that the target electronic equipment obtains the description file and the N sub-multimedia files based on decompressing the target multimedia file, and displays the N sub-multimedia files based on the description file.
In the embodiment of the invention, the user can conveniently transmit the target multimedia file to the target electronic equipment, so that the user of the target electronic equipment can conveniently view and manage the N sub multimedia files with the relevance.
In this embodiment of the present invention, the acquiring N sub multimedia files in step 501 includes:
receiving a second input of the user;
in response to the second input, N sub-multimedia files selected by the second input are determined.
In an embodiment of the present invention, the attribute information includes at least one of: the display order of each sub multimedia file, the display format of each sub multimedia file, and the display size of each sub multimedia file.
In the embodiment of the invention, in order to improve the visual effect of the user, the first sub-multimedia file which is displayed by default or is set by the user according to the preference is displayed in a preset mode, and at least one sub-multimedia file in the N sub-multimedia files is displayed as the thumbnail, so that the display of the first sub-multimedia file is not influenced, and the thumbnail can be conveniently switched and displayed by the user.
In the embodiment of the present invention, the association information includes: the first type of associated information and the second type of associated information;
the first type of associated information indicates the relevance of display modes between at least two sub multimedia files in the N sub multimedia files; the second type of association information indicates an association of file attributes between at least two of the N sub-multimedia files.
In the embodiment of the invention, the relevance among the N sub multimedia files is established through the relevance of the display modes of the N sub multimedia files and the relevance of the file attributes, so that a user can conveniently and uniformly manage and view the N sub multimedia files with relevance.
In the embodiment of the present invention, the display mode includes: the display device comprises a first display mode and a second display mode, wherein the first display mode corresponds to a display mode with a preset size, and the second display mode corresponds to a display mode of a thumbnail; the file attributes include at least one of: shooting mode, shooting parameters and shooting number.
In the embodiment of the invention, after the description file is generated based on the attribute information of each sub multimedia file in the N sub multimedia files and the association information between at least two sub multimedia files in the N sub multimedia files; then compressing the N sub multimedia files and the description file to obtain a target multimedia file to be displayed, so that a user can conveniently view the target multimedia file with relevance in a subsequent process; and the N sub multimedia files are displayed in a distinguishing manner according to the types of the sub multimedia files, so that a user can conveniently and visually check the multimedia files related to the multimedia files which the user wants to check.
Fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 6, the electronic apparatus includes:
an obtaining module 601, configured to obtain a target multimedia file to be displayed;
the decompression module 602 is configured to decompress the target multimedia file to obtain a description file and N sub-multimedia files when the target multimedia file includes the description file;
a display module 603, configured to display N sub multimedia files based on the description file;
the description file comprises attribute information of each of N sub multimedia files and association information used for indicating the association between at least two of the N sub multimedia files, wherein N is an integer larger than 1.
According to the embodiment of the invention, the file format of the target multimedia file to be displayed is obtained, the target multimedia file to be displayed is decompressed under the condition that the file format is the first sub multimedia file format, and the decompressed N sub multimedia files are displayed according to the decompressed description file. The method and the device can realize the associated display of the N sub-multimedia files, and facilitate the management and the checking of a user on the N sub-multimedia files.
Optionally, the display module 603 is further configured to:
acquiring attribute information in the description file, wherein the attribute information indicates that the display size of the first sub multimedia file is a preset size;
displaying a first sub multimedia file in a first display area according to a preset size;
displaying at least one thumbnail in a second display area associated with the first display area;
wherein each thumbnail indicates a sub multimedia file.
In the embodiment of the invention, in order to facilitate the user to check the N sub-multimedia files, the first sub-multimedia file is displayed in a preset size, so that the user can conveniently and intuitively check the first sub-multimedia file; and displaying the thumbnail of at least one of the N sub multimedia files in a second area managed by the first display area.
Optionally, the first display area is associated with at least two second display areas, wherein different second display areas correspondingly display different types of sub multimedia files.
According to the embodiment of the invention, the first sub-multimedia display area is displayed in a distinguishing way according to the types of the N sub-multimedia files, so that a user can conveniently manage and check the sub-multimedia files of the same type.
Optionally, the electronic device further includes:
the receiving module is used for receiving a first input of a user to a target thumbnail in at least one thumbnail;
and the updating module is used for responding to the first input and updating the first sub multimedia file in the first display area to a second sub multimedia file indicated by the target thumbnail.
According to the embodiment of the invention, other sub multimedia files are hidden through the thumbnails, only the first sub multimedia file which needs to be checked by the user is displayed in the form of the large image, and when the user needs to check other sub multimedia files, the thumbnails of other sub multimedia files are selected, so that the user can conveniently switch to check other sub multimedia files.
Optionally, the obtaining module 601 is further configured to:
acquiring N sub multimedia files;
acquiring attribute information of each sub multimedia file;
the determining module is used for determining the associated information between at least two sub multimedia files in the N sub multimedia files;
the generation module is used for generating a description file according to the attribute information and the associated information;
and the compression module is used for compressing the N sub multimedia files and the description file to generate a target multimedia file in a target format.
In the embodiment of the invention, the description file is generated through the attribute information of each sub multimedia file in the N sub multimedia files and the relevance between at least two sub multimedia files in the N sub multimedia files; and then compressing the N sub multimedia files and the description file to obtain a target multimedia file to be displayed, storing the N sub multimedia files with relevance in a target format, and greatly facilitating the management and the viewing of the N sub multimedia files by a user under the condition of not changing the N sub multimedia files.
Optionally, the electronic device further includes:
and the storage module is used for storing the target multimedia file.
In the embodiment of the present invention, the target multimedia file is stored for the purpose of subsequently transmitting the target multimedia file to the target electronic device (e.g., the second electronic device in the above) and also for the convenience of the user to view and manage the target multimedia file on the electronic device (e.g., the first electronic device in the above).
Optionally, the electronic device further includes:
and the sending module is used for sending the target multimedia file to the target electronic equipment so that the target electronic equipment can obtain the description file and the N sub multimedia files based on decompressing the target multimedia file and display the N sub multimedia files based on the description file.
In the embodiment of the invention, the user can conveniently transmit the target multimedia file to the target electronic equipment, so that the user of the target electronic equipment can conveniently view and manage the N sub multimedia files with the relevance.
Optionally, the obtaining module 601 is further configured to:
receiving a second input of the user;
in response to the second input, N sub-multimedia files selected by the second input are determined.
Optionally, the attribute information includes at least one of the following items: the display order of each sub multimedia file, the display format of each sub multimedia file, and the display size of each sub multimedia file.
In the embodiment of the invention, in order to facilitate the user to check the N sub-multimedia files, the first sub-multimedia file is displayed in a preset size, so that the user can conveniently and visually check the first sub-multimedia file; and displaying the thumbnail of at least one of the N sub multimedia files in a second area managed by the first display area.
Optionally, the associated information includes: the first type of associated information and the second type of associated information;
the first type of associated information indicates the relevance of display modes between at least two sub multimedia files in the N sub multimedia files; the second type of association information indicates an association of file attributes between at least two of the N sub-multimedia files.
In the embodiment of the invention, the relevance among the N sub multimedia files is established through the relevance of the display modes of the N sub multimedia files and the relevance of the file attributes, so that a user can conveniently and uniformly manage and view the N sub multimedia files with relevance.
Optionally, the display mode includes: the display device comprises a first display mode and a second display mode, wherein the first display mode corresponds to a display mode with a preset size, and the second display mode corresponds to a display mode of a thumbnail;
the file attributes include at least one of: shooting mode, shooting parameters and shooting number.
In the embodiment of the invention, by detecting the description file in the target multimedia, under the condition of determining that the description file is contained, decompressing the target multimedia file to obtain the description file and N sub-multimedia files, and displaying the N sub-multimedia files by using the description file; the description file is used for representing the relevance between the N sub-multimedia files, the relevance is the attribute information of each sub-multimedia file and the relevance information between at least two sub-multimedia files, the N sub-multimedia files are displayed in a relevant mode through the relevance between the N sub-multimedia files, the N sub-multimedia files are convenient to manage and view by a user, the compressed target multimedia file is transmitted between other electronic devices, and the target multimedia file is convenient to view and manage by the user of other electronic devices.
Fig. 7 is a schematic diagram of another electronic device according to an embodiment of the present invention. As shown in fig. 7, the electronic apparatus includes:
an obtaining module 701, configured to obtain N sub multimedia files;
the obtaining module 701 is further configured to obtain attribute information of each sub multimedia file;
a determining module 702, configured to determine association information between at least two of the N sub multimedia files;
a generating module 703, configured to generate a description file according to the attribute information and the association information;
and the compressing module 704 is configured to compress the N sub multimedia files and the description file to generate a target multimedia file in a target format, where N is an integer greater than 1.
In the embodiment of the invention, the description file is generated through the attribute information of each sub multimedia file in the N sub multimedia files and the relevance between at least two sub multimedia files in the N sub multimedia files; and then compressing the N sub multimedia files and the description file to obtain a target multimedia file to be displayed, and storing the N sub multimedia files with relevance in a target format, so that a user can manage and view the N sub multimedia files greatly conveniently under the condition of not changing the N sub multimedia files.
Optionally, the electronic device further includes:
and the storage module is used for storing the target multimedia file.
In the embodiment of the present invention, the target multimedia file is stored for the purpose of subsequently transmitting the target multimedia file to the target electronic device (e.g., the second electronic device in the above) and also for the convenience of the user to view and manage the target multimedia file on the electronic device (e.g., the first electronic device in the above).
Optionally, the electronic device further includes:
and the sending module is used for sending the target multimedia file to the target electronic equipment so that the target electronic equipment can obtain the description file and the N sub multimedia files based on decompressing the target multimedia file and display the N sub multimedia files based on the description file.
In the embodiment of the invention, the user can conveniently transmit the target multimedia file to the target electronic equipment, so that the user of the target electronic equipment can conveniently view and manage the N sub multimedia files with the relevance.
Optionally, the obtaining module 701 is further configured to:
receiving a second input of the user;
in response to the second input, N sub-multimedia files selected by the second input are determined.
Optionally, the attribute information includes at least one of the following items: the display order of each sub multimedia file, the display format of each sub multimedia file, and the display size of each sub multimedia file.
According to the embodiment of the invention, the user can conveniently check the N sub-multimedia files, the first sub-multimedia file is displayed in a preset size, and the user can conveniently and visually check the first sub-multimedia file; and displaying the thumbnail of at least one of the N sub multimedia files in a second area managed by the first display area.
Optionally, the associated information includes: the first type of associated information and the second type of associated information;
the first type of associated information indicates the relevance of display modes between at least two sub multimedia files in the N sub multimedia files; the second type of association information indicates an association of file attributes between at least two of the N sub-multimedia files.
In the embodiment of the invention, the relevance among the N sub multimedia files is established through the relevance of the display modes of the N sub multimedia files and the relevance of the file attributes, so that a user can conveniently and uniformly manage and view the N sub multimedia files with relevance.
Optionally, the display mode includes: the display device comprises a first display mode and a second display mode, wherein the first display mode corresponds to a display mode with a preset size, and the second display mode corresponds to a display mode of a thumbnail;
the file attributes include at least one of: shooting mode, shooting parameters and shooting number.
In the embodiment of the invention, after the description file is generated based on the attribute information of each sub multimedia file in the N sub multimedia files and the association information between at least two sub multimedia files in the N sub multimedia files; then compressing the N sub multimedia files and the description file to obtain a target multimedia file to be displayed, so that a user can conveniently view the target multimedia file with relevance in a subsequent process; and the N sub multimedia files are displayed in a distinguishing manner according to the types of the sub multimedia files, so that a user can conveniently and visually check the multimedia files related to the multimedia files which the user wants to check.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 and fig. 5, and is not described herein again to avoid repetition.
Fig. 8 is a schematic hardware structure diagram of another electronic device for implementing various embodiments of the present invention.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The radio frequency unit 801 is configured to acquire a target multimedia file to be displayed;
the processor 810 is configured to decompress the target multimedia file to obtain a description file and N sub-multimedia files when the target multimedia file includes the description file;
displaying the N sub multimedia files based on the description file;
the description file comprises attribute information of each of N sub multimedia files and association information used for indicating the association between at least two of the N sub multimedia files, wherein N is an integer larger than 1.
In the embodiment of the invention, by detecting the description file in the target multimedia, under the condition of determining that the description file is contained, decompressing the target multimedia file to obtain the description file and N sub-multimedia files, and displaying the N sub-multimedia files by using the description file; the description file is used for representing the relevance between the N sub-multimedia files, the relevance is the attribute information of each sub-multimedia file and the relevance information of the relevance between at least two sub-multimedia files, and the N sub-multimedia files are displayed in a relevant mode through the relevance between the N sub-multimedia files, so that a user can manage and view the N sub-multimedia files conveniently.
Alternatively, the first and second electrodes may be,
the radio frequency unit 801 is configured to acquire N sub-multimedia files; acquiring attribute information of each sub multimedia file;
a processor 810 for determining association information between at least two of the N sub-multimedia files; generating a description file according to the attribute information and the associated information; and compressing the N sub multimedia files and the description file to generate a target multimedia file in a target format.
In the embodiment of the invention, the description file is generated through the attribute information of each sub multimedia file in the N sub multimedia files and the relevance between at least two sub multimedia files in the N sub multimedia files; and then compressing the N sub multimedia files and the description file to obtain a target multimedia file to be displayed, and storing the N sub multimedia files with relevance in a target format, so that a user can manage and view the N sub multimedia files greatly conveniently under the condition of not changing the N sub multimedia files.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the above-mentioned multimedia file display method or multimedia file processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned multimedia file display method or multimedia file processing method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (15)

1. A method for displaying a multimedia file, comprising:
acquiring a target multimedia file to be displayed;
under the condition that the target multimedia file comprises the description file, decompressing the target multimedia file to obtain the description file and N sub multimedia files;
displaying the N sub multimedia files based on the description file;
the description file comprises attribute information of each of the N sub-multimedia files and association information used for indicating the association between at least two of the N sub-multimedia files, wherein N is an integer greater than 1.
2. The method of claim 1, wherein said displaying the N sub-multimedia files according to the description file comprises:
acquiring attribute information in the description file, wherein the attribute information indicates that the display size of the first sub multimedia file is a preset size;
displaying the first sub multimedia file in a first display area according to the preset size;
displaying at least one thumbnail in a second display area associated with the first display area;
wherein each thumbnail indicates a sub multimedia file.
3. The method of claim 2, wherein the first display area is associated with at least two second display areas, wherein different second display areas correspond to different types of sub-multimedia files.
4. The method of claim 2, wherein after displaying at least one thumbnail in the target area associated with the target sub-multimedia file, the method further comprises:
receiving a first input of a user to a target thumbnail in the at least one thumbnail;
in response to the first input, updating the first sub-multimedia file in the first display area to a second sub-multimedia file indicated by the target thumbnail.
5. The method of claim 1, wherein prior to obtaining the target multimedia file to be displayed, the method further comprises:
acquiring N sub multimedia files;
acquiring attribute information of each sub multimedia file;
determining the associated information between at least two of the N sub multimedia files;
generating a description file according to the attribute information and the associated information;
and compressing the N sub multimedia files and the description file to generate a target multimedia file in a target format.
6. The method of claim 5, wherein after compressing the N sub multimedia files and the description file to generate a target multimedia file, the method further comprises:
and storing the target multimedia file.
7. The method of claim 5, wherein after compressing the N sub multimedia files and the description file to generate a target multimedia file, the method further comprises:
and sending the target multimedia file to a target electronic device, so that the target electronic device obtains a description file and N sub multimedia files based on the decompression of the target multimedia file, and displays the N sub multimedia files based on the description file.
8. The method of claim 1, wherein the obtaining N sub-multimedia files comprises:
receiving a second input of the user;
and responding to the second input, and determining the N sub multimedia files selected by the second input.
9. The method of claim 1, wherein the attribute information comprises at least one of: the display order of each sub multimedia file, the display format of each sub multimedia file, and the display size of each sub multimedia file.
10. The method of claim 1, wherein the association information comprises: the first type of associated information and the second type of associated information;
the first type of associated information indicates the relevance of display modes between at least two of the N sub-multimedia files; the second type of association information indicates an association of file attributes between at least two of the N sub-multimedia files.
11. The method of claim 10, wherein the display mode comprises: the display device comprises a first display mode and a second display mode, wherein the first display mode corresponds to a display mode with a preset size, and the second display mode corresponds to a display mode of a thumbnail;
the file attribute includes at least one of: shooting mode, shooting parameters and shooting number.
12. The method of claim 2, wherein after displaying at least one thumbnail in the second display area associated with the first display area, the method further comprises:
receiving a third input of the user;
hiding the at least one thumbnail in response to the third input;
under the condition that the display modes of the first sub multimedia file comprise display modes of at least two formats and the current display mode of the first sub multimedia file is the display mode of the first format, displaying at least two identifications in a third display area associated with the first display area, wherein each identification indicates one format;
receiving a fourth input of the target identification of the at least two identifications from the user;
in response to the fourth input, updating the display mode of the first format to the display mode of the second format indicated by the target identifier.
13. An electronic device, comprising:
the acquisition module is used for acquiring a target multimedia file to be displayed;
the decompression module is used for decompressing the target multimedia file under the condition that the target multimedia file comprises the description file to obtain the description file and N sub multimedia files;
the display module is used for displaying the N sub multimedia files based on the description file;
the description file comprises attribute information of each of the N sub-multimedia files and association information used for indicating the association between at least two of the N sub-multimedia files, wherein N is an integer greater than 1.
14. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the multimedia file display method according to any one of claims 1 to 12.
15. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the multimedia file display method according to any one of claims 1 to 12.
CN201911165530.0A 2019-11-25 2019-11-25 Multimedia file display method, electronic equipment and storage medium Pending CN111090757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911165530.0A CN111090757A (en) 2019-11-25 2019-11-25 Multimedia file display method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911165530.0A CN111090757A (en) 2019-11-25 2019-11-25 Multimedia file display method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111090757A true CN111090757A (en) 2020-05-01

Family

ID=70393667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911165530.0A Pending CN111090757A (en) 2019-11-25 2019-11-25 Multimedia file display method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111090757A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201286110Y (en) * 2008-08-21 2009-08-05 ***通信集团公司 Electronic photo frame service system, service processing apparatus and electronic photo frame
CN101777330A (en) * 2010-01-25 2010-07-14 杭州东信北邮信息技术有限公司 Wireless digital photo frame and working method thereof
CN102316257A (en) * 2010-07-06 2012-01-11 佳能株式会社 Image pickup apparatus capable of easily generating album and method of controlling the same
CN103164402A (en) * 2011-12-08 2013-06-19 青岛海尔电子有限公司 Method for displaying files
CN104239305A (en) * 2013-06-07 2014-12-24 阿里巴巴集团控股有限公司 Electronic document generating and displaying method and apparatus
US20150242405A1 (en) * 2014-02-26 2015-08-27 Sony Corporation Methods, devices and systems for context-sensitive organization of media files
CN104991903A (en) * 2015-06-15 2015-10-21 上海二三四五网络科技有限公司 Control method and control device for continuous document browsing in document compression software
CN105100868A (en) * 2015-04-22 2015-11-25 深圳市美贝壳科技有限公司 Method and device for displaying picture and thumbnail lists
WO2016184109A1 (en) * 2015-10-09 2016-11-24 中兴通讯股份有限公司 Methods for saving record and displaying and playing picture-form record, and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201286110Y (en) * 2008-08-21 2009-08-05 ***通信集团公司 Electronic photo frame service system, service processing apparatus and electronic photo frame
CN101777330A (en) * 2010-01-25 2010-07-14 杭州东信北邮信息技术有限公司 Wireless digital photo frame and working method thereof
CN102316257A (en) * 2010-07-06 2012-01-11 佳能株式会社 Image pickup apparatus capable of easily generating album and method of controlling the same
CN103164402A (en) * 2011-12-08 2013-06-19 青岛海尔电子有限公司 Method for displaying files
CN104239305A (en) * 2013-06-07 2014-12-24 阿里巴巴集团控股有限公司 Electronic document generating and displaying method and apparatus
US20150242405A1 (en) * 2014-02-26 2015-08-27 Sony Corporation Methods, devices and systems for context-sensitive organization of media files
CN105100868A (en) * 2015-04-22 2015-11-25 深圳市美贝壳科技有限公司 Method and device for displaying picture and thumbnail lists
CN104991903A (en) * 2015-06-15 2015-10-21 上海二三四五网络科技有限公司 Control method and control device for continuous document browsing in document compression software
WO2016184109A1 (en) * 2015-10-09 2016-11-24 中兴通讯股份有限公司 Methods for saving record and displaying and playing picture-form record, and terminal

Similar Documents

Publication Publication Date Title
CN110891144B (en) Image display method and electronic equipment
CN108415652B (en) Text processing method and mobile terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
CN108646960B (en) File processing method and flexible screen terminal
CN109189303B (en) Text editing method and mobile terminal
CN108228902B (en) File display method and mobile terminal
CN107734172B (en) Information display method and mobile terminal
JP7467667B2 (en) Detection result output method, electronic device and medium
CN109324999B (en) Method and electronic equipment for executing operation based on download instruction
CN108174110B (en) Photographing method and flexible screen terminal
CN111597370A (en) Shooting method and electronic equipment
CN108196781B (en) Interface display method and mobile terminal
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN110796438B (en) Message sending method and mobile terminal
CN109669656B (en) Information display method and terminal equipment
CN111061446A (en) Display method and electronic equipment
CN108924035B (en) File sharing method and terminal
CN110865752A (en) Photo viewing method and electronic equipment
CN111163227B (en) Sharing method and electronic equipment
CN109857578B (en) Text copying method and electronic equipment
CN109189735B (en) Preview image display method and mobile terminal
CN109739406B (en) File sending method and terminal
CN108595104B (en) File processing method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination