Method for sharing file, electronic device, and computer-readable storage medium

By detecting the user's dragging file operation in the remote conferencing software, the interface window of the target file is automatically opened and shared, which solves the problems in the existing technology of cumbersome operations and the inability to share the file before it is opened, and achieves a simplified file sharing process and a variety of Sharing method improves user experience.

WO2024178962A1PCT designated stage expired Publication Date: 2024-09-06HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2023/120145
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2023-09-20
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing remote conferencing software has cumbersome user operations when sharing files, and relies on the target file being opened. If it is not opened, it cannot be shared in the conference window, resulting in poor user experience.

Method used

By detecting the user's operation of dragging files in the conference software, the interface window of the target file is automatically opened and displayed, and shared in the conference window. It supports split-screen sharing, replacement sharing, and single participant sharing.

Benefits of technology

It simplifies the file sharing process, improves user experience, reduces operating steps, and supports multiple sharing methods to meet different needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023120145_06092024_PF_FP
    Figure CN2023120145_06092024_PF_FP
Patent Text Reader

Abstract

The present application relates to the technical field of terminals. Disclosed are a method for sharing a file, an electronic device, and a computer-readable storage medium. The method for sharing a file of the present application is applicable to the electronic device and comprises displaying a meeting window of a meeting software; detecting a dragging operation of a user on a first file; and in response to the dragging operation, enabling the meeting software to open the first file through a target application and setting a window of the opened first file as a shared window on the meeting window. By means of the method of the present application, when a user shares a file in a meeting, the user does not need to open the to-be-shared target file, nor does the user need to perform cumbersome sharing operations in the meeting software. It is only necessary to drag the to-be-shared target file to an area within the meeting software window. The process of sharing a file is simple and fast, facilitating user operation.
Need to check novelty before this filing date? Find Prior Art

Description

File sharing method, electronic device, and computer-readable storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on February 28, 2023, with application number 202310226143.3 and application name “Method for sharing files, electronic device and computer-readable storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to a method for sharing files, an electronic device, and a computer-readable storage medium. Background Art

[0003] Remote conferencing is increasingly becoming an indispensable part of corporate communication and collaboration. Therefore, various types of conferencing software or conferencing applications are installed on the terminal electronic devices such as mobile phones and computers used by users for remote conferencing. In the process of communicating through conferencing software, it is often necessary to share conference materials such as documents and pictures to facilitate both parties in the meeting to accurately understand the content of the communication and achieve efficient collaboration. For the sake of ease of description, the above-mentioned shared documents, pictures and other conference materials may be referred to as target files below. It can be understood that in the process of running some conferencing software, users are usually required to first operate an application that can open the target file on an electronic device such as a mobile phone, such as a document (word) or a slide (power point, PPT), etc. Then, the user can click the sharing control on the conference window and follow the prompts to select the window of the corresponding document or picture to achieve the purpose of sharing the file.

[0004] However, the aforementioned file sharing process is cumbersome and relies on the target file being open in the corresponding application. If the target file isn't open, the corresponding window won't appear on mobile devices, and users won't be able to find the target file's open window for sharing in the conference window, resulting in a poor user experience.

[0005] Summary of the Invention

[0006] The purpose of this application is to provide a method for sharing files, an electronic device, and a computer-readable storage medium.

[0007] A first aspect of the present application provides a method for sharing files, applied to a first electronic device, the method comprising: displaying a first application interface of a first application; detecting a first operation of a user on the first file; and in response to the first operation, displaying a second application interface of a second application in the first application interface, wherein the second application interface includes an opened first file.

[0008] It is understood that in one embodiment, the first application may be, for example, conferencing software, and the first application interface may be, for example, a conference window opened by the conferencing software. When a user shares a first file, they perform a first operation, such as dragging the first file to the first conference window. The first file is opened in a second application, and the second application interface, such as a window displaying the first file's interface, is displayed. Subsequently, the first file's interface window is displayed in the conference window, thereby achieving the purpose of sharing the first file in the conferencing software.

[0009] In a possible implementation of the first aspect above, the above method also includes: the first application interface includes a first sharing area, and a first operation of the user on the first file is detected, including: detecting the operation of the user dragging the first file into the first sharing area; and, in response to the first operation, displaying the second application interface of the second application in the first application interface, including: displaying the second application interface in the first sharing area.

[0010] It can be understood that in one embodiment, the first sharing area can be, for example, an area shared by all members, and the user drags the first file into the area shared by all members. For example, the user drags the first file into the first sharing area and releases it. When the user releases the first file, the electronic device can detect the coordinate position of the first file released by the user, and calculate the landing position information of the first file based on the coordinate position, and determine that the first file falls into the first sharing area based on the landing position information of the first file. When it is determined that the landing position of the first file is within the first sharing area, the conference window will share the second application interface with all participants. For example, the conference window shares the interface window of the opened first file with all participants.

[0011] In a possible implementation of the first aspect above, the above method also includes: the first sharing area displays a third application interface of a third application, and the first sharing area includes a first area that triggers split-screen sharing and a second area that triggers replacement sharing; and the method includes: detecting an operation of a user dragging a first file into the first area, and displaying the second application interface and the third application interface in the first sharing area in a split-screen manner; detecting an operation of a user dragging the first file into the second area, and replacing the third application interface displayed in the first sharing area with the second application interface for display.

[0012] It is understood that in one embodiment, the third application interface can be, for example, a file being shared by the user or other participants. When the user wants to share the file again, he or she can drag the first file to the split-screen sharing area or the replacement sharing area in the first sharing area to realize sharing the first file through different sharing methods. When the user drags the first file to the split-screen sharing area, the first sharing area of ​​the conference window will split the screen to share the window of the first file dragged by the user and the window of the file being shared by other participants. When the user drags the first file to the replacement sharing area, the first sharing area of ​​the conference window will only share the window of the first file dragged by the user.

[0013] In a possible implementation of the first aspect above, the method also includes: the first sharing area includes multiple sharing windows displaying different contents, and the first application interface includes at least one window control for indicating switching to the corresponding sharing window; and the method includes: detecting a user operation acting on a first window control among at least one window control, and switching the content displayed in the first sharing area to the display content of the first window corresponding to the first window control.

[0014] It is understood that in one embodiment, when a user shares multiple windows in a conference window, a toggle control will be displayed in the conference window. By using the toggle control, the user can display the shared window they want to display as the foreground shared window in the conference window and temporarily hide the other windows as background shared windows.

[0015] In a possible implementation of the first aspect above, the method also includes: the first application interface includes at least one second sharing area, wherein the second sharing area includes a first user identifier using the first application, and the first user identifier is used to indicate the first user's viewing permission for the content displayed in the second sharing area, and a first operation of the user on the first file is detected, including: detecting an operation of the user dragging the first file into at least one second sharing area; and, in response to the first operation, displaying the second application interface of the second application in the first application interface, including: in response to the first operation, displaying the second application interface in the second sharing area where the first operation acts.

[0016] It is understood that in one embodiment, the second sharing area can be, for example, an area containing a participant's avatar, and the first user identifier can be, for example, a participant's avatar. The user can share the first file with a single participant by dragging the first file onto the avatar of a designated participant.

[0017] In a possible implementation of the first aspect above, the method also includes: the first electronic device detects the user's first operation on the first file in the following manner; obtains the first position information of the first file released corresponding to the first operation; determines that the position indicated by the first position information is located in the target area for triggering the shared file in the first application interface, and detects the first operation.

[0018] It is understood that, in one embodiment, the first operation may, for example, represent a user dragging a first file for sharing. When the user releases the first file, if the drop location of the first file is within the conference window, the user's operation may be determined to be a file sharing operation. The drop location of the first file may be calculated based on the location where the user released the first file.

[0019] In a possible implementation of the first aspect above, the method also includes: after detecting a first operation of the user on the first file, the method also includes: in response to the first operation, displaying a first prompt interface, wherein the first prompt interface is used to prompt the user to drag the first file to a specified position or specified area within the area covered by the first application interface.

[0020] It is understood that, in one embodiment, the first prompt interface may include prompt information, for example, indicating the location where the user should drag the first file for sharing, or instructing the user to drag the first file and release it in different areas to implement the operation of sharing the first file in different ways.

[0021] In a possible implementation of the above-mentioned first aspect, the above-mentioned method also includes: the first application is an application running on the second electronic device, and displaying the first application interface of the first application includes: the first electronic device receives a first information stream sent by the second electronic device, wherein the first information stream is used to display the first application interface; and displays the first application interface.

[0022] It is understood that in one embodiment, the first application may be, for example, conferencing software running on a vehicle computer, and the first application interface may be, for example, the conferencing software interface. The first electronic device may be, for example, a mobile phone, and the first information stream may include, for example, information about the running conferencing software application process. After receiving the first information stream, the mobile phone may, for example, display the conferencing software's conferencing window on the multi-device collaboration interface.

[0023] In a possible implementation of the first aspect above, the method also includes: the first electronic device runs a fourth application, and the first file is displayed on the fourth application interface provided by the fourth application, and the fifth application interface provided by the fourth application displays the first application interface of the first application run by the second electronic device; and the first operation includes: a second operation of dragging the first file from the fourth application interface to the fifth application interface, and a third operation of dragging the first file to the first application interface, wherein the second operation and the third operation are continuous operations.

[0024] It can be understood that in one embodiment, the first application is, for example, an application that enters the multi-device collaboration interface on a mobile phone. The fourth application interface can be, for example, the interface of the multi-device collaboration interface corresponding to the application running on the mobile phone. After opening the first file on the mobile phone, the opened first file will be displayed on the fourth application interface. The fifth application interface can be, for example, the interface of the multi-device collaboration interface corresponding to the application running on the car computer. The conference window of the conference software running on the car computer is displayed on the fifth application interface. It can be understood that the fourth application interface and the fifth application interface both belong to the multi-device collaboration interface, but correspond to applications running on different electronic devices. The second operation can switch the fourth application interface on the multi-device collaboration interface to the fifth application interface. The third operation can drag the corresponding first file on the fourth application interface to the conference software on the fifth application interface to realize the function of sharing files across devices.

[0025] In a possible implementation of the first aspect above, the method also includes: a second operation of dragging the first file from the fourth application interface to the fifth application interface, including: a fourth operation of dragging the first file from the fourth application interface to the second window control used to indicate switching to the fifth application interface, and a fifth operation of dragging the first file to the corresponding area of ​​the fifth application interface, wherein the fourth operation and the fifth operation are continuous operations.

[0026] It is understood that in some embodiments, switching between the fourth application interface and the fifth application interface in the multi-device collaboration interface can be achieved through touch controls. For example, the fourth application interface can be switched to the fifth application interface by dragging the first file to the control corresponding to the fifth application interface through the fourth operation. The fifth operation is the dragging operation of the first file after the fourth application interface is switched to the fifth application interface, for example, dragging the first file to the meeting window of the conference software.

[0027] In a possible implementation of the first aspect above, the method further includes: the first application includes any one of an instant messaging application, conference software, and a live broadcast application.

[0028] The second aspect of the present application provides an electronic device comprising: one or more processors; one or more memories; one or more memories storing one or more programs, which, when executed by one or more processors, enables the electronic device to execute the above-mentioned method of sharing files.

[0029] A third aspect of the present application provides a computer-readable storage medium having instructions stored thereon. When the instructions are executed on a computer, the computer is enabled to execute the above-mentioned method for sharing files. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] FIG1 shows a schematic diagram of an application scenario of sharing files in a remote conference;

[0031] FIG2 shows a schematic diagram of users sharing files according to this embodiment;

[0032] FIG3 shows a schematic structural diagram of an electronic device according to an embodiment of the present application;

[0033] FIG4 shows a schematic diagram of an implementation flow of a method for sharing files according to Example 1 of the present application;

[0034] FIG5 shows a schematic diagram of an interface for a user to share a target file on a mobile phone according to Example 1 of the present application;

[0035] FIG6 is a schematic diagram showing an interface for a user to share a target file in a task management interface of a mobile phone according to Example 1 of the present application;

[0036] FIG7 shows a schematic diagram of an interface for setting a target file as a shared window according to Example 1 of the present application;

[0037] FIG8 is a schematic diagram showing a user sharing a target file on a computer through different sharing methods according to Example 1 of the present application;

[0038] FIG9 a shows a schematic diagram of an operation process of group sharing according to Embodiment 1 of the present application;

[0039] FIG9 b shows a schematic diagram of another operation process of group sharing according to Example 1 of the present application;

[0040] FIG10 is a schematic diagram showing a user switching between different shared windows according to Example 1 of the present application;

[0041] FIG11 is a schematic diagram showing an interface in which a user performs a move operation on a computer to complete target file sharing according to Example 1 of the present application;

[0042] FIG12 shows a software structure block diagram of an electronic device according to Embodiment 1 of the present application;

[0043] FIG13 shows an interactive flow chart of a file sharing process according to Example 1 of the present application;

[0044] FIG14 shows a schematic diagram of a multi-device collaboration interface according to Example 2 of the present application;

[0045] FIG15 shows an interactive flow chart of sharing files across devices according to Embodiment 2 of the present application;

[0046] Figure 16 shows a schematic diagram of an interface for completing window sharing by performing a window moving operation on a multi-device collaboration interface according to Example 2 of the present application. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described in detail below with reference to the accompanying drawings and specific implementation methods.

[0048] FIG1 shows a schematic diagram of an application scenario of sharing files in a remote conference.

[0049] As shown in FIG1 , the scenario includes a computer 10. Conference software runs on the computer 10 and displays a conference window 11. As shown in interface 10a of computer 10, when a user shares a target file, the target file must first be opened and displayed on the screen in the form of a window, such as window 12. The user then clicks on the setting sharing control 13 on the conference window 11 through operation 14. Next, as shown in interface 10b of computer 10, the conference software responds to operation 14 to generate a selection window 15 for selecting a target file. The selection window 15 includes window icons of all windows opened by the user, such as window icon 17 of window 12. After the user selects window icon 17 of window 12 through operation 16, the conference software responds to operation 16 to share window 12, and all online participants can view the file content displayed in window 12.

[0050] As can be seen, in the aforementioned file sharing process, the target file that the user wants to share during the meeting must be opened in the corresponding application. For example, the document that the user wants to share must first be opened in an application such as Word. The user can then use the sharing controls provided in the meeting software window to select the application window in which the target file is open to enable sharing. Therefore, for unopened target files, sharing them during the meeting is cumbersome and complex, reducing the user experience.

[0051] To address the above-mentioned issues, the present application provides a file sharing method for an electronic device installed with conference software. Specifically, upon detecting a specific user action indicating that a target file should be shared in a conference, if it is determined that the target file is not already open, the method can first open the file using a pre-installed application capable of opening the target file, and then set the window in which the target file is opened as a shared window, thereby achieving the purpose of quickly sharing the target file during the conference. The specific user action can, for example, be dragging the target file into a conference window created by the conference software currently running on an electronic device such as a computer or mobile phone. The target file can be, for example, a file in a format such as a Word document, a PowerPoint document, or a drawing document, and the pre-installed application capable of opening the target file can be, for example, a Word application, a PowerPoint application, a drawing application, etc., without limitation. In this way, when a user shares a target file, they do not need to open the target file first. Instead, they only need to perform a specific user action, such as dragging the target file into the conference window to be shared, to trigger the corresponding application to open the target file. The window in which the target file is opened can then be automatically set as a shared window and opened in the conference window for sharing, facilitating user operation.

[0052] Furthermore, when the user switches out of the sharing window or opens another interface, the electronic device can control the sharing window to continue displaying the target file shared by the user, or control the sharing window to display blank content or a gray screen window instead of displaying other interfaces opened by the user. This can protect the user's privacy and improve the user experience.

[0053] Among them, the above-mentioned window for opening the target file is placed as a shared window in the area where the target file is released corresponding to the user operation, which can be achieved by identifying the landing position information of the target file released corresponding to the user operation. For example, after receiving the release operation of the user dragging the target file, the electronic device responds to the release operation, records the landing position information of the target file, and generates a shared broadcast. The shared broadcast includes the landing position information of the target file and the receiving permission information. The receiving permission information indicates that the conference software can receive the shared broadcast. After receiving the shared broadcast, the conference software determines whether the user wants to share the target file based on the landing position information of the target file. The conference software determines the attributes of the target file based on the shared broadcast, and then determines the window that displays the content of the target file based on the attributes of the target file, and sets the window that displays the content of the target file as a shared window. When the target file is not open, the electronic device can first run a preset application to open the target file and create a window that displays the content of the target file. Furthermore, the electronic device can set the newly created window that displays the content of the target file as a shared window.

[0054] It is understood that in the process of using conference software to share files, the target file is the object of the user's file sharing operation. Accordingly, the application program that opens the target file is hereinafter referred to as the target application.

[0055] For example, FIG2 shows a schematic diagram of an operation interface for users to share files according to this embodiment.

[0056] As shown in Figure 2, a user shares files through the conference software on a computer 20. As shown in interface 20a of computer 20, the user drags an image 24 from the gallery 23 to the conference window 21 area of ​​the conference software through operation 22 and releases it. Computer 20 obtains the landing location information of image 24 and then generates a sharing broadcast. The receiving permission information in the sharing broadcast indicates that the conference software can receive the sharing broadcast. After receiving the sharing broadcast, the conference software obtains the landing location information of image 24 and determines that the landing location of the image is within the scope of conference window 21. The conference software analyzes the sharing broadcast and determines that the attribute of image 24 is a picture. The conference software then mobilizes the gallery 23 to open image 24. As shown in interface 20b of computer 20, the conference software sets the opened image 24 to be a sharing interface 25, so that the sharing interface 25 is displayed full screen in the conference window 21. The sharing interface 25 is also provided with an operation control 26 for the user to operate the target file during the sharing process.

[0057] The structure of the electronic device involved in some embodiments of the present invention is described in detail below.

[0058] FIG3 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.

[0059] It can be understood that the electronic devices applicable to the method of sharing files provided in the embodiment of the present application may include but are not limited to: mobile phones, tablets, computers, smart watches, car conference terminals, desktops, laptops, handheld computers, netbooks, and wearable devices such as augmented reality (AR) and virtual reality (VR) devices, smart TVs, smart watches, servers, portable game consoles, portable music players, reader devices, and other electronic devices embedded or coupled with one or more processors or capable of accessing the network. In the embodiment of the present application, the electronic device 100 shown in Figure 3 can be, for example, a mobile phone or a computer in various possible implementations. In order to distinguish the descriptions, different numbers will be added to each electronic device for description below, and a unified description will be given here.

[0060] As shown in Figure 3, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

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

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

[0063] The controller can generate an operation control signal based on the instruction opcode and the timing signal to complete the control of fetching and executing the instruction. In the embodiment of the present application, the processor 100 can control the execution of opening the target file content through the controller. The specific execution process is described below and will not be repeated here.

[0064] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that have just been used or are recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated accesses and reduces the waiting time of the processor 110, thereby improving the efficiency of the system. In an embodiment of the present application, the instructions stored in the memory are, for example, to issue a shared broadcast when obtaining the user's operation to release the target file. The specific execution process is described in the relevant description below and will not be repeated here.

[0065] In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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.

[0066] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 110 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the electronic device 100.

[0067] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.

[0068] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0069] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.

[0070] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 100.

[0071] The GPIO interface can be configured via software. It can be configured as either a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0072] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.

[0073] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0074] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.

[0075] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0076] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

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

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

[0079] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

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

[0081] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with a network and other devices via wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0082] The electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information. In an embodiment of the present application, when the conference software sets the window that opens the target file as a shared window, the GPU renders the corresponding interface on the conference software into the display window of the target file.

[0083] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini-LED, a Micro-LED, a Micro-OLED, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0084] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0085] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.

[0086] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0087] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0088] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 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. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0089] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0090] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.

[0091] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.

[0092] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.

[0093] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.

[0094] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0095] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the touch intensity based on pressure sensor 180A. Electronic device 100 can also calculate the touch location based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch location but with different touch intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a conference software window, the conference software executes an instruction to enter small window mode. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a conference software window, the conference software executes an instruction to split the screen.

[0096] The touch sensor 180K is also called a "touch device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. For example, the user selects the target file on the display screen 194 and drags it. The touch sensor 180K detects the user's operation, passes the user's operation to the application processor, determines that the touch time type is the user's drag operation, and provides a visual output of the target file related to the user's drag operation following the user's drag path through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0097] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.

[0098] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0099] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.

[0100] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0101] Based on the scenario shown in FIG. 2 and the electronic device structure shown in FIG. 3 , the specific implementation process of the file sharing method provided by the present application on a single electronic device will be first introduced below in conjunction with Example 1.

[0102] Example 1

[0103] FIG4 is a schematic diagram showing an implementation flow of a method for sharing files according to an embodiment of the present application.

[0104] It is understood that the execution entity of each step of the process shown in FIG4 can be an electronic device 100 having the structure shown in FIG3 , such as a computer, a mobile phone, etc., without limitation. To simplify the description, the execution entity of each step will not be repeatedly described below when introducing each step of the process shown in FIG4 .

[0105] It can be understood that the target file in this embodiment represents an object intended for sharing and available for users to perform operations.

[0106] In one example, the target file may be, for example, the content that the user intends to share, such as a desktop, a document in an open folder, a picture, or an already opened window.

[0107] In another example, the target file may be, for example, an identifier pointing to a target file expected by the user, and the content that the user expects to share, such as a shortcut, an application icon, etc., can be found through the identifier.

[0108] It can be understood that the landing point in this embodiment is related to the coordinate position of the target file on the mobile phone screen when the user's finger leaves the mobile phone screen.

[0109] In one example, the drop location can be the release location of a user's operation. If the phone's operating system does not support inertial movement, the release location of the user's operation is the drop location. For example, when a user drags an image on the phone screen, the coordinates of the target file when the finger leaves the phone screen are the drop location of the target file.

[0110] In another example, the landing point can be, for example, a position coordinate calculated based on the release position of the user's operation. If the mobile phone operating system supports inertial movement, the target file will continue to move forward a certain distance in the direction of the user's finger movement. At this time, the landing point is a certain distance away from the release position. The mobile phone operating system calculates the landing point of the target file based on the user's release position and the inertial movement algorithm. For example, a user drags an image on the mobile phone display screen with their finger to move it within the window range of the conference software. The mobile phone operating system supports inertial movement, and the user's finger leaves the mobile phone screen outside the window range of the conference software. The landing point information of the image is calculated based on the inertial movement algorithm of the mobile phone operating system, the coordinate position of the user's finger leaving the mobile phone screen, and the direction in which the user drags the image.

[0111] Specifically, as shown in FIG4 , the file sharing method includes the following steps:

[0112] S401: Detecting a user operation of dragging a target file, and calculating the drop point position information of the target file.

[0113] For example, when a user wants to share a file, they drag the target file toward the conference window. The electronic device detects the dragging action in real time and records the location of the target file when the user releases it. For example, if a user drags an image within a gallery app, the phone detects the coordinates of the image being dragged in real time. When the user releases their finger from the phone's display, the phone calculates the image's location based on the coordinates of the time the finger left the display.

[0114] FIG5 shows a schematic diagram of an interface for a user to share a target file on a mobile phone according to an embodiment of the present application.

[0115] As shown in FIG5 , in some embodiments, a user shares a picture 513 in a gallery application 512 through conference software 511 on a mobile phone 510. The gallery application 512 and conference software 511 are displayed in split-screen mode on the interface of the mobile phone 510. The user drags the picture 513 into the range of the conference software 511 through operation 514 and releases it.

[0116] In other embodiments, a user shares an application window 553 of a gallery application 522 on a mobile phone 520 through conference software 521. The gallery application 522 and conference software 521 are displayed in a split-screen manner on the interface of the mobile phone 520. The user drags the application window 553 into the range of the conference software 521 through operation 524 and releases it.

[0117] In other embodiments, a user shares a picture 533 in a gallery application 532 via conference software 531 on a mobile phone 530. The conference software 531 window is displayed as a small window over the gallery application 532 window. The user drags the picture 533 into the range of the conference software 531 and releases it via operation 534.

[0118] In some embodiments, the target file is a window thumbnail / card in the task management interface. The user drags the window thumbnail / card in the task management interface to share the window. The task management interface displays thumbnails / cards of multiple application windows. Drag the thumbnail / card of one application window into the thumbnail / card of the conferencing software to share the application window.

[0119] For example, FIG6 shows an interface diagram of a user performing a sharing operation on a target file in a task management interface of a mobile phone according to an embodiment of the present application.

[0120] As shown in Figure 6, the task management interface 601 of mobile phone 600 displays a conference window 602 and a gallery window 603 of the conference software running on mobile phone 600. The user selects gallery window 603 through operation 604, and mobile phone 600 responds to operation 604 by displaying gallery window 603 as icon 605. The user then drags icon 605 of gallery window 603 into the area of ​​conference window 602 through operation 606. The conference software responds to operation 606 by displaying a prompt message "Drag here to share" on conference window 602. When the user releases icon 605 of gallery window 603 within the area of ​​conference window 602, mobile phone 600 calculates the landing point based on the coordinates of the icon 605 released by the user.

[0121] S402: Based on the location information of the target file released by the user, it is determined whether the user operation is an operation for instructing to share the file.

[0122] Exemplarily, whether the user operation is an operation for instructing to share a file is determined based on whether the landing point position information is within the window range of the conference software.

[0123] If the judgment result is yes, for example, when the drop location information indicates that the drop location is within the conference window currently created by the conference software, it indicates that the user operation is to instruct to share the file. At this time, the electronic device can continue to perform the following step S403 to open the target file and trigger sharing.

[0124] If the judgment result is negative, for example, the drop location information indicates that the drop location does not fall within the conference window currently created by the conference software, it means that the user operation is not an operation to instruct file sharing, and there is no need to share the target file. At this time, the electronic device can end the execution process of sharing the file.

[0125] S403: Based on the attributes of the target file, open the target file and trigger sharing.

[0126] Exemplarily, the attributes of the target file may include at least one of the type of the target file, the storage location, and the application identifier of the target application. It is understandable that after the conference software determines to share the target file, the attributes of the target file are read directly from the operating system of the electronic device. For example, when the target file is a document, the electronic device can directly read the type, storage path and other attributes of the document from the operating system. When the target file is a window, the operating system of the electronic device determines the application identifier and other attributes of the application to which the window belongs. When the target file is a shortcut, the operating system of the electronic device determines that the type of the target file is a shortcut, and reads the storage path and other attributes of the file pointed to by the shortcut. When the target file is an application icon, since the application icon can be regarded as a shortcut, the attributes are basically the same as those of the shortcut.

[0127] Exemplarily, when the conference software determines that the attributes of the target file include a storage path, it indicates that the target file is a file that has not been opened. At this time, the electronic device first finds the target file in the memory according to the storage path, and then applies to the operating system to open / view the contents of the target file. Opening / viewing the contents of the target file means displaying the contents of the target file in the form of a window on the screen. The operating system determines the target application that supports opening the contents of the target file based on the type of the target file, and then feeds back the application identifier of the target application to the conference software. If the operating system has multiple applications that can open the contents of the target file, there can be multiple target applications. The conference software uses the application identifier to call the target application to open the target file in accordance with the protocol between applications, so that the target file is displayed on the screen in the form of a window, and then sets the newly opened window as a shared window. If multiple applications support the protocol of the conference software, the user can be allowed to select the target application to open the target file, or the application that the user most recently used to open the target file can be defaulted to the target application.

[0128] If the conference software determines that the properties of the target file include an application identifier, it indicates that the target file is an already opened window. The conference software can directly call up the window of the target file through the application identifier and then set the window as a shared window.

[0129] FIG7 shows a schematic diagram of an interface for setting a target file as a shared window according to an embodiment of the present application.

[0130] As shown in Figure 7, in the interface 700a of the mobile phone 700, the conference window 701 of the conference software and the gallery window 702 of the gallery are displayed in split screen. The user drags the photo 703 in the gallery window 702 for sharing. The photo 703 has not been opened yet. The storage path indicated by the properties of the photo 703 is "internal storage / DCIM / Camera / IMG_20221115_123456.jpg". The conference software first finds the photo 703 dragged by the user according to the storage path, and then applies to the operating system of the mobile phone 700 to open and view the photo 703. The operating system determines that the opening application is the gallery based on the image format of the photo 703, and then feeds back the application identifier of the gallery to the conference software. The conference software uses the application identifier to call the gallery to open the photo 703 according to the protocol between applications, and then sets the opened window as the shared window 704.

[0131] As shown in FIG7 , in interface 700b of mobile phone 700, after setting up sharing window 704, conference window 701 and gallery window 702 are both de-windowed, and sharing window 704 is displayed in full screen mode for sharing. Sharing window 704 also includes operation controls 705, through which the user can perform operations such as annotation, stopping sharing, sharing audio, and switching sharing.

[0132] When the user switches out of the sharing window 704, a gray screen can be shared to prevent other participants from viewing private content, or the sharing window 704 can remain displayed. It is understood that when the user exits the current target application (such as the gallery window 702 in Figure 8), the conference software is called up and the conference window 701 is displayed in a small window / split screen. At this time, the original shared photo 703 is still displayed in the small window / split screen; alternatively, a gray screen can be directly displayed so that other participants cannot see the content outside the small window / split screen, thereby protecting the user's privacy.

[0133] S404: Based on the landing location information of the target file, determine a sharing method for the target file and display a sharing window.

[0134] For example, the location where the target file is released by the user operation may have different sharing methods in different areas of the conference software.

[0135] For example, in some examples, as long as the drop location is within the conference window, the target file's open window is set as the latest shared window. If the conference software currently has no shared window, the target file's open window can be directly set as the shared window.

[0136] If the conference software is currently sharing a window and can only share one window at a time, the open window of the target file will seize the permissions of the original shared window.

[0137] If the conference software is currently sharing a window and supports sharing multiple windows at the same time, the conference software will place the original shared window in the background and use the open window of the target file as the current foreground shared window.

[0138] In some examples, when the conference software shares multiple shared windows, a toggle control can be set to switch between the foreground shared window and the background shared window. The foreground shared window is the window currently displayed on the conference software interface. The background shared window is a window that is temporarily hidden and not displayed on the conference software interface.

[0139] In some examples, in response to a drag operation on a target file, the conferencing software displays at least one area in the conferencing software's main window. Each area corresponds to a sharing method, and the sharing method is determined based on the area where the drop point is located. For example, the conferencing software's main window can be divided into two areas: a split-screen sharing area and a replacement sharing area. When the conferencing software detects that the target file is being dragged, corresponding prompt information is displayed in each of the two areas, indicating the sharing method for that area. The main window is the area of ​​the conferencing software used to display the sharing window.

[0140] In the aforementioned sharing, the landing point is located in the main window of the conference software, and the shared window is shared with all participants.

[0141] In some examples, the window of the conference software also includes a participant window, which displays the participant's avatar or video screen. When the landing point falls into the participant window, the target file is shared only with the participant, and a gray screen or the previous shared content is displayed on the sharing windows of other participants.

[0142] When it is intended to share a target file with multiple participants, you can control the sliding track of the target file and determine the sharing object based on the sliding track. When the sliding track passes through the participant's window, the participant is determined to be the sharing object, and after the drag operation, the open window of the target file is shared with the sharing object.

[0143] It is understandable that when multiple participants in a branch venue access a conference through a conference terminal, by selecting the participant window corresponding to the conference terminal, the target file can be shared with the specific branch venue.

[0144] Regarding the above step 404, different ways of sharing the target file are introduced below in conjunction with the corresponding figures.

[0145] When dragging a file to share, users can implement different sharing methods by dropping the file in different areas of the conference software window. In some examples, a user may be using conference software on an electronic device for a video conference, and another participant or user has already shared a file, and the user wants to share another file. In this case, the user can drag the file to different areas of the conference software window, and the conference software will respond to the user's actions to replace the shared file or share it in split-screen mode.

[0146] Specifically, FIG8 shows a schematic diagram of a user sharing a target file on a computer through different sharing methods according to an embodiment of the present application.

[0147] As shown in Figure 8, a conference window 801 of the conference software may be displayed on a computer 800. A second file 802 is already shared in conference window 801. When a user drags a target file 803 onto conference window 801 for sharing, conference window 801 displays a split-screen sharing area 804 and an alternative sharing area 805. The user can then move target file 803 to split-screen sharing area 804 or alternative sharing area 805 to share the file.

[0148] When the user moves the target file 803 to the split-screen sharing area 804 , the conference window 801 performs split-screen sharing on the target file 803 and the existing second file 802 .

[0149] When the user moves target file 803 to replacement sharing area 805, the sharing operation requests preemptive sharing permission from the conference software. If the request is successful, the existing second file 802 is unshared in conference window 801, and only the currently dragged target file 803 is shared. It will be appreciated that when requesting preemptive sharing permission, the conference software may authenticate the user's ID and determine whether to perform replacement sharing based on the authentication result.

[0150] As shown in FIG8 , when the user drags the target file 803 into the conference window 801 , the split-screen sharing area 804 on the conference window 801 displays a prompt message of “split-screen sharing”, and the replacement sharing area 805 displays a prompt message of “replace sharing”.

[0151] It can be understood that in other embodiments, the sharing method is not limited to split-screen sharing and replacement sharing, and the conference window is not limited to the area for displaying split-screen sharing and replacement sharing. As long as the user drags the target file to the conference window through a mobile operation, calls the corresponding application through the conference software to open the target file and set the sharing method, it is within the scope of this application.

[0152] In some cases, when a user is using conferencing software on a computer to share a file, they may only want to share the file with one or a subset of attendees. In this case, the user can drag the file onto the avatar of the designated attendee in the conferencing software window. The conferencing software will respond to the user's action and share the file with that attendee.

[0153] Specifically, FIG9a and FIG9b show schematic diagrams of the operation process of group sharing according to an embodiment of the present application.

[0154] As shown in Figure 9a, on a computer 910, when a user shares a file through conference software, a participant avatar interface 916 and a full-member sharing interface 914 may be displayed on the conference window 911 of the conference software. The user moves the target file 913 to the full-member sharing interface 914 area through a drag operation 912 to achieve the purpose of sharing the target file 913 with all participants. In other examples, when the user drags the target file 913 to the avatar of a designated participant in the participant avatar interface 916 area through operation 915, the target file 913 is shared with the participant corresponding to the participant avatar. For example, if the user drags the target file 913 to the avatar of participant 4, the target file 913 is shared with participant 4. If participant 4 is a branch venue shared through a terminal, the target file 913 is shared only with that branch venue.

[0155] As shown in Figure 9b , on computer 920 , the conference software's conference window 921 displays a participant portrait interface 924 and a share-with-all interface 925 . To share a target file 922 with multiple participants, for example, a user can drag the target file 922 onto the participant portrait interface 923 using operation 923 . The file is then hovered over the participant window to be shared. The conference software then selects the participant. After selecting multiple participants, the file is shared with them. If the participant windows to be shared are consecutive, a quick selection can be achieved by, for example, hovering and then sliding. For example, in Figure 9b , the user moves the target file 922 and first hovers over the window of participant 2. The conference software selects participant 2's window and adds a selection indicator, e.g., the portion of participant 2 in Figure 9b is shaded. The drag trace then slides over the windows of participants 3 and 4, and is released from participant 4's window. The dragged target file 922 is then visible only to participants 2, 3, and 4, and invisible to participants 1, 5, and 6.

[0156] In some examples, when a user uses conferencing software on a computer to share files and needs to share multiple files, a switch control can be generated on the conferencing software window. When the user touches a different switch control, the conferencing software responds to the user's operation by displaying the sharing interface corresponding to the different switch controls.

[0157] Specifically, FIG10 shows a schematic diagram of a user switching between different sharing windows according to an embodiment of the present application.

[0158] As shown in Figure 10, on computer 1000, the conference window 1001 of the conference software can display a first window 1002 and a control for indicating window switching. For example, a first window control 1003, a second window control 1004, and a stop sharing control 1005. The user can quickly switch between the first window 1002 and the second window by clicking on the controls of different windows. For example, upon detecting a user clicking on the first window control 1003, the conference window 1001 responds to the user's operation, sets the second window as the background sharing window, and sets the first window 1002 as the foreground sharing window, thereby displaying the first window 1002 on the conference window 1001. Therefore, when the user wants to share the previous first window 1002, there is no need to perform the sharing process such as dragging and dropping again, and the user can switch by clicking on the first window control 1003.

[0159] It is understood that in other embodiments, there may be one or more shared windows. Similarly, the number of window controls also corresponds to the number of shared windows and is not limited here. The switching operation of the shared window can also be implemented in the mobile phone 700 shown in Figure 7. As shown in Figure 7, the operation control 705 includes a control for switching sharing. The user switches between different target files by clicking the control for switching sharing.

[0160] FIG11 is a schematic diagram showing an interface in which a user performs a move operation on a computer to complete target file sharing according to an embodiment of the present application.

[0161] As shown in Figure 11, on computer 1100, a user wishes to share a file 1102 titled "Third Quarter Summary Report.ppt" on desktop 1101. The user does not need to open file 1102 or go through multiple steps to set up sharing in the conference software. Instead, the user simply selects file 1102, holds down the left mouse button, and drags file 1102 toward conference window 1103 in the conference software using operation 1104. During this dragging process, computer 1100 acquires the coordinates of the cursor on desktop 1101 in real time; the cursor position corresponds to the location of file 1102. When file 1102 enters conference window 1103, a prompt stating "Drag here to share" is displayed within conference window 1103. After detecting the optical signal indicating that the mouse is no longer held down, computer 1100 records the cursor position when operation 1104 is released. If inertial motion is supported, the final landing point is calculated based on the cursor position at the time operation 1104 is released, using an inertial motion model, and this landing point is recorded. Computer 1100 determines whether the drop location is within conference window 1103, thereby determining whether the conference software is responsive to operation 1104. Based on the properties of file 1102, the computer 1100 invokes the corresponding application to open file 1102 and share the opened window. For example, in this embodiment, the conference software invokes the PowerPoint application to open "Third Quarter Summary Report.ppt" based on an inter-application protocol.

[0162] In some examples, the target file is, for example, a shortcut 1105, a window 1106, or an icon 1107 corresponding to the window 1106 of the second file. After determining that the attribute of the target file, such as the shortcut 1105 of the second file, is a shortcut, the computer 1100 further obtains the storage location and file type of the second file pointed to based on the information recorded by the shortcut. For example, referring to the computer side, this information can be read directly from the property bar of the shortcut. For example, if the file pointed to by the shortcut is "D:\XXXX meeting report\second file.xlsx", then the storage path of the target file is "D:\XXXX meeting report\second file.xlsx", and the file type is xlsx. The mobile phone 1100 calls up the corresponding spreadsheet application to open the second file, and displays the second file on the screen as a window, and then sets the window of the opened second file as a shared window. When it is determined that the attribute of the target file, such as window 1106, is a window, the computer 1100 calls up window 1106 according to the application identifier of window 1106 and shares it. When determining that the attribute of the target file, such as the icon 1107 of window 1106, is an application icon, computer 1100 obtains the storage location pointing to window 1106 based on the information recorded in the icon 1107 of window 1106. Since window 1106 has been opened, window 1106 can be directly set as a shared window.

[0163] FIG12 shows a software structure block diagram of an electronic device according to an embodiment of the present application.

[0164] The operating system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.

[0165] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0166] As shown in Figure 12, the application layer may include a series of application packages, which may include conference, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0167] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0168] As shown in FIG12 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.

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

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

[0171] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

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

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

[0174] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.

[0175] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.

[0176] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0177] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

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

[0179] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.

[0180] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

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

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

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

[0184] The following describes the workflow of the software and hardware of the electronic device 100 in conjunction with a scenario where a user drags a file.

[0185] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including the coordinates of the touch, the timestamp of the touch operation, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a drag operation and the control corresponding to the drag operation is a picture in the gallery application interface, the gallery application calls the interface of the application framework layer, starts the view system, and then starts the display driver by calling the kernel layer, providing a visual output of the picture following the user's dragging path through the display screen 194.

[0186] Based on the software structure block diagram shown in Figure 12 above, Figure 13 shows an interactive flow chart of a file sharing process according to an embodiment of the present application. The execution entity of each step of the process shown in Figure 13 can be an electronic device 100 having the structure shown in Figure 3, such as a computer, mobile phone, etc., without limitation. To simplify the description, the execution entity of each step will not be repeated when introducing the interactive process steps shown in Figure 13.

[0187] Specifically, as shown in FIG13 , the interaction process includes the following steps:

[0188] S1301 , the target application 1310 and / or the conference software 1320 detects a user instruction to exit full-screen display, triggering a windowed interface.

[0189] When a user uses an electronic device to share a file, they touch a preset time or swipe on the conferencing software 1320 interface of the electronic device. In response to the user's operation, conferencing software 1320 enters a windowed display. Target application 1310 represents the application corresponding to the target file the user wishes to share. Target application 1310 enters a windowed display similarly to conferencing software 1320. At least one of the target application 1310 and conferencing software 1320 interfaces enters a windowed display.

[0190] For example, if a user runs conference software 1320 and a gallery app on their phone and wants to share pictures in the gallery app through conference software 1320, the gallery app is the target application 1310, and the pictures in the gallery app are the target files. For example, the user can trigger the windowed display of conference software 1320 by touching the conference software 1320 interface with their finger for 1 second, at which point conference software 1320 responds to the triggering operation and enters small window mode. In another embodiment, the user can also use other methods to cause conference software 1320 to enter small window mode, which is not limited here.

[0191] S1302 , the target application 1310 detects the user's operation of moving the target file in real time.

[0192] After the target application 1310 and / or conference software 1320 is displayed in a windowed interface, the user can drag the target file to move it. The target application 1310 detects the coordinate position of the target file being dragged by the user in real time. Even if the user moves the target file outside the window of the target application 1310, the target application 1310 should be able to detect it.

[0193] S1303 , the target application 1310 issues a sharing broadcast in response to the user's release operation.

[0194] After detecting the user's operation of releasing the target file, the target application 1310 responds to the user's operation of releasing the target file by sending a sharing broadcast to all applications. The sharing broadcast includes at least one of receiving permission information, attributes of the target file, and landing location information.

[0195] The receiving application permission information indicates which applications can receive the shared broadcast, for example, by using application tags / types, which can be achieved by simply adding a tag / type field in the shared broadcast. For example, in this embodiment, the conference software 1320 can receive the shared broadcast.

[0196] The attributes of the target file include at least one of the target file type, storage location, and an application identifier of the target application 1310. The application identifier of the target application 1310 is used to uniquely identify the dragged target application 1310 in the drag window sharing scenario. For example, the installation package name of the target application 1310 can be provided to launch the target application 1310 using the installation package name, thereby calling out the already opened window of the target application 1310.

[0197] S1304, the conference software 1320 receives the shared broadcast and determines whether to respond to the shared broadcast.

[0198] Target application 1310 sends a shared broadcast to all running applications on the electronic device. However, not all applications can receive the shared broadcast. The reception permission information indicates that conferencing software 1320 can receive the shared broadcast. After receiving the shared broadcast, conferencing software 1320 determines whether to respond to the shared broadcast based on the landing point location information contained in the shared broadcast.

[0199] When the target file is dropped into the window of the conference software 1320 , the conference software 1320 responds to the sharing broadcast and determines that the target file is content that the user wants to share.

[0200] When the drop location of the target file is not within the window range of the conference software 1320 , the conference software 1320 does not respond to the sharing broadcast.

[0201] S1305 , the conference software 1320 parses the shared broadcast and performs corresponding sharing operations.

[0202] After conferencing software 1320 confirms its response to the shared broadcast, it further analyzes the target file's attributes from the shared broadcast. Based on the target file's attributes and following the inter-application protocol, conferencing software 1320 invokes the corresponding application to open the target file. It then sets the window of the opened target file as a shared window. The process of opening and setting a shared window is similar to that in step S403.

[0203] S1306, the conference software 1320 broadcasts a notification of successful sharing.

[0204] After completing the target file sharing operation, the conference software 1320 broadcasts a sharing success notification to the target application 1310 .

[0205] S1307 , the target application 1310 and the conference software 1320 exit the windowed display.

[0206] After the conference software 1320 completes sharing, the conference software 1320 cancels broadcast monitoring. The target application 1310 and the conference software 1320 both exit windowed display, and the shared window is displayed in full screen mode for sharing.

[0207] The following describes in detail the file sharing method provided by the present application in conjunction with another embodiment 2, and the specific implementation process applied in a cross-device scenario.

[0208] Example 2

[0209] In some scenarios, users use one electronic device for video conferencing, but files are stored on another. A typical scenario involves a user participating in a meeting in a car using a vehicle-mounted conferencing terminal. However, files are often not transferred to the vehicle-mounted terminal, but instead stored on a mobile phone. This example uses the example of a user using a vehicle-mounted terminal for video conferencing, with the target file to be shared stored on a mobile phone.

[0210] Specifically, FIG14 shows a schematic diagram of a multi-device collaboration interface according to an embodiment of the present application.

[0211] As shown in Figure 14, a user enters multi-device collaboration interface 1401 on mobile phone 1400. Multi-device collaboration interface 1401 displays application windows currently running on devices logged into the same cloud account. For example, settings window 1413, gallery window 1423, document window 1433, and spreadsheet window 1443 running on mobile phone 1400, or music window 1453, meeting window 1463, and video window 1473 running on the car computer. Therefore, the user must open the target file to be shared on mobile phone 1400 before the corresponding application window will be displayed on multi-device collaboration interface 1401. For example, if the user wants to share an image, they need to run gallery application 1423 on mobile phone 1400 to open the image. After the user enters multi-device collaboration interface 1401 on mobile phone 1400, gallery window 1423 with the image open will be displayed on multi-device collaboration interface 1401.

[0212] At the top of the multi-device collaboration interface 1401 on the mobile phone 1400, controls 1402 are displayed for all devices logged into the current user account, such as "**'s mobile phone," "**'s car computer," and "**'s computer." Upon entering multi-device collaboration interface 1401, the application window currently running on the mobile phone 1400 is displayed by default. The user can click on the controls 1402 representing different devices through operation 1404 to view the application windows currently running on different devices. For example, if the user clicks "**'s car computer," multi-device collaboration interface 1401 will display the application window currently running on the car computer.

[0213] For example, a user can drag the gallery window 1423 onto the control 1402 corresponding to "**car" on the multi-device collaboration interface 1401. The multi-device collaboration interface 1401 executes the user's drag operation and displays the application window corresponding to the car. The user can then drag the image to the conference window 1463 to complete the cross-device sharing operation.

[0214] Specifically, FIG15 shows an interactive flow chart for sharing files across devices according to an embodiment of the present application.

[0215] As shown in Figure 15, the interaction process includes the following steps:

[0216] S1501, a communication connection is established between the mobile phone 1510, the cloud 1520 and the collaborative device 1530.

[0217] During the multi-device interaction process, both the mobile phone 1510 and the collaborative device 1530 need to communicate with the cloud 1520, so that the cloud 1520 can obtain the process information of the device that has logged into the same account on the cloud 1520, and determine the application and its application interface running on the collaborative device 1530 based on the process information. Among them, the collaborative device 1530 can be, for example, a car computer, etc. When a user needs to share a file on the mobile phone 1510, he first finds the application corresponding to the file he wants to share, and this application is the target application. The user opens the file through the target application, so that the content of the file is displayed in the form of a window. On the one hand, it is convenient for subsequent sharing operations, and on the other hand, it is also convenient for the user to check whether the file is the file he wants to share. Accordingly, the collaborative device needs to run the conference software to receive the file.

[0218] S1502, the mobile phone 1510 displays a multi-device collaboration interface.

[0219] For example, the user long presses the middle of the mobile phone 1510 window on the interface of the mobile phone 1510, and then slides upward. The window of the mobile phone 1510 responds to the user's operation and enters the multi-device collaboration interface. In other embodiments, the method of entering the multi-device collaboration interface is not limited to the above operation. The user can also enter the multi-device collaboration interface by sliding the screen with multiple fingers and in a customized manner. This is not limited here. At this time, the mobile phone 1510 obtains the collaborative device 1530 logged into the cloud 1520 account and the applications and application windows running on multiple collaborative devices 1530 through the cloud 1520, and displays the application windows on the multi-device collaboration interface of the mobile phone 1510. As shown in Figure 14, a control 1402 for switching different devices is set on the multi-device collaboration interface 1401. When the user touches the control 1402 of a different device, the multi-device collaboration interface 1401 responds to the user's touch operation, switches to the display interface of the corresponding device, and displays the application window running on the corresponding device.

[0220] S1503, the mobile phone 1510 detects the user's operation.

[0221] When a user shares a file, he selects the target file in the multi-device collaborative interface of the mobile phone 1510 and drags the target file to the control corresponding to the collaborative device 1530 to be shared, such as the control corresponding to the receiving device. The mobile phone 1510 responds to the user's movement operation and records the path of the target file dragged by the user. At this time, the multi-device collaborative interface of the mobile phone 1510 switches to the interface of the receiving device. The applications running on the receiving device can be displayed on the multi-device collaborative interface. The user drags the target file toward the receiving object and releases it. At this time, the mobile phone 1510 responds to the user's release operation and records the landing position of the target file.

[0222] Specifically, FIG16 shows a schematic diagram of an interface for performing a window moving operation on a multi-device collaborative interface to complete window sharing according to an embodiment of the present application.

[0223] As shown in Figure 16 , after mobile phone 1600 enters multi-device collaboration interface 1601, a display indicating the names of devices logged into the same cloud account is displayed above multi-device collaboration interface 1601. Examples include mobile phone control 1604a, computer control 1604b, and in-car control 1604c shown in Figure 16 . When a user action is detected on mobile phone control 1604a, the application windows corresponding to the applications currently running on mobile phone 1600 are displayed on multi-device collaboration interface 1601. For example, document window 1602a, settings window 1602b, gallery window 1602c, and spreadsheet window 1602d are currently running on mobile phone 1600. When a user action is detected on in-car control 1604c, the application windows corresponding to the applications currently running on the in-car are displayed on the multi-device collaboration interface. For example, meeting window 1605c, video window 1605b, and music window 1605a are currently running on the in-car.

[0224] For example, a user shares a document window 1602a on a mobile phone 1600 with the conference software 1605c on a vehicle. As shown in the multi-device collaboration interface 1601 indicated by the mobile phone control 1604a, the user drags the document window 1602a to the vehicle control 1604c through operation 1603a and selects the corresponding receiving device. For example, the receiving device is "**'s vehicle." At this point, the mobile phone 1600 responds to the user's movement operation and records the movement path of the document window 1602a.

[0225] As shown in multi-device collaboration interface 1601 indicated by vehicle-mounted control 1604c, after the user moves document window 1602a to vehicle-mounted control 1604c, multi-device collaboration interface 1601 switches to displaying the application window currently running on the vehicle-mounted control. The user continues to drag document window 1602a through operation 1603c until it moves to the area of ​​meeting window 1605c and then releases it, with meeting window 1605c becoming the receiving object. At this point, mobile phone 1600 responds to the user's release operation and calculates the landing location of document window 1602a.

[0226] S1504 , the mobile phone 1510 determines a receiving device and a receiving object based on the moving path and release position of the user operation.

[0227] After the user completes the move operation for the target file, mobile phone 1510 determines the receiving device based on the movement path information and retrieves the receiving device's interface from cloud 1520. The receiving device's interface displays the currently running applications and the distribution of application windows. Based on the distribution of application windows and the drop location information on the receiving device's interface, mobile phone 1510 determines the recipient, specifically which application on the receiving device can receive the target file's data.

[0228] S1505 , the mobile phone 1510 sends the application data stream packaged by the received permission information and the target file to the cloud 1520 into a shared information stream.

[0229] After determining the receiving device and recipient, mobile phone 1510 encapsulates the target file into an application data stream, which includes the target file's data. It then encapsulates the application data stream and receiving permission information into a shared information stream, which indicates that the recipient can receive the application data stream. After the application data stream is encapsulated into a shared information stream, it is transmitted to the receiving device via the cloud 1520 data channel.

[0230] S1506 , the collaborative device 1530 determines that the conference software opens the application data stream based on the received permission information.

[0231] After receiving the shared information stream, the receiving device parses the shared information stream to extract the receiving permission information and the application data stream, and then sends the application data stream to the receiving object according to the receiving permission information. In this embodiment, the document data stream is sent to the conference software.

[0232] S1507 , the collaborative device 1530 parses the application data stream and performs sharing according to a preset operation.

[0233] After receiving the application data stream, the conferencing software on the receiving device determines the attributes of the target file, and then calls the corresponding application to open the target file based on the attributes of the target file and the protocol between applications, and sets the window of the target file as a shared window. The operations of opening the target file and setting the shared window refer to step S403.

[0234] For example, in Figure 16, after receiving the data stream of the picture, the conference software on the "**'s car computer" determines that the attribute of the picture is a picture through the application data stream of the picture, and the application that supports opening the picture is the gallery, and then calls the gallery application on the "**'s car computer" to open the picture, so that the picture is displayed in the form of a window, and the conference software sets the opened window as a shared window.

[0235] As you can understand, application data flow involves sending the target application's data through a cloud data channel from a mobile phone to a receiving device. The receiving device then stores the target application data and then opens the target application through the relevant local application. The target application can be a document, image gallery, or web link.

[0236] In summary, in the file sharing method provided by the embodiments of the present application, the electronic device determines that the user is sharing the target file by detecting the user dragging the target file and moving the target file into the window of the conference software. The conference software can call the corresponding target application to open the target file and set the window of the opened target file as a shared window to complete the sharing of the target file. Therefore, when the user shares the target file, the target file does not need to be opened, and the user does not need to share the target file through various settings and sharing operations on the conference software. The process of sharing files is simple.

[0237] It should be understood that although the terms "first", "second", etc. may be used in this document to describe various features, these features should not be limited by these terms. These terms are used only to distinguish and cannot be understood as indicating or implying relative importance.

[0238] Furthermore, various operations will be described as multiple, separate operations in a manner that is most helpful for understanding the illustrative embodiments; however, the order of description should not be construed to imply that the operations must be performed in order of description, and many of the operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can terminate when the described operations are completed, but can also have additional operations not included in the figures. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0239] In the accompanying drawings, some structural or method features may be shown in a particular arrangement and / or order. However, it should be understood that such a particular arrangement and / or order is not required. Rather, in some embodiments, these features may be illustrated in a manner and / or order that differs from that shown in the illustrative drawings. In addition, the inclusion of a structural or method feature in a particular drawing does not imply that all embodiments need include such features.

[0240] The embodiments of the present application are described in detail above with reference to the accompanying drawings. However, the application of the technical solution of the present application is not limited to the various applications mentioned in the embodiments of the present patent. Various structures and variations can be easily implemented with reference to the technical solution of the present application to achieve the various beneficial effects mentioned herein. Various changes made within the knowledge of ordinary technicians in this field without departing from the purpose of the present application should fall within the scope of coverage of the patent application.

Claims

1. A method for sharing files, applied to a first electronic device, characterized in that: Displaying a first application interface of a first application; detecting a first operation of a user on a first file; In response to the first operation, a second application interface of a second application is displayed in the first application interface, wherein the second application interface includes the opened first file.

2. The method according to claim 1, characterized in that The first application interface includes a first sharing area, and the detecting a first operation of the user on the first file includes: An operation of a user dragging the first file into the first sharing area is detected; and The step of displaying a second application interface of a second application in the first application interface in response to the first operation includes: The second application interface is displayed in the first sharing area.

3. The method according to claim 2, characterized in that The first sharing area displays a third application interface of a third application, and the first sharing area includes a first area for triggering split-screen sharing and a second area for triggering replacement sharing; and, The method comprises: Detecting an operation in which a user drags the first file into the first area, and displaying the second application interface and the third application interface in the first sharing area in split screens; An operation of a user dragging the first file into the second area is detected, and the third application interface displayed in the first sharing area is replaced with the second application interface for display.

4. The method according to claim 2, characterized in that: The first sharing area includes a plurality of sharing windows displaying different contents, and the first application interface includes at least one window control for indicating switching to a corresponding sharing window; and, The method comprises: A user operation acting on a first window control among the at least one window control is detected, and the content displayed in the first sharing area is switched to the display content of the first window corresponding to the first window control.

5. The method according to claim 1, characterized in that The first application interface includes at least one second sharing area, wherein the second sharing area includes a first user identifier of using the first application, the first user identifier is used to indicate the viewing authority of the first user for the content displayed in the second sharing area, and the detecting of the first operation of the user on the first file includes: detecting an operation of a user dragging the first file to at least one of the second sharing areas; and The step of displaying a second application interface of a second application in the first application interface in response to the first operation includes: In response to the first operation, the second application interface is displayed in the second sharing area where the first operation is performed.

6. The method according to any one of claims 1 to 5, characterized in that The first electronic device detects a first operation of a user on a first file in the following manner; Acquire first location information of releasing the first file corresponding to the first operation; It is determined that the location indicated by the first location information is located in the target area for triggering the shared file in the first application interface, and the first operation is detected.

7. The method according to any one of claims 1 to 6, characterized in that After detecting a first operation of the user on the first file, the method further includes: In response to the first operation, a first prompt interface is displayed, wherein the first prompt interface is used to prompt the user to drag the first file to a specified position or a specified area within the area covered by the first application interface.

8. The method according to claim 1, characterized in that The first application is an application running on the second electronic device, and The displaying the first application interface of the first application includes: The first electronic device receives a first information stream sent by the second electronic device, wherein the first information stream is used to display the first application interface; The first application interface is displayed.

9. The method according to claim 8, characterized in that The first electronic device runs a fourth application, and the first file is displayed on a fourth application interface provided by the fourth application, and a first application interface provided by the fourth application displays a first application interface of the first application run by the second electronic device; and, The first operation includes: a second operation of dragging the first file from the fourth application interface to the fifth application interface, and, The third operation is to drag the first file to the first application interface, wherein the second operation and the third operation are continuous operations.

10. The method according to claim 9, characterized in that The second operation of dragging the first file from the fourth application interface to the fifth application interface includes: a fourth operation of dragging the first file from the fourth application interface to a second window control for indicating switching to the fifth application interface, and, A fifth operation is to drag the first file to a corresponding area of ​​the fifth application interface, wherein the fourth operation and the fifth operation are continuous operations.

11. The method according to any one of claims 1 to 10, characterized in that The first application includes any one of an instant messaging application, a conference software, and a live broadcast application.

12. An electronic device, characterized in that: include: one or more processors; One or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device executes the method for sharing files described in any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The storage medium stores instructions, which, when executed on a computer, enable the computer to execute the file sharing method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Opening new application window in response to remote resource sharing

    CN107438831A

  • Prompting method and device based on document sharing, equipment and medium

    CN114371896A

  • File sharing method and file sharing device

    CN114816293A

  • File sharing method, electronic equipment and computer readable storage medium

    CN116301541A

  • Grouping a participant and a resource

    WO2013062582A1

Cited By

  • Sharing method and system, and electronic device

    WO2026223067A1