Multimedia resource access method and electronic device

By providing cross-device access options in the interface of electronic devices, users can access the gallery of other electronic devices in the local machine, solving the problem of only accessing the local image gallery in the existing technology, achieving wider access to multimedia resources and higher convenience.

WO2025044174A1PCT designated stage expired Publication Date: 2025-03-06HONOR DEVICE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/083095
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-25
Filing Date
2024-03-21
Publication Date
2025-03-06

AI Technical Summary

Technical Problem

In the prior art, electronic devices can only access multimedia resources in the local gallery, and cannot flexibly access multimedia resources in the gallery of other electronic devices.

Method used

It provides a method of accessing multimedia resources, allowing users to access the gallery of other electronic devices in the local machine through the display interface, realizing multimedia resources access across devices. The specific implementation method includes displaying multiple options in the interface, where users can choose to access different device galleries and switch to display album preview information of different devices in the interface.

Benefits of technology

It realizes the flexibly accessing the gallery of other devices in the unit of electronic devices, expands the multimedia resources that users can access, and improves access convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024083095_06032025_PF_FP_ABST
    Figure CN2024083095_06032025_PF_FP_ABST
Patent Text Reader

Abstract

A multimedia resource access method and an electronic device, relating to the technical field of terminals. The electronic device can flexibly access, on the present device, multimedia resources in galleries of other electronic devices. The method comprises: a first device displaying a first interface, wherein the first interface comprises a first area and a second area, a first option, a second option and a third option are displayed in the first area, the first option corresponds to the first device, the second option corresponds to a second device, the third option corresponds to a third device, and preview information of a photo album in the first device is displayed in the second area; in response to a selection operation on the second option, the first device displaying, in the second area, preview information of a photo album in the second device; and in response to a selection operation on the third option, the first device displaying, in the second area, preview information of a photo album in the third device.
Need to check novelty before this filing date? Find Prior Art

Description

Method for accessing multimedia resources and electronic equipment

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on August 25, 2023, with application number 202311085365.4 and invention name “A method and electronic device for accessing multimedia resources”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of terminal technology, and in particular to a method for accessing multimedia resources and an electronic device. Background Art

[0003] When using electronic devices such as mobile phones and tablets, they can usually access multimedia resources such as pictures and videos in the gallery. However, in the prior art, electronic devices can usually only access multimedia resources in the gallery of the local device.

[0004] Summary of the Invention

[0005] The present application provides a method for accessing multimedia resources and an electronic device, which can flexibly access multimedia resources in the gallery of other electronic devices on the electronic device.

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

[0007] In a first aspect, the present application provides a method for accessing multimedia resources, comprising: a first device displays a first interface (such as an album page), the first interface includes a first area and a second area, the first area displays a first option, a second option, and a third option, the first option corresponds to the first device, the second option corresponds to the second device, and the third option corresponds to the third device, and the second area displays preview information of the album in the first device. In response to a selection operation of the second option, the first device displays a preview information of the album in the second device in the second area. In response to a selection operation of the third option, the first device displays a preview information of the album in the third device in the second area.

[0008] In summary, using this application, a first device can switch between accessing a second device and the photo albums on the second device within a first interface. First, the first device can access the photo albums on at least two devices other than the first device, making it easier for the user to access more photo albums on the first device. Second, during this switching process, the user does not need to perform operations such as returning, thereby improving access convenience.

[0009] In a possible design of the first aspect, after the first device displays the preview information of the album in the second device in the second area, in response to the access operation to the first album of the second device in the first interface, the first device displays the second interface (such as a grid page), and the second interface includes thumbnails of the multimedia resources in the first album. In response to the viewing operation of the first thumbnail in the second interface, the first device displays a third interface (such as a large image page), and the third interface is used to display the first multimedia resource corresponding to the first thumbnail. That is, the multimedia resources in the album can be further viewed on the first device. Subsequently, after the first device is disconnected from the second device, in response to the return operation to the third interface, the first device displays a fourth interface, the fourth interface includes the first option and the third option, and the fourth interface does not include the preview information of the album in the second device.

[0010] That is, after the first device and the second device are disconnected, in response to an operation to return to the grid page, the first device will not return to the grid page normally, but will directly return to the album page, and will not provide preview information of the album on the second device on the album page. This ensures that after the first device and the second device are disconnected, the user will not be presented with excessive multimedia resource information on the second device.

[0011] In a possible design manner of the first aspect, the fourth interface also includes a second option.

[0012] In a possible design of the first aspect, in response to a return operation to the third interface, the first device displays a fourth interface including a second option, including: in response to a return operation to the third interface, the first device can search for the second device, and the first device displays the fourth interface including the second option.

[0013] That is to say, after the first device and the second device are disconnected, if the first device can still search for the second device, such as the second device moves away from the first device and then approaches the first device, the option of the second device can continue to be provided so that the photo album in the second device can be accessed again.

[0014] In a possible design manner of the first aspect, the fourth interface does not include the second option.

[0015] In a possible design of the first aspect, in response to a return operation to the third interface, the first device displays a fourth interface that does not include the second option, including: in response to a return operation to the third interface, the first device does not search for the second device, and the first device displays the fourth interface that does not include the second option.

[0016] That is, after the first device and the second device are disconnected, if the first device cannot search for the second device, such as the second device moves away from the first device and is no longer close to the first device, the option of the second device is no longer provided to avoid providing unavailable options.

[0017] In one possible design of the first aspect, after the first device displays the third interface, in response to a return operation to the third interface, the first device and the second device are not disconnected, and the first device displays the second interface. In response to the return operation to the second interface, the first device displays the first interface in the second area that includes preview information of the album on the second device.

[0018] That is to say, if the first device is not disconnected from the second device, the first device can normally return from the third interface to the second interface and then return to the first interface, and can continue to display the preview information of the album in the second device in the first interface, so as to facilitate returning to select multimedia resources.

[0019] In a possible design of the first aspect, in response to a return operation to the third interface, the first device displays the fourth interface, including: in response to a return operation to the third interface, the first device detects a disconnection with the second device, and the first device displays the fourth interface.

[0020] In practice, the moment the first and second devices disconnect may not be the same as the moment the disconnection is detected. Typically, the disconnection is detected after the disconnection occurs. Furthermore, only after the disconnection is detected can the first device respond to the disconnection. Therefore, in response to returning to the grid page and detecting a disconnection, the first device will display the fourth interface, which does not include preview information for the album on the second device.

[0021] In one possible design of the first aspect, in response to a return operation to the third interface, the first device detects a disconnection from the second device, and the first device displays the fourth interface, including: in response to a return operation to the third interface at a first moment, the first device displays the fourth interface, the first moment being after the first device detects the disconnection from the second device. That is, only at the first moment after detecting the disconnection, in response to the return operation to the grid page, will the first device display the fourth interface, which does not include preview information of the album on the second device.

[0022] Furthermore, the method further includes: in response to a return operation to the third interface at a second time, the first device displays the second interface; wherein the second time is a time after the first device is disconnected from the second device, but before the first device detects the disconnection with the second device. That is, in response to the return operation at the second time after the disconnection but before the disconnection is detected, the first device can still normally return to the grid page to provide thumbnails of the multimedia resources for selection and viewing.

[0023] In a possible design of the first aspect, the first device includes a data middle platform and a first application, and the first application includes a gallery application, or the first application includes an application with permission to access the gallery application, such as a chat application, an image editing application, etc. After the first device is disconnected from the second device, the data middle platform detects that the first device and the second device are disconnected. The data middle platform sends a disconnection notification to the first application, and the disconnection notification is used to indicate that the first application is not allowed to access the data middle platform. Accordingly, in response to the return operation to the third interface, the first device displays the fourth interface, including: in response to the return operation to the third interface, the first application has received the disconnection notification, and the first application displays the fourth interface.

[0024] That is, the first application can accurately determine that it is currently in a disconnected scenario through the disconnection notification, and in response to the operation of returning to the grid page, display the fourth interface that does not include preview information of the album in the second device.

[0025] This design approach, especially for external applications such as chat applications and video editing applications, can further ensure the security of data in the second device.

[0026] In one possible design of the first aspect, the third interface further includes preset operation controls, including a save control and / or a copy control. After the first device displays the third interface, the method further includes: in response to a selection of the preset operation control, the first device saving the first multimedia resource to a second album of the first device.

[0027] That is to say, the first device can also copy or save the multimedia resources in the second device to the first device.

[0028] In one possible design of the first aspect, the first multimedia resource is a static image, or the first multimedia resource is a video that has not been played on the first device in the third interface. In response to selecting a preset operation control, the first device saves the first multimedia resource to the second album of the first device, including: in response to selecting the preset operation control, the first device displays a first prompt in the third interface, the first prompt indicating that a file is being transferred. After the file transfer is completed, the first device saves the first multimedia resource to the second album.

[0029] For static images or videos that have not yet been played on the large image page, the first device has not yet obtained the original image information. Therefore, in response to the user's selection of the preset control, the first device needs to obtain the original image information from the second device, which is a time-consuming process. Based on this, by displaying the first prompt, it can be clearly indicated to the user that they need to wait.

[0030] In a possible design of the first aspect, the first multimedia resource is a dynamic picture, or the first multimedia resource is a video, and the first device has played the video in the third interface. In response to the selection operation of the preset operation control, the first device does not display the first prompt.

[0031] For dynamic images or videos that have already been played on the large image page, the first device has already obtained the original image information. Therefore, in response to the user's selection of a preset control, the first device only needs to obtain the original image information from the local computer. This process is very short, and the first prompt can be omitted, and the result of the preset operation, such as a successful save or copy result, can be directly presented.

[0032] In a possible design manner of the first aspect, the preset operation control is a save control, and the second album is an album named after the second device.

[0033] This makes it easier to distinguish multimedia resources from different devices.

[0034] In a possible design of the first aspect, after the first device saves the first multimedia resource to the second album of the first device, the method also includes: the first device displays a fifth interface, the fifth interface includes preview information of the album in the first device, and the preview information of the second album is located after the preview information of the last system album in the album of the first device.

[0035] This makes it easy to quickly locate the album that stores multimedia resources from other devices after the system album.

[0036] In one possible design of the first aspect, the preset operation control is a copy control. In response to a selection of the preset operation control, the first device saves the first multimedia resource to a second album of the first device, including: in response to the selection of the preset operation control, the first device displays preview information of the album on the first device. In response to a selection of the second album on the first device, the first device saves the first multimedia resource to the second album on the first device.

[0037] That is, the first device can accurately copy the multimedia resources from the second device to the album specified by the user.

[0038] In one possible design of the first aspect, the method further includes: the first device displays a sixth interface, the sixth interface including photos stored on the first device; and while displaying the sixth interface, the first device searches for the second device and the third device. Accordingly, the first device displays the first interface, including: in response to switching to an album page, the first device displays the first interface, the second option and the third option being located after the first option, and the second option and the third option being sorted according to the priority of the second device and the third device.

[0039] That is, before entering the first interface, the options of other devices discovered by the first device can be displayed in the first device according to the priority of the devices. In this way, the options of the devices with high priority can be displayed first for easy viewing.

[0040] In a possible design of the first aspect, in response to the selection operation of the second option, the first device displays preview information of the photo album in the second device in the second area, including: if the number of devices connected to the first device has not reached the first number, in response to the selection operation of the second option, the first device displays preview information of the photo album in the second device in the second area.

[0041] That is, only when the number of devices connected to the first device is within the first number can the first device continue to establish a connection with the second device and obtain and display the album information in the second device.

[0042] In a possible design of the first aspect, in response to a selection of the second option, the first device displays preview information of the album on the second device in the second area, including: if the first device has been connected to the first number of devices, in response to the selection of the second option, the first device displays a first window, the first window including device options corresponding one-to-one to the first number of connected devices, the first number of device options including a first device option, the first device option corresponding to the fourth device. In response to a disconnection operation for the first device option, the first device disconnects from the fourth device. The first device displays preview information of the album on the second device in the second area.

[0043] That is, when the number of devices connected to the first device exceeds the first number, the first device needs to disconnect from one of the connected devices before it can continue to establish a connection with the second device and obtain and display the album information in the second device.

[0044] In a possible design of the first aspect, the method further includes: if the first device has connected to the first number of devices, in response to a selection of the second option, the first device displays the first window; and in response to an instruction to close the first window, the first device displays a prompt message in the second area indicating that the number of connected devices has exceeded the upper limit.

[0045] That is, when the number of devices connected to the first device exceeds the first number, the first device may continue to maintain connection with the connected devices based on the user's selection, instead of connecting to new devices.

[0046] In a second aspect, the present application also provides an electronic device comprising: a display screen, a memory and one or more processors, the memory being coupled to the processor; wherein the memory stores computer program code, the computer program code comprising computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the method in the above-mentioned first aspect and any possible design thereof.

[0047] In the third aspect, the present application also provides a chip system, which is applied to an electronic device including a display screen, a processor and a memory. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected through lines. The interface circuit is used to receive signals from the memory and send signals to the processor. The signals include computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device executes the method in the above-mentioned first aspect and any possible design method thereof.

[0048] In a fourth aspect, the present application also provides a computer-readable storage medium comprising computer instructions, which, when executed on an electronic device, enables the electronic device to execute the method in the above-mentioned first aspect and any possible design thereof.

[0049] In a fifth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method according to the first aspect and any possible design thereof.

[0050] It can be understood that the beneficial effects that can be achieved by the electronic device, chip system, computer storage medium, and computer program product provided above can be referred to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] FIG1 is a schematic diagram of a networking form provided in an embodiment of the present application;

[0052] FIG2 is a schematic diagram of another networking form provided in an embodiment of the present application;

[0053] FIG3A is a schematic diagram showing a principle of synchronizing multimedia resources across devices according to an embodiment of the present application;

[0054] FIG3B is a hardware structure diagram of a mobile phone provided in an embodiment of the present application;

[0055] FIG4 is a schematic diagram of a mobile phone interface according to an embodiment of the present application;

[0056] FIG5 is a second schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0057] FIG6 is a third schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0058] FIG7A is a fourth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0059] FIG7B is a fifth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0060] FIG7C is a sixth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0061] FIG8 is a seventh schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0062] FIG9 is an eighth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0063] FIG10 is a schematic diagram of multimedia resource access in a disconnected scenario according to an embodiment of the present application;

[0064] FIG11 is a ninth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0065] FIG12 is a tenth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0066] FIG13 is an eleventh schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0067] FIG14 is a twelfth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0068] FIG15 is a thirteenth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0069] FIG16 is a fourteenth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0070] FIG17A is a fifteenth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0071] FIG17B is a sixteenth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0072] FIG18 is a seventeenth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0073] FIG19 is an eighteenth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0074] FIG20 is a nineteenth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0075] FIG21 is a schematic diagram 20 of a mobile phone interface provided in an embodiment of the present application;

[0076] FIG22 is a twenty-first schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0077] FIG23 is a twenty-second schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0078] FIG24 is a twenty-third schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0079] FIG25 is a twenty-fourth schematic diagram of a mobile phone interface provided in an embodiment of the present application;

[0080] Figure 26 is the twenty-fifth schematic diagram of the mobile phone interface provided in the embodiment of the present application. DETAILED DESCRIPTION

[0081] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0082] The method for accessing multimedia resources provided in the embodiment of the present application can be applied to the communication system provided in the embodiment of the present application, and the communication system includes multiple electronic devices. Any electronic device can be a mobile phone, a tablet, a smart screen, etc. Without limitation, the electronic device can also be a personal computer (PC), a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, etc. The above-mentioned electronic device can also be other portable electronic devices, such as a laptop computer (Laptop).

[0083] The same user account (such as a Honor account) is logged in to the above-mentioned multiple electronic devices, or user accounts with a trust relationship such as each other's family accounts, each other's workgroup accounts, etc. are logged in to multiple electronic devices.

[0084] It is understood that multiple electronic devices logged into the same user account or logged into user accounts with a trusted relationship can be added to the same trust circle through identity authentication after being in close proximity (such as within Bluetooth communication range). Any electronic device in the trust circle can discover (or search for) the other electronic devices in the trust circle.

[0085] After the wireless local area network (WLAN) is enabled, the aforementioned multiple electronic devices can access a network provided by the same access device. After accessing the same network, the multiple electronic devices can achieve communication connection and data transmission based on the network.

[0086] In a specific implementation, the access device is a router. For example, the multiple electronic devices include the mobile phone 110, tablet 120, smart screen 130, and laptop computer 140 shown in FIG1 , and the access device is the router 150 shown in FIG1 . After the mobile phone 110, tablet 120, smart screen 130, and laptop computer 140 turn on WLAN, the mobile phone 110, tablet 120, smart screen 130, and laptop computer 140 can access the WLAN network of the router 150. Subsequently, the mobile phone 110, tablet 120, smart screen 130, and laptop computer 140 can achieve communication connection and data transmission through the router.

[0087] In another specific implementation, the access device is one of the multiple electronic devices. Exemplarily, the multiple electronic devices include the tablet 210, the smart screen 220, and the mobile phone 230 shown in Figure 2, and the access device is the mobile phone 230. Among them, the mobile phone 230 turns on the WLAN hotspot. After the tablet 210 and the smart screen 220 turn on WLAN, they can access the WLAN hotspot of the mobile phone 230. Subsequently, the tablet 210 and the smart screen 220 can be transferred through the mobile phone 230 to achieve communication connection and data transmission; and the mobile phone 230 can achieve communication connection and data transmission with the tablet 210 and the smart screen 220.

[0088] In the aforementioned communication system, multiple electronic devices can discover each other. Furthermore, any electronic device can establish a communication connection with the discovered electronic device and transmit multimedia resources such as images and videos, enabling the sharing of multimedia resources among multiple electronic devices. This means that any electronic device in the aforementioned communication system can access multimedia resources in various electronic devices in the communication system across devices.

[0089] Furthermore, the sharing of multimedia resources among multiple electronic devices can be achieved through the data middle platform.

[0090] Taking the example of multiple electronic devices including the mobile phone 230 and tablet 210 in Figure 3A, and the mobile phone 230 accessing the multimedia resources in the tablet 210, the mobile phone 230 includes a data middle platform 1, and also includes gallery applications, other applications (such as chat applications, image editing applications), and other applications that have the need (or permission) to access multimedia resources across devices. In addition, the tablet 210 includes a data middle platform 2, and also includes a gallery application that can provide multimedia resources. It should be noted that the data of the mobile phone 230 can also be accessed from the tablet 210. The user may need to create some content on the tablet 210, such as editing illustrations for documents, editing videos, etc., and can enter the interface for accessing data across devices through the interface of applications such as note applications or social applications, and obtain data from other devices such as the mobile phone 230.

[0091] After the mobile phone 230 and the tablet 210 establish a communication connection, the data center 2 can synchronize the album information in the gallery application of the tablet 210, such as the album cover, album name, number of multimedia resources included in the album, thumbnails of the multimedia resources included in the album, and other data to the data center 1. After the data center 1 receives the album information from the tablet 210, the gallery application or other applications in the mobile phone 230 can obtain and display the album information in the tablet 210 by accessing the data center 1. For example, the album page of the gallery application can display the album in the tablet 210, and the thumbnails of the multimedia resources in the album of the tablet 210 can be displayed on the grid page.

[0092] Of course, other applications in the mobile phone 230 can also access the gallery application of the mobile phone 230 to view the local multimedia resources of the mobile phone 230.

[0093] Also, when the gallery application or other applications in the mobile phone 230 need to obtain more image information from the gallery application of the tablet 210, such as the original image information of various multimedia resources, the gallery application or other applications in the mobile phone 230 can access the data middle station 1 and request more image information from the data middle station 1. The data middle station 1 can request more image information from the gallery application of the tablet 210 through the data middle station 2. Finally, the data middle station 2 can synchronize the obtained more image information to the data middle station 1. After the data middle station 1 receives more image information from the tablet 210, it can feed back to the gallery application or other applications in the mobile phone 230. In this way, the gallery application or other applications in the mobile phone 230 can respond based on more image information. For example, display large pictures, play dynamic pictures, play videos, save / copy multimedia resources, etc.

[0094] It should be noted that the process of tablet 210 accessing multimedia resources in mobile phone 230 is similar. For example, tablet 210 may also include other applications, and the gallery application or other applications in tablet 210 may also obtain information about multimedia resources in mobile phone 230 (such as album information and more image information) synchronized from data platform 1 to data platform 2 by accessing data platform 2, and then respond based on the obtained multimedia resource information, such as displaying or playing.

[0095] The multimedia resource access method provided in the embodiments of the present application can be applied to various electronic devices in the above-mentioned communication system. Any electronic device among the multiple electronic devices can access the multimedia resources of other electronic devices among the multiple electronic devices, and can flexibly switch from accessing the multimedia resources of one electronic device among the other electronic devices to accessing the multimedia resources of another electronic device among the other electronic devices. For details, please refer to the relevant description of accessing the multimedia resources of other electronic devices in Figure 5 below.

[0096] Furthermore, any electronic device among the plurality of electronic devices can flexibly access multimedia resources in other electronic devices according to the connection status of the electronic device with the other electronic devices among the plurality of electronic devices. For details, please refer to the relevant description of the disconnection scenario in Figures 10 to 14 below.

[0097] The hardware structure of any of the multiple electronic devices is described below using mobile phone 230 as an example. As shown in FIG3B , mobile phone 230 may include: a processor 201, an external memory interface 202, an internal memory 221, a universal serial bus (USB) interface 203, a charging management module 240, a power management module 241, a battery 242, antenna 1, antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone jack 270D, a sensor module 280 (e.g., including a pressure sensor 280E), a button 290, a motor 291, an indicator 292, a camera 293, a display 294, and a subscriber identification module (SIM) card interface 295.

[0098] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on mobile phone 230. In other embodiments, mobile phone 230 may include more or fewer components than illustrated, or may combine or separate certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0099] The processor 201 may include one or more processing units. For example, the processor 201 may include an application processor (AP), a modem processor, a graphics processing unit (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). Different processing units may be independent devices or integrated into one or more processors.

[0100] The charging management module 240 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While charging the battery 242, the charging management module 240 can also power the electronic device through the power management module 241.

[0101] The power management module 241 is used to connect the battery 242, the charging management module 240, and the processor 201. The power management module 241 receives input from the battery 242 and / or the charging management module 240 and provides power to the processor 201, the internal memory 221, the external memory, the display 294, the camera 293, and the wireless communication module 260. In some embodiments, the power management module 241 and the charging management module 240 can also be provided in the same device.

[0102] The wireless communication function of the mobile phone 230 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.

[0103] The mobile communication module 250 can provide wireless communication solutions for the mobile phone 230, including 2G / 3G / 4G / 5G. The wireless communication module 260 can provide wireless communication solutions for the mobile phone 230, including WLAN (such as wireless fidelity, Wi-Fi) network, Bluetooth (Bluetooth, BT), global navigation satellite system (Global Navigation Satellite System, GNSS), frequency modulation (Frequency Modulation, FM), near field communication technology (Near Field Communication, NFC), infrared technology (Infrared, IR), etc.

[0104] In some embodiments, the mobile phone 230 can establish a trust loop and transmit data with other electronic devices (such as the tablet 210) through the wireless communication module 260.

[0105] Mobile phone 230 implements display functionality through a GPU, display screen 294, and an application processor. The GPU is a microprocessor for image processing that connects display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 201 may include one or more GPUs that execute program instructions to generate or modify display information.

[0106] Mobile phone 230 can implement camera functionality through an ISP, camera 293, video codec, GPU, display 294, and application processor. The ISP processes data fed back by camera 293. Camera 293 is used to capture still images or video. In some embodiments, mobile phone 230 may include one or N cameras 293, where N is a positive integer greater than one.

[0107] The external memory interface 202 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 230. The external memory card communicates with the processor 201 through the external memory interface 202 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0108] The internal memory 221 can be used to store computer executable program code, which includes instructions. The processor 201 executes various functional applications and data processing of the mobile phone 230 by running the instructions stored in the internal memory 221. For example, in an embodiment of the present application, the processor 201 can execute instructions stored in the internal memory 221, and the internal memory 221 can include a program storage area and a data storage area.

[0109] In some embodiments, the data storage function of the data center in the mobile phone 230 is implemented by the internal memory 221.

[0110] The mobile phone 230 can implement audio functions such as music playback and recording through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone jack 270D, and the application processor.

[0111] The buttons 290 include a power button, a volume button, etc. The button 290 can be a mechanical button. It can also be a touch button. The motor 291 can generate a vibration prompt. The motor 291 can be used for an incoming call vibration prompt, or for touch vibration feedback. The indicator 292 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 295 is used to connect the SIM card. The SIM card can be inserted into the SIM card interface 295, or pulled out from the SIM card interface 295 to achieve contact and separation with the mobile phone 230. The mobile phone 230 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.

[0112] Furthermore, the software architecture of the electronic device may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture, which is not specifically limited in the present embodiment.

[0113] It is understandable that only after the electronic device enables the file sharing permission can the electronic device share the multimedia resources in its gallery with other electronic devices.

[0114] For example, mobile phone 230 may display interface 401 as shown in FIG4 . Interface 401 is the smart interconnection settings interface. Interface 401 includes settings for various smart interconnection services, such as application connection, call sharing, notification sharing, and keyboard and mouse sharing. It also includes a file sharing settings item 4011. File sharing settings item 4011 displays the text "Off," indicating that file sharing permissions are currently disabled. In response to a user clicking on file sharing settings item 4011, mobile phone 230 may display interface 402 as shown in FIG4 . Interface 402 is the file sharing settings interface. Interface 402 includes a file sharing switch 4021. In response to a user clicking on switch 4021, mobile phone 230 may enable file sharing permissions. For example, after enabling file sharing permissions, mobile phone 230 may display interface 403 as shown in FIG4 . Interface 403 is also a file sharing settings interface. Unlike interface 402, the file sharing switch 4031 in interface 403 is turned on. Subsequently, in response to the user returning to interface 403, mobile phone 230 may display interface 404. Interface 404 is also a setting interface for smart interconnection. Unlike interface 401, the text "Enabled" is displayed at the file sharing setting item 4041 in interface 404, indicating that the file sharing permission is currently enabled.

[0115] Other electronic devices (such as tablet 210 and smart screen 220) can also enable file sharing permissions according to a process similar to Figure 4, which will not be repeated here.

[0116] Currently, the permission to share files can be enabled by default in various electronic devices. In this case, the above-mentioned process of enabling the permission to share files can be omitted.

[0117] In the following, the application scheme is specifically described by taking accessing multimedia resources in the tablet 210 and the smart screen 220 in the mobile phone 230 as an example.

[0118] When the tablet 210 and the smart screen 220 have file sharing permissions enabled, the mobile phone 230 can access the multimedia resources in the tablet 210 and the smart screen 220 locally. Specifically, the mobile phone 230 can access the multimedia resources in the tablet 210 and the smart screen 220 through the album page (also called the first interface) in the gallery application, or the mobile phone 230 can access the multimedia resources in the tablet 210 and the smart screen 220 through the image selector (also called the picture selector, photo selector) in other applications other than the gallery application (such as a chat application, an image editing application, etc.). The following are respectively explained:

[0119] Exemplarily, the mobile phone 230 can display the interface 501 shown in Figure 5, which is the album page of the gallery application. The interface 501 includes not only the albums in the mobile phone 230, but also the options corresponding to the tablet 210 and the smart screen 220 discovered by the mobile phone 230. For example, the option corresponding to the tablet 210 is "S's Pad" 5011 in the interface 501, and the option corresponding to the smart screen 220 is "S's Smart Screen" 5012 in the interface 501. In the album page, the options of each electronic device can be used to trigger access to the multimedia resources of the electronic device. That is, the options of each electronic device are the entrance to access multimedia resources across devices.

[0120] Continuing with FIG5 , in response to a user selecting (e.g., clicking) "S's Pad" 5011 in interface 501, mobile phone 230 may establish a communication connection with tablet 210 and, based on the established communication connection, transmit album information from tablet 210, such as the album cover, album name, number of multimedia resources included in the album, thumbnails of the multimedia resources included in the album, etc. For example, during the process of establishing the communication connection and transmitting album information, mobile phone 230 may display interface 502 shown in FIG5 , which includes the text "Loading..." to prompt the user to wait. After the album information transmission is completed, mobile phone 230 may display interface 503 shown in FIG5 , which includes preview information of the albums from tablet 210, such as preview information for albums such as "All Photos," "Camera," and "My Favorites." The preview information includes the album name, album cover, and the number of multimedia resources in the album. For example, the number below the album name indicates the number of multimedia resources included in the corresponding album on tablet 210. Subsequently, the mobile phone 230 can access multimedia resources such as pictures and videos in various albums in the tablet 210.

[0121] In practice, if establishing a connection and transmitting the album information takes a very short time, then the interface prompting the user to wait may not be displayed, such as interface 502.

[0122] On the album page, the mobile phone 230 can always display the options (also called the first option) of the local device (also called the first device) and the options (also called the second option, the third option, etc.) of other devices (also called the second device, the third device, etc.), and display the preview information of the album on the device corresponding to the currently selected option. In this way, it is convenient to flexibly switch to access multimedia resources on the local device and other devices on the album page.

[0123] Continuing to refer to Figure 5, after the mobile phone 230 displays the interface 503, in response to the user's selection operation of "S's Smart Screen" 5012 in the interface 503, the mobile phone 230 can establish a connection with the smart screen 220 and transmit the album information in the smart screen 220 based on the established communication connection. After the transmission of the album information is completed, the mobile phone 230 can display the interface 504 shown in Figure 5. The interface 504 includes preview information of the albums in the smart screen 220, such as preview information of albums such as "All Photos", "Videos", and "My Favorites". Similarly, the preview information includes the album name, album cover, and the number of multimedia resources in the album. For example, the number below the album name indicates the number of multimedia resources included in the corresponding album in the smart screen 220. Subsequently, the mobile phone 230 can access multimedia resources such as pictures and videos in each album in the smart screen 220.

[0124] Obviously, in interfaces 501-504, there are always options for the local device (such as "Local" 5010), the tablet 210 option ("S's Pad" 5011), and the smart screen 220 option ("S's Smart Screen" 5012). In addition, if the currently selected option is the local option, the preview information of the album in the local device is displayed in the album page (as shown in interface 501); if the currently selected option is the tablet 210 option, the preview information of the album in the tablet 210 is switched to display in the album page (as shown in interface 503); if the currently selected option is the smart screen 220 option, the preview information of the album in the smart screen 220 is switched to display in the album page (as shown in interface 504).

[0125] For ease of explanation, the area on the album page that displays options for the device and options for other devices may be referred to as the first area, and the area that displays preview information of the album may be referred to as the second area.

[0126] As another example, the mobile phone 230 can display the interface 601 shown in Figure 6. The interface 601 is a conversation interface with Tom in the chat application. The interface 601 includes "Photos" 6011. In response to the user's selection operation on "Photos" 6011, the mobile phone 230 can display the interface 602 shown in Figure 6. The interface 602 is the interface of the image selector in the chat application. The interface 602 includes thumbnails of images in the mobile phone 230. In response to the operation of expanding more devices, such as clicking the inverted triangle 6021 to the right of "this device" in the interface 602, the mobile phone 230 can display the interface 603 shown in Figure 6 (also referred to as the first interface), which is also the interface of the image selector. However, unlike the interface 602, the interface 603 also includes options corresponding to the tablet 210 and the smart screen 220 discovered by the mobile phone 230. For example, the option corresponding to the tablet 210 is “S’s Pad” 6031 in the interface 603 , and the option corresponding to the smart screen 220 is “S’s Smart Screen” 6032 in the interface 603 .

[0127] Continuing to refer to Figure 6, in response to the user's selection operation (such as a click operation) on "S's Pad" 6031 in the interface 603, the mobile phone 230 can establish a communication connection with the tablet 210 and transmit the album information in the tablet 210 based on the established communication connection. Similarly, in the process of establishing a communication connection and transmitting album information, the mobile phone 210 may also prompt "Loading..." (this process is not shown in Figure 6). After obtaining the album information of the tablet 210, the mobile phone 230 can display the interface 604 shown in Figure 6, which includes the albums in the tablet 210, such as "All Photos", "Camera", "My Favorites", etc. Subsequently, the user can access multimedia resources such as pictures and videos in each album in the tablet 210 on the mobile phone 230.

[0128] Unless otherwise specified, the following description mainly uses the example of accessing multimedia resources on the tablet 210 and the smart screen 220 through the album page of the gallery application. However, the embodiment using the gallery application as an example can be combined with the content of other embodiments, for example, with the embodiment shown in FIG6.

[0129] When establishing a communication connection between the mobile phone 230 and the tablet 210 or smart screen 220, the connection may fail. In some embodiments, after the mobile phone 230 fails to establish a communication connection with the tablet 210 or smart screen 220, the mobile phone 230 may display the reason for the connection failure. The reasons for the failure include the communication channel being occupied by other services (such as the "keyboard and mouse sharing" service), the tablet 210 or smart screen 220 and the mobile phone 230 are no longer on the same network, etc.

[0130] Exemplarily, the mobile phone 230 can display the interface 701 shown in Figure 7A. The interface 701 includes the options "S's Pad" 7011 and "S's Smart Screen" 7012 of the tablet 210. When the mobile phone 230 is using the "keyboard and mouse sharing" service, in response to the user's selection operation of "S's Pad" 7011 in the interface 701, the mobile phone 230 can display the interface 702 shown in Figure 7A. Interface 702 is a prompt interface for failed connection. The interface 702 includes the prompt text "This machine is using keyboard and mouse sharing, please disconnect and try again". In addition, the interface 702 also includes reconnection controls, such as "Reload" 7021, which is used to trigger the mobile phone 230 to reestablish connection with the tablet 210.

[0131] It is understood that the mobile phone 230 can maintain connections with one or more devices at the same time. Of course, the number of devices that the mobile phone 230 can connect to at the same time is limited. For example, a maximum of a first number of devices can be connected simultaneously. After the number of devices connected to the mobile phone 230 reaches the first number, in response to the user selecting an option (also referred to as a second option) for another device (also referred to as a second device), the mobile phone 230 needs to first disconnect from one of the connected devices and then establish a connection with the other device.

[0132] In an exemplary scenario, the mobile phone 230 maintains connection with one or more devices at the same time, that is, a data transmission link has been established between the mobile phone 230 and the one or more devices, and the link has not been disconnected.

[0133] Among them, the mobile phone 230 can prompt the user to disconnect from a connected device (also called the fourth device) through the connection configuration window (also called the first window), and provide a selection control for the user to select the device to disconnect through the connection configuration window.

[0134] Taking the first number of 3 as an example, that is, the mobile phone 230 can connect to three devices at the same time. After the mobile phone 230 establishes a connection with the three devices (such as the tablet 210, the smart screen 220 and the mobile phone 710), the mobile phone 230 can display the interface 711 shown in Figure 7B. Interface 711 is an album page. Interface 711 includes an option "L's phone" 7111 for another mobile phone (such as mobile phone 720) that the mobile phone 230 has not yet established a connection. In response to the user's selection operation (such as a click operation) on "L's phone" 7111 in interface 711, the mobile phone 230 can display the interface 712 shown in Figure 7B. Interface 712 includes a prompt "Loading" 7121. During the display of interface 712, the mobile phone 230 is trying to establish a connection with the mobile phone 720. During the connection attempt, the mobile phone 230 can detect that the number of devices currently connected to the mobile phone 230 has reached 3. In this scenario, the mobile phone 230 may display the interface 713 shown in FIG. 7B , which includes a connection configuration window 7131 .

[0135] For example, the connection configuration window 7131 can be used to select the device to be disconnected. The connection configuration window 7131 includes a prompt message 7132, which is used to remind the user that the number of devices connected to the mobile phone 230 has reached the upper limit and that a connected device must be disconnected before accessing another device, such as the mobile phone 720.

[0136] In addition, the connection configuration window 7131 also includes options for connected devices and corresponding selection controls. There is a one-to-one correspondence between the options and selection controls for the connected devices. For example, the connection configuration window 7131 includes the option "S's Pad" 7133 for tablet 210, the option "S's Smart Screen" 7134 for smart screen 220, and the option "S's Phone" 7135 for mobile phone 710, as well as their corresponding selection controls. For example, the selection control for tablet 210 is control 7136.

[0137] Continuing with FIG7B , in response to the user clicking on control 7136, mobile phone 230 may determine that the user has instructed to disconnect from tablet 210 (i.e., has received a disconnection operation), and mobile phone 230 may disconnect from tablet 210. After disconnecting from tablet 210, mobile phone 230 establishes a connection with mobile phone 720, for example, establishing a data transmission link with mobile phone 720. Then, mobile phone 230 obtains information about multimedia resources in mobile phone 720, such as album information, from mobile phone 720 through the data transmission link. Afterwards, mobile phone 230 may display interface 714 shown in FIG7B , on which preview information of the albums in mobile phone 720 is displayed. Subsequently, mobile phone 230 may access multimedia resources such as pictures and videos in each album in mobile phone 720.

[0138] After mobile phone 230 is disconnected from a connected device (such as tablet 210 in the example shown in FIG7B ), in response to the user selecting the option of the disconnected device again, mobile phone 230 can reconnect to the disconnected device. Similarly, before reconnecting, if the number of connected devices exceeds the upper limit, mobile phone 230 also needs to disconnect from a connected device first. For details, please refer to FIG7B and will not be repeated here.

[0139] The connection configuration window also includes a cancel control. In response to the user clicking the cancel control, the mobile phone 230 can continue to maintain the connection with the connected device without establishing a connection with another device.

[0140] For example, after detecting that the number of devices currently connected to mobile phone 230 has reached the upper limit, mobile phone 230 may display interface 721 shown in FIG7C . Interface 721 includes a connection configuration window 7211, which includes a cancel control 7212. In response to the user clicking on cancel control 7212, mobile phone 230 may display interface 722 shown in FIG7C , which includes a prompt 7221 containing the text "Number of device connections exceeds the upper limit. Please disconnect and try again" to indicate that the number of connections has exceeded the upper limit.

[0141] In addition, the interface 722 may further include a reload control 7222 . In response to the user clicking the reload control 7222 , the mobile phone 230 may pop up the connection configuration window again, such as the display interface 721 .

[0142] In practice, the number of multiple electronic devices in the same trust ring can be more or less. For example, the number of multiple electronic devices is a small number such as 2 or 3; or, the number of multiple electronic devices is a large number such as more than 3. However, the options for electronic devices that can be displayed simultaneously in the album page are limited. Therefore, in the album page, the mobile phone 230 can display the options of electronic devices (such as tablet 210, smart screen 220) in order from front to back in the order of discovery time, so that the options of electronic devices are arranged regularly according to the discovery time, which makes it easier for users to find the corresponding options.

[0143] It should be noted that before displaying the album page, all electronic devices discovered by mobile phone 230 are considered to have been discovered simultaneously. For example, electronic devices discovered while mobile phone 230 is displaying the desktop or the photo page of the gallery application (the photo page includes local photos and can also be called the sixth interface) are considered to have been discovered simultaneously. Only during the display of the album page will electronic devices discovered by mobile phone 230 be discovered in a sequential order. Of course, during the display of the album page, mobile phone 230 may also discover at least two electronic devices simultaneously.

[0144] Furthermore, when displaying the album page, the mobile phone 230 can sort by preset device type and display the options of the electronic devices discovered at the same time, so that the options of the electronic devices discovered at the same time can also be arranged in sequence according to the device type, further facilitating the user to find the corresponding options from multiple electronic devices discovered at the same time. Among them, the device type includes multiple items of mobile phones, tablets, smart screens, and PCs. The preset device type sorting can be any combination of the order of the above-mentioned multiple device types. For example, the preset device type sorting is as follows: mobile phone, tablet, PC, smart screen.

[0145] Taking the preset device type order of mobile phone, tablet, PC, and smart screen as an example, before displaying the album page (e.g., while displaying the photo page of the gallery app), at time t1, mobile phone 230 discovers smart screen 220, and at time t2, mobile phone 230 discovers tablet 210. That is, tablet 210 and smart screen 220 can be considered to be discovered simultaneously. At time t3, in response to entering the album page, mobile phone 230 may display interface 801 shown in FIG8 . Interface 801 is the album page. In interface 801, option "S's Pad" 8011 for tablet 210 is displayed first, and option "S's Smart Screen" 8012 for smart screen 220 is displayed later. That is, the options for the simultaneously discovered tablet 210 and smart screen 220 are displayed in the preset device type order. After displaying interface 801, at time t4, mobile phone 230 discovers mobile phone 810. That is, mobile phone 230 first discovers tablet 210 and smart screen 220, and then discovers mobile phone 810. At time t5 after discovering mobile phone 810, mobile phone 230 can display interface 802 shown in Figure 8. The difference from interface 801 is that interface 802 includes a prompt "1 new device discovered, swipe left to view". Then, in response to the user's sliding operation from right to left in interface 802, mobile phone 230 can display interface 803. In interface 803, after "S's Pad" 8011 and "S's Smart Screen" 8012, the option "S's Mobile Phone 0" 8031 ​​for mobile phone 810 is also displayed. That is, the options of the tablet 210 and smart screen 220 discovered first are displayed in front, and the options of the mobile phone 810 discovered later are displayed in the back.

[0146] Furthermore, the electronic devices discovered simultaneously may include electronic devices of the same type. If the electronic devices discovered simultaneously include electronic devices of the same type (referred to as devices of the same type), mobile phone 230 may display options for devices of the same type according to their option names. For example, the options may be sorted alphabetically by their English initials.

[0147] Still taking the preset device type order of mobile phone, tablet, PC, and smart screen as an example, the electronic devices discovered at the same time include tablet 210, smart screen 220, and tablet 820. Then, when the mobile phone 230 displays the options of tablet 210, smart screen 220, and tablet 820, the options of smart screen 220 can be displayed after the options of tablet 210 and tablet 820. In addition, the option name of tablet 210 is "S's Pad" and the option name of tablet 820 is "C's Tablet". Among them, the first letter of "S's Pad" is S, and the first letter of "C's Tablet" is C, and C is before S. Then, the mobile phone 230 can display the options of tablet 810 before the options of tablet 210.

[0148] After displaying the albums in tablet 210 (also referred to as the second device) on the album page, in response to a user accessing any album (also referred to as the first album), mobile phone 230 may display a grid page of the album (also referred to as the second interface). Each grid in the grid page displays a thumbnail of a picture or video in the album.

[0149] For example, mobile phone 230 may display interface 901 shown in FIG9 . Interface 901 is an album page. Interface 901 includes albums stored in tablet 210, such as "All Photos," "Camera," and "My Favorites." In response to a user accessing the "Camera" (e.g., clicking on it), mobile phone 230 may display interface 902 shown in FIG9 . Interface 902 is a grid page of albums. Interface 902 includes thumbnails of multimedia resources such as pictures and videos stored in the tablet 210's "Camera."

[0150] After displaying the grid page, in response to a user viewing operation (hereinafter referred to as a click operation) on any thumbnail in the grid page (also referred to as a first thumbnail), mobile phone 230 can display a large image page (also referred to as a third interface) of the multimedia resource corresponding to the thumbnail (also referred to as the first multimedia resource). For example, in response to a user clicking on thumbnail 9021 in interface 902 shown in Figure 9, mobile phone 230 can display interface 903 shown in Figure 9, which includes the multimedia resource corresponding to thumbnail 9021.

[0151] It is understood that after displaying the multimedia resource corresponding to the thumbnail, mobile phone 230 can return to the grid page in response to the user's return operation. For example, if the return operation is a click on the return button 9031 in interface 903 shown in Figure 9, in response to the user clicking the return button 9031 in interface 903 shown in Figure 9, mobile phone 230 can display interface 902 shown in Figure 9.

[0152] Next, in response to the user's return operation on the grid page, mobile phone 230 can return to the album page. Taking the return operation as an example of clicking the return button 9022 in interface 902 shown in Figure 9, in response to the user clicking the return button 9022 in interface 902 shown in Figure 9, mobile phone 230 can display interface 901 shown in Figure 9.

[0153] The example of FIG. 9 above illustrates the response of the mobile phone 230 to the user's operation when there is a communication connection between the mobile phone 230 and the tablet 210 .

[0154] In some scenarios, the tablet 210 may be disconnected from the mobile phone 230. For example, after the tablet 210 is away from the mobile phone 230, it may be disconnected from the mobile phone 230. After the mobile phone 230 and the tablet 210 establish a connection, the data middle platform 1 can detect whether the mobile phone 230 and the tablet 210 are disconnected. Referring to Figure 10, if a disconnection is detected between the mobile phone 230 and the tablet 210, the data middle platform 1 sends a disconnection notification to the gallery application or other applications. The disconnection notification is used to indicate that the gallery application or other applications are not allowed to access the data middle platform 1. In this way, after the tablet 210 is disconnected from the mobile phone 230, the gallery application or other applications no longer have the permission to access the data middle platform 1, and thus can no longer obtain information about multimedia resources in the tablet 210 from the data middle platform 1, which can ensure the security of the data in the tablet 210.

[0155] Especially when other applications are provided by external manufacturers other than the developer of mobile phone 230 (referred to as external applications or third-party applications, such as chat applications provided by external manufacturers), the processing method shown in Figure 10 can ensure that after the mobile phone 230 is disconnected from the tablet 210, the external application cannot continue to obtain information about multimedia resources in the tablet 210. It is understandable that compared with system applications such as the gallery application and the note application, the security of external applications is lower. Therefore, the processing method shown in Figure 10, especially for external applications, can more effectively protect the data security in the tablet 210.

[0156] The following will still use the Gallery app as an example to illustrate the response process after a disconnection. The implementation process for other apps is similar; simply replace the Gallery app with another app. This article will not elaborate on this process.

[0157] Furthermore, when the mobile phone 230 and the tablet 210 are disconnected (such as after the gallery application receives the disconnection notification), the gallery application can also respond accordingly based on the currently displayed interface and whether the mobile phone 230 can discover the tablet 210, so as to ensure that after the tablet 210 and the mobile phone 230 are disconnected, the information of excessive multimedia resources in the tablet 210 is not presented to the user.

[0158] In case 1, the currently displayed interface is the album page in the gallery application, and the album page includes the albums in the tablet 210 .

[0159] After the mobile phone 230 establishes a communication connection with the tablet 210, the mobile phone 230 (the gallery application therein) can display the interface 1101 shown in Figure 11. The interface 1101 is the album page of the gallery application. The currently selected option in the interface 1101 is "S's Pad" 11011 of the tablet 210, and the interface 1101 includes the album in the tablet 210. That is, the album page includes the album in the tablet 210. During the process of the mobile phone 230 (the gallery application therein) displaying the interface 1101, the mobile phone 230 and the tablet 210 are disconnected. At this point, the album information of the album in the tablet 210 should still be stored in the cache of the gallery, and the album in the tablet 210 can continue to be displayed.

[0160] After mobile phone 230 and tablet 210 are disconnected, if mobile phone 230 can no longer discover tablet 210, in response to receiving the disconnection notification, mobile phone 230 (the gallery application therein) will display interface 1102 shown in FIG11. Interface 1102 is still an album page, but interface 1102 no longer includes the options for tablet 210 or the albums on tablet 210.

[0161] After phone 230 and tablet 210 are disconnected, if phone 230 can still discover tablet 210, in response to receiving the disconnection notification, phone 230 (the gallery application in the phone) will display interface 1103 shown in FIG11. Interface 1103 is also an album page, which includes the option "S's Pad" for tablet 210, but does not include the albums in tablet 210. Instead, it displays the message "Device connection disconnected, please reload."

[0162] That is, after detecting that the mobile phone 230 is disconnected from the tablet 210 , the mobile phone 230 does not continue to display the album in the tablet 210 on the album page, thereby preventing the user from obtaining information about the album in the tablet 210 .

[0163] In case 2, the currently displayed interface is a grid page, and the grid page includes thumbnails of multimedia resources included in an album of the tablet 210 .

[0164] After the mobile phone 230 establishes a communication connection with the tablet 210, the mobile phone 230 (the gallery application therein) can display the interface 1201 shown in Figure 12, which is a grid page. Interface 1201 includes thumbnails of multimedia resources in the "Camera" album of the tablet 210, such as thumbnail 12011. That is, the grid page includes thumbnails of multimedia resources included in an album of the tablet 210. During the process of the mobile phone 230 (the gallery application therein) displaying the interface 1201, the mobile phone 230 and the tablet 210 are disconnected. In response to discovering the disconnection, the mobile phone 230 (the gallery application therein) can continue to use the information in the cache of the gallery application to display the grid page, such as continuing to display interface 1201.

[0165] After mobile phone 230 and tablet 210 are disconnected, in response to a user clicking on thumbnail 12011 in interface 1201, mobile phone 230 (the gallery application within) is unable to obtain more image information corresponding to thumbnail 12011 and is unable to display the large image page. Instead, it displays interface 1202 shown in FIG12 . Interface 1202 is also a grid page and includes a message "Device Disconnected" to indicate that mobile phone 230 is disconnected from tablet 210 and is unable to obtain more image information for display.

[0166] After mobile phone 230 and tablet 210 are disconnected, if mobile phone 230 can no longer find tablet 210, in response to the user clicking back button 12012 on interface 1201, mobile phone 230 (the gallery application) displays interface 1203 shown in FIG12. Interface 1203 is an album page, but does not include options for tablet 210 or the albums on tablet 210.

[0167] After phone 230 and tablet 210 are disconnected, if phone 230 can still find tablet 210, in response to the user clicking back button 12012 in interface 1201, phone 230 (the gallery application) will display interface 1204 shown in FIG12 . Interface 1204 is the photo album page, which includes the option "S's Pad" for tablet 210 but does not include the photo albums on tablet 210. Instead, it displays the message "Device disconnected, please reload."

[0168] That is, after detecting that the mobile phone 230 is disconnected from the tablet 210 , the mobile phone 230 no longer provides the user with a service for viewing the multimedia resources corresponding to the thumbnails, thereby preventing the user from obtaining the multimedia resources in the tablet 210 .

[0169] In case 3, the currently displayed interface is a large image page, which may include a multimedia resource in the tablet 210 .

[0170] After the mobile phone 230 establishes a communication connection with the tablet 210, the mobile phone 230 (the gallery application therein) can display the interface 1301 shown in Figure 13, which is a large image page. Interface 1301 includes a picture 13011 in the "Camera" of the tablet 210. That is, the large image page includes a multimedia resource in the tablet 210. During the process of the mobile phone 230 (the gallery application therein) displaying interface 1301, the mobile phone 230 and the tablet 210 are disconnected. In response to discovering the disconnection, the mobile phone 230 (the gallery application therein) can continue to use the information in the cache of the gallery application to display the large image page, but at this time, the large image page may prompt that the device has been disconnected. For example, the mobile phone 230 (the gallery application therein) can display the interface 1302 shown in Figure 13. Unlike interface 1301, interface 1302 includes the prompt "Device disconnected."

[0171] After the mobile phone 230 and the tablet 210 are disconnected, if the mobile phone 230 can no longer detect the tablet 210, then in response to the user clicking the return button 13021 in the interface 1302 (i.e., the return operation to the large picture page), the mobile phone 230 (the gallery application in it) will not continue to use the information in the gallery application cache to display the grid page, that is, it will not return to the grid page, but will directly return to the album page (also called the fourth interface), such as the interface 1303 shown in Figure 13. The interface 1303 is the album page, but the interface 1303 does not include the option "S's Pad" for the tablet 210.

[0172] After phone 230 and tablet 210 are disconnected, if phone 230 can still find tablet 210, in response to the user clicking back button 13021 on screen 1302, phone 230 (the gallery application) displays screen 1304, shown in Figure 13. Screen 1304 is the photo album page, which includes the option "S's Pad" for tablet 210. However, it does not include the photo albums on tablet 210. Instead, it displays the message "Device disconnected, please reload."

[0173] That is to say, after detecting that the mobile phone 230 is disconnected from the tablet 210, in response to the operation of returning to the grid page (such as clicking the return button 13021 in the interface 1302), the mobile phone 230 will not return to the grid page, but will directly return to the album page, and will not provide the albums in the tablet 210 on the album page.

[0174] At this point, it should be noted that there is a certain delay when the data middle station 1 detects whether the mobile phone 230 and the tablet 210 are disconnected. For example, the data middle station 1 detects whether the connection is disconnected once every 2 minutes, but the mobile phone 230 and the tablet 210 are disconnected at the moment between the two detections, that is, the delay is 1 minute. During this delay (also referred to as the second moment), the data middle station 1 will not send a disconnection notification to the gallery application, and the gallery application can continue to access the data middle station 1 to obtain information about multimedia resources in the tablet 210. Therefore, during this delay, the mobile phone 230 can also respond in the same way as before the mobile phone 230 and the tablet 210 are disconnected, such as continuing to display the album page of the album including the tablet 210, continuing to enter the grid page to view thumbnails, and normally returning to the grid page from the large picture page.

[0175] For example, the mobile phone 230 (the gallery application therein) can display the interface 1401 shown in FIG14 , which includes a picture in the tablet 210. During the display of the interface 1401, the mobile phone 230 is disconnected from the tablet 210, but the mobile phone 230 has not yet detected the disconnection from the tablet 210. In this case, in response to the user clicking the return button 14011 in the interface 1401, the mobile phone 230 (the gallery application therein) can continue to obtain the information required to display the grid page from the data center 1 or from the cache of the gallery application, thereby displaying the interface 1402 shown in FIG14 . The interface 1402 is a grid page, which includes thumbnails of multimedia resources in the "camera" of the tablet 210. Next, in response to the user clicking the return button 14021 in the interface 1402, the mobile phone 230 (the gallery application in it) can continue to obtain the information required to display the album page from the data center 1 or from the cache of the gallery application, thereby displaying the interface 1403 shown in FIG14. The interface 1403 is the album page, which includes the option "S's Pad" of the tablet 210 and the album in the tablet 210. That is, when the mobile phone 230 is disconnected from the tablet 210, but the mobile phone 230 has not yet detected the disconnection with the tablet 210, the mobile phone 230 can normally return from the large picture page to the grid page, and further return from the grid page to the album page, and the album page includes the options and albums of the tablet 210.

[0176] That is, only after the mobile phone 230 is disconnected from the tablet 210 and the disconnection is detected (recorded as the first moment), the mobile phone 230 will respond according to the above-mentioned situations 1 to 3.

[0177] After displaying the grid page, in response to the user clicking on any thumbnail in the grid page, the mobile phone 230 can obtain the information of the multimedia resource and display the large picture page (such as interface 1502, interface 1602, interface 1702 and interface 1703 below) by matching the resource type of the multimedia resource corresponding to the thumbnail.

[0178] The types of multimedia resources include static images, dynamic images (also called live images), and videos. Dynamic images include a static image and a video within a preset length (such as 1.5 seconds) before and after the static image is taken. The following are respectively explained:

[0179] First, static images.

[0180] In response to the user clicking on a thumbnail of a static image in the grid page, the mobile phone 230 may display a large image of the static image.

[0181] In some embodiments, the mobile phone 230 (such as through the data middle platform 1) obtains the large image information of the static image from the tablet 210, and after obtaining the large image information, displays the large image of the static image based on the large image information.

[0182] It should be noted that the large image of a static image is not the original image of the static image, but a thumbnail that is larger than the thumbnail size displayed on the grid page. For example, the grid page displays a thumbnail of a first size, while the large image page displays a thumbnail of a second size, where the first size is smaller than the second size.

[0183] Taking the grid page as interface 1501 shown in FIG15 as an example, interface 1501 includes thumbnail 15011. Thumbnail 15011 is a thumbnail of a static image. In response to a user clicking thumbnail 15011 in interface 1501, mobile phone 230 can obtain the large image information corresponding to thumbnail 15011 from tablet 210. After obtaining the large image information, mobile phone 230 can display interface 1502 shown in FIG15. Interface 1502 includes a large image 15021 corresponding to thumbnail 15011.

[0184] That is to say, for a static picture, in response to a viewing operation by the user, the mobile phone 230 mainly obtains the large picture information of the static picture from the tablet 210 .

[0185] Second, dynamic pictures.

[0186] In response to a user clicking on a thumbnail of a dynamic image in the grid page, the mobile phone 230 may display the original image of the dynamic image. Specifically, the mobile phone 230 may first display the original image of the static image in the dynamic image, and then play the video in the dynamic image in response to the user playing the static image.

[0187] In some embodiments, the mobile phone 230 (e.g., through the data center 1) obtains the original image information of the static image and the original image information of the video in the dynamic image from the tablet 210. Subsequently, the mobile phone 210 displays the original image of the static image based on the original image information of the static image, and plays the video based on the original image information of the video.

[0188] Taking the grid page as interface 1601 shown in FIG16 as an example, interface 1601 includes thumbnails 16011. A dynamic image icon 16012 is included in the lower left corner of thumbnail 16011, indicating that the multimedia resource corresponding to thumbnail 16011 is a dynamic image. In response to a user clicking thumbnail 16011 in interface 1601, mobile phone 230 can obtain the original image information of the static image and video corresponding to the dynamic image of thumbnail 16011.

[0189] After acquiring the original image information of the static image and video included in the dynamic image, mobile phone 230 may display interface 1602 shown in FIG16. Interface 1602 includes a static image 16021 of the dynamic image corresponding to thumbnail 16011. After interface 1602 is displayed, in response to a user's play operation (e.g., a long press operation) on static image 16021 in interface 1602, mobile phone 230 may play the video of the dynamic image corresponding to thumbnail 16011 in interface 1602.

[0190] That is, for dynamic pictures, in response to the user's viewing operation, the mobile phone 230 obtains the original image information of the static pictures and videos included in the dynamic pictures. It is understandable that the data volume of the video of the dynamic picture (usually only 2-3 seconds) is usually small. Therefore, after receiving the user's viewing operation, the mobile phone 230 obtains the original image information and does not occupy too many resources. In addition, the static pictures and videos in the dynamic picture are a whole, and the user usually needs to view the overall effect. Therefore, after receiving the user's viewing operation, the mobile phone 230 obtains the original image information, which can facilitate the user to view the complete dynamic picture.

[0191] Third, video.

[0192] In response to a user clicking on a video thumbnail in the grid page, the mobile phone 230 may display the video cover. In some embodiments, the mobile phone 230 (e.g., the data center 1) obtains the video cover information from the tablet 210 and displays the video cover based on the obtained cover information.

[0193] It should be noted that the cover of the video is not the original image, but a thumbnail that is larger than the thumbnail displayed in the grid page.

[0194] Taking interface 1701 shown in FIG17A as an example, interface 1701 includes a thumbnail 17011. The lower left corner of thumbnail 17011 includes the video duration "00:10." That is, the multimedia resource corresponding to thumbnail 17011 is a video. In response to a user clicking thumbnail 17011 in interface 1701, mobile phone 230 can obtain the cover information of the video corresponding to thumbnail 17011. After obtaining the cover information, mobile phone 230 can display interface 1702 shown in FIG17A. Interface 1702 includes cover 17021 of the video corresponding to thumbnail 17011.

[0195] After displaying the video cover, in response to the user's operation to play the video, the mobile phone 230 can play the video. In some embodiments, the mobile phone 230 (such as the data center 1) obtains the original image information of the video from the tablet 210 and plays the video after obtaining the original image information.

[0196] Continuing with the example of Figure 17A, after the mobile phone 230 displays the interface 1702 shown in Figure 17A, in response to the user clicking the play button 17022 in the interface 1702, the mobile phone 230 can obtain the original image information of the video corresponding to the thumbnail 17011 in the tablet 210. After obtaining the original image information, the mobile phone 230 can play the video corresponding to the thumbnail 17011, as shown in the interface 1703 in Figure 17A, and start playing the video 17031.

[0197] That is, for a video, in response to a user's viewing operation, mobile phone 230 first obtains the video's cover information from tablet 210. Then, in response to the user's play operation, mobile phone 230 further obtains the video's original image information from tablet 210. As can be appreciated, videos are large in data size. Therefore, after receiving the user's viewing operation, mobile phone 230 first obtains the cover information to avoid excessive resource usage in a short period of time.

[0198] In addition, after displaying the large image page, in response to the user's left or right swipe operation, the mobile phone 230 can also switch to display different multimedia resources. Taking a right swipe operation as an example, the mobile phone 230 can display interface 1711 shown in Figure 17B, which includes a video 17111 (such as a video cover). In response to the user's right swipe operation on interface 1711, the mobile phone 230 can display interface 1712 shown in Figure 17B, which displays a dynamic image 17121 (such as a static image of a dynamic image). In response to the user's right swipe operation on interface 1712, the mobile phone 230 can display interface 1713 shown in Figure 17B, which displays a static image 17131 (such as a large version of a static image). Furthermore, if a new image is generated in the "Camera" album of the tablet 210, in response to the user's right swipe operation on interface 1713, the mobile phone 230 can also display interface 1714 shown in Figure 17B, which displays the new image. In response to the user's right sliding operation in the interface 1713 , the mobile phone 230 may obtain information of a new image from the tablet 210 , thereby displaying the new image.

[0199] After displaying the grid page, or in response to the user viewing operation of any thumbnail in the grid page, the mobile phone 230 obtains and displays the information of the multimedia resource, and then the mobile phone 230 can share, save, copy, edit, etc. the multimedia resource.

[0200] In a specific implementation, in response to a user viewing operation on any thumbnail in the grid page, mobile phone 230 may display operation controls for the multimedia resource. The operation controls include at least one of the following: an operation control for a share operation, an operation control for a save operation (also referred to as a save control), an operation control for a copy operation (also referred to as a copy control), and an operation control for an edit operation.

[0201] For example, the bottom of the interface 1502 shown in Figure 15, the bottom of the interface 1602 shown in Figure 16, and the bottom of the interface 1702 and the interface 1703 shown in Figure 17A all include the operation control "Share" for the sharing operation, the operation control "Save" for the saving operation, the operation control "Copy" for the copy operation, the operation control "Edit" for the editing operation, etc.

[0202] Subsequently, in response to the user's selection operation on the operation control, the mobile phone 230 may perform a corresponding operation on the multimedia resource corresponding to the thumbnail, such as sharing, editing, saving, copying, etc.

[0203] In another specific implementation, after displaying the grid page, mobile phone 230 may receive a user selection operation on the grid page. The selection operation may be a user long-pressing any thumbnail in the grid page, or a user clicking a preset control in the grid page (used to trigger mobile phone 230 to display a selection control and operation options). The following description primarily uses the example of a user long-pressing any thumbnail in the grid page as an example.

[0204] In response to a user selecting a grid page, mobile phone 230 may display a selection control within each thumbnail in the grid page, as well as operation options within the grid page. The selection control triggers mobile phone 230 to select the corresponding thumbnail. In this implementation, the operation options also include a select all control and a create control. The select all control is used to select thumbnails in batches, while the create control is used to create a video using the selected images.

[0205] Taking the grid page as interface 1801 shown in FIG18 as an example, in response to the user's long press operation on the thumbnail 18011 in interface 1801, mobile phone 230 can display interface 1802 shown in FIG18. Interface 1802 is still a grid page, but different from interface 1801 in that each thumbnail in interface 1802 includes a selection control, such as thumbnail 18011 includes a selection control 18021. In addition, the bottom of interface 1802 also includes an operation control "Share" 18022 for the sharing operation, an operation control "Save" 18023 for the saving operation, an operation control "Copy" 18024 for the copy operation, an operation control "Create" 18025 for the creation operation, and an operation control "Select All" 18026 for the select all operation.

[0206] In one specific implementation, in response to a user long-pressing any thumbnail in the grid, mobile phone 230 can not only display a selection control and operation options, but also select the thumbnail. Continuing with the example of FIG18 , in response to a user long-pressing thumbnail 18011 in interface 1801, selection control 18021 for thumbnail 18011 in interface 1802 displayed by mobile phone 230 is in a selected state, indicating that thumbnail 18011 is selected.

[0207] After a selection control or a select-all operation control is displayed on the grid page, in response to a user selecting a thumbnail in the grid page, mobile phone 230 can select the corresponding thumbnail. Subsequently, in response to the user selecting the operation control, mobile phone 230 can perform a corresponding operation on the multimedia resource corresponding to the thumbnail, such as sharing, editing, saving, copying, etc.

[0208] Continuing with the example of FIG18 , after displaying interface 1802 shown in FIG18 , mobile phone 230 may display interface 1803 shown in FIG18 in response to a user selecting thumbnail 18027 in interface 1802 . Thumbnails 18011 and 18027 are selected in interface 1803 . Subsequently, in response to a user selecting "Share," "Save," or "Copy" at the bottom of interface 1803 , mobile phone 230 may be triggered to share, save, or copy the multimedia resources corresponding to thumbnails 18011 and 18027 , respectively.

[0209] The following mainly takes the example of the mobile phone 230 saving and copying multimedia resources in response to the user's selection operation of the operation control in the large picture page as an example to illustrate the operation of the mobile phone 230 on the multimedia resources.

[0210] It is understood that whether saving or copying a multimedia resource, both operations are performed on the original image information of the multimedia resource. Therefore, in response to the user selecting the operation control for the save operation or the operation control for the copy operation, the mobile phone 230 can first obtain the original image information of the multimedia resource and then perform operations on the original image information.

[0211] In practice, before the mobile phone 230 receives the user's selection operation for the operation control of the save operation or the operation control of the copy operation, the mobile phone 230 may have already obtained the original image information of the multimedia resource (as shown in the examples of Figures 16 and 17A above). For example, in the example of Figure 16 above, the mobile phone 230 has already obtained the original image information of the dynamic picture. For another example, in the example of Figure 17A above, the mobile phone 230 has already obtained the original image information of the video. After obtaining the original image information, the mobile phone 230 can save the original image information locally (such as in the data center 1 or the gallery application).

[0212] It is understandable that obtaining the original image information of the multimedia resource locally is faster than obtaining the original image information from the tablet 210 .

[0213] Based on this, in some embodiments, after receiving the user's selection operation on the operation control for the save operation or the operation control for the copy operation, the mobile phone 230 can first detect whether the local cache includes the original image information of the multimedia resource to be saved or copied. If the local cache includes the original image information of the multimedia resource to be saved or copied, the locally stored original image information can be directly obtained for processing. If the local cache does not include the original image information of the multimedia resource to be saved or copied, the original image information of the multimedia resource to be saved or copied in the tablet 210 can be obtained and processed after obtaining the original image information. In this way, if there is a local cache, the saving or copying time can be shortened.

[0214] Among them, if the local area does not include the original image information of the multimedia resources to be saved or copied, it will take a long time to obtain the original image information, and the mobile phone 230 can prompt that the file is being transferred; if the local area includes the original image information of the multimedia resources to be saved or copied, the original image information can be quickly obtained and processed, and the mobile phone 230 does not need to prompt that the file is being transferred.

[0215] The following takes the saving process of static pictures, dynamic pictures and videos as examples to illustrate:

[0216] Example 1: Saving a static image.

[0217] Mobile phone 230 can display interface 1901 shown in Figure 19. Interface 1901 includes a large image of a static image in tablet 210 and "Save" 19011. "Save" 19011 is used to trigger mobile phone 230 to perform a save operation. In response to the user's selection of "Save" 19011 in interface 1901, mobile phone 230 can detect whether the local file contains the original image information of the static image. Generally, at this time, mobile phone 230 has not yet obtained the original image information of the static image (as described in Figure 10 and its related text above). In other words, mobile phone 230 can detect that the local file does not contain the original image information of the static image, and mobile phone 230 needs to obtain the original image information of the static image in tablet 210. For example, mobile phone 230 can display interface 1902 shown in Figure 19. Interface 1902 includes the prompt text "Transferring..." to indicate that the file is being transferred. After obtaining the original image information of the static picture, the mobile phone 230 may display the interface 1903 shown in FIG. 19 , which includes a prompt text “saved to the local “from S’s Pad” album” to indicate that the saving is successful.

[0218] Example 2: Saving dynamic images.

[0219] Mobile phone 230 may display interface 2001 shown in FIG. Interface 2001 includes the original image of a dynamic image on tablet 210 and a "Save" button 20011. "Save" button 20011 triggers mobile phone 230 to execute a save operation. In response to the user selecting "Save" button 20011 in interface 2001, mobile phone 230 may detect whether the original image information of the dynamic image is locally stored. Typically, mobile phone 230 has already acquired the original image information of the dynamic image (as described in FIG. 11 and its associated text). In other words, mobile phone 230 can detect that the original image information of the dynamic image is locally stored. Mobile phone 230 can then quickly acquire and save the original image information of the dynamic image locally. For example, mobile phone 230 may display interface 2002 shown in FIG. Interface 2002 includes the prompt text "Saved to local "From S's Pad" album" to indicate that the save was successful.

[0220] Example 3: Saving a video.

[0221] Mobile phone 230 may display interface 2101 shown in FIG. Interface 2101 includes the cover of a video on tablet 210 and a "Save" button 21011. "Save" 21011 triggers mobile phone 230 to execute a save operation. In response to the user selecting "Save" 21011 on interface 2101, mobile phone 230 may detect whether the original image information of the video is locally stored. Typically, when mobile phone 230 displays interface 2101, the video has not yet been played, and mobile phone 230 has not yet obtained the original image information of the video (as described in FIG. 12 and its related text). In other words, mobile phone 230 may detect that the original image information of the video is not locally stored, and mobile phone 230 needs to obtain the original image information of the video from tablet 210. For example, mobile phone 230 may display interface 2102 shown in FIG. Interface 2102 includes the prompt text "Transferring..." to indicate that the file is being transferred. After obtaining the original image information of the video, the mobile phone 230 may display the interface 2103 shown in FIG. 21 , which includes a prompt text “saved to the local “from S’s Pad” album” to indicate that the video has been saved successfully.

[0222] However, after displaying interface 2101 shown in FIG. 21 , in response to a user clicking play button 21012 in interface 2101 , mobile phone 230 can retrieve the original image information of the video from tablet 210 and play the video based on the original image information. For example, after acquiring the original image information of the video, mobile phone 230 can display interface 2104 shown in FIG. 21 , in which the video is currently playing. Interface 2104 includes a "Save" button 21041 . In response to the user selecting "Save" 21041 in interface 2104 , mobile phone 230 can detect whether the original image information of the video is locally stored. Typically, when mobile phone 230 displays interface 2104 , the video is already playing, and mobile phone 230 has already acquired the original image information of the video. That is, mobile phone 230 can detect that the original image information of the video is locally stored. Therefore, mobile phone 230 can quickly acquire and save the original image information of the video locally. For example, the mobile phone 230 may display the interface 2103 shown in FIG. 21 .

[0223] In response to the user's save operation, the mobile phone 230 can save multimedia resources to the local device. Specifically, when the mobile phone 230 saves multimedia resources from the tablet 210 for the first time, the mobile phone 230 can create a target album 1 (also called the second album) in the local gallery, and subsequently all multimedia resources from the tablet 210 can be saved to the target album 1. The target album 1 can be named in the format of "from" + "device name". For example, if the device name of the tablet 210 is S's Pad, the multimedia resources from the tablet 210 can be saved to the "from S's Pad" album.

[0224] For example, before the multimedia resources in tablet 210 are saved to mobile phone 230, mobile phone 230 may display interface 2201 shown in FIG22 . Interface 2201 does not include the "From S's Pad" album. After the multimedia resources in tablet 210 are saved to mobile phone 230, mobile phone 230 may display interface 2202 (also referred to as the fifth interface) shown in FIG22 . Interface 2202 includes "From S's Pad" album 22021. "From S's Pad" album 22021 includes the multimedia resources from tablet 210 saved by mobile phone 230.

[0225] Furthermore, as multimedia resources from the tablet 210 are continuously saved, the multimedia resources in the target album 1 may continue to increase.

[0226] The gallery of the mobile phone 230 usually includes two types of albums: system albums and self-built albums. Among them, the system album refers to the album automatically created by the mobile phone 230, such as "All Photos", "Albums", "My Favorites", "Screenshots and Recordings", "Record Multiple Photos", and "Video Editing" in the interface 2202 are all system albums. In contrast to the system album, the self-built album is the album created by the mobile phone 230 based on the user's operation of creating an album, such as "Self-built Album 1" and "Self-built Album 2" in the interface 2202 are all self-built albums. Normally, the system album is located before the self-built album. It is understandable that the user can also adjust the arrangement order of multiple albums in the gallery so that some or all of the self-built albums are located before at least one system album.

[0227] In some embodiments, the mobile phone 230 can save the target album 1 to the gallery of the mobile phone 230, after the last system album. In this way, it is convenient for the user to find the target album 1 after the system album.

[0228] In addition, if the mobile phone 230 stores multimedia resources from both the tablet 210 and the smart screen 220, the mobile phone 230 can save the target album 1 created later in the order in which the target album 1 was created, and save the target album 1 created earlier in the order in which the target album 1 was created.

[0229] Furthermore, after the device name of the tablet 210 is changed, when the mobile phone 230 saves multimedia resources from the tablet 210 again, it needs to recreate the target album 1.

[0230] Figures 19-22 above only illustrate the saving process. During the saving process, in response to the user's save operation, mobile phone 230 needs to obtain the original image information of the multimedia resource to be saved. During the copying process, in response to the user's copy operation, mobile phone 230 can first provide candidate albums for the user to select. In response to the user's selection of target album 2 (also referred to as the second album) from the candidate albums, mobile phone 230 will obtain the original image information of the multimedia resource to be copied and copy the original image information to target album 2.

[0231] For example, mobile phone 230 may display interface 2301 shown in FIG23 . Interface 2301 includes a large image of a static image on tablet 210 and a "Copy" button 23011. "Copy" button 23011 is used to trigger mobile phone 230 to perform a copy operation. In response to the user selecting "Copy" 23011 in interface 2301, mobile phone 230 may display interface 2302 shown in FIG23 . Interface 2302 includes candidate albums, such as "All Photos," "Camera," "Self-built Album 1," "Self-built Album 2," and so on. In response to the user selecting "Self-built Album 2" in interface 2302 (i.e., target album 2 is "Self-built Album 2"), mobile phone 230 may obtain the original image information of the static image. For example, mobile phone 230 may display interface 2303 shown in FIG23 , which includes the prompt text "Transferring..." to indicate that a file is being transferred. After obtaining the original image information of the static picture, the mobile phone 230 may display an interface 2304 shown in Figure 23. The interface 2304 includes a prompt text "saved to the local "self-built album 2"" to indicate that the copy is successful.

[0232] FIG23 illustrates the copying process for a static image. It will be appreciated that if the multimedia resource to be copied is a dynamic resource, mobile phone 230 can quickly retrieve the original image information of the dynamic image from its local storage after receiving the user's selection of target album 2. Therefore, mobile phone 230 can directly display a successful copy screen. For details on this process, please refer to the description of FIG20 above. If the multimedia resource to be copied is a video, and mobile phone 230 receives the user's copy operation before playing the video, mobile phone 230 needs to retrieve the original image information of the video from tablet 210 after receiving the user's selection of target album 2. Therefore, mobile phone 230 can first display a screen indicating that text is being transferred, and then display a successful copy screen after the acquisition is complete. If the multimedia resource to be copied is a video, and mobile phone 230 receives the user's copy operation after playing the video, mobile phone 230 can quickly retrieve the original image information of the dynamic image from its local storage after receiving the user's selection of target album 2. Therefore, mobile phone 230 can directly display a successful copy screen. For details on this process, please refer to the description of FIG21 above.

[0233] After the copy is successful, in response to the user's access operation to the target album 2, the mobile phone 230 can display the grid page of the target album 2. The grid page of the target album 2 includes the multimedia resources that have been copied successfully.

[0234] For example, if target album 2 is "Self-Created Album 2" on mobile phone 230, before copying multimedia resources from tablet 210 to "Self-Created Album 2" on mobile phone 230, mobile phone 230 may display interface 2401 shown in FIG24 . Interface 2401 includes "Self-Created Album 2" 24011, and the number of multimedia resources included in "Self-Created Album 2" 24011 is 22. After copying the multimedia resources from tablet 210 to "Self-Created Album 2" on mobile phone 230, mobile phone 230 may display interface 2402 shown in FIG24 . Interface 2402 includes "Self-Created Album 2" 24021. Unlike "Self-Created Album 2" 24011 in interface 2401, the cover of "Self-Created Album 2" 24021 in interface 2402 has changed, and the number of multimedia resources included in "Self-Created Album 2" 24021 has been updated to 23. That is, one multimedia resource is added to the “self-built photo album 2” 24021 , with a thumbnail as shown on the cover of the “self-built photo album 2” 24021 .

[0235] In practice, when mobile phone 230 retrieves the original image information of multimedia resources on tablet 210, such as when a user views a thumbnail in a grid page or selects an operation control, the retrieval may fail. For example, a packet loss during transmission may cause the retrieval to fail. In this case, mobile phone 230 may indicate a transmission failure.

[0236] For example, while mobile phone 230 is acquiring raw image information from tablet 210, mobile phone 230 may display interface 2501 shown in FIG25 . Interface 2501 includes the prompt text "Transferring..." to indicate that the file is being transferred. If the transfer fails, mobile phone 230 may display interface 2502 shown in FIG25 . Interface 2502 includes the prompt text "Device connection abnormality, transfer failed" to indicate that the transfer failed.

[0237] After the original image information fails to be obtained, in response to the operation of returning to the grid page, the mobile phone 230 can display the grid page normally. In response to the operation of continuing to return, the mobile phone 230 can also display the album page normally, and the album page includes the albums in the tablet 210.

[0238] Continuing with the example of Figure 25 , in response to a user clicking on return control 25021 in interface 2502, mobile phone 230 may display interface 2503 shown in Figure 25 . Interface 2503 is a grid page. In response to a user clicking on return control 25031 in interface 2503, mobile phone 230 may display interface 2504 shown in Figure 25 . Interface 2504 is an album page, which typically includes the albums stored on tablet 210.

[0239] Some multimedia resources on tablet 230 also include text. Typically, text in multimedia resources cannot be manipulated. For example, if the multimedia resource is image 26011 in interface 2601 shown in FIG. 26 , and image 26011 includes text "Text Text Text" 26012, a user long-pressing "Text Text Text" 26012 does not trigger mobile phone 230 to select part or all of "Text Text Text" 26012.

[0240] In some embodiments, if the multimedia resource in the tablet 230 includes text, the mobile phone 230 may provide a text extraction control in the large image page when displaying the large image page of the multimedia resource. In response to a user triggering operation (such as a click operation, a long press operation, etc.) on the text extraction control in the large image page, the mobile phone 230 may extract the text in the multimedia resource. Exemplarily, the text extraction control is a button 26012 in the interface 2601 shown in FIG. 26 . In response to a user clicking the button 26012 in the interface 2601, the mobile phone 230 may extract the text "text text text" 26012 in the multimedia resource 26011.

[0241] Further, after the extraction is completed, in response to the user's triggering operation (such as a long press operation) on the text in the multimedia resource, the mobile phone 230 can select part or all of the text and provide text operation options for the user to operate on the selected text. Exemplary, after the mobile phone 230 completes the extraction of the text, in response to the user's long press operation on the text "text text text" 26021 in the interface 2602 shown in Figure 26, the mobile phone 230 can display the interface 2603 shown in Figure 26, in which the second "text" in "text text text" 26021 is selected, and the interface 2603 includes multiple operation options, such as options such as copy, select all, translate, search, and share in the pop-up box 26031.

[0242] With this embodiment, the mobile phone 230 can extract the text in the multimedia resources in the tablet 210 locally, thereby facilitating subsequent operations such as copying and translating the text in the multimedia resources.

[0243] An embodiment of the present application further provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected via lines. For example, the interface circuit can be used to receive signals from other devices (such as the memory of the terminal). For another example, the interface circuit can be used to send signals to other devices (such as the processor). Exemplarily, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the terminal can execute the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.

[0244] This embodiment further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a terminal, the terminal executes each function or step in the above method embodiment.

[0245] This embodiment further provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute each function or step in the above method embodiment.

[0246] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory to enable the chip to perform the various functions or steps in the above-mentioned method embodiments.

[0247] Among them, the chip system, computer-readable storage medium, computer program product or device provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0248] 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.

[0249] In the several embodiments provided in this 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 merely schematic. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, 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.

[0250] The units described as separate components may or may not be physically separate, 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 places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0251] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0252] 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, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0253] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit the present application. Although the present application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present application.

Claims

1. A method for accessing multimedia resources, characterized in that: include: The first device displays a first interface, the first interface includes a first area and a second area, the first area displays a first option, a second option and a third option, the first option corresponds to the first device, the second option corresponds to the second device, the third option corresponds to the third device, and the second area displays preview information of an album in the first device; In response to a selection operation on the second option, the first device displays preview information of the album in the second device in the second area; In response to a selection operation on the third option, the first device displays preview information of the album in the third device in the second area.

2. The method according to claim 1, characterized in that After the first device displays the preview information of the album in the second device in the second area, the method further includes: In response to an access operation to the first album of the second device in the first interface, the first device displays a second interface, where the second interface includes thumbnails of multimedia resources in the first album; In response to a viewing operation on the first thumbnail in the second interface, the first device displays a third interface, where the third interface is used to display a first multimedia resource corresponding to the first thumbnail; The first device is disconnected from the second device; In response to a return operation to the third interface, the first device displays a fourth interface, wherein the fourth interface includes the first option and the third option, and the fourth interface does not include preview information of the album in the second device.

3. The method according to claim 2, characterized in that The fourth interface also includes the second option.

4. The method according to claim 3, characterized in that In response to the return operation on the third interface, the first device displays the fourth interface including the second option, including: In response to the return operation to the third interface, the first device may search for the second device, and the first device displays the fourth interface including the second option.

5. The method according to claim 2, characterized in that: The fourth interface does not include the second option.

6. The method according to claim 5, characterized in that In response to the return operation on the third interface, the first device displays the fourth interface that does not include the second option, including: In response to the return operation to the third interface, the first device fails to search for the second device, and the first device displays the fourth interface that does not include the second option.

7. The method according to any one of claims 2 to 6, characterized in that: After the first device displays the third interface, the method further includes: In response to a return operation to the third interface, the first device is not disconnected from the second device, and the first device displays the second interface; In response to a return operation to the second interface, the first device displays the first interface including preview information of the album in the second device in the second area.

8. The method according to any one of claims 2 to 6, characterized in that: In response to the return operation on the third interface, the first device displays a fourth interface, including: In response to a return operation to the third interface, the first device detects a disconnection with the second device. The first device displays a fourth interface.

9. The method according to claim 8, characterized in that In response to the return operation to the third interface, the first device detects a disconnection with the second device, and the first device displays a fourth interface, including: In response to a return operation to the third interface at a first moment, the first device displays the fourth interface, the first moment being after the first device detects a disconnection with the second device; The method further comprises: In response to a return operation to the third interface at a second moment, the first device displays the second interface; The second moment is a moment after the first device is disconnected from the second device, but the second moment is before the first device detects the disconnection with the second device.

10. The method according to any one of claims 2 to 9, characterized in that: The first device includes a data middle platform and a first application, the first application includes a gallery application, or the first application includes an application having permission to access the gallery application; After the first device is disconnected from the second device, the method further includes: The data center detects that the first device and the second device are disconnected; The data center sends a disconnection notification to the first application; In response to the return operation on the third interface, the first device displays a fourth interface, including: In response to a return operation to the third interface, the first application has received the disconnection notification, and the first application displays the fourth interface.

11. The method according to any one of claims 2 to 10, characterized in that: The third interface also includes preset operation controls, and the preset operation controls include a save control and / or a copy control; After the first device displays the third interface, the method further includes: In response to a selection operation on the preset operation control, the first device saves the first multimedia resource to a second album of the first device.

12. The method according to claim 11, characterized in that The first multimedia resource is a static image, or the first multimedia resource is a video, but the first device has not played the video in the third interface; In response to the selection operation of the preset operation control, the first device saving the first multimedia resource to a second album of the first device includes: In response to a selection operation on the preset operation control, the first device displays a first prompt in the third interface, where the first prompt is used to prompt that a file is being transferred; After the file transfer is completed, the first device saves the first multimedia resource to the second album.

13. The method according to claim 12, characterized in that The first multimedia resource is a dynamic picture, or the first multimedia resource is a video, and the first device has played the video in the third interface. In response to the selection operation of the preset operation control, the first device does not display the first prompt.

14. The method according to any one of claims 11 to 13, characterized in that The preset operation control is the save control, and the second photo album is a photo album named after the second device.

15. The method according to claim 14, characterized in that After the first device saves the first multimedia resource to a second album of the first device, the method further includes: The first device displays a fifth interface, wherein the fifth interface includes preview information of the album in the first device. The preview information of the second photo album is located after the preview information of the last system photo album in the photo albums of the first device.

16. The method according to any one of claims 11 to 13, characterized in that: The preset operation control is the copy control; In response to the selection operation of the preset operation control, the first device saving the first multimedia resource to a second album of the first device includes: In response to a selection operation on the preset operation control, the first device displays preview information of the photo album in the first device; In response to a selection operation on the second photo album in the first device, the first device saves the first multimedia resource to the second photo album of the first device.

17. The method according to any one of claims 1 to 16, characterized in that The method further comprises: The first device displays a sixth interface, the sixth interface includes photos in the first device, and in the process of displaying the sixth interface, the first device searches for the second device and the third device; The first device displays a first interface, including: In response to the operation of switching to the album page, the first device displays the first interface, and the second option and the third option are located after the first option, and the second option and the third option are sorted according to the priority of the second device and the third device.

18. The method according to any one of claims 1 to 17, characterized in that In response to the selection operation of the second option, the first device displays preview information of the album in the second device in the second area, including: If the number of devices connected to the first device does not reach the first number, in response to a selection operation on the second option, the first device displays preview information of the album in the second device in the second area.

19. The method according to any one of claims 1 to 17, characterized in that In response to the selection operation of the second option, the first device displays preview information of the album in the second device in the second area, including: If the first device has been connected to the first number of devices, in response to a selection operation on the second option, the first device displays a first window, wherein the first window includes device options corresponding to the first number of connected devices, wherein the first number of device options includes a first device option, and the first device option corresponds to a fourth device; In response to a disconnection operation on the first device option, the first device is disconnected from the fourth device; The first device displays preview information of the photo album in the second device in the second area.

20. The method according to claim 19, characterized in that The method further comprises: If the number of devices connected to the first device reaches the first number, in response to a selection operation of the second option, the first device displays the first window; In response to the operation of instructing to close the first window, the first device displays a prompt message in the second area indicating that the device connection limit has exceeded.

21. An electronic device, characterized in that: The electronic device includes a display screen, a memory and a processor, and the display screen, the memory and the processor are coupled; wherein the memory stores a computer program code, and the computer program code includes computer instructions; when the computer instructions are executed by the processor, the electronic device executes the method as described in any one of claims 1-20.

22. A computer-readable storage medium, characterized in that: The method comprises computer instructions; when the computer instructions are executed on an electronic device, the electronic device executes the method as claimed in any one of claims 1 to 20.

Citation Information

Patent Citations

  • Multimedia resource access method and electronic equipment

    CN119561952A

  • Cross-end resource access method and device, storage medium and electronic equipment

    CN113242314A

  • Data sharing method, electronic equipment and system

    CN113449136A

  • Data sharing method, electronic equipment and system

    CN114329020A

  • Access control method and device, equipment and storage medium

    CN115600236A