File transmission method and device, electronic equipment and storage medium
By splitting the file transfer task into subtasks and assigning them to multiple devices for processing, the problem of low single-device transmission efficiency is solved and efficient file transfer is achieved.
Patent Information
- Application Number
- CN202411068016.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-11
AI Technical Summary
In the Internet environment, when user devices upload or download large files, due to the limited transmission resources of a single device, the transmission time is long and the transmission efficiency is low.
By splitting the transmission task of the target file into multiple transmission subtasks, and allocating and executing these subtasks based on the device status information of itself and the second device located under the same local area network, the first device and the second device can transmit in parallel. , thereby utilizing the capabilities of multiple devices to jointly transfer files.
It effectively improves the efficiency of file transfer, reduces transfer time, and avoids the slowdown in transfer speed caused by device overheating that may be caused by single-device transfer.
Smart Images

Figure CN118764477A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of data transmission, and in particular to the technical field of file transmission methods, devices, electronic devices and storage media. Background Art
[0002] Currently, the Internet industry is booming, and a large number of file resources are distributed on the Internet for people to use. Users can upload or download file resources from the Internet based on their needs.
[0003] However, when a user device currently uploads or downloads a file resource with a large amount of data, the transmission time is long and the transmission efficiency is low due to the limited transmission resources of a single device. Summary of the invention
[0004] The present disclosure provides a file transmission method, device, electronic device and storage medium for solving at least one of the above technical problems.
[0005] According to one aspect of the present disclosure, a file transmission method is provided, wherein the method is applied on a first device and includes:
[0006] Based on the target file to be transmitted, splitting the transmission task of the target file into multiple transmission subtasks;
[0007] Determine, according to the device status information of the device and the second device in the same local area network as the device, a first transmission subtask assigned to the device and a second transmission subtask assigned to the second device from among the multiple transmission subtasks, and send the second transmission subtask to the second device;
[0008] The corresponding first subtask data is transmitted based on the first transmission subtask, wherein the second device is configured to transmit the corresponding second subtask data based on the second transmission subtask.
[0009] According to one aspect of the present disclosure, a file transmission method is provided, wherein the method is applied in a second device and includes:
[0010] Receiving a second transmission subtask sent by the first device;
[0011] Transmitting corresponding second subtask data based on the second transmission subtask;
[0012] The second transmission subtask is generated by the first device based on the above method.
[0013] According to another aspect of the present disclosure, a file transmission device is provided, wherein the device comprises:
[0014] A task splitting module is used to split the transmission task of the target file into multiple transmission subtasks based on the target file to be transmitted;
[0015] a task allocation module, configured to determine, according to device status information of the module and a second device located in the same local area network as the module, a first transmission subtask allocated to the module and a second transmission subtask allocated to the second device from among the plurality of transmission subtasks, and send the second transmission subtask to the second device;
[0016] The task transmission module is used to transmit the corresponding first subtask data based on the first transmission subtask, wherein the second device is configured to transmit the corresponding second subtask data based on the second transmission subtask.
[0017] According to another aspect of the present disclosure, a file transmission apparatus is provided, wherein the task receiving module is used to receive a second transmission subtask sent by a first device;
[0018] A task execution module, used for transmitting corresponding second subtask data based on the second transmission subtask;
[0019] The second transmission subtask is generated by the first device based on the above method.
[0020] According to another aspect of the present disclosure, there is provided an electronic device, comprising:
[0021] at least one processor; and
[0022] a memory communicatively connected to the at least one processor; wherein,
[0023] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the above method.
[0024] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the above method.
[0025] According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program implements the above method when executed by a processor.
[0026] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0028] Figure 1 It is a flowchart of a file transmission method provided by the first embodiment of the present disclosure;
[0029] Figure 2 is a flowchart of a file transmission method provided by the second embodiment of the present disclosure;
[0030] Figure 3 is a flowchart of S207 of a file transmission method provided by the second embodiment of the present disclosure;
[0031] Figure 4 is a flowchart of S2073 of a file transmission method provided by the second embodiment of the present disclosure;
[0032] Figure 5 is a flowchart of a file transmission method provided by the third embodiment of the present disclosure;
[0033] Figure 6 is a flowchart of a file transmission method provided by the fourth embodiment of the present disclosure;
[0034] Figure 7 is a flowchart of another file transmission method provided by the fourth embodiment of the present disclosure;
[0035] Figure 8 is a flow chart of S403 of another file transmission method provided in the fourth embodiment of the present disclosure;
[0036] Fig. 9 is a flowchart of a file transmission method provided by the fifth embodiment of the present disclosure;
[0037] Fig.10 is a structural schematic diagram of a file transmission device provided by a sixth embodiment of the present disclosure;
[0038] Fig.11 is a structural schematic diagram of a file transmission device provided by the seventh embodiment of the present disclosure;
[0039] Fig.12 The block diagram is a block diagram of an electronic device for implementing the method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0040] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0041] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
[0042] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0043] The terminology used herein is for describing particular embodiments only and is not intended to limit the present disclosure.As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0044] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined as such herein.
[0045] The data transmission method according to the present disclosure can be executed by an electronic device such as a terminal device or a server, and the terminal device can be a vehicle-mounted device, a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. The method can be implemented by a processor calling a computer-readable program instruction stored in a memory. Alternatively, the data transmission method provided by the present disclosure can be executed by a server.
[0046] In the first embodiment disclosed, see Figure 1 , Figure 1 A flowchart of a file transmission method provided by the first embodiment of the present disclosure is shown. The method can be applied to a first device, and the method includes:
[0047] S101. Based on a target file to be transmitted, split a transmission task of the target file into multiple transmission subtasks.
[0048] S102: Determine a first transmission subtask assigned to itself and a second transmission subtask assigned to the second device from among multiple transmission subtasks according to device status information of itself and a second device in the same local area network as itself, and send the second transmission subtask to the second device.
[0049] S103. Transmitting corresponding first subtask data based on the first transmission subtask, wherein the second device is configured to transmit corresponding second subtask data based on the second transmission subtask.
[0050] It should be noted that in the method provided by the embodiment of the present disclosure, the device that is assigned the transmission subtask of the target file is called the first device, and the device connected to the first device in the same local area network and participating in the transmission subtask is called the second device. In some scenarios, the first device and the second device can be interchangeable. The first device splits the transmission task of transmitting the target file into multiple transmission subtasks. For the sake of distinction, the transmission subtask executed by the first device itself is called the first transmission subtask, and the transmission subtask assigned by the first device to other second devices for execution is called the second transmission subtask.
[0051] Among them, in S101, the first device can split the transmission task into multiple transmission sub-tasks in a variety of ways, for example, splitting the transmission task of the target file into multiple transmission sub-tasks with equal amounts of data to be transmitted; or, based on the sum of the numbers of the first device and the second device, splitting the transmission task of the target file into multiple transmission sub-tasks with a number equal to the sum of the numbers, which is not limited here.
[0052] The “itself” in S102 refers to the first device.
[0053] Among them, the type of local area network can be contact or contactless. Specifically, the local area network includes at least one of the following: wired local area network, Bluetooth local area network, wireless compatibility certification (WI-FI) network, nearlink network, etc. Of course, it can also include other types of local area networks, which are not limited here.
[0054] Among them, the device status information is used to indicate the current status of the device associated with transmission. For example, the device status information includes at least one of the following: network status information of the second device, transmission capability information of the second device, and device temperature information of the second device. Of course, it can also include any other information that can indicate the current status of the device associated with transmission, which is not limited here.
[0055] In the present disclosure, the number of second devices is one or more. When there are multiple second devices, the first device assigns multiple second transmission subtasks to different second devices, and each second device transmits the second subtask data in parallel based on the second transmission subtask assigned to it.
[0056] It should be noted that the task types of the first transmission subtask and the second transmission subtask include: download type and upload type. Correspondingly, the task type of the target file transmission task and the task type of the split transmission subtask also include upload type and download type. In other words, the method provided by the present invention is applicable to scenarios where files are uploaded to a server, and is also applicable to scenarios where files are downloaded from a server, and is not limited here.
[0057] In some examples, when the task types of the first transmission subtask and the second transmission subtask are download types, the first transmission subtask includes at least: the data location, data volume and task identifier of the first subtask data. The second transmission subtask includes at least: the data location, data volume and task identifier of the second subtask data.
[0058] In this case, in S103, transmitting the corresponding first subtask data based on the first transmission subtask includes:
[0059] Based on the data location, data volume and task identifier in the first transmission subtask, a first subtask data request is generated and sent to the server, wherein the server is configured to parse the first subtask data request, determine the first subtask data located in itself according to the obtained data location and data volume, and send the first subtask data carrying the task identifier to the first device. In this way, the first device establishes a connection with the server to download the first subtask data corresponding to the first transmission subtask.
[0060] In this case, in S103, the second device is configured to transmit the corresponding second subtask data based on the second transmission subtask, including:
[0061] Based on the data location, data volume and task identifier in the second transmission subtask, a second subtask data request is generated and sent to the server, wherein the server is configured to parse the second subtask data request, determine the second subtask data located in itself according to the obtained data location and data volume, and send the second subtask data carrying the task identifier to the second device. In this way, the second device establishes a connection with the server to download the second subtask data corresponding to the second transmission subtask.
[0062] That is, the first device and the second device respectively request the server to establish a connection to download corresponding data.
[0063] When the task types of the first transmission subtask and the second transmission subtask are upload types, the first transmission subtask at least includes: the data volume of the first subtask data and a task identifier. The second transmission subtask at least includes: the data volume of the second subtask data and a task identifier.
[0064] In this case, in S103, transmitting the corresponding first subtask data based on the first transmission subtask includes:
[0065] Based on the data volume and task identifier in the first transmission subtask, a first subtask data request is generated and sent to the server, wherein the server is configured to parse the first subtask data request, determine the data location for storing the first subtask data according to the obtained data volume, record the task identifier, and receive the first subtask data uploaded by the first device based on the data location. In this way, the first device establishes a connection with the server to upload the first subtask data corresponding to the first transmission subtask.
[0066] In this case, in S103, the second device is configured to transmit the corresponding second subtask data based on the second transmission subtask, including:
[0067] Based on the data volume and task identifier in the second transmission subtask, a second subtask data request is generated and sent to the server, wherein the server is configured to parse the second subtask data request, determine the data location for storing the second subtask data according to the obtained data volume, record the task identifier, and receive the second subtask data uploaded by the second device based on the data location. In this way, the second device establishes a connection with the server to upload the second subtask data corresponding to the second transmission subtask.
[0068] That is, the first device and the second device respectively request the server to establish a connection to upload corresponding data.
[0069] In some examples, the first transmission subtask or the second transmission subtask may also include identity authentication information, etc., which is used to provide the server with identity information for verifying the first device or the second device, thereby ensuring the security of the transmission.
[0070] In some examples, when the task types of the transmission task, the transmission subtask, the first transmission subtask, and the second transmission subtask are download types, after S103, the method includes:
[0071] S104: Receive second subtask data sent by the second device, and combine the first subtask data and the second subtask data into a complete target file.
[0072] In the application scenario of downloading files, when the second device completes the second transmission subtask and obtains the complete second subtask data, the second subtask data is shared with the first device. When the first device completes the first transmission subtask and obtains the complete first subtask data, the first subtask data and the second subtask data are sequentially combined into a completion target file.
[0073] The method provided by the present disclosure divides the transmission task of the target file into multiple transmission subtasks through a first device, and determines a first transmission subtask assigned to the first device and a second transmission subtask assigned to the second device from the multiple transmission subtasks according to the device status information of the first device and the second device located in the same local area network as the first device, and sends the second transmission subtask to the second device, so that the first device and the second device execute the first transmission subtask and the second transmission subtask in parallel, thereby being able to utilize the capabilities of multiple devices to jointly perform file transmission, thereby effectively improving the efficiency of file transmission and reducing the time of file transmission compared to the transmission method using a single device, and at the same time being able to avoid the problem of device overheating that may occur in the scenario of single device transmission, resulting in a slow transmission speed.
[0074] In disclosing the second embodiment, see Figure 2 , Figure 2 A flowchart of a file transmission method provided by the second embodiment of the present disclosure is shown. The method can be applied to a first device, and the method includes:
[0075] S201. Based on a target file to be transmitted, split a transmission task of the target file into multiple transmission subtasks.
[0076] Among them, the first device can split the transmission task into multiple transmission sub-tasks in a variety of ways, for example, splitting the transmission task of the target file into multiple transmission sub-tasks with equal amounts of data to be transmitted; or, based on the sum of the number of the first device and the second device, splitting the transmission task of the target file into multiple transmission sub-tasks with a number equal to the sum of the said numbers, which is not limited here.
[0077] S202: Determine, from a plurality of transmission subtasks, a first transmission subtask assigned to itself and a second transmission subtask assigned to the second device according to device status information of itself and a second device in the same local area network as itself.
[0078] In the present disclosure, the number of second devices is one or more. When there are multiple second devices, the first device assigns multiple second transmission subtasks to different second devices, and each second device transmits the second subtask data in parallel based on the second transmission subtask assigned to it.
[0079] Among them, the type of local area network can be contact or contactless. Specifically, the local area network includes at least one of the following: wired local area network, Bluetooth local area network (bluetooth) network, wireless compatibility certification (WI-FI) network, nearlink network, etc., which are not limited here.
[0080] Among them, the device status information is used to indicate the current state of the device associated with transmission. For example, the device status information includes at least one of the following: network status information of the second device, transmission capacity information of the second device, and device temperature information of the second device. Of course, it can also include any other information that can indicate the current state of the device associated with transmission, which is not limited here. Among them, the network status information is used to indicate the quality of the network connection between the second device and the server, for example, including: network bandwidth, transmission speed, network type, etc., which are not limited here; the transmission capacity information of the second device is used to indicate the transmission capacity of the second device, for example, including: antenna model, communication element model, central processing unit model, etc., which are not limited here; the device temperature information of the second device may include: at least one of the surface temperature of the device, the display processor temperature of the device, the communication element temperature of the device, the central processing unit temperature of the device, and the battery temperature of the device, which are not limited here.
[0081] When there are multiple second devices and the device status information includes multiple items, a weight may be preset for each item of information. Then S202 includes:
[0082] For a second device, a weighted calculation is performed based on the preset weights of various device status information; according to the weighted calculation result, the second devices are sorted from high to low according to the device status, in other words, in the order of high to low weighted calculation results; based on the sorting result, multiple second transmission subtasks are assigned to each second device; wherein the number of second transmission subtasks assigned to the second device with a high weighted calculation result is greater than the number of second transmission subtasks assigned to the second device with a low weighted calculation result. In this way, the second transmission subtasks can be reasonably assigned according to the device status of the second device, further improving the efficiency of file transmission.
[0083] S203: Allocate a different task identifier to each second transmission subtask, and send the second transmission subtask carrying the task identifier to the second device.
[0084] Among them, each transmission subtask is assigned a different task identifier, that is, the first legend subtask also has a task identifier, and different task identifiers are assigned to each first transmission subtask and second transmission subtask, so that the first transmission subtask or the second transmission subtask can be identified according to the task identifier, and the order of each first transmission subtask and second subtask data can be confirmed according to the different task identifiers, which is convenient for the final combination of the first subtask data and the second subtask data.
[0085] The task identifiers of the first transmission subtask and the second transmission subtask may be generated in a variety of ways, for example, by generating a plurality of random numbers as task identifiers; or by using a self-increasing number as the task identifier, which is not limited here.
[0086] It should be noted that S202-S203 is an implementation method of S102, wherein S203 is an implementation method of sending the second transmission subtask to the second device in S102. Of course, S102 also includes other implementation methods, which are not limited here.
[0087] S204: Determine, based on the second transmission subtask confirmation message returned by each second device in response to the second transmission subtask, that the second device has received the second transmission subtask.
[0088] After each second device receives the second transmission subtask assigned by the first device, the second device will return a second transmission subtask confirmation message to the first device, so that the first device can determine, based on the second transmission subtask confirmation message, that the second device has received the second transmission subtask assigned to it. Through this reception and confirmation mechanism, the second transmission subtask can be successfully assigned to avoid omissions.
[0089] It should be noted that, in some examples, S204 may be omitted, which is not limited here.
[0090] S205: Parse each second transmission subtask confirmation message to obtain a task identifier carried therein, and perform a repeatability check on each task identifier to determine that the task identifiers of the second transmission subtasks received by each second device are different.
[0091] In the case of S203, the second device generates a second transmission subtask confirmation message based on the task identifier carried in the received second transmission subtask and returns it to the first device. The first device obtains the task identifier by parsing the second transmission subtask confirmation message, and thus can perform a repeatability check on these task identifiers by obtaining the task identifiers returned by each second device. The repeatability check is:
[0092] Determine whether there are repeated task identifiers among the received task identifiers; if it is determined that there are repeated task identifiers, determine a target task identifier among the repeated task identifiers, and send a task termination instruction to the second device corresponding to the task identifier other than the target task identifier, and the second device corresponding to the task identifier other than the target task identifier is configured to stop the corresponding second transmission subtask in response to the task termination instruction; if it is determined that there are no repeated task identifiers, determine that the task identifiers of the second transmission subtasks received by each second device are different, and S206 can be executed.
[0093] In this way, it can be ensured that the second transmission subtasks executed by the respective second devices are different, thereby avoiding repeated allocation of the same second transmission subtask to the second devices, which would cause a waste of transmission resources.
[0094] It should be noted that, in some examples, S205 may be omitted, which is not limited here.
[0095] S206. Transmitting corresponding first subtask data based on the first transmission subtask, wherein the second device is configured to transmit corresponding second subtask data based on the second transmission subtask.
[0096] It should be noted that the task types of the first transmission subtask and the second transmission subtask include: download type and upload type. Correspondingly, the task type of the target file transmission task and the task type of the split transmission subtask also include upload type and download type. In other words, the method provided by the present invention is applicable to scenarios where files are uploaded to a server, and is also applicable to scenarios where files are downloaded from a server, and is not limited here.
[0097] In some examples, when the task types of the first transmission subtask and the second transmission subtask are download types, the first transmission subtask includes at least: the data location, data volume and task identifier of the first subtask data. The second transmission subtask includes at least: the data location, data volume and task identifier of the second subtask data.
[0098] In this case, in S206, transmitting the corresponding first subtask data based on the first transmission subtask includes:
[0099] Based on the data location, data volume and task identifier in the first transmission subtask, a first subtask data request is generated and sent to the server, wherein the server is configured to parse the first subtask data request, determine the first subtask data located in itself according to the obtained data location and data volume, and send the first subtask data carrying the task identifier to the first device. In this way, the first device establishes a connection with the server to download the first subtask data corresponding to the first transmission subtask.
[0100] In this case, in S206, the second device is configured to transmit the corresponding second subtask data based on the second transmission subtask, including:
[0101] Based on the data location, data volume and task identifier in the second transmission subtask, a second subtask data request is generated and sent to the server, wherein the server is configured to parse the second subtask data request, determine the second subtask data located in itself according to the obtained data location and data volume, and send the second subtask data carrying the task identifier to the second device. In this way, the second device establishes a connection with the server to download the second subtask data corresponding to the second transmission subtask.
[0102] That is, the first device and the second device respectively request the server to establish a connection to download corresponding data.
[0103] When the task types of the first transmission subtask and the second transmission subtask are upload types, the first transmission subtask at least includes: the data volume of the first subtask data and a task identifier. The second transmission subtask at least includes: the data volume of the second subtask data and a task identifier.
[0104] In this case, in S206, transmitting the corresponding first subtask data based on the first transmission subtask includes:
[0105] Based on the data volume and task identifier in the first transmission subtask, a first subtask data request is generated and sent to the server, wherein the server is configured to parse the first subtask data request, determine the data location for storing the first subtask data according to the obtained data volume, record the task identifier, and receive the first subtask data uploaded by the first device based on the data location. In this way, the first device establishes a connection with the server to upload the first subtask data corresponding to the first transmission subtask.
[0106] In this case, in S206, the second device is configured to transmit the corresponding second subtask data based on the second transmission subtask, including:
[0107] Based on the data volume and task identifier in the second transmission subtask, a second subtask data request is generated and sent to the server, wherein the server is configured to parse the second subtask data request, determine the data location for storing the second subtask data according to the obtained data volume, record the task identifier, and receive the second subtask data uploaded by the second device based on the data location. In this way, the second device establishes a connection with the server to upload the second subtask data corresponding to the second transmission subtask.
[0108] That is, the first device and the second device respectively request the server to establish a connection to upload corresponding data.
[0109] In some examples, the first transmission subtask or the second transmission subtask may also include identity authentication information, etc., which is used to provide the server with identity information for verifying the first device or the second device, thereby ensuring the security of the transmission.
[0110] S207: Acquire transmission status information of the second device, and adjust the second transmission subtask assigned to the second device in real time according to the transmission status information.
[0111] During the transmission process, the first device can monitor the transmission status information of the second device for the second transmission subtask in real time. In other words, the second device will share its own transmission status information for the second transmission subtask with the first device in real time during the transmission process, so that the first device can adjust the allocation of the second transmission subtask in real time according to the transmission status of the second device, and allocate the second transmission subtask of the second device with poor transmission status, such as slow transmission, transmission error, device overheating, etc., to the second device with good transmission status. In this way, load balancing is achieved and the second transmission subtask is dynamically segmented to maximize the efficiency of file transmission.
[0112] Among them, the transmission status information is used to display the transmission status of the second transmission subtask transmitted by the second device, and may include at least one of the following: transmission progress information, transmission speed information, device temperature information, CPU occupancy rate, physical memory occupancy rate, etc. Of course, it can also include any transmission status that can display the second transmission subtask transmitted by the second device, which is not limited here. Among them, the transmission progress information is used to indicate the execution progress of the second transmission subtask; the transmission speed information is the average speed of the second subtask data corresponding to the second transmission subtask transmitted between the second device and the server; the device temperature information may include: at least one of the surface temperature of the device, the display processor temperature of the device, the communication element temperature of the device, the CPU temperature of the device, and the battery temperature of the device, which is not limited here. According to various types of transmission status information, the transmission status of the second device can be known in multiple dimensions.
[0113] It should be noted that, in some examples, S207 may be omitted, which is not limited here.
[0114] For some examples, see Figure 3 , Figure 3 An exemplary flow chart of S207 is shown. When there are multiple second devices, S207 includes:
[0115] S2071. Determine a transmission status evaluation value of each second device based on the acquired transmission status information of each second device.
[0116] Among them, the transmission status evaluation value is used to indicate whether the transmission status of the second device is normal. When the transmission status evaluation value is lower than or equal to the preset threshold, the transmission status of the second device is regarded as normal; when the transmission status evaluation value is higher than the preset threshold, the transmission status of the second device is regarded as abnormal and needs to be adjusted.
[0117] There are many ways to determine the transmission status evaluation value based on the transmission status information. For example, a single score is determined for each item of transmission status information, and then the transmission status evaluation value is determined based on the average of the single scores; or, a weight is preset for each item of transmission status information, and then a weighted calculation is performed based on each item of transmission status information, and the weighted calculation result is used as the transmission status evaluation value. Of course, more methods can be used, which are not limited here.
[0118] S2072: When it is detected that the transmission state evaluation value of any second device is higher than a threshold, determine it as a second device to be adjusted, and interrupt the second transmission subtask corresponding to the second device to be adjusted.
[0119] For ease of description, in S2071, the second device whose transmission status evaluation value is higher than the threshold is called the second device to be adjusted, and the second device to receive the second transmission subtask executed by the second device to be adjusted is called the target second device.
[0120] When the first device detects that the transmission status evaluation value of any second device is higher than a threshold, in other words, when it is determined that the transmission status of the second device is abnormal, the second device is determined as the second device to be adjusted, and a task interruption instruction is sent to the second device to be adjusted to interrupt the second transmission subtask corresponding to the second device to be adjusted.
[0121] S2073: Based on the transmission status evaluation values of the second devices other than the second device to be adjusted among the second devices, determine the second device with the best transmission status evaluation value as the target second device, and allocate the second transmission subtask corresponding to the second device to be adjusted to the target second device.
[0122] The transmission status evaluation values of other second devices are sorted in descending order, wherein a low transmission status value means a good transmission status, and the second device with the lowest transmission status evaluation value is selected. In other words, the second device with the best transmission status is selected as the target second device, and the second transmission subtask corresponding to the second device to be adjusted is assigned to the target second device, so that the target second device executes the second transmission subtask corresponding to the second device to be adjusted. In this way, load balancing is achieved, and transmission efficiency is further improved.
[0123] For some examples, see Figure 4 , Figure 4An exemplary flow chart of S2073 is shown. In the case where the task type of the second transmission subtask is a download type, in S2073, the second transmission subtask corresponding to the second device to be adjusted is allocated to the target second device, including:
[0124] S20731. Determine a task interruption point of the second transmission subtask corresponding to the second device to be adjusted based on the transmission progress information of the second transmission subtask sent by the second device to be adjusted, and send the task interruption point to the target second device.
[0125] S20732. Send a downloaded data synchronization instruction to the second device to be adjusted.
[0126] The second device to be adjusted is configured to, in response to the downloaded data synchronization instruction, send the second subtask data downloaded by the corresponding second transmission subtask to the target second device via near field communication.
[0127] The target second device is configured to receive and save the downloaded second subtask data, and continue to download the second subtask data of the second transmission subtask after the task interruption point based on the task interruption point.
[0128] Specifically, the task interruption point of the second transmission subtask may include the data location of the second subtask data at the task interruption point on the server. The target second device requests the server based on the data location of the second subtask data at the task interruption point on the server. The server sends the second subtask data after the data location to the target second device based on the data location.
[0129] In this way, the target second device can directly start to continue downloading the second subtask data from the task interruption point of the interrupted second transmission subtask without restarting the downloading, thereby improving the download speed.
[0130] It should be noted that in some examples, at least one step in S2071-S2073 and at least one step in S20731-S20732 can be omitted. For example, when the task type of the first transmission subtask and the second transmission subtask is upload type, S20731-S20732 can be omitted. This is not limited here.
[0131] S208: Send a near field communication test request to the second device.
[0132] S209: Determine a target near field communication mode for transmitting the second subtask data based on the communication test results under the multiple near field communication modes returned by the second device in response to the near field communication test request.
[0133] Among them, S208 and S209 are cases where the near field communication method includes multiple types. When the second subtask data is transmitted by the near field communication method, the near field communication method between the first device and the second device may include multiple types, wherein the near field communication method may be contact or contactless, wired or wireless, which is not limited here. The near field communication method includes, for example: Bluetooth network, wireless compatibility certification network, Star Flash network, AirDrop, etc., which are not limited here.
[0134] It should be noted that when the second device sends the second subtask data to the first device, it can be sent through the local area network that is located together with the first device. In this case, the above-mentioned near-field communication method is the communication method of the local area network, and the local area network is the local area network to which the first device and the second device are connected. The first device and the second device can also establish a new near-field communication connection to send. In this case, the communication method of the local area network and the near-field communication method may be different, and are not limited here.
[0135] Therefore, before the first device and the second device perform near field communication, in other words, before sending the second subtask data to the first device based on the near field communication method, near field communication tests of multiple communication methods can be performed first to select the best near field communication method to send the second subtask data to the first device based on the near field communication method. For ease of explanation, the near field communication method for transmitting the second subtask data is referred to as the target near field communication method.
[0136] The first device sends a near field communication test request to the second device, and the second device responds to the near field communication test request and returns communication test results to the first device respectively through different near field communication modes. In this case, S209 specifically includes:
[0137] The first device determines, according to the time interval between sending the near field communication test request and receiving the communication test result, the near field communication mode corresponding to the communication test result with the shortest time interval as the target near field communication mode.
[0138] The communication test result may be a response message in any format and is not limited here.
[0139] S210: Receive second subtask data sent by a second device based on near field communication, and combine the first subtask data and the second subtask data into a complete target file.
[0140] Among them, the near field communication method in S210 is the target near field communication method in S209. Near field communication is established between the first device and the second device, and the second device shares the second subtask data with the first device through the near field communication method, so that the second subtask data can be obtained without going through the Internet. The connection of the near field communication method is stable, and the first device can obtain the second subtask data faster and more stably.
[0141] In some examples, there are multiple second devices, and the first device communicates with the multiple second devices through different near field communication methods to receive the second subtask data sent by the multiple second devices; for example, the first device and one second device communicate through a Bluetooth network, and the first device and another second device communicate through a wireless compatibility authentication network. In this case, S210 includes:
[0142] The second subtask data sent by each second device based on the near field communication mode corresponding to each second device is received, and the first subtask data and all the second subtask data are combined into a complete target file.
[0143] In some examples, S210 specifically includes:
[0144] Receive the second subtask data sent by each second device based on the near field communication method, and perform integrity verification based on the first subtask data and each second subtask data to ensure the integrity of the target file; if the integrity verification passes, combine the first subtask data and each second subtask data according to the order to obtain a complete target file.
[0145] It should be noted that S210 is an implementation of S104, and S104 also has other implementations, for example, the second subtask data can be transmitted through the Internet. When the task type of the transmission task, the transmission subtask, the first transmission subtask, and the second transmission subtask is a download type, at least one of S208-S210 needs to be executed, and when the task type of the transmission task, the transmission subtask, the first transmission subtask, and the second transmission subtask is an upload type, at least one of S208-S210 can be omitted.
[0146] In disclosing the third embodiment, see Figure 5 , Figure 5 A flowchart of a file transmission method provided by the third embodiment of the present disclosure is shown. The method can be applied to a first device, and the method includes:
[0147] S301. Based on a target file to be transmitted, split a transmission task of the target file into multiple transmission subtasks.
[0148] S302, determining a first transmission subtask assigned to itself and a second transmission subtask assigned to the second device from among multiple transmission subtasks according to device status information of itself and a second device located in the same local area network as itself, and sending the second transmission subtask to the second device;
[0149] S303: Transmitting corresponding first subtask data based on the first transmission subtask, wherein the second device is configured to transmit corresponding second subtask data based on the second transmission subtask.
[0150] For the description of S301 and S302, please refer to the description of the first disclosed embodiment and the second disclosed embodiment.
[0151] In the present disclosure, the first device is assumed to be the master device, which is the device that manages the transmission task of the target file, and other second devices will share device status information and transmission status information with the master device, send second subtask data, etc. The master device is provided with a master device identifier, and other second devices identify the master device based on the master device identifier.
[0152] S304: In response to a master device switching request sent by any target second device, send a master device identifier to the target second device.
[0153] The target second device is configured to determine itself as the master device in response to the master device identifier.
[0154] In some scenarios, it may be necessary to switch the master device, in other words, to switch the master device from the default first device to a second device. For example, a user uses the method provided by the present invention to transfer files on a first device. When the file transfer is not completed, the user needs to move to another location and cannot use the first device. In this case, the master device is switched to a usable target second device. In this case, the user can operate the target second device to trigger a master device switching request to be sent to the first device. The first device responds to the master device switching request sent by the target device, sends a master device identifier to the target second device, and deletes the master device identifier saved in the first device, so that the target second device is set as the master device. Other second devices can recognize that the target second device is the new master device through the master device identifier in the target second device.
[0155] For the convenience of explanation, in S304, the second device selected as the master device after switching is referred to as a target second device.
[0156] When the task type of the transmission task, the transmission subtask, the first transmission subtask, and the second transmission subtask is a download type, after S304, the method further includes:
[0157] S305: Send the downloaded first subtask data corresponding to the first transmission subtask to the target second device through near field communication.
[0158] S306: Determine a task interruption point of the first transmission subtask, and send the task interruption point to the target second device.
[0159] The target second device is configured to receive and save the first subtask data corresponding to the downloaded first transmission subtask, and continue to download the first subtask data of the first transmission subtask after the task interruption point based on the task interruption point; it is also configured to receive the second subtask data sent by other second devices, and combine the first subtask data and the second subtask data into a complete target file.
[0160] Specifically, the task interruption point of the first transmission subtask may include the data location of the first subtask data of the task interruption point on the server. The target second device requests the server based on the data location of the first subtask data of the task interruption point on the server. The server sends the first subtask data after the data location to the target second device based on the data location.
[0161] In this way, the target second device can directly continue downloading the first subtask data from the task interruption point of the interrupted first transmission subtask without restarting the download, thereby improving the download speed. In addition, after the target second device is set as the master device, other second devices will share the downloaded second subtask data with the target second device, and the target second device will combine the first subtask data and the second subtask data to obtain a complete target file.
[0162] It should be noted that in some examples, at least one step in S305 and S306 can be omitted. For example, when the task type of the transmission task, transmission subtask, first transmission subtask and second transmission subtask is an upload type, S305 and S306 can be omitted. This is not limited here.
[0163] In disclosing the fourth embodiment, see Figure 6 , Figure 6 A flowchart of a file transmission method provided by the fourth embodiment of the present disclosure is shown. The method can be applied to a second device, and the method includes:
[0164] S401: Receive a second transmission subtask sent by a first device.
[0165] S402: Transmit corresponding second subtask data based on the second transmission subtask.
[0166] The second transmission subtask is generated by the first device based on any one of the methods of the first to third disclosed embodiments.
[0167] The method provided by the present disclosure divides the transmission task of the target file into multiple transmission subtasks through a first device, and determines a first transmission subtask assigned to the first device and a second transmission subtask assigned to the second device from the multiple transmission subtasks according to the device status information of the first device and the second device located in the same local area network as the first device, and sends the second transmission subtask to the second device, so that the first device and the second device execute the first transmission subtask and the second transmission subtask in parallel, thereby being able to utilize the capabilities of multiple devices to jointly perform file transmission, thereby effectively improving the efficiency of file transmission and reducing the time of file transmission compared to the transmission method using a single device, and at the same time being able to avoid the problem of device overheating that may occur in the scenario of single device transmission, resulting in a slow transmission speed.
[0168] For some examples, see Figure 7 , Figure 7 A flowchart of another file transmission method is shown. After S402, the method further includes:
[0169] S403: In response to receiving the second transmission subtask sent by the first device, return a second transmission subtask confirmation message to the first device.
[0170] After each second device receives the second transmission subtask assigned by the first device, the second device will return a second transmission subtask confirmation message to the first device, so that the first device can determine, based on the second transmission subtask confirmation message, that the second device has received the second transmission subtask assigned to it. Through this reception and confirmation mechanism, the second transmission subtask can be successfully assigned to avoid omissions.
[0171] It should be noted that, in some examples, S403 may be omitted, which is not limited here.
[0172] For some examples, see Figure 8 , Figure 8 An exemplary flow chart of S403 is shown, where the second transmission subtask carries a task identifier. In this case, S403 may include:
[0173] S4031. Parse the received second transmission subtask to obtain the task identifier carried therein.
[0174] S4032: Add the obtained task identifier to a second transmission subtask confirmation message, and send the second transmission subtask confirmation message to the first identifier.
[0175] The second transmission subtask is generated by the first device according to the method in S203.
[0176] Among them, each transmission subtask is assigned a different task identifier, that is, the first legend subtask also has a task identifier, and different task identifiers are assigned to each first transmission subtask and second transmission subtask, so that the first transmission subtask or the second transmission subtask can be identified according to the task identifier, and the order of each first transmission subtask and second subtask data can be confirmed according to the different task identifiers, which is convenient for the final combination of the first subtask data and the second subtask data.
[0177] The task identifiers of the first transmission subtask and the second transmission subtask may be generated in a variety of ways, for example, by generating a plurality of random numbers as task identifiers; or by using a self-increasing number as the task identifier, which is not limited here.
[0178] It should be noted that, in some examples, S4031-S4032 may be omitted and are not limited here.
[0179] S404: Send its own transmission status information to the first device, where the first device is configured to obtain the transmission status information of the second device and adjust the second transmission subtask assigned to the second device in real time according to the transmission status information.
[0180] The “itself” in S404 refers to the second device.
[0181] During the transmission process, the first device can monitor the transmission status information of the second device for the second transmission subtask in real time. In other words, the second device will share its own transmission status information for the second transmission subtask with the first device in real time during the transmission process, so that the first device can adjust the allocation of the second transmission subtask in real time according to the transmission status of the second device, and allocate the second transmission subtask of the second device with poor transmission status, such as slow transmission, transmission error, device overheating, etc., to the second device with good transmission status. In this way, load balancing is achieved and the second transmission subtask is dynamically segmented to maximize the efficiency of file transmission.
[0182] Among them, the transmission status information is used to display the transmission status of the second transmission subtask transmitted by the second device, and may include at least one of the following: transmission progress information, transmission speed information, device temperature information, CPU occupancy rate, physical memory occupancy rate, etc. Of course, it can also include any transmission status that can display the second transmission subtask transmitted by the second device, which is not limited here. Among them, the transmission progress information is used to indicate the execution progress of the second transmission subtask; the transmission speed information is the average speed of the second subtask data corresponding to the second transmission subtask transmitted between the second device and the server; the device temperature information may include: at least one of the surface temperature of the device, the display processor temperature of the device, the communication element temperature of the device, the CPU temperature of the device, and the battery temperature of the device, which is not limited here. According to various types of transmission status information, the transmission status of the second device can be known in multiple dimensions.
[0183] It should be noted that, in some examples, S404 may be omitted, which is not limited here.
[0184] In the case where the second device is determined to be the second device to be adjusted based on the method of S2071 to S2073, after S404, the method further includes:
[0185] S405: interrupt the currently ongoing second transmission subtask.
[0186] Specifically, when the first device detects that the transmission status evaluation value of any second device is higher than a threshold, in other words, when it is determined that the transmission status of the second device is abnormal, the second device is determined as the second device to be adjusted, and a task interruption instruction is sent to the second device to be adjusted to interrupt the second transmission subtask corresponding to the second device to be adjusted.
[0187] In the case where the task types of the transmission task, the transmission subtask, the first transmission subtask, and the second transmission subtask are download types, after S405, the method further includes:
[0188] S406: Send the transmission progress information of the second transmission subtask to the first device.
[0189] According to the method of S20731, the first device is configured to determine the task interruption point of the second transmission subtask based on the transmission progress information, and send the task interruption point to the target second device.
[0190] S407, receiving a downloaded data synchronization instruction sent by the first device, and in response to the downloaded data synchronization instruction, sending the second subtask data downloaded by the corresponding second transmission subtask to the target second device through near field communication.
[0191] Among them, the first device sends a downloaded data synchronization instruction to the second device according to the method of S20732.
[0192] The target second device is configured to receive and save the downloaded second subtask data, and continue to download the second subtask data of the second transmission subtask after the task interruption point based on the task interruption point.
[0193] Specifically, the task interruption point of the second transmission subtask may include the data location of the second subtask data at the task interruption point on the server. The target second device requests the server based on the data location of the second subtask data at the task interruption point on the server. The server sends the second subtask data after the data location to the target second device based on the data location.
[0194] In this way, the target second device can directly start to continue downloading the second subtask data from the task interruption point of the interrupted second transmission subtask without restarting the downloading, thereby improving the download speed.
[0195] It should be noted that, in some cases, at least one of steps S406-S407 can be omitted. For example, when the task type of the transmission task, the transmission subtask, the first transmission subtask, and the second transmission subtask is an upload type, S406-S407 can be omitted. This is not limited here. S408, sending the second subtask data to the first device, wherein the first device is configured to receive the second subtask data, and combine the first subtask data and the second subtask data into a complete target file.
[0196] In the application scenario of downloading files, when the second device completes the second transmission subtask and obtains the complete second subtask data, the second subtask data is shared with the first device. When the first device completes the first transmission subtask and obtains the complete first subtask data, the first subtask data and the second subtask data are sequentially combined into a completion target file.
[0197] It should be noted that when the task type of the transmission task, the transmission subtask, the first transmission subtask and the second transmission subtask is a download type, S408 is executed. In some cases, S408 can be omitted. For example, when the task type of the transmission task, the transmission subtask, the first transmission subtask and the second transmission subtask is an upload type, S408 can be omitted. There is no limitation here.
[0198] In some examples, S408 may specifically be:
[0199] The second subtask data is sent to the first device based on the near field communication method.
[0200] When the second subtask data is transmitted by near field communication, the near field communication methods of the first device and the second device may include multiple methods, wherein the near field communication method may be contact or contactless, which is not limited here. The near field communication method includes, for example, Bluetooth network, wireless compatibility certification network, Star Flash network, AirDrop, etc., which are not limited here.
[0201] Therefore, before the first device and the second device perform near field communication, in other words, before sending the second subtask data to the first device based on the near field communication method, near field communication tests of multiple communication methods can be performed first to select the best near field communication method to send the second subtask data to the first device based on the near field communication method. For ease of explanation, the near field communication method for transmitting the second subtask data is referred to as the target near field communication method. Specifically, after S408, before sending the second subtask data to the first device based on the near field communication method, the method further includes:
[0202] In response to the near field communication test request sent by the first device, communication test results in multiple near field communication modes are sent to the first device.
[0203] The first device determines the target near field communication mode for transmitting the second subtask data according to S209.
[0204] Specifically, the first device sends a near-field communication test request to the second device, and the second device responds to the near-field communication test request by returning the communication test results to the first device through different near-field communication methods. The first device determines that the near-field communication method corresponding to the communication test result with the shortest time interval is the target near-field communication method based on the time interval between sending the near-field communication test request and receiving the communication test result.
[0205] In the fifth embodiment disclosed, see Fig. 9 , Fig. 9 A flowchart of a file transmission method provided by the fifth embodiment of the present disclosure is shown. The method can be applied to a second device, and the method includes:
[0206] S501: Receive a second transmission subtask sent by a first device.
[0207] S502: Transmit corresponding second subtask data based on the second transmission subtask.
[0208] The second transmission subtask is generated by the first device based on any one of the methods of the first to third disclosed embodiments.
[0209] S503: Send a master device switching request triggered by a user operation to the first device.
[0210] The first device returns the master device identifier of the master device of the first device based on the S304 method.
[0211] S504: In response to the master device identification, the device determines itself as the master device.
[0212] In the present disclosure, the first device is assumed to be the master device, which is the device that manages the transmission task of the target file, and other second devices will share device status information and transmission status information with the master device, send second subtask data, etc. The master device is provided with a master device identifier, and other second devices identify the master device based on the master device identifier.
[0213] In some scenarios, it may be necessary to switch the master device, in other words, to switch the master device from the default first device to a second device. For example, a user uses the method provided by the present invention to transfer files on a first device. When the file transfer is not completed, the user needs to move to another location and cannot use the first device. In this case, the master device is switched to a usable target second device. In this case, the user can operate the target second device to trigger a master device switching request to be sent to the first device. The first device responds to the master device switching request sent by the target device, sends a master device identifier to the target second device, and deletes the master device identifier saved in the first device, so that the target second device is set as the master device. Other second devices can recognize that the target second device is the new master device through the master device identifier in the target second device.
[0214] In the case where the task types of the transmission task, the transmission subtask, the first transmission subtask, and the second transmission subtask are download types, after S504, the method includes:
[0215] S505: Receive first subtask data corresponding to a first transmission subtask sent by a first device via near field communication.
[0216] The first device sends the first subtask data according to the method in S305.
[0217] S506: Based on the task interruption point of the first transmission subtask sent by the first device, continue downloading the first subtask data of the first transmission subtask after the task interruption point.
[0218] The first device sends the task interruption point of the first transmission subtask according to the method in S306.
[0219] It should be noted that in some cases, at least one step in S505-S506 can be omitted. For example, when the task type of the transmission task, transmission subtask, first transmission subtask and second transmission subtask is an upload type, S505-S506 can be omitted. This is not limited here.
[0220] In this way, the target second device can directly start to continue downloading the first subtask data from the task interruption point of the interrupted first transmission subtask without restarting the downloading, thereby improving the download speed.
[0221] When the second device is switched to the master device, the second device that is the master device manages the other second devices that are not the master devices and serves as the recipient of the final target file. When the task type of the transmission task, the transmission subtask, the first transmission subtask, and the second transmission subtask is an upload type, after S506, the method further includes:
[0222] S507: Receive the second subtask data sent by the other second device, and combine the first subtask data and the second subtask data into a complete target file.
[0223] After the target second device is set as the main device, other second devices will subsequently share the downloaded second subtask data with the target second device, and the target second device combines the first subtask data and the second subtask data to obtain a complete target file.
[0224] It should be noted that, in some cases, S507 can be omitted. For example, when the task type of the transmission task, transmission subtask, first transmission subtask and second transmission subtask is an upload type, S507 can be omitted. This is not limited here.
[0225] In the sixth embodiment disclosed, based on Figure 1 The same principle, Fig.10 A file transmission device 100 provided in a sixth embodiment of the present disclosure is shown, and the device includes:
[0226] The task splitting module 1001 is used to split the transmission task of the target file into multiple transmission subtasks based on the target file to be transmitted.
[0227] The task allocation module 1002 is used to determine the first transmission subtask assigned to itself and the second transmission subtask assigned to the second device among multiple transmission subtasks based on the device status information of itself and the second device in the same local area network as itself, and send the second transmission subtask to the second device.
[0228] The task transmission module 1003 is used to transmit the corresponding first subtask data based on the first transmission subtask, wherein the second device is configured to transmit the corresponding second subtask data based on the second transmission subtask.
[0229] In some examples, the task type of the first transmission subtask and the second transmission subtask is a download type;
[0230] The device also includes:
[0231] The data assembly module is used to receive the second subtask data sent by the second device, and combine the first subtask data and the second subtask data into a complete target file.
[0232] In some examples, the apparatus further includes:
[0233] The transmission status module is used to obtain the transmission status information of the second device and adjust the second transmission subtask assigned to the second device in real time according to the transmission status information.
[0234] In some examples, the number of second devices is multiple;
[0235] The transmission status module is specifically used for:
[0236] Determine a transmission status evaluation value of each second device based on the acquired transmission status information of each second device;
[0237] When it is detected that the transmission state evaluation value of any second device is higher than the threshold, determine it as the second device to be adjusted, and interrupt the second transmission subtask corresponding to the second device to be adjusted;
[0238] Based on the transmission state evaluation values of the second devices other than the second device to be adjusted among the second devices, the second device with the best transmission state evaluation value is determined as the target second device, and the second transmission subtask corresponding to the second device to be adjusted is allocated to the target second device.
[0239] In some examples, the task type of the second transmission subtask is a download type;
[0240] The transmission status module is used, when allocating the second transmission subtask corresponding to the second device to be adjusted to the target second device:
[0241] Determine, based on the transmission progress information of the second transmission subtask sent by the second device to be adjusted, a task interruption point of the second transmission subtask corresponding to the second device to be adjusted, and send the task interruption point to the target second device;
[0242] Sending a downloaded data synchronization instruction to the second device to be adjusted;
[0243] The second device to be adjusted is configured to, in response to the downloaded data synchronization instruction, send the second subtask data downloaded by the corresponding second transmission subtask to the target second device via near field communication;
[0244] The target second device is configured to receive and save the downloaded second subtask data, and continue to download the second subtask data of the second transmission subtask after the task interruption point based on the task interruption point.
[0245] In some examples, the transmission status information includes at least one of the following: transmission progress information, transmission speed information, device temperature information, central processing unit occupancy rate, and physical memory occupancy rate.
[0246] In some examples, the first device is a master device that manages the transmission task of the target file and is provided with a master device identifier;
[0247] The device also includes:
[0248] A master device switching module, configured to send a master device identifier to a target second device in response to a master device switching request sent by any target second device;
[0249] The target second device is configured to determine itself as the master device in response to the master device identifier.
[0250] In some examples, the task type of the first transmission subtask is a download type;
[0251] The device also includes:
[0252] A data sharing module, used to send the first subtask data corresponding to the downloaded first transmission subtask to a target second device via a near field communication method;
[0253] Determine a task interruption point of the first transmission subtask, and send the task interruption point to the target second device;
[0254] The target second device is configured to receive and save the first subtask data corresponding to the downloaded first transmission subtask, and continue to download the first subtask data of the first transmission subtask after the task interruption point based on the task interruption point; it is also configured to receive the second subtask data sent by other second devices, and combine the first subtask data and the second subtask data into a complete target file.
[0255] In some examples, the apparatus further includes:
[0256] The first confirmation module is used to determine that the second device has received the second transmission subtask based on the second transmission subtask confirmation message returned by each second device in response to the second transmission subtask.
[0257] In some examples, the number of second devices is multiple;
[0258] The task allocation module is specifically used to:
[0259] assigning different task identifiers to each second transmission subtask, and sending the second transmission subtask carrying the task identifier to the second device;
[0260] The device also includes:
[0261] The first identification module is used to parse each second transmission subtask confirmation message to obtain the task identification carried therein, and perform a repeatability check on each task identification to determine that the task identifications of the second transmission subtasks received by each second device are different.
[0262] In some examples, the task types of the first transmission subtask and the second transmission subtask include: a download type and an upload type;
[0263] In the case where the task types of the first transmission subtask and the second transmission subtask are download types, the first transmission subtask at least includes: the data location, data volume and task identifier of the first subtask data; the second transmission subtask at least includes: the data location, data volume and task identifier of the second subtask data;
[0264] When the task types of the first transmission subtask and the second transmission subtask are upload types, the first transmission subtask includes at least: the data volume and task identifier of the first subtask data; the second transmission subtask includes at least: the data volume and task identifier of the second subtask data.
[0265] In some examples, the data assembly module is specifically used to:
[0266] The second subtask data sent by the second device based on the near field communication mode is received, and the first subtask data and the second subtask data are combined into a complete target file.
[0267] In some examples, the near field communication methods include multiple;
[0268] The device also includes:
[0269] A near field communication test module, configured to send a near field communication test request to the second device;
[0270] Based on the communication test results under the multiple near field communication modes returned by the second device in response to the near field communication test request, a target near field communication mode in which the second subtask data is to be transmitted is determined.
[0271] In some examples, the device status information includes at least one of the following: network status information of the second device, transmission capability information of the second device, and device temperature information of the second device.
[0272] In some examples, the local area network includes at least one of the following: a wired local area network, a Bluetooth network, and a wireless compatibility certification network.
[0273] In the disclosed seventh embodiment, based on Figure 6 The same principle, Fig.11A file transmission device 110 provided by the seventh embodiment of the present disclosure is shown, and the device includes:
[0274] The task receiving module 1101 is used to receive a second transmission subtask sent by the first device;
[0275] The task execution module 1102 is used to transmit the corresponding second subtask data based on the second transmission subtask.
[0276] The second transmission subtask is generated by the first device based on any one of the methods of the first to third disclosed embodiments.
[0277] In some examples, the task type of the second transmission subtask is a download type;
[0278] The device also includes:
[0279] The data sending module is used to send the second subtask data to the first device, wherein the first device is configured to receive the second subtask data and combine the first subtask data and the second subtask data into a complete target file.
[0280] In some examples, the apparatus further includes:
[0281] The state sharing module is used to send its own transmission state information to the first device. The first device is configured to obtain the transmission state information of the second device and adjust the second transmission subtask assigned to the second device in real time according to the transmission state information.
[0282] In some examples, the apparatus further includes:
[0283] The task interruption module is used to interrupt the second transmission subtask currently being performed.
[0284] In some examples, the second transmission subtask is a download-type second transmission subtask;
[0285] The device also includes:
[0286] a progress sharing module, configured to send the transmission progress information of the second transmission subtask to the first device, wherein the first device is configured to determine a task interruption point of the second transmission subtask based on the transmission progress information, and send the task interruption point to the target second device;
[0287] A data synchronization module, configured to receive a downloaded data synchronization instruction sent by the first device, and in response to the downloaded data synchronization instruction, send the second subtask data downloaded by the corresponding second transmission subtask to a target second device via a near field communication method;
[0288] The target second device is configured to receive and save the downloaded second subtask data, and continue to download the second subtask data of the second transmission subtask after the task interruption point based on the task interruption point.
[0289] In some examples, the apparatus further includes:
[0290] A switching module, used for sending a master device switching request triggered by a user operation to the first device, and the first device returns the master device request of the first device based on the above method;
[0291] In response to the master device identification, the device determines itself as the master device.
[0292] In some examples, the task type of the first transmission subtask is a download type;
[0293] After determining itself as the master device in response to the master device identification, the method further includes:
[0294] Receiving first subtask data corresponding to a first transmission subtask sent by a first device through a near field communication method;
[0295] Based on the task interruption point of the first transmission subtask sent by the first device, continue to download the first subtask data of the first transmission subtask after the task interruption point.
[0296] In some examples, the apparatus further includes:
[0297] The data receiving module is used to receive the second subtask data sent by other second devices, and combine the first subtask data and the second subtask data into a complete target file.
[0298] In some examples, the apparatus further includes:
[0299] The second confirmation module is configured to return a second transmission subtask confirmation message to the first device in response to receiving the second transmission subtask sent by the first device.
[0300] In some examples, the second transmission subtask carries a task identifier;
[0301] The second confirmation module is specifically used for:
[0302] Parsing the received second transmission subtask to obtain the task identifier carried therein;
[0303] The obtained task identifier is added to the second transmission subtask confirmation message, and the second transmission subtask confirmation message is sent to the first identifier.
[0304] In some examples, the data sending module is specifically used to:
[0305] The second subtask data is sent to the first device based on the near field communication method.
[0306] In some examples, the apparatus further includes:
[0307] a communication result module, configured to send communication test results in a plurality of near field communication modes to the first device in response to a near field communication test request sent by the first device;
[0308] The first device determines the target near field communication mode for transmitting the second subtask data in the above manner.
[0309] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0310] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0311] Fig.12 A schematic block diagram of an example electronic device 1200 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0312] like Fig.12 As shown, the device 1200 includes a computing unit 1201, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1202 or a computer program loaded from a storage unit 12012 into a random access memory (RAM) 1203. In the RAM 1203, various programs and data required for the operation of the device 1200 can also be stored. The computing unit 1201, the ROM 1202, and the RAM 1203 are connected to each other via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.
[0313] A number of components in the device 1200 are connected to the I / O interface 1205, including: an input unit 1206, such as a keyboard, a mouse, etc.; an output unit 1207, such as various types of displays, speakers, etc.; a storage unit 1208, such as a disk, an optical disk, etc.; and a communication unit 1209, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1209 allows the device 1200 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0314] The computing unit 1201 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1201 performs the various methods and processes described above, such as a file transfer method. For example, in some embodiments, the file transfer method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1208. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1200 via ROM 1202 and / or communication unit 1209. When the computer program is loaded into RAM 1203 and executed by the computing unit 1201, one or more steps of the file transfer method described above may be performed. Alternatively, in other embodiments, the computing unit 1201 may be configured as a file transfer method in any other appropriate manner (e.g., by means of firmware).
[0315] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0316] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0317] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0318] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0319] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0320] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0321] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0322] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A file transfer method, in, Applied in a first device, the method includes: Based on the target file to be transmitted, splitting the transmission task of the target file into multiple transmission subtasks; Determine, according to the device status information of the device and the second device in the same local area network as the device, a first transmission subtask assigned to the device and a second transmission subtask assigned to the second device from among the multiple transmission subtasks, and send the second transmission subtask to the second device; The corresponding first subtask data is transmitted based on the first transmission subtask, wherein the second device is configured to transmit the corresponding second subtask data based on the second transmission subtask.
2. The method according to claim 1, in, The task types of the first transmission subtask and the second transmission subtask are download types; The first subtask data corresponding to the transmission is transmitted based on the first transmission subtask, wherein the second device is configured to, after the second subtask data corresponding to the transmission is transmitted based on the second transmission subtask, the method further includes: The second subtask data sent by the second device is received, and the first subtask data and the second subtask data are combined into a complete target file.
3. The method according to claim 1 or 2, in, The first subtask data corresponding to the transmission is transmitted based on the first transmission subtask, wherein the second device is configured to, after the second subtask data corresponding to the transmission is transmitted based on the second transmission subtask, the method further includes: Acquire transmission status information of the second device, and adjust the second transmission subtask assigned to the second device in real time according to the transmission status information.
4. The method according to claim 3, in, The number of the second devices is multiple; The acquiring the transmission status information of the second device, and adjusting the second transmission subtask assigned to the second device in real time according to the transmission status information, includes: Determine a transmission status evaluation value of each of the second devices based on the acquired transmission status information of each of the second devices; In the case where it is detected that the transmission state evaluation value of any second device is higher than a threshold, determining it as a second device to be adjusted, and interrupting the second transmission subtask corresponding to the second device to be adjusted; Based on the transmission status evaluation values of the second devices other than the second device to be adjusted among the second devices, the second device with the best transmission status evaluation value is determined as the target second device, and the second transmission subtask corresponding to the second device to be adjusted is allocated to the target second device.
5. The method according to claim 4, in, The task type of the second transmission subtask is a download type; The allocating the second transmission subtask corresponding to the second device to be adjusted to the target second device includes: Determine, based on the transmission progress information of the second transmission subtask sent by the second device to be adjusted, a task interruption point of the second transmission subtask corresponding to the second device to be adjusted, and send the task interruption point to the target second device; Sending a downloaded data synchronization instruction to the second device to be adjusted; The second device to be adjusted is configured to, in response to the downloaded data synchronization instruction, send the second subtask data downloaded by the corresponding second transmission subtask to the target second device via near field communication; The target second device is configured to receive and save the downloaded second subtask data, and continue to download the second subtask data of the second transmission subtask after the task interruption point based on the task interruption point.
6. The method according to any one of claims 3 to 5, in, The transmission status information includes at least one of the following: transmission progress information, transmission speed information, device temperature information, CPU occupancy rate, and physical memory occupancy rate.
7. The method according to any one of claims 1 to 6, in, The first device is a master device that manages the transmission task of the target file and is provided with a master device identifier; The first subtask data corresponding to the transmission is transmitted based on the first transmission subtask, wherein the second device is configured to, after the second subtask data corresponding to the transmission is transmitted based on the second transmission subtask, the method further includes: In response to a master device switching request sent by any target second device, sending a master device identifier to the target second device; The target second device is configured to determine itself as the master device in response to the master device identifier.
8. The method according to claim 7, in, The task type of the first transmission subtask is a download type; After the master device identification is sent to the target second device in response to the master device switching request sent by any target second device, the method further includes: Sending the downloaded first subtask data corresponding to the first transmission subtask to the target second device through near field communication; Determine a task interruption point of the first transmission subtask, and send the task interruption point to the target second device; The target second device is configured to receive and save the first subtask data corresponding to the downloaded first transmission subtask, and continue to download the first subtask data of the first transmission subtask after the task interruption point based on the task interruption point; and is also configured to receive the second subtask data sent by other second devices, and combine the first subtask data and the second subtask data into a complete target file.
9. The method according to any one of claims 1 to 8, in, After determining, according to the device status information of the device itself and the second device located in the same local area network as the device itself, a first transmission subtask assigned to the device itself and a second transmission subtask assigned to the second device from among the multiple transmission subtasks, and sending the second transmission subtask to the second device, and before transmitting the corresponding first subtask data based on the first transmission subtask, the method further includes: Based on the second transmission subtask confirmation message returned by each of the second devices in response to the second transmission subtask, it is determined that the second device has received the second transmission subtask.
10. The method according to claim 9, in, The number of the second devices is multiple; The sending the second transmission subtask to the second device includes: assigning a different task identifier to each of the second transmission subtasks, and sending the second transmission subtask carrying the task identifier to the second device; After determining that the second device has received the second transmission subtask based on the second transmission subtask confirmation message returned by each second device in response to the second transmission subtask, and before transmitting the corresponding first subtask data based on the first transmission subtask, the method further includes: Each of the second transmission subtask confirmation messages is parsed to obtain the task identifier carried therein, and a repeatability check is performed on each of the task identifiers to determine that the task identifiers of the second transmission subtasks received by each of the second devices are different.
11. The method according to any one of claims 1 to 10, in, The task types of the first transmission subtask and the second transmission subtask include: download type and upload type; In the case where the task types of the first transmission subtask and the second transmission subtask are download types, the first transmission subtask at least includes: the data location, data volume and task identifier of the first subtask data; the second transmission subtask at least includes: the data location, data volume and task identifier of the second subtask data; When the task types of the first transmission subtask and the second transmission subtask are upload types, the first transmission subtask includes at least: the data volume and task identifier of the first subtask data; the second transmission subtask includes at least: the data volume and task identifier of the second subtask data.
12. The method according to any one of claims 2 to 11, in, The receiving the second subtask data sent by the second device, and combining the first subtask data and the second subtask data into a complete target file, includes: The second subtask data sent by the second device based on the near field communication method is received, and the first subtask data and the second subtask data are combined into a complete target file.
13. The method according to claim 12, in, The near field communication method includes multiple methods; The method further comprises: transmitting the corresponding first subtask data based on the first transmission subtask, wherein the second device is configured to, after transmitting the corresponding second subtask data based on the second transmission subtask, and before receiving the second subtask data sent by the second device based on the near field communication mode, and combining the first subtask data and the second subtask data into a complete target file, the method further comprises: Sending a near field communication test request to the second device; A target near field communication mode for transmitting the second subtask data is determined based on communication test results in multiple near field communication modes returned by the second device in response to the near field communication test request.
14. The method according to any one of claims 1 to 13, in, The device status information includes at least one of the following: network status information of the second device, transmission capability information of the second device, and device temperature information of the second device.
15. The method according to any one of claims 1 to 14, in, The local area network includes at least one of the following: a wired local area network, a Bluetooth local area network, and a wireless compatibility authentication network.
16. A file transfer method, in, Applied in the second device, the method includes: Receiving a second transmission subtask sent by the first device; Transmitting corresponding second subtask data based on the second transmission subtask; The second transmission subtask is generated by the first device based on the method described in any one of claims 1-15.
17. The method according to claim 16, in, The task type of the second transmission subtask is a download type; After transmitting the corresponding second subtask data based on the second transmission subtask, the method further includes: The second subtask data is sent to the first device, wherein the first device is configured to receive the second subtask data and combine the first subtask data and the second subtask data into a complete target file.
18. The method according to claim 16 or 17, in, After transmitting the corresponding second subtask data based on the second transmission subtask, the method further includes: The transmission status information of the first device is sent to the first device, and the first device is configured to obtain the transmission status information of the second device, and adjust the second transmission subtask assigned to the second device in real time according to the transmission status information.
19. The method according to claim 18, in, In the case where the second device is determined as the second device to be adjusted based on the method of claim 4, after sending its own transmission status information to the first device, the method further includes: The second transmission subtask currently being performed is interrupted.
20. The method according to claim 19, in, The second transmission subtask is a second transmission subtask of a download type; After interrupting the second transmission subtask currently being performed, the method further includes: Sending the transmission progress information of the second transmission subtask to the first device, wherein the first device is configured to determine a task interruption point of the second transmission subtask based on the transmission progress information, and send the task interruption point to the target second device; receiving a downloaded data synchronization instruction sent by the first device, and in response to the downloaded data synchronization instruction, sending the second subtask data downloaded by the corresponding second transmission subtask to the target second device through a near field communication method; The target second device is configured to receive and save the downloaded second subtask data, and continue to download the second subtask data of the second transmission subtask after the task interruption point based on the task interruption point.
21. The method according to any one of claims 16 to 20, in, After transmitting the corresponding second subtask data based on the second transmission subtask, the method further includes: sending a master device switching request triggered by a user operation to the first device, and the first device returning a master device identifier of the first device in the manner described in claim 7; In response to the master device identification, the device determines itself as a master device.
22. The method according to claim 21, in, The task type of the first transmission subtask is download type; After determining itself as the master device in response to the master device identification, the method further includes: Receiving first subtask data corresponding to the first transmission subtask sent by the first device through near field communication; Based on the task interruption point of the first transmission subtask sent by the first device, continue downloading the first subtask data of the first transmission subtask after the task interruption point.
23. The method according to claim 22, in, After continuing to download the first subtask data of the first transmission subtask after the task interruption point of the first transmission subtask sent by the first device, the method further includes: The second subtask data sent by another second device is received, and the first subtask data and the second subtask data are combined into a complete target file.
24. The method according to any one of claims 16 to 23, in, After receiving the second transmission subtask sent by the first device and before transmitting the corresponding second subtask data based on the second transmission subtask, the method further includes: In response to receiving the second transmission subtask sent by the first device, a second transmission subtask confirmation message is returned to the first device.
25. The method according to claim 24, in, The second transmission subtask carries a task identifier; The step of returning a second transmission subtask confirmation message to the first device in response to receiving the second transmission subtask sent by the first device comprises: Parsing the received second transmission subtask to obtain the task identifier carried therein; The obtained task identifier is added to a second transmission subtask confirmation message, and the second transmission subtask confirmation message is sent to the first identifier.
26. The method according to any one of claims 17 to 25, in, The sending the second subtask data to the first device includes: The second subtask data is sent to the first device based on a near field communication method.
27. The method according to any one of claims 26, in, After transmitting the corresponding second subtask data based on the second transmission subtask and before sending the second subtask data to the first device based on the near field communication method, the method further includes: In response to the near field communication test request sent by the first device, sending communication test results in multiple near field communication modes to the first device; Wherein, the first device determines the target near field communication mode for transmitting the second subtask data in the manner described in claim 13.
28. A file transmission device, in, The device comprises: A task splitting module is used to split the transmission task of the target file into multiple transmission subtasks based on the target file to be transmitted; a task allocation module, configured to determine, according to device status information of the module and a second device located in the same local area network as the module, a first transmission subtask allocated to the module and a second transmission subtask allocated to the second device from among the plurality of transmission subtasks, and send the second transmission subtask to the second device; The task transmission module is used to transmit the corresponding first subtask data based on the first transmission subtask, wherein the second device is configured to transmit the corresponding second subtask data based on the second transmission subtask.
29. The device according to claim 28, in, The task types of the first transmission subtask and the second transmission subtask are download types; The device also includes: A data assembling module is used to receive the second subtask data sent by the second device, and combine the first subtask data and the second subtask data into a complete target file.
30. The device according to claim 28 or 29, in, The device also includes: The transmission status module is used to obtain the transmission status information of the second device and adjust the second transmission subtask assigned to the second device in real time according to the transmission status information.
31. A file transmission device, in, The device comprises: A task receiving module, used for receiving a second transmission subtask sent by the first device; A task execution module, used for transmitting corresponding second subtask data based on the second transmission subtask; The second transmission subtask is generated by the first device based on the method described in any one of claims 1-15.
32. The device according to claim 31, in, The task type of the second transmission subtask is a download type; The device also includes: A data sending module is used to send the second subtask data to the first device, wherein the first device is configured to receive the second subtask data and combine the first subtask data and the second subtask data into a complete target file.
33. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method of any one of claims 1-15 and / or to execute the method of any one of claims 16-27.
34. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-15, and / or to execute the method according to any one of claims 16-27.
35. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1-15 and / or implements the method according to any one of claims 16-27.
Citation Information
Patent Citations
Collaborative downloading task scheduling method and system for mobile intelligent terminals
CN103412795A
Data processing method and device, electronic equipment and medium
CN112035258A
Downloading method, terminal and computer storage medium
CN112243038A
Node data uploading method and device, equipment and storage medium
CN114885373A
Data transmission method and system oriented to computing power hub, medium and electronic equipment
CN115766878A
Cited By
Star flash MESH networking data communication method, equipment, system and medium
CN120416923A
