Multimedia resource display method and electronic equipment

By sending thumbnails of multimedia resources between electronic devices, the problem of resource waste and time loss during cross-device access and viewing in the prior art is solved, and fast and efficient access and viewing of multimedia resources is achieved.

CN119225586APending Publication Date: 2024-12-31HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310804201.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

When the prior art realizes cross-device multimedia resources access and viewing through cloud or applications, users need to purchase cloud space or send a large number of source files, resulting in a slow access and viewing process and fail to effectively avoid resource waste and time loss.

Method used

By sending thumbnails of multimedia resources between electronic devices, rather than source files, enabling multimedia resources access and viewing across devices, avoiding the need for cloud space purchase and resource transfer, and cache thumbnails locally to accelerate subsequent requests.

Benefits of technology

Improves the speed of access and viewing of cross-device multimedia resources, reduces resource waste and time loss, users do not need to purchase cloud space, and can directly obtain cached thumbnails from the local area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225586A_ABST
    Figure CN119225586A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a multimedia resource display method and electronic equipment, relates to the field of electronic equipment, and can optimize the access and viewing process of cross-equipment multimedia resources among a plurality of pieces of electronic equipment. According to the specific scheme, first electronic equipment receives opening operation of a user on a first application program; in response to the opening operation, the electronic equipment displays a first interface, and the first interface is an interface corresponding to the first application program; the first electronic equipment sends first request information to second electronic equipment, wherein the first request information is used for requesting a thumbnail corresponding to a first multimedia resource in the second electronic equipment; the first electronic equipment receives first response information sent by the second electronic equipment, wherein the first response information comprises a thumbnail corresponding to the first multimedia resource; and the first electronic equipment displays a second interface, wherein the second interface comprises the thumbnail corresponding to the first multimedia resource.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic devices, and in particular to a multimedia resource display method and electronic device. Background Art

[0002] With the development of electronic device technology, the scope of electronic devices used by users has expanded from one electronic device to multiple electronic devices. Multiple electronic devices can access and view multimedia resources (such as pictures or videos, etc.) across devices, thereby providing users with a convenient and fast usage experience.

[0003] The access and viewing of multimedia resources across devices between multiple electronic devices can be achieved in the following two ways. One way is that the access and viewing of multimedia resources across devices can be achieved through the cloud (such as a server). For example, an electronic device can transmit the multimedia resources it includes to the cloud, so that other electronic devices can access and view the multimedia resources of the electronic device through the cloud. Another way is that the access and viewing of multimedia resources across devices can be achieved through an application. For example, an electronic device can send the source files of the multimedia resources it includes to other electronic devices through an application (such as an album application, etc.), so that other electronic devices can view the multimedia resources of the electronic device.

[0004] However, when accessing and viewing multimedia resources across devices through the cloud, users need to purchase cloud space. If users do not purchase cloud space, they will not be able to access and view multimedia resources across devices through the cloud. When accessing and viewing multimedia resources across devices through applications, since the electronic device sends the source files of the multimedia resources, when the electronic device sends a large number of multimedia resources, the access and viewing process of multimedia resources across devices will be slow. Summary of the invention

[0005] The embodiments of the present application provide a multimedia resource display method and an electronic device, which can optimize the access and viewing process of multimedia resources across multiple electronic devices.

[0006] In order to achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0007] In a first aspect, an embodiment of the present application provides a multimedia resource display method, which can be applied to a first electronic device, which may include a first application. The multimedia resource display method may include: the first electronic device receives a user's opening operation on the first application; in response to the opening operation, the electronic device displays a first interface, which is an interface corresponding to the first application; the first electronic device sends a first request message to a second electronic device, and the first request message is used to request a thumbnail corresponding to the first multimedia resource in the second electronic device; the first electronic device receives a first response message sent by the second electronic device, and the first response message includes a thumbnail corresponding to the first multimedia resource; the first electronic device displays a second interface, and the second interface includes a thumbnail corresponding to the first multimedia resource.

[0008] Based on the method described in the first aspect, when the user needs to view and access the multimedia resources included in the second electronic device through the first electronic device, the second electronic device can send the thumbnail corresponding to the multimedia resources included therein to the first electronic device, that is, there is no need to access and view the multimedia resources across devices through the cloud, so the user does not need to purchase cloud space. And because the second electronic device sends the thumbnail corresponding to the multimedia resources included therein to the first electronic device without sending the source file corresponding to the multimedia resources, the amount of data corresponding to the thumbnail is less than the amount of data corresponding to the source file. Therefore, when the second electronic device sends the thumbnail corresponding to the multimedia resources included therein to the first electronic device, the time for sending the thumbnail corresponding to the multimedia resources will be less than the time for sending the source file corresponding to the multimedia resources, which can improve the access and viewing time of multimedia resources across devices.

[0009] In addition, since the second electronic device sends thumbnails corresponding to the multimedia resources it includes to the first electronic device, that is, the second electronic device can send thumbnails corresponding to all the multimedia resources it includes to the first electronic device at one time, thereby further improving the access and viewing time of multimedia resources across devices.

[0010] In combination with the first aspect, in another possible implementation, the first electronic device sending the first request information to the second electronic device may include: the first electronic device sending the second request information to the second electronic device, the second request information being used to request metadata of a multimedia resource in the second electronic device; the first electronic device receiving the second response information sent by the second electronic device, the second response information including the metadata of the multimedia resource; the metadata of the multimedia resource including an identifier of a thumbnail corresponding to the first multimedia resource; the first electronic device sending the first request information to the second electronic device, the first request information including the identifier of a thumbnail corresponding to the first multimedia resource.

[0011] Based on this possible implementation, when a user needs to view and access a multimedia resource included in a second electronic device through a first electronic device, the first electronic device may first obtain metadata of the multimedia resource included in the second electronic device, and the metadata of the multimedia resource may include an identifier of a thumbnail corresponding to the multimedia resource. Thus, when the first electronic device needs to obtain a thumbnail corresponding to the multimedia resource, it may send request information including an identifier of a thumbnail corresponding to the multimedia resource to the second electronic device, so that the second electronic device may determine the corresponding thumbnail according to the identifier and send it to the first electronic device.

[0012] In combination with the first aspect, in another possible implementation, the first electronic device sending the first request information to the second electronic device may include: when the first electronic device does not include a thumbnail of the first multimedia resource, the first electronic device sending the first request information to the second electronic device.

[0013] Based on this possible implementation, before the first electronic device sends the first request information to the second electronic device, the first electronic device may first determine whether the first electronic device includes a thumbnail corresponding to the first multimedia resource. When the first electronic device does not include a thumbnail corresponding to the first multimedia resource, the first electronic device may send the first request information to the second electronic device. When the first electronic device includes a thumbnail corresponding to the first multimedia resource, the first electronic device does not need to send the first request information to the second electronic device. This can avoid waste of resources and time, and speed up the processing of requests.

[0014] In combination with the first aspect, in another possible implementation, after the first electronic device receives the first response information sent by the second electronic device, the multimedia resource display method may further include: the first electronic device stores a thumbnail corresponding to the first multimedia resource.

[0015] Based on this possible implementation, after the first electronic device receives the thumbnail corresponding to the first multimedia resource, it can store the thumbnail, so that when the thumbnail is needed next time, the first electronic device can directly obtain the thumbnail without requesting the thumbnail from the second electronic device. This can avoid waste of resources and time and speed up the processing of requests.

[0016] In combination with the first aspect, in another possible implementation method, the length of the above-mentioned first request information is less than the first preset length, the length of the first response information is less than the second preset length, the length of the second request information is less than the third preset length, and the length of the second response information is less than the fourth preset length.

[0017] Based on this possible implementation method, since the length of the first request information is less than the first preset length, the length of the first response information is less than the second preset length, the length of the second request information is less than the third preset length, and the length of the second response information is less than the fourth preset length, the transmission speed and efficiency of the request information and the response information can be guaranteed, thereby speeding up the processing speed of the request.

[0018] In combination with the first aspect, in another possible implementation method, the above-mentioned first electronic device may include a first media data middle platform application, and the first electronic device sends a first request message to the second electronic device, which may include: the first application sends the first request message to the first media data middle platform application; the first media data middle platform application receives the first request message and sends the first request message to the second media data middle platform application included in the second electronic device.

[0019] Based on this possible implementation method, when the first electronic device sends the first request information to the second electronic device, the first electronic device can send the first request information to the second media data middle platform application included in the second electronic device through the first media data middle platform application in the first electronic device.

[0020] In combination with the first aspect, in another possible implementation method, the above-mentioned first electronic device receives the first response information sent by the second electronic device, which may include: the first media data middle platform application receives the first response information sent by the second media data middle platform application included in the second electronic device; the first media data middle platform application sends the first response information to the first application.

[0021] Based on this possible implementation method, when the first electronic device receives the first response information sent by the second electronic device, the first electronic device can receive the first response information sent by the second media data middle platform application included in the second electronic device through the first media data middle platform application in the first electronic device.

[0022] In combination with the first aspect, in another possible implementation method, the above-mentioned first media data middle platform application may include a first thumbnail database, which can be used to store thumbnails. The above-mentioned first media data middle platform application sends a first request message to the second media data middle platform application included in the second electronic device, which may include: the first application sends the first request message to the first media data middle platform application; the first media data middle platform application receives the first request message, and when the first thumbnail database does not include the thumbnail of the first multimedia resource, sends the first request message to the second media data middle platform application included in the second electronic device.

[0023] Based on this possible implementation, before the first electronic device sends the first request information to the second electronic device, the first electronic device may first determine whether the first thumbnail database in the first electronic device includes the thumbnail corresponding to the first multimedia resource. When the thumbnail corresponding to the first multimedia resource is not included in the first thumbnail database, the first electronic device may send the first request information to the second electronic device. When the thumbnail corresponding to the first multimedia resource is included in the first thumbnail database, the first electronic device does not need to send the first request information to the second electronic device. This can avoid waste of resources and time loss and speed up the processing of requests.

[0024] In combination with the first aspect, in another possible implementation, the above-mentioned multimedia resource display method may also include: when the first thumbnail database includes a thumbnail of the first multimedia resource, the first media data center application sends the thumbnail of the first multimedia resource to the first application; the first application receives and displays the thumbnail corresponding to the first multimedia resource.

[0025] Based on this possible implementation, before the first electronic device sends the first request information to the second electronic device, if the first thumbnail database includes a thumbnail corresponding to the first multimedia resource, the first electronic device does not need to send the first request information to the second electronic device, thereby avoiding waste of resources and time and speeding up the processing of requests.

[0026] In a second aspect, an embodiment of the present application provides a multimedia resource display device, which can be applied to an electronic device to implement the method in the first aspect. The functions of the multimedia resource display device can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions, such as a receiving module, a display module, and a sending module.

[0027] The receiving module may be used to receive a user's opening operation on the first application.

[0028] The display module can be used to display a first interface in response to an opening operation, where the first interface is an interface corresponding to the first application.

[0029] The sending module can be used to send first request information to the second electronic device, where the first request information is used to request a thumbnail corresponding to the first multimedia resource in the second electronic device.

[0030] The receiving module may also be used to receive first response information sent by the second electronic device, where the first response information includes a thumbnail corresponding to the first multimedia resource.

[0031] The display module can also be used to display a second interface, where the second interface includes thumbnails corresponding to the first multimedia resource.

[0032] In combination with the second aspect, in another possible implementation, the sending module may also be used to send second request information to the second electronic device, where the second request information is used to request metadata of a multimedia resource in the second electronic device.

[0033] The receiving module can also be used to receive second response information sent by the second electronic device, where the second response information includes metadata of the multimedia resource; the metadata of the multimedia resource includes an identifier of a thumbnail corresponding to the first multimedia resource.

[0034] The sending module may also be used to send first request information to the second electronic device, where the first request information includes an identifier of a thumbnail corresponding to the first multimedia resource.

[0035] In combination with the second aspect, in another possible implementation manner, the sending module may also be configured to send the first request information to the second electronic device when the first electronic device does not include a thumbnail corresponding to the first multimedia resource.

[0036] In combination with the second aspect, in another possible implementation manner, the multimedia resource display device may further include a storage module.

[0037] The storage module can be used to store thumbnails corresponding to the first multimedia resource.

[0038] In combination with the second aspect, in another possible implementation, the length of the first request message is less than the first preset length, the length of the first response message is less than the second preset length, the length of the second request message is less than the third preset length, and the length of the second response message is less than the fourth preset length.

[0039] In combination with the second aspect, in another possible implementation manner, the sending module can be used to send first request information to the first media data middle platform application.

[0040] The receiving module can be used to receive first request information.

[0041] The sending module can also be used to send the first request information to the second media data middle platform application included in the second electronic device.

[0042] In combination with the second aspect, in another possible implementation, the receiving module may also be used to receive first response information sent by a second media data middleware application included in the second electronic device.

[0043] The sending module can also be used to send first response information to the first application.

[0044] In combination with the second aspect, in another possible implementation manner, the sending module can also be used to send the first request information to the first media data middle platform application.

[0045] The receiving module can also be used to receive first request information.

[0046] The sending module can also be used to send first request information to a second media data platform application included in the second electronic device when the first thumbnail database does not include a thumbnail corresponding to the first multimedia resource.

[0047] In combination with the second aspect, in another possible implementation, the sending module may also be configured to send the thumbnail corresponding to the first multimedia resource to the first application when the first thumbnail database includes the thumbnail corresponding to the first multimedia resource.

[0048] The receiving module may also be configured to receive a thumbnail corresponding to the first multimedia resource.

[0049] The display module can also be used to display thumbnails corresponding to the first multimedia resource.

[0050] In a third aspect, a multimedia resource display device is provided, which has the function of implementing the method described in the first aspect. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0051] In a fourth aspect, a multimedia resource display device is provided, comprising: a processor and a memory; the memory is used to store computer execution instructions, and when the multimedia resource display device is running, the processor executes the computer execution instructions stored in the memory to enable the multimedia resource display device to perform the multimedia resource display method as described in any one of the above-mentioned first aspects.

[0052] In a fifth aspect, a multimedia resource display device is provided, comprising: a processor; the processor is used to couple with a memory, and after reading instructions in the memory, execute the multimedia resource display method as described in any one of the above-mentioned first aspects according to the instructions.

[0053] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by an electronic device, the electronic device implements the multimedia resource display method as described in any one of the first aspect or possible implementations of the first aspect.

[0054] In a seventh aspect, an embodiment of the present application provides a computer program product, comprising a computer-readable code, which, when executed in an electronic device, enables the electronic device to implement a multimedia resource display method as described in any one of the first aspect or possible implementations of the first aspect.

[0055] In an eighth aspect, a device (for example, the device may be a chip system) is provided, the device including a processor for supporting an electronic device to implement the functions involved in the first aspect above. In one possible design, the device also includes a memory for storing program instructions and data necessary for the electronic device. When the device is a chip system, it may be composed of a chip, or may include a chip and other discrete devices.

[0056] It should be understood that the beneficial effects of the second to eighth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 Schematic diagram of a scenario of accessing multimedia resources across devices in the prior art Figure 1 ;

[0058] Figure 2 Schematic diagram of a scenario of accessing multimedia resources across devices in the prior art Figure 2 ;

[0059] Figure 3 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;

[0060] Figure 4 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application Figure 1 ;

[0061] Figure 5 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application Figure 2 ;

[0062] Figure 6 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application Figure 3 ;

[0063] Figure 7 A schematic diagram of a multimedia resource display method provided in an embodiment of the present application Figure 1 ;

[0064] Figure 8 A schematic diagram of a display interface of an electronic device provided in an embodiment of the present application;

[0065] Fig. 9 A schematic diagram of a multimedia resource display method provided in an embodiment of the present application Figure 2 ;

[0066] Fig.10 A schematic diagram of a multimedia resource display method provided in an embodiment of the present application Figure 3 ;

[0067] Fig.11 A schematic diagram of the structure of a multimedia resource display device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0069] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0070] In order to clearly describe the technical solutions of the embodiments of the present application, some terms and technologies involved in the embodiments of the present application are briefly introduced below.

[0071] With the development of electronic device technology, the scope of electronic devices used by users has expanded from one electronic device to multiple electronic devices. Multiple electronic devices can access and view multimedia resources (such as pictures or videos, etc.) across devices, thereby providing users with a convenient and fast usage experience. That is, when a user has multiple electronic devices, the user can access and view multimedia resources on other electronic devices through one electronic device.

[0072] Currently, the access and viewing of multimedia resources across multiple electronic devices can be achieved through the following two ways: One way is to achieve the access and viewing of multimedia resources across multiple devices through the cloud (such as a server).

[0073] For example, an electronic device may transmit the multimedia resources it includes to the cloud, so that other electronic devices may access and view the multimedia resources of the electronic device through the cloud.

[0074] For example, combined with Figure 1As shown, the user can transmit the pictures or videos included in the mobile phone 01 to the cloud, that is, the server 03, through the mobile phone 01. Afterwards, when the user needs to access and view the pictures or videos included in the mobile phone 01 through the mobile phone 02, the user can obtain the pictures or videos included in the mobile phone 01 from the server 03 through the mobile phone 02. When the mobile phone 02 obtains the pictures or videos included in the mobile phone 01 from the server 03, the mobile phone 02 can display the pictures or videos included in the mobile phone 01, so that the user can access and view the pictures or videos included in the mobile phone 01 through the mobile phone 02.

[0075] However, when accessing and viewing multimedia resources across devices through the cloud, users need to purchase cloud space. When the user does not purchase cloud space, the user will not be able to access and view multimedia resources across devices through the cloud. In some scenarios, although the user has purchased cloud space, when the cloud space purchased by the user is small, the user will not be able to access and view multimedia resources across devices through the cloud at one time. That is, when the cloud space purchased by the user is small, the user can only access and view the multimedia resources corresponding to the size of the purchased cloud space at one time in the cloud. When the user needs to access and view a large number of multimedia resources, the user needs to access and view the corresponding multimedia resources multiple times through the cloud, resulting in more complicated operations. In other words, when the cloud space purchased by the user is small, it is impossible to access and view the full amount of data of other devices at one time through the cloud.

[0076] Another way is to access and view multimedia resources across devices through applications.

[0077] For example, an electronic device can send source files of multimedia resources included in it to other electronic devices through an application (such as an album application, a third-party application, etc.), so that other electronic devices can view the multimedia resources of the electronic device. The third-party application can be a communication application, a picture editing application, etc.

[0078] The source file of a picture or video refers to the original file used to create or record these media contents. The source file of a picture usually refers to the raw image data format (RAW) or the Joint Photographic Experts Group (JPG) format file generated by a digital camera or mobile phone camera during the shooting process. The source file of a video usually refers to the file directly captured or recorded from a camera, TV program, movie or other device. The source file usually contains the media data without any modification or editing, that is, these files are the high-quality versions that were originally generated. In other words, the data volume of the source file is usually large.

[0079] For example, combined with Figure 2 As shown, when a user has multiple electronic devices, such as mobile phone 01 and mobile phone 02, the user can access and view pictures or videos on mobile phone 01 through mobile phone 02. When the user needs to access and view pictures or videos on mobile phone 01 through mobile phone 02, the user can send the source files of pictures or videos included in mobile phone 01 to mobile phone 02 through an application (such as an album application, etc.) on mobile phone 01. When mobile phone 02 receives pictures or videos included in mobile phone 01 sent by an application on mobile phone 01, mobile phone 02 can display the pictures or videos included in mobile phone 01, so that the user can access and view pictures or videos included in mobile phone 01 through mobile phone 02.

[0080] However, when accessing and viewing multimedia resources across devices through applications, the electronic device sends the source files of the multimedia resources, which usually have a large amount of data. When the electronic device sends a large number of multimedia resources, the access and viewing process of the multimedia resources across devices will be slow.

[0081] In summary, in the prior art, when accessing and viewing multimedia resources across devices through the cloud, if the user has not purchased cloud space, the user will not be able to access and view multimedia resources across devices through the cloud. When accessing and viewing multimedia resources across devices through applications, since the electronic device sends the source files of the multimedia resources, the access and viewing process of multimedia resources across devices will be slow.

[0082] In view of the above problems, an embodiment of the present application provides a multimedia resource display method, which can be applied to an electronic device. When a user needs to view and access multimedia resources included in a second electronic device through a first electronic device, the second electronic device can send thumbnails corresponding to the multimedia resources included therein to the first electronic device. When the first electronic device receives the thumbnail corresponding to the multimedia resource sent by the second electronic device, the first electronic device can display the thumbnail corresponding to the multimedia resource, so that the user can view and access the thumbnail corresponding to the multimedia resource included in the second electronic device through the first electronic device.

[0083] According to the solution of the present application, when a user needs to view and access multimedia resources included in a second electronic device through a first electronic device, the second electronic device can send thumbnails corresponding to the multimedia resources included therein to the first electronic device. That is, there is no need to access and view multimedia resources across devices through the cloud, and thus the user does not need to purchase cloud space.

[0084] Furthermore, since the second electronic device sends the thumbnail corresponding to the multimedia resource to the first electronic device without sending the source file corresponding to the multimedia resource, the amount of data corresponding to the thumbnail is smaller than the amount of data corresponding to the source file. Therefore, when the second electronic device sends the thumbnail corresponding to the multimedia resource to the first electronic device, the time for sending the thumbnail corresponding to the multimedia resource will be shorter than that for sending the source file corresponding to the multimedia resource, which can improve the access and viewing time of multimedia resources across devices.

[0085] In addition, since the second electronic device sends thumbnails corresponding to the multimedia resources it includes to the first electronic device, that is, the second electronic device can send thumbnails corresponding to all the multimedia resources it includes to the first electronic device at one time, thereby further improving the access and viewing time of multimedia resources across devices.

[0086] The following describes a multimedia resource display method provided in an embodiment of the present application.

[0087] The multimedia resource display method provided in the embodiment of the present application can be applied to an electronic device. The electronic device can be the first electronic device mentioned above, or the second electronic device mentioned above.

[0088] In some embodiments, the electronic device may be a mobile phone, a tablet computer, a handheld computer, a personal computer (PC), a cellular phone, a personal digital assistant (PDA), a wearable device, etc. The embodiments of the present application do not limit the specific form of the electronic device.

[0089] That is, the first electronic device or the second electronic device can be a mobile phone, a tablet computer, a handheld computer, a personal computer (PC), a cellular phone, a personal digital assistant (PDA), a wearable device, etc. And the specific form of the first electronic device can be the same as or different from the specific form of the second electronic device.

[0090] For example, when the first electronic device is a mobile phone, the second electronic device may be a mobile phone, or may be a tablet computer, a handheld computer, or the like.

[0091] For example, taking the electronic device (ie, the first electronic device or the second electronic device) as a mobile phone, Figure 3 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown.

[0092] like Figure 3As shown, the electronic device may include a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, a button 390, a motor 391, an indicator 392, a camera 393, a display screen 394, and a subscriber identification module (SIM) card interface 395, etc. Among them, the sensor module 380 may include a pressure sensor 380A, a gyroscope sensor 380B, an air pressure sensor 380C, a magnetic sensor 380D, an acceleration sensor 380E, a distance sensor 380F, a proximity light sensor 380G, a fingerprint sensor 380H, a temperature sensor 380J, a touch sensor 380K, an ambient light sensor 380L, a bone conduction sensor 380M, etc.

[0093] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0094] The processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0095] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0096] The processor 310 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may store instructions or data that the processor 310 has just used or cyclically used. If the processor 310 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 310, and thus improves the efficiency of the system.

[0097] In some embodiments, the processor 310 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0098] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor and baseband processor.

[0099] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0100] The mobile communication module 350 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied in electronic devices. The mobile communication module 350 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 350 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 350 can be set in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 can be set in the same device as at least some of the modules of the processor 310.

[0101] The wireless communication module 360 ​​can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to electronic devices. The wireless communication module 360 ​​can be one or more devices integrating at least one communication processing module. The wireless communication module 360 ​​receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 310. The wireless communication module 360 ​​can also receive the signal to be sent from the processor 310, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0102] In some embodiments, the antenna 1 of the electronic device is coupled to the mobile communication module 350, and the antenna 2 is coupled to the wireless communication module 360, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology.

[0103] The electronic device implements the display function through a GPU, a display screen 394, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs that execute program instructions to generate or change display information.

[0104] The display screen 394 is used to display images, videos, etc. The display screen 394 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include 1 or N display screens 394, where N is a positive integer greater than 1.

[0105] The electronic device can realize the shooting function through the ISP, the camera 393, the video codec, the GPU, the display screen 394 and the application processor, etc. In some embodiments, the electronic device can include 1 or N cameras 393, where N is a positive integer greater than 1.

[0106] The internal memory 321 can be used to store computer executable program codes, which include instructions. The processor 310 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 321. The internal memory 321 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data established during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 321 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0107] The acceleration sensor 380E can periodically collect acceleration data of the electronic device at a certain frequency. For example, the acceleration magnitude of the electronic device in various directions (generally XYZ three-axis directions) can be collected.

[0108] Of course, it is understandable that the above Figure 3 The figure is only an exemplary description when the electronic device is in the form of a mobile phone. If the electronic device is in the form of a tablet computer, a handheld computer, a PC, a PDA, a wearable device (such as a smart watch, a smart bracelet), etc., the structure of the electronic device may include Figure 3 The structure shown in the figure is less than Figure 3 More structures are shown in the figure, which are not limited here.

[0109] It is understandable that, generally speaking, the realization of electronic device functions requires not only hardware support but also software cooperation.

[0110] The software system of the electronic device may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device.

[0111] Figure 4 It is a software structure block diagram of the electronic device provided in the embodiment of the present application.

[0112] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and the system library (also called the Native layer), and the kernel layer.

[0113] The application layer can include a series of application packages. Figure 4 As shown, the application package may include applications such as camera, gallery, calendar, phone, map, navigation, WLAN, Bluetooth, music, video, short message, etc. The application framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0114] It is understandable that the application layer may include multiple applications, and the types of the multiple applications may be the same or different. For example, the application layer may include multiple shopping applications, and the multiple shopping applications are of the same type, all of which are shopping applications. The application layer may also include a map application and a communication application, and the map application and the communication application are of different types.

[0115] like Figure 4 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0116] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0117] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0118] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0119] The phone manager is used to provide communication functions for electronic devices, such as the management of call status (including answering, hanging up, etc.).

[0120] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0121] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0122] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

[0123] The core library consists of two parts: one is the function that the Java language needs to call, and the other is The core library.

[0124] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0125] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0126] The surface manager is used to manage the display subsystem and provide the fusion of two-dimensional and three-dimensional layers for multiple applications.

[0127] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats.

[0128] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0129] A 2D graphics engine is a drawing engine for 2D drawings.

[0130] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0131] The methods in the following embodiments can all be implemented in an electronic device having the above hardware structure or software structure.

[0132] In some examples, in order to implement the multimedia resource display method provided in the embodiments of the present application, Figure 4 Based on the software structure diagram of the electronic device shown in Figure 5 As shown, the application framework layer may also include a media data middle platform. It should be noted that the media data middle platform may also be located in the application layer. In the embodiment of the present application, the media data middle platform is located in the application framework layer as an example for schematic illustration.

[0133] The media data platform can be a media data platform application (APP). The media data platform refers to the digital transformation of various products and services of traditional media, aggregating and integrating the massive data originally scattered in various links and business departments, and realizing the efficient use and value mining of these data by building a shared data platform.

[0134] like Figure 5 As shown, the media data middle station can be located in the media service middle station. That is, the media service middle station can include a media post-processing framework module and a media data middle station module. The media post-processing framework module can be a software module used to process noise, distortion, reverberation and other problems in audio and video data to improve audio and video quality. It usually exists as a component used in an operating system or application.

[0135] The media data middle station can be used to receive a request from a first application of a first electronic device for multimedia resources of a second electronic device, and send the request to the media data middle station of the second electronic device.

[0136] The media data middle station can also be used to receive metadata of multimedia resources included in the second electronic device sent by the media data middle station of the second electronic device.

[0137] After the media data center receives the metadata of the multimedia resources included in the second electronic device sent by the media data center of the second electronic device, the media data center can also receive a request from the first application of the first electronic device for the multimedia resources of the second electronic device, and send the request to the media data center of the second electronic device.

[0138] The media data middle station can also be used to receive thumbnails of multimedia resources included in the second electronic device sent by the media data middle station of the second electronic device.

[0139] like Figure 5As shown, the application layer may include a gallery application, a camera application, a file management application, a video editing application, a music application, and the like.

[0140] The application framework layer may also include system services. System services may refer to programs or processes running in the operating system to support the normal operation of the system and provide system-level functions and services. System services may include media provider services, camera services, player services, codec services, and audio services.

[0141] Media provider service can be a system-level service provided to applications in the Android system, mainly used to manage various multimedia resources on the device. Camera service can be used to manage the camera of the electronic device. Through the camera service, the application can call various functions and properties of the camera hardware, such as opening preview, taking photos or recording videos. Player service can be used to manage the multimedia resources of the electronic device. By using the player service, the application can easily play multimedia resources of various formats on the device and realize the function of audio or video playback. Codec service can be used for encoding and decoding operations of various media formats. By using the codec service, the application can easily encode, decode or transcode a variety of audio and video media files. Audio service can be used to manage and control all audio input and output on the device. By using the audio service, the application can easily manage various audio resources of the device, such as microphones, speakers, headphones, etc., and perform operations such as recording, playing, mixing, etc.

[0142] The application framework layer may also include a converged interconnection platform. The converged interconnection platform can be used to merge traditional data communication, voice communication, video communication and other functions, and support various terminal devices and network access methods, such as smart phones, TVs, and car systems, to achieve full-scenario connectivity. The converged interconnection platform may include a device management module and a data transmission module. The device management module included in the converged interconnection platform can be used to refer to the process of centralized and unified management of various types of devices.

[0143] The data transmission module included in the converged interconnection platform can be used for the transmission and sharing of various data types between different devices. For example, the media data middle station can send the first request to the media data middle station of the second electronic device through the data transmission module of the converged interconnection platform. The media data middle station can also receive the metadata of the multimedia resources included in the second electronic device sent by the media data middle station of the second electronic device through the data transmission module of the converged interconnection platform.

[0144] like Figure 5As shown, a software development kit (SDK), an audio tool kit, and a media extension interface may also be included between the application layer and the application framework layer.

[0145] A software development kit is a collection of software development tools that assist developers in creating applications in a specific platform, operating system, software framework, or hardware environment. A software development kit may include media storage. Media storage generally refers to various multimedia resources that a program needs to acquire and use during use, such as audio, video, and image files. These multimedia resources may be relatively large, and different types of media formats may also vary, so a dedicated media storage solution is required to facilitate management and acquisition. Media storage is mainly used to support applications to quickly access and efficiently manage multimedia resources to enhance the user experience of the entire application.

[0146] Audio toolkit refers to a series of software libraries and tool collections for processing, editing, generating and playing audio. These tool collections can be used in audio programming to achieve functions such as visual analysis of audio signals, format conversion, special effects addition, audio repair and enhancement.

[0147] Media extension interfaces refer to a series of programming interfaces that can be used to enhance or improve media-related applications. These interfaces are usually provided on specific operating systems, frameworks or platforms, and are designed to enhance functions related to media processing and playback such as audio, video, and images, such as audio and video codecs, streaming protocol support, image effects, etc.

[0148] In different media applications, it may be necessary to use a specific media extension interface. For example, the media extension interface may include a media data middle platform interface, and the application in the electronic device can call the media data middle platform in the electronic device through the media data middle platform interface.

[0149] like Figure 5As shown in Figure 1, the application framework layer can also include a security infrastructure platform, a converged computing platform, and a communication infrastructure platform. The security infrastructure platform refers to creating a computing environment on a computer or mobile device that is more secure than the operating system. The environment has independent processors, dedicated security kernels, strictly protected storage space, and a trusted execution environment. The converged computing platform refers to integrating and coordinating traditional computing, network, and storage resources through virtualization technology to achieve a more efficient, flexible, scalable, and secure computing environment. It can integrate data of various types and sources, and use advanced technologies such as artificial intelligence and machine learning to process and analyze these data. The communication infrastructure platform refers to the infrastructure used to build and manage various communication networks in the field of information and communication technology, including physical equipment, system software, security mechanisms, open interfaces, and application services. It is a platform for unified management and coordination of various communication protocols, technologies, and services, and provides the necessary technical support for communication operators and service providers to carry out business and services.

[0150] like Figure 5 As shown, a hardware abstraction layer may also be included between the application framework layer and the chip component. The hardware abstraction layer may include a hardware abstraction layer interface definition language (HAL interface definition language, HIDL) interface. The HIDL interface is a programming specification for describing a hardware abstraction layer (HAL) interface. The HIDL interface provides a connection and communication method between the HAL and the upper-level application or Android framework.

[0151] In some examples, in order to implement the multimedia resource display method provided in the embodiments of the present application, Figure 5 Based on the software structure diagram of the electronic device shown in Figure 6 As shown, the media data middle platform may include a thumbnail management module, a thumbnail database, and a device manager module.

[0152] The thumbnail management module may be configured to receive a request from a first application of a first electronic device for multimedia resources of a second electronic device, and send the request to a thumbnail database.

[0153] The thumbnail database can be used to store received thumbnails. The thumbnail database can also be used to determine whether there is a thumbnail corresponding to the request in the stored thumbnails after receiving the request sent by the thumbnail management module.

[0154] When the thumbnail database determines that the thumbnail corresponding to the request exists among the stored thumbnails, the thumbnail database may return the thumbnail corresponding to the request to the thumbnail management module.

[0155] When the thumbnail database determines that the thumbnail corresponding to the request does not exist in the stored thumbnails, the thumbnail database may send the request to the device manager module.

[0156] The device manager module can be used to receive the request sent by the thumbnail database, and send the request to the trust link module in the data transmission module included in the converged interconnection platform.

[0157] After the trusted link module receives the request, the trusted link module may send the request to the trusted link module in the second electronic device, thereby requesting a thumbnail corresponding to the multimedia resource in the second electronic device.

[0158] The trust link module can be a magic link service, also known as a magic link, which is a way to reset passwords or log in to verify logins. Using magic links can easily and safely complete verification operations. It avoids the troubles of users forgetting passwords, password leaks, and worrying about complex passwords. In addition, magic links have a time limit setting to ensure the effectiveness and security of authentication.

[0159] Below Figure 5 Based on the software structure diagram of the electronic device shown, combined with Figure 7 The multimedia resource display method provided in the embodiment of the present application is schematically described. Figure 7 As shown, the multimedia resource display method may include the following S701-S720.

[0160] S701: A user opens a first application in a first electronic device.

[0161] The first application may be an application that comes with the first electronic device, such as an album application included in the first electronic device. The first application may also be an application of a third party in the electronic device, such as a third-party image editing application, a third-party communication application, etc. The specific type of the first application is not limited in the embodiments of the present application.

[0162] The user opens the first application in the first electronic device, such as the user clicks on the icon corresponding to the first application included in the first electronic device, so that the first electronic device can display the interface corresponding to the first application (which may also be referred to as the first interface in the embodiment of the present application).

[0163] S702: The first application displays a first interface, where the first interface includes a viewing control, and the viewing control is used to request viewing of multimedia resources in the second electronic device.

[0164] After the first electronic device receives the user's operation of opening the first application in the first electronic device, in response, the first electronic device (ie, the first application) can display the first interface, ie, the interface corresponding to the first application.

[0165] In some examples, the first interface may include a viewing control. The viewing control may be used to request viewing of multimedia resources in the second electronic device. The second electronic device may be an electronic device capable of establishing near field communication with the first electronic device. For example, the second electronic device may be an electronic device capable of establishing a Bluetooth link or a wireless local area network WLAN link with the first electronic device.

[0166] In some examples, the viewing control may also include information such as an identification of the second electronic device, such as a name of the second electronic device.

[0167] In some examples, the multimedia resources may include resources such as pictures and videos. The specific types of multimedia resources are not limited in the embodiments of the present application. In the embodiments of the present application, the multimedia resources are pictures as an example for illustration.

[0168] For example, taking the first electronic device as mobile phone 01 and the first application as the photo album application of mobile phone 01 as an example, after the user opens the photo album application in mobile phone 01, in combination with Figure 8 As shown in (a), the mobile phone 01 can display the interface corresponding to the album application (i.e., the first interface), and the interface corresponding to the album application can include a viewing control 02. The viewing control 02 can be used to request to view the multimedia resources in the second electronic device (such as the mobile phone 02), that is, the viewing control 02 can include the identification of the mobile phone 02.

[0169] S703: The first application receives a trigger operation of the user on the viewing control.

[0170] After the first electronic device displays the first interface, when the user needs to view multimedia resources on the second electronic device through the first electronic device, the user can trigger the viewing control included in the first interface. That is, the first application of the first electronic device can receive the user's triggering operation on the viewing control.

[0171] S704: In response to a user triggering operation on a viewing control, the first application sends a first request for metadata of a multimedia resource of a second electronic device to a first media data center of the first electronic device.

[0172] After the first application receives a trigger operation of the user on the viewing control, such as a click operation, in response, the first application may send a first request for the multimedia resources of the second electronic device to the first media data center of the first electronic device. That is, the first request may be used to request the metadata of the multimedia resources included in the second electronic device, and in the embodiment of the present application, the first request may also be referred to as the second request information.

[0173] The metadata of multimedia resources can be used to indicate the attribute information of multimedia resources. In other words, the metadata of multimedia resources can be a set of data that describes the file content, format and attributes of multimedia resources. For example, the metadata of multimedia resources can generally include: creation date, photographer, geographical location, resolution, length, width, duration, related people, device model, version number and other data. Through the metadata of multimedia resources, users and computer programs can understand the relevant information of the multimedia resources, for example, so that users can search for specific multimedia resources, classify and organize multimedia resources or edit multimedia resources.

[0174] In some examples, the metadata of the multimedia resource may further include an identifier of a thumbnail corresponding to the multimedia resource. The identifier of the thumbnail corresponding to the multimedia resource may be used to indicate the thumbnail corresponding to the multimedia resource.

[0175] The thumbnail of a multimedia resource is also called a preview or thumbnail. A thumbnail of a multimedia resource can be a small-sized picture, usually used to display a quick preview of the original media file (i.e., the source file of the multimedia resource). Thumbnails can be used as quick previews of image resource browsers, or as part of simplifying the operation process during multimedia processing and saving system resources. If the image needs to be displayed on a large scale, the original high-quality image may be loaded from the thumbnail. In other words, the data volume of the thumbnail corresponding to the multimedia resource is less than the data volume of the source file corresponding to the multimedia resource.

[0176] That is, after the electronic device obtains the multimedia resources, the electronic device can obtain the thumbnail corresponding to each multimedia resource. Afterwards, the electronic device can generate and store the identifier of the thumbnail corresponding to each multimedia resource, so that the thumbnail corresponding to the multimedia resource can be determined according to the identifier of the thumbnail corresponding to the multimedia resource.

[0177] In some examples, the identifier of the thumbnail corresponding to the multimedia resource can be the key value of the thumbnail corresponding to the multimedia resource. The key value of the thumbnail corresponding to the multimedia resource can be a value of a certain length generated by the media data center of the electronic device according to certain rules, so that the signaling length corresponding to the first request can be controlled, and the value can be unique on the electronic device, achieving the same effect as the file path corresponding to the thumbnail corresponding to the multimedia resource.

[0178] In some examples, the first request may be used to request metadata of all multimedia resources included in the second electronic device. The first request may also be used to request metadata of part of the multimedia resources included in the second electronic device.

[0179] In some examples, after the first application receives a trigger operation of the user on the viewing control, such as a click operation, in response, the first electronic device may also display at least one classification folder of multimedia resources included in the second electronic device in the first interface, such as a recently shot folder, a last month shot folder, etc. When the user clicks a certain classification folder, in response, the first application may send a first request for the multimedia resources included in the classification folder of the second electronic device to the first media data center of the first electronic device. That is, the first request may be used to request the metadata of the multimedia resources included in the classification folder of the second electronic device.

[0180] It should be noted that after the user opens the first application in the first electronic device, the first application can directly send a first request for metadata of the multimedia resources of the second electronic device to the first media data center of the first electronic device. The first application can also send a first request for metadata of the multimedia resources of the second electronic device to the first media data center of the first electronic device after receiving a trigger operation of the user on the viewing control in the interface corresponding to the first application. In the embodiment of the present application, the triggering conditions for the first application to send a first request for metadata of the multimedia resources of the second electronic device to the first media data center of the first electronic device are not limited. In the embodiment of the present application, the first application sends a first request for metadata of the multimedia resources of the second electronic device to the first media data center of the first electronic device after receiving a trigger operation of the user on the viewing control in the interface corresponding to the first application as an example for schematic explanation.

[0181] S705: The first media data middle station receives the first request.

[0182] S706: The first media data middle station sends a first request to the second media data middle station of the second electronic device.

[0183] After the first media data middle station receives the first request sent by the first application, the first media data middle station may send the first request to the second media data middle station of the second electronic device.

[0184] In some examples, before the first media data station sends the first request to the second media data station of the second electronic device, the first electronic device may establish a link with the second electronic device, such as establishing a near field communication link.

[0185] In some examples, before the first media data center sends a first request to the second media data center of the second electronic device, when the first electronic device establishes a link with the second electronic device, the first electronic device and the second electronic device may establish a link through a magic link. A magic link is a link used for user identity authentication, which can save the user from entering a username and password. The steps to establish a magic link may be as follows: the user clicks the "Send Magic Link" button on the client application or website. The server sends a link containing a unique identifier (usually a token or verification code) to the user's registered email address or mobile phone number. The user opens his mailbox or SMS application and clicks on the magic link. After clicking the link, the server authenticates the user and authorizes the user to log in based on the identifier in the link, without entering a password or other information.

[0186] It should be noted that the first electronic device and the second electronic device can establish a link in advance, that is, after the first electronic device and the second electronic device establish a link in advance, the link can be maintained. The first electronic device and the second electronic device can establish a link when the first media data center needs to send a first request to the second media data center of the second electronic device, and the first electronic device and the second electronic device can establish a link when communication is needed, and the link does not need to be maintained all the time.

[0187] In some examples, before the first media data middle station sends the first request to the second media data middle station of the second electronic device, the first media data middle station can generate a signaling corresponding to the first request based on the first request, so that the first media data middle station can send the signaling corresponding to the first request to the second media data middle station of the second electronic device.

[0188] In order to ensure the transmission speed and efficiency of the signaling corresponding to the first request, the data size of the signaling corresponding to the first request may be limited, such as the size of the signaling corresponding to the first request cannot exceed 1 megabyte (MB) (which may also be referred to as the third preset length in the embodiment of the present application). Therefore, when generating the signaling corresponding to the first request, the signaling corresponding to the first request is required to transmit only necessary information, thereby reducing the size of the signaling corresponding to the first request and ensuring the stability and rate of the signaling transmission corresponding to the first request.

[0189] For example, the signaling corresponding to the first request may be designed as the following signaling:

[0190] {

[0191] CommandID: / / Command type

[0192] RequstID: / / Request ID

[0193] Thumbkey: / / key value of the requested thumbnail

[0194] Thumbtype: / / The type of thumbnail requested

[0195] RequestId: / / The ID of the application requesting the thumbnail

[0196] }

[0197] The type of command can be used to indicate the function of the signaling corresponding to the first request, that is, the command type included in the signaling corresponding to the first request can be to request metadata of a multimedia resource. The request flag can be used to uniquely identify a request for metadata of the multimedia resource. Since the signaling corresponding to the first request is to request metadata of a multimedia resource, the key value of the requested thumbnail and the type of the requested thumbnail may not be included in the signaling corresponding to the first request.

[0198] S707: The second media data center receives the first request and obtains metadata of the multimedia resources included in the second electronic device.

[0199] After the second media data central station of the second electronic device receives the first request sent by the first media data central station of the first electronic device, the second media data central station may obtain metadata of the multimedia resources included in the second electronic device.

[0200] In some examples, the second media data center may obtain metadata of multimedia resources included in the second electronic device through a media storage device included in the second electronic device.

[0201] The media storage device included in the second electronic device may be a database of the system of the second electronic device. After the second electronic device acquires the multimedia resources, thumbnails corresponding to the multimedia resources and identifiers of thumbnails corresponding to each multimedia resource may be generated and stored. After the media storage device included in the second electronic device generates and stores thumbnails corresponding to the multimedia resources and identifiers of thumbnails corresponding to each multimedia resource, the second media data center of the second electronic device may acquire and store thumbnails corresponding to the multimedia resources and identifiers of thumbnails corresponding to each multimedia resource from the media storage device included in the second electronic device.

[0202] In some examples, when the first request is used to request metadata of all multimedia resources included in the second electronic device, the metadata of multimedia resources included in the second electronic device obtained by the station in the second media data may be metadata of all multimedia resources included in the second electronic device. When the first request is used to request metadata of some multimedia resources included in the second electronic device, the metadata of multimedia resources included in the second electronic device obtained by the station in the second media data may be metadata of some multimedia resources included in the second electronic device.

[0203] S708. The second media data middle station sends metadata of multimedia resources included in the second electronic device to the first media data middle station.

[0204] After the second media data central station acquires the metadata of the multimedia resources included in the second electronic device, the second media data central station may send the metadata of the multimedia resources included in the second electronic device to the first media data central station.

[0205] In some examples, when the second media data center sends metadata of multimedia resources included in the second electronic device to the first media data center, the second media data center can generate signaling corresponding to the metadata of the multimedia resources included in the second electronic device (which may also be referred to as second response information in the embodiment of the present application), thereby sending the signaling corresponding to the metadata of the multimedia resources included in the second electronic device to the first media data center.

[0206] In order to ensure the transmission speed and efficiency of the signaling corresponding to the metadata of the multimedia resources included in the second electronic device, the data amount of the signaling corresponding to the metadata of the multimedia resources included in the second electronic device can be limited, such as the size of the signaling corresponding to the metadata of the multimedia resources included in the second electronic device cannot exceed 1MB (which may also be referred to as the fourth preset length in the embodiment of the present application). Therefore, when generating the signaling corresponding to the metadata of the multimedia resources included in the second electronic device, the signaling corresponding to the metadata of the multimedia resources included in the second electronic device is required to only transmit necessary information, thereby reducing the size of the signaling corresponding to the metadata of the multimedia resources included in the second electronic device, and ensuring the stability and rate of the signaling transmission corresponding to the metadata of the multimedia resources included in the second electronic device.

[0207] For example, the signaling corresponding to the metadata of the multimedia resource included in the second electronic device may be designed as the following signaling:

[0208] {

[0209] CommandID: / / Command type

[0210] RequstID: / / Request ID

[0211] Thumbkey: / / key value of the requested thumbnail

[0212] Thumbtype: / / The type of thumbnail requested

[0213] RequestId: / / The ID of the application requesting the thumbnail

[0214] }

[0215] The type of command can be used to indicate the function of the signaling corresponding to the metadata of the multimedia resources included in the second electronic device, that is, the command type included in the signaling corresponding to the metadata of the multimedia resources included in the second electronic device can be to return the metadata of the multimedia resources. The request flag can be used to single-identify the return of the metadata of the multimedia resource. Since the signaling corresponding to the metadata of the multimedia resources included in the second electronic device is to return the metadata of the multimedia resources, the signaling corresponding to the metadata of the multimedia resources included in the second electronic device may not include the key value of the requested thumbnail and the type of the requested thumbnail.

[0216] S709: The first media data center receives metadata of multimedia resources included in the second electronic device.

[0217] S710. The first media data center sends metadata of multimedia resources included in the second electronic device to the first application.

[0218] After the first media data central station receives the metadata of the multimedia resources included in the second electronic device sent by the second media data central station, the first media data central station may send the metadata of the multimedia resources included in the second electronic device to the first application.

[0219] S711. The first application receives and displays metadata of multimedia resources included in the second electronic device.

[0220] After the first application receives the metadata of the multimedia resource included in the second electronic device, the first application may display the metadata of the multimedia resource included in the second electronic device so that the user may select the metadata of the corresponding multimedia resource.

[0221] For example, when the first request is used to request metadata corresponding to multimedia resources included in the most recently shot folder in the multimedia resources of the second electronic device, the second media data middle station of the second electronic device can return the metadata corresponding to the multimedia resources included in the most recently shot folder in the multimedia resources of the second electronic device to the first media data middle station of the first electronic device, so that the first media data middle station returns the metadata corresponding to the multimedia resources included in the most recently shot folder in the multimedia resources of the second electronic device to the first application.

[0222] When the first application receives metadata corresponding to the multimedia resource included in the recently shot folder in the multimedia resource of the second electronic device, the first application can display the metadata corresponding to the multimedia resource included in the recently shot folder in the multimedia resource of the second electronic device, that is, the first electronic device can display the metadata corresponding to the multimedia resource included in the recently shot folder in the multimedia resource of the second electronic device in the first interface. Thus, the user can select the metadata of the corresponding multimedia resource.

[0223] For example, continue to combine Figure 8As shown in (a), after mobile phone 01 receives a trigger operation on the viewing control 02 by the user, the album application of mobile phone 01 can send a first request for metadata of the multimedia resources of mobile phone 02 to the first media data center of mobile phone 01. After the first media data center receives the first request, it can send the first request to the second media data center of the second electronic device. After the second media data center receives the first request, it can obtain the metadata of the multimedia resources included in mobile phone 02, such as the metadata corresponding to the most recently taken album included in mobile phone 02. The second media data center sends the metadata of the multimedia resources of mobile phone 02 to the first media data center. After the first media data center receives the metadata of the multimedia resources included in the second electronic device, the first media data center can send the metadata of the multimedia resources included in mobile phone 02 (that is, the metadata corresponding to the most recently taken album included in mobile phone 02) to the album application of mobile phone 01. After the album application of mobile phone 01 receives the metadata corresponding to the most recently taken album included in mobile phone 02, as Figure 8 As shown in (b) in FIG. 1 , the mobile phone 01 can display metadata corresponding to the most recently taken photo album included in the mobile phone 02 , so that the user can select metadata corresponding to the most recently taken photo album included in the mobile phone 02 .

[0224] S712: The first application receives a user's selection operation on metadata of a multimedia resource included in the second electronic device.

[0225] S713: In response to the selection operation, the first application sends a second request for a thumbnail corresponding to the multimedia resource of the second electronic device to the first media data center.

[0226] After the first application receives the user's selection operation on the metadata of the multimedia resource included in the second electronic device, in response, the first application can send a second request for the thumbnail corresponding to the multimedia resource of the second electronic device to the first media data center. That is, the second request can be used to request the thumbnail of the multimedia resource included in the second electronic device, and the second request in the embodiment of the present application can also be referred to as the first request information.

[0227] In some examples, the second request may be used to request thumbnails corresponding to all multimedia resources included in the second electronic device. The second request may also be used to request thumbnails corresponding to some multimedia resources included in the second electronic device.

[0228] In some examples, the second request may include an identifier of a thumbnail corresponding to the requested multimedia resource, such as a key value of the thumbnail corresponding to the requested multimedia resource.

[0229] For example, continue to combine Figure 8As shown in (b), after mobile phone 01 displays metadata corresponding to the most recently taken photo album included in mobile phone 02, the user can select metadata corresponding to the most recently taken photo album included in mobile phone 02. After the photo album application of mobile phone 01 receives the user's selection operation on metadata corresponding to the most recently taken photo album included in mobile phone 02, in response, the photo album application of mobile phone 01 can send a second request for thumbnails corresponding to multimedia resources included in the most recently taken photo album included in mobile phone 02 to the first media data middle station of mobile phone 01.

[0230] It should be noted that after the first application in the first electronic device receives the metadata of the multimedia resources included in the second electronic device, the first application can directly send a second request for the thumbnail corresponding to the multimedia resources of the second electronic device to the first media data center of the first electronic device. In other words, the first application may not display the metadata of the multimedia resources included in the second electronic device, nor may it receive the user's selection operation on the metadata of the multimedia resources included in the second electronic device, but directly send a second request for the thumbnail corresponding to the multimedia resources of the second electronic device to the first media data center of the first electronic device.

[0231] In the embodiment of the present application, the triggering conditions for the first application to send a second request for a thumbnail corresponding to a multimedia resource of the second electronic device to the first media data center of the first electronic device are not limited. In the embodiment of the present application, an example is used in which the first application displays the metadata of the multimedia resources included in the second electronic device after receiving the metadata of the multimedia resources included in the second electronic device, and sends a second request for a thumbnail corresponding to the multimedia resource of the second electronic device to the first media data center of the first electronic device after receiving the user's selection operation on the metadata of the multimedia resources included in the second electronic device.

[0232] S714. The first media data middle station receives the second request.

[0233] S715. The first media data middle station sends a second request to the second media data middle station of the second electronic device.

[0234] After the first media data middle station receives the second request, the first media data middle station may send the second request to the second media data middle station of the second electronic device.

[0235] In some examples, when the first media data middle station sends a second request to the second media data middle station of the second electronic device, the first media data middle station can generate a signaling corresponding to the second request based on the second request, so that the first media data middle station can send the signaling corresponding to the second request to the media data middle station of the second electronic device.

[0236] In order to ensure the transmission speed and efficiency of the signaling corresponding to the second request, the data volume of the signaling corresponding to the second request may be limited, such as the size of the signaling corresponding to the second request cannot exceed 1MB (which may also be referred to as the first preset length in the embodiment of the present application). Therefore, when generating the signaling corresponding to the second request, the signaling corresponding to the second request is required to transmit only necessary information, thereby reducing the size of the signaling corresponding to the second request and ensuring the stability and rate of signaling transmission of the signaling corresponding to the second request.

[0237] For example, the signaling corresponding to the second request may be designed as the following signaling:

[0238] {

[0239] CommandID: / / Command type

[0240] RequstID: / / Request ID

[0241] Thumbkey: / / key value of the requested thumbnail

[0242] Thumbtype: / / The type of thumbnail requested

[0243] RequestId: / / The ID of the application requesting the thumbnail

[0244] }

[0245] The type of command can be used to indicate the function of the signaling corresponding to the second request, that is, the command type included in the signaling corresponding to the second request can be a request for a thumbnail corresponding to the multimedia resource. The request flag can be used to single-identify the request for the thumbnail corresponding to the multimedia resource. The key value of the requested thumbnail, that is, the identifier of the requested thumbnail, can be used to determine the corresponding thumbnail through the key value of the thumbnail. The type of thumbnail requested can be used to indicate the size of the thumbnail. For example, when displaying multiple pictures in a grid in an application, such as a row of 4 or 5 pictures, they can be displayed through square thumbnails. The type of thumbnail requested can be a square thumbnail. The identifier of the application requesting the thumbnail, that is, the identifier of the first application, such as the user identification code (UID) of the first application.

[0246] S716: The second media data center receives the second request and obtains a thumbnail corresponding to the multimedia resource included in the second electronic device.

[0247] After the second media data center station receives the second request sent by the first media data center station of the first electronic device, the second media data center station may obtain thumbnails corresponding to the multimedia resources included in the second electronic device.

[0248] In some examples, after the second media data center receives the second request sent by the first media data center of the first electronic device, the second media data center can obtain the thumbnail corresponding to the multimedia resource included in the corresponding second electronic device based on the identifier of the thumbnail corresponding to the multimedia resource requested in the second request.

[0249] In some examples, the second media data center can obtain thumbnails corresponding to multimedia resources included in the second electronic device through a media storage device included in the second electronic device.

[0250] In some examples, when the second request is used to request thumbnails corresponding to all multimedia resources included in the second electronic device, the thumbnails corresponding to the multimedia resources included in the second electronic device obtained by the second media data station may be thumbnails corresponding to all multimedia resources included in the second electronic device. When the second request is used to request thumbnails corresponding to some multimedia resources included in the second electronic device, the thumbnails corresponding to the multimedia resources included in the second electronic device obtained by the second media data station may be thumbnails corresponding to some multimedia resources included in the second electronic device.

[0251] S717: The second media data middle station sends a thumbnail corresponding to the multimedia resource included in the second electronic device to the first media data middle station.

[0252] After the second media data center station acquires the thumbnail corresponding to the multimedia resource included in the second electronic device, the second media data center station may send the thumbnail corresponding to the multimedia resource included in the second electronic device to the first media data center station.

[0253] In some examples, when the second media data center sends a thumbnail corresponding to a multimedia resource included in the second electronic device to the first media data center, the second media data center can generate a signal corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device (which may also be referred to as second response information in the embodiment of the present application), thereby sending the signal corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device to the first media data center.

[0254] In order to ensure the transmission speed and efficiency of the signaling corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device, the data amount of the signaling corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device can be limited, such as the size of the signaling corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device cannot exceed 1MB (which may also be referred to as the second preset length in the embodiment of the present application). Therefore, when the signaling corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device, the signaling corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device is required to transmit only necessary information, thereby reducing the size of the signaling corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device, and ensuring the stability and rate of signaling transmission corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device.

[0255] For example, the signaling corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device can be designed as the following signaling:

[0256] {

[0257] CommandID: / / Command type

[0258] RequstID: / / Request ID

[0259] Thumbkey: / / key value of the requested thumbnail

[0260] Thumbtype: / / The type of thumbnail requested

[0261] RequestId: / / The ID of the application requesting the thumbnail

[0262] }

[0263] The type of command can be used to indicate the function of the signaling corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device, that is, the command type included in the signaling corresponding to the thumbnail corresponding to the multimedia resource included in the second electronic device can be to return the thumbnail corresponding to the multimedia resource. The request flag can be used to single-identify the return of the thumbnail corresponding to the multimedia resource. The type of thumbnail requested can be used to indicate the size of the thumbnail. The identifier of the application requesting the thumbnail, that is, the identifier of the first application.

[0264] S718. The first media data center receives thumbnails corresponding to multimedia resources included in the second electronic device.

[0265] S719: The first media data center sends a thumbnail corresponding to the multimedia resource included in the second electronic device to the first application.

[0266] After the first media data platform receives the thumbnail corresponding to the multimedia resource included in the second electronic device, the first media data platform may send the thumbnail corresponding to the multimedia resource included in the second electronic device to the first application.

[0267] S720: The first application receives and displays thumbnails corresponding to multimedia resources included in the second electronic device.

[0268] After the first application receives the thumbnail corresponding to the multimedia resource included in the second electronic device, the first application can display the thumbnail corresponding to the multimedia resource included in the second electronic device, so that the user can select the thumbnail corresponding to the corresponding multimedia resource.

[0269] For example, continue to combine Figure 8 As shown in (b), after mobile phone 01 displays the metadata of the multimedia resources included in mobile phone 02, such as the metadata corresponding to the recently taken photo album included in mobile phone 02. If mobile phone 01 receives a selection operation of the user on the metadata corresponding to the recently taken photo album included in mobile phone 02, such as a click operation, the photo album application of mobile phone 01 can send a second request for the thumbnail corresponding to the recently taken photo album included in mobile phone 02 to the first media data center of mobile phone 01. After the first media data center receives the second request, the first media data center can send a second request to the second media data center of mobile phone 02. After the second media data center receives the second request, it can obtain the thumbnail corresponding to the recently taken photo album included in mobile phone 02. Afterwards, the second media data center can send the meta thumbnail corresponding to the recently taken photo album included in mobile phone 02 to the first media data center. After the first media data center receives the thumbnail corresponding to the recently taken photo album included in mobile phone 02, it can send the thumbnail corresponding to the recently taken photo album included in mobile phone 02 to the photo album application of mobile phone 01. Afterwards, as Figure 8 As shown in (c) in FIG. 1 , the photo album application of mobile phone 01 can display thumbnails corresponding to the most recently taken photo albums included in mobile phone 02 .

[0270] It should be noted that after the first application displays the thumbnails corresponding to the multimedia resources included in the second electronic device, if the first application receives a user's selection operation on the thumbnails corresponding to the multimedia resources, that is, when the user needs to view the source files corresponding to the multimedia resources, the first electronic device can send a source file request to the second electronic device, so that the second electronic device can send the source files corresponding to the multimedia resources to the first electronic device.

[0271] In the solution of the present application, when a user needs to view and access multimedia resources included in a second electronic device through a first electronic device, the second electronic device can send thumbnails corresponding to the multimedia resources included therein to the first electronic device. When the first electronic device receives the thumbnails corresponding to the multimedia resources sent by the second electronic device, the first electronic device can display the thumbnails corresponding to the multimedia resources, so that the user can view and access the thumbnails corresponding to the multimedia resources included in the second electronic device through the first electronic device.

[0272] When a user needs to view and access multimedia resources included in a second electronic device through a first electronic device, the second electronic device can send thumbnails corresponding to the multimedia resources it includes to the first electronic device, that is, there is no need to access and view multimedia resources across devices through the cloud, and thus the user does not need to purchase cloud space.

[0273] Furthermore, since the second electronic device sends the thumbnail corresponding to the multimedia resource to the first electronic device without sending the source file corresponding to the multimedia resource, the amount of data corresponding to the thumbnail is smaller than the amount of data corresponding to the source file. Therefore, when the second electronic device sends the thumbnail corresponding to the multimedia resource to the first electronic device, the time for sending the thumbnail corresponding to the multimedia resource will be shorter than that for sending the source file corresponding to the multimedia resource, which can improve the access and viewing time of multimedia resources across devices.

[0274] It should be noted that after the first electronic device obtains the thumbnail corresponding to the multimedia resource of the second device, the first electronic device can store the thumbnail, so that when an application on the first electronic device (which can be the first application mentioned above or other applications on the electronic device) requests the thumbnail later, the first electronic device can directly obtain the thumbnail without requesting the thumbnail from the second electronic device again.

[0275] That is to say, the media data middle platform in the first electronic device will correspond to multiple upper-layer applications (such as the first application mentioned above or other applications on the first electronic device). Multiple applications can initiate thumbnail requests for the same multimedia resource. If this request command is sent to other devices (i.e., the second electronic device) for processing multiple times, it will cause waste of resources and loss of time.

[0276] Therefore, after a thumbnail corresponding to a multimedia resource is requested by an application, after the first electronic device receives the thumbnail corresponding to the multimedia resource, the first electronic device will cache it locally, such as storing the thumbnail through a database, so that the next time an application (the first application or other application) requests the thumbnail corresponding to the same multimedia resource, the first electronic device can directly return the thumbnail without requesting the thumbnail from the second electronic device again, thereby speeding up the processing speed of the entire request.

[0277] Below Figure 6 Based on the software structure diagram of the electronic device shown, combined with Fig. 9 Another multimedia resource display method provided by an embodiment of the present application is schematically described. Fig. 9 As shown, the multimedia resource display method may include the following S901-S931.

[0278] S901. A second application of a first electronic device sends a third request for a first thumbnail to a first media data middle platform interface of the first electronic device.

[0279] The second application may be an application that comes with the first electronic device, such as an album application included in the first electronic device. The second application may also be an application of a third party in the electronic device, such as a third-party image editing application, a third-party communication application, etc. The specific type of the second application is not limited in the embodiments of the present application.

[0280] The second application program may be the same as the first application program in the above embodiment, or may be different from the first application program in the above embodiment, which is not limited in the embodiments of the present application.

[0281] The first thumbnail may be a thumbnail corresponding to a multimedia resource included in the second electronic device, or the first thumbnail may be a thumbnail corresponding to a multimedia resource included in the first electronic device. This is not limited in the embodiments of the present application.

[0282] The first media data middle station interface may be an interface corresponding to the first media data middle station in the first electronic device. That is to say, the second application in the first electronic device can call the first media data middle station in the first electronic device through the first media data middle station interface, that is, the second application in the first electronic device can send a third request for the first thumbnail to the first media data middle station interface, so that the first media data middle station interface can send the third request to the first media data middle station in the first electronic device.

[0283] In some examples, the second application of the first electronic device sends a third request for the first thumbnail to the first media data middle station interface of the first electronic device. After the first electronic device receives the metadata of the multimedia resources included in the second electronic device sent by the second electronic device, when a user can select metadata of a certain multimedia resource among the metadata of the multimedia resources included in the second electronic device through the second application in the first electronic device, the second application can send the third request for the first thumbnail to the first media data middle station interface of the first electronic device.

[0284] The metadata of a multimedia resource may include an identifier of a thumbnail corresponding to the multimedia resource. The identifier of the thumbnail corresponding to the multimedia resource may be used to indicate the thumbnail corresponding to the multimedia resource, that is, the thumbnail corresponding to the multimedia resource may be determined based on the identifier of the thumbnail corresponding to the multimedia resource.

[0285] That is to say, before the second application of the first electronic device sends the third request for the first thumbnail to the first media data middle platform interface of the first electronic device, the first electronic device has already received the metadata of the multimedia resources included in the second electronic device sent by the second electronic device, that is, before the above S901, S701-S711 in the above embodiment have been executed between the first electronic device and the second electronic device.

[0286] In other examples, the second application of the first electronic device sends a third request for the first thumbnail to the first media data middle station interface of the first electronic device. Alternatively, after the first electronic device receives the thumbnail corresponding to the multimedia resource included in the second electronic device sent by the second electronic device, when the user can select a thumbnail of the thumbnails corresponding to the multimedia resource included in the second electronic device (or the first electronic device) through the second application, the second application can send a third request for the first thumbnail to the first media data middle station interface of the first electronic device.

[0287] Before the first application of the first electronic device receives the thumbnail corresponding to the multimedia resource included in the second electronic device sent by the second electronic device, the first application of the first electronic device has received the metadata of the multimedia resource included in the second electronic device sent by the second electronic device.

[0288] After the first electronic device receives the thumbnail corresponding to the multimedia resource included in the second electronic device sent by the second electronic device, the first electronic device can store the received thumbnail corresponding to the multimedia resource included in the second electronic device into the first thumbnail database in the first electronic device.

[0289] That is to say, before the second application of the first electronic device sends the third request for the first thumbnail to the first media data middle platform interface of the first electronic device, the first electronic device has already received the thumbnail corresponding to the multimedia resource included in the second electronic device sent by the second electronic device, that is, before the above S901, S701-S720 in the above embodiment have been executed between the first electronic device and the second electronic device.

[0290] In some examples, the third request may include an identifier of the first thumbnail. The identifier of the first thumbnail may be used to determine the first thumbnail. For example, the identifier of the first thumbnail may be a key value corresponding to the first thumbnail.

[0291] S902: The first media data middle station interface receives a third request.

[0292] S903: The first media data middle platform interface sends a third request to the first thumbnail management module of the first electronic device.

[0293] After the first media data platform interface receives the third request, the first media data platform interface may send the third request to the first thumbnail management module of the first electronic device. The first thumbnail management module may be a module included in the first media data platform in the first electronic device, and is used to manage thumbnails in the first electronic device.

[0294] S904: The first thumbnail management module receives the third request.

[0295] S905. The first thumbnail management module sends a third request to the first thumbnail database of the first electronic device.

[0296] After the first thumbnail management module in the first electronic device receives the third request, the first thumbnail management module may send the third request to the first thumbnail database of the first electronic device, so that the first thumbnail database may determine whether there is a first thumbnail corresponding to the third request.

[0297] S906: The first thumbnail database determines whether the first thumbnail exists according to the third request.

[0298] After the first thumbnail database of the first electronic device receives the third request, the first thumbnail database may determine whether the first thumbnail exists according to the third request.

[0299] If the first thumbnail database determines that the first thumbnail exists according to the third request, the following S907-S911 may be continued to be executed. If the first thumbnail database determines that the first thumbnail does not exist according to the third request, the following S912-S931 may be continued to be executed.

[0300] The first thumbnail database may be a module included in the first media data center in the first electronic device, and is used to store thumbnails in the first electronic device and identifiers corresponding to the thumbnails. The identifier corresponding to the thumbnail may be a key value corresponding to the thumbnail.

[0301] It should be noted that the thumbnails stored in the first thumbnail database may include thumbnails corresponding to multimedia resources in the first electronic device. That is, when the first electronic device includes multimedia resources, the first electronic device may generate a thumbnail corresponding to the multimedia resource and an identifier corresponding to the thumbnail, so that the thumbnail corresponding to the multimedia resource and the identifier corresponding to the thumbnail may be stored in the first thumbnail database.

[0302] The thumbnails stored in the first thumbnail database may also include thumbnails corresponding to multimedia resources in the second electronic device received by the first electronic device. That is, when the first electronic device receives metadata of multimedia resources in the second electronic device, and the metadata includes the identifier of the thumbnail of the multimedia resource, the first electronic device may store the identifier of the thumbnail corresponding to the multimedia resource in the second electronic device in the first thumbnail database. When the first electronic device receives a thumbnail corresponding to a multimedia resource in the second electronic device, the first electronic device may store the thumbnail corresponding to the multimedia resource in the second electronic device in the first thumbnail database.

[0303] In some examples, when the third request includes an identifier of the first thumbnail, the first thumbnail database determines whether the first thumbnail exists based on the third request, which may include: the first thumbnail database determines whether the identifier of the first thumbnail exists in the identifiers corresponding to the thumbnails stored in the first thumbnail database based on the identifier of the first thumbnail. When the identifier of the first thumbnail exists in the identifiers corresponding to the thumbnails stored in the first thumbnail database, the first thumbnail database can determine that the first thumbnail exists. When the identifier of the first thumbnail does not exist in the identifiers corresponding to the thumbnails stored in the first thumbnail database, the first thumbnail database can determine that the first thumbnail does not exist.

[0304] S907: The first thumbnail database sends the first thumbnail to the first thumbnail management module.

[0305] When the first thumbnail database determines that the first thumbnail exists according to the third request, the first thumbnail database may send the first thumbnail to the first thumbnail management module.

[0306] S908. The first thumbnail management module receives the first thumbnail.

[0307] S909. The first thumbnail management module sends the first thumbnail to the first media data middle station interface.

[0308] When the first thumbnail management module receives the first thumbnail sent by the first thumbnail database, the first thumbnail management module may send the first thumbnail to the first media data middle station interface.

[0309] S910. The first media data middle platform interface sends a first thumbnail to the second application.

[0310] S911. The second application receives and displays the first thumbnail.

[0311] After the second application of the first electronic device receives the first thumbnail sent by the first media data platform interface of the first electronic device, the second application may display the first thumbnail.

[0312] It should be noted that after the second application displays the first thumbnail, if the second application receives a selection operation from the user on the thumbnail corresponding to the first multimedia resource, that is, when the user needs to view the source file corresponding to the multimedia resource, the first electronic device can display the source file of the multimedia resource corresponding to the first thumbnail, that is, the original picture or video corresponding to the first thumbnail.

[0313] In some examples, when the first thumbnail is a thumbnail corresponding to a multimedia resource in the first electronic device, the first electronic device can directly display the source file of the multimedia resource corresponding to the first thumbnail.

[0314] In other examples, when the first thumbnail is a thumbnail corresponding to a multimedia resource in the second electronic device, the first electronic device may send a source file request of the multimedia resource corresponding to the first thumbnail to the second electronic device, so that the second electronic device may send the source file of the multimedia resource corresponding to the first thumbnail to the first electronic device, so that the first electronic device may display the source file of the multimedia resource corresponding to the first thumbnail. The specific process may refer to S713-S720 in the above embodiment, which will not be described in detail in the embodiment of the present application.

[0315] S912. The first thumbnail database sends a first notification to the first thumbnail management module.

[0316] When the first thumbnail database determines that the first thumbnail does not exist according to the third request, the first thumbnail database may send a first notification to the first thumbnail management module. The first notification may be used to indicate that the first thumbnail does not exist in the first thumbnail database.

[0317] S913. The first thumbnail management module receives the first notification and generates a fourth request.

[0318] After the first thumbnail management module receives the first notification, the first thumbnail management module may generate a fourth request. The fourth request may be used to request the multimedia resource corresponding to the first thumbnail, that is, the source file of the multimedia resource corresponding to the first thumbnail.

[0319] In some examples, the fourth request may include an identifier of the first thumbnail, such as a key value corresponding to the first thumbnail. The fourth request may also include an identifier of the second electronic device, so that the first device manager module may establish a link with the second device manager module of the second electronic device according to the identifier of the second electronic device.

[0320] S914. The first thumbnail management module sends a fourth request to the first device manager module.

[0321] After the first thumbnail management module generates the fourth request, the first thumbnail management module may send the fourth request to the first device manager module of the first electronic device. The first device manager module may be a module included in the first media data center in the first electronic device, and is used to establish a link with the second device manager module in the second electronic device, so as to be able to send the fourth request to the second electronic device.

[0322] S915. The first device manager module sends a fourth request to the first trust link module of the first electronic device.

[0323] After the first device manager module receives the fourth request sent by the first thumbnail management module, the first device manager module may send the fourth request to the first trust link module of the first electronic device, so that the first trust link module may send the fourth request to the second trust link module of the second electronic device.

[0324] The first trust link module of the first electronic device may be a module in the data transmission module included in the converged interconnection platform in the first electronic device.

[0325] S916. The first trust linking module sends a fourth request to the second trust linking module of the second electronic device.

[0326] After the first trust link module receives the fourth request sent by the first device manager module, the first trust link module may send the fourth request to the second trust link module of the second electronic device. The second trust link module of the second electronic device may be a module in the data transmission module included in the converged interconnection platform of the second electronic device.

[0327] In some examples, before the first trusted link module of the first electronic device sends the fourth request to the second trusted link module of the second electronic device, the first electronic device may establish a link with the second electronic device, such as establishing a near field communication link.

[0328] In some examples, the first electronic device establishes a link with the second electronic device, and a link may be established between a first device manager module of the first electronic device and a second device manager module of the second electronic device.

[0329] It should be noted that the first electronic device and the second electronic device can establish a link in advance, that is, after the first electronic device and the second electronic device establish a link in advance, the link can be maintained. The first electronic device and the second electronic device can establish a link when the first trust link module sends a fourth request to the second trust link module of the second electronic device, and the first electronic device and the second electronic device establish a link, that is, the first electronic device and the second electronic device can establish a link when communication is needed, and do not need to maintain the link.

[0330] In some examples, before the first trust link module sends the fourth request to the second trust link module of the second electronic device, the first trust link module can generate a signaling corresponding to the fourth request according to the fourth request, so that the first trust link module can send the signaling corresponding to the fourth request to the second trust link module of the second electronic device. The specific content of the signaling corresponding to the fourth request can refer to the specific content of the second request in the above embodiment S715, which is not limited in the embodiments of the present application.

[0331] S917: The second trust link module sends a fourth request to the second device manager module of the second electronic device.

[0332] After the second trust link module of the second electronic device receives the fourth request sent by the first trust link module of the first electronic device, the second trust link module may send the fourth request to the second device manager module of the second electronic device. The second device manager module may be a module included in the second media data center in the second electronic device, and is used to establish a link with the first device manager module in the first electronic device, so as to be able to receive the fourth request sent by the first electronic device.

[0333] S918. The second device manager module sends a fourth request to the second thumbnail management module of the second electronic device.

[0334] After the second device manager module of the second electronic device receives the fourth request sent by the second trust link module of the second electronic device, the second device manager module may send the fourth request to the second thumbnail management module of the second electronic device. The second thumbnail management module may be a module included in the second media data center in the second electronic device, and is used to manage thumbnails in the second electronic device.

[0335] S919. The second thumbnail management module sends a fourth request to the second thumbnail database of the second electronic device.

[0336] After the second thumbnail management module of the second electronic device receives the fourth request sent by the second device manager module, the second thumbnail management module can send the fourth request to the second thumbnail database of the second electronic device, so that the second thumbnail database can determine whether the first thumbnail exists in the second electronic device.

[0337] The second thumbnail database may be a module included in the second media data center in the second electronic device, and is used to store thumbnails in the second electronic device and identifiers corresponding to the thumbnails. The identifier corresponding to the thumbnail may be a key value corresponding to the thumbnail.

[0338] It should be noted that the thumbnails stored in the second thumbnail database may include thumbnails corresponding to multimedia resources in the second electronic device. That is, when the second electronic device includes multimedia resources, the second electronic device may generate a thumbnail corresponding to the multimedia resource and an identifier corresponding to the thumbnail, so that the thumbnail corresponding to the multimedia resource and the identifier corresponding to the thumbnail may be stored in the first thumbnail database.

[0339] The thumbnails stored in the second thumbnail database may also include thumbnails corresponding to multimedia resources in other electronic devices received by the second electronic device. That is, when the second electronic device receives metadata of multimedia resources in other electronic devices, and the metadata includes the identifier of the thumbnail of the multimedia resource, the second electronic device may store the identifier of the thumbnail corresponding to the multimedia resource in the other electronic device in the second thumbnail database. When the second electronic device receives thumbnails corresponding to multimedia resources in other electronic devices, the second electronic device may store the thumbnail corresponding to the multimedia resource in the other electronic device in the second thumbnail database.

[0340] S920: The second thumbnail database receives the fourth request and determines the first thumbnail.

[0341] After the second thumbnail database receives the fourth request sent by the second thumbnail management module, the second thumbnail database may determine the first thumbnail from the stored thumbnails according to the fourth request. After determining the first thumbnail, the second thumbnail database may send the first thumbnail to the second thumbnail management module.

[0342] In some examples, when the fourth request includes the identifier of the first thumbnail, the second thumbnail database determines whether the first thumbnail exists according to the third request, which may include: the second thumbnail database determines whether the identifier of the first thumbnail exists in the identifiers corresponding to the thumbnails stored in the second thumbnail database according to the identifier of the first thumbnail. When the identifier of the second thumbnail exists in the identifiers corresponding to the thumbnails stored in the second thumbnail database, the second thumbnail database can determine that the first thumbnail exists. When the identifier of the second thumbnail does not exist in the identifiers corresponding to the thumbnails stored in the second thumbnail database, the first thumbnail database can determine that the first thumbnail does not exist.

[0343] It should be noted that when the first thumbnail exists in the second thumbnail database, the second thumbnail database can send the first thumbnail to the second thumbnail management module. When the first thumbnail does not exist in the second thumbnail database, the second thumbnail database can obtain and store the first thumbnail through the media storage device in the second electronic device.

[0344] S921. The second thumbnail database sends the first thumbnail to the second thumbnail management module.

[0345] After the second thumbnail database determines the first thumbnail, the second thumbnail database may send the first thumbnail to the second thumbnail management module.

[0346] S922. The second thumbnail management module sends the first thumbnail to the second device manager module.

[0347] After the second thumbnail database receives the first thumbnail, the second thumbnail management module may send the first thumbnail to the second device manager module.

[0348] S923: The second device manager module sends the first thumbnail to the second trust link module.

[0349] After the second device manager module receives the first thumbnail, the second device manager module may send the first thumbnail to the second trusted link module.

[0350] S924: The second trusted link module sends the first thumbnail to the first trusted link module.

[0351] After the second trusted link module receives the first thumbnail, the second trusted link module may send the first thumbnail to the first trusted link module of the first electronic device.

[0352] In some examples, before the second trust link module sends the first thumbnail to the first trust link module of the first electronic device, the second trust link module can generate a corresponding signaling according to the first thumbnail, so that the second trust link module can send the corresponding signaling to the first trust link module of the first electronic device. The specific content of the corresponding signaling can refer to the specific content of the corresponding signaling in the above embodiment S717, which is not limited in the embodiments of the present application.

[0353] S925. The first trust link module sends the first thumbnail to the first device manager module.

[0354] After the first trusted link module receives the first thumbnail, the first trusted link module may send the first thumbnail to a first device manager module of the first electronic device.

[0355] S926. The first device manager module sends the first thumbnail to the first thumbnail management module.

[0356] After the first device manager module receives the first thumbnail, the first device manager module may send the first thumbnail to a first thumbnail management module of the first electronic device.

[0357] S927. The first thumbnail management module sends the first thumbnail to the first thumbnail database.

[0358] After the first thumbnail management module receives the first thumbnail, the first thumbnail management module may send the first thumbnail to the first thumbnail database of the first electronic device. After the first thumbnail database receives the first thumbnail, the first thumbnail database may store the first thumbnail. When the first thumbnail database stores the first thumbnail, it may also store an identifier corresponding to the first thumbnail.

[0359] S928. The first thumbnail management module sends the first thumbnail to the first media data middle station interface.

[0360] After the first thumbnail management module receives the first thumbnail, the first thumbnail management module may send the first thumbnail to the first media data middle platform interface of the first electronic device.

[0361] It should be noted that after the first thumbnail management module receives the first thumbnail, the first thumbnail management module may first send the first thumbnail to the first thumbnail database, and then send the first thumbnail to the first media data middle station interface. The first thumbnail management module may also first send the first thumbnail to the first media data middle station interface, and then send the first thumbnail to the first thumbnail database. The first thumbnail management module may also send the first thumbnail to the first thumbnail database and the first media data middle station interface at the same time. In the embodiment of the present application, the order of the first thumbnail management module sending the first thumbnail to the first thumbnail database and the first thumbnail management module sending the first thumbnail to the first media data middle station interface is not limited. In the embodiment of the present application, after the first thumbnail management module receives the first thumbnail, the first thumbnail management module first sends the first thumbnail to the first thumbnail database, and then sends the first thumbnail to the first media data middle station interface as an example for schematic explanation.

[0362] S929. The first media data middle platform interface sends the first thumbnail to the second application.

[0363] After the first media data platform interface receives the first thumbnail, the first media data platform interface may send the first thumbnail to the second application of the first electronic device.

[0364] S930: The second application receives and displays the first thumbnail.

[0365] After the second application receives the first thumbnail, the second application may display the first thumbnail.

[0366] It should be noted that after the second application displays the first thumbnail, if the second application receives a selection operation from the user on the thumbnail corresponding to the first multimedia resource, that is, when the user needs to view the source file corresponding to the multimedia resource, the first electronic device can display the source file of the multimedia resource corresponding to the first thumbnail, that is, the original picture or video corresponding to the first thumbnail.

[0367] When the first thumbnail is a thumbnail corresponding to a multimedia resource in the second electronic device, the first electronic device can send a source file request of the multimedia resource corresponding to the first thumbnail to the second electronic device, so that the second electronic device can send the source file of the multimedia resource corresponding to the first thumbnail to the first electronic device, so that the first electronic device can display the source file of the multimedia resource corresponding to the first thumbnail. The specific process can refer to S713-S720 in the above embodiment, which will not be repeated in the embodiment of the present application.

[0368] According to the solution of the present application, after an electronic device receives a thumbnail corresponding to a multimedia resource, the electronic device can cache it locally, so that the next time the application of the electronic device requests a thumbnail corresponding to the same multimedia resource, the electronic device can directly return the thumbnail without requesting the thumbnail from other electronic devices again, thereby speeding up the processing speed of the entire request.

[0369] For ease of understanding, the following Fig.10 The multimedia resource display method provided in the embodiment of the present application is described. Fig.10 As shown, the multimedia resource display method may include the following S1001-S1005.

[0370] S1001. A first electronic device receives an opening operation of a first application by a user.

[0371] The first electronic device may include a first application, and the first application may be a photo album application, a picture editing application, a third-party communication application, etc. included in the first electronic device. This is not limited in the embodiments of the present application.

[0372] When the user needs to use the first application, the user can open the first application on the first electronic device, that is, the first electronic device can receive the user's opening operation on the first application.

[0373] Specifically, the specific implementation method of the first electronic device receiving the user's opening operation of the first application in the embodiment of the present application can refer to the specific implementation method in the above S701, which will not be repeated in the embodiment of the present application.

[0374] S1002. In response to the opening operation, the first electronic device displays a first interface, where the first interface is an interface corresponding to the first application.

[0375] When the first electronic device receives an opening operation of the first application by the user, the electronic device may display a first interface in response, where the first interface is an interface corresponding to the first application.

[0376] In some examples, when the first electronic device displays the first interface, the first interface may include a viewing control, where the viewing control is used to request to view a multimedia resource in the second electronic device.

[0377] Specifically, in the embodiment of the present application, the first electronic device displays the first interface, and the first interface is a specific implementation of the interface corresponding to the first application. You can refer to the specific implementation in S702 above, and this will not be repeated in the embodiment of the present application.

[0378] S1003: The first electronic device sends first request information to the second electronic device, where the first request information is used to request a thumbnail corresponding to a first multimedia resource in the second electronic device.

[0379] After the first electronic device displays the first interface, the first electronic device may send first request information to the second electronic device. The first request information may be used to request a thumbnail corresponding to the first multimedia resource in the second electronic device.

[0380] The second electronic device may be an electronic device capable of establishing near field communication with the first electronic device. For example, the second electronic device may be an electronic device capable of establishing a Bluetooth link or a wireless local area network (WLAN) link with the first electronic device.

[0381] In some examples, the first multimedia resource may be one or more. That is, the first request information may be used to request thumbnails corresponding to multiple multimedia resources in the second electronic device, or the first request information may be used to request thumbnails corresponding to a certain multimedia resource in the second electronic device.

[0382] In some examples, the first request information may include an identifier of a thumbnail corresponding to the first multimedia resource. The identifier of the thumbnail corresponding to the first multimedia resource may be used to instruct the second electronic device to determine the thumbnail corresponding to the first multimedia resource.

[0383] In some examples, when the first request information includes the identifier of the thumbnail corresponding to the first multimedia resource, the first electronic device may also send a second request information to the second electronic device before sending the first request information to the second electronic device. The second request information may be used to request metadata of the multimedia resource in the second electronic device. The metadata of the multimedia resource may include the identifier of the thumbnail corresponding to the first multimedia resource. Afterwards, the first electronic device may receive the second response information sent by the second electronic device. The second response information may include the metadata of the multimedia resource in the second electronic device. The metadata of the multimedia resource in the second electronic device may include the identifier of the thumbnail corresponding to the first multimedia resource.

[0384] After the first electronic device receives the identifier of the thumbnail corresponding to the multimedia resource sent by the second electronic device, the first electronic device can send a first request message to the second electronic device, and the first request message may include the identifier of the thumbnail corresponding to the first multimedia resource, so that the second electronic device can determine the thumbnail corresponding to the first multimedia resource based on the identifier of the thumbnail corresponding to the first multimedia resource, and send the thumbnail corresponding to the first multimedia resource to the first electronic device.

[0385] In some examples, in order to ensure the transmission speed and efficiency of the request information and the response information, thereby speeding up the processing speed of the request, the length of the first request information may be less than the first preset length, the length of the first response information may be less than the second preset length, the length of the second request information may be less than the third preset length, and the length of the second response information may be less than the fourth preset length. That is, the data volume of the first request information may be less than the preset threshold, the data volume of the first response information may be less than the preset threshold, the data volume of the second request information may be less than the preset threshold, and the data volume of the second response information may be less than the preset threshold.

[0386] It should be noted that the specific values ​​of the first preset length, the second preset length, the third preset length and the fourth preset length can be determined according to actual conditions. In the embodiment of the present application, the specific values ​​of the first preset length, the second preset length, the third preset length and the fourth preset length are not limited.

[0387] In some examples, the specific numerical values ​​of the first preset length, the second preset length, the third preset length, and the fourth preset length may be the same or different, which is not limited in the embodiments of the present application.

[0388] In some examples, before the first electronic device sends the first request information to the second electronic device, the first electronic device may also determine whether the first electronic device includes a thumbnail corresponding to the first multimedia resource. In the case where the first electronic device does not include a thumbnail corresponding to the first multimedia resource, the first electronic device may send the first request information to the second electronic device. In the case where the first electronic device includes a thumbnail corresponding to the first multimedia resource, the first electronic device may not send the first request information to the second electronic device, and the first electronic device may display the thumbnail corresponding to the first multimedia resource.

[0389] In some examples, the first electronic device may include a first media data middleware application. The second electronic device may also include a second media data middleware application.

[0390] When the first electronic device includes a first media data middle platform application, the first electronic device sending a first request message to the second electronic device may include: after the first electronic device receives a user's opening operation on the first application, the first application may send the first request message to the first media data middle platform application. After the first media data middle platform application receives the first request message, the first request message may be sent to the second media data middle platform application included in the second electronic device.

[0391] In some examples, when the first electronic device includes a first media data middle platform application, the first media data middle platform application may include a first thumbnail database. The first thumbnail database is used to store thumbnails, that is, the first thumbnail database can be used to store thumbnails in the first electronic device. The thumbnails in the first electronic device may include thumbnails corresponding to multimedia resources in the first electronic device, and may also include thumbnails corresponding to multimedia resources sent by other electronic devices (such as a second electronic device) received by the first electronic device.

[0392] When the first media data middle platform application includes a first thumbnail database, the first media data middle platform application sends the first request information to the second media data middle platform application included in the second electronic device, which may include: the first application sends the first request information to the first media data middle platform application. After the first media data middle platform application receives the first request information, if the first thumbnail database does not include the thumbnail corresponding to the first multimedia resource, the first request information may be sent to the second media data middle platform application included in the second electronic device.

[0393] In the case where the first thumbnail database includes thumbnails corresponding to the first multimedia resource, the first media data platform application may send the thumbnails corresponding to the first multimedia resource to the first application. The first application may receive and display the thumbnails corresponding to the first multimedia resource.

[0394] In some examples, when the first electronic device displays a first interface, which may include a viewing control, the first electronic device sends a first request message to the second electronic device. The first electronic device may send the first request message to the second electronic device when the first electronic device receives a trigger operation for viewing the control.

[0395] Specifically, the specific implementation of the first electronic device sending the first request information to the second electronic device in the embodiment of the present application can refer to the above S703-S715, or the specific implementation in the above S901-S916, which will not be repeated in the embodiment of the present application.

[0396] S1004: The first electronic device receives first response information sent by the second electronic device, where the first response information includes a thumbnail corresponding to the first multimedia resource.

[0397] After the first electronic device sends the first request information to the second electronic device, the first electronic device may receive the first response information sent by the second electronic device. The first response information may include a thumbnail corresponding to the first multimedia resource.

[0398] In some examples, when the first electronic device includes a first media data platform application and the second electronic device includes a second media data platform application, the first electronic device receiving the first response information sent by the second electronic device may include: the first media data platform application receiving the first response information sent by the second media data platform application included in the second electronic device. Afterwards, the first media data platform application may send the first response information to the first application.

[0399] In some examples, after the first electronic device receives the first response information sent by the second electronic device, that is, the thumbnail corresponding to the first multimedia resource, the first electronic device may also store the thumbnail corresponding to the first multimedia resource. Thus, when the thumbnail is needed next time, the first electronic device can directly obtain the thumbnail without requesting the thumbnail from the second electronic device. Thus, it is possible to avoid waste of resources and time and speed up the processing of requests.

[0400] In some examples, when the platform application in the first media data includes a first thumbnail database, after the first electronic device receives the first response information sent by the second electronic device, that is, the thumbnail corresponding to the first multimedia resource, the first electronic device may also store the thumbnail corresponding to the first multimedia resource in the first thumbnail database.

[0401] Specifically, the specific implementation of the first electronic device receiving the first response information sent by the second electronic device in the embodiment of the present application can refer to the above S716-S720, or the specific implementation in the above S917-S930, which will not be repeated in the embodiment of the present application.

[0402] S1005: The first electronic device displays a second interface, where the second interface includes thumbnails corresponding to the first multimedia resource.

[0403] After the first electronic device receives the first response information sent by the second electronic device, that is, the thumbnail corresponding to the first multimedia resource, the first electronic device may display a second interface, which may include the thumbnail corresponding to the first multimedia resource, so that the user can view the thumbnail corresponding to the first multimedia resource through the second interface.

[0404] It should be noted that after the first electronic device displays the thumbnail corresponding to the multimedia resource included in the second electronic device, if the first application receives a user's selection operation on the thumbnail corresponding to the multimedia resource, that is, the user needs to view the source file corresponding to the multimedia resource, the first electronic device can send a source file request to the second electronic device, so that the second electronic device can send the source file corresponding to the multimedia resource to the first electronic device.

[0405] According to the solution of the present application, when a user needs to view and access multimedia resources included in a second electronic device through a first electronic device, the second electronic device can send thumbnails corresponding to the multimedia resources included therein to the first electronic device. When the first electronic device receives the thumbnails corresponding to the multimedia resources sent by the second electronic device, the first electronic device can display the thumbnails corresponding to the multimedia resources, so that the user can view and access the thumbnails corresponding to the multimedia resources included therein through the first electronic device. Since the second electronic device can send thumbnails corresponding to the multimedia resources included therein to the first electronic device when the user needs to view and access the multimedia resources included therein through the first electronic device, there is no need to access and view multimedia resources across devices through the cloud, so the user does not need to purchase cloud space.

[0406] Furthermore, since the second electronic device sends the thumbnail corresponding to the multimedia resource to the first electronic device without sending the source file corresponding to the multimedia resource, the amount of data corresponding to the thumbnail is smaller than the amount of data corresponding to the source file. Therefore, when the second electronic device sends the thumbnail corresponding to the multimedia resource to the first electronic device, the time for sending the thumbnail corresponding to the multimedia resource will be shorter than that for sending the source file corresponding to the multimedia resource, which can improve the access and viewing time of multimedia resources across devices.

[0407] For example, Fig.11 A schematic diagram of the structure of a multimedia resource display device 11 is shown. Fig.11 As shown, the multimedia resource display device 11 may include: a receiving module 1101 , a display module 1102 and a sending module 1103 .

[0408] The receiving module 1101 may be used to receive a user's opening operation on the first application.

[0409] The display module 1102 may be configured to display a first interface in response to an opening operation, where the first interface is an interface corresponding to the first application.

[0410] The sending module 1103 may be configured to send first request information to the second electronic device, where the first request information is used to request a thumbnail corresponding to a multimedia resource in the second electronic device.

[0411] The receiving module 1101 can also be used to receive a first response message sent by a second electronic device, where the first response message includes a thumbnail corresponding to the multimedia resource; the metadata of the multimedia resource includes an identifier of the thumbnail corresponding to the first multimedia resource;.

[0412] The display module 1102 may also be used to display a second interface, where the second interface includes thumbnails corresponding to the first multimedia resource.

[0413] In another possible implementation, the sending module 1103 can also be used to send a second request message to the second electronic device, where the second request message is used to request metadata of the multimedia resource in the second electronic device; the metadata of the multimedia resource includes an identifier of a thumbnail corresponding to the first multimedia resource.

[0414] The receiving module 1101 may also be configured to receive second response information sent by a second electronic device, where the second response information includes metadata of the first multimedia resource.

[0415] The sending module 1103 may also be configured to send first request information to the second electronic device, where the first request information includes an identifier of a thumbnail corresponding to the first multimedia resource.

[0416] In another possible implementation, the sending module 1103 may also be configured to send the first request information to the second electronic device when the first electronic device does not include a thumbnail corresponding to the first multimedia resource.

[0417] In another possible implementation, the multimedia resource display device 11 may further include a storage module 1104 .

[0418] The storage module 1104 may be configured to store thumbnails corresponding to the first multimedia resource.

[0419] In another possible implementation, the length of the first request message is less than the first preset length, the length of the first response message is less than the second preset length, the length of the second request message is less than the third preset length, and the length of the second response message is less than the fourth preset length.

[0420] In another possible implementation, the sending module 1103 may be configured to send first request information to the first media data middleware application.

[0421] The receiving module 1101 may be configured to receive first request information.

[0422] The sending module 1103 may also be configured to send first request information to a second media data middleware application included in the second electronic device.

[0423] In another possible implementation, the receiving module 1101 may also be configured to receive first response information sent by a second media data middleware application included in the second electronic device.

[0424] The sending module 1103 may also be configured to send first response information to the first application.

[0425] In another possible implementation, the sending module 1103 may also be configured to send the first request information to the first media data middle platform application.

[0426] The receiving module 1101 may also be configured to receive first request information.

[0427] The sending module 1103 may also be configured to send first request information to a second media data platform application included in the second electronic device when the first thumbnail database does not include a thumbnail corresponding to the first multimedia resource.

[0428] In another possible implementation, the sending module 1103 may also be configured to send the thumbnail corresponding to the first multimedia resource to the first application when the first thumbnail database includes the thumbnail corresponding to the first multimedia resource.

[0429] The receiving module 1101 may also be configured to receive a thumbnail corresponding to the first multimedia resource.

[0430] The display module 1102 may also be configured to display a thumbnail corresponding to the first multimedia resource.

[0431] It should be understood that the division of units or modules (hereinafter referred to as units) in the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. And the units in the device can all be implemented in the form of software calling through processing elements; or all in the form of hardware; or some units can be implemented in the form of software calling through processing elements, and some units can be implemented in the form of hardware.

[0432] For example, each unit can be a separately established processing element, or it can be integrated in a certain chip of the device. In addition, it can also be stored in a memory in the form of a program, and called and executed by a certain processing element of the device. In addition, all or part of these units can be integrated together, or they can be implemented independently. The processing element described here can also be called a processor, which can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each unit above can be implemented by an integrated logic circuit of hardware in the processor element or in the form of software called by a processing element.

[0433] In one example, the unit in the above apparatus may be one or more integrated circuits configured to implement the above method, such as one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of at least two of these integrated circuit forms.

[0434] For another example, when the units in the device can be implemented in the form of a processing element scheduling program, the processing element can be a general-purpose processor, such as a CPU or other processor that can call a program. For another example, these units can be integrated together and implemented in the form of a system on a chip SOC.

[0435] In one implementation, the units of the above apparatus implementing the corresponding steps in the above method can be implemented in the form of a processing element scheduling program. For example, the apparatus may include a processing element and a storage element, and the processing element calls the program stored in the storage element to execute the method described in the above method embodiment. The storage element may be a storage element on the same chip as the processing element, that is, an on-chip storage element.

[0436] In another implementation, the program for executing the above method may be in a storage element on a different chip from the processing element, i.e., an off-chip storage element. In this case, the processing element calls or loads the program from the off-chip storage element to the on-chip storage element to call and execute the method described in the above method embodiment.

[0437] For example, an embodiment of the present application may also provide a device, such as an electronic device, which may include a processor and a memory for storing instructions executable by the processor. When the processor is configured to execute the above instructions, the electronic device implements the multimedia resource display method as described in the above embodiment. The memory may be located inside the electronic device or outside the electronic device. And the processor includes one or more.

[0438] In another implementation, the unit of the device implementing each step in the above method may be configured as one or more processing elements, which may be arranged on the corresponding electronic device, and the processing element here may be an integrated circuit, for example: one or more ASICs, or one or more DSPs, or one or more FPGAs, or a combination of these integrated circuits. These integrated circuits may be integrated together to form a chip.

[0439] For example, the present application also provides a chip, which can be applied to the above electronic device. The chip includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a line; the processor receives and executes computer instructions from the memory of the electronic device through the interface circuit to implement the method described in the above method embodiment.

[0440] An embodiment of the present application also provides a computer program product, including computer instructions executed by the above-mentioned electronic device.

[0441] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0442] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0443] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0444] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0445] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, such as a program. The software product is stored in a program product, such as a computer-readable storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0446] For example, the present application embodiment may also provide a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by an electronic device, the electronic device implements the multimedia resource display method described in the above method embodiment.

[0447] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A multimedia resource display method, characterized in that: Applied to a first electronic device, the first electronic device includes a first application program, and the method includes: The first electronic device receives a user's opening operation on a first application; In response to the opening operation, the first electronic device displays a first interface, where the first interface is an interface corresponding to the first application; The first electronic device sends first request information to the second electronic device, where the first request information is used to request a thumbnail corresponding to a first multimedia resource in the second electronic device; The first electronic device receives first response information sent by the second electronic device, where the first response information includes a thumbnail corresponding to the first multimedia resource; The first electronic device displays a second interface, where the second interface includes thumbnails corresponding to the first multimedia resource.

2. The method according to claim 1, characterized in that The first electronic device sending first request information to the second electronic device includes: The first electronic device sends second request information to the second electronic device, where the second request information is used to request metadata of a multimedia resource in the second electronic device; The first electronic device receives second response information sent by the second electronic device, where the second response information includes metadata of the multimedia resource; the metadata of the multimedia resource includes an identifier of a thumbnail corresponding to the first multimedia resource; The first electronic device sends the first request information to the second electronic device, where the first request information includes an identifier of a thumbnail corresponding to the first multimedia resource.

3. The method according to claim 1 or 2, characterized in that: The first electronic device sending first request information to the second electronic device includes: In a case where the first electronic device does not include a thumbnail corresponding to the first multimedia resource, the first electronic device sends the first request information to the second electronic device.

4. The method according to any one of claims 1 to 3, characterized in that After the first electronic device receives the first response information sent by the second electronic device, the method further includes: The first electronic device stores a thumbnail corresponding to the first multimedia resource.

5. The method according to claim 2, characterized in that: The length of the first request message is less than a first preset length, the length of the first response message is less than a second preset length, the length of the second request message is less than a third preset length, and the length of the second response message is less than a fourth preset length.

6. The method according to claim 1, characterized in that The first electronic device includes a first media data middle platform application, and the first electronic device sends first request information to the second electronic device, including: The first application sends the first request information to the first media data middle platform application; The first media data middle platform application receives the first request information, and sends the first request information to a second media data middle platform application included in the second electronic device.

7. The method according to claim 6, characterized in that The first electronic device receiving the first response information sent by the second electronic device includes: The first media data middle platform application receives the first response information sent by the second media data middle platform application included in the second electronic device; The first media data middle platform application sends the first response information to the first application.

8. The method according to claim 6, characterized in that The first media data middle platform application includes a first thumbnail database, and the first thumbnail database is used to store thumbnails. The first media data middle platform application sends the first request information to the second media data middle platform application included in the second electronic device, including: The first application sends the first request information to the first media data middle platform application; The first media data middle platform application receives the first request information, and sends the first request information to a second media data middle platform application included in the second electronic device when the first thumbnail database does not include a thumbnail corresponding to the first multimedia resource.

9. The method according to claim 8, characterized in that The method further comprises: In a case where the first thumbnail database includes a thumbnail corresponding to the first multimedia resource, the first media data middle platform application sends the thumbnail corresponding to the first multimedia resource to the first application; The first application receives and displays a thumbnail corresponding to the first multimedia resource.

10. An electronic device, characterized in that: The electronic device comprises a processor and a memory for storing instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements the method as claimed in any one of claims 1 to 9.

11. A computer-readable storage medium having computer program instructions stored thereon; characterized in that: When the computer program instructions are executed by an electronic device, the electronic device implements the method according to any one of claims 1 to 9.