WO2023072063A1 - File transmission method and apparatus, and electronic device and storage medium - Google Patents

File transmission method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2023072063A1
WO2023072063A1 PCT/CN2022/127347 CN2022127347W WO2023072063A1 WO 2023072063 A1 WO2023072063 A1 WO 2023072063A1 CN 2022127347 W CN2022127347 W CN 2022127347W WO 2023072063 A1 WO2023072063 A1 WO 2023072063A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
target
multimedia data
electronic devices
file
Prior art date
Application number
PCT/CN2022/127347
Other languages
French (fr)
Chinese (zh)
Inventor
朱国玉
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023072063A1 publication Critical patent/WO2023072063A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to a file transmission method, device, electronic equipment and storage medium.
  • interconnection and transmission of multimedia files have been realized between electronic devices.
  • interconnected electronic devices are only used to send multimedia files from one electronic device to one or more interconnected electronic devices at the same time, or to control an electronic device to download one or more multimedia files. Only independent transmission is performed between connected electronic devices, resulting in low efficiency of multimedia file transmission.
  • the purpose of the embodiment of the present application is to provide a file transmission method, device, electronic equipment and storage medium, which can solve the problem of low efficiency of multimedia file transmission.
  • the embodiment of the present application provides a file transfer method, including:
  • the first electronic device displays N target objects, the N target objects are in one-to-one correspondence with the N multimedia data that the target multimedia file is divided into, and N is greater than 1 integer;
  • the first electronic device determines L electronic devices associated with the N target objects, the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1;
  • the first electronic device sends a first request to a second electronic device among the L electronic devices, where the first request is used to request the second electronic device to perform a first multimedia data transmission operation;
  • the first multimedia data is multimedia data corresponding to the target object associated with the second electronic device.
  • the embodiment of the present application provides a file transfer method, including:
  • the second electronic device receives the first request sent by the first electronic device
  • the second electronic device performs a transmission operation of the first multimedia data in response to the first request
  • the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device
  • the target object is one of N target objects
  • the N target objects are related to the target multimedia file
  • the segmented N pieces of multimedia data are in one-to-one correspondence
  • the N target objects are associated with L electronic devices
  • the L electronic devices are interconnected
  • the L electronic devices include M first electronic devices and L-M
  • M is 0 or 1
  • both N and L are integers greater than 1
  • L is less than or equal to N.
  • the embodiment of the present application provides a file transfer device, including:
  • the display module is used to display N target objects in the case of receiving the segmentation input of the target multimedia file, and the N target objects are in one-to-one correspondence with the N multimedia data that the target multimedia file is divided into, and N is greater than 1 an integer of
  • a determining module configured to determine L electronic devices associated with the N target objects, the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1;
  • a first sending module configured to send a first request to a second electronic device among the L electronic devices, where the first request is used to request the second electronic device to perform a first multimedia data transmission operation;
  • the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device.
  • the embodiment of the present application provides a file transfer device, including:
  • a receiving module configured to receive a first request sent by the first electronic device
  • an execution module configured to execute a transmission operation of the first multimedia data in response to the first request
  • the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device
  • the target object is one of N target objects
  • the N target objects are related to the target multimedia file
  • the segmented N pieces of multimedia data are in one-to-one correspondence
  • the N target objects are associated with L electronic devices
  • the L electronic devices are interconnected
  • the L electronic devices include M first electronic devices and L-M
  • M is 0 or 1
  • both N and L are integers greater than 1
  • L is less than or equal to N.
  • the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction is executed by When the processor is executed, the steps of the method described in the first aspect are realized, or the steps of the method described in the second aspect are realized.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented , or implement the steps of the method described in the second aspect.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect Said method, or realize the steps of the method as described in the second aspect.
  • an embodiment of the present application provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the computer program product described in the first aspect.
  • the first electronic device when receiving the segmentation input of the target multimedia file, displays N target objects, and the N target objects and the N multimedia data of the target multimedia file are divided one by one Correspondingly, N is an integer greater than 1; the first electronic device determines L electronic devices associated with the N target objects, and the L electronic devices are interconnected; the first electronic device sends the L electronic devices to the L A second electronic device among the electronic devices sends a first request, where the first request is used to request the second electronic device to perform a transmission operation of the first multimedia data; wherein the first multimedia data is the multimedia data corresponding to the target object associated with the second electronic device.
  • the transmission efficiency of the target multimedia file can be improved by splitting the target multimedia file into at least two pieces of multimedia data for transmission.
  • FIG. 1 is a flow chart of a file transfer method provided in an embodiment of the present application
  • Fig. 2 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application;
  • Fig. 3 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application.
  • Fig. 4 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application.
  • Fig. 5 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application.
  • Fig. 6 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application.
  • Fig. 7 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application.
  • Fig. 8 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application.
  • FIG. 9 is a flow chart of another file transfer method provided by the embodiment of the present application.
  • FIG. 10 is a structural diagram of a file transmission device provided in an embodiment of the present application.
  • Fig. 11 is a structural diagram of another file transmission device provided by the embodiment of the present application.
  • Fig. 12 is a structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 13 is a structural diagram of another electronic device provided by an embodiment of the present application.
  • Fig. 1 is a flow chart of a file transfer method provided in the embodiment of the present application, as shown in Fig. 1, comprising the following steps:
  • Step 101 in the case of receiving the segmentation input of the target multimedia file, the first electronic device displays N target objects, the N target objects correspond to the N multimedia data that the target multimedia file is divided into, and N is an integer greater than 1;
  • the first electronic device may be interconnected with one or more other electronic devices.
  • the interconnection methods of any two electronic devices may include one or more methods, such as Bluetooth devices, wireless fidelity (Wireless Fidelity, WiFi), fifth-generation mobile communication (5G), millimeter wave, ultra-wideband (Ultra Wide Band, UWB) and switches and other devices for complex interconnection.
  • the multimedia file that needs to be transferred may be displayed on the first electronic device, and after the user selects the target multimedia file, the target multimedia file may be segmented and input.
  • the target multimedia file may be segmented and input.
  • a target interface is displayed, as shown in FIG. 2
  • the target identification block of the target multimedia file is displayed on the target interface.
  • the segmentation input of the target multimedia file can be realized through the operation control of a segmentation tool.
  • the target multimedia file is segmented to obtain a one-to-one correspondence with the segmented N pieces of multimedia data. target audience.
  • the target identification block in FIG. 2 is divided into multiple sub-identification blocks.
  • the target multimedia file is divided into four parts, that is, four multimedia data are taken as an example for description.
  • the sub-identification blocks include a first block, a second block, a third block and a fourth block.
  • Each sub-identity block represents a target object corresponding to multimedia data.
  • the multimedia file is an audio file
  • the multimedia data corresponding to the first piece is the audio data from the 0th minute to the m1th minute of the audio file
  • the multimedia data corresponding to the second piece is the m1th minute to the m2th minute of the audio file minutes of audio data
  • the multimedia data corresponding to the third block is the audio data from the m2th minute to the m3th minute of the audio file
  • the multimedia data corresponding to the fourth block is the audio data from the m3th minute to the end of the audio file.
  • Step 102 the first electronic device determines L electronic devices associated with the N target objects, the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1;
  • the electronic device associated with each target object may be manually set by the user.
  • the L electronic devices may include the first electronic device, or may not include the first electronic device, for example, the L electronic devices include M first electronic devices and L-M second electronic devices, and M is 0 or 1 .
  • the above L electronic devices may be some or all of the multiple interconnected electronic devices.
  • the above-mentioned first electronic device may be understood as an electronic device that controls the transmission of the target multimedia file.
  • the above target multimedia file may be stored in the first electronic device or an electronic device interconnected with the first electronic device, and the target multimedia file may also be stored in a server.
  • controlling the transmission of the target multimedia file can be understood as: controlling multiple electronic devices to transmit the target multimedia file segmentally to each other. Examples could include the following scenarios:
  • Scenario 1 The first electronic device sends the above-mentioned target multimedia file to L electronic devices; at this time, M is 0, and the L electronic devices do not include the first electronic device, that is, the first electronic device sends the above-mentioned target multimedia file to L second electronic devices. Target multimedia file.
  • the first electronic device controls a third electronic device to send the target multimedia file to L electronic devices.
  • the L electronic devices may include the first electronic device or may not include the first electronic device, that is, M is 1 or M is 0.
  • M 1
  • M 1
  • M 1
  • the first electronic device can obtain the file information of the target multimedia file stored in the third electronic device, such as the overall length of the file, and generate the above-mentioned target identification block according to the file information, and then split it. After splitting, each The segment information corresponding to the multimedia data is associated with the target object corresponding to a sub-identification block, and finally the L electronic devices interact with the third electronic device based on the corresponding segment information to transmit the corresponding multimedia data.
  • controlling the transmission of the target multimedia file can be understood as: controlling L electronic devices to download the target multimedia file in segments.
  • M can be 1 or 0.
  • M 1 or 0.
  • the method of associating the target object with the L electronic devices can be set according to actual needs. For example, in some embodiments, a target object can be clicked, and then a list of electronic devices that can be associated can be prompted, and then by Click to select an option in the electronic device list to determine the electronic device associated with the target object.
  • the server transmitting the multi-target multimedia file to the L electronic devices may also be referred to as the L electronic devices downloading the target multimedia file.
  • Step 103 the first electronic device sends a first request to the second electronic device among the L electronic devices, and the first request is used to request the second electronic device to perform the transmission of the first multimedia data operate;
  • the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device.
  • the first electronic device may send a first request to the second electronic device among the L electronic devices, thereby triggering The second electronic device performs a transmission operation of the first multimedia data.
  • the first request may be notified by the first electronic device to the second electronic device of information about the multimedia data to be transmitted in the form of a notification message, so that the second electronic device performs the transmission operation of the first multimedia data.
  • the first electronic device may send a first request to each second electronic device using an independent request message, thereby requesting the second electronic device to perform the transmission operation of the first multimedia data, and the request may carry the
  • the second electronic device may carry information related to multimedia data to be transmitted by the second electronic device, or may carry information related to multimedia data to be transmitted by each electronic device.
  • the relevant information may include information associated with the identification information of the second electronic device and the multimedia data, so that the electronic device can learn information about the multimedia data transmitted by each electronic device among the interconnected electronic devices.
  • any one of the above L electronic devices may be associated with at least one target object, and different electronic devices may be associated with different target objects.
  • the electronic device may transmit multimedia data corresponding to multiple associated target objects simultaneously, continuously, or in different time periods.
  • the electronic device is associated with the target object corresponding to the multimedia data 1 and the multimedia data corresponding to the multimedia data 3 at the same time.
  • the electronic device can transmit the multimedia data 1 and the multimedia data 3 at the same time, or can transmit the multimedia data 1 after the multimedia data 1 is transmitted.
  • transmit the multimedia data 3 immediately, or transmit the multimedia data 3 at an interval of a preset time after the multimedia data 1 is transmitted.
  • L is equal to N as an example for illustration.
  • N target objects and N Electronic devices are connected one by one.
  • the first electronic device when receiving the segmentation input of the target multimedia file, displays N target objects, and the N target objects and the N multimedia data of the target multimedia file are divided one by one Correspondingly, N is an integer greater than 1; the first electronic device determines L electronic devices associated with the N target objects, and the L electronic devices are interconnected; the first electronic device sends the L electronic devices to the L A second electronic device among the electronic devices sends a first request, where the first request is used to request the second electronic device to perform a transmission operation of the first multimedia data; wherein the first multimedia data is the multimedia data corresponding to the target object associated with the second electronic device.
  • the transmission efficiency of the target multimedia file can be improved by splitting the target multimedia file into at least two pieces of multimedia data for transmission.
  • the displaying N target objects by the first electronic device in the case of receiving the segmentation input of the target multimedia file includes:
  • the first electronic device determines a target segmentation strategy
  • the first electronic device displays the N target objects determined based on the segmentation strategy.
  • the divided multimedia data of the target multimedia file can be determined based on each sub-block obtained by dividing the target identification block of the target multimedia file, and the divided multi-media data of the target identification block can also be determined based on the divided multimedia data of the target multimedia file. sub-blocks.
  • the determination of a plurality of sub-identification blocks after the division of the target identification block based on the multimedia data segmented from the target multimedia file is taken as an example for illustration.
  • the above target segmentation strategy can be understood as a segmentation strategy for dividing the target identification block into multiple sub-identification blocks.
  • the above target segmentation strategy may be a preset default segmentation strategy, a segmentation strategy recommended based on specific information, or a user-defined segmentation strategy.
  • the target segmentation interface may be displayed first, and the target identification block of the target multimedia file is displayed on the segmentation interface.
  • a split line can be displayed, and by dragging the split line to stay on the target identification block of the target multimedia file for a preset time, the identification block is divided into two sub-identification blocks, and then used again The dividing line divides a certain sub-identification block into two sub-identification blocks again until the division is completed, as shown in FIG. 3 . It should be understood that the size ratio of the two sub-identification blocks can also be readjusted by stretching or using the dividing line.
  • the division line between two adjacent sub-identification blocks can be dragged to adjust the length ratio of the two adjacent sub-identification blocks; the user can also place the division line generated by clicking the division tool on the corresponding The dividing line between two adjacent sub-identification blocks, so that the dividing line between two adjacent sub-identification blocks can be moved, and the phase can be adjusted by moving the dividing line between two adjacent sub-identification blocks.
  • the dividing line between two adjacent sub-markers can also be canceled, and then the dividing line generated by the dividing tool can be used to divide again, so as to realize adjustment.
  • the specific adjustment methods will not be listed one by one again. Since the target identification block can be divided based on the target segmentation strategy to determine N target objects, the size of the multimedia data corresponding to each target object can be displayed through the length of each sub-identification block.
  • the determination of the target segmentation strategy by the first electronic device includes:
  • the first electronic device determines the target segmentation strategy according to the transmission capability information of the L electronic devices
  • the first electronic device determines that the L electronic devices associated with the N target objects include:
  • the first electronic device displays recommended associated electronic devices for each of the target objects based on the target segmentation strategy
  • the first electronic device determines an electronic device associated with each of the target objects.
  • the above-mentioned transmission capability information can be determined based on the interconnection mode of the electronic device, wherein, different types of interconnection modes correspond to different transmission capability information, and two interconnected electronic devices are connected through multiple different types of interconnection methods.
  • the corresponding transmission capability information can be calculated through weighted sum.
  • the setting of the transmission capability values corresponding to different types of interconnection manners may be set according to actual needs, and no further limitation is made here. For example, as shown in Figure 4, it is assumed that device A and device B are connected through WiFi peer-to-peer (WiFi Peer-to-Peer, WiFiP2P) and 5G at the same time, and device A and device C are connected through Bluetooth.
  • the transmission capability value of device A and device B is greater than the transmission capability value of device A and device C.
  • the transmission path from device C to device D is 5G plus WiFi, and the transmission from device B to device D is only WiFi, then the transmission capacity value of device B and device D is less than the transmission capacity value of device C to D.
  • the above transmission capacity value can be understood to be determined based on the size of a file downloaded per unit time.
  • the electronic device recommended for each target object may be displayed.
  • the sub-identification block and the first icon of the electronic device may be identified by using different colors to indicate the electronic device recommended for association with the target object. As shown in FIG. 5 , the same filling indicates the same color, or indicates that the corresponding target object recommends an associated electronic device. Of course, in other embodiments, the target object may also be prompted to recommend an associated electronic device through the same shape or a corresponding prompt.
  • the first icon marks of L electronic devices can be directly displayed, and the user can perform a drag operation, such as dragging each sub-block mark to the corresponding electronic device on the first icon mark, so that the sub-block mark is adsorbed and displayed above the first icon mark, so as to realize the association between the target object and the electronic device, as shown in FIG. 7 .
  • the first electronic device may determine the association relationship between the target object and the electronic device based on the adsorption relationship between each first icon identifier and the sub-block identifier.
  • the first block is associated with device B
  • the second block is associated with device C
  • the third block is associated with device E
  • the fourth block is associated with device D.
  • the corresponding transmission capability value may also be displayed on the first icon mark.
  • the user can associate the sub-identification block corresponding to the target object with the first icon identification in the manner in the above embodiment according to the electronic device recommended by the target object, so as to realize the association between the target object and the electronic device.
  • the target segmentation strategy is determined according to the transmission capability information of the L electronic devices, and each target object is recommended to be associated with the electronic device, this can assist the user to better determine the target object Association with electronic devices, for example, using electronic devices with higher transmission capability values to transmit more media data.
  • the multimedia data is segmented, and the electronic device recommended by the target object is displayed to assist the user in determining the relationship between the target object and the electronic device, so that the transmission performance can be further improved.
  • the method further includes:
  • candidate devices include at least one of the L electronic devices and electronic devices interconnected with the L electronic devices;
  • the first electronic device determines, among the candidate devices, a target electronic device for performing operations related to the target multimedia file.
  • the second device identifiers of multiple candidate devices may be displayed, as specifically shown in FIG. 8 .
  • the user can select a target electronic device through a touch operation. Since the first electronic device can directly determine the target electronic device for performing the operation related to the target multimedia file, there is no need for multiple electronic devices to perform cooperative operations, thereby simplifying the user's operation and improving the convenience of operation.
  • the foregoing related operations include at least one of a composition operation, a playback operation, and a storage operation.
  • the above-mentioned target multimedia file is an audio-video file
  • the above-mentioned playback operation can be understood as playing the audio-video file or viewing the audio-video file
  • the above-mentioned playback operation can be understood as viewing Target multimedia files, for example, view pictures or documents, etc.
  • the synthesis of the target multimedia file can be performed directly on the target electronic device.
  • the target electronic device can directly download the corresponding multimedia data on each interconnected electronic device, and then perform the synthesis of the multimedia data. synthesized and stored locally on the target electronic device.
  • the playback may be performed directly after synthesis, or based on user operations.
  • the synthesis of the target multimedia file may not be performed on the target electronic device.
  • the target electronic device stores the multimedia file corresponding to the first target object (first block) of the target multimedia file.
  • the data can directly play the multimedia data, and then download the multimedia data corresponding to the second target object (the first block) during the playback process (for example, within the preset time period before the multimedia data is about to be played), or, during the playback process Download the multimedia data corresponding to the 2nd to the nth target object during the middle (for example, within a preset time period before the multimedia data is finished playing).
  • the above-mentioned target electronic device can make the target electronic device automatically trigger the execution of the above-mentioned related operations through default settings, or the user of the target electronic device can trigger the target electronic device to perform the above-mentioned related operations through the input of an operation command, or through The other electronic device requests to trigger the target electronic device to perform the above related operations, which will not be further limited here.
  • the method when the second electronic device is the target electronic device, the method further includes:
  • the first electronic device sends a second request to the second electronic device, the second request is used to request to perform related operations on the N pieces of multimedia data, and the related operations include composition operations, playback operations, and storage operations At least one of the .
  • the above-mentioned second request and the first request may be carried in the same request message, or carried in different request messages, which will not be further limited here.
  • the second request and the first request may be carried in the same request message, thereby reducing signaling overhead.
  • the first electronic device may send a separate second request to the target electronic device. Since the first electronic device sends the second request to the target electronic device, the target electronic device is triggered to perform related operations, thereby realizing cooperative interaction of multiple electronic devices and improving operation convenience.
  • the target multimedia file is a multimedia file stored in the first electronic device or a multimedia file to be downloaded (that is, a multimedia file stored on a service);
  • the download information of the first multimedia data is carried in the first request.
  • the first electronic device may obtain the file information of the target multimedia file through the server, such as the overall length of the file, and generate the above-mentioned target identification block according to the file information, Then splitting is performed, and after splitting, the target object corresponding to each sub-identification block is associated with the download information corresponding to the multimedia data. Finally, the first electronic device sends corresponding download information to each electronic device through the first request, thereby triggering other electronic devices to perform downloading. At the same time, when the L electronic devices include the first electronic device, the first electronic device can also perform a corresponding download. It should be noted that after the L electronic devices are split and downloaded, the multimedia files can be synthesized on the target electronic device.
  • the target electronic device can obtain the multimedia data downloaded by each electronic device, and then synthesize them locally to obtain the final The downloaded target multimedia file. Because the efficiency of interconnection transmission of electronic devices is greater than that of downloading from the server. Therefore, multiple electronic devices are used to split and download multimedia files, thereby improving the efficiency of downloading multimedia files.
  • the downloaded multimedia file may not be synthesized, for example, the multimedia data pre-downloaded in the interconnection device may be downloaded when playing the target multimedia file.
  • the above-mentioned target electronic device may be any one of the above-mentioned L electronic devices, and may also be other electronic devices interconnected with the above-mentioned L electronic devices.
  • the target multimedia file is a multimedia file stored in the first electronic device
  • a transmission scenario in which the first electronic device transmits the target multimedia file to device B and the distance between the first electronic device and device B is relatively long is used as an example for illustration.
  • the first electronic device Since the first electronic device is far away from the device B, and the first electronic device may be interconnected with the device B through the device C and the device D respectively. At this point, the first electronic device splits and transmits the target multimedia file to be transmitted, for example, to obtain multimedia data C and multimedia data D, wherein the target object corresponding to multimedia data C is associated with device C, and the target object corresponding to multimedia data D Object is associated with device D.
  • the target electronic device is device B, assuming that synthesis is not performed on device B, the first electronic device can directly transmit multimedia data C to device C, and transmit multimedia data D to device D; assuming that synthesis is performed on device B , the first electronic device can transmit the multimedia data C to the device B through the device C, transmit the multimedia data D to the device B through the device D, and then synthesize the target multimedia file by the device B.
  • the embodiment of the present application also provides another file transfer method.
  • the file transfer method includes:
  • Step 901 the second electronic device receives the first request sent by the first electronic device
  • Step 902 the second electronic device performs a transmission operation of the first multimedia data in response to the first request
  • the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device
  • the target object is one of N target objects
  • the N target objects are related to the target multimedia file
  • the segmented N pieces of multimedia data are in one-to-one correspondence
  • the N target objects are associated with L electronic devices
  • the L electronic devices are interconnected
  • the L electronic devices include M first electronic devices and L-M
  • M is 0 or 1
  • both N and L are integers greater than 1
  • L is less than or equal to N.
  • the transfer operation includes:
  • the download information of the first multimedia data is carried in the first request.
  • the method further includes:
  • the second electronic device receives second multimedia data sent by other electronic devices, and the other electronic device is an electronic device among the L electronic devices except the target electronic device, and the second multimedia data
  • the body data is other multimedia data except the target multimedia data among the N pieces of multimedia data
  • the second electronic device performs related operations on the N pieces of multimedia data
  • the related operation includes at least one of a synthesis operation, a playback operation and a storage operation.
  • the second electronic device receiving the second multimedia data sent by other electronic devices includes:
  • the second electronic device receives the second request sent by the first electronic device
  • the second electronic device receives second multimedia data sent by other electronic devices in response to the second request.
  • the method further includes:
  • the second electronic device sends the first multimedia data to the target electronic device.
  • this embodiment is an implementation manner of the second electronic device corresponding to the embodiment shown in FIG. 1 , and its specific implementation manner can refer to the relevant description of the embodiment shown in FIG. 1 , and achieve the same beneficial effect. In order to avoid repeated explanations, details are not repeated here.
  • the executing subject may be a file transfer device, or a control module in the file transfer device for executing the loading file transfer method.
  • the file transmission method provided in the embodiment of the present application is described by taking the file transmission device executing the loading file transmission method as an example.
  • FIG. 10 is a structural diagram of a file transmission device provided in an embodiment of the present application.
  • the file transmission device 1000 includes:
  • the display module 1001 is used to display N target objects in the case of receiving the segmentation input of the target multimedia file, and the N target objects are in one-to-one correspondence with the N multimedia data that the target multimedia file is divided into, and N is greater than an integer of 1;
  • a determining module 1002 configured to determine L electronic devices associated with the N target objects, the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1;
  • the first sending module 1003 is configured to send a first request to a second electronic device among the L electronic devices, and the first request is used to request the second electronic device to perform a first multimedia data transmission operation ;
  • the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device.
  • the display module 1001 is specifically configured to perform the following operations:
  • the determining module 1002 is specifically configured to perform the following operations:
  • the determining module 1002 is specifically configured to: based on the target segmentation strategy, display an electronic device recommended for association with each target object; The electronic device determines an electronic device associated with each of the target objects.
  • the display module 1001 is further configured to: display candidate devices, where the candidate devices include at least one of the L electronic devices and electronic devices interconnected with the L electronic devices;
  • the determining module 1002 is further configured to: determine, among the candidate devices, a target electronic device for performing operations related to the target multimedia file.
  • the first sending module 1003 is further configured to: send a second request to the second electronic device, and the second request uses It is requested to perform a related operation on the N pieces of multimedia data, and the related operation includes at least one of a composition operation, a playback operation, and a storage operation.
  • the target multimedia file is a multimedia file stored in the first electronic device or a multimedia file to be downloaded;
  • the download information of the first multimedia data is carried in the first request.
  • the file transfer device 1000 provided in the embodiment of the present application can implement various processes in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
  • FIG. 11 is a structural diagram of a file transmission device provided in an embodiment of the present application. As shown in FIG. 11, the file transmission device 1100 includes:
  • An execution module 1102 configured to execute a transmission operation of the first multimedia data in response to the first request
  • the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device
  • the target object is one of N target objects
  • the N target objects are related to the target multimedia file
  • the segmented N pieces of multimedia data are in one-to-one correspondence
  • the N target objects are associated with L electronic devices
  • the L electronic devices are interconnected
  • the L electronic devices include M first electronic devices and L-M
  • M is 0 or 1
  • both N and L are integers greater than 1
  • L is less than or equal to N.
  • the transfer operation includes:
  • the download information of the first multimedia data is carried in the first request.
  • the receiving module 1101 is further configured to receive a second multimedia file sent by other electronic devices.
  • the other electronic device is an electronic device in the L electronic devices except the target electronic device, and the second multimedia data is in the N multimedia data except the target multimedia data other multimedia data;
  • the execution module 1102 is also configured to perform related operations on the N pieces of multimedia data
  • the related operation includes at least one of a synthesis operation, a playback operation and a storage operation.
  • the second electronic device receiving the second multimedia data sent by other electronic devices includes:
  • the receiving module 1101 is further configured to receive a second request sent by the first electronic device; in response to the second request, receive second multimedia data sent by other electronic devices.
  • the file transfer apparatus 1100 further includes a second sending module, and the second sending module is configured to: perform operations related to the target multimedia file in the second electronic device and the L electronic devices If the target electronic devices are different, send the first multimedia data to the target electronic device.
  • the second sending module is configured to: perform operations related to the target multimedia file in the second electronic device and the L electronic devices If the target electronic devices are different, send the first multimedia data to the target electronic device.
  • the file transfer device 1100 provided in the embodiment of the present application can implement various processes in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
  • the file transmission device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the file transfer device in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the embodiment of the present application also provides an electronic device.
  • FIG. Or instruction when the program or instruction is executed by the processor 1201, each process of the above-mentioned file transfer method embodiment can be realized, and the same technical effect can be achieved, so in order to avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 13 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
  • the electronic device 1300 includes, but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, and a processor 1310, etc. part.
  • the electronic device 1300 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1310 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 13 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the processor 1310 is configured to display N target objects in the case of receiving the segmentation input of the target multimedia file, and the N target objects and the target multimedia file are divided into The N pieces of multimedia data correspond one-to-one, and N is an integer greater than 1; determine L electronic devices associated with the N target objects, and the L electronic devices are interconnected, and L is a positive integer less than or equal to N, And L is greater than 1;
  • a radio frequency unit 1301, configured to send a first request to a second electronic device among the L electronic devices, where the first request is used to request the second electronic device to perform a first multimedia data transmission operation;
  • the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device.
  • the radio frequency unit 1301 is configured to receive the first request sent by the first electronic device;
  • a processor 1310 configured to perform a transmission operation of the first multimedia data in response to the first request
  • the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device
  • the target object is one of N target objects
  • the N target objects are related to the target multimedia file
  • the segmented N pieces of multimedia data are in one-to-one correspondence
  • the N target objects are associated with L electronic devices
  • the L electronic devices are interconnected
  • the L electronic devices include M first electronic devices and L-M
  • M is 0 or 1
  • both N and L are integers greater than 1
  • L is less than or equal to N.
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium may be nonvolatile or volatile, the readable storage medium stores programs or instructions, and the programs or instructions are stored in When executed by the processor, the various processes of the foregoing file transfer method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application also provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the various processes of the above file transfer method embodiment , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above-mentioned file transfer method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to implement the above-mentioned file transfer method embodiment
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Abstract

Disclosed in the present application are a file transmission method and apparatus, and an electronic device and a storage medium. The method comprises: when a segmentation input of a target multimedia file has been received, a first electronic device displaying N target objects, wherein the N target objects correspond, on a one-to-one basis, to N pieces of segmented multimedia data of the target multimedia file, and N is an integer greater than 1; the first electronic device determining L electronic devices associated with the N target objects, wherein the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1; and the first electronic device sending a first request to a second electronic device among the L electronic devices, wherein the first request is used for requesting that the second electronic device executes a transmission operation of first multimedia data, and the first multimedia data is multimedia data corresponding to a target object, which is associated with the second electronic device.

Description

文件传输方法、装置、电子设备及存储介质File transmission method, device, electronic device and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年10月29日在中国提交的中国专利申请No.202111268593.6的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111268593.6 filed in China on October 29, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种文件传输方法、装置、电子设备及存储介质。The present application belongs to the technical field of communication, and in particular relates to a file transmission method, device, electronic equipment and storage medium.
背景技术Background technique
随着通信技术的发展,在电子设备之间实现了互连传输多媒体文件。目前互连的电子设备之间仅用于实现将一个电子设备中的同时向一个或者多个互连的电子设备进行发送多媒体文件,或者控制一个电子设备下载一个或者多个多媒体文件,这样由于互连的电子设备之间仅进行独立的传输,导致多媒体文件传输的效率较低。With the development of communication technology, interconnection and transmission of multimedia files have been realized between electronic devices. Currently interconnected electronic devices are only used to send multimedia files from one electronic device to one or more interconnected electronic devices at the same time, or to control an electronic device to download one or more multimedia files. Only independent transmission is performed between connected electronic devices, resulting in low efficiency of multimedia file transmission.
发明内容Contents of the invention
本申请实施例的目的是提供一种文件传输方法、装置、电子设备及存储介质,能够解决多媒体文件传输的效率较低的问题。The purpose of the embodiment of the present application is to provide a file transmission method, device, electronic equipment and storage medium, which can solve the problem of low efficiency of multimedia file transmission.
第一方面,本申请实施例提供了一种文件传输方法,包括:In the first aspect, the embodiment of the present application provides a file transfer method, including:
在接收到对目标多媒体文件的分割输入的情况下,第一电子设备显示N个目标对象,所述N个目标对象与目标多媒体文件被分割的N个多媒体数据一一对应,N为大于1的整数;In the case of receiving the segmentation input of the target multimedia file, the first electronic device displays N target objects, the N target objects are in one-to-one correspondence with the N multimedia data that the target multimedia file is divided into, and N is greater than 1 integer;
所述第一电子设备确定与所述N个目标对象关联的L个电子设备,所述L个电子设备互连,L为小于或等于N的正整数,且L大于1;The first electronic device determines L electronic devices associated with the N target objects, the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1;
所述第一电子设备向所述L个电子设备中的第二电子设备发送第一请求,所述第一请求用于请求所述第二电子设备执行第一多媒体数据的传输操作;The first electronic device sends a first request to a second electronic device among the L electronic devices, where the first request is used to request the second electronic device to perform a first multimedia data transmission operation;
其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的 多媒体数据。Wherein, the first multimedia data is multimedia data corresponding to the target object associated with the second electronic device.
第二方面,本申请实施例提供了一种文件传输方法,包括:In the second aspect, the embodiment of the present application provides a file transfer method, including:
第二电子设备接收第一电子设备发送的第一请求;the second electronic device receives the first request sent by the first electronic device;
所述第二电子设备响应于所述第一请求,执行第一多媒体数据的传输操作;The second electronic device performs a transmission operation of the first multimedia data in response to the first request;
其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据,所述目标对象为N个目标对象之一,所述N个目标对象与所述目标多媒体文件被分割的N个多媒体数据一一对应,所述N个目标对象与L个电子设备关联,所述L个电子设备互连,且所述L个电子设备包括M个第一电子设备以及L-M个第二电子设备,M为0或1,N和L均为大于1的整数,且L小于或等于N。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device, the target object is one of N target objects, and the N target objects are related to the target multimedia file The segmented N pieces of multimedia data are in one-to-one correspondence, the N target objects are associated with L electronic devices, the L electronic devices are interconnected, and the L electronic devices include M first electronic devices and L-M For the second electronic device, M is 0 or 1, both N and L are integers greater than 1, and L is less than or equal to N.
第三方面,本申请实施例提供了一种文件传输装置,包括:In a third aspect, the embodiment of the present application provides a file transfer device, including:
显示模块,用于在接收到对目标多媒体文件的分割输入的情况下,显示N个目标对象,所述N个目标对象与目标多媒体文件被分割的N个多媒体数据一一对应,N为大于1的整数;The display module is used to display N target objects in the case of receiving the segmentation input of the target multimedia file, and the N target objects are in one-to-one correspondence with the N multimedia data that the target multimedia file is divided into, and N is greater than 1 an integer of
确定模块,用于确定与所述N个目标对象关联的L个电子设备,所述L个电子设备互连,L为小于或等于N的正整数,且L大于1;A determining module, configured to determine L electronic devices associated with the N target objects, the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1;
第一发送模块,用于向所述L个电子设备中的第二电子设备发送第一请求,所述第一请求用于请求所述第二电子设备执行第一多媒体数据的传输操作;A first sending module, configured to send a first request to a second electronic device among the L electronic devices, where the first request is used to request the second electronic device to perform a first multimedia data transmission operation;
其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device.
第四方面,本申请实施例提供了一种文件传输装置,包括:In a fourth aspect, the embodiment of the present application provides a file transfer device, including:
接收模块,用于接收第一电子设备发送的第一请求;a receiving module, configured to receive a first request sent by the first electronic device;
执行模块,用于响应于所述第一请求,执行第一多媒体数据的传输操作;an execution module, configured to execute a transmission operation of the first multimedia data in response to the first request;
其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据,所述目标对象为N个目标对象之一,所述N个目标对象与所述目标多媒体文件被分割的N个多媒体数据一一对应,所述N个目标对象与L个电子设备关联,所述L个电子设备互连,且所述L个电子设备包括M个第 一电子设备以及L-M个第二电子设备,M为0或1,N和L均为大于1的整数,且L小于或等于N。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device, the target object is one of N target objects, and the N target objects are related to the target multimedia file The segmented N pieces of multimedia data are in one-to-one correspondence, the N target objects are associated with L electronic devices, the L electronic devices are interconnected, and the L electronic devices include M first electronic devices and L-M For the second electronic device, M is 0 or 1, both N and L are integers greater than 1, and L is less than or equal to N.
第五方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。In the fifth aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction is executed by When the processor is executed, the steps of the method described in the first aspect are realized, or the steps of the method described in the second aspect are realized.
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented , or implement the steps of the method described in the second aspect.
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法,或者实现如第二方面所述的方法的步骤。In the seventh aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect Said method, or realize the steps of the method as described in the second aspect.
第八方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法,或者实现如第二方面所述的方法的步骤。In an eighth aspect, an embodiment of the present application provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the computer program product described in the first aspect. The above method, or realize the steps of the method as described in the second aspect.
本申请实施例中,通过在接收到对目标多媒体文件的分割输入的情况下,第一电子设备显示N个目标对象,所述N个目标对象与目标多媒体文件被分割的N个多媒体数据一一对应,N为大于1的整数;所述第一电子设备确定与所述N个目标对象关联的L个电子设备,所述L个电子设备互连;所述第一电子设备向所述L个电子设备中的第二电子设备发送第一请求,所述第一请求用于请求所述第二电子设备执行第一多媒体数据的传输操作;其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据。这样,通过将目标多媒体文件拆分为至少两个多媒体数据进行传输,可以提高目标多媒体文件传输的效率。In the embodiment of the present application, when receiving the segmentation input of the target multimedia file, the first electronic device displays N target objects, and the N target objects and the N multimedia data of the target multimedia file are divided one by one Correspondingly, N is an integer greater than 1; the first electronic device determines L electronic devices associated with the N target objects, and the L electronic devices are interconnected; the first electronic device sends the L electronic devices to the L A second electronic device among the electronic devices sends a first request, where the first request is used to request the second electronic device to perform a transmission operation of the first multimedia data; wherein the first multimedia data is the multimedia data corresponding to the target object associated with the second electronic device. In this way, the transmission efficiency of the target multimedia file can be improved by splitting the target multimedia file into at least two pieces of multimedia data for transmission.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳 动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that need to be used in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请实施例提供的一种文件传输方法的流程图;FIG. 1 is a flow chart of a file transfer method provided in an embodiment of the present application;
图2是本申请实施例提供的一种文件传输方法的操作界面示意图之一;Fig. 2 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application;
图3是本申请实施例提供的一种文件传输方法的操作界面示意图之一;Fig. 3 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application;
图4是本申请实施例提供的一种文件传输方法的操作界面示意图之一;Fig. 4 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application;
图5是本申请实施例提供的一种文件传输方法的操作界面示意图之一;Fig. 5 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application;
图6是本申请实施例提供的一种文件传输方法的操作界面示意图之一;Fig. 6 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application;
图7是本申请实施例提供的一种文件传输方法的操作界面示意图之一;Fig. 7 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application;
图8是本申请实施例提供的一种文件传输方法的操作界面示意图之一;Fig. 8 is one of the schematic diagrams of the operation interface of a file transfer method provided by the embodiment of the present application;
图9是本申请实施例提供的另一种文件传输方法的流程图;FIG. 9 is a flow chart of another file transfer method provided by the embodiment of the present application;
图10是本申请实施例提供的一种文件传输装置的结构图;FIG. 10 is a structural diagram of a file transmission device provided in an embodiment of the present application;
图11是本申请实施例提供的另一种文件传输装置的结构图;Fig. 11 is a structural diagram of another file transmission device provided by the embodiment of the present application;
图12是本申请实施例提供的一种电子设备的结构图;Fig. 12 is a structural diagram of an electronic device provided by an embodiment of the present application;
图13是本申请实施例提供的另一种电子设备的结构图。FIG. 13 is a structural diagram of another electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的文件传输方法进行详细地说明。The file transfer method provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
参见图1,图1是本申请实施例提供的一种文件传输方法的流程图,如 图1所示,包括以下步骤:Referring to Fig. 1, Fig. 1 is a flow chart of a file transfer method provided in the embodiment of the present application, as shown in Fig. 1, comprising the following steps:
步骤101,在接收到对目标多媒体文件的分割输入的情况下,第一电子设备显示N个目标对象,所述N个目标对象与目标多媒体文件被分割的N个多媒体数据一一对应,N为大于1的整数; Step 101, in the case of receiving the segmentation input of the target multimedia file, the first electronic device displays N target objects, the N target objects correspond to the N multimedia data that the target multimedia file is divided into, and N is an integer greater than 1;
本申请实施例中,第一电子设备可以与一个或者多个其他的电子设备实现互连。其中,任意两个电子设备的互连的方式可以包括一种或者多种,例如可以通过蓝牙设备、无线保真(Wireless Fidelity,WiFi)、第五代移动通信(5G)、毫米波、超宽带(Ultra Wide Band,UWB)和交换机等器件进行复杂相互连接。In this embodiment of the present application, the first electronic device may be interconnected with one or more other electronic devices. Among them, the interconnection methods of any two electronic devices may include one or more methods, such as Bluetooth devices, wireless fidelity (Wireless Fidelity, WiFi), fifth-generation mobile communication (5G), millimeter wave, ultra-wideband (Ultra Wide Band, UWB) and switches and other devices for complex interconnection.
可选地,在第一电子设备上可以展示需要执行传输操作的多媒体文件,在用户选择目标多媒体文件后,可以对目标多媒体文件进行分割输入。例如在用户选择目标多媒体文件后,展示一个目标界面,如图2所示,在该目标界面上显示有目标多媒体文件的目标标识块。此时可以通过一个分割工具的操作控件实现对目标多媒体文件的分割输入,例如,在用户点击该分割工具的操作控件,从而对目标多媒体文件进行分割,获得与分割的N个多媒体数据一一对应的目标对象。此时,将图2中的目标标识块分割为多个子标识块。本申请实施例中,以目标多媒体文件被拆分为四个部分,即四个多媒体数据为例进行说明。如图3所示,子标识块包括第一块、第二块、第三块和第四块。每一子标识块表示一个多媒体数据对应的目标对象。假设多媒体文件为一音频文件,则第一块对应的多媒体数据为该音频文件的第0分钟到第m1分钟的音频数据,第二块对应的多媒体数据为该音频文件的第m1分钟到第m2分钟的音频数据,第三块对应的多媒体数据为该音频文件的第m2分钟到第m3分钟的音频数据,第四块对应的多媒体数据为该音频文件的第m3分钟到结束时刻的音频数据。其中,结束时刻>m3>m2>m1>0。Optionally, the multimedia file that needs to be transferred may be displayed on the first electronic device, and after the user selects the target multimedia file, the target multimedia file may be segmented and input. For example, after the user selects the target multimedia file, a target interface is displayed, as shown in FIG. 2 , and the target identification block of the target multimedia file is displayed on the target interface. At this time, the segmentation input of the target multimedia file can be realized through the operation control of a segmentation tool. For example, when the user clicks the operation control of the segmentation tool, the target multimedia file is segmented to obtain a one-to-one correspondence with the segmented N pieces of multimedia data. target audience. At this time, the target identification block in FIG. 2 is divided into multiple sub-identification blocks. In the embodiment of the present application, the target multimedia file is divided into four parts, that is, four multimedia data are taken as an example for description. As shown in FIG. 3 , the sub-identification blocks include a first block, a second block, a third block and a fourth block. Each sub-identity block represents a target object corresponding to multimedia data. Assuming that the multimedia file is an audio file, the multimedia data corresponding to the first piece is the audio data from the 0th minute to the m1th minute of the audio file, and the multimedia data corresponding to the second piece is the m1th minute to the m2th minute of the audio file minutes of audio data, the multimedia data corresponding to the third block is the audio data from the m2th minute to the m3th minute of the audio file, and the multimedia data corresponding to the fourth block is the audio data from the m3th minute to the end of the audio file. Wherein, end time>m3>m2>m1>0.
步骤102,所述第一电子设备确定与所述N个目标对象关联的L个电子设备,所述L个电子设备互连,L为小于或等于N的正整数,且L大于1; Step 102, the first electronic device determines L electronic devices associated with the N target objects, the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1;
本申请实施例中,可以由用户手动设置每一目标对象关联的电子设备。其中,L个电子设备可以包括第一电子设备,也可以不包括第一电子设备,例如,所述L个电子设备包括M个第一电子设备以及L-M个第二电子设备, M为0或1。In this embodiment of the present application, the electronic device associated with each target object may be manually set by the user. Wherein, the L electronic devices may include the first electronic device, or may not include the first electronic device, for example, the L electronic devices include M first electronic devices and L-M second electronic devices, and M is 0 or 1 .
应理解,上述L个电子设备可以为多个互连的电子设备中的部分或者全部的电子设备。本申请实施例中,上述第一电子设备可以理解为控制目标多媒体文件传输的电子设备。上述目标多媒体文件可以存储在第一电子设备或者与第一电子设备互联的电子设备中,目标多媒体文件还可以存储服务器中。当目标多媒体文件存储在第一电子设备或与第一电子设备互联的电子设备中时,控制目标多媒体文件传输可以理解为:控制多个电子设备进行目标多媒体文件分段互传。例如可以包括以下场景:It should be understood that the above L electronic devices may be some or all of the multiple interconnected electronic devices. In the embodiment of the present application, the above-mentioned first electronic device may be understood as an electronic device that controls the transmission of the target multimedia file. The above target multimedia file may be stored in the first electronic device or an electronic device interconnected with the first electronic device, and the target multimedia file may also be stored in a server. When the target multimedia file is stored in the first electronic device or an electronic device interconnected with the first electronic device, controlling the transmission of the target multimedia file can be understood as: controlling multiple electronic devices to transmit the target multimedia file segmentally to each other. Examples could include the following scenarios:
场景一:第一电子设备向L个电子设备发送上述目标多媒体文件;此时M为0,该L个电子设备不包括第一电子设备,即第一电子设备向L个第二电子设备发送上述目标多媒体文件。Scenario 1: The first electronic device sends the above-mentioned target multimedia file to L electronic devices; at this time, M is 0, and the L electronic devices do not include the first electronic device, that is, the first electronic device sends the above-mentioned target multimedia file to L second electronic devices. Target multimedia file.
场景二:第一电子设备控制某一第三电子设备向L个电子设备发送目标多媒体文件,此时该L个电子设备可以包括第一电子设备,也可以不包括第一电子设备,即M为1或者M为0。当M为1时,表示第一电子设备控制第三电子设备向第一电子设备和L-1个第二电子设备发送上述目标多媒体文件;当M为0时,表示第一电子设备控制第三电子设备向L个第二电子设备发送上述目标多媒体文件。本申请实施例中,第一电子设备可以获取第三电子设备存储的目标多媒体文件的文件信息,例如文件的总体长度,并根据文件信息生成上述目标标识块,然后进行拆分,拆分后每一子标识块对应的目标对象关联多媒体数据对应的分段信息,最后由L个电子设备基于对应的分段信息与第三电子设备进行交互,以传输相应的多媒体数据。Scenario 2: The first electronic device controls a third electronic device to send the target multimedia file to L electronic devices. At this time, the L electronic devices may include the first electronic device or may not include the first electronic device, that is, M is 1 or M is 0. When M is 1, it means that the first electronic device controls the third electronic device to send the above-mentioned target multimedia file to the first electronic device and L-1 second electronic devices; when M is 0, it means that the first electronic device controls the third electronic device. The electronic device sends the target multimedia file to the L second electronic devices. In the embodiment of the present application, the first electronic device can obtain the file information of the target multimedia file stored in the third electronic device, such as the overall length of the file, and generate the above-mentioned target identification block according to the file information, and then split it. After splitting, each The segment information corresponding to the multimedia data is associated with the target object corresponding to a sub-identification block, and finally the L electronic devices interact with the third electronic device based on the corresponding segment information to transmit the corresponding multimedia data.
当目标多媒体文件存储在服务器中时,控制目标多媒体文件传输可以理解为:控制L个电子设备进行目标多媒体文件的分段下载。此时M可以为1,也可以为0。当M为1时,表示通过第一电子设备和L-1个第二电子设备对目标多媒体文件进行分段下载;当M为0时,表示通过L个第二电子设备对目标多媒体文件进行分段下载。When the target multimedia file is stored in the server, controlling the transmission of the target multimedia file can be understood as: controlling L electronic devices to download the target multimedia file in segments. At this time, M can be 1 or 0. When M is 1, it means that the target multimedia file is downloaded in segments by the first electronic device and L-1 second electronic devices; when M is 0, it means that the target multimedia file is segmented by L second electronic devices. segment download.
需要说明的是,将目标对象与L个电子设备关联的方式可以根据实际需要进行设置,例如,在一些实施例中,可以通过点击某一目标对象,然后提示可关联的电子设备列表,然后通过点击选择电子设备列表中的选项确定该 目标对象所关联的电子设备。It should be noted that the method of associating the target object with the L electronic devices can be set according to actual needs. For example, in some embodiments, a target object can be clicked, and then a list of electronic devices that can be associated can be prompted, and then by Click to select an option in the electronic device list to determine the electronic device associated with the target object.
应理解,服务器向L个电子设备传输多目标多媒体文件也可以称之为L个电子设备下载目标多媒体文件。It should be understood that the server transmitting the multi-target multimedia file to the L electronic devices may also be referred to as the L electronic devices downloading the target multimedia file.
步骤103,所述第一电子设备向所述L个电子设备中的第二电子设备发送第一请求,所述第一请求用于请求所述第二电子设备执行第一多媒体数据的传输操作; Step 103, the first electronic device sends a first request to the second electronic device among the L electronic devices, and the first request is used to request the second electronic device to perform the transmission of the first multimedia data operate;
其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device.
本申请实施例中,在第一电子设备确定每一所述目标对象关联的L个电子设备后,可以有第一电子设备向L个电子设备中的第二电子设备发送第一请求,从而触发第二电子设备执行第一多媒体数据的传输操作。In this embodiment of the present application, after the first electronic device determines the L electronic devices associated with each of the target objects, the first electronic device may send a first request to the second electronic device among the L electronic devices, thereby triggering The second electronic device performs a transmission operation of the first multimedia data.
可选地,上述第一请求可以由第一电子设备采用通知消息的形式告知第二电子设备需要传输的多媒体数据的相关信息,从而由第二电子设备执行第一多媒体数据的传输操作。也可以由第一电子设备采用独立的请求消息向每一第二电子设备发送一个第一请求,从而请求第二电子设备执行第一多媒体数据的传输操作,在该请求中,可以携带该第二电子设备需要传输的多媒体数据的相关信息,或者可以携带各电子设备需要传输的多媒体数据的相关信息。该相关信息可以包括第二电子设备的标识信息与多媒体数据关联的信息,以使得电子设备可以获知互连的电子设备中各电子设备传输的多媒体数据的信息。Optionally, the first request may be notified by the first electronic device to the second electronic device of information about the multimedia data to be transmitted in the form of a notification message, so that the second electronic device performs the transmission operation of the first multimedia data. It is also possible for the first electronic device to send a first request to each second electronic device using an independent request message, thereby requesting the second electronic device to perform the transmission operation of the first multimedia data, and the request may carry the The second electronic device may carry information related to multimedia data to be transmitted by the second electronic device, or may carry information related to multimedia data to be transmitted by each electronic device. The relevant information may include information associated with the identification information of the second electronic device and the multimedia data, so that the electronic device can learn information about the multimedia data transmitted by each electronic device among the interconnected electronic devices.
需要说明的是,在本申请实施例中,上述L个电子设备中的任一个电子设备可以与至少一个目标对象,且不同的电子设备关联的目标对象不同。当一个电子设备与至少两个第二对象关联时,则该电子设备可以同时、连续或者在不同时间段进行关联的多个目标对象对应的多媒体数据的传输。例如,电子设备同时与多媒体数据1对应目标对象以及与多媒体数据3对应的多媒体数据关联,此时该电子设备可以同时进行多媒体数据1和多媒体数据3的传输,也可以在多媒体数据1传输完成后,立即进行多媒体数据3的传输,还可以在进行多媒体数据1传输完成后,间隔预设时间再进行多媒体数据3的传输。It should be noted that, in the embodiment of the present application, any one of the above L electronic devices may be associated with at least one target object, and different electronic devices may be associated with different target objects. When an electronic device is associated with at least two second objects, the electronic device may transmit multimedia data corresponding to multiple associated target objects simultaneously, continuously, or in different time periods. For example, the electronic device is associated with the target object corresponding to the multimedia data 1 and the multimedia data corresponding to the multimedia data 3 at the same time. At this time, the electronic device can transmit the multimedia data 1 and the multimedia data 3 at the same time, or can transmit the multimedia data 1 after the multimedia data 1 is transmitted. , transmit the multimedia data 3 immediately, or transmit the multimedia data 3 at an interval of a preset time after the multimedia data 1 is transmitted.
应理解,上述L的取值大小可以根据实际需要进行设置,以下各实施例中,以L等于N为例进行说明,如图5至图8所示的示例中,N个目标对象与N个电子设备一一关联。It should be understood that the above-mentioned value of L can be set according to actual needs. In the following embodiments, L is equal to N as an example for illustration. In the examples shown in Figures 5 to 8, N target objects and N Electronic devices are connected one by one.
本申请实施例中,通过在接收到对目标多媒体文件的分割输入的情况下,第一电子设备显示N个目标对象,所述N个目标对象与目标多媒体文件被分割的N个多媒体数据一一对应,N为大于1的整数;所述第一电子设备确定与所述N个目标对象关联的L个电子设备,所述L个电子设备互连;所述第一电子设备向所述L个电子设备中的第二电子设备发送第一请求,所述第一请求用于请求所述第二电子设备执行第一多媒体数据的传输操作;其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据。这样,通过将目标多媒体文件拆分为至少两个多媒体数据进行传输,可以提高目标多媒体文件传输的效率。In the embodiment of the present application, when receiving the segmentation input of the target multimedia file, the first electronic device displays N target objects, and the N target objects and the N multimedia data of the target multimedia file are divided one by one Correspondingly, N is an integer greater than 1; the first electronic device determines L electronic devices associated with the N target objects, and the L electronic devices are interconnected; the first electronic device sends the L electronic devices to the L A second electronic device among the electronic devices sends a first request, where the first request is used to request the second electronic device to perform a transmission operation of the first multimedia data; wherein the first multimedia data is the multimedia data corresponding to the target object associated with the second electronic device. In this way, the transmission efficiency of the target multimedia file can be improved by splitting the target multimedia file into at least two pieces of multimedia data for transmission.
可选地,在一些实施例中,所述在接收到对目标多媒体文件的分割输入的情况下,第一电子设备显示N个目标对象包括:Optionally, in some embodiments, the displaying N target objects by the first electronic device in the case of receiving the segmentation input of the target multimedia file includes:
在接收到对目标多媒体文件的分割输入的情况下,所述第一电子设备确定目标分割策略;In case of receiving a segmentation input to the target multimedia file, the first electronic device determines a target segmentation strategy;
所述第一电子设备显示基于所述分割策略确定的所述N个目标对象。The first electronic device displays the N target objects determined based on the segmentation strategy.
本申请实施例中,可以基于目标多媒体文件的目标标识块的分割得到的各个子块,确定目标多媒体文件分割的多媒体数据,也可以基于目标多媒体文件分割的多媒体数据确定目标标识块分割后的多个子标识块。以下各实施例中,以基于目标多媒体文件分割的多媒体数据确定目标标识块分割后的多个子标识块为例进行说明。In the embodiment of the present application, the divided multimedia data of the target multimedia file can be determined based on each sub-block obtained by dividing the target identification block of the target multimedia file, and the divided multi-media data of the target identification block can also be determined based on the divided multimedia data of the target multimedia file. sub-blocks. In the following embodiments, the determination of a plurality of sub-identification blocks after the division of the target identification block based on the multimedia data segmented from the target multimedia file is taken as an example for illustration.
上述目标分割策略可以理解为对目标标识块进行分割为多个子标识块的分割策略。一些实施例中,上述目标分割策略可以为预先设置的默认分割策略,也可以是基于特定的信息推荐的分割策略,还可以为自定义的分割策略。The above target segmentation strategy can be understood as a segmentation strategy for dividing the target identification block into multiple sub-identification blocks. In some embodiments, the above target segmentation strategy may be a preset default segmentation strategy, a segmentation strategy recommended based on specific information, or a user-defined segmentation strategy.
以自定义的分割策略为例,如图2所示,可以首先显示目标分割界面,在分割界面上显示有目标多媒体文件的目标标识块。用户在点击分割工具的操作控件后,可以显示一分割线,通过拖动该分割线在目标多媒体文件的目标标识块上停留预设时间,从而该标识块划分为两个子标识块,然后再次使 用该分割线对某一子标识块再次分割为两个子标识块,直至完成分割,具体如图3所示。应理解,还可以通过拉伸或者利用分割线,重新调整两个子标识块的大小比例。例如可以拖动相邻的两个子标识块之间的分割线,从而调该相邻的两个子标识块整子标识块的长度比例;也可以由用户将点击分割工具产生的分割线放置在相邻的两个子标识块之间的分割线上,从而使得相邻的两个子标识块之间的分割线可以产生移动,通过移动相邻的两个子标识块之间的分割线,从而调整该相邻的两个子标识块子标识块的长度比例。此外,还可以取消某相邻的两个子标识块之间的分割线,然后重新利用分割工具产生的分割线进行再次分割,以实现调整。具体的调整方式再次不再一一列举。由于可以基于目标分割策略对目标标识块进行分割确定N个目标对象,从而可以通过各子标识块的长度展示各目标对象对应的多媒体数据的大小。Taking the self-defined segmentation strategy as an example, as shown in FIG. 2 , the target segmentation interface may be displayed first, and the target identification block of the target multimedia file is displayed on the segmentation interface. After the user clicks the operation control of the split tool, a split line can be displayed, and by dragging the split line to stay on the target identification block of the target multimedia file for a preset time, the identification block is divided into two sub-identification blocks, and then used again The dividing line divides a certain sub-identification block into two sub-identification blocks again until the division is completed, as shown in FIG. 3 . It should be understood that the size ratio of the two sub-identification blocks can also be readjusted by stretching or using the dividing line. For example, the division line between two adjacent sub-identification blocks can be dragged to adjust the length ratio of the two adjacent sub-identification blocks; the user can also place the division line generated by clicking the division tool on the corresponding The dividing line between two adjacent sub-identification blocks, so that the dividing line between two adjacent sub-identification blocks can be moved, and the phase can be adjusted by moving the dividing line between two adjacent sub-identification blocks. The length ratio of two adjacent sub-identity blocks. In addition, the dividing line between two adjacent sub-markers can also be canceled, and then the dividing line generated by the dividing tool can be used to divide again, so as to realize adjustment. The specific adjustment methods will not be listed one by one again. Since the target identification block can be divided based on the target segmentation strategy to determine N target objects, the size of the multimedia data corresponding to each target object can be displayed through the length of each sub-identification block.
进一步地,在一些实施例中,所述第一电子设备确定目标分割策略包括:Further, in some embodiments, the determination of the target segmentation strategy by the first electronic device includes:
所述第一电子设备根据所述L个电子设备的传输能力信息,确定所述目标分割策略;The first electronic device determines the target segmentation strategy according to the transmission capability information of the L electronic devices;
所述第一电子设备确定与所述N个目标对象关联的L个电子设备包括:The first electronic device determines that the L electronic devices associated with the N target objects include:
所述第一电子设备基于所述目标分割策略显示每一所述目标对象推荐关联的电子设备;The first electronic device displays recommended associated electronic devices for each of the target objects based on the target segmentation strategy;
在接收到针对所述目标对象和电子设备的关联操作的输入的情况下,所述第一电子设备确定每一所述目标对象关联的电子设备。In case of receiving an input for an association operation of the target objects and electronic devices, the first electronic device determines an electronic device associated with each of the target objects.
本申请实施例中,上述传输能力信息可以基于电子设备的互连方式确定,其中,不同类型的互连方式对应的传输能力信息不同,两互连的电子设备之间通过多种不同类型的互连方式进行互连时,可以通过加权和计算对应的传输能力信息。应理解,不同类型的互连方式对应的传输能力值的大小的设置可以根据实际需要进行设置,在此不做进一步的限定。例如,如图4所示,假设A设备与B设备相连是通过WiFi点对点(WiFi Peer-to-Peer,WiFiP2P)和5G同时连接,设备A和设备C是通过蓝牙相连。那么判断设备A与设备B的传输能力值就要比设备A与设备C的传输能力值大。C设备传输到D设备的通路是5G加WiFi,设备B传输到D设备是仅WiFi,那么设备B与设备D的传输能力值小于C设备传输到D的传输能力值。上述传输能力值,可 以理解基于单位时间内下载一个文件的大小确定。In the embodiment of the present application, the above-mentioned transmission capability information can be determined based on the interconnection mode of the electronic device, wherein, different types of interconnection modes correspond to different transmission capability information, and two interconnected electronic devices are connected through multiple different types of interconnection methods. When interconnecting in the connection mode, the corresponding transmission capability information can be calculated through weighted sum. It should be understood that the setting of the transmission capability values corresponding to different types of interconnection manners may be set according to actual needs, and no further limitation is made here. For example, as shown in Figure 4, it is assumed that device A and device B are connected through WiFi peer-to-peer (WiFi Peer-to-Peer, WiFiP2P) and 5G at the same time, and device A and device C are connected through Bluetooth. Then it is judged that the transmission capability value of device A and device B is greater than the transmission capability value of device A and device C. The transmission path from device C to device D is 5G plus WiFi, and the transmission from device B to device D is only WiFi, then the transmission capacity value of device B and device D is less than the transmission capacity value of device C to D. The above transmission capacity value can be understood to be determined based on the size of a file downloaded per unit time.
在基于传输能力信息确定目标分割策略,并基于该目标分割策略确定上述N个目标对象后,可以显示每一目标对象推荐关联的电子设备。可以将子标识块和电子设备的第一图标标识通过不同的颜色表示目标对象推荐关联的电子设备。如图5所示,相同的填充表示相同的颜色,或者表示对应的目标对象推荐关联的电子设备。当然在其他实施例中,还可以通过相同的形状或者相应的提示语提示目标对象推荐关联的电子设备。After the target segmentation strategy is determined based on the transmission capability information, and the above N target objects are determined based on the target segmentation strategy, the electronic device recommended for each target object may be displayed. The sub-identification block and the first icon of the electronic device may be identified by using different colors to indicate the electronic device recommended for association with the target object. As shown in FIG. 5 , the same filling indicates the same color, or indicates that the corresponding target object recommends an associated electronic device. Of course, in other embodiments, the target object may also be prompted to recommend an associated electronic device through the same shape or a corresponding prompt.
在一些实施例中,为了方便用户操作,如图6所示,可以直接显示L个电子设备的第一图标标识,用户可以通过拖动操作,例如将各子块标识拖动到对应的电子设备的第一图标标识上,从而使得子块标识吸附显示于第一图标标识的上方,以实现目标对象与电子设备的关联,具体如图7所示。第一电子设备可以基于每一第一图标标识与子块标识的吸附关系确定目标对象与电子设备的关联关系。在图7中,第一块与设备B关联,第二块与设备C关联,第三块与设备E关联,第四块与设备D关联。In some embodiments, in order to facilitate user operations, as shown in FIG. 6, the first icon marks of L electronic devices can be directly displayed, and the user can perform a drag operation, such as dragging each sub-block mark to the corresponding electronic device on the first icon mark, so that the sub-block mark is adsorbed and displayed above the first icon mark, so as to realize the association between the target object and the electronic device, as shown in FIG. 7 . The first electronic device may determine the association relationship between the target object and the electronic device based on the adsorption relationship between each first icon identifier and the sub-block identifier. In Figure 7, the first block is associated with device B, the second block is associated with device C, the third block is associated with device E, and the fourth block is associated with device D.
可选地,在一些实施例中,还可以在第一图标标识上显示对应的传输能力值。Optionally, in some embodiments, the corresponding transmission capability value may also be displayed on the first icon mark.
应理解,用户可以按照目标对象推荐关联的电子设备通过上述实施例中的方式将目标对象对应的子标识块与第一图标标识进行关联,实现目标对象与电子设备的关联。本申请实施例中,由于根据所述L个电子设备的传输能力信息,确定所述目标分割策略,并显示每一所述目标对象推荐关联的电子设备,这样可以辅助用户更好的确定目标对象与电子设备的关联关系,例如利用传输能力值较大的电子设备传输更多媒体数据。本申请实施例中通过结合电子设备的传输能力信息,进行多媒体数据的分割,并显示目标对象推荐关联的电子设备以辅助用户确定目标对象与电子设备的关联关系,从而可以进一步提升传输性能。It should be understood that the user can associate the sub-identification block corresponding to the target object with the first icon identification in the manner in the above embodiment according to the electronic device recommended by the target object, so as to realize the association between the target object and the electronic device. In the embodiment of the present application, since the target segmentation strategy is determined according to the transmission capability information of the L electronic devices, and each target object is recommended to be associated with the electronic device, this can assist the user to better determine the target object Association with electronic devices, for example, using electronic devices with higher transmission capability values to transmit more media data. In the embodiment of the present application, by combining the transmission capability information of the electronic device, the multimedia data is segmented, and the electronic device recommended by the target object is displayed to assist the user in determining the relationship between the target object and the electronic device, so that the transmission performance can be further improved.
可选地,在一些实施例中,所述第一电子设备确定与所述N个目标对象关联的L个电子设备之后,所述方法还包括:Optionally, in some embodiments, after the first electronic device determines L electronic devices associated with the N target objects, the method further includes:
显示候选设备,所述候选设备包括所述L个电子设备和与所述L个电子设备互连的电子设备中的至少一项;displaying candidate devices, where the candidate devices include at least one of the L electronic devices and electronic devices interconnected with the L electronic devices;
所述第一电子设备在所述候选设备中确定用于执行所述目标多媒体文件的相关操作的目标电子设备。The first electronic device determines, among the candidate devices, a target electronic device for performing operations related to the target multimedia file.
本申请实施例中,在确定每一所述目标对象关联的电子设备之后,可以显示多个候选设备的第二设备标识,具体如图8所示。用户可以通过触控操作选择目标电子设备。由于在第一电子设备可以直接确定用于执行所述目标多媒体文件的相关操作的目标电子设备,从而可以无需多个电子设备进行配合操作,从而可以简化用户的操作,提高操作的便捷性。In this embodiment of the present application, after the electronic device associated with each target object is determined, the second device identifiers of multiple candidate devices may be displayed, as specifically shown in FIG. 8 . The user can select a target electronic device through a touch operation. Since the first electronic device can directly determine the target electronic device for performing the operation related to the target multimedia file, there is no need for multiple electronic devices to perform cooperative operations, thereby simplifying the user's operation and improving the convenience of operation.
可选地,上述相关操作包括合成操作、播放操作和存储操作中的至少一项。需要说明的是,当上述目标多媒体文件为音视频文件时,上述播放操作可以理解为播放音视频文件或者查看音视频文件,当目标多媒体文件为非音视频文件是,上述播放操作可以理解为查看目标多媒体文件,例如,查看图片或文档等。Optionally, the foregoing related operations include at least one of a composition operation, a playback operation, and a storage operation. It should be noted that, when the above-mentioned target multimedia file is an audio-video file, the above-mentioned playback operation can be understood as playing the audio-video file or viewing the audio-video file; when the target multimedia file is a non-audio-video file, the above-mentioned playback operation can be understood as viewing Target multimedia files, for example, view pictures or documents, etc.
需要说明的是,在一些实施例中,可以直接在目标电子设备上进行目标多媒体文件的合成,此时目标电子设备可以在互联的各个电子设备上直接下载对应的多媒体数据,然后进行多媒体数据的合成,并存储在目标电子设备本地。进一步的,在合成之后可以直接进行播放,或者基于用户的操作进行播放。It should be noted that, in some embodiments, the synthesis of the target multimedia file can be performed directly on the target electronic device. At this time, the target electronic device can directly download the corresponding multimedia data on each interconnected electronic device, and then perform the synthesis of the multimedia data. synthesized and stored locally on the target electronic device. Furthermore, the playback may be performed directly after synthesis, or based on user operations.
在一些实施例中,可以不在目标电子设备上进行目标多媒体文件的合成,例如,在进行播放时,若该目标电子设备上储存有目标多媒体文件第1个目标对象(第一块)对应的多媒体数据可以直接播放该多媒体数据,然后在播放的过程中(例如多媒体数据即将播放完成前预设时间段内)下载第2个目标对象(第一块)对应的多媒体数据,或者,在播放的过程中(例如多媒体数据即将播放完成前预设时间段内)下载第2个至第n个目标对象对应的多媒体数据。In some embodiments, the synthesis of the target multimedia file may not be performed on the target electronic device. For example, when playing, if the target electronic device stores the multimedia file corresponding to the first target object (first block) of the target multimedia file. The data can directly play the multimedia data, and then download the multimedia data corresponding to the second target object (the first block) during the playback process (for example, within the preset time period before the multimedia data is about to be played), or, during the playback process Download the multimedia data corresponding to the 2nd to the nth target object during the middle (for example, within a preset time period before the multimedia data is finished playing).
需要说明的是,上述目标电子设备可以通过默认的设置使得目标电子设备自主触发执行上述相关操作,也可以由目标电子设备的用户通过操作指令的输入触发目标电子设备执行上述相关操作,还可以通过其他电子设备请求触发目标电子设备执行上述相关操作,具体在此不做进一步的限定。例如,在一些实施例中,在所述第二电子设备为所述目标电子设备的情况下,所述 方法还包括:It should be noted that the above-mentioned target electronic device can make the target electronic device automatically trigger the execution of the above-mentioned related operations through default settings, or the user of the target electronic device can trigger the target electronic device to perform the above-mentioned related operations through the input of an operation command, or through The other electronic device requests to trigger the target electronic device to perform the above related operations, which will not be further limited here. For example, in some embodiments, when the second electronic device is the target electronic device, the method further includes:
所述第一电子设备向所述第二电子设备发送第二请求,所述第二请求用于请求针对所述N个多媒体数据执行相关操作,所述相关操作包括合成操作、播放操作和存储操作中的至少一项。The first electronic device sends a second request to the second electronic device, the second request is used to request to perform related operations on the N pieces of multimedia data, and the related operations include composition operations, playback operations, and storage operations At least one of the .
本申请实施例中,上述第二请求和第一请求可以携带在同一请求消息中,或者携带在不同的请求消息中,在此不做进一步的限定。In the embodiment of the present application, the above-mentioned second request and the first request may be carried in the same request message, or carried in different request messages, which will not be further limited here.
例如,当目标电子设备为第二电子设备时,上述第二请求和第一请求可以携带在同一请求消息,从而减少信令开销。当目标电子设备不为第二电子设备时,第一电子设备可以向目标电子设备发送单独的第二请求。由于通过第一电子设备向目标电子设备发送第二请求,触发目标电子设备执行相关操作,从而实现了多个电子设备的协同交互,提高操作的便捷性。For example, when the target electronic device is the second electronic device, the second request and the first request may be carried in the same request message, thereby reducing signaling overhead. When the target electronic device is not the second electronic device, the first electronic device may send a separate second request to the target electronic device. Since the first electronic device sends the second request to the target electronic device, the target electronic device is triggered to perform related operations, thereby realizing cooperative interaction of multiple electronic devices and improving operation convenience.
可选地,在一些实施例中,所述目标多媒体文件为所述第一电子设备存储的多媒体文件或者为待下载的多媒体文件(即服务上存储的多媒体文件);Optionally, in some embodiments, the target multimedia file is a multimedia file stored in the first electronic device or a multimedia file to be downloaded (that is, a multimedia file stored on a service);
其中,在所述目标多媒体文件为待下载的多媒体文件的情况下,第一请求中携带有所述第一多媒体数据的下载信息。Wherein, when the target multimedia file is a multimedia file to be downloaded, the download information of the first multimedia data is carried in the first request.
本申请实施例中,当目标多媒体文件为待下载的多媒体文件时,可以由第一电子设备通过服务器获取目标多媒体文件的文件信息,例如文件的总体长度,并根据文件信息生成上述目标标识块,然后进行拆分,拆分后每一子标识块对应的目标对象关联多媒体数据对应的下载信息。最后第一电子设备通过第一请求向各电子设备发送对应的下载信息,从而触发其他电子设备进行下载。与此同时L个电子设备包括第一电子设备时,第一电子设备也可以进行相应的下载。需要说明的是,L个电子设备进行拆分下载后,可以在目标电子设备上进行多媒体文件的合成,例如,目标电子设备可以获取各电子设置下载的多媒体数据,然后在本地进行合成,得到最终下载的目标多媒体文件。由于电子设备的互连传输的效率大于从服务器下载效率。因此,通过多个电子设备对多媒体文件进行拆分下载,从而提高多媒体文件下载的效率。此外,对于下载的多媒体文件也可以不进行合成,例如,在播放目标多媒体文件可以下载互连设备中预先下载的多媒体数据。In the embodiment of the present application, when the target multimedia file is a multimedia file to be downloaded, the first electronic device may obtain the file information of the target multimedia file through the server, such as the overall length of the file, and generate the above-mentioned target identification block according to the file information, Then splitting is performed, and after splitting, the target object corresponding to each sub-identification block is associated with the download information corresponding to the multimedia data. Finally, the first electronic device sends corresponding download information to each electronic device through the first request, thereby triggering other electronic devices to perform downloading. At the same time, when the L electronic devices include the first electronic device, the first electronic device can also perform a corresponding download. It should be noted that after the L electronic devices are split and downloaded, the multimedia files can be synthesized on the target electronic device. For example, the target electronic device can obtain the multimedia data downloaded by each electronic device, and then synthesize them locally to obtain the final The downloaded target multimedia file. Because the efficiency of interconnection transmission of electronic devices is greater than that of downloading from the server. Therefore, multiple electronic devices are used to split and download multimedia files, thereby improving the efficiency of downloading multimedia files. In addition, the downloaded multimedia file may not be synthesized, for example, the multimedia data pre-downloaded in the interconnection device may be downloaded when playing the target multimedia file.
应理解,上述目标电子设备可以为上述L个电子设备中的任一个电子设 备,也可以为与上述L个电子设备互连的其他电子设备。It should be understood that the above-mentioned target electronic device may be any one of the above-mentioned L electronic devices, and may also be other electronic devices interconnected with the above-mentioned L electronic devices.
可选地,当目标多媒体文件为第一电子设备储存的多媒体文件,以第一电子设备向设备B传输目标多媒体文件,且第一电子设备与设备B距离较远的传输场景为例进行说明。Optionally, when the target multimedia file is a multimedia file stored in the first electronic device, a transmission scenario in which the first electronic device transmits the target multimedia file to device B and the distance between the first electronic device and device B is relatively long is used as an example for illustration.
由于第一电子设备距离设备B较远,且第一电子设备可以分别通过设备C和设备D与设备B互连。此时,第一电子设备将待传输的目标多媒体文件进行拆分传输,例如分割得到多媒体数据C和多媒体数据D,其中,多媒体数据C对应的目标对象与设备C关联,多媒体数据D对应的目标对象与设备D关联。其中,目标电子设备为设备B,假设在设备B上不进行合成,则第一电子设备可以直接将多媒体数据C传输给设备C,将多媒体数据D传输给设备D;假设在设备B上进行合成,则第一电子设备可以通过设备C多媒体数据C传输给设备B,通过设备D将多媒体数据D传输给设备B,然后由设备B合成得到目标多媒体文件。Since the first electronic device is far away from the device B, and the first electronic device may be interconnected with the device B through the device C and the device D respectively. At this point, the first electronic device splits and transmits the target multimedia file to be transmitted, for example, to obtain multimedia data C and multimedia data D, wherein the target object corresponding to multimedia data C is associated with device C, and the target object corresponding to multimedia data D Object is associated with device D. Wherein, the target electronic device is device B, assuming that synthesis is not performed on device B, the first electronic device can directly transmit multimedia data C to device C, and transmit multimedia data D to device D; assuming that synthesis is performed on device B , the first electronic device can transmit the multimedia data C to the device B through the device C, transmit the multimedia data D to the device B through the device D, and then synthesize the target multimedia file by the device B.
参照图9,本申请实施例还提供另一种文件传输方法,如图9所示,该文件传输方法包括:Referring to FIG. 9, the embodiment of the present application also provides another file transfer method. As shown in FIG. 9, the file transfer method includes:
步骤901,第二电子设备接收第一电子设备发送的第一请求; Step 901, the second electronic device receives the first request sent by the first electronic device;
步骤902,所述第二电子设备响应于所述第一请求,执行第一多媒体数据的传输操作; Step 902, the second electronic device performs a transmission operation of the first multimedia data in response to the first request;
其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据,所述目标对象为N个目标对象之一,所述N个目标对象与所述目标多媒体文件被分割的N个多媒体数据一一对应,所述N个目标对象与L个电子设备关联,所述L个电子设备互连,且所述L个电子设备包括M个第一电子设备以及L-M个第二电子设备,M为0或1,N和L均为大于1的整数,且L小于或等于N。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device, the target object is one of N target objects, and the N target objects are related to the target multimedia file The segmented N pieces of multimedia data are in one-to-one correspondence, the N target objects are associated with L electronic devices, the L electronic devices are interconnected, and the L electronic devices include M first electronic devices and L-M For the second electronic device, M is 0 or 1, both N and L are integers greater than 1, and L is less than or equal to N.
可选地,所述传输操作包括:Optionally, the transfer operation includes:
接收所述第一电子设备发送的所述第一多媒体数据;receiving the first multimedia data sent by the first electronic device;
或者,下载所述第一多媒体数据;Or, download the first multimedia data;
其中,在所述目标多媒体文件为待下载的多媒体文件的情况下,第一请求中携带有所述第一多媒体数据的下载信息。Wherein, when the target multimedia file is a multimedia file to be downloaded, the download information of the first multimedia data is carried in the first request.
可选地,在所述第二电子设备为用于执行所述目标多媒体文件的相关操作的目标电子设备的情况下,所述方法还包括:Optionally, in the case where the second electronic device is a target electronic device for performing operations related to the target multimedia file, the method further includes:
所述第二电子设备接收其他电子设备发送的第二多媒体数据,所述其他电子设备为所述L个电子设备中除所述目标电子设备之外的电子设备,所述第二多媒体数据为所述N个多媒体数据中除所述目标多媒体数据之外的其他多媒体数据;The second electronic device receives second multimedia data sent by other electronic devices, and the other electronic device is an electronic device among the L electronic devices except the target electronic device, and the second multimedia data The body data is other multimedia data except the target multimedia data among the N pieces of multimedia data;
所述第二电子设备针对所述N个多媒体数据执行相关操作;The second electronic device performs related operations on the N pieces of multimedia data;
其中,所述相关操作包括合成操作、播放操作和存储操作中的至少一项。Wherein, the related operation includes at least one of a synthesis operation, a playback operation and a storage operation.
可选地,所述第二电子设备接收其他电子设备发送的第二多媒体数据包括:Optionally, the second electronic device receiving the second multimedia data sent by other electronic devices includes:
所述第二电子设备接收所述第一电子设备发送的第二请求;The second electronic device receives the second request sent by the first electronic device;
所述第二电子设备响应于所述第二请求,接收其他电子设备发送的第二多媒体数据。The second electronic device receives second multimedia data sent by other electronic devices in response to the second request.
可选地,在所述第二电子设备与所述L个电子设备中用于执行所述目标多媒体文件的相关操作的目标电子设备不同的情况下,所述方法还包括:Optionally, in a case where the second electronic device is different from the target electronic device used to perform operations related to the target multimedia file among the L electronic devices, the method further includes:
所述第二电子设备向所述目标电子设备发送所述第一多媒体数据。The second electronic device sends the first multimedia data to the target electronic device.
需要说明的是,本实施例作为图1所示的实施例对应的第二电子设备的实施方式,其具体的实施方式可以参见图1所示的实施例相关说明,以及达到相同的有益效果,为了避免重复说明,此处不再赘述。It should be noted that this embodiment is an implementation manner of the second electronic device corresponding to the embodiment shown in FIG. 1 , and its specific implementation manner can refer to the relevant description of the embodiment shown in FIG. 1 , and achieve the same beneficial effect. In order to avoid repeated explanations, details are not repeated here.
需要说明的是,本申请实施例提供的文件传输方法,执行主体可以为文件传输装置,或者该文件传输装置中的用于执行加载文件传输方法的控制模块。本申请实施例中以文件传输装置执行加载文件传输方法为例,说明本申请实施例提供的文件传输方法。It should be noted that, for the file transfer method provided in the embodiment of the present application, the executing subject may be a file transfer device, or a control module in the file transfer device for executing the loading file transfer method. In the embodiment of the present application, the file transmission method provided in the embodiment of the present application is described by taking the file transmission device executing the loading file transmission method as an example.
参见图10,图10是本申请实施例提供的文件传输装置的结构图,如图10所示,文件传输装置1000包括:Referring to FIG. 10, FIG. 10 is a structural diagram of a file transmission device provided in an embodiment of the present application. As shown in FIG. 10, the file transmission device 1000 includes:
显示模块1001,用于在接收到对目标多媒体文件的分割输入的情况下,显示N个目标对象,所述N个目标对象与目标多媒体文件被分割的N个多媒体数据一一对应,N为大于1的整数;The display module 1001 is used to display N target objects in the case of receiving the segmentation input of the target multimedia file, and the N target objects are in one-to-one correspondence with the N multimedia data that the target multimedia file is divided into, and N is greater than an integer of 1;
确定模块1002,用于确定与所述N个目标对象关联的L个电子设备,所 述L个电子设备互连,L为小于或等于N的正整数,且L大于1;A determining module 1002, configured to determine L electronic devices associated with the N target objects, the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1;
第一发送模块1003,用于向所述L个电子设备中的第二电子设备发送第一请求,所述第一请求用于请求所述第二电子设备执行第一多媒体数据的传输操作;The first sending module 1003 is configured to send a first request to a second electronic device among the L electronic devices, and the first request is used to request the second electronic device to perform a first multimedia data transmission operation ;
其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device.
可选地,所述显示模块1001具体用于执行以下操作:Optionally, the display module 1001 is specifically configured to perform the following operations:
在接收到对目标多媒体文件的分割输入的情况下,确定目标分割策略;In the case of receiving a segmentation input to the target multimedia file, determine a target segmentation strategy;
显示基于所述分割策略确定的所述N个目标对象。and displaying the N target objects determined based on the segmentation strategy.
可选地,所述确定模块1002具体用于执行以下操作:Optionally, the determining module 1002 is specifically configured to perform the following operations:
根据所述L个电子设备的传输能力信息,确定所述目标分割策略;determining the target segmentation strategy according to the transmission capability information of the L electronic devices;
确定模块1002具体用于:基于所述目标分割策略显示每一所述目标对象推荐关联的电子设备;在接收到针对所述目标对象和电子设备的关联操作的输入的情况下,所述第一电子设备确定每一所述目标对象关联的电子设备。The determining module 1002 is specifically configured to: based on the target segmentation strategy, display an electronic device recommended for association with each target object; The electronic device determines an electronic device associated with each of the target objects.
可选地,所述显示模块1001还用于:显示候选设备,所述候选设备包括所述L个电子设备和与所述L个电子设备互连的电子设备中的至少一项;Optionally, the display module 1001 is further configured to: display candidate devices, where the candidate devices include at least one of the L electronic devices and electronic devices interconnected with the L electronic devices;
所述确定模块1002还用于:在所述候选设备中确定用于执行所述目标多媒体文件的相关操作的目标电子设备。The determining module 1002 is further configured to: determine, among the candidate devices, a target electronic device for performing operations related to the target multimedia file.
可选地,在所述第二电子设备为所述目标电子设备的情况下,所述第一发送模块1003还用于:向所述第二电子设备发送第二请求,所述第二请求用于请求针对所述N个多媒体数据执行相关操作,所述相关操作包括合成操作、播放操作和存储操作中的至少一项。Optionally, when the second electronic device is the target electronic device, the first sending module 1003 is further configured to: send a second request to the second electronic device, and the second request uses It is requested to perform a related operation on the N pieces of multimedia data, and the related operation includes at least one of a composition operation, a playback operation, and a storage operation.
可选地,所述目标多媒体文件为所述第一电子设备存储的多媒体文件或者为待下载的多媒体文件;Optionally, the target multimedia file is a multimedia file stored in the first electronic device or a multimedia file to be downloaded;
其中,在所述目标多媒体文件为待下载的多媒体文件的情况下,第一请求中携带有所述第一多媒体数据的下载信息。Wherein, when the target multimedia file is a multimedia file to be downloaded, the download information of the first multimedia data is carried in the first request.
本申请实施例提供的文件传输装置1000能够实现图1的方法实施例中各个过程,为避免重复,这里不再赘述。The file transfer device 1000 provided in the embodiment of the present application can implement various processes in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
参见图11,图11是本申请实施例提供的文件传输装置的结构图,如图 11所示,文件传输装置1100包括:Referring to FIG. 11, FIG. 11 is a structural diagram of a file transmission device provided in an embodiment of the present application. As shown in FIG. 11, the file transmission device 1100 includes:
接收模块1101,用于接收第一电子设备发送的第一请求;A receiving module 1101, configured to receive a first request sent by the first electronic device;
执行模块1102,用于响应于所述第一请求,执行第一多媒体数据的传输操作;An execution module 1102, configured to execute a transmission operation of the first multimedia data in response to the first request;
其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据,所述目标对象为N个目标对象之一,所述N个目标对象与所述目标多媒体文件被分割的N个多媒体数据一一对应,所述N个目标对象与L个电子设备关联,所述L个电子设备互连,且所述L个电子设备包括M个第一电子设备以及L-M个第二电子设备,M为0或1,N和L均为大于1的整数,且L小于或等于N。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device, the target object is one of N target objects, and the N target objects are related to the target multimedia file The segmented N pieces of multimedia data are in one-to-one correspondence, the N target objects are associated with L electronic devices, the L electronic devices are interconnected, and the L electronic devices include M first electronic devices and L-M For the second electronic device, M is 0 or 1, both N and L are integers greater than 1, and L is less than or equal to N.
可选地,所述传输操作包括:Optionally, the transfer operation includes:
接收所述第一电子设备发送的所述第一多媒体数据;receiving the first multimedia data sent by the first electronic device;
或者,下载所述第一多媒体数据;Or, download the first multimedia data;
其中,在所述目标多媒体文件为待下载的多媒体文件的情况下,第一请求中携带有所述第一多媒体数据的下载信息。Wherein, when the target multimedia file is a multimedia file to be downloaded, the download information of the first multimedia data is carried in the first request.
可选地,在所述第二电子设备为用于执行所述目标多媒体文件的相关操作的目标电子设备的情况下,所述接收模块1101还用于接收其他电子设备发送的第二多媒体数据,所述其他电子设备为所述L个电子设备中除所述目标电子设备之外的电子设备,所述第二多媒体数据为所述N个多媒体数据中除所述目标多媒体数据之外的其他多媒体数据;Optionally, when the second electronic device is a target electronic device for performing operations related to the target multimedia file, the receiving module 1101 is further configured to receive a second multimedia file sent by other electronic devices. data, the other electronic device is an electronic device in the L electronic devices except the target electronic device, and the second multimedia data is in the N multimedia data except the target multimedia data other multimedia data;
所述执行模块1102,还用于针对所述N个多媒体数据执行相关操作;The execution module 1102 is also configured to perform related operations on the N pieces of multimedia data;
其中,所述相关操作包括合成操作、播放操作和存储操作中的至少一项。Wherein, the related operation includes at least one of a synthesis operation, a playback operation and a storage operation.
可选地,所述第二电子设备接收其他电子设备发送的第二多媒体数据包括:Optionally, the second electronic device receiving the second multimedia data sent by other electronic devices includes:
所述接收模块1101还用于接收所述第一电子设备发送的第二请求;响应于所述第二请求,接收其他电子设备发送的第二多媒体数据。The receiving module 1101 is further configured to receive a second request sent by the first electronic device; in response to the second request, receive second multimedia data sent by other electronic devices.
可选地,文件传输装置1100还包括第二发送模块,所述第二发送模块用于:在所述第二电子设备与所述L个电子设备中用于执行所述目标多媒体文件的相关操作的目标电子设备不同的情况下,向所述目标电子设备发送所述 第一多媒体数据。Optionally, the file transfer apparatus 1100 further includes a second sending module, and the second sending module is configured to: perform operations related to the target multimedia file in the second electronic device and the L electronic devices If the target electronic devices are different, send the first multimedia data to the target electronic device.
本申请实施例提供的文件传输装置1100能够实现图1的方法实施例中各个过程,为避免重复,这里不再赘述。The file transfer device 1100 provided in the embodiment of the present application can implement various processes in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
本申请实施例中的文件传输装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The file transmission device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的文件传输装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The file transfer device in this embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
可选地,本申请实施例还提供一种电子设备,如图12所示,该电子设备1200包括处理器1201,存储器1202,存储在存储器1202上并可在所述处理器1201上运行的程序或指令,该程序或指令被处理器1201执行时实现上述文件传输方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, the embodiment of the present application also provides an electronic device. As shown in FIG. Or instruction, when the program or instruction is executed by the processor 1201, each process of the above-mentioned file transfer method embodiment can be realized, and the same technical effect can be achieved, so in order to avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图13为实现本申请各个实施例的一种电子设备的硬件结构示意图。FIG. 13 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
该电子设备1300包括但不限于:射频单元1301、网络模块1302、音频输出单元1303、输入单元1304、传感器1305、显示单元1306、用户输入单元1307、接口单元1308、存储器1309、以及处理器1310等部件。The electronic device 1300 includes, but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, and a processor 1310, etc. part.
本领域技术人员可以理解,电子设备1300还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1310逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更 多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1300 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1310 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 13 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
其中,在电子设备为第一电子设备时,处理器1310,用于在接收到对目标多媒体文件的分割输入的情况下,显示N个目标对象,所述N个目标对象与目标多媒体文件被分割的N个多媒体数据一一对应,N为大于1的整数;确定与所述N个目标对象关联的L个电子设备,所述L个电子设备互连,L为小于或等于N的正整数,且L大于1;Wherein, when the electronic device is the first electronic device, the processor 1310 is configured to display N target objects in the case of receiving the segmentation input of the target multimedia file, and the N target objects and the target multimedia file are divided into The N pieces of multimedia data correspond one-to-one, and N is an integer greater than 1; determine L electronic devices associated with the N target objects, and the L electronic devices are interconnected, and L is a positive integer less than or equal to N, And L is greater than 1;
射频单元1301,用于向所述L个电子设备中的第二电子设备发送第一请求,所述第一请求用于请求所述第二电子设备执行第一多媒体数据的传输操作;A radio frequency unit 1301, configured to send a first request to a second electronic device among the L electronic devices, where the first request is used to request the second electronic device to perform a first multimedia data transmission operation;
其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device.
在电子设备为第二电子设备时,射频单元1301,用于接收第一电子设备发送的第一请求;When the electronic device is the second electronic device, the radio frequency unit 1301 is configured to receive the first request sent by the first electronic device;
处理器1310,用于响应于所述第一请求,执行第一多媒体数据的传输操作;a processor 1310, configured to perform a transmission operation of the first multimedia data in response to the first request;
其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据,所述目标对象为N个目标对象之一,所述N个目标对象与所述目标多媒体文件被分割的N个多媒体数据一一对应,所述N个目标对象与L个电子设备关联,所述L个电子设备互连,且所述L个电子设备包括M个第一电子设备以及L-M个第二电子设备,M为0或1,N和L均为大于1的整数,且L小于或等于N。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device, the target object is one of N target objects, and the N target objects are related to the target multimedia file The segmented N pieces of multimedia data are in one-to-one correspondence, the N target objects are associated with L electronic devices, the L electronic devices are interconnected, and the L electronic devices include M first electronic devices and L-M For the second electronic device, M is 0 or 1, both N and L are integers greater than 1, and L is less than or equal to N.
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述文件传输方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium may be nonvolatile or volatile, the readable storage medium stores programs or instructions, and the programs or instructions are stored in When executed by the processor, the various processes of the foregoing file transfer method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品被存储在非瞬态的存储介质中,所述计算机程序产品被至少一个处理器执行以实现上述文件传输方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a computer program product, the computer program product is stored in a non-transitory storage medium, and the computer program product is executed by at least one processor to implement the various processes of the above file transfer method embodiment , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述文件传输方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above-mentioned file transfer method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the essence of the technical solution of this application or the part that contributes to related technologies can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk, etc.) ) includes several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的, 本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (17)

  1. 一种文件传输方法,包括:A file transfer method comprising:
    在接收到对目标多媒体文件的分割输入的情况下,第一电子设备显示N个目标对象,所述N个目标对象与目标多媒体文件被分割的N个多媒体数据一一对应,N为大于1的整数;In the case of receiving the segmentation input of the target multimedia file, the first electronic device displays N target objects, the N target objects are in one-to-one correspondence with the N multimedia data that the target multimedia file is divided into, and N is greater than 1 integer;
    所述第一电子设备确定与所述N个目标对象关联的L个电子设备,所述L个电子设备互连,L为小于或等于N的正整数,且L大于1;The first electronic device determines L electronic devices associated with the N target objects, the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1;
    所述第一电子设备向所述L个电子设备中的第二电子设备发送第一请求,所述第一请求用于请求所述第二电子设备执行第一多媒体数据的传输操作;The first electronic device sends a first request to a second electronic device among the L electronic devices, where the first request is used to request the second electronic device to perform a first multimedia data transmission operation;
    其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device.
  2. 根据权利要求1所述的方法,其中,所述在接收到对目标多媒体文件的分割输入的情况下,第一电子设备显示N个目标对象包括:The method according to claim 1, wherein, in the case of receiving the segmentation input of the target multimedia file, displaying N target objects by the first electronic device comprises:
    在接收到对目标多媒体文件的分割输入的情况下,所述第一电子设备确定目标分割策略;In case of receiving a segmentation input to the target multimedia file, the first electronic device determines a target segmentation strategy;
    所述第一电子设备显示基于所述分割策略确定的所述N个目标对象。The first electronic device displays the N target objects determined based on the segmentation strategy.
  3. 根据权利要求2所述的方法,其中,所述第一电子设备确定目标分割策略包括:The method according to claim 2, wherein determining the target segmentation strategy by the first electronic device comprises:
    所述第一电子设备根据所述L个电子设备的传输能力信息,确定所述目标分割策略;The first electronic device determines the target segmentation strategy according to the transmission capability information of the L electronic devices;
    所述第一电子设备确定与所述N个目标对象关联的L个电子设备,包括:The first electronic device determines L electronic devices associated with the N target objects, including:
    所述第一电子设备基于所述目标分割策略显示每一所述目标对象推荐关联的电子设备;The first electronic device displays recommended associated electronic devices for each of the target objects based on the target segmentation strategy;
    在接收到针对所述目标对象和电子设备的关联操作的输入的情况下,所述第一电子设备确定每一所述目标对象关联的电子设备。In case of receiving an input for an association operation of the target objects and electronic devices, the first electronic device determines an electronic device associated with each of the target objects.
  4. 根据权利要求1中任一项所述的方法,其中,所述第一电子设备确定与所述N个目标对象关联的L个电子设备之后,所述方法还包括:The method according to any one of claims 1, wherein, after the first electronic device determines L electronic devices associated with the N target objects, the method further comprises:
    显示候选设备,所述候选设备包括所述L个电子设备和与所述L个电子 设备互连的电子设备中的至少一项;displaying candidate devices, the candidate devices including at least one of the L electronic devices and electronic devices interconnected with the L electronic devices;
    所述第一电子设备在所述候选设备中确定用于执行所述目标多媒体文件的相关操作的目标电子设备。The first electronic device determines, among the candidate devices, a target electronic device for performing operations related to the target multimedia file.
  5. 根据权利要求4所述的方法,其中,在所述第二电子设备为所述目标电子设备的情况下,所述方法还包括:The method according to claim 4, wherein, when the second electronic device is the target electronic device, the method further comprises:
    所述第一电子设备向所述第二电子设备发送第二请求,所述第二请求用于请求针对所述N个多媒体数据执行相关操作,所述相关操作包括合成操作、播放操作和存储操作中的至少一项。The first electronic device sends a second request to the second electronic device, the second request is used to request to perform related operations on the N pieces of multimedia data, and the related operations include composition operations, playback operations, and storage operations At least one of the .
  6. 根据权利要求1至5中任一项所述的方法,其中,所述目标多媒体文件为所述第一电子设备存储的多媒体文件或者为待下载的多媒体文件;The method according to any one of claims 1 to 5, wherein the target multimedia file is a multimedia file stored in the first electronic device or a multimedia file to be downloaded;
    其中,在所述目标多媒体文件为待下载的多媒体文件的情况下,第一请求中携带有所述第一多媒体数据的下载信息。Wherein, when the target multimedia file is a multimedia file to be downloaded, the download information of the first multimedia data is carried in the first request.
  7. 一种文件传输方法,包括:A file transfer method comprising:
    第二电子设备接收第一电子设备发送的第一请求;the second electronic device receives the first request sent by the first electronic device;
    所述第二电子设备响应于所述第一请求,执行第一多媒体数据的传输操作;The second electronic device performs a transmission operation of the first multimedia data in response to the first request;
    其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据,所述目标对象为N个目标对象之一,所述N个目标对象与所述目标多媒体文件被分割的N个多媒体数据一一对应,所述N个目标对象与L个电子设备关联,所述L个电子设备互连,且所述L个电子设备包括M个第一电子设备以及L-M个第二电子设备,M为0或1,N和L均为大于1的整数,且L小于或等于N。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device, the target object is one of N target objects, and the N target objects are related to the target multimedia file The segmented N pieces of multimedia data are in one-to-one correspondence, the N target objects are associated with L electronic devices, the L electronic devices are interconnected, and the L electronic devices include M first electronic devices and L-M For the second electronic device, M is 0 or 1, both N and L are integers greater than 1, and L is less than or equal to N.
  8. 根据权利要求7所述的方法,其中,所述传输操作包括:The method of claim 7, wherein the transmitting operation comprises:
    接收所述第一电子设备发送的所述第一多媒体数据;receiving the first multimedia data sent by the first electronic device;
    或者,下载所述第一多媒体数据;Or, download the first multimedia data;
    其中,在所述目标多媒体文件为待下载的多媒体文件的情况下,第一请求中携带有所述第一多媒体数据的下载信息。Wherein, when the target multimedia file is a multimedia file to be downloaded, the download information of the first multimedia data is carried in the first request.
  9. 根据权利要求7或8所述的方法,其中,在所述第二电子设备为用于执行所述目标多媒体文件的相关操作的目标电子设备的情况下,所述方法还 包括:The method according to claim 7 or 8, wherein, in the case where the second electronic device is a target electronic device for performing operations related to the target multimedia file, the method further comprises:
    所述第二电子设备接收其他电子设备发送的第二多媒体数据,所述其他电子设备为所述L个电子设备中除所述目标电子设备之外的电子设备,所述第二多媒体数据为所述N个多媒体数据中除所述目标多媒体数据之外的其他多媒体数据;The second electronic device receives second multimedia data sent by other electronic devices, and the other electronic device is an electronic device among the L electronic devices except the target electronic device, and the second multimedia data The body data is other multimedia data except the target multimedia data among the N pieces of multimedia data;
    所述第二电子设备针对所述N个多媒体数据执行相关操作;The second electronic device performs related operations on the N pieces of multimedia data;
    其中,所述相关操作包括合成操作、播放操作和存储操作中的至少一项。Wherein, the related operation includes at least one of a synthesis operation, a playback operation and a storage operation.
  10. 根据权利要求9所述的方法,其中,所述第二电子设备接收其他电子设备发送的第二多媒体数据包括:The method according to claim 9, wherein the second electronic device receiving the second multimedia data sent by other electronic devices comprises:
    所述第二电子设备接收所述第一电子设备发送的第二请求;The second electronic device receives the second request sent by the first electronic device;
    所述第二电子设备响应于所述第二请求,接收其他电子设备发送的第二多媒体数据。The second electronic device receives second multimedia data sent by other electronic devices in response to the second request.
  11. 根据权利要求7或8所述的方法,其中,在所述第二电子设备与所述L个电子设备中用于执行所述目标多媒体文件的相关操作的目标电子设备不同的情况下,所述方法还包括:The method according to claim 7 or 8, wherein, in the case where the second electronic device is different from the target electronic device used to perform operations related to the target multimedia file among the L electronic devices, the Methods also include:
    所述第二电子设备向所述目标电子设备发送所述第一多媒体数据。The second electronic device sends the first multimedia data to the target electronic device.
  12. 一种文件传输装置,包括:A file transfer device, comprising:
    显示模块,用于在接收到对目标多媒体文件的分割输入的情况下,显示N个目标对象,所述N个目标对象与目标多媒体文件被分割的N个多媒体数据一一对应,N为大于1的整数;The display module is used to display N target objects in the case of receiving the segmentation input of the target multimedia file, and the N target objects are in one-to-one correspondence with the N multimedia data that the target multimedia file is divided into, and N is greater than 1 an integer of
    确定模块,用于确定与所述N个目标对象关联的L个电子设备,所述L个电子设备互连,L为小于或等于N的正整数,且L大于1;A determining module, configured to determine L electronic devices associated with the N target objects, the L electronic devices are interconnected, L is a positive integer less than or equal to N, and L is greater than 1;
    第一发送模块,用于向所述L个电子设备中的第二电子设备发送第一请求,所述第一请求用于请求所述第二电子设备执行第一多媒体数据的传输操作;A first sending module, configured to send a first request to a second electronic device among the L electronic devices, where the first request is used to request the second electronic device to perform a first multimedia data transmission operation;
    其中,所述第一多媒体数据为所述第二电子设备关联的目标对象对应的多媒体数据。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device.
  13. 一种文件传输装置,包括:A file transfer device, comprising:
    接收模块,用于接收第一电子设备发送的第一请求;a receiving module, configured to receive a first request sent by the first electronic device;
    执行模块,用于响应于所述第一请求,执行第一多媒体数据的传输操作;an execution module, configured to execute a transmission operation of the first multimedia data in response to the first request;
    其中,所述第一多媒体数据为第二电子设备关联的目标对象对应的多媒体数据,所述目标对象为N个目标对象之一,所述N个目标对象与所述目标多媒体文件被分割的N个多媒体数据一一对应,所述N个目标对象与L个电子设备关联,所述L个电子设备互连,且所述L个电子设备包括M个第一电子设备以及L-M个第二电子设备,M为0或1,N和L均为大于1的整数,且L小于或等于N。Wherein, the first multimedia data is multimedia data corresponding to a target object associated with the second electronic device, the target object is one of N target objects, and the N target objects and the target multimedia file are divided The N pieces of multimedia data are in one-to-one correspondence, the N target objects are associated with L electronic devices, the L electronic devices are interconnected, and the L electronic devices include M first electronic devices and L-M second For electronic equipment, M is 0 or 1, both N and L are integers greater than 1, and L is less than or equal to N.
  14. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至11中任一项所述的文件传输处理方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1 to 11 are implemented The steps of any one of the file transfer processing methods.
  15. 一种可读存储介质,其上存储有程序或指令,所述程序或指令被处理器执行时实现权利要求1至11中任一项所述的文件传输处理方法的步骤。A readable storage medium, on which programs or instructions are stored, and when the programs or instructions are executed by a processor, the steps of the file transmission processing method according to any one of claims 1 to 11 are realized.
  16. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至11中任一项所述的文件传输处理方法的步骤。A chip, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the file transfer according to any one of claims 1 to 11 The steps of the processing method.
  17. 一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至11中任一项所述的文件传输处理方法的步骤。A computer program product, wherein the computer program product is stored in a non-transitory readable storage medium, and the computer program product is executed by at least one processor to implement the The steps of the file transfer processing method described above.
PCT/CN2022/127347 2021-10-29 2022-10-25 File transmission method and apparatus, and electronic device and storage medium WO2023072063A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111268593.6A CN113992660A (en) 2021-10-29 2021-10-29 File transmission method and device, electronic equipment and storage medium
CN202111268593.6 2021-10-29

Publications (1)

Publication Number Publication Date
WO2023072063A1 true WO2023072063A1 (en) 2023-05-04

Family

ID=79744060

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/127347 WO2023072063A1 (en) 2021-10-29 2022-10-25 File transmission method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113992660A (en)
WO (1) WO2023072063A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992660A (en) * 2021-10-29 2022-01-28 维沃移动通信有限公司 File transmission method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004066583A1 (en) * 2003-01-23 2004-08-05 Matsushita Electric Industrial Co., Ltd. Media data transmission apparatus and media data reception apparatus
US7533061B1 (en) * 2006-01-18 2009-05-12 Loudeye Corp. Delivering media files to consumer devices
CN105260173A (en) * 2015-09-14 2016-01-20 联想(北京)有限公司 File processing method and electronic equipment
CN108924609A (en) * 2018-07-13 2018-11-30 广州虎牙信息科技有限公司 Method, electronic equipment, device and the storage medium of transmission of flow media data
CN108990169A (en) * 2017-09-08 2018-12-11 西安中兴新软件有限责任公司 A kind of transmission of data, resource share method and user terminal, access point apparatus
CN109688417A (en) * 2018-12-12 2019-04-26 广州虎牙信息科技有限公司 A kind of data distribution systems, method, apparatus, TV box and storage medium
CN113992660A (en) * 2021-10-29 2022-01-28 维沃移动通信有限公司 File transmission method and device, electronic equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2749092B1 (en) * 1996-05-21 1998-08-21 Cs Technologies Informatiques METHOD FOR INTERCONNECTING THE NODES OF A REAL TIME PARALLEL COMPUTER
EP2941856A1 (en) * 2013-01-04 2015-11-11 Qualcomm Incorporated Apparatus and method for push-to-share file distribution with previews
CN103530408A (en) * 2013-10-25 2014-01-22 乐视网信息技术(北京)股份有限公司 Multimedia file recommendation method and device
JP6200824B2 (en) * 2014-02-10 2017-09-20 ルネサスエレクトロニクス株式会社 Arithmetic control apparatus, arithmetic control method, program, and OpenCL device
CN103825905B (en) * 2014-03-10 2018-05-25 云中致用(广州)信息科技有限公司 A kind of multi-medium data exchange method and device
WO2017035787A1 (en) * 2015-09-01 2017-03-09 深圳好视网络科技有限公司 Method, device, and system for storing streaming media file
CN106101184B (en) * 2016-05-27 2019-10-22 华为技术有限公司 A kind of document down loading method and playback equipment
WO2019083440A2 (en) * 2017-10-24 2019-05-02 华为国际有限公司 Vehicle-mounted device upgrading method and related device
CN110798521B (en) * 2019-10-23 2022-09-13 腾讯科技(深圳)有限公司 File sharing method and device, electronic equipment and storage medium
CN110944003B (en) * 2019-12-06 2022-03-29 北京数码视讯软件技术发展有限公司 File transmission method and electronic equipment
CN111596818A (en) * 2020-04-24 2020-08-28 维沃移动通信有限公司 Message display method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004066583A1 (en) * 2003-01-23 2004-08-05 Matsushita Electric Industrial Co., Ltd. Media data transmission apparatus and media data reception apparatus
US7533061B1 (en) * 2006-01-18 2009-05-12 Loudeye Corp. Delivering media files to consumer devices
CN105260173A (en) * 2015-09-14 2016-01-20 联想(北京)有限公司 File processing method and electronic equipment
CN108990169A (en) * 2017-09-08 2018-12-11 西安中兴新软件有限责任公司 A kind of transmission of data, resource share method and user terminal, access point apparatus
CN108924609A (en) * 2018-07-13 2018-11-30 广州虎牙信息科技有限公司 Method, electronic equipment, device and the storage medium of transmission of flow media data
CN109688417A (en) * 2018-12-12 2019-04-26 广州虎牙信息科技有限公司 A kind of data distribution systems, method, apparatus, TV box and storage medium
CN113992660A (en) * 2021-10-29 2022-01-28 维沃移动通信有限公司 File transmission method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113992660A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
US11621022B2 (en) Video file generation method and device, terminal and storage medium
CN111913628B (en) Sharing method and device and electronic equipment
EP3380927B1 (en) Method, apparatus, and mobile terminal for screen mirroring
CN110602805B (en) Information processing method, first electronic device and computer system
EP2449501B1 (en) Method, apparatus and computer program product for providing protected content to one or more devices by reacquiring the content from a service
WO2020181906A1 (en) Method and apparatus for interacting with smart television
CN111050203B (en) Video processing method and device, video processing equipment and storage medium
US11082877B2 (en) Method and device for configuring operating bandwidth
CN110166794B (en) Live broadcast audio processing method, device and system
WO2016078380A1 (en) Display method, terminal, and computer storage medium
WO2023072063A1 (en) File transmission method and apparatus, and electronic device and storage medium
AU2022203591B2 (en) Method and apparatus for switching display interface, and electronic device
CN105704110B (en) Media transmission method, media control method and device
US11889165B2 (en) Methods, computer server systems and media devices for media streaming
US11349976B2 (en) Information processing method, file transmission method, electronic apparatus, and computing apparatus
WO2023011176A1 (en) Background image generation method and apparatus, electronic device and storage medium
WO2022262721A1 (en) Information interaction method and apparatus, and electronic device
CN106506646B (en) Control method and device of playing equipment, mobile terminal and playing system
EP3179361B1 (en) External display system and external display method therefor
US11528678B2 (en) Crowdsourcing and organizing multiple devices to perform an activity
CN113993164A (en) File transmission method and file transmission device
WO2023165393A1 (en) Transmission method and device, and terminal and storage medium
US20210216588A1 (en) Playback of audio content along with associated non-static media content
US10877719B2 (en) Audio device, audio system
CN116939610A (en) Access control method, system and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22885940

Country of ref document: EP

Kind code of ref document: A1