Data processing method and electronic equipment

By displaying the media data thumbnails in the second device on the first device and allowing the user to edit the data on the first device, the problem of poor human-computer interaction efficiency in processing media data across devices is solved, and more efficient data editing and processing is achieved.

CN119544858APending Publication Date: 2025-02-28HONOR DEVICE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311085330.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-25
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

In the prior art, human-computer interaction efficiency of processing media data across devices is poor, and users need to manually store and search media data, resulting in cumbersome operations.

Method used

A data processing method is provided, by displaying thumbnails of multiple media data on the first device, displaying a preview map and editing processing controls in response to user operations, allowing the user to edit media data stored in the second device on the first device, reducing the steps of user manual storage and searching.

Benefits of technology

It improves the human-computer interaction efficiency of cross-device editing media data, reduces the complexity and time of user operations, and enhances the convenience of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119544858A_ABST
    Figure CN119544858A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data processing method and electronic equipment, and relates to the technical field of computers. The man-machine interaction efficiency of cross-device media data editing is improved. According to the specific scheme, a first interface is displayed, the first interface comprises thumbnails of multiple pieces of media data, the multiple pieces of media data are stored in second equipment, and the thumbnails of the multiple pieces of media data comprise first thumbnails of first data; in response to an operation on the first thumbnail, displaying a second interface, the second interface including a first preview and a first control of the first data; in response to the operation on the first control, displaying a third interface on which the first data and one or more editing processing controls are displayed; and after the operation of the user on the one or more editing processing controls is detected, displaying second data after editing the first data on a third interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a data processing method and an electronic device. Background Art

[0002] As the categories of electronic devices gradually increase, the number of electronic devices owned by users is increasing. For example, the same user may own multiple electronic devices such as smartphones, tablets, and laptops at the same time. Data is stored in a dispersed manner among multiple devices. For example, media data collected or downloaded by different devices is stored in different devices. In this scenario, users' demand for cross-device media data processing is increasing day by day. At present, the human-computer interaction efficiency of cross-device media data processing is not good. Summary of the invention

[0003] Embodiments of the present application provide a data processing method and an electronic device for improving the human-computer interaction efficiency of processing media data across devices.

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

[0005] In a first aspect, an embodiment of the present application provides a data processing method, which is applied to a first device, and a connection has been established between the first device and the second device, and the method includes: displaying a first interface, the first interface including thumbnails of multiple media data, wherein the multiple media data are stored in the second device, and the thumbnails of the multiple media data include a first thumbnail of the first data; in response to an operation on the first thumbnail, displaying a second interface, the second interface including a first preview image and a first control of the first data; in response to an operation on the first control, displaying a third interface, the third interface displaying the first data and one or more editing processing controls; after detecting a user's operation on the one or more editing processing controls, displaying the second data edited from the first data on the third interface.

[0006] In the above embodiment, the first data is stored in the second device, and the first device can view a first preview of the first data in response to a user operation, such as displaying the first preview in the second interface. During the display of the first preview, in response to the user's operation of the first control in the second interface, the editing process for the first data is started. From viewing the first data to starting to edit the first data, the process of the user manually storing the first data and then finding the stored first data in the local device is reduced, thereby improving the human-computer interaction efficiency of editing media data across devices.

[0007] In some embodiments, before displaying the third interface, the method further includes: receiving the first data from the second device in response to an operation on the first control.

[0008] In the above embodiment, when the user operates the first control, the first device may be triggered to display the third interface for editing the first data. The user's operation on the first control may indicate that the user instructs to edit the first data. Before the user instructs to edit the first data, the first device only needs to obtain a preview of the first data. After the user instructs to edit the first data, the first device receives the original data of the first data from the second device. In this way, the requirements for editing media data are met while avoiding indiscriminate reception of all media data in the second device.

[0009] In some embodiments, after detecting the user's operation on the one or more editing processing controls, the method further includes: in response to the user's operation on the one or more editing processing controls, executing the editing items corresponding to the one or more editing processing controls on the first data.

[0010] In some embodiments, the third interface also includes a second control. After the second data edited from the first data is displayed on the third interface, the first device displays a first prompt window in response to the user's operation on the second control, and the first prompt window includes the third control; in response to the user's operation on the third control, the first draft file corresponding to the first data is saved, and the second interface is displayed again, and the first draft file includes the editing matters that have been executed in the process of editing the first data into the second data; in response to the user's operation, a fourth interface is displayed, and the fourth interface includes an editing draft bar, and the editing draft bar includes the first draft file; in response to the user's operation on the first draft file, the second data is displayed on the third interface.

[0011] In the above embodiment, during the process of the first device editing the media data (first data) in the second device across devices, the editing progress can be retained and the editing can be exited in response to the user operation. In addition, the first draft file can indicate the editing items that have been executed in the process of editing the first data into the second data. In this way, when editing the first data again, the editing items executed based on the first data when the first data was last edited can also be rolled back, effectively improving the human-computer interaction efficiency of users editing media data across devices.

[0012] In some embodiments, after displaying the second interface again, the method further includes: displaying a fifth interface in response to a user operation, wherein the fifth interface displays thumbnails of media data stored in the first device, and the fifth interface does not include thumbnails of the second data.

[0013] In some embodiments, the first device stores the second data and displays a sixth interface in response to a user operation on a fourth control on a third interface, in which a second preview image of the second data is displayed; after displaying the sixth interface, the first device displays a fourth interface in response to the user operation, in which the fourth interface includes an editing draft bar, in which the editing draft bar includes a second draft file, in which the editing items that have been executed in the process of editing the first data into the second data are included, and the second draft file also displays an indicator indicating that the second data has been exported; in response to the user operation on the second draft file, the restored second data is displayed on the third interface.

[0014] In the above embodiment, after saving the edited second data, the corresponding editing progress can also be retained to facilitate the user to trace back the editing items performed on the first data, effectively improving the human-computer interaction efficiency of the user editing media data across devices.

[0015] In other embodiments, before storing the second data, a second prompt window is displayed, the second prompt window including a fifth control indicating exporting the second data; in response to the user's operation of the fourth control in the second prompt window, the second data is stored and a sixth interface is displayed.

[0016] In some embodiments, after displaying the sixth interface, the first device displays a fifth interface in response to a user operation, wherein the fifth interface displays thumbnails of media data stored in the first device, and the fifth interface includes thumbnails of the second data.

[0017] In some embodiments, the media data includes video data, picture data, and dynamic pictures.

[0018] In some embodiments, before displaying the second interface, the method further includes: receiving a first preview image from the second device in response to an operation on the first thumbnail; or receiving the first preview image from the second device during displaying the first interface.

[0019] In the above embodiment, a preview of specified media data (such as the first data) can be received from the second device under a preset condition (such as clicking on the first thumbnail, or while the first thumbnail is displayed). While satisfying the user's need to view media data across devices, it avoids indiscriminately receiving previews of all media data in the second device, thereby reducing the pressure of data transmission between the first device and the second device.

[0020] In some embodiments, the first device responds to a user operation and displays a first interface, which also includes a second thumbnail of the third data and a third thumbnail of the fourth data, and the third data and the fourth data are both media data stored in the second device; in response to a long press of the second thumbnail by the user, a seventh interface is displayed, and the thumbnails displayed in the seventh interface are the same as the thumbnails displayed in the first interface, and a selection mark is displayed relative to the second thumbnail on the seventh interface; in response to a click of the third thumbnail in the seventh interface by the user, a selection mark is displayed relative to the third thumbnail on the seventh interface; while displaying the seventh interface, in response to a user indicating a puzzle operation, the third data and the fourth data are received from the second device; after receiving the third data and the fourth data, fifth data are displayed, and the fifth data is media data obtained after the third data and the fourth data are spliced ​​together.

[0021] In the above embodiment, when the first device performs puzzle-solving based on the media data in the second device, there is no need for the user to manually download the third data and the fourth data from the second device, nor is there any need for the user to manually search for the third data and the fourth data stored locally, thereby improving the human-computer interaction efficiency of cross-device puzzle-solving and avoiding unnecessary interface jumps that affect user usage.

[0022] In some embodiments, the first device responds to a user operation and displays a first interface, wherein the first interface also includes a second thumbnail of third data, where the third data is media data stored in the second device; in response to a long press operation of the user on the second thumbnail, a selection preview box is displayed, wherein the selection preview box includes an identifier of the third data; in response to the user operation, an eighth interface is displayed, wherein the eighth interface includes a fourth thumbnail of sixth data stored in the first device; in response to the user operation on the fourth thumbnail in the eighth interface, an identifier of the sixth data is displayed in the selection preview box; while the selection preview box is displayed, in response to the user's operation of indicating a puzzle, the third data from the second device is received; after receiving the third data, target puzzle data is displayed, wherein the target puzzle data is media data obtained after the third data and the sixth data are spliced ​​together.

[0023] In the above embodiment, media data in different devices may also be spliced ​​together to improve the human-computer interaction efficiency of users processing media data in multiple devices.

[0024] In some embodiments, the first device responds to a user operation and displays a first interface, which also includes a fifth thumbnail of the seventh data, where the seventh data is video data stored in the second device; in response to a user clicking on the fifth thumbnail, a third preview of the seventh data is displayed in a ninth interface; in response to an instruction to play the seventh data, the seventh data is received from the second device; and if the seventh data is received successfully, the seventh data is played on the ninth interface.

[0025] In some embodiments, when the seventh data reception fails successfully, the first device continues to display the third preview image on the ninth interface.

[0026] In some embodiments, the first device responds to a user operation and displays a first interface, wherein the first interface also includes a sixth thumbnail of the eighth data, where the eighth data is a dynamic picture stored in the second device; in response to a user clicking on the sixth thumbnail, the eighth data from the second device is received; after receiving the eighth data, a tenth interface is displayed, wherein a fourth preview image of the eighth data is displayed in the tenth interface; in response to the user operation, multiple image frames corresponding to the eighth data are cyclically displayed on the tenth interface.

[0027] In some embodiments, when the first device detects that the third device has joined the same local area network, the identifier of the third device is displayed on the eleventh interface; in response to the user's operation on the identifier of the third device, first album information from the third device is received; and the twelfth interface is displayed, and the twelfth interface shows that the first album information indicates multiple albums.

[0028] In the above embodiment, the connectable devices can be dynamically updated to improve the application scope of cross-device editing of media data.

[0029] In some embodiments, after the first device detects that the fourth device has joined the same local area network, the identifier of the fourth device is displayed on the eleventh interface; when the number of devices connected to the first device reaches a preset first number, in response to the user's operation on the identifier of the fourth device, a first window is displayed, the first window including the first number of device identifiers, each of which corresponds to a device connected to the first device; the first number of device identifiers includes the first device identifier corresponding to the second device; in response to detecting the user's selection operation on the first device identifier in the first window, the connection with the second device is disconnected; the second album information from the fourth device is received; and the thirteenth interface is displayed, the thirteenth interface displaying multiple albums corresponding to the second album information.

[0030] In some embodiments, after the first device detects that the fourth device has joined the same local area network, the identifier of the fourth device is displayed on the eleventh interface; when the first device has been connected to a first number of devices, in response to a user's operation on the identifier of the fourth device, a first window is displayed, the first window including a first number of device identifiers, each device identifier corresponding to a device connected to the first device; in response to a user's instruction to close the first window, a reminder message indicating a connection failure is displayed.

[0031] In some embodiments, while the first interface is displayed, when ninth data is newly added in the second device, a thumbnail of the ninth data is newly displayed on the first interface.

[0032] In the above embodiment, the newly added media data in the second device can be synchronized to the first device in a timely manner, so that the user can select the material for editing.

[0033] In some embodiments, the editing items corresponding to the one or more editing processing controls include: one or more of: cropping, adding special effects, changing audio, splitting video, adding filters, and adjusting image color.

[0034] In a second aspect, an embodiment of the present application provides an electronic device, the electronic device comprising one or more processors and a memory; the processor comprises a modem processor, the memory is coupled to the processor, the memory is used to store computer program code, the computer program code comprises computer instructions, and when one or more processors execute the computer instructions, the one or more processors are used to execute the methods in the first aspect, the second aspect and possible embodiments thereof.

[0035] In a third aspect, an embodiment of the present application provides a computer storage medium, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the methods in the above-mentioned first aspect, second aspect and possible embodiments thereof.

[0036] In a fourth aspect, the present application provides a computer program product. When the computer program product runs on the above-mentioned electronic device, the electronic device executes the methods in the above-mentioned first aspect, second aspect and possible embodiments thereof.

[0037] In a fifth aspect, the present application provides a chip system, which is applied to an electronic device and stores a computer program. When the computer program is executed, the electronic device executes the methods in the above-mentioned first aspect, second aspect and possible embodiments thereof.

[0038] It can be understood that the electronic devices, computer storage media and computer program products provided in the above-mentioned aspects are all applied to 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. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of a device system provided in an embodiment of the present application;

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

[0041] Figure 3 This is an example diagram of an interface for establishing a connection between an electronic device provided in an embodiment of the present application and S's mobile phone;

[0042] Figure 4 This is an example diagram of the interface when a new device is added to the trust ring of the electronic device provided in the embodiment of the present application;

[0043] Figure 5 This is one of the example diagrams of a scenario in which a device connected to an electronic device exceeds the limit provided in an embodiment of the present application;

[0044] Figure 6 The second example diagram of a scenario in which a device connected to an electronic device provided in an embodiment of the present application exceeds the limit;

[0045] Fig. 7A This is an example diagram of an interface for an electronic device provided in an embodiment of the present application to view photos in S's mobile phone;

[0046] Figure 7B This is an example diagram of an interface after saving media data in other devices provided in an embodiment of the present application;

[0047] Figure 8 This is an example diagram of an interface for synchronizing the newly added media data in S's mobile phone with an electronic device in a scenario where S's mobile phone has newly added media data provided in an embodiment of the present application;

[0048] Fig. 9 One of the example diagrams of a scene in which an electronic device views video data in S's mobile phone provided in an embodiment of the present application;

[0049] Fig.10 FIG2 is a second example of a scenario in which an electronic device according to an embodiment of the present application views video data in S's mobile phone;

[0050] Fig.11 An example diagram of a scene in which an electronic device according to an embodiment of the present application edits a dynamic picture in S's mobile phone;

[0051] Fig.12One of the example diagrams of a scene in which an electronic device edits photos in S's mobile phone provided in an embodiment of the present application;

[0052] Fig.13 FIG2 is a second example of a scene in which an electronic device edits photos in S's mobile phone provided in an embodiment of the present application;

[0054] Fig.14A An example diagram of a scene in which an electronic device provided in an embodiment of the present application edits a photo in S's mobile phone and saves it, and then searches for the edited photo;

[0055] Fig. 14B An example diagram of a scenario in which an electronic device exits an editing interface provided in an embodiment of the present application;

[0056] Fig.15 One of the example diagrams of a scene in which an electronic device according to an embodiment of the present application performs a puzzle based on photos in S's mobile phone;

[0057] Fig.16 FIG2 is an example of a scene in which an electronic device according to an embodiment of the present application performs a puzzle based on photos in S's mobile phone;

[0058] Fig.17 One of the example diagrams of a scene in which an electronic device according to an embodiment of the present application performs puzzle-making based on photos in different devices;

[0059] Fig.18 The second example diagram of a scene in which an electronic device according to an embodiment of the present application performs puzzle-making based on photos in different devices;

[0060] Fig.19 One of the example diagrams of a scenario in which an electronic device edits video data in S's mobile phone provided in an embodiment of the present application;

[0061] Fig. 20 Figure 2 of an example of a scenario in which an electronic device according to an embodiment of the present application edits video data in S's mobile phone;

[0062] Fig.21 Figure 3 of an example scenario of an electronic device editing video data in S's mobile phone provided in an embodiment of the present application;

[0063] Fig. 22 An example diagram of a scenario in which the electronic device provided in an embodiment of the present application searches for the edited video data in the local device after editing and storing the video data in S's mobile phone;

[0064] Fig.23 An example diagram of a scenario in which the electronic device provided in an embodiment of the present application edits the video data in S's mobile phone and stores it, and then edits the video data again;

[0065] Fig.24A A portion of a scene example diagram of an electronic device provided in an embodiment of the present application editing video data in S's mobile phone and re-editing the video data when the video data is not stored;

[0066] Fig. 24B Another part of the scene example diagram of the electronic device provided in the embodiment of the present application editing the video data in S's mobile phone and re-editing the video data when the video data is not stored;

[0067] Fig.25 This is an example diagram of a scenario in which an electronic device according to an embodiment of the present application stores the same media data from S's mobile phone in multiple storage devices. DETAILED DESCRIPTION

[0068] The technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Wherein, in the description of the present application, unless otherwise specified, "at least one" refers to one or more, and "a plurality of" refers to two or more than two. In addition, in order to facilitate the clear description of the technical scheme of the embodiment of the present application, in the embodiment of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit necessarily different.

[0069] The present application embodiment provides a method for processing images across devices, which can be applied to Figure 1 The device system shown in the figure includes a plurality of electronic devices.

[0070] For example, the above-mentioned multiple electronic devices can be networked, and after networking, the multiple electronic devices can exchange information. The networking method includes but is not limited to the following methods:

[0071] (1) Wireless fidelity (WIFI) networking: multiple electronic devices can access the same routing device (for example, a router). Figure 1 As shown, mobile phone 101, mobile phone 102, tablet computer 103, laptop computer 104, smart watch 105 can access router 106 to form a home network. Alternatively, multiple electronic devices can join the same hotspot device (for example, access the hotspot of the same mobile phone), and the information interaction between electronic devices can be forwarded through the hotspot device. For example, mobile phone 102, tablet computer 103, laptop computer 104, smart watch 105 can access mobile phone 101 to form a hotspot network, and mobile phone 101 can be used as a hotspot device to forward information for each electronic device.

[0072] (2) Cloud server networking mode: Multiple electronic devices can be connected to the same cloud server. At this time, the information interaction between electronic devices can be forwarded through the cloud server.

[0073] For example, mobile phone 102, tablet computer 103, laptop computer 104, and smart watch 105 can be connected to router 106 to form a home network. Router 106 can be connected to a server, and mobile phone 101 can also be connected to the server. The server can be used as a transfer device to forward information for router 106 and mobile phone 101, that is, router 106 can exchange information with mobile phone 101 through the server. Mobile phone 101 can exchange information with electronic devices such as mobile phone 102, tablet computer 103, laptop computer 104, and smart watch 105 through the server and router 106.

[0074] For another example, mobile phone 101, mobile phone 102, tablet computer 103, laptop computer 104, smart watch 105 and router 106 can all be connected to the server, and the server can be used as a transfer device to forward information between mobile phone 101, mobile phone 102, tablet computer 103, laptop computer 104, smart watch 105 and router 106. Mobile phone 101, mobile phone 102, tablet computer 103, laptop computer 104, smart watch 105 and router 106 can exchange information through the server.

[0075] Alternatively, multiple electronic devices may also be networked via Bluetooth. For example, multiple electronic devices (e.g., mobile phone 102, tablet computer 103, laptop computer 104, smart watch 105) may be connected to the same Bluetooth device (e.g., mobile phone 101), and information exchange between the electronic devices may be forwarded via the Bluetooth device.

[0076] In some embodiments, the above-mentioned multiple electronic devices can also be networked by other near field communication methods, for example, by using WiFi P2P, Zigbee or near field communication (NFC), etc., which is not specifically limited in the embodiments of the present application.

[0077] In addition, multiple electronic devices can use multiple networking methods at the same time, for example, at least two of the wireless fidelity networking method, the Bluetooth networking method, or the cloud server networking method, which is not limited in this application.

[0078] In some embodiments, after multiple electronic devices in a device system are networked, the multiple electronic devices can discover each other, and this process may be called device discovery.

[0079] For example, during the device discovery process, the electronic device can determine whether the discovered device is a trusted device, such as a device that has a trust relationship with the electronic device. If the discovered device is a trusted device, a data transmission link can be directly established with the trusted device according to actual business needs, or multiple types of services can be collaboratively implemented based on the established data transmission link, such as cross-device data sharing, cross-device data processing, etc.

[0080] In some embodiments, a trust relationship or trust ring may be established between different electronic devices in the following manner:

[0081] Exemplarily, a trust relationship can be established between different electronic devices by means of account authentication. For example, device a logs in to the system authentication account a provided by the cloud server, and device b logs in to the system authentication account b provided by the cloud server. When the system authentication account a and the system authentication account b are the same account, or associated accounts (for example, a pre-configured family account), the cloud server can notify device a to add the device identifier of device b to the whitelist a, and device b is within the trust ring of device a. Among them, the whitelist a is used to record devices that have a trust relationship with device a. In addition, the cloud server can also notify device b to add the device identifier of device a to the whitelist b. Among them, the whitelist b is used to record devices that have a trust relationship with device b, and device a is within the trust ring of device b.

[0082] In this way, device a and device b can directly share and process data across devices in response to user instructions. If system authentication account a and system authentication account b are different accounts or unrelated accounts, then device a and device b do not establish a trust relationship and cannot directly access or share data across devices. Sharing data across devices requires user consent.

[0083] As another example, a trust relationship can be established between different electronic devices by means of device authorization. For example, after device a and device b are networked, device a can initiate a device authorization request to device b in response to a user's operation. After device b receives the device authorization request from device a, it can add the device identification of device a to the corresponding whitelist b in response to the user's confirmation operation, and feedback to device a that it has been authorized. In response to the feedback from device b, device a can also add the identification of device b to whitelist a. For another example, device b can also initiate a device authorization request to device a in response to a user's operation. After device a receives the device authorization request from device b, it can add the device identification of device b to the corresponding whitelist a in response to the user's confirmation operation, and feedback to device b that it has been authorized. In response to the feedback from device a, device b can also add the identification of device a to whitelist b.

[0084] In this way, device a and device b can respond to user instructions and directly perform cross-device data sharing and cross-device data processing.

[0085] In some embodiments, a trust ring can be established between electronic devices with a trust relationship in the device system, and multiple electronic devices in the trust ring can also be collectively referred to as a trusted device system. It can be understood that any electronic device in the device system (such as a master device) builds a trust ring with other devices (such as slave devices) that are networked and have a trust relationship. In the same trust ring, there is a trust relationship between the master device and each slave device, and there may or may not be a trust relationship between the slave devices. This is not limited in the embodiments of the present application. The trust ring corresponding to the electronic device mentioned in the subsequent embodiments refers to a trust ring with the electronic device as the master device. The master device and the slave device in the trust ring can collaborate to implement multiple types of services.

[0086] In addition, in the trust ring, slave devices can be added or reduced. Exemplarily, a slave device is disconnected from the master device, and the slave device exits the trust ring. In addition, a new device that has a trust relationship with the master device can join the trust ring of the master device after networking with the master device. For example, the trust ring of mobile phone 101 includes mobile phone 102, and mobile phone 102 and mobile phone 101 are both connected to the same router, and the networking is completed through the router. Mobile phone 102 is disconnected from the router, and mobile phone 102 is also disconnected from mobile phone 101. In this scenario, mobile phone 102 exits the trust ring corresponding to mobile phone 101, and similarly, mobile phone 101 also exits the trust ring corresponding to mobile phone 102. Afterwards, mobile phone 102 is connected to the above-mentioned router again, and networking is formed with mobile phone 101 again. Mobile phone 101 joins the trust ring corresponding to mobile phone 102 again, and mobile phone 102 will also enter the trust ring of mobile phone 101 again.

[0087] In the related art, the master device in the trust ring can respond to user operations, obtain video data 1 from the slave device, and store it. If the user needs to edit the video data 1, it is also necessary to manually find the video data 1 saved in the master device. Only when the master device responds to the user operation and accesses the stored video data 1 can it respond to the user's editing operation and perform one or more corresponding video editing tasks on the video data 1, such as editing, changing audio, adding special effects, etc. Obviously, in the related art, the process of editing media data in other devices is very cumbersome, and the human-computer interaction efficiency is low.

[0088] In order to improve the above problems, the embodiment of the present application provides a method for processing images across devices, which can be applied to electronic devices. When the electronic device views media data in other devices, it can receive and edit the media data in response to the user's instruction to edit the media data. In this way, after receiving the media data, the step of manually searching for the media data is omitted, thereby improving the user's interactive efficiency in processing media data from other devices.

[0089] In some embodiments, the media data may be photo data, video data, dynamic picture data, etc. In other embodiments, the media data may be only video data.

[0090] Exemplarily, the electronic devices in the above-mentioned device system can be mobile phones, tablet computers, handheld computers, PCs, cellular phones, personal digital assistants (PDAs), wearable devices (such as smart watches), smart large screens, game consoles, and augmented reality (AR) and virtual reality (VR) devices and other intelligent electronic devices.

[0091] The following takes a mobile phone as an example to introduce the hardware structure of the electronic device in the trust system.

[0092] like Figure 2 As shown, the electronic device (such as a mobile phone) may include: a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an 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 interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a SIM card interface 295, etc.

[0093] Among them, the above-mentioned sensor module 280 may include sensors such as pressure sensor, gyroscope sensor, air pressure sensor, magnetic sensor, acceleration sensor, distance sensor, proximity light sensor, fingerprint sensor, temperature sensor, touch sensor, ambient light sensor and bone conduction sensor.

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

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

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

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

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

[0099] It is understandable that the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation of the electronic device. In other embodiments, the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[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 the charging management module 240 charges the battery 242, it 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 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the external memory, the display screen 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 set in the same device.

[0102] The wireless communication function of the electronic device can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor, etc. In some embodiments, the antenna 1 of the electronic device is coupled with the mobile communication module 250, and the antenna 2 is coupled with the wireless communication module 260, so that the electronic device can communicate with the network and other devices through wireless communication technology, such as communication with wearable devices.

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

[0104] The mobile communication module 250 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to electronic devices. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.

[0105] The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 250 can be set in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 can be set in the same device as at least some modules of the processor 210.

[0106] The wireless communication module 260 can provide wireless communication solutions for electronic devices including WLAN (such as (wirelessfidelity, Wi-Fi) network), Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), nearfield communication technology (nearfield communication, NFC), infrared technology (infrared, IR), etc.

[0107] Among them, GNSS may include Beidou navigation satellite system (BDS), global positioning system (GPS), global navigation satellite system (GLONASS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation systems (SBAS).

[0108] The wireless communication module 260 may be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 210. The wireless communication module 260 may also receive signals to be sent from the processor 210, modulate the frequencies of the signals, amplify the signals, and convert the signals into electromagnetic waves for radiation via the antenna 2.

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

[0110] The display screen 294 is used to display images, videos, etc. The display screen 294 includes a display panel.

[0111] The electronic device can realize the shooting function through ISP, camera 293, video codec, GPU, display screen 294 and application processor. ISP is used to process the data fed back by camera 293. Camera 293 is used to capture static images or videos. In some embodiments, the electronic device may include 1 or N cameras 293, where N is a positive integer greater than 1.

[0112] The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0113] The internal memory 221 may be used to store computer executable program codes, which include instructions. The processor 210 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 221. For example, in an embodiment of the present application, the processor 210 may execute the instructions stored in the internal memory 221, and the internal memory 221 may include a program storage area and a data storage area.

[0114] The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, a phone book, etc.), etc. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

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

[0116] The following describes the implementation details of the embodiment of the present application in conjunction with the accompanying drawings:

[0117] In some embodiments, in a scenario where the electronic device is not connected to any device, after running the first type of application, the electronic device can respond to the user's selection operation and establish a data transmission link with a designated device in the trust ring. Among them, the first type of application refers to an application that provides image-related services, such as a gallery application. The above-mentioned designated device is a device selected from the corresponding trust ring by the electronic device in response to the user's selection operation. After the data transmission link between the electronic device and the designated device is established, the electronic device can obtain thumbnails of all media data of the designated device, as well as all album information in the designated device, etc. from the designated device. Exemplarily, when the media data is photo data, a thumbnail of the original data of the media data. When the media data is video data, a thumbnail of the cover image frame of the media data. When the media data is a dynamic picture, a thumbnail of the cover image frame of the media data.

[0118] In some embodiments, after the electronic device establishes a connection with the designated device, the media data (such as photos, videos, and dynamic pictures) from the designated device can be processed across devices, for example, Figures 11 to 24B In addition, the electronic device can also synchronously display the media data in the specified device, so that the user can view the media data in the specified device across devices, for example, Figures 3 to 10 The scene described.

[0119] For example, Figure 3As shown, the electronic device may display a main interface 301, and the main interface 301 may display icons of applications installed in the electronic device. For example, an application icon 302 of a gallery application may be included. The electronic device may display a functional interface of the gallery application, such as displaying a functional interface 303, in response to a user clicking the application icon 302 in the main interface 301.

[0120] like Figure 3 As shown, the function bar of the function interface 303 displays multiple function icons, for example, a "photo" function icon 308, an "album" function icon 309, a "moment" function icon 310, and a "create" function icon 311. It can be understood that the above function icons are function entrances of various gallery functions. For example, the "photo" function icon 308 is the function entrance of the image material browsing function; for another example, the "album" function icon 309 is the function entrance for browsing the album; for another example, the "create" function icon 311 is the function entrance of the image creation function.

[0121] Exemplarily, the above-mentioned function interface 303 is a function interface corresponding to "album", and the "album" function icon 309 is in a selected state in the function bar of the function interface 303. It should be noted that in response to the user clicking the application icon 302, the electronic device can display an interface for previewing "photos", and then, in response to the user clicking the "album" function icon 309, the electronic device can display the function interface 303.

[0122] Exemplarily, multiple albums are displayed in the function interface 303, and each album has corresponding album information. The above-mentioned album information may include information such as the album name, the amount of media data in the album, and the album cover. For example, the album 304 in the function interface 303 has the following corresponding album information: the album name is "all photos", the amount of media data in the album is "2023", and the album cover is a thumbnail.

[0123] Exemplarily, the album cover may be a thumbnail of a piece of media data (photo, video or dynamic picture) in the album. For example, the album cover may be a thumbnail of the media data stored in the album the latest (closest to the current time).

[0124] Taking the camera album as an example, the media data stored in the camera album are all media data captured by the electronic device, and the album cover of the camera album is the thumbnail of the media data with the latest collection time in the camera album.

[0125] In addition, if Figure 3As shown, a device navigation bar 305 is also displayed on the function interface 303. The device navigation bar 305 includes the identifiers of other devices in the trust ring discovered by the local device. For example, the device navigation bar 305 displays an identifier 312 indicating the local device, an identifier 313 indicating S's mobile phone, an identifier 314 indicating S's Pad, an identifier 315 indicating S's smart screen, etc. The identifier 312 indicating the local device is in a selected state, indicating that the photo album displayed in the function interface 303 is the photo album of the electronic device itself (the local device).

[0126] The user can instruct the electronic device to display the media data stored in the device by operating the album in the function interface 303. For example, in response to the user's click operation on the album cover of any album in the function interface 303, the electronic device can display the corresponding grid image interface, and the grid image interface includes thumbnails of the media data belonging to the clicked album. In response to the user's operation on the thumbnails in the grid image interface, the electronic device can directly display the original data of the operated thumbnail. For example, the thumbnail of a photo is operated to display the full image of the photo. For another example, the thumbnail of a video is operated to play the complete video data. For another example, the thumbnail of a dynamic picture is operated to play all the image frames contained in the dynamic picture.

[0127] In addition, on the device navigation bar 305, in addition to the logo 312 indicating the local device, the logo indicating other devices may be the Bluetooth names of other devices. The other devices here may refer to devices that the electronic device has discovered and has a trust relationship with. For example, the Bluetooth name of a slave device is "S's mobile phone", and the logo indicating the slave device may be the text "S's mobile phone". In the case where there are many slave devices in the trust ring of the electronic device and the above-mentioned device navigation bar 305 cannot fully display the logos of all slave devices, the display position of the logo 312 indicating the local device is fixed, and the logos of some slave devices are displayed in the device navigation bar 305, while the logos of other slave devices are hidden. In this scenario, the electronic device can display the hidden logos of slave devices in response to the user's sliding operation on the device navigation bar 305.

[0128] In some embodiments, the electronic device can determine the corresponding designated device in response to the user's operation on the identifier indicating other devices in the device navigation bar 305, such as a click operation. For example, in response to the user clicking the identifier 313 indicating "S's mobile phone" on the device navigation bar 305, "S's mobile phone" is determined as the designated device. Then, a data transmission link is established with "S's mobile phone", which can also be referred to as the electronic device establishing a connection with "S's mobile phone".

[0129] After the electronic device is connected to "S's mobile phone", the electronic device can obtain all album information and thumbnails of all media data of "S's mobile phone". Figure 3 As shown, the electronic device may display a loading interface 306. After the electronic device receives all the album information and thumbnails of all media data in "S's phone", the electronic device may display the album information from "S's phone". Figure 3 As shown, the electronic device can display a function interface 307 on which all album information from S's mobile phone is displayed.

[0130] It can be understood that both the function interface 307 and the function interface 303 are function interfaces of the photo album, and the differences are as follows:

[0131] First, the logo 313 indicating “S’s mobile phone” on the device navigation bar 305 in the function interface 307 is in a selected state.

[0132] Second, the album information displayed in the function interface 307 is the same as the local album in "S's phone" (that is, the current designated device). For example, the albums in "S's phone" include: an album named "All Photos", an album named "Camera", an album named "My Favorites", an album named "Videos", and an album named "Others". When "S's phone" is determined to be the designated device, the function interface 307 can display an album 316 named "All Photos", an album 317 named "Camera", an album 318 named "My Favorites", an album 319 named "Videos", and an album 320 named "Others".

[0133] In addition, if S's mobile phone has synchronized media data from other devices (such as S's Pad), S's mobile phone may also include a local album for storing media data from S's Pad, such as an album named "from S's Pad". Correspondingly, the album "from S's Pad" will also be displayed on the function interface 307. Figure 3 As shown, S's mobile phone does not contain the photo album "from S's Pad", and correspondingly, the photo album "from S's Pad" is not displayed on the function interface 307.

[0134] In some embodiments, the slave devices in the trust ring of the electronic device may change, or the electronic device may newly discover more slave devices in the trust ring. The device navigation bar 305 of the electronic device may also change accordingly.

[0135] Exemplarily, when the electronic device discovers more slave devices in the trust ring, the identifiers of the newly added slave devices may be displayed in the device navigation bar 305 .

[0136] like Figure 4 As shown, during the display of the function interface 307, if a device with a Bluetooth name of "L's phone" is added to the trust ring of the electronic device, a prompt bubble 401 may be displayed in the function interface 307, and the prompt bubble 401 is used to prompt the user to view the newly added device in the trust ring by sliding. After the prompt bubble 401 is displayed, in response to the user's sliding operation on the device navigation bar 305, the logo arranged on the left side of the device navigation bar 305, such as the logo 313 indicating S's phone, may be hidden, and the logo of the newly added device, such as the logo 402 indicating "L's phone", may be displayed to present a visual effect of the logo displayed on the device navigation bar 305 sliding to the left.

[0137] In an exemplary scenario, when there are fewer devices in the trust ring of the first device (this device), when a third device is added to the trust ring, for example, when the third device joins the local area network of the first device, the identifier of the third device can be displayed on the interface with the device navigation bar 305 (such as called the eleventh interface).

[0138] In an exemplary scenario, when there are many devices in the trust ring of the first device (this device) and the eleventh interface cannot display the identification of all devices, when a third device is added to the trust ring, a prompt bubble can be displayed on the eleventh interface to guide the user to swipe left on the device navigation bar 305 to view the identification of the newly added third device.

[0139] Exemplarily, the logos on the device navigation bar 305 (eg, logo 312, logo 313, logo 314, logo 315 and logo 402) are arranged in order from left to right, and the newly added logo 402 indicating "L's mobile phone" can be arranged at the last position.

[0140] As another example, when the slave device exits the trust loop, or when the slave device is far away from the electronic device, the electronic device is disconnected from the slave device, or the slave device cannot be found, the identifier indicating the slave device can be cancelled in the device navigation bar 305. As another example, when the electronic device is disconnected from the slave device, or the slave device cannot be found, the device navigation bar 305 can also temporarily retain the identifier of the slave device that has exited the trust loop until it is detected that the user clicks on the identifier of the slave device that has exited the trust loop, or the electronic device refreshes the data of the connected device.

[0141] In some embodiments, the user can trigger the electronic device to establish a connection with the device corresponding to the clicked identifier by clicking on the identifier in the device navigation bar 305. It is understandable that the electronic device can maintain connection with one or more devices at the same time. Of course, the number of devices connected to the electronic device at the same time is limited, for example, a maximum of a first number of devices can be connected at the same time.

[0142] Taking an electronic device that can be connected to three devices at the same time as an example, before the electronic device responds to a user operation and requests to establish a connection with a fourth device (eg, requests to establish a data transmission link), the electronic device needs to disconnect from a connected device.

[0143] In an exemplary scenario, the electronic device is connected to "S's smart screen", "S's Pad" and "S's mobile phone", that is, data transmission links have been established between the electronic device and "S's smart screen", "S's Pad" and "S's mobile phone", and the links have not been disconnected.

[0144] In the above scenario, after detecting the user's left sliding operation on the device navigation bar 305, as shown in FIG. Figure 5 As shown, a logo 402 indicating "L's mobile phone" is displayed on the device navigation bar 305. During the display of the function interface 307, in response to the user's click operation on the logo 402, the electronic device determines that "L's mobile phone" is the designated device, and then displays the loading interface 501. During the display of the loading interface 501, the electronic device can determine whether the number of currently connected devices exceeds the upper limit, such as determining whether the number of currently connected devices is three. In the above scenario, the number of devices connected to the electronic device has reached three, and the function interface 502 can be displayed, and the function interface 502 includes a connection configuration window 503.

[0145] Among them, the mobile phone of L can be called the fourth device, and the function interface 307 is also an interface with a device navigation bar, which can also be called the eleventh interface. In response to the user's left swipe operation, the logo of L's mobile phone (the logo of the fourth device) can be displayed on the function interface 307. In response to the user's operation on the logo of the fourth device, the first window (that is, the connection configuration window 503) is displayed.

[0146] Exemplarily, the connection configuration window 503 can be used to select the device to be disconnected. The connection configuration window 503 includes a prompt message 506, which is used to prompt the user that the number of devices connected to the current electronic device has reached the upper limit, and a connected device must be disconnected before accessing "L's mobile phone".

[0147] In addition, the connection configuration window 503 also includes the identifier of the connected device and the corresponding selection control. There is a one-to-one correspondence between the identifier of the connected device and the selection control. For example, in the connection configuration window 503, the identifier 507 (such as the first device identifier) ​​indicating S's mobile phone corresponds to the selection control 504.

[0148] like Figure 5 As shown, the electronic device can determine that the user instructs to disconnect from "S's phone" in response to the user's click operation on the selection control 504. After disconnecting from "S's phone", the electronic device establishes a connection with "L's phone", for example, establishes a data transmission link with "L's phone". Then, the electronic device obtains the album information (such as the second album information) and thumbnails of the media data of "L's phone" from "L's phone" through the data transmission link. Afterwards, the electronic device can display a function interface 505 (such as the thirteenth interface), on which the album information from "L's phone" is displayed.

[0149] Function interface 505 and function interface 303 are both function interfaces for browsing albums. The difference between the two is that: on the device navigation bar 305 of function interface 505, the logo 402 indicating "L's mobile phone" is in a selected state, which is used to prompt that the album information displayed in function interface 505 comes from "L's mobile phone". For example, L's mobile phone contains an album named Camera, an album named All Photos, an album named From S's Pad, an album named Screenshots, an album named Videos, and an album named Video Editing. Correspondingly, function interface 505 also displays an album named Camera 508, an album named All Photos 509, an album named From S's Pad 510, an album named Screenshots 511, an album named Videos 512, and an album named Video Editing 513. In this way, through this function interface 505, it is possible to simulate accessing the albums in L's mobile phone in the gallery application.

[0150] In addition, the album 509 displayed on the function interface 505 has the same album name as the album 304 in the function interface 303 and the album 316 in the function interface 307, but the corresponding multimedia data is different. Among them, the media data corresponding to the album 304 is stored in the local device, the media data corresponding to the album 316 is stored in S's mobile phone, and the media data corresponding to the album 509 is stored in L's mobile phone.

[0151] like Figure 6As shown, the connection configuration window 503 also includes a cancel control. In response to the user clicking the cancel control, the electronic device can maintain the established data transmission link with "S's smart screen", "S's Pad" and "S's mobile phone", and does not establish a connection with "L's mobile phone". The connection failure interface 601 is displayed, indicating that "L's mobile phone" is temporarily inaccessible, that is, a reminder message indicating a connection failure is displayed. The connection failure interface 601 can also include a control 602. When the user clicks the control 602, the electronic device can pop up the connection configuration window 503 again.

[0152] In addition, after the electronic device is disconnected from "S's phone", the electronic device can also reconnect with "S's phone" in response to the user's operation on the logo 313 indicating S's phone on the device navigation bar 305. Similarly, before establishing a connection, if the number of connected devices exceeds the upper limit, the electronic device also needs to disconnect a connected device. Afterwards, the electronic device can display the loading interface 306 again. While displaying the loading interface 306, the electronic device again obtains the album information and thumbnails of the media data in "S's phone". After obtaining the album information and thumbnails in "S's phone", the function interface 307 is displayed again.

[0153] In other embodiments, when the number of other devices connected to the electronic device has not reached the upper limit, in response to the user clicking on the logo of the newly added device, for example, in response to the user clicking on the logo of the third device in the eleventh interface, the first album information from the third device is received. Then, the twelfth interface is displayed, and the twelfth interface displays the first album information indicating multiple albums. The implementation details of the above process can be referred to Figure 3 The scene after clicking the mark 313 is shown, which will not be described in detail here. The twelfth interface of the third device is similar to the function interface 307 corresponding to S's mobile phone.

[0154] In some embodiments, after the electronic device establishes a connection with a slave device in the trust ring, the electronic device can directly access the slave device, or display a functional interface containing the album information of the slave device, simulating accessing the album of other devices in a gallery application. For example, after establishing a connection with "S's phone", the electronic device can directly access "S's phone", obtain the corresponding album information and thumbnails of media data from "S's phone", and then display the functional interface 307.

[0155] In some embodiments, after the electronic device displays the functional interface containing the album information of the slave device, it can respond to user operations and view the media data in the slave device across devices, such as photos, videos, and dynamic images.

[0156] like Fig. 7AAs shown, in the function interface 307 corresponding to "S's mobile phone", the album information from "S's mobile phone" is displayed. For example, the album information of the "Camera" album 317 is displayed in the function interface 307. The album information of the "Camera" album 317 includes: the album name is "Camera", the number of media data in the album is 3, and the album cover of "Camera".

[0157] For example, Fig. 7A As shown, in response to the user's click operation on the album 317, the grid image interface 702 corresponding to "S's mobile phone" is displayed, which is called the first interface. The grid image interface 702 displays thumbnails of multiple media data, and the displayed thumbnails are of a first size. In addition, the media data corresponding to the grid image interface 702 all belong to the "Camera" album in S's mobile phone, that is, the media data corresponding to the grid image interface 702 are stored in S's mobile phone. For example, the grid image interface 702 includes a first thumbnail of the first data, and the above-mentioned first data can be photo data, video data, dynamic picture, etc. In the subsequent embodiments, the first data is described as the first photo, video data a and dynamic picture a as examples.

[0158] For example, before displaying the grid image interface 702, the thumbnails obtained through the data transmission link between the electronic device (first device) and S's mobile phone (second device) include thumbnails of media data in the "Camera" album. In addition, during the display of the function interface 307, the electronic device can also display the grid image interface of other albums corresponding to S's mobile phone in response to the user clicking on other albums, which is not specifically limited in the present embodiment of the application.

[0159] The data size of the thumbnail of the first size is smaller than the data size of the original data of the media data. When the data transmission bandwidth between devices remains unchanged, the transmission speed of the thumbnail of the first size is also faster than the transmission speed of the original data of the media data.

[0160] While displaying the grid image interface 702, the electronic device can display a thumbnail of the second size of the media data, which can also be called a preview image, in response to a user's click operation on a thumbnail of any media data. Among them, the thumbnail resolution of the second size corresponding to the same media data is higher than the thumbnail resolution of the first size. Of course, the data size of the thumbnail of the second size is also smaller than the original data of the media data, but larger than the thumbnail of the first size. For example, when the media data is a single-frame image (such as a photo), the above-mentioned thumbnail of the second size is an image obtained by downsampling the original data of the media data. For example, when the media data is video data or a dynamic picture, the above-mentioned thumbnail of the second size is an image obtained by downsampling the cover image frame based on the media data.

[0161] In addition, the second sizes corresponding to different media data may be different, and the specific value of the second size is not limited in the embodiment of the present application.

[0162] like Fig. 7A As shown, during the display of the grid image interface 702, the electronic device can display a loading interface 704 in response to a user's click operation on the thumbnail 703 of the first photo. In addition, the electronic device can also receive a thumbnail of a second size corresponding to the first photo, such as receiving a thumbnail of a second size from S's mobile phone. When the electronic device receives a thumbnail of a second size of the first photo (also referred to as a preview image), a preview interface 705 can be displayed, which includes a thumbnail 706 of a second size of the first photo. When the first data is the first photo, the thumbnail 703 of the first size is the corresponding first thumbnail, the preview interface 705 is the corresponding second interface, and the thumbnail 706 of the second size is the corresponding first preview image.

[0163] In some examples, during the display of the grid image interface 702, or in other words, after the grid image interface 702 is displayed in response to the user clicking the album 317, the electronic device starts to receive the second-sized thumbnail of each media data displayed in the grid image interface 702 from "S's phone". In other words, the electronic device does not receive the second-sized thumbnail of each media data displayed in the grid image interface 702 from "S's phone" when displaying the function interface 307, but starts to receive the second-sized thumbnail of each media data displayed in the grid image interface 702 from "S's phone" after the grid image interface 702 is displayed.

[0164] However, it takes a certain amount of time to receive the second-sized thumbnail of each media data displayed on the grid image interface 702 from "S's mobile phone". When the user clicks the first-sized thumbnail displayed on the grid image interface 702, the media data of the second-sized thumbnail corresponding to the first-sized thumbnail may have been received, or the media data of the second-sized thumbnail corresponding to the first-sized thumbnail may not have been received. Therefore, before receiving the user clicking on the thumbnail 703, if the second-sized thumbnail of the media data (first photo) represented by the thumbnail 703 has been received, the preview interface 705 can be directly displayed. Before receiving the user clicking on the thumbnail 703, if the second-sized thumbnail of the first photo has not been received, the loading interface 704 can be displayed first. After the loading interface 704 is displayed, a request is made to S's mobile phone to obtain the second-sized thumbnail of the first photo, and after receiving the second-sized thumbnail of the first photo, the preview interface 705 is displayed.

[0165] The preview interface 705 also includes: an image processing function bar 707. The image processing function bar 707 includes multiple icons, such as icon 709, icon 710, icon 711 and icon 712. Each of the multiple icons can represent a function of processing media data. The functions of processing media data include the functions of sharing media data, editing media data, saving media data and copying media data. Among them, the above-mentioned icon 709 corresponds to the function of sharing media data, icon 710 corresponds to the function of editing media data, which can be called the first control, icon 711 corresponds to the function of saving media data, and icon 712 corresponds to the function of copying media data.

[0166] During the period when the thumbnail 706 of the first photo is displayed on the preview interface 705, in response to the user's operation on the icon in the image processing function bar 707, the corresponding image processing operation can be performed on the first photo. For example, in response to the user clicking on icon 709, the electronic device can obtain the original data of the first photo, and after obtaining the original data, it can also display the available sharing channels. For another example, in response to the user clicking on icon 710, the electronic device can also obtain the original data of the first photo, and after obtaining the original data, display the editing interface for editing the first photo, that is, the third interface. For another example, in response to the user clicking on icon 711, the electronic device can obtain the original data of the puppy photo and store the first photo. For another example, in response to the user clicking on icon 712, the electronic device can obtain the original data of the first photo and copy the original data.

[0167] It is understandable that after storing the first photo, the first photo can also be stored in a local photo album of the electronic device, such as, Figure 7B As shown, after detecting that the user clicks icon 711, the electronic device can create a local album named "from S's phone" on the local device and store the first photo in the album. In this way, when detecting that the user indicates to view the function interface 303 for browsing the local album, a new album 713 is added to the displayed function interface 303.

[0168] In addition, before displaying the grid image interface 702, the electronic device may also obtain basic information of each media data in "S's mobile phone", for example, the basic information may include shooting time, shooting device, image type, shooting parameters (such as focal length, shooting mode, original image size, etc.) and other information. Fig. 7AAs shown, the loading interface 704 also displays basic information corresponding to the first photo, for example, the loading interface 704 can display information such as shooting time and shooting equipment. In addition, the loading interface 704 also displays a control 714, and in response to the user clicking the control 714, the electronic device can display the shooting parameters of the first photo. The loading interface 704 can also display an icon indicating the image type, for example, icon 708 indicates that the image type of the first photo is a continuous shooting photo.

[0169] In addition, after the preview interface 705 is displayed, the preview interface 705 may continue to display basic information, controls 714 and icons 708 corresponding to the first photo.

[0170] In some embodiments, after the electronic device establishes a connection with a slave device in the trust ring, the electronic device can also synchronize the media data in the slave device in real time. For example, when new media data is added to the slave device, the electronic device can obtain a thumbnail (first size) of the new media data in real time to achieve real-time synchronization of data.

[0171] Exemplarily, the electronic device may synchronize media data in response to a new image addition notification sent by a connected device.

[0172] for example, Figure 8 As shown, during the period when the electronic device displays the grid image interface 702 corresponding to "S's mobile phone", the electronic device receives a notification 1 from S's mobile phone, which indicates that a second number (e.g., 4) of media data is newly added to "S's mobile phone", which can also be called an image addition notification. Exemplarily, the thumbnails of the grid image interface 702 are arranged in order from left to right and from top to bottom. In response to notification 1, the electronic device can display a second number of placeholders, such as placeholders 801, before the thumbnails displayed in the grid image interface 702. During the display of the second number of placeholders, the electronic device can receive thumbnails (first size) of the newly added media data and corresponding basic information from S's mobile phone through a data transmission link. After receiving the thumbnail (first size) of the newly added media data, the thumbnail (first size) of the newly added media data is used to replace the placeholder in the grid image interface 702, for example, the thumbnail 802 of the newly added media data (ninth data) is used to replace the placeholder 801. In the grid image interface 702, among the thumbnails of the newly added media data, the thumbnails of the newly added media data collected earlier are arranged at the back, and the thumbnails of the newly added media data collected later are arranged at the front. Figure 8 The newly added media data indicated by the thumbnail 802 in the middle is collected at the earliest time, and the thumbnail 802 is arranged after the thumbnails of other newly added media data.

[0173] Exemplarily, the electronic device may periodically query whether there is new media data in the connected device. When new media data is found from the slave device, the media data is synchronized. Alternatively, the electronic device passively receives the new media data sent from the slave device, that is, the electronic device does not actively query whether there is new media data in the connected device, but the slave device detects whether there is new media data itself, and when new media data is detected, the new media data can be sent to the electronic device.

[0174] In the above embodiments, the process of an electronic device viewing photos across devices is exemplified. In some embodiments, the electronic device can also view video data across devices.

[0175] like Fig. 9 As shown, the electronic device displays a grid image interface 702 corresponding to S's mobile phone. The grid image interface 702 includes thumbnails of video data, for example, a thumbnail 901 of video data a, which can be a thumbnail of a first size of a cover image frame of video data a.

[0176] When the grid image interface 702 is displayed, the electronic device can display a loading interface 902 in response to the user clicking on the thumbnail 901. The loading interface 902 is a waiting interface for the electronic device to load the video data a, and the basic information of the video data a is displayed in the loading interface 902. For example, the loading interface 902 displays the shooting time and shooting device of the video data a, and also displays an identification indicating the image type of the video data a, for example, the identification 903 indicates that the video data a is a LOG video. In addition, the loading interface 902 also includes a control 909, and the electronic device can display the shooting parameters of the video data a in response to the user's operation on the control 909.

[0177] The loading interface 902 also includes an image processing function bar 707, which also includes function icons such as icons 709, 710, 711, and 712, which are used to trigger the execution of different image processing functions for the video data a. Executing the image processing function for the video data a refers to executing the image processing function for the original data of the video data a.

[0178] After displaying the loading interface 902, the electronic device receives a thumbnail of a third size of the cover image frame of the video data a from the mobile phone of S through a data transmission link, such as a preview image. The third size is larger than the first size. Similarly, the thumbnail of the third size can be an image obtained by downsampling the cover image frame, and the size of the thumbnail of the third size is also smaller than the original data of the cover image frame.

[0179] After obtaining the third-size thumbnail of the cover image frame, the electronic device may display a preview interface 904, in which a thumbnail 905 is displayed, and the thumbnail 905 is the third-size thumbnail of the cover image frame. The preview interface 904 also displays basic information of the video data a, an identifier 903, and a control 909. When the first data is the video data a, the thumbnail 901 is the corresponding first thumbnail, the preview interface 904 is the corresponding second interface, and the thumbnail 905 is the corresponding first preview image.

[0180] In addition, the preview interface 904 also includes: an image processing function bar 707. The image processing function bar 707 includes an icon 709, an icon 710 (such as a first control), an icon 711 and an icon 712.

[0181] Exemplarily, during the period when the thumbnail 905 of video data a is displayed on the preview interface 904, in response to the user's operation on the icon in the image processing function bar 707, the corresponding image processing operation can be performed on the video data a. For example, in response to the user clicking on the icon 709, the original data of the video data a can be received, and after the original data is obtained, the available sharing channels can also be displayed. For another example, in response to the user clicking on the icon 710, the original data of the video data a can also be received, and after the original data is obtained, an editing interface for editing the original data of the video data a is displayed, which can also be called a third interface. For another example, in response to the user clicking on the icon 711, the original data of the video data a can be received and stored. For another example, in response to the user clicking on the icon 712, the original data of the video data a can be received and copied. It can be understood that in response to the user clicking on the thumbnail of any media data in the palace image interface 702, the electronic device can receive the downsampled image of the target image frame of the media data and display it. For video data and dynamic pictures, the target image frame may be the cover image frame of the video data and the dynamic picture, and for picture data, the target image frame may be the picture data itself.

[0182] In addition, the preview interface 904 also includes a play control 906 for instructing to play the video data a.

[0183] For example, the electronic device may send a data acquisition request to S's mobile phone in response to the user's operation on the play control 906 on the preview interface 904, instructing to acquire the original data of the video data a. In addition, in response to the user's operation on the play control 906 on the preview interface 904, the electronic device may also display a loading interface 907. The loading interface 907 includes a thumbnail 905 and an indicator 910 indicating waiting for loading.

[0184] In an exemplary scenario, the electronic device receives the complete original data of the video data a, which can be called the transmission of the original data is successful. In this scenario, the electronic device can display a play interface 908, wherein the play interface 908 includes the video data a being played.

[0185] In addition, after receiving the complete video data, the electronic device can cache the original data of the video data a, so that when the video data a needs to be processed later, such as sharing the video data a, editing the video data a, saving the video data a or copying the video data a, there is no need to receive the original data of the video data a from S's mobile phone again.

[0186] In a possible implementation, after the preview interface 904 is displayed in response to the user clicking on the thumbnail 901 and before the user clicks on the play control 906, the electronic device can receive the original data of the video data a from "S's mobile phone". If the electronic device has received the original data of the video data a when the user clicks on the play control 906, the video can be played directly. Alternatively, after the electronic device receives the original data of the video data a from "S's mobile phone", even if the user does not click on the play control 906, the electronic device can play the video silently. Playing the video silently means displaying the video frame by frame but not playing the audio of the video.

[0187] For example, a scenario such as Fig.10 As shown, the electronic device has not successfully received the original data of the video data a, which can be called the transmission failure of the original data. In this scenario, the electronic device can display the preview interface 904 again.

[0188] For example, before the electronic device receives the original data of video data a from S's mobile phone, the connection between the electronic device and S's mobile phone is disconnected, and it is determined that the transmission of the original data of video data a has failed. The electronic device may display the preview interface 904 again. In addition, in a possible embodiment, a prompt message may be displayed in the preview interface 904 displayed again to prompt the user that the data acquisition has failed or to prompt the user to check whether the device is connected.

[0189] For another example, when the electronic device is receiving the original data of video data a, the connection between the electronic device and S's mobile phone is disconnected, and it is also determined that the transmission of the original data of video data a fails. The electronic device can display the preview interface 904 again.

[0190] For another example, when S's mobile phone has configured that the original data is not shared, S's mobile phone receives a data acquisition request from the electronic device and sends a response indicating that the request failed to the electronic device. The electronic device may also determine that the transmission of the original data of the video data a has failed. The electronic device may display the preview interface 904 again.

[0191] In an exemplary scenario, the grid image interface 702 also includes a fifth thumbnail of the seventh data, which is also video data stored in the second device. In response to the user clicking on the fifth thumbnail, a third preview of the seventh data is displayed in the ninth interface. Among them, the ninth interface is a preview interface for displaying the seventh data across devices, similar to the preview interface 904. The third preview image can be a thumbnail of the third size corresponding to the seventh data. In response to an operation indicating the playback of the seventh data, for example, clicking on the play control in the ninth interface, the seventh data is received. In the case where the seventh data is successfully received, the seventh data is played in the ninth interface. Exemplarily, in the case where all image frames of the seventh data are received, the seventh data can be played silently in the ninth interface. Again exemplarily. In the case where the complete original data of the seventh data is received, the seventh data can be played normally in the ninth interface.

[0192] It should be noted that, in the above scenarios where transmission fails due to different reasons, the electronic device can display different prompt information. For example, when S's mobile phone has been configured not to share the original data, the electronic device can prompt the user to enable the data sharing function in S's mobile phone when displaying the preview interface 904 again. When the connection between the electronic device and S's mobile phone is disconnected, the user can be prompted that the connection between the electronic device and S's mobile phone is disconnected, and can try again after reconnecting.

[0193] In some embodiments, the electronic device can also view dynamic pictures across devices. The dynamic picture includes multiple frames of image frames collected continuously. The display form of the dynamic picture includes static display and dynamic display. In the case of static display, only the cover image frame of the dynamic picture is displayed, and the cover image frame is one of the multiple frames of image frames of the dynamic picture. In the case of dynamic display, the multiple frames of image frames of the dynamic picture are played in a loop according to the order of collection.

[0194] like Fig.11 As shown, the electronic device displays a grid image interface 702 corresponding to S's mobile phone. The grid image interface 702 includes thumbnails of dynamic pictures, for example, a thumbnail 1101 of dynamic picture a, which can be a thumbnail of the first size of the cover image frame of dynamic picture a.

[0195] When the grid image interface 702 is displayed, the electronic device may display the loading interface 1102 in response to the user clicking the thumbnail 1101. For example, after the electronic device establishes a connection with S's mobile phone, the electronic device may display the loading interface 1102 in response to the user clicking the thumbnail 1101 of the grid image interface 702 for the first time.

[0196] After the electronic device establishes a connection with S's mobile phone, the electronic device has cached the dynamic image a from S's mobile phone. After detecting that the user clicks on the thumbnail 1101, the loading interface 1102 may not be displayed.

[0197] In addition, the above-mentioned loading interface 1102 is a waiting interface for the electronic device to load the dynamic picture a, and the basic information of the dynamic picture a is displayed in the loading interface 1102. For example, the shooting time and shooting equipment of the dynamic picture a are displayed in the loading interface 1102, and the logo indicating the image type of the dynamic picture a is also displayed. For example, the logo 1103 indicates that the dynamic picture a is a dynamic picture, and the thumbnail 1101 also includes an icon corresponding to the logo 1103, indicating that the photo corresponding to the thumbnail 1101 is a dynamic photo. In addition, the loading interface 1102 also includes a control 1111, and the electronic device can display the shooting parameters of the dynamic picture a in response to the user clicking the control 1111. The loading interface 1102 also includes an image processing function bar 707. The image processing function bar 707 includes icons 709, icons 710, icons 711 and icons 712, which are used to trigger the execution of different image processing functions for the dynamic picture a.

[0198] After displaying the loading interface 1102, the electronic device receives the original data of the dynamic image a from S's mobile phone through the data transmission link.

[0199] After obtaining the original data of dynamic picture a, the electronic device can display a preview interface 1104, which displays a cover image frame 1105 of dynamic picture a. Exemplarily, the electronic device can respond to the user's long press operation on the cover image frame 1105 to loop multiple frames of dynamic picture a.

[0200] In an exemplary scenario, the grid image interface 702 may also include a sixth thumbnail of the eighth data. The eighth data is a dynamic picture stored in the second device. In response to the user clicking the sixth thumbnail, the original data of the eighth data from the second device is received. After receiving the eighth data, the tenth interface (similar to the preview interface 1104) is displayed, in which the cover image frame of the eighth data (such as the fourth preview image) is displayed. In response to the user's operation, multiple image frames corresponding to the eighth data are cyclically displayed on the tenth interface.

[0201] In addition, the preview interface 1104 also includes an image processing function bar 707 . The image processing function bar 707 includes an icon 709 , an icon 710 , an icon 711 , and an icon 712 .

[0202] When the first data is a dynamic picture a, the thumbnail 1101 is the corresponding first thumbnail, the preview interface 1104 is the corresponding second interface, and the cover image frame 1105 is the corresponding first preview image.

[0203] Exemplarily, during the display of dynamic picture a on preview interface 1104, in response to the user's operation on the icon in image processing function bar 707, a corresponding image processing operation can be performed on dynamic picture a. For example, in response to the user clicking icon 709, available sharing channels can be displayed. For another example, in response to the user clicking icon 710, an editing interface for editing the dynamic picture a, such as the third interface, can also be displayed. For another example, in response to the user clicking icon 711, the dynamic picture a is stored. For another example, in response to the user clicking icon 712, the dynamic picture a is copied.

[0204] It is understandable that after displaying the loading interface 1102 , the electronic device has stored the original data of the dynamic image a. In this scenario, in response to the user clicking the icon 710 in the image processing function bar 707 , the electronic device can directly display the editing interface 1107 .

[0205] like Fig.11 As shown, the above-mentioned editing interface 1107 (the third interface of dynamic picture a) displays dynamic picture a. The editing interface 1107 includes a preview bar 1108. Each image frame corresponding to dynamic picture a is arranged in a tile in the preview bar 1108. The electronic device responds to the operation of any image frame in the preview bar 1108 and determines that the image frame is a target image frame. In this way, the target image frame can be displayed in the editing interface 1107. In addition, the editing interface 1107 also includes one or more editing function controls, which can also be referred to as one or more editing processing controls, such as cropping controls 1112, adjustment controls 1113, filter controls 1114 and graffiti controls 1115. Different editing function controls are used to trigger the execution of corresponding editing items on the target image frame.

[0206] Exemplarily, the cropping control 1112 may be used to trigger cropping of the target image frame in the editing interface 1107. The adjustment control 1113 may be used to trigger image color-related processing of the target image frame in the editing interface 1107, such as color adjustment, brightness adjustment, contrast adjustment, saturation adjustment, light adjustment, sharpening, etc. The filter control 1114 may be used to trigger adding filter effects to the target image frame in the editing interface 1107. The graffiti control 1115 may be used to trigger graffiti processing of the target image frame in the editing interface 1107.

[0207] Exemplarily, the editing interface 1107 further includes a control for instructing to store the target image frame as a picture, such as a storage control 1109 .

[0208] After selecting the target image frame, the electronic device can store the target image frame in response to the user's operation on the storage control 1109, and store the target image frame in the local photo album, for example, in the local photo album named "From S's Phone".

[0209] In addition, after the electronic device performs one or more editing items on the target image frame in response to the user's operation, when it detects the user's operation on the storage control 1109, it can store the edited target image frame, such as the second data corresponding to the dynamic picture a.

[0210] In addition, the editing interface 1107 also includes a control indicating that the dynamic image is stored as a GIF emoticon package, such as a storage control 1110. The electronic device can save the dynamic image a as a GIF emoticon package in response to the user's operation on the storage control 1110, which can also be called the second data corresponding to the dynamic image a.

[0211] In some embodiments, after the electronic device establishes a connection with the slave device, the electronic device can respond to user operations and edit the photo and video data in the slave device across devices.

[0212] For example, the electronic device may edit one or more photos across devices.

[0213] Taking editing a photo across devices as an example, when the electronic device views the photo in the slave device across devices, it can edit the photo across devices. In addition, in an embodiment of the present application, when accessing photos across devices, thumbnails of a second size are transmitted between the electronic device and the slave device, which improves data transmission efficiency and reduces the time occupied by data transmission while ensuring the user's visual requirements for viewing photos. When editing (or processing) photos across devices, the electronic device can request the original data of the photo from the slave device, so that the quality of the edited (or processed) photo can be ensured to meet the requirements of image editing. It can be seen that the electronic device can request suitable data from the slave device according to the actual scenario, meet the needs of different scenarios, and improve the human-computer interaction efficiency of the electronic device.

[0214] like Fig.12As shown, when the electronic device views the first photo in S's mobile phone across devices, a preview interface 705, a second interface, can be displayed. The preview interface 705 displays a thumbnail of the second size of the first photo. The preview interface 705 also includes an image processing function bar 707, and the image processing function bar 707 includes an icon 710, such as a first control. During the display of the preview interface 705, the electronic device can display a loading box 1201 on the preview interface 705 in response to the user's operation on the icon 710. In addition, during the display of the preview interface 705, in response to the user's operation on the icon 710, the electronic device can also send a data acquisition request to S's mobile phone to request the original data of the first photo. In response to the data acquisition request, S's mobile phone sends the original data of the first photo to the electronic device. In addition, the loading box 1201 is used to display the receiving progress of the original data of the first photo. For example, when the electronic device receives 60% of the original data of the first photo, the loading box 1201 can display that 60% has been transmitted. For another example, when the electronic device receives the complete original data of the first photo, the loading box 1201 can display that 100% has been transmitted. After that, the editing interface 1202 can be jumped to display, such as the fourth interface. The editing interface 1202 is an interface for editing a single photo.

[0215] It can be understood that before detecting that the user clicks the icon 710 in the preview interface 705, if the electronic device has cached the first photo, the electronic device does not display the above-mentioned loading box 1201 in response to the user clicking the icon 710 in the preview interface 705, and directly displays the editing interface 1202, which is called the third interface.

[0216] Exemplarily, the original data of the first photo is displayed in the editing interface 1202. In addition, the editing interface 1202 also includes an editing operation bar 1203. The editing operation bar 1203 includes one or more editing function controls, which can also be called one or more editing processing controls, such as a cropping control 1204, an adjustment control 1205, a filter control 1206, a beauty control 1207, and a graffiti control 1208. Different editing function controls can trigger different editing items to be performed on the first photo.

[0217] Exemplarily, in response to the user's operation on the cropping control 1204, the electronic device may perform a cropping process on the first photo in the editing interface 1202. In response to the user's operation on the adjustment control 1205, the electronic device may perform image color-related processing on the first photo in the editing interface 1202, such as color adjustment, brightness adjustment, contrast adjustment, saturation adjustment, light adjustment, sharpening, etc. In response to the user's operation on the filter control 1206, the electronic device may add a filter effect to the first photo in the editing interface 1202. In response to the user's operation on the beauty control 1207, the electronic device may perform a beauty process on the first photo in the editing interface 1202. In response to the user's operation on the graffiti control 1208, the electronic device may perform a graffiti process on the first photo in the editing interface 1202.

[0218] It is understandable that the user can instruct the electronic device to perform one or more editing items on the first photo through the editing function control of the editing operation bar 1203. For example, perform image processing such as cropping, beautification, image color-related processing, filter special effect processing, beautification, and graffiti processing.

[0219] In some embodiments, when the editing interface 1202 is displayed, the cropping control 1204 may be selected by default. In this way, a cropping frame 1209 may also be displayed relative to the first photo in the editing interface 1202. In this way, the user may manually adjust the position and size of the cropping frame 1209 to instruct the electronic device to determine the target image area to be cropped from the first photo.

[0220] In addition, the editing interface 1202 also includes a plurality of optional controls corresponding to preconfigured cropping ratios (width and height ratios), such as a control 1210 indicating the original ratio, a control 1211 indicating 9:16, a control 1212 indicating 16:9, a control 1213 indicating 3:4, and a control 1214 indicating 4:3. The user can select a control corresponding to a preconfigured cropping ratio to instruct the electronic device to determine a target image area to be cropped from the first photo according to the preconfigured cropping ratio.

[0221] Of course, if it is necessary to cancel the cropping process for the first photo, the user can click the original ratio, and the electronic device can restore the original data of the first photo in response to the operation. In addition, if it is not necessary to crop the first photo, the user can instruct the electronic device to perform other types of editing items for the first photo by clicking other types of editing function controls on the editing operation bar 1203 without clicking any pre-configured cropping ratio and adjusting the cropping frame.

[0222] In summary, during the display of the editing interface 1202, the electronic device can respond to the user's instructions and perform one or more editing items based on the first photo to obtain the corresponding second data. Afterwards, the electronic device can also store the edited media data and store it in the local photo album in response to the user's operation on the save control.

[0223] The following is an example of cropping the first photo:

[0224] like Fig.13 As shown, the editing interface 1202 includes a control 1214, which can trigger the electronic device to perform image cropping for the first photo according to the preconfigured cropping ratio (4:3). The electronic device can automatically determine the target image area to be cropped from the first photo in response to the user's operation on the control 1214, and the aspect ratio of the target image area is 4:3. Then, the electronic device can display the editing interface 1302, in which the cropped image 1303 corresponding to the target image area is displayed. Among them, the display content in the above-mentioned cropped image 1303 is the same as the display content in the target image area, and the aspect ratio is also the same. Compared with the editing interface 1302, the image displayed in the above-mentioned editing interface 1202 is changed from the first photo to the cropped image 1303.

[0225] For example, the target image region is an image region including a puppy's head and having an aspect ratio of 4:3, and the cropped image corresponding to the target image region may be an image including a puppy's head and having an aspect ratio of 4:3, such as cropped image 1303. Thus, after the target image region is determined, the displayed editing interface 1302 includes cropped image 1303.

[0226] In the above process, the electronic device responds to the user's operation (such as detecting that the user clicks on the control 1214) and crops the first photo. That is, after detecting the user's operation on the control 1214, the second data (cropped image 1303) corresponding to the video data a can be displayed in the third interface.

[0227] Afterwards, the electronic device detects that the user clicks the save control 1304 (fourth control) in the editing interface 1302, and in response to the operation, displays a save prompt box 1305 (second prompt window) in the editing interface 1302. The save prompt box 1305 can prompt the user whether to save the modification to the first photo.

[0228] If the user clicks a control 1308 indicating cancel in the save prompt box 1305 , the save prompt box 1305 is canceled and the editing interface 1302 including the cropped image 1303 continues to be displayed.

[0229] If the user clicks control 1307 in the save prompt box 1305, the electronic device can respond to the user's operation, such as Fig.13 As shown, a preview interface 1306 is displayed, which is called the sixth interface. The preview interface 1306 is an interface for displaying media data in the local device, and includes a share icon 1309, a favorite icon 1310, an edit icon 1311, a delete icon 1312, and a control 1313 indicating a view more function.

[0230] In addition, in response to the user clicking control 1307 in the save prompt box 1305, the electronic device can also store the edited image (e.g., the cropped image 1303), and correspondingly, the preview interface 1306 can display the edited media data (e.g., the cropped image 1303). Exemplarily, the above storage can be storing the above edited image in the local photo album.

[0231] In some embodiments, the electronic device may also display the album where the edited image is stored in the preview interface 1306, such as displaying a bubble prompt message 1314, to facilitate the user to find the edited image locally. Of course, in addition to storing the edited image (such as the cropped image 1303), the original image (such as the first photo) may also be stored in the local photo album. In other embodiments, a draft file of the photo (such as a second draft file) may also be stored, which records the editing operation parameters that have been performed on the photo (which may indicate the editing items that have been performed on the original data), to facilitate the subsequent recovery of the editing progress of the photo.

[0232] In some embodiments, after the electronic device stores the media data (including unedited images and edited images) from S's mobile phone, it can be stored in the local photo album related to S's mobile phone, for example, stored in the photo album "from S's mobile phone". The name of the above photo album related to S's mobile phone is only an example and is not specifically limited in the embodiments of the present application.

[0233] Taking the scenario where the electronic device does not store media data from "S's phone" as an example, the electronic device does not contain the album "from S's phone". After displaying the editing interface 1202, the electronic device can respond to the user's operation and perform one or more editing operations on the first photo to obtain the edited first photo (e.g., cropped image 1303). In this way, in response to the user's instruction to store the edited first photo, the electronic device can create the album "from S's phone" and store the edited first photo in the album "from S's phone".

[0234] Taking the scenario where the electronic device has stored the media data from "S's phone" as an example, the electronic device already has an album "from S's phone". Thus, in response to the user's instruction to store the edited first photo, the electronic device can store the edited first photo in the album "from S's phone".

[0235] In the above scenario, the user can access the cropped image 1303 through the photo album in the local computer. Fig.14A As shown, the preview interface 1306 includes a control 1401 indicating return, and the electronic device can display the grid image interface 702 corresponding to S's mobile phone in response to the user's operation on the control 1401. It can be understood that when the electronic device processes the media data in S's mobile phone across devices, it does not change the data in S's mobile phone. The thumbnail of the cropped image 1303 is not displayed in the grid image interface 702 corresponding to S's mobile phone. In other words, when no media data is added or reduced in the album "Camera" of S's mobile phone, the thumbnails in the grid image interface 702 remain unchanged before and after the electronic device edits the media data in the album "Camera" of "S's mobile phone" across devices.

[0236] In addition, the grid image interface 702 also includes a control 1402 indicating return. The electronic device can display the function interface 307 in response to the user's operation on the control 1402. It can be understood that the album information displayed in the function interface 307 is the album information in S's mobile phone.

[0237] The electronic device may display a function interface 1403 in response to a user's operation on the identifier 312 on the device navigation bar 305. The function interface 1403 is the same interface as the function interface 303, and both are used to display the album information in the electronic device. Compared with the function interface 303, the function interface 1403 adds a photo album 1404 "from S's phone", in which the cropped image 1303 is stored, and the album cover of the photo album 1404 is a thumbnail of the cropped image 1303. In this scenario, in response to the user's instruction to access the photo album 1404, the grid image interface of the photo album 1404 may be displayed. The grid image interface of the photo album 1404 is used to display thumbnails of media data stored in the electronic device and related to S's phone, and the grid image interface of the photo album 1404 includes a thumbnail of the cropped image 1303.

[0238] Fig.14AThis is only one way to return to view the local album. Other ways can also be used to view the local album, which is not specifically limited in the embodiments of the present application. For example, in other embodiments, when displaying the preview interface 1306, in response to the user clicking the control 1401 indicating return, or in response to the user swiping right on the preview interface 1306, the electronic device can directly display the grid image interface of the "from S's phone" album 1404, and the grid image interface of the album 1404 includes a thumbnail of the cropped image 1303.

[0239] In another embodiment, after the electronic device edits a photo (eg, the first photo) from the device across devices, Fig. 14B As shown, in response to the user clicking on the control 1405 (second control) indicating exit in the editing interface 1302, an exit prompt window 1406 is displayed, such as called the first prompt window, and the exit prompt window 1406 includes a control 1407 indicating direct exit and a control 1408 indicating saving.

[0240] Exemplarily, in response to the user clicking the control 1407, the electronic device caches the original data of the photo (e.g., the first photo), but does not store the edited image or the draft file corresponding to the photo. In this way, the electronic device displays the editing function interface in response to the user operation. The draft file corresponding to the photo is not included in the editing draft column of the editing function interface. In addition, in response to the user clicking the control 1407, the electronic device can also display the preview interface 705 again.

[0241] For example, in response to the user clicking the control 1408, the original data of the photo and the edited image can be stored in the local album "from S's phone". In addition, in response to the user clicking the control 1408, the Fig.13 The preview interface 1306 in FIG.

[0242] In this way, the electronic device responds to the user's instructions and can skip the step of receiving the photo (e.g., the first photo) before starting to edit the photo (e.g., the first photo) again. For example, when the preview interface 705 is displayed again, the editing interface 1202 is directly displayed in response to the user clicking the icon 710, thereby reducing the waiting time for editing media data across devices and improving the user experience.

[0243] In other embodiments, in response to the user clicking the control 1408, the electronic device not only stores the original data and the edited image of the photo (e.g., the first photo), but also stores the corresponding draft file. Correspondingly, when the electronic device displays the editing draft bar of the editing function interface in response to the user's operation, the editing draft bar may include the first draft file of the photo (e.g., the first photo), and the details may refer to the description of the draft file of the video data in the subsequent embodiments.

[0244] Taking the example of editing multiple photos across devices, when the electronic device views the photo album in the slave device across devices, it can respond to the user's instructions and edit multiple photos across devices. Exemplarily, editing multiple photos across devices may include: based on multiple photos, enabling the jigsaw function, the one-click film function, or the free creation function. Among them, enabling the jigsaw function based on multiple photos is a common scenario for editing multiple photos. In the subsequent embodiments, the description is mainly based on enabling the jigsaw function based on multiple photos.

[0245] Exemplarily, the above-mentioned multiple photos may all be from the same slave device. Exemplarily, the above-mentioned multiple photos may also be from different slave devices. Exemplarily, the above-mentioned multiple photos may also include photos from the slave device and photos in the local device.

[0246] As a way to achieve this, Fig.15 As shown, while the grid image interface 702 corresponding to the mobile phone of S is displayed, in response to the user's long press operation on any thumbnail in the grid image interface 702, such as, in response to the user's long press operation on thumbnail 1501, the grid selection interface 1502 is displayed, and the thumbnails displayed in the grid selection interface 1502 are the same as the thumbnails displayed in the grid image interface 702. The difference is that the selection state of the thumbnails displayed in the grid selection interface 1502 can be changed.

[0247] The thumbnail 1501 may be a thumbnail of the third data, which is media data stored in the first device (S's mobile phone). The thumbnail 1501 may also be called a second thumbnail. In addition, a thumbnail of the fourth data may also be displayed in the grid image interface 702, which is also media data stored in the first device. The thumbnail of the fourth data may also be called a third thumbnail, for example, thumbnail 1503.

[0248] For example, in response to a long press operation of the thumbnail 1501, when the grid selection interface 1502 (such as the seventh interface) is triggered to be displayed, the thumbnail 1501 in the grid selection interface 1502 is already in a selected state. Fig.15As shown, a check mark “√” is displayed relative to thumbnail 1501, such as check mark 1505. Of course, during the display of grid selection interface 1502, the electronic device can respond to the operation of clicking thumbnail 1501, and can configure thumbnail 1501 to be unselected, and cancel the check mark “√” displayed relative to thumbnail 1501.

[0249] While the grid selection interface 1502 is displayed, the electronic device can respond to a user's click operation on an unselected thumbnail and configure it to be selected. Fig.15 As shown, in response to the user's click operation on thumbnail 1503 , thumbnail 1503 can be configured to be in a selected state, and a selection mark “√” is displayed relative to thumbnail 1503 , such as selection mark 1505 .

[0250] In addition, the grid selection interface 1502 includes a creation control 1506 , a sharing control 1507 , a select all control 1508 , a save control 1509 and a copy control 1510 .

[0251] Exemplarily, in response to the user clicking the select all control 1508 , all thumbnails in the grid selection interface 1502 may be configured to be in a selected state, and a selection mark “√” may be displayed relative to all thumbnails in the grid selection interface 1502 .

[0252] Exemplarily, after the thumbnails of the multiple photos are selected, in response to the user clicking the share control 1507, receiving and sharing the selected multiple photos can be triggered.

[0253] Exemplarily, after the thumbnails of the plurality of photos are selected, in response to the user clicking the save control 1509 , receiving and storing the selected plurality of photos may be triggered.

[0254] Exemplarily, after the thumbnails of multiple photos are selected, in response to the user clicking the copy control 1510, receiving and copying the selected multiple photos can be triggered.

[0255] As another example, after the thumbnails of multiple photos are selected, in response to the user clicking on the creation control 1506 in the grid selection interface 1502, a selection box 1504 can be displayed in the grid selection interface 1502. In response to different operations of the user in the selection box 1504, different image processing functions can be enabled based on the selected multiple images. For example, in response to the user clicking on the control 1511 indicating a one-click blockbuster, the multiple photos can be processed and matched with the video template to generate a video based on the multiple selected photos. For another example, in response to the user clicking on the control 1511 indicating free creation, a video can be generated based on the multiple selected photos. For another example, in response to the user clicking on the control 1512 indicating a puzzle, a puzzle can be performed based on the multiple selected photos.

[0256] like Fig.16 As shown, in response to the user clicking on the control 1513 indicating the puzzle in the selection box 1504, which is referred to as the operation in response to indicating the puzzle, the loading box 1601 can be displayed in the grid selection interface 1502. Among them, the above-mentioned clicking on the creation control 1506 in the grid selection interface 1502 and clicking on the control 1513 in the selection box 1504 can be collectively referred to as the operation of indicating the puzzle.

[0257] In addition, in response to the user clicking the control 1513 indicating the puzzle in the selection box 1504, the electronic device can also send a data acquisition request to S's mobile phone to request the acquisition of the original data corresponding to the selected thumbnail. In response to the data acquisition request, S's mobile phone sends the original data corresponding to the selected thumbnail to the electronic device. The loading box 1601 is used to display the receiving progress of the original data corresponding to the above-mentioned selected thumbnail. In the case of multiple selected thumbnails, the receiving progress of the original data corresponding to each thumbnail can be displayed one by one.

[0258] like Fig.16 As shown, when thumbnail 1501 and thumbnail 1503 are selected, after the electronic device receives the original data of thumbnail 1501 (photo a) and the original data of thumbnail 1503 (photo b), a puzzle editing interface 1602 can be displayed. Puzzle 1603 is displayed in the puzzle editing interface 1602, as referred to as the fifth data. Puzzle 1603 is an image spliced ​​out according to a matching puzzle template based on photos a and b. Among them, the matching puzzle template is a puzzle template that the electronic device selects from the preset puzzle templates according to the aspect ratio of photos a and b, which is adapted to photos a and b. For example, the adapted puzzle template is the template corresponding to control 1606, and control 1606 in the above puzzle editing interface 1602 is displayed as selected.

[0259] In addition, puzzle editing interface 1602 also includes controls indicating a variety of optional puzzle templates, such as control 1607 and control 1608. The user can select controls indicating other puzzle templates to instruct the electronic device to update the puzzle and display the updated puzzle.

[0260] While displaying the puzzle editing interface 1602 , the electronic device may display a preview interface 1605 in response to a user instruction to save the puzzle.

[0261] Exemplarily, the puzzle editing interface 1602 includes a control 1604 indicating saving. Fig.16As shown, in response to the user clicking the control 1604, the electronic device can display a save prompt box 1609. In response to the user operating the control 1610 indicating saving in the save prompt box 1609, a preview interface 1605 is displayed. The preview interface 1605 is used to display the media data in the local device. In this example, in response to the user clicking the control 1610, the electronic device can store the edited media data (e.g., puzzle 1603), so that the edited media data (e.g., puzzle 1603) can be displayed in the preview interface 1605.

[0262] In addition, the electronic device can store photo a, photo b and puzzle 1603 in the local album. For example, puzzle 1603 is stored in the local puzzle album, and photo a and photo b are stored in the album "from S's phone". In addition, the album where the edited image is stored can also be displayed in the preview interface 1605, such as displaying bubble prompt information 1611, so that the user can view the edited image locally.

[0263] In some embodiments, the electronic device can also create a puzzle based on photos in albums of different devices or photos in different albums of the same device.

[0264] Take different photo albums including the photo album of S's mobile phone and the photo album of this machine as an example. Fig.17 As shown, when a thumbnail has been selected in the grid selection interface 1502, such as when the thumbnail 1501 is selected, a selection preview box 1701 may be displayed on the grid selection interface 1502. The selection preview box 1701 also displays an identifier representing photo a, such as thumbnail 1706. The thumbnail 1706 and the thumbnail 1501 may include the same content, both indicating photo a (third data).

[0265] During the display of the selection preview box 1701, if thumbnail a is selected, a newly added thumbnail b, such as a label called photo a, can be displayed on the selection preview box 1701. The thumbnail a and thumbnail b can indicate the same media data. Afterwards, if thumbnail a is set to an unselected state, thumbnail b can also be cancelled from being displayed on the selection preview box 1701.

[0266] In addition, the grid selection interface 1502 includes a control 1702 indicating return, and the electronic device can display the function interface 307 in response to the user's operation on the control 1702. It can be understood that the album information displayed in the function interface 307 is the album information in S's mobile phone. In addition, the selection preview box 1701 continues to be displayed on the function interface 307.

[0267] The electronic device can respond to the user's operation on the label "this device" on the device navigation bar 305 to display the function interface 303. The function interface 303 is used to display the album information in the electronic device. The selection preview box 1701 continues to be displayed on the function interface 303. The user can indicate to display more other albums in the device by sliding upward.

[0268] Exemplarily, the electronic device displays a grid selection interface 1704, such as the eighth interface, in response to the user's operation on the album 1703. Among them, the above-mentioned album 1703 is an album named Camera in the local device, and the grid selection interface 1704 displays thumbnails of media data belonging to the camera album in the local device, and each thumbnail is in an unselected state. The electronic device can configure the thumbnail to a selected state in response to the user's operation on the thumbnail in the grid selection interface 1704. For example, the grid selection interface 1704 displays a fourth thumbnail of the sixth data, such as thumbnail 1705. In response to the user clicking on thumbnail 1705, thumbnail 1705 can be configured to a selected state. Correspondingly, a selection mark can be displayed relative to the thumbnail 1705. After the thumbnail 1705 is configured to be in the selected state, a thumbnail 1707 may be displayed on the selection preview box 1701, such as an identification called the sixth data. The thumbnail 1705 and the thumbnail 1707 may be thumbnails of the same media data.

[0269] In this way, by selecting the preview box 1701, the electronic device can respond to the user's instructions and enable the image processing function based on the media data corresponding to the thumbnail 1706 from S's mobile phone and the thumbnail 1707 from the local device.

[0270] like Fig.18 As shown, the electronic device can display the selection box 1801 in response to the user's operation on the creation control 1807 in the selection preview box 1701. In response to the user's click operation on the control 1808 indicating the puzzle in the selection box 1801 (which can be called the operation of indicating the puzzle), the loading box 1802 can be displayed. In addition, in response to the user clicking the control 1808, the electronic device can also send a data acquisition request to S's mobile phone to request the original data corresponding to the selected thumbnail. In response to the data acquisition request, S's mobile phone sends the original data corresponding to the selected thumbnail to the electronic device. The loading box 1802 is used to display the progress of receiving the original data corresponding to the above-mentioned selected thumbnail. Fig.18In the scene shown, the original data of thumbnail 1707 (photo c) has been stored in the local computer, and the original data of thumbnail 1706 (photo a) is stored in S's mobile phone. The loading box 1802 only displays the receiving progress of the original data of thumbnail 1706. After obtaining the original data of thumbnail 1706 (that is, photo a), the puzzle editing interface 1803 can be displayed. The puzzle editing interface 1803 displays puzzle 1804, such as the target puzzle data. The puzzle 1804 is an image spliced ​​out based on photos a and c according to the matching puzzle template. Among them, the matching puzzle template is the template corresponding to the control 1606, and the control 1606 in the above puzzle editing interface 1803 is displayed as selected.

[0271] While displaying the puzzle editing interface 1803 , the electronic device may display a preview interface 1806 in response to a user instruction to save the puzzle.

[0272] Exemplarily, the puzzle editing interface 1803 includes a control 1805 indicating saving. Fig.18 As shown, the electronic device displays a save prompt box 1809 in response to the user clicking the control 1805. In response to the user's operation on the control 1810 indicating the save in the save prompt box 1809, a preview interface 1806 is displayed. The preview interface 1806 is used to display the media data in the local machine. In this example, the electronic device can store the edited media data (e.g., puzzle 1804) in response to the user clicking the control 1810, so that the above-mentioned edited media data (e.g., puzzle 1804) can be displayed in the preview interface 1806. In addition, the electronic device can store photo a and puzzle 1804 in the album in the local machine. For example, puzzle 1804 is stored in the puzzle album of the local machine, and photo a is stored in the album "from S's mobile phone". In addition, the album where the edited image is stored can also be displayed in the preview interface 1806, such as displaying a bubble prompt message 1811, so that the user can find the edited image locally.

[0273] like Fig.17 and Fig.18 As shown, the electronic device can process multiple photos from different albums (which may be albums of different devices) by selecting the preview box 1701, effectively improving the user's human-computer interaction efficiency in processing media data in multiple devices.

[0274] certainly, Fig.17 and Fig.18 This is only one implementation method. In actual application, after triggering the display of the selection preview box 1701, other methods can also be used to access different albums, select photos from different albums, and then enable a variety of optional image processing functions based on the selected photos.

[0275] As another example, the electronic device may edit video data across devices.

[0276] When the electronic device views the video data in the slave device across devices, the electronic device can edit the video data across devices. Fig.19 As shown, when the electronic device is viewing the video data a in S's mobile phone across devices, a preview interface 904 may be displayed. The preview interface 904 displays a thumbnail 905 of the cover image frame of the video data a. The preview interface 904 also includes an icon 710 indicating "edit". The electronic device may display a loading box 1901 on the preview interface 904 in response to the user's operation on the icon 710 (also referred to as an operation indicating editing the video data a).

[0277] It can be understood that editing video data a means performing one or more editing items based on the original data of video data a. In response to the user's operation on icon 710, the electronic device can also send a data acquisition request to S's mobile phone to request the original data of video data a. In response to the data acquisition request, S's mobile phone sends the original data of video data a to the electronic device. The above-mentioned loading box 1901 can be used to display the reception progress of the original data of video data a. After the electronic device receives the complete original data of video data a, the editing interface 1902 can be displayed. In addition, after receiving the original data of video data a, it can also be stored in the local album, such as stored in the album "from S's mobile phone".

[0278] In other possible embodiments, before detecting the user's operation on icon 710, the original data of video data a has been stored in the electronic device. For example, the electronic device has played the video data a. At this time, the original data of video data a has been stored in the electronic device, and the steps of displaying the loading box 1901 and receiving the original data of video data a can be skipped, and the editing interface 1902 can be directly displayed.

[0279] Exemplarily, the above-mentioned editing interface 1902 (such as referred to as the third interface) displays a cover image frame of the video data a and one or more types of video processing function controls (such as referred to as one or more editing processing controls). The electronic device can respond to the user's operation on the one or more video processing function controls and perform one or more video editing items (also referred to as editing items) based on the original data of the video data a to obtain the corresponding second data.

[0280] like Fig.19 As shown, the editing interface 1902 includes the following types of video processing function controls:

[0281] 1. A control 1903 for turning off the original sound of video data a.

[0282] 2. A control 1904 for adding audio to a specified segment in video data a.

[0283] 3. Control 1905 for configuring the cover image frame of video data a.

[0284] 4. A control 1906 for editing video data a. When this control is selected, the editing interface 1902 may also display: a control 1911 for triggering the segmentation of video data a, a control 1912 for triggering the extraction of video segments from video data a, a control 1913 for triggering the adjustment of the playback speed of video data a, a control 1914 for triggering the adjustment of the volume of video data a, a control 1915 for triggering the deletion of the segmented video segments from video data a, and the like.

[0285] 5. A control 1907 for triggering a theme effect configured for video data a.

[0286] 6. Control 1908 for triggering the addition of a filter to video data a.

[0287] 7. Control 1909 for triggering the overall configuration of audio for video data a.

[0288] 8. A control 1910 for triggering the addition of text effects to video data a.

[0289] 9. Controls used to trigger adding other special effects to video data a. Fig.19 Not shown.

[0290] Of course, during displaying the editing interface 1902, the electronic device can also respond to user operations to display other types of video processing function controls that were originally hidden. In this way, the user can instruct the electronic device to perform one or more video editing items on the video data a.

[0291] The following example uses the scenario of changing the audio of video data a and adding text effects to video data a to illustrate:

[0292] like Fig. 20 As shown, during the display of the editing interface 1902, the electronic device may display the editing interface 2002 in response to the user's operation on the control 1903 indicating the management of the original audio of the video. The difference between the editing interface 2002 and the editing interface 1902 is that the display form of the control 1903 in the editing interface 2002 indicates that the original audio of the video has been turned off. In this case, the electronic device may record the editing operation parameter 1 corresponding to turning off the original audio of the video, and the editing operation parameter 1 indicates that the original audio of the video is turned off, and then the editing operation parameter 1 is associated with the original data of the video data a and stored.

[0293] During the display of the editing interface 2002, the electronic device can also respond to the user's operation on the control 1904 indicating the addition of audio, and display an audio selection bar 2004 on the editing interface 2002. The audio selection bar 2004 includes one or more audio data that can be selected. In the audio selection bar 2004, each audio data corresponds to a selection control, for example, the audio "Music 2" corresponds to a selection control 2005.

[0294] The electronic device may display the editing interface 2006 in response to the user's operation on the selection control 2005. The difference between the editing interface 2006 and the editing interface 2002 is that the control 1904 displays an audio "Music 2" logo, indicating that the audio "Music 2" has been added to the video data a. In this case, the electronic device may also record the editing operation parameter 2 corresponding to the addition of the audio "Music 2", the editing operation parameter 2 indicating the addition of the audio "Music 2" to the video data a, and then store the editing operation parameter 2 in association with the original data of the video data a.

[0295] like Fig. 20 As shown, while displaying the editing interface corresponding to video data a (editing interface 1902, editing interface 2002 and editing interface 2006), the electronic device can change the audio of video data a according to the user's operation of the corresponding controls (control 1903, control 1904, etc.).

[0296] After changing the audio, you can continue to process the video data a. For example, adding text effects to the video data a. Fig.21 As shown, during the display of the editing interface 2006, the electronic device can respond to the user's operation on the control 1910 indicating the configuration of the text special effect, and display the editing interface 2113. The editing interface 2113 is applicable to the editing interface for configuring the text content. Compared with the editing interface 2006, a soft keyboard 2101, an input prompt box 2102 and a text input box 2108 are newly added. Among them, the content displayed in the above-mentioned input prompt box 2102 is synchronized with the text content displayed in the text input box 2108. The above-mentioned text input box 2108 is used to receive the text content input by the user, and the above-mentioned input prompt box 2102 is used to display the display position and display size of the above-mentioned text content in the video data a.

[0297] Exemplarily, after detecting that the user inputs the text "fly higher" through the text input box 2108, the electronic device can display the editing interface 2103. Compared with the editing interface 2006, the editing interface 2103 has a new text progress bar 2111, which can display the text content of the configured text special effect. In addition, the text progress bar 2111 is aligned with the top of the video progress bar 2109 of the video data a, and the length of the text progress bar 2111 can indicate the length of the video in which the text special effect "fly higher" appears in the video data a.

[0298] Compared with the editing interface 2006, the editing interface 2103 hides the controls 1911, 1912, 1913, 1914, and 1915, providing sufficient operating space for the user to add or modify text effects. In addition, the editing interface 2103 also displays an expansion control 2112, and the electronic device can also display the controls 1911, 1912, 1913, 1914, and 1915 again in response to the user clicking on the expansion control 2112.

[0299] The video data displayed in the editing interface 2103 may be referred to as video data 2104. Compared with the original data of video data a, the video data 2104 not only has the audio changed, but also has a new text effect "fly higher". The above-mentioned audio change and the new text effect "fly higher" are the executed editing items.

[0300] In this case, the electronic device can also record the editing operation parameter 3 corresponding to adding the text "fly higher", which indicates adding the text "fly higher" to the video data a, and then store the editing operation parameter 3 in association with the original data of the video data a.

[0301] After the user stops editing the video data a, the user can instruct the electronic device to export the edited video data 2104. For example, Fig.21 As shown, the editing interface 2103 includes an export control 2105, such as the fourth control. In response to the user's operation on the export control 2105, the electronic device displays a loading bar 2106 on the editing interface 2103. During the display of the loading bar 2106, the electronic device can store the video data 2104 and store the video data 2104 to the album in the local machine, such as, to the "video editing" album of the local machine. In addition, after the export of the video data 2104 is completed, a preview interface 2107 can be displayed, such as the sixth interface, in which a preview image of the video data 2104 is displayed. In addition, a bubble prompt message 2110 can also be displayed on the preview interface 2107 to prompt the storage location of the video data 2104. For example, it is prompted that the video data 2104 is stored in the video editing album.

[0302] In this way, the electronic device can respond to the user's operation and display the grid image interface of the "Video Editing" album. The grid image interface of the "Video Editing" album includes thumbnails of the video data 2104.

[0303] For example, Fig. 22 As shown, after exporting the video data 2104, the electronic device displays the function interface 303 again, and the function interface 303 displays the album 2201 named "Video Editing". In response to the user's click operation on the album 2201, the electronic device displays the grid image interface 2202. The grid image interface 2202 displays thumbnails of media data belonging to the "Video Editing" album, for example, including the thumbnail 2203 corresponding to the video data 2104. In addition, after storing the video data 2104, the executed editing operation parameters (such as editing operation parameters 1, editing operation parameters 2, and editing operation parameters 3) can also be stored as a draft file of the video data a in the storage area corresponding to the editing draft. Correspondingly, the above-mentioned bubble prompt information 2110 can also prompt the storage location of the draft file of the video data a. For example, it is prompted that the draft file of the video data a is stored in the editing draft.

[0304] In this way, the electronic device can also respond to the user's operation, by editing the draft file in the draft, based on the video data a, restore the video data 2104, and display it in the editing interface, so that the user can continue to edit. For example, after displaying the video data 2104 in the editing interface, it can respond to the user's operation and perform new video editing items based on the video data 2104. Of course, it can also respond to the user's operation to cancel the video editing items that have been executed for the video data a before saving the video data 2104, such as restoring the original audio of the video, or canceling the text special effect "fly higher".

[0305] For example, Fig.23As shown, after exporting the video data 2104, when the electronic device displays the function interface 303 again, the electronic device displays the creation function interface 2302 in response to the user's operation on the creation control 2301. The creation function interface 2302 includes a clip function entry 2303 for enabling the clip function. In response to the user's click operation on the clip function entry 2303, the electronic device can display the clip function interface 2304, and the clip function interface 2304 includes a clip draft bar 2305. In the clip draft bar 2305, a draft file 2306 corresponding to the video data a is displayed, such as a second draft file. The draft file 2306 corresponds to the editing operation parameters that have been executed for the video data a, and the electronic device can obtain the video data 2104 according to the editing operation parameters and the video data a. The draft file 2306 displays a thumbnail of the cover image frame of the video data 2104 and an identification indicating that the video data 2104 has been exported. In addition, the above-mentioned editing draft column 2305 can also display other draft files stored in the storage area corresponding to the editing draft.

[0306] In response to the user's operation on the draft file 2306 , the electronic device displays an editing interface 2103 in which a thumbnail of a cover image frame of the video data 2104 is displayed.

[0307] In some embodiments, the editing function interface 2304 may be an application interface provided by an editing application. Fig.23 In addition to indicating the display of the editing function interface 2304 in the manner shown, the editing function interface 2304 can also be indicated by enabling the editing application to search for the corresponding draft file.

[0308] In other embodiments, after the user stops editing the video data a, the user indicates to exit the editing interface 2103, and does not indicate to save the video data 2104, and the electronic device does not store the video data 2104. In this way, the grid image interface (such as the fifth interface) corresponding to the album "Video Editing" does not contain the thumbnail corresponding to the video data 2104. Of course, the electronic device will store the video data a and the editing operation parameters corresponding to the video data a in correspondence. In some embodiments, when the video data 2104 is not saved, the video data a can be stored in the local photo album, such as the photo album from S's mobile phone. In other embodiments, when the video data 2104 is not saved, the video data a can also be cached only and not stored in the local photo album.

[0309] like Fig.24AAs shown, during the display of the editing interface 2103, in response to the user's operation on the control 2401 indicating return (such as called the second control), a save prompt box 2405 is displayed, such as called the first prompt window. A control 2407 indicating saving the draft file is displayed in the save prompt box 2405, such as called the third control. In response to the operation of clicking the control 2407, the electronic device does not store the video data 2104, and can store the draft file of the video data a (such as called the first draft file) in the editing draft.

[0310] The save prompt box 2405 also includes a control 2406 indicating not to save the draft file. In response to the operation of clicking the control 2406, the electronic device does not store the draft files corresponding to the video data 2104 and the video data a.

[0311] In addition, the electronic device can display a preview interface 904 in response to an operation on the control 2406 or in response to an operation on the control 2407. The preview interface 904 displays a thumbnail 905 of the cover image frame of the video data a. The preview interface 904 includes a control 2402 indicating a return, and the electronic device can display a grid image interface 702 corresponding to S's mobile phone in response to the user's operation on the control 2402.

[0312] In other embodiments, when the first data is photo data or dynamic pictures, when the third interface corresponding to the first data is displayed, in response to the user clicking a control (second control) indicating exiting the third interface, a corresponding first prompt window may also be displayed. After detecting that the user clicks on a third control such as the first prompt window, the electronic device may also store the first draft file corresponding to the first data (photo data or dynamic pictures). The implementation details may refer to the aforementioned embodiments and will not be described in detail here.

[0313] like Fig. 24B As shown, the above-mentioned grid image interface 702 also includes a control 2403 indicating return. The electronic device can display the function interface 307 in response to the user's operation on the control 2403. Among them, the function interface 307 includes a creation control 2301, and the creation control 2301 is the entrance to access the creation function interface. The electronic device displays the creation function interface 2302 in response to the user's operation on the creation control 2301. The creation function interface 2302 includes a clipping function entrance 2303 for enabling the clipping function. In response to the user's click operation on the clipping function entrance 2303, the electronic device can display the clipping function interface 2304, such as the fourth interface. The clipping function interface 2304 includes a clipping draft bar 2305, such as the editing draft bar.

[0314] In the scenario where the user clicks on the control 2407 and exits the editing interface 2103, a draft file 2404 (first draft file) corresponding to the video data a is displayed in the clip draft bar 2305. The draft file 2404 is associated with the stored video data a. The draft file 2404 includes the editing operation parameters that have been executed for the video data a. The electronic device can obtain the video data 2104 according to the video data a and the editing operation parameters in the draft file 2404. The draft file 2404 displays a thumbnail of the cover image frame of the video data 2104. Compared with the draft file 2306, the draft file 2404 does not contain an indicator indicating that it has been exported. In this way, the draft file of the exported edited video and the draft file of the unexported edited video can be better distinguished, which is convenient for the user to decide whether to edit the video data again. When the electronic device detects the user's operation on the draft file 2404, the editing interface 2103 (third interface) can be displayed again. The editing interface 2103 includes the video data 2104 restored based on the video data a and the first draft file (that is, the second data corresponding to the video data a).

[0315] In other embodiments, when the editing interface 1902 is displayed, if no editing operation of the user instructing to edit the video data a is detected, in response to the user instructing to exit the editing operation, the electronic device may not display the save prompt box 2405, nor store the draft file of the video data a. In this scenario, the original data of the video data a is stored in the local photo album of the electronic device.

[0316] In addition, if multiple draft files are generated for the same video data, only the draft file with the latest generation time can be retained. Of course, if multiple draft files are generated for the same video data, all draft files can be retained, and the draft file with the latest generation time can be arranged at the front.

[0317] In some embodiments, Fig.25 As shown, during the display of the preview interface 705, in response to the user's operation of the save control in the image processing function bar 707, the original image of the first photo is stored in the electronic device and saved to the local album "From S's phone". In the case where the user clicks the save control multiple times, the electronic device can store the first photo multiple times, and save the stored multiple first photos to the local album "From S's phone". For example, in the case of clicking the save control twice in succession, the electronic device responds to the user's operation and displays the local "From S's phone" grid image interface 2501 (also referred to as the fifth interface), and can display thumbnails 2502 and thumbnails 2503. The above thumbnails 2502 and thumbnails 2503 are both thumbnails of the first photo, prompting the user that two copies of the first photo are stored in the electronic device.

[0318] The embodiment of the present application also provides an electronic device, which may include: a memory and one or more processors. The memory is coupled to the processor. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device can execute the various steps executed by the mobile phone in the above embodiment. Of course, the electronic device includes but is not limited to the above memory and one or more processors.

[0319] The embodiment of the present application also provides a chip system, which can be applied to the electronic device in the aforementioned embodiment. The chip system includes at least one processor and at least one interface circuit. The processor can be the processor in the above-mentioned electronic device. The processor and the interface circuit can be interconnected through a line. The processor can receive and execute computer instructions from the memory of the above-mentioned electronic device through the interface circuit. When the computer instructions are executed by the processor, the electronic device can execute the various steps executed by the mobile phone in the above-mentioned embodiment. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiment of the present application.

[0320] In some embodiments, through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0321] Each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0322] 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 computer-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, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk.

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

Claims

1. A data processing method, characterized in that: Applied to a first device, a connection has been established between the first device and a second device, the method comprising: Displaying a first interface, the first interface including thumbnails of a plurality of media data, wherein the plurality of media data are stored in the second device, and the thumbnails of the plurality of media data include a first thumbnail of the first data; In response to an operation on the first thumbnail, displaying a second interface, wherein the second interface includes a first preview image of the first data and a first control; In response to an operation on the first control, a third interface is displayed, wherein the first data and one or more editing processing controls are displayed on the third interface; After detecting the user's operation on the one or more editing processing controls, the second data edited from the first data is displayed on the third interface.

2. The method according to claim 1, characterized in that Before displaying the third interface, the method further includes: In response to an operation on the first control, the first data is received from the second device.

3. The method according to claim 1, characterized in that After detecting the user's operation on the one or more editing processing controls, the method further includes: In response to the user's operation on the one or more editing processing controls, the editing items corresponding to the one or more editing processing controls are executed on the first data.

4. The method according to claim 3, characterized in that The third interface further includes a second control. After the third interface displays the second data edited from the first data, the method further includes: In response to the user's operation on the second control, displaying a first prompt window, wherein the first prompt window includes a third control; In response to the user's operation on the third control, saving a first draft file corresponding to the first data, and displaying the second interface again, wherein the first draft file includes the editing items that have been executed in the process of editing the first data into the second data; In response to the user's operation, a fourth interface is displayed, wherein the fourth interface includes an editing draft bar, and the editing draft bar includes the first draft file; In response to a user's operation on the first draft file, the second data is displayed on the third interface.

5. The method according to claim 4, characterized in that After displaying the second interface again, the method further includes: In response to the user's operation, a fifth interface is displayed, wherein the fifth interface displays thumbnails of the media data stored in the first device, and the fifth interface does not include thumbnails of the second data.

6. The method according to claim 3, characterized in that The method further comprises: In response to a user operation on a fourth control on the third interface, storing the second data, and displaying a sixth interface, wherein the sixth interface displays a second preview image of the second data; After the sixth interface is displayed, in response to the user's operation, a fourth interface is displayed, wherein the fourth interface includes an editing draft bar, the editing draft bar includes a second draft file, the second draft file includes the editing items that have been executed in the process of editing the first data into the second data, and the second draft file also displays an indicator indicating that the second data has been exported; In response to the user's operation on the second draft file, the restored second data is displayed on the third interface.

7. The method according to claim 6, characterized in that After displaying the sixth interface, the method further includes: In response to the user's operation, a fifth interface is displayed, wherein the fifth interface displays thumbnails of the media data stored in the first device, and the fifth interface includes thumbnails of the second data.

8. The method according to any one of claims 1 to 7, characterized in that: The media data includes video data, picture data and dynamic pictures.

9. The method according to any one of claims 1 to 8, characterized in that: Before displaying the second interface, the method further includes: In response to an operation on the first thumbnail image, receiving the first preview image from the second device; Alternatively, while displaying the first interface, the first preview image is received from the second device.

10. The method according to any one of claims 1 to 9, characterized in that The method further comprises: In response to a user operation, displaying the first interface, wherein the first interface also includes a second thumbnail of third data and a third thumbnail of fourth data, wherein the third data and the fourth data are both media data stored in the second device; In response to a user long-pressing operation on the second thumbnail, a seventh interface is displayed, wherein the thumbnail displayed in the seventh interface is the same as the thumbnail displayed in the first interface, and a selection mark is displayed relative to the second thumbnail on the seventh interface; In response to a user clicking operation on the third thumbnail in the seventh interface, a selection mark is displayed on the seventh interface relative to the third thumbnail; During displaying the seventh interface, in response to a user indicating a puzzle operation, receiving the third data and the fourth data from the second device; After receiving the third data and the fourth data, fifth data is displayed, where the fifth data is media data obtained by splicing the third data and the fourth data.

11. The method according to any one of claims 1 to 9, characterized in that The method further comprises: In response to a user operation, displaying the first interface, wherein the first interface also includes a second thumbnail of third data, where the third data is media data stored in the second device; In response to a user long-pressing operation on the second thumbnail, displaying a selection preview box, wherein the selection preview box includes an identifier of the third data; In response to the user's operation, displaying an eighth interface, wherein the eighth interface includes a fourth thumbnail of the sixth data stored in the first device; In response to a user operation on the fourth thumbnail in the eighth interface, displaying an identifier of the sixth data in the selection preview box; In the case where the selection preview box is displayed, in response to a user indicating a puzzle operation, receiving the third data from the second device; After receiving the third data, target puzzle data is displayed, where the target puzzle data is media data obtained by splicing the third data and the sixth data.

12. The method according to any one of claims 1 to 9, characterized in that The method further comprises: In response to a user operation, displaying the first interface, wherein the first interface also includes a fifth thumbnail of seventh data, wherein the seventh data is video data stored in the second device; In response to a user clicking on the fifth thumbnail, displaying a third preview image of the seventh data in a ninth interface; In response to an operation instructing to play the seventh data, receiving the seventh data from the second device; When the seventh data is received successfully, the seventh data is played on the ninth interface.

13. The method according to claim 12, characterized in that The method further comprises: In the case where the seventh data reception succeeds or fails, the third preview image continues to be displayed on the ninth interface.

14. The method according to claim 1, characterized in that The method further comprises: In response to a user operation, displaying the first interface, wherein the first interface also includes a sixth thumbnail of the eighth data, wherein the eighth data is a dynamic picture stored in the second device; In response to a user clicking on the sixth thumbnail, receiving the eighth data from the second device; After receiving the eighth data, displaying a tenth interface, wherein the tenth interface displays a fourth preview image of the eighth data; In response to the user's operation, a plurality of image frames corresponding to the eighth data are cyclically displayed on the tenth interface.

15. The method according to claim 1, characterized in that The method further comprises: When the first device detects that a third device has joined the same local area network, displaying an identifier of the third device on the eleventh interface; In response to a user's operation on an identifier of the third device, receiving first album information from the third device; The twelfth interface is displayed, and the twelfth interface displays the first album information indicating multiple albums.

16. The method according to claim 1, characterized in that The method further comprises: After the first device detects that the fourth device has joined the same local area network, displaying an identifier of the fourth device on the eleventh interface; In a case where the number of devices connected to the first device reaches a preset first number, in response to a user's operation on the identifier of the fourth device, a first window is displayed, wherein the first window includes the first number of device identifiers, each of which corresponds to a device connected to the first device; and the first number of device identifiers includes the first device identifier corresponding to the second device; In response to detecting a user selecting the first device identifier in the first window, disconnecting from the second device; receiving second album information from the fourth device; A thirteenth interface is displayed, and the thirteenth interface displays multiple albums corresponding to the second album information.

17. The method according to claim 1, characterized in that The method further comprises: After the first device detects that the fourth device has joined the same local area network, displaying an identifier of the fourth device on the eleventh interface; When the first device is connected to a first number of devices, in response to a user's operation on the identifier of the fourth device, displaying a first window, wherein the first window includes the first number of device identifiers, each of which corresponds to a device connected to the first device; In response to a user instruction to close the first window, a reminder message indicating a connection failure is displayed.

18. The method according to any one of claims 1 to 17, characterized in that: During displaying the first interface, the method further includes: When ninth data is newly added in the second device, a thumbnail of the ninth data is newly displayed on the first interface.

19. The method according to any one of claims 3 to 17, characterized in that: The editing items corresponding to the one or more editing processing controls include: one or more of cropping, adding special effects, changing audio, splitting video, adding filters, and adjusting image color.

20. An electronic device, characterized in that: The electronic device comprises: a display screen, a processor and a memory, wherein the memory is used to store computer instructions. When the processor executes the computer instructions, the electronic device executes the method as claimed in any one of claims 1 to 19.

21. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program or instructions, and when the computer program or instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 19.

Citation Information

Cited By

  • Work publishing method and device, equipment and storage medium

    CN119893171A