Data transfer method and device

By using packet keys and target icons in the wireless LAN for data dragging and drop operations, the problem of cumbersome data sharing operations between multiple users is solved, and fast and simple data transfer is achieved in the wireless LAN.

CN119201903APending Publication Date: 2024-12-27VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411540247.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the prior art, data sharing between multiple users needs to be passed through a third-party platform, which is cumbersome and has poor practicality, especially for unregistered users, data transfer cannot be achieved.

Method used

By using preset packet keys between multiple terminals in the same wireless LAN to enter the packet, display the target icon for data drag and drop operations, realizing direct data transmission between terminals without relying on third-party platforms.

Benefits of technology

The data transfer process between multiple terminals is simplified, transmission efficiency and operation simplicity are improved, and rapid data sharing is realized in wireless LAN.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201903A_ABST
    Figure CN119201903A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data transfer method and device, and the method is applied to a first terminal, and comprises the steps that the first terminal enters a group through a preset group key, the group comprises a plurality of terminals, and the plurality of terminals are located in the same wireless local area network; a target icon is displayed, the target icon is used for indicating other terminals except the first terminal in the group or a public space, and the public space is used for sharing data by the terminals in the group; the method comprises the following steps: acquiring data to be sent, storing the data to be sent as a temporary file, and displaying an icon of the temporary file; and receiving a first operation, and in response to the first operation, dragging the icon of the temporary file to the target icon so as to send the temporary file to other terminals except the first terminal or a public space in the group indicated by the target image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a data transfer method and device. Background Art

[0002] Currently, the data transfer for drag-and-drop interaction can only be achieved from one application to another application in the same terminal. Data transfer scenarios between multiple users are often completed through transmission on a third-party platform. In this case, multiple users not only need to register on the third-party platform in advance, but also need to establish a group first when transferring data. Then, one user initiates data sharing within the group, and other users in the group can download the data, thereby realizing data transfer between multiple users.

[0003] However, the above method relies on a third-party platform to be completed. For users who are not registered on the third-party platform, data transfer cannot be achieved. Therefore, the method is cumbersome to operate and has poor practicality. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a data transfer method and device to solve the problem of complicated operation and poor practicality when sharing data between multiple users.

[0005] To solve the above technical problems, the embodiments of the present invention are implemented as follows: In a first aspect, an embodiment of the present invention provides a data transfer method, which is applied to a first terminal, and the method includes: The first terminal enters a group using a preset group key, the group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network; displaying a target icon, where the target icon is used to indicate other terminals in the group except the first terminal or a public space, where the public space is used for the terminals in the group to share data; Acquire data to be sent, save the data to be sent as a temporary file, and display an icon of the temporary file; receiving a first operation; In response to the first operation, the icon of the temporary file is dragged to the target icon, so as to send the temporary file to other terminals or a public space in the group indicated by the target icon except the first terminal.

[0006] In a second aspect, an embodiment of the present invention provides a data transfer method, which is applied to a second terminal, and the method includes: The second terminal enters a group using a preset group key, the group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network; displaying a target icon, where the target icon is used to indicate other terminals in the group except the second terminal or a public space, where the public space is used for the terminals in the group to share data; In a case where a first terminal in the group triggers temporary file transmission based on a first operation, receiving the temporary file sent by the first terminal.

[0007] In a third aspect, an embodiment of the present invention provides a data transfer device, applied to a first terminal, the device comprising: A connection module, used to enter a group through a preset group key, wherein the group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network; A display module, configured to display a target icon, wherein the target icon is used to indicate other terminals in the group except the first terminal or a public space, wherein the public space is used for the terminals in the group to share data; An acquisition module, used for acquiring data to be sent, saving the data to be sent as a temporary file, and displaying an icon of the temporary file; A receiving module, configured to receive a first operation; The response module is configured to, in response to the first operation, drag the icon of the temporary file to the target icon, so as to send the temporary file to other terminals or a public space in the group indicated by the target icon except the first terminal.

[0008] In a fourth aspect, an embodiment of the present invention provides a data transfer device, which is applied to a second terminal, and the device includes: A connection module, used to enter a group through a preset group key, wherein the group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network; A display module, configured to display a target icon, wherein the target icon is used to indicate other terminals in the group except the second terminal or a public space, wherein the public space is used for the terminals in the group to share data; The receiving module is configured to receive the temporary file sent by the first terminal in the group when the first terminal triggers temporary file transmission based on the first operation.

[0009] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the data transfer method provided in the above embodiment.

[0010] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the data transfer method provided in the above embodiment are implemented.

[0011] In a seventh aspect, an embodiment of the present invention provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the data transfer method provided in the above embodiment.

[0012] It can be seen from the technical solution provided by the above embodiments of the present invention that in the embodiments of the present invention, the first terminal enters the group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, and a target icon is displayed, the target icon is used to indicate other terminals or public spaces in the group except the first terminal, the public space is used for the terminals in the group to share data, obtain data to be sent, save the data to be sent as a temporary file, display the icon of the temporary file, receive a first operation, and in response to the first operation, drag the icon of the temporary file to the target icon to send the temporary file to other terminals or public spaces in the group indicated by the target icon except the first terminal, thereby realizing data transfer between multiple terminals, which can be completed without relying on a third-party platform, is simple to operate, and is transmitted based on a wireless local area network with a fast transmission speed, thereby improving the efficiency of data transfer. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0014] Figure 1 A flowchart of a data transfer method provided by an embodiment of the present invention; Figure 2 A schematic diagram of a flow chart of another data transfer method provided by an embodiment of the present invention; Figure 3 A schematic diagram of an interface for sending data to other terminals in a group provided by an embodiment of the present invention; Figure 4 A schematic diagram of a flow chart of another data transfer method provided by an embodiment of the present invention; Figure 5 A schematic diagram of an interface for sharing data in a public space provided by an embodiment of the present invention; Figure 6 A schematic diagram of a flow chart of another data transfer method provided by an embodiment of the present invention; Figure 7 A schematic diagram of a flow chart of another data transfer method provided by an embodiment of the present invention; Figure 8 A schematic diagram of the structure of a data transfer device provided by an embodiment of the present invention; Fig. 9 A schematic diagram of the structure of another data transfer device provided by an embodiment of the present invention; Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0015] Embodiments of the present invention provide a data transfer method, device and electronic device.

[0016] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0017] The data transfer method and device provided in the embodiments of the present invention can be applied to an electronic device, which can be a terminal device or a server. The server can be an independent server or a server cluster composed of multiple servers, which is not specifically limited. The terminal device can be a device such as a personal computer, or a mobile terminal device such as a mobile phone or a tablet computer, which is not specifically limited.

[0018] The application scenarios of the above method and device include but are not limited to: scenarios where multiple terminals in the same wireless local area network send data or share data after entering a group. Through the above method and device, data transfer between multiple terminals is realized without relying on a third-party platform. The operation is simple, the transmission is based on the wireless local area network, the transmission speed is fast, and the efficiency of data transfer is improved.

[0019] like Figure 1 As shown, an embodiment of the present invention provides a data transfer method, which is applied to a first terminal and may specifically include the following steps: S102: A first terminal enters a group using a preset group key. The group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network.

[0020] The group key may be determined by pre-negotiation by multiple terminals in the group, and after the group key is determined, any terminal in the group may enter the group by inputting the group key. The wireless local area network may be Wi-Fi, etc. The first terminal may be any terminal in the group, without specific limitation.

[0021] S104: Display a target icon, where the target icon is used to indicate other terminals in the group except the first terminal or a public space, where the public space is used for the terminals in the group to share data.

[0022] The first terminal may display a target icon on the interface, and the target icon may be one or more. For example, the target icon may include icons of one or more other terminals in the group, or icons of a public space, or icons of one or more other terminals in the group and icons of a public space, which is not specifically limited in this embodiment.

[0023] In the embodiment of the present invention, the public space refers to the storage space used by each terminal in the group to realize data transfer, including cache or hard disk, which is not specifically limited.

[0024] S106: Acquire the data to be sent, save the data to be sent as a temporary file, and display an icon of the temporary file.

[0025] The data to be sent may be a file stored in the first terminal, such as a word file, a pdf file, or a jpg file; or, the data to be sent may be content in an application of the first terminal, such as text, a picture, or an emoticon package, etc., without specific limitation.

[0026] S108: receiving a first operation, and in response to the first operation, dragging the icon of the temporary file to the target icon to send the temporary file to other terminals or a public space in the group indicated by the target icon except the first terminal.

[0027] In the embodiment of the present invention, the first operation may be a pre-specified operation, such as a long press or a drag operation, etc., which is not specifically limited.

[0028] When the target icon indicates other terminals in the group, the temporary file can be sent to the other terminals. When the target icon indicates a public space, the temporary file can be sent to the public space.

[0029] In one implementation manner, the target icon is an icon of the second terminal, and the above step S108 may include: A first operation is received, and in response to the first operation, an icon of the temporary file is dragged to an icon of the second terminal to send the temporary file to the second terminal.

[0030] Accordingly, after sending the temporary file to the second terminal, the method may further include: The first terminal receives the notification sent by the second terminal after receiving the temporary file, and deletes the temporary file locally.

[0031] In another implementation manner, the target icon is an icon of a public space, and the above step S108 may include: receiving a first operation, and in response to the first operation, dragging an icon of the temporary file to an icon of the public space to split the temporary file into a plurality of file fragments; Based on the cache space size of each terminal in the group, multiple file fragments are sent to each terminal respectively; The above-mentioned multiple file fragments are used for data recovery when any terminal in the group downloads a file from the public space.

[0032] In the embodiment of the present application, the sending of the plurality of file fragments to each terminal based on the cache space size of each terminal in the group may include: The multiple file fragments are sent to each terminal respectively according to the size of the multiple file fragments and the cache space size of each terminal in the group.

[0033] In one implementation, multiple file fragments may be sent to each terminal separately according to the principle that file fragments with large capacity are distributed to terminals with large cache space.

[0034] In the embodiment of the present application, after sending the plurality of file fragments to each terminal respectively, the following may also be included: The first terminal receives the notification sent by each terminal after receiving the file fragment, and deletes the temporary file locally.

[0035] In the embodiment of the present application, the above method may further include: When any terminal in the group exits the group, any terminal generates a file key based on the stored file fragments, uploads the file fragments and the file key to the cloud, and synchronizes the file key to other terminals in the group.

[0036] The above method provided by the embodiment of the present invention is that the first terminal enters the group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, a target icon is displayed, the target icon is used to indicate other terminals or public spaces in the group except the first terminal, the public space is used for the terminals in the group to share data, obtain data to be sent, save the data to be sent as a temporary file, display the icon of the temporary file, receive a first operation, and in response to the first operation, drag the icon of the temporary file to the target icon to send the temporary file to other terminals or public spaces in the group indicated by the target icon except the first terminal, thereby realizing data transfer between multiple terminals, which can be completed without relying on a third-party platform, is simple to operate, and is transmitted based on the wireless local area network, with a fast transmission speed, thereby improving the efficiency of data transfer.

[0037] like Figure 2 As shown, an embodiment of the present invention provides another data transfer method, which is applied to a first terminal and may specifically include the following steps: S202: A first terminal enters a group using a preset group key. The group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network.

[0038] This method of transferring data based on the same wireless local area network can save the process of establishing a connection. Data transfer between terminals in a group can be achieved based on the Wi-Fi connection and the input of the group key. It is simple to operate, highly efficient, and can save terminal traffic.

[0039] S204: Displaying the icon of the second terminal.

[0040] S206: Acquire the data to be sent, save the data to be sent as a temporary file, and display an icon of the temporary file.

[0041] The data to be sent may be obtained by the first terminal from local storage, such as obtaining a file from a file manager, or obtaining a picture from an album, or may be text, pictures or emoticons dragged from an application, etc., without specific limitation.

[0042] S208: receiving a first operation, and in response to the first operation, dragging the icon of the temporary file to the icon of the second terminal to send the temporary file to the second terminal.

[0043] The second terminal may be any terminal in the group except the first terminal, and is not specifically limited.

[0044] This method of triggering data transfer by dragging icons does not require tedious operation steps such as right-clicking and selecting the required options, which greatly simplifies the operation process, improves transmission efficiency, and is highly practical.

[0045] S210: Receive a notification sent by the second terminal after receiving the temporary file, and delete the temporary file locally.

[0046] This method of deleting temporary files after data transmission is completed can reduce the local space resources occupied by temporary files.

[0047] Figure 3 This is a schematic diagram of an interface for sending data to other terminals in a group provided by an embodiment of the present invention. Figure 3 , the lower left corner of the interface of the first terminal (corresponding to user 1) displays temporary files, and the right side displays icons of other terminals in the group, such as the icon of user 2, the icon of user 3, etc., as well as the icon of the public space. When the user long presses the temporary file and moves to the icon of user 2, drags the icon of the temporary file to the icon of user 2, triggering the sending of the temporary file to the terminal of user 2, completing the data transfer between different terminals in the group, the operation is simple and convenient, and the transmission efficiency is high.

[0048] The above method provided by the embodiment of the present invention is that the first terminal enters the group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, the icon of the second terminal is displayed, the data to be sent is obtained, the data to be sent is saved as a temporary file, the icon of the temporary file is displayed, the first operation is received, and in response to the first operation, the icon of the temporary file is dragged to the icon of the second terminal to send the temporary file to the second terminal, thereby realizing data transfer between different terminals in the group, which can be completed without relying on a third-party platform, is simple to operate, and is transmitted based on the wireless local area network, with a fast transmission speed, thereby improving the efficiency of data transfer.

[0049] like Figure 4 As shown, an embodiment of the present invention provides another data transfer method, which is applied to a first terminal and may specifically include the following steps: S402: A first terminal enters a group using a preset group key. The group includes multiple terminals and the multiple terminals are all located in the same wireless local area network.

[0050] S404: Display an icon of a public space, where the public space is used for terminals in the group to share data.

[0051] For example, five terminals are located in the same Wi-Fi network and enter the group through the pre-negotiated group key. Each terminal in the group can divide the public space in its own storage for data transfer cache and shared data. Any terminal in the group can upload the data it wants to share to the public space to share it with other terminals in the group.

[0052] S406: Acquire the data to be sent, save the data to be sent as a temporary file, and display an icon of the temporary file.

[0053] S408: receiving a first operation, and in response to the first operation, dragging the icon of the temporary file to the icon of the public space to divide the temporary file into a plurality of file fragments.

[0054] The number of file fragments divided into temporary files can be set as needed, such as the number of file fragments is equal to the total number of terminals in the group, that is, each terminal including the first terminal stores a file fragment.

[0055] Alternatively, a threshold of the cache space may be set, and when the cache space of the terminal is lower than the threshold, the file fragments are not saved. Therefore, after filtering out the terminals whose cache space is lower than the threshold, the number of remaining terminals is determined as the number of file fragments, and accordingly, the segmented file fragments are sent to the remaining terminals.

[0056] S410: Based on the buffer space size of each terminal in the group, send multiple fragments to each terminal respectively.

[0057] The above-mentioned multiple file fragments are used for data recovery when any terminal in the group downloads the file from the public space. That is, any terminal can integrate all the file fragments after downloading them, so as to restore the file.

[0058] This method of dividing the file into file fragments and saving them to multiple terminals can avoid the waste of resources caused by saving the file in one terminal. Multi-point saving can greatly save storage resources.

[0059] In one implementation, the above step S410 may include: The multiple file fragments are sent to each terminal respectively according to the size of the multiple file fragments and the cache space size of each terminal in the group.

[0060] In one implementation, multiple file fragments may be sent to each terminal separately according to the principle that fragments with large capacity are allocated to terminals with large cache space.

[0061] For example, a temporary file is divided into five file fragments, which are file fragments 1 to 5 in order of capacity, and the five terminals in the group are terminals 1 to 5 in order of cache space. Then, file fragments 1 to 5 can be sent to terminals 1 to 5 in sequence.

[0062] S412: Receive notifications sent by each terminal after receiving the file fragments, and delete the temporary files locally.

[0063] This method of deleting temporary files after the file fragment transfer is completed can reduce the local space resources occupied by temporary files.

[0064] In the embodiment of the present invention, the above method may further include: When any terminal in the group exits the group, any terminal generates a file key based on the stored file fragments, uploads the file fragments and the file key to the cloud, and synchronizes the file key to other terminals in the group.

[0065] The grouped terminals can exit the group at any time, such as leaving the Wi-Fi range. Since the terminal exiting the group saves file fragments, it is necessary to upload the file fragments to the cloud to ensure that other terminals can obtain complete file fragments when downloading shared files.

[0066] In addition, in order to ensure the security of data transfer, the terminal exiting the group can also generate a file key for the file fragment and upload the file key to the cloud, so that the cloud can verify the legitimacy of the terminal requesting the file fragment based on the file key. In addition, the terminal exiting the group also synchronously sends the file key to other terminals in the group, which can facilitate other terminals to download the corresponding file fragment from the cloud based on the file key. This method avoids the loss of file fragments, ensures the reliability of data transfer, and improves the security of transmission through file keys.

[0067] Figure 5 A schematic diagram of an interface for sharing data in a public space provided by an embodiment of the present invention. Figure 5 , the temporary file is displayed in the lower left corner of the interface of the first terminal, and the icon of the public space is displayed on the right side. When the user long presses the temporary file and moves to the icon of the public space, drags the icon of the temporary file to the icon of the public space, triggering the temporary file to be split into multiple file fragments and sent to each terminal in the group. Other terminals can download files from the public space to achieve data sharing within the group. The operation is simple and convenient, and the transmission efficiency is high.

[0068] The above method provided by the embodiment of the present invention is that the first terminal enters the group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, the icon of the public space is displayed, the public space is used for the terminals in the group to share data, obtain data to be sent, save the data to be sent as a temporary file, display the icon of the temporary file, receive a first operation, and in response to the first operation, drag the icon of the temporary file to the icon of the public space to divide the temporary file into multiple file fragments, based on the cache space size of each terminal in the group, send the multiple fragments to each terminal respectively, receive the notification sent by each terminal after receiving the file fragments, delete the temporary file locally, and realize the sharing of data in the group. Other terminals can download the shared files without relying on a third-party platform. The operation is simple, the transmission is based on the wireless local area network, the transmission speed is fast, and the efficiency of data transfer is improved.

[0069] like Figure 6 As shown, an embodiment of the present invention provides another data transfer method, which is applied to a second terminal and may specifically include the following steps: S602: The second terminal enters a group using a preset group key. The group includes multiple terminals and the multiple terminals are all located in the same wireless local area network.

[0070] S604: Display a target icon, where the target icon is used to indicate other terminals in the group except the second terminal or a public space, where the public space is used for the terminals in the group to share data.

[0071] S606: When the first terminal in the group triggers temporary file transmission based on the first operation, receive the temporary file sent by the first terminal.

[0072] The first operation may be a pre-specified operation, including but not limited to: a long press or a drag operation, etc.

[0073] In the embodiment of the present invention, the above method may further include: When a terminal in the group uploads a temporary file to the public space, the receiving terminal divides the temporary file into file fragments sent based on the cache space size of the second terminal.

[0074] In the embodiment of the present invention, the above method may further include: Based on the displayed icon of the public space, select a file to be downloaded from the public space; receiving file fragments of the file sent by other terminals in the group; When it is determined that the received file fragments are complete, the locally stored file fragments and the received file fragments are integrated to restore the file; When it is determined that the received file fragments are incomplete, the target file fragments are downloaded from the cloud based on the file key, and then integrated with the locally stored file fragments and the received file fragments to restore the file.

[0075] The above file key is sent by the terminal that has exited the group and uploaded the target file fragment to the cloud.

[0076] In the above method provided by the embodiment of the present invention, the second terminal enters the group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, a target icon is displayed, the target icon is used to indicate other terminals or public spaces in the group except the second terminal, the public space is used for the terminals in the group to share data, and when the first terminal in the group triggers a temporary file transmission based on a first operation, a temporary file sent by the first terminal is received, thereby realizing data transfer between different terminals in the group, which can be completed without relying on a third-party platform, is simple to operate, and is transmitted based on the wireless local area network, with a fast transmission speed, thereby improving the efficiency of data transfer.

[0077] like Figure 7 As shown, an embodiment of the present invention provides another data transfer method, which is applied to a second terminal and may specifically include the following steps: S702: The second terminal enters a group using a preset group key. The group includes multiple terminals and the multiple terminals are all located in the same wireless local area network.

[0078] S704: Display an icon of a public space, where the public space is used for terminals in the group to share data.

[0079] S706: When a terminal in the group uploads a temporary file to the public space, receiving file fragments sent by the terminal after splitting the temporary file based on the cache space size of the second terminal.

[0080] In an embodiment of the present invention, after the terminal that uploads a temporary file to the public space performs file segmentation, in addition to sending the file fragments to the second terminal, other file fragments are also sent to one or more terminals other than the second terminal in the group. The storage space occupied by each file fragment in the corresponding terminal after the file segmentation together constitutes the above-mentioned public space. By segmenting the file and distributing the file fragments to multiple terminals for storage, the waste of resources in the public space can be reduced.

[0081] S708: Based on the displayed icon of the public space, select a file to be downloaded from the public space, and receive file fragments of the file sent by other terminals in the group.

[0082] The public space may contain one or more files, such as files uploaded by different terminals to the public space. The public space may also store snapshots of shared files uploaded by various terminals, which is not specifically limited.

[0083] S710: Integrate and restore files based on the locally stored file fragments and the received file fragments.

[0084] In the embodiment of the present invention, the above step S710 may include: When it is determined that the received file fragments are complete, the locally stored file fragments and the received file fragments are integrated to restore the file; in this scenario, no terminal exits the grouping, and the file fragments are stored on each terminal and are not uploaded to the cloud.

[0085] When it is determined that the received file fragments are incomplete, the target file fragments are downloaded from the cloud based on the file key, and then integrated with the locally stored file fragments and the received file fragments to restore the file, wherein the file key is sent by the terminal that has exited the group and uploaded the target file fragments to the cloud. In this scenario, a terminal exits the group and uploads its own stored file fragments to the cloud. Therefore, after the second terminal determines that the received file fragments are incomplete, it needs to download the missing file fragments, namely the target file fragments, from the cloud, so that the complete fragments can be obtained, which can prevent the loss of data after disconnection.

[0086] In the embodiment of the present invention, the above method may further include: When the target file fragments are downloaded from the cloud and the file is restored successfully, based on the cache space size of each terminal in the group, the target file fragments downloaded from the cloud are divided into multiple new file fragments and sent to each terminal.

[0087] In this case, the cloud no longer needs to save the target file fragments previously uploaded by a terminal. Instead, the terminal that downloaded the target file fragments will re-divide the target file fragments and save them to each terminal. This not only saves storage space in the cloud, but also eliminates the need to go through the cloud to obtain the complete fragments later. It can be completed within the wireless LAN, which improves transmission efficiency and saves terminal traffic.

[0088] In the above method provided by the embodiment of the present invention, the second terminal enters the group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, a target icon of the public space is displayed, the public space is used for the terminals in the group to share data, and when a terminal in the group uploads a temporary file to the public space, the terminal receives the file fragments sent by the second terminal after splitting the temporary file based on the cache space size of the second terminal, selects the file to be downloaded from the public space based on the icon of the public space displayed, receives the file fragments of the file sent by other terminals in the group, and restores the file based on the locally stored file fragments and the received fragments, thereby realizing the transfer of shared files in the group, which can be completed without relying on a third-party platform, is simple to operate, is transmitted based on the wireless local area network, has a fast transmission speed, and improves the efficiency of data transfer.

[0089] The above is a data transfer method provided by an embodiment of the present invention. Based on the same idea, an embodiment of the present invention also provides a data transfer device 800, which is applied to a first terminal, such as Figure 8 As shown, the data transfer device includes: A connection module 801, configured to enter a group using a preset group key, wherein the group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network; A display module 802, used to display a target icon, where the target icon is used to indicate other terminals in the group except the first terminal or a public space, where the public space is used for the terminals in the group to share data; The acquisition module 803 is used to acquire the data to be sent, save the data to be sent as a temporary file, and display an icon of the temporary file; A receiving module 804, configured to receive a first operation; The responding module 805 is configured to respond to the first operation by dragging the icon of the temporary file to the target icon, so as to send the temporary file to other terminals or a public space in the group indicated by the target icon except the first terminal.

[0090] In the embodiment of the present invention, the response module 805 may be used to: In response to the first operation, the icon of the temporary file is dragged to the icon of the second terminal to send the temporary file to the second terminal.

[0091] In one embodiment, the above device can also be used for: After sending the temporary file to the second terminal, a notification sent by the second terminal after receiving the temporary file is received, and the temporary file is deleted locally.

[0092] In the embodiment of the present invention, the response module 805 may include: a response unit, configured to, in response to a first operation, drag the icon of the temporary file to a target icon indicating a public space, and divide the temporary file into a plurality of file fragments; The sending unit is used to send the above-mentioned multiple fragments to each terminal respectively based on the cache space size of each terminal in the group; wherein the multiple fragments are used for data recovery when any terminal in the group downloads a file from the public space.

[0093] In one implementation manner, the sending unit may be used to: According to the principle that file fragments with large capacity are distributed to terminals with large cache space, multiple file fragments are sent to each terminal respectively.

[0094] In the embodiment of the present invention, the above device can also be used for: After sending the multiple file fragments to each terminal respectively, receiving the notification sent by each terminal after receiving the file fragments, and deleting the temporary files locally.

[0095] In the embodiment of the present invention, the above device can also be used for: When exiting the group, a file key is generated for the stored file fragments, the file fragments and the file key are uploaded to the cloud, and the file key is synchronized to other terminals in the group.

[0096] The above-mentioned device provided by the embodiment of the present invention enters a group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, displays a target icon, the target icon is used to indicate other terminals or public spaces in the group except the first terminal, the public space is used for the terminals in the group to share data, obtains data to be sent, saves the data to be sent as a temporary file, displays the icon of the temporary file, receives a first operation, and in response to the first operation, drags the icon of the temporary file to the target icon to send the temporary file to other terminals or public spaces in the group indicated by the target icon except the first terminal, thereby realizing data transfer between multiple terminals, which can be completed without relying on a third-party platform, is simple to operate, and is transmitted based on the wireless local area network, with a fast transmission speed, thereby improving the efficiency of data transfer.

[0097] The embodiment of the present invention also provides a data transfer device, which is applied to a second terminal, such as Fig. 9 As shown, the data transfer device 900 includes: The connection module 901 is used to enter a group through a preset group key, where the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network.

[0098] The display module 902 is used to display a target icon, where the target icon is used to indicate other terminals in the group except the second terminal or a public space, where the public space is used for the terminals in the group to share data.

[0099] The receiving module 903 is configured to receive a temporary file sent by a first terminal in a group when the first terminal triggers temporary file transmission based on a first operation.

[0100] In the embodiment of the present invention, the receiving module 903 is further used for: When a terminal in the group uploads a temporary file to the public space, the receiving terminal divides the temporary file into file fragments sent based on the cache space size of the second terminal.

[0101] In the embodiment of the present invention, the above device is also used for: Based on the displayed icon of the public space, select a file to be downloaded from the public space; Receive file fragments of the file sent by other terminals in the group; The file is restored based on the locally stored file fragments and the received file fragments.

[0102] In the embodiment of the present invention, the above-mentioned integration and recovery of the file based on the locally stored file fragments and the received file fragments may include: When it is determined that the received file fragments are complete, the locally stored file fragments and the received file fragments are integrated to restore the file; When it is determined that the received file fragments are incomplete, the target file fragments are downloaded from the cloud based on the file key, and then integrated with the locally stored file fragments and the received file fragments to restore the file.

[0103] The above file key is sent by the terminal that has exited the group and uploaded the target file fragment to the cloud.

[0104] In the embodiment of the present invention, the above device is also used for: When the target file fragments are downloaded from the cloud and the file is restored successfully, the target file fragments downloaded from the cloud are divided into multiple new fragments based on the cache space size of each terminal in the group and sent to each terminal.

[0105] The above-mentioned device provided by the embodiment of the present invention enters a group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, and a target icon is displayed. The target icon is used to indicate other terminals or public spaces in the group except the second terminal. The public space is used for the terminals in the group to share data. When the first terminal in the group triggers a temporary file transmission based on a first operation, the temporary file sent by the first terminal is received, thereby realizing data transfer between different terminals in the group. It can be completed without relying on a third-party platform, is simple to operate, and is transmitted based on the wireless local area network. The transmission speed is fast, which improves the efficiency of data transfer.

[0106] Fig.10 The hardware structure diagram of an electronic device for implementing various embodiments of the present invention is shown below. The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0107] The processor 1010 is used to enter a group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, display a target icon, the target icon is used to indicate other terminals or public spaces in the group except the first terminal, the public space is used for the terminals in the group to share data, obtain data to be sent, save the data to be sent as a temporary file, display the icon of the temporary file, and in response to the first operation, drag the icon of the temporary file to the target icon. Correspondingly, the radio frequency unit 1001 is used to receive the first operation, and when the processor 1010 drags the icon of the temporary file to the target icon, the temporary file is sent to the target corresponding to the target icon.

[0108] Alternatively, the processor 1010 is configured to enter a group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, and display a target icon, the target icon is used to indicate other terminals or a public space in the group except the second terminal, and the public space is used for the terminals in the group to share data. Correspondingly, the radio frequency unit 1001 is configured to receive a temporary file sent by the first terminal when the first terminal in the group triggers temporary file transmission based on the first operation.

[0109] An embodiment of the present invention provides an electronic device, which enters a group through a preset group key, wherein the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, displays a target icon, and the target icon is used to indicate other terminals or a public space in the group, and the public space is used for the terminals in the group to share data, obtains data to be sent, saves the data to be sent as a temporary file, displays an icon of the temporary file, receives a first operation, and in response to the first operation, drags the icon of the temporary file to the target icon to send the temporary file to other terminals or the public space in the group indicated by the target icon except the first terminal, thereby realizing data transfer between multiple terminals, which can be completed without relying on a third-party platform, is simple to operate, is transmitted based on a wireless local area network, has a fast transmission speed, and improves the efficiency of data transfer.

[0110] It should be understood that in the embodiment of the present invention, the RF unit 1001 can be used for receiving and sending signals during information transmission or calls. Specifically, after receiving downlink data from the base station, it is sent to the processor 1010 for processing; in addition, uplink data is sent to the base station. Generally, the RF unit 1001 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the RF unit 1001 can also communicate with the network and other electronic devices through a wireless communication system.

[0111] The electronic device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0112] The audio output unit 1003 can convert the audio data received by the RF unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output it as sound. Moreover, the audio output unit 1003 can also provide audio output related to a specific function performed by the electronic device 1000 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, etc.

[0113] The input unit 1004 is used to receive audio or video signals. The input unit 1004 may include a graphics processor (GPU) 10041 and a microphone 10042. The graphics processor 10041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 1006. The image frame processed by the graphics processor 10041 can be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 1001 in the case of a telephone call mode.

[0114] The electronic device 1000 also includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 10061 and / or the backlight when the electronic device 1000 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 1005 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0115] The display unit 1006 is used to display information input by the user or information provided to the user. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0116] The user input unit 1007 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also known as a touch screen, can collect user touch operations on or near it (such as operations performed by users using fingers, styluses, or any other suitable objects or accessories on or near the touch panel 10071). The touch panel 10071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the processor 1010, receives the command sent by the processor 1010 and executes it. In addition, the touch panel 10071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 10071, the user input unit 1007 may also include other input devices 10072. Specifically, other input devices 10072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0117] Furthermore, the touch panel 10071 may be overlaid on the display panel 10061. When the touch panel 10071 detects a touch operation on or near it, it is transmitted to the processor 1010 to determine the type of touch event. Then, the processor 1010 provides corresponding visual output on the display panel 10061 according to the type of touch event. Fig.10 In the figure, the touch panel 10071 and the display panel 10061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 10071 and the display panel 10061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.

[0118] The interface unit 1008 is an interface for connecting an external device to the electronic device 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 1008 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 1000 or may be used to transmit data between the electronic device 1000 and an external device.

[0119] The memory 1009 can be used to store software programs and various data. The memory 1009 can mainly include a program storage area and a data storage area, wherein the program storage area can 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 can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 1009 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0120] The processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1009 and calling data stored in the memory 1009, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1010.

[0121] The electronic device 1000 may also include a power source 1011 (such as a battery) for supplying power to various components. Preferably, the power source 1011 may be logically connected to the processor 1010 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0122] Preferably, an embodiment of the present invention further provides an electronic device, comprising a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and executable on the processor 1010. When the computer program is executed by the processor 1010, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0123] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0124] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0125] The above-mentioned computer-readable storage medium provided by an embodiment of the present invention enters a group through a preset group key, the group includes multiple terminals and the multiple terminals are all located in the same wireless local area network, and a target icon is displayed, the target icon is used to indicate other terminals or public spaces in the group except the first terminal, the public space is used for the terminals in the group to share data, obtain data to be sent, save the data to be sent as a temporary file, display the icon of the temporary file, receive a first operation, and in response to the first operation, drag the icon of the temporary file to the target icon to send the temporary file to other terminals or public spaces in the group indicated by the target icon except the first terminal, thereby realizing data transfer between multiple terminals, which can be completed without relying on a third-party platform, is simple to operate, and is transmitted based on a wireless local area network with a fast transmission speed, thereby improving the efficiency of data transfer.

[0126] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0127] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0128] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0129] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0130] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0131] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0132] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0133] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0134] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A data transfer method, applied to a first terminal, characterized in that: The method comprises: The first terminal enters a group using a preset group key, the group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network; displaying a target icon, where the target icon is used to indicate other terminals in the group except the first terminal or a public space, where the public space is used for the terminals in the group to share data; Acquire data to be sent, save the data to be sent as a temporary file, and display an icon of the temporary file; receiving a first operation; In response to the first operation, the icon of the temporary file is dragged to the target icon, so as to send the temporary file to other terminals or a public space in the group indicated by the target icon except the first terminal.

2. The method according to claim 1, characterized in that In response to the first operation, dragging the icon of the temporary file to the target icon includes: In response to the first operation, dragging the icon of the temporary file to a target icon indicating a public space, dividing the temporary file into a plurality of file fragments; Based on the cache space size of each terminal in the group, the plurality of file fragments are sent to each terminal respectively; The multiple file fragments are used for data recovery when any terminal in the group downloads a file from the public space.

3. The method according to claim 2, characterized in that The sending the plurality of file fragments to each terminal respectively based on the cache space size of each terminal in the group includes: The multiple file fragments are sent to each terminal respectively according to the sizes of the multiple file fragments and the cache space size of each terminal in the group.

4. A data transfer method, applied to a second terminal, characterized in that: The method comprises: The second terminal enters a group using a preset group key, the group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network; displaying a target icon, where the target icon is used to indicate other terminals in the group except the second terminal or a public space, where the public space is used for the terminals in the group to share data; In a case where a first terminal in the group triggers temporary file transmission based on a first operation, receiving the temporary file sent by the first terminal.

5. The method according to claim 4, characterized in that Also includes: In the case where a terminal in the group uploads a temporary file to the public space, the receiving terminal divides the temporary file into file fragments sent based on the cache space size of the second terminal.

6. The method according to claim 4, characterized in that Also includes: Based on the displayed icon of the public space, select a file to be downloaded from the public space; receiving file fragments of the file sent by other terminals in the group; In the case where it is determined that the received file fragments are complete, integrating the locally stored file fragments and the received file fragments to restore the file; When it is determined that the received file fragments are incomplete, the target file fragments are downloaded from the cloud based on the file key, and then integrated with the locally stored file fragments and the received file fragments to restore the file; The file key is sent by the terminal that has exited the group and uploaded the target file fragment to the cloud.

7. A data transfer device, characterized in that: Applied to a first terminal, the device includes: A connection module, used to enter a group through a preset group key, wherein the group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network; A display module, configured to display a target icon, wherein the target icon is used to indicate other terminals in the group except the first terminal or a public space, wherein the public space is used for the terminals in the group to share data; An acquisition module, used for acquiring data to be sent, saving the data to be sent as a temporary file, and displaying an icon of the temporary file; A receiving module, configured to receive a first operation; The response module is configured to, in response to the first operation, drag the icon of the temporary file to the target icon, so as to send the temporary file to other terminals or a public space in the group indicated by the target icon except the first terminal.

8. The device according to claim 7, characterized in that The response module comprises: a responding unit, configured to, in response to the first operation, drag the icon of the temporary file to a target icon indicating a public space, and divide the temporary file into a plurality of file fragments; A sending unit, configured to send the plurality of file fragments to each terminal respectively based on a cache space size of each terminal in the group; The multiple file fragments are used for data recovery when any terminal in the group downloads a file from the public space.

9. The device according to claim 8, characterized in that The sending unit is used for: The multiple file fragments are sent to each terminal respectively according to the sizes of the multiple file fragments and the cache space size of each terminal in the group.

10. A data transfer device, characterized in that: Applied to a second terminal, the device includes: A connection module, used to enter a group through a preset group key, wherein the group includes a plurality of terminals and the plurality of terminals are all located in the same wireless local area network; A display module, configured to display a target icon, wherein the target icon is used to indicate other terminals in the group except the second terminal or a public space, wherein the public space is used for the terminals in the group to share data; The receiving module is configured to receive the temporary file sent by the first terminal in the group when the first terminal triggers temporary file transmission based on the first operation.

11. The device according to claim 10, characterized in that The receiving module is also used for: In the case where a terminal in the group uploads a temporary file to the public space, the receiving terminal divides the temporary file into file fragments sent based on the cache space size of the second terminal.

12. The device according to claim 10, characterized in that The device is also used for: Based on the displayed icon of the public space, select a file to be downloaded from the public space; receiving file fragments of the file sent by other terminals in the group; In the case where it is determined that the received file fragments are complete, integrating the locally stored file fragments and the received file fragments to restore the file; When it is determined that the received file fragments are incomplete, the target file fragments are downloaded from the cloud based on the file key, and then integrated with the locally stored file fragments and the received file fragments to restore the file; The file key is sent by the terminal that has exited the group and uploaded the target file fragment to the cloud.

Citation Information

Patent Citations

  • File sharing method, device, system, corresponding equipment and storage medium

    CN110703966A

  • Content sharing method and electronic equipment

    CN111459355A

  • File uploading method, file downloading method, device, computer equipment and storage medium

    CN111988419A