Remote end downloading management method and related equipment
By creating virtual task mapping remote download tasks on the local side, the problem of inconvenience of downloading files on the remote side to users to use on the local side is solved, and the effect of users being able to conveniently remotely control and manage remote files is achieved.
Patent Information
- Application Number
- CN202311606252.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2025-05-30
AI Technical Summary
In the prior art, downloading files on the remote side causes inconvenience to users using them on the local side.
When downloading files on the remote side, create a virtual task on the local side, map the download tasks on the remote side, and update the download progress and download status according to the download tasks on the remote side. After the download is completed, the virtual task is converted into a download record, and the file information is recorded in association, so that the user can remotely control, manage and use the corresponding remote files based on the download record.
It solves the problem of inconvenience in downloading files on the remote side to users on the local side, allowing users to conveniently remotely control, manage and use remote files.
Smart Images

Figure CN120067475A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of computer and communication technologies, and more particularly, to a remote - end download management method and related devices. Background Art
[0002] A remote browser means that when a user accesses an external website using a common browser, instead of directly accessing it, the user first accesses the browser deployed on a remote server, and then the browser on the remote server accesses the external website. After the access is successful, the remote browser generates a web page image and transmits it to the browser used by the user for display.
[0003] When a user uses a browser, the function of downloading files from a web page is usually required. Since the web page actually runs in a remote environment, when downloading a file from the web page, the downloaded file is stored in the remote environment, which brings inconvenience to the user's use on the local side. Summary of the Invention
[0004] Embodiments of this application provide a remote - end download management method and related devices, which can, to at least a certain extent, overcome the problem that downloading files at the remote end in the prior art brings inconvenience to the user's use on the local side.
[0005] Other features and advantages of this application will become apparent through the following detailed description, or will be partially learned through the practice of this application.
[0006] According to one aspect of the embodiments of this application, a remote - end download management method is provided. The remote - end download management method includes: in response to a user's download instruction, creating a download task at the remote end and obtaining download information, where the download instruction includes user configuration items; creating a virtual download task in a download manager according to the download information and the user configuration items; obtaining the download progress and download status sent from the remote end and updating the download progress and download status in the virtual download task; when the virtual download task is completed, converting it into a download record correspondingly in the download manager, and the download record is associated with file information.
[0007] In some embodiments of this application, the step of creating a virtual download task in a download manager according to the download information and the user configuration items specifically includes: generating a virtual task framework according to the user configuration items; generating a virtual download task on the basis of the virtual task framework according to the download information.
[0008] In some embodiments of the present application, the user configuration item includes a download task type. After obtaining the download progress and download status sent by the remote end and updating the download progress and download status in the virtual download task, the remote end download management method further includes: if the download task type is a cloud disk task, after the file download is completed, receiving the cloud disk upload progress sent by the remote end and updating the cloud disk upload progress in the virtual download task.
[0009] In some embodiments of the present application, after obtaining the download progress and download status sent by the remote end and updating the download progress and download status in the virtual download task, the remote end download management method further includes: every predetermined time, obtaining cloud disk files from the cloud disk and synchronizing them to the local; associating the cloud disk files with the corresponding download records.
[0010] In some embodiments of the present application, after creating a virtual download task in the download manager according to the download information and the user configuration item, the remote end download management method further includes: in response to a control operation of the user, sending a corresponding control instruction to the remote end so that the remote end executes the control instruction; receiving the execution result returned after the remote end executes the control instruction and updating the download manager.
[0011] In some embodiments of the present application, after the virtual download task is completed and is correspondingly converted into a download record in the download manager, the remote end download management method further includes: in response to the user's operation of opening a file, sending a file opening instruction to the remote end so that the remote end opens the file; receiving the window information returned after the remote end opens the file and establishing a window mapping so that the user can control the remote end through the window mapping.
[0012] In some embodiments of the present application, after obtaining the download progress and download status sent by the remote end and updating the download progress and download status in the virtual download task, the remote end download management method further includes: in response to the user's local download operation on the download record, sending a download request and download information to the remote end so that the remote end locates the target file according to the download. The target file is the target file corresponding to the download record; receiving the target file sent by the remote end and storing the target file locally.
[0013] According to one aspect of the embodiments of the present application, a remote - end download management device is provided. The remote - end download management device includes: a download task creation module, configured to create a download task at the remote end in response to a user's download instruction and obtain download information, where the download instruction includes user configuration items; a virtual task creation module, configured to create a virtual download task in a download manager according to the download information and the user configuration items; a progress status update module, configured to obtain the download progress and download status sent by the remote end and update the download progress and download status in the virtual download task; a download record generation module, configured to, when the virtual download task is completed, convert it into a download record correspondingly in the download manager, and the download record is associated with file information.
[0014] In some embodiments of the present application, the virtual task creation module specifically includes: a framework generation sub - module, configured to generate a virtual task framework according to the user configuration items; a task generation sub - module, configured to generate a virtual download task on the basis of the virtual task framework according to the download information.
[0015] In some embodiments of the present application, the user configuration items include the download task type. The remote - end download management device further includes: a cloud disk file upload module, configured to, if the download task type is a cloud disk task, receive the cloud disk upload progress sent by the remote end after the file is downloaded and update the cloud disk upload progress in the virtual download task.
[0016] In some embodiments of the present application, the remote - end download management device further includes: a file cyclic synchronization module, configured to obtain cloud disk files from the cloud disk and synchronize them to the local at a predetermined interval; a file record association module, configured to associate the cloud disk files with the corresponding download records.
[0017] In some embodiments of the present application, the remote - end download management device further includes: a remote control operation module, configured to send a corresponding control instruction to the remote end in response to a user's control operation, so that the remote end executes the control instruction; an execution result update module, configured to receive the execution result returned by the remote end after executing the control instruction and update the download manager.
[0018] In some embodiments of the present application, the remote - end download management device further includes: a file remote - open module, configured to send a file open instruction to the remote end in response to a user's operation of opening a file, so that the remote end opens the file; a window mapping establishment module, configured to receive the window information returned by the remote end after opening the file and establish a window mapping, so that the user can control the remote end through the window mapping.
[0019] In some embodiments of the present application, the remote - end download management device further includes: a local file download module, configured to, in response to a user's local download operation on the download record, send a download request and download information to the remote end, so that the remote end locates the target file according to the download, and the target file is the target file corresponding to the download record; a local file storage module, configured to receive the target file sent by the remote end and store the target file locally.
[0020] According to one aspect of the embodiments of the present application, there is provided a computer - readable medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the remote - end download management method as described in the above embodiments.
[0021] According to one aspect of the embodiments of the present application, there is provided an electronic device, including: one or more processors; a storage device, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the remote - end download management method as described in the above embodiments.
[0022] In the technical solutions provided by some embodiments of the present application, when downloading a file at the remote end, a virtual task is correspondingly created at the local end to map the download task at the remote end, and the download progress and download status are updated following the download task at the remote end. After the download is completed, the virtual task is transformed into a download record to associate and record file information to map the remote end, enabling the user to remotely control, manage, and use the corresponding remote file based on the download record, and solving the problem in the prior art that downloading files at the remote end brings inconvenience to the user in using them at the local end.
[0023] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts. In the drawings:
[0025] Figure 1 A schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied is shown.
[0026] Figure 2 A flowchart of a remote - end download management method provided by an embodiment of the present application is shown.
[0027] Figure 3 The figure shows a schematic structural diagram of a remote - end download management device provided by an embodiment of the present application.
[0028] Figure 4 The figure shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more complete and comprehensive, and will fully convey the concept of the example embodiments to those skilled in the art.
[0030] In addition, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of the present application. However, those skilled in the art will realize that the technical solutions of the present application can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, well - known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the present application.
[0031] The block diagrams shown in the drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0032] The flowcharts shown in the drawings are only exemplary illustrations and do not necessarily include all the content and operations / steps, nor do they necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined, so the actual execution order may change according to the actual situation.
[0033] Figure 1 The figure shows a schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied. As Figure 1 shown, the system architecture can include a client 100 and a remote end 200.
[0034] A browser is installed on the client 100, which is a terminal device for the user to operate the browser. It can be a mobile terminal, a notebook, a desktop computer, a wearable device, a digital camera, or any other terminal device with a browser installed. A browser is also installed on the remote end 200, which is connected to the client 100 and is the device controlled by the user through the client 100 for actual remote control. It can also be a mobile terminal, a notebook, a desktop computer, a wearable device, a digital camera, or any other terminal device with a browser installed.
[0035] When the user controls the browser on the remote end 200 to download a file through the browser on the client 100, user configuration items will be configured to generate a download instruction. The client 100 responds to the user's download instruction and creates a download task on the remote end 200. After the download task is created on the remote end 200, the remote end 200 returns download information to the client 100. At this time, the client 100 creates a virtual download task in the download manager according to the download information and the user configuration items. After that, the remote end 200 continuously sends the download progress and download status to the client 100, and the client 100 updates the download progress and download status in the virtual download task. When the virtual download task is completed, the remote end 200 returns the information indicating the download is completed, and the client 100 converts the virtual download task into a download record in its download manager, and the download record is associated with and records the file information.
[0036] It should be noted that the client 100 and the server can be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., but are not limited thereto. The client 100 and the server can be connected through Bluetooth, USB (Universal Serial Bus), or other communication connection methods, and the present invention does not limit this here.
[0037] The implementation details of the technical solution of the embodiments of the present application are elaborated in detail below:
[0038] Figure 2 The flowchart of the remote end download management method according to an embodiment of the present application is shown. This remote end download management method can be executed by the client, and the client can be Figure 1 the client 100 shown in Figure 2 As shown, this remote end download management method at least includes:
[0039] Step S100, in response to the user's download instruction, create a download task on the remote end and obtain download information, where the download instruction includes user configuration items.
[0040] Step S200, create a virtual download task in the download manager according to the download information and the user configuration items.
[0041] Step S300: Obtain the download progress and download status sent by the remote end, and update the download progress and download status in the virtual download task.
[0042] Step S400: When the virtual download task is completed, convert it into a download record in the download manager, and the download record is associated with file information.
[0043] In the embodiments of the present application, when downloading a file from the remote end, a virtual task is correspondingly created at the local end to map the download task at the remote end, and the download progress and download status are updated following the download task at the remote end. After the download is completed, the virtual task is converted into a download record associated with the file information to map the remote end, enabling the user to remotely control, manage, and use the corresponding remote file based on the download record, solving the problem that the existing technology of downloading files from the remote end brings inconvenience to the user in using the files at the local end.
[0044] In step S100, the user operates on the remote end through the client. When triggering the remote download function, various corresponding configuration items need to be selected simultaneously to form user configuration items. After clicking to download the file, a download instruction is formed, and the remote browser creates a real download task in response to the download instruction and returns download information to the client.
[0045] In step S200, the client creates a corresponding virtual download task in the download manager according to the download information and user configuration items to form a mapping.
[0046] Specifically, in some embodiments, the specific implementation manner of step S200 can refer to the following embodiments. This embodiment is a detailed description of step S200 in the remote end download management method shown in the corresponding embodiment. In the remote end download management method, step S200 may include the following steps: Figure 2 Corresponding to the details of step S200 in the remote end download management method shown in the embodiment, in the remote end download management method, step S200 may include the following steps:
[0047] Generate a virtual task framework according to the user configuration items.
[0048] Generate a virtual download task based on the virtual task framework according to the download information.
[0049] In the embodiments of the present application, before the client issues a download instruction, user configuration items need to be formed first. The client can first generate a virtual task framework based on the user configuration items. The user configuration items include information such as task type, storage path, and files to be downloaded. Each configuration item can be manually configured by the user or automatically generated according to the download environment. The present application does not make any limitations here.
[0050] The task information includes information such as task ID, task name, file size, download path, etc. Based on this information and the information returned by the remote end, it is filled on the basis of the virtual task framework, and then the virtual download task is obtained.
[0051] In the created virtual download task, there will be a mark of the task type to distinguish it from the local download task. The virtual download task will be presented in the download manager of the client browser in the same way as the local download task.
[0052] After creating the virtual download task, the user can perform some control operations for the download based on the virtual download task. In some embodiments, after step S200, the remote end download management method further includes:
[0053] In response to the user's control operation, send a corresponding control instruction to the remote end so that the remote end executes the control instruction.
[0054] Receive the execution result returned after the remote end executes the control instruction, and update the download manager.
[0055] In the embodiments of the present application, the control operations include task control operations and device control operations. Among them, the task control operations include operations such as starting, pausing, and deleting the download task. After the user performs these operations on the client, the client converts the user's control operation into a corresponding control instruction and sends it to the remote end. After the remote end executes the operation according to the control instruction, it returns the execution result to the client, and the client updates it in the download manager according to the execution result.
[0056] For example, when the user executes a pause operation through the client, the client, in response to the user's pause operation, sends a pause instruction to the remote end. The remote end executes the pause instruction, pauses the download, and returns the result of successful or failed pause to the client. The client updates the download manager according to the returned execution result. For the result of successful pause, the client pauses the corresponding virtual download task in the download manager; for the result of failed pause, the client prompts the failure of pause for the corresponding virtual download task in the download manager.
[0057] The device control operations include operations such as disconnecting from the remote end and reconnecting to the remote end. After the user performs these operations on the client, the client converts the user's control operation into a corresponding control instruction and sends it to the remote end. After the remote end executes the operation according to the control instruction, it returns the execution result to the client, and the client updates it in the download manager according to the execution result.
[0058] For example, the user performs an operation to reconnect to the remote end through the client. In response to the user's operation to reconnect to the remote end, the client sends an instruction to the remote end to re - establish a connection with the remote end. The remote end executes the instruction and returns a handshake instruction to the client to re - establish a connection with the client. After the re - establishment of the connection is completed, the client sends a synchronization instruction to the remote end. The remote end executes the synchronization instruction, queries all download tasks, and returns synchronization information to the client. The client browser receives the synchronization information returned by the remote end and, based on the synchronization information, adds the corresponding download tasks to the download manager for display.
[0059] It should be noted that since a remote end may be connected to different clients, when the client sends a synchronization instruction, it also sends a corresponding identity identifier to the remote end so that the remote end can screen the information according to the identity identifier and return the corresponding synchronization information to the client.
[0060] The identity identifier may include the identity identifier of the client, such as the IP address, physical address, and label information of the client; it may also be the identity identifier of the user, such as the account information of the user. The identity identifier is included in the user instruction and sent to the remote end together with the user instruction.
[0061] In step S300, when downloading a file, the remote end sends the download progress and download status to the client. After the client receives the download progress and download status, it updates them in the virtual download task until the download task is completed, paused, or cancelled.
[0062] In some embodiments, the remote end sends the download progress and download status to the client in real - time so that the client can be updated in real - time and the user can master the download progress in real - time.
[0063] In other embodiments, the remote end sends the download progress and download status once every predetermined sending time to simplify the processing process, save bandwidth, computing power, and storage resources, and accelerate the file download progress. The predetermined sending time can be a fixed time or can be automatically adjusted according to parameters such as the network, remaining resources of the processor, remaining memory, download speed, and number of downloaded files.
[0064] In step S400, when the above - mentioned virtual download task is completed, in the download manager, the virtual download task is converted into a download record, and the download record can form a mapping with the remote end and associate and record relevant file information.
[0065] After the file is downloaded, the user can operate on the downloaded file. In some embodiments, after step S400, the remote - end download management method further includes:
[0066] In response to the user's operation of opening a file, send a file opening instruction to the remote end so that the remote end opens the file.
[0067] Receive the window information returned after the remote end opens the file, and establish a window mapping so that the user can control the remote end through the window mapping.
[0068] In the implementation of this application, when the user performs an open or open folder operation on the downloaded file on the client side, the client sends a command to open the file to the remote end, and the remote end executes the corresponding operation to open the file or folder. If a new window appears when opening a folder or folder, send the new window information to the user-side browser, and the user-side browser creates a new window to map the corresponding window of the remote browser, and the user controls the window in the remote environment in this window.
[0069] Among them, the operation of the user opening the file can take the download record in the download manager as the object, and form an operation mapping through the download record.
[0070] At the same time, for the files that have been downloaded on the remote end, the user can also download them to the local of the client for use at any time. In some embodiments, after step S400, the remote end download management method further includes:
[0071] In response to the user's local download operation on the download record, send a download request and download information to the remote end so that the remote end locates the target file according to the download, and the target file is the target file corresponding to the download record.
[0072] Receive the target file sent by the remote end and store the target file locally.
[0073] In this embodiment, the user can perform an operation of downloading the completed download task file to the local of the client. By sending a download request and the absolute path of the target file to the file service in the remote environment, the file service returns the corresponding target file data to the client browser, achieving the purpose of downloading the file downloaded in the remote browser to the local. The absolute path of the target file is also the download path, and the client has obtained this information when creating a virtual download task.
[0074] Among them, the operation of the user opening the file can take the download record in the download manager as the object, and form an operation mapping through the download record. When the user performs an operation of downloading to the local, the client will send the relevant information of the download record to the remote end, and the remote end returns the corresponding target file data to the client browser.
[0075] In some embodiments, the user configuration item includes the download task type. After step S400, the remote end download management method further includes:
[0076] If the download task type is a cloud disk task, after the file download is completed, receive the cloud disk upload progress sent by the remote end, and update the cloud disk upload progress in the virtual download task.
[0077] In an embodiment of the present application, the download task type may include a cloud disk task. For a cloud disk task, after downloading a file to the remote end, it is also necessary to transfer the file from the remote end to the cloud server to form a cloud disk file. During the file upload process, the remote end will send the cloud disk upload progress to the client, and the client receives the cloud disk upload progress and updates it in the virtual download task. The update method may be the same as that in step S300.
[0078] It should be noted that since the cloud server stores cloud files uploaded by multiple accounts from different clients, in order to distinguish the users corresponding to each cloud file, when the remote end uploads a cloud file to the cloud server, it will also upload the identity identifier from the client. The cloud server stores the corresponding cloud file in the personal download directory of the cloud disk according to the identity identifier.
[0079] For cloud disk files, in some embodiments, they will be synchronized from the cloud disk to the client local within a predetermined time for the user to access at any time. Specifically, after step S400, the remote end download management method further includes:
[0080] Every predetermined time, obtain cloud disk files from the cloud disk and synchronize them to the local.
[0081] Associate the cloud disk file with the corresponding download record.
[0082] In an embodiment of the present application, the client browser will cyclically synchronize the cloud disk files in the personal download directory of the cloud disk to the client local. After the synchronization is completed, each file and the download record of the cloud disk type of the user - side browser are associated in real - time for the user to manage in the download manager. At this time, the files downloaded by the user using the remote browser through the cloud disk have been changed to the locally downloaded files and records, and the downloaded files can be directly managed locally.
[0083] In some embodiments, after the cloud disk file is downloaded to the local, the cloud disk interface can also be called to delete the corresponding cloud disk file in the cloud disk to save storage space.
[0084] For a cloud disk file or folder, when the user opens it, if the file has been synchronized to the local, it is directly opened; if the file has not been synchronized yet, the user is prompted that the file is being synchronized.
[0085] The following introduces the device embodiments of the present application, which can be used to execute the remote - end download management method in the above - mentioned embodiments of the present application. For the details not disclosed in the device embodiments of the present application, please refer to the embodiments of the remote - end download management method above.
[0086] Figure 3 The block diagram of a remote - end download management device according to an embodiment of the present application is shown.
[0087] Referring to Figure 3 As shown, a remote - end download management device 300 according to an embodiment of the present application includes: a download task creation module 310, a virtual task creation module 320, a progress status update module 330, and a download record generation module 340.
[0088] Among them, the download task creation module 310 is used to create a download task at the remote end in response to a user's download instruction and obtain download information, where the download instruction includes user configuration items; the virtual task creation module 320 is used to create a virtual download task in the download manager according to the download information and the user configuration items; the progress status update module 330 is used to obtain the download progress and download status sent by the remote end and update the download progress and download status in the virtual download task; the download record generation module 340 is used to convert it into a download record in the download manager correspondingly when the virtual download task is completed, and the download record is associated with file information.
[0089] In some embodiments of the present application, the virtual task creation module specifically includes: a framework generation sub - module, which is used to generate a virtual task framework according to the user configuration items; a task generation sub - module, which is used to generate a virtual download task on the basis of the virtual task framework according to the download information.
[0090] In some embodiments of the present application, the user configuration items include the download task type, and the remote - end download management device further includes: a cloud disk file upload module, which is used to receive the cloud disk upload progress sent by the remote end after the file download is completed and update the cloud disk upload progress in the virtual download task if the download task type is a cloud disk task.
[0091] In some embodiments of the present application, the remote - end download management device further includes: a file loop synchronization module, which is used to obtain cloud disk files from the cloud disk and synchronize them to the local at a predetermined time interval; a file record association module, which is used to associate the cloud disk files with the corresponding download records.
[0092] In some embodiments of the present application, the remote - end download management device further includes: a remote - control operation module, configured to send a corresponding control instruction to the remote end in response to a user's control operation, so that the remote end executes the control instruction; an execution - result update module, configured to receive the execution result returned by the remote end after executing the control instruction and update the download manager.
[0093] In some embodiments of the present application, the remote - end download management device further includes: a file remote - opening module, configured to send a file - opening instruction to the remote end in response to a user's operation of opening a file, so that the remote end opens the file; a window - mapping establishment module, configured to receive the window information returned by the remote end after opening the file and establish a window mapping, so that the user can control the remote end through the window mapping.
[0094] In some embodiments of the present application, the remote - end download management device further includes: a file local - download module, configured to send a download request and download information to the remote end in response to a user's local - download operation on the download record, so that the remote end locates the target file according to the download, and the target file is the target file corresponding to the download record; a file local - storage module, configured to receive the target file sent by the remote end and store the target file locally.
[0095] In the technical solution provided by some embodiments of the present application, when downloading a file at the remote end, a virtual task is correspondingly created at the local end to map the download task at the remote end, and the download progress and download status are updated following the download task at the remote end. After the download is completed, the virtual task is transformed into a download record to associate and record file information to map the remote end, so that the user can remotely control, manage, and use the corresponding remote file based on the download record, solving the problem in the prior art that downloading files at the remote end brings inconvenience to the user's local - end use.
[0096] Figure 4 The structural schematic diagram of a computer system of an electronic device suitable for implementing the embodiments of the present application is shown.
[0097] It should be noted that Figure 4 The computer system of the electronic device shown is only an example and should not bring any limitation to the functions and usage scope of the embodiments of the present application.
[0098] Such as Figure 4As shown, the computer system includes a Central Processing Unit (CPU) 1801, which can perform various appropriate actions and processes according to the program stored in the Read-Only Memory (ROM) 1802 or the program loaded from the storage section 1808 into the Random Access Memory (RAM) 1803, such as executing the methods described in the above embodiments. In the RAM 1803, various programs and data required for system operation are also stored. The CPU 1801, ROM 1802, and RAM 1803 are connected to each other via a bus 1804. An Input / Output (I / O) interface 1805 is also connected to the bus 1804.
[0099] The following components are connected to the I / O interface 1805: an input section 1806 including a keyboard, a mouse, etc.; an output section 1807 including, for example, a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), etc. and a speaker, etc.; a storage section 1808 including a hard disk, etc.; and a communication section 1809 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1809 performs communication processing via a network such as the Internet. A drive 1810 is also connected to the I / O interface 1805 as needed. A removable medium 1811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1810 as needed so that a computer program read from it can be installed into the storage section 1808 as needed.
[0100] Specifically, according to the embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from the network via the communication section 1809, and / or installed from the removable medium 1811. When the computer program is executed by the Central Processing Unit (CPU) 1801, various functions defined in the system of the present application are executed.
[0101] It should be noted that the computer-readable medium shown in the embodiments of the present application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0102] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. Among them, each block in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order from that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0103] The units involved in the embodiments described in this application can be implemented in software or in hardware, and the described units can also be provided in a processor. Among them, the names of these units do not, in some cases, constitute a limitation on the units themselves.
[0104] As another aspect, this application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the methods described in the above embodiments.
[0105] It should be noted that although several modules or units of a device for action execution are mentioned in the above detailed description, such a division is not mandatory. In fact, according to the embodiments of this application, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0106] Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software or by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (such as a personal computer, a server, a touch terminal, or a network device, etc.) to execute the methods according to the embodiments of this application.
[0107] After considering the specification and practicing the embodiments disclosed herein, those skilled in the art will readily conceive of other embodiments of this application. This application is intended to cover any variations, uses, or adaptations of this application, which follow the general principles of this application and include known common knowledge or conventional technical means in the technical field not disclosed in this application.
[0108] It should be understood that this application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is only limited by the appended claims.
Claims
1. A remote - end download management method, characterized in that, the remote - end download management method includes: Responding to a user's download instruction, creating a download task at the remote end and obtaining download information, where the download instruction includes user configuration items; Creating a virtual download task in the download manager according to the download information and the user configuration items; Obtaining the download progress and download status sent by the remote end, and updating the download progress and download status in the virtual download task; When the virtual download task is completed, converting it into a download record in the download manager, and the download record is associated with file information.
2. The remote - end download management method according to claim 1, characterized in that, The step of creating a virtual download task in the download manager according to the download information and the user configuration items specifically includes: Generating a virtual task framework according to the user configuration items; Generating a virtual download task on the basis of the virtual task framework according to the download information.
3. The remote - end download management method according to claim 1, characterized in that, The user configuration items include the download task type. After obtaining the download progress and download status sent by the remote end and updating the download progress and download status in the virtual download task, the remote - end download management method further includes: If the download task type is a cloud disk task, after the file download is completed, receiving the cloud disk upload progress sent by the remote end and updating the cloud disk upload progress in the virtual download task.
4. The remote - end download management method according to claim 1, characterized in that, After obtaining the download progress and download status sent by the remote end and updating the download progress and download status in the virtual download task, the remote - end download management method further includes: Every predetermined time, obtaining cloud disk files from the cloud disk and synchronizing them to the local; Associating the cloud disk files with the corresponding download records.
5. The remote - end download management method according to claim 1, characterized in that, After creating a virtual download task in the download manager according to the download information and the user configuration items, the remote - end download management method further includes: Responding to a user's control operation, sending a corresponding control instruction to the remote end so that the remote end executes the control instruction; Receiving the execution result returned by the remote end after executing the control instruction, and updating the download manager.
6. The remote - end download management method according to claim 1, characterized in that, After converting into a download record in the download manager when the virtual download task is completed, the remote - end download management method further includes: Responding to a user's operation of opening a file, sending a file - opening instruction to the remote end so that the remote end opens the file; Receiving the window information returned by the remote end after opening the file, and establishing a window mapping so that the user can control the remote end through the window mapping.
7. The remote - end download management method according to claim 1, characterized in that, After obtaining the download progress and download status sent by the remote end and updating the download progress and download status in the virtual download task, the remote end download management method further includes: In response to a user's local download operation on the download record, sending a download request and download information to the remote end so that the remote end locates the target file according to the download, where the target file is the target file corresponding to the download record; Receiving the target file sent by the remote end and storing the target file locally.
8. A remote end download management device Characterized in that The remote end download management device includes: A download task creation module, configured to create a download task at the remote end in response to a user's download instruction and obtain download information, where the download instruction includes user configuration items; A virtual task creation module, configured to create a virtual download task in the download manager according to the download information and the user configuration items; A progress status update module, configured to obtain the download progress and download status sent by the remote end and update the download progress and download status in the virtual download task; A download record generation module, configured to convert to a download record in the download manager correspondingly when the virtual download task is completed, and the download record is associated with file information.
9. A computer-readable medium, on which a computer program is stored Characterized in that When the computer program is executed by a processor, it implements the remote end download management method according to any one of claims 1 to 7.
10. An electronic device Characterized in that It includes: One or more processors; A storage device, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enable the one or more processors to implement the remote end download management method according to any one of claims 1 to 7.