A data downloading method and device, electronic equipment and storage medium
By creating a visual interactive interface on the data access platform, and automatically locating and manipulating web page controls, the problems of low efficiency and high labor costs in exporting massive amounts of data in existing technologies are solved, and efficient automatic data download is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREAT WALL MOTOR CO LTD
- Filing Date
- 2022-11-02
- Publication Date
- 2026-05-15
AI Technical Summary
Existing technologies require significant manpower and are inefficient when exporting massive amounts of data, making efficient data downloads impossible.
By creating a visual interactive interface on the data access platform, configuring the download location and operation code, and using a preset positioning algorithm to automatically locate web page controls and perform operations, automatic data download is achieved.
It saves labor costs, improves the efficiency of exporting massive amounts of data, and automates the data download process.
Smart Images

Figure CN115630214B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, electronic device, and storage medium for data downloading. Background Technology
[0002] With the rapid development of the Internet, more and more data, such as the large amount of electronic control unit (ECU) operation data, latitude and longitude data, and mobile phone data collected by transportation companies, are becoming important bases for corporate decision-making. How to efficiently and quickly export and download massive amounts of data has become crucial.
[0003] Current technologies typically involve setting up Hue on a relevant platform, providing access to data via a browser, and then having business departments submit report requests and operation code through the browser to export the data. However, this method requires logging into Hue through a browser, manually submitting report requests, and then submitting operation code through the browser. When exporting massive amounts of data, this incurs significant manpower costs and low efficiency. Therefore, improving the efficiency of exporting massive amounts of data has become a pressing technical problem. Summary of the Invention
[0004] To address the aforementioned issues, this application provides a method, apparatus, electronic device, and storage medium for data downloading, which improves the efficiency of exporting massive amounts of data and saves manpower by creating a visual interactive interface on a data access platform.
[0005] Firstly, this application provides a data download method applied to a data access platform, the method comprising:
[0006] The system retrieves configuration data pre-configured in a visual interactive interface created within the data access platform, driving the browser to access web pages; the configuration data is used to determine the download location and operation code for the downloaded data.
[0007] In the webpage, the preset position of the webpage control is automatically located according to the preset positioning algorithm; and based on the correspondence between the preset position and the operation mode, the operation mode of the webpage control at the preset position is executed to obtain the operation of the webpage control at the preset position.
[0008] The download data is obtained from the webpage of the browser based on the operation and configuration data of the webpage control at the preset location.
[0009] Optionally, the visual interactive interface created in the data access platform includes:
[0010] The data access platform uses a visual interactive interface created based on the Python tkinter framework.
[0011] Optionally, the configuration data includes a download path and a script path; the download path is used to determine the download location of the downloaded data; the script path is used to obtain the operation code for the downloaded data.
[0012] The step of obtaining the download data from the browser's webpage based on the operation and configuration data of the webpage control at a preset location includes:
[0013] Based on the operation of the web page control at the preset position and the download path, automatically obtain multiple download data to be downloaded corresponding to the download path;
[0014] Based on the operation of the web page control at the preset position and the script path, the operation code corresponding to the multiple download data is automatically obtained;
[0015] The operation code corresponding to the multiple download data is automatically executed in a loop to download the multiple download data.
[0016] Optionally, the configuration data may also include a scheduled startup time;
[0017] The step of obtaining the download data from the browser's webpage based on the operation and configuration data of the webpage control at a preset location includes:
[0018] Within the scheduled startup, based on the operation of the web page control at a preset position and the download path, multiple download data items corresponding to the download path are automatically obtained; based on the script path, the operation code corresponding to the multiple download data items is automatically obtained.
[0019] The system automatically and repeatedly executes the operations corresponding to the multiple download data sets to download the data sets.
[0020] Optionally, the method further includes:
[0021] Configure the storage path and file type for browser-downloaded data.
[0022] Optionally, the operation of the web page control at the preset position includes at least one of the following: select all, delete, paste, select, and / or click.
[0023] Secondly, this application provides a data downloading apparatus, the apparatus comprising:
[0024] The configuration module is used to obtain configuration data pre-configured in the visual interactive interface created in the data access platform, and drive the browser to access the webpage; the configuration data is used to determine the download location and operation code of the downloaded data;
[0025] The positioning operation module is used to automatically locate the preset position of the web page control according to the preset positioning algorithm; and based on the correspondence between the preset position and the operation mode, execute the operation mode of the web page control at the preset position to obtain the operation of the web page control at the preset position.
[0026] The download module is used to obtain the download data from the webpage of the browser based on the operation and configuration data of the webpage control at the preset location.
[0027] Optionally, the configuration data includes a download path and a script path; the download path is used to determine the download location of the downloaded data; the script path is used to obtain the operation code for the downloaded data.
[0028] Based on the operation of the web page control at the preset position and the download path, automatically obtain multiple download data corresponding to the download path;
[0029] Based on the operation of the web page control at the preset position and the script path, the operation code corresponding to the multiple download data is automatically obtained;
[0030] The operation code corresponding to the multiple download data is executed automatically in a loop to download the multiple download data.
[0031] Thirdly, this application provides an electronic device, including a memory and a processor;
[0032] The memory is coupled to the processor; the memory stores program instructions that, when executed by the processor, cause the electronic device to perform the method described in the first aspect.
[0033] Fourthly, this application provides a computer storage medium storing code, wherein when the code is executed, a device executing the code implements the method described in any of the first aspects above.
[0034] This application discloses a method, apparatus, electronic device, and storage medium for data download. When executing the method: First, configuration data pre-configured in a visual interactive interface created in a data access platform is obtained, driving the browser to access a webpage. Within the webpage, a preset position is automatically located in the webpage space according to a preset positioning algorithm, and relevant operations are performed based on the correspondence between the preset position and the operation mode. Based on the relevant operations at the preset position and the configuration data, data is automatically downloaded from the browser webpage without requiring manual parameters. This saves labor costs and improves the efficiency of exporting massive amounts of data. Attached Figure Description
[0035] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0036] Figure 1 A flowchart illustrating a data download method provided in this application embodiment;
[0037] Figure 2 A flowchart illustrating another data download method provided in this application embodiment;
[0038] Figure 3 This is a schematic diagram of a visual interactive interface created based on Hue in an embodiment of this application;
[0039] Figure 4 This is a schematic diagram of another data download device provided in an embodiment of this application. Detailed Implementation
[0040] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0041] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0042] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0043] As mentioned earlier, existing technologies often involve setting up Hue on a relevant platform, providing a browser for data access, and having business departments submit report requests and operation code through the browser to export data. However, this data export method requires logging into Hue through a browser, manually submitting report requests, and then submitting operation code through the browser. When exporting massive amounts of data, this requires significant manpower and is inefficient.
[0044] Based on this, this application provides a data download method. By creating a visual interactive interface on a data access platform, configuration data is configured to determine the download location and operation code. This allows for automatic access to the browser and retrieval of the operation code. By acquiring the location and operation of webpage controls, data download is automatically simulated through mouse clicks. Thus, by accessing the browser and operation code through a visual interactive interface and simulating mouse clicks through the location and operation of webpage controls, labor costs are saved, and the efficiency of exporting massive amounts of data is improved.
[0045] To better illustrate the embodiments of this application, a clear and complete description is provided below in conjunction with the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0046] This application provides a data download method applicable to vehicle central control systems to acquire massive amounts of data such as ECU operating data, latitude and longitude data, and mobile phone data embedding data. The executing entity can be the server of the vehicle central control system.
[0047] See Figure 1 This is a flowchart illustrating a data download method provided in an embodiment of this application. The method includes at least the following steps:
[0048] S101: Obtain the configuration data configured in the pre-created visual interactive interface in the data access platform, and drive the browser to access the webpage.
[0049] The visual interactive interface is pre-created on the data access platform. The data access platform refers to a platform that provides a browser for data access, such as Hue. Hue is a web application used to simplify user interaction with the Hadoop cluster. In this embodiment, the visual interactive interface is created on the data access platform for the purpose of configuring configuration data. The visual interactive interface is a visual interface that satisfies human-computer interaction requirements. It is understood that the visual interactive interface allows users to perform relevant operations. In this embodiment, the visual interactive interface is used to configure configuration data.
[0050] In this embodiment, configuration data is used to determine the download location and operation code of the downloaded data. The operation code is the execution code for downloading the data, such as SQL code. In one possible implementation, to determine the download location and operation code, the configuration data may include a download path and a script path. The download path is used to access the download location; the script path is used to access the operation code. For example, if the download location of the downloaded data is located in folder B under file directory A on drive C, then the download path is C drive - file directory A - folder B. The script path is used to access and execute the operation code for downloading the data. Thus, the download location and operation code corresponding to the downloaded data are obtained through the download path and script path.
[0051] After configuring the data access platform's visual interactive interface, the browser is then driven to access the webpage. It's understood that there's a built-in connection between the data access platform and the browser; once the visual interactive interface is configured, it automatically connects to the browser for webpage access.
[0052] In this embodiment, a run button can also be set on the visual interactive interface. Clicking this button will drive the browser to access the site. Alternatively, the button can be clicked manually to perform subsequent operations.
[0053] S102: Automatically locate the preset position of the web page control according to the preset positioning algorithm; based on the correspondence between the preset position and the operation mode, execute the operation mode of the web page control at the preset position.
[0054] In this embodiment, the download location and operation code of the downloaded data can be obtained based on the configuration data configured in the visual interactive interface, such as the download path and script path. For configuration data such as the download path and script path that are already configured, in this embodiment, a preset positioning algorithm can be used to locate the preset location of the download path or script path. For example, assuming the download path is C drive - file directory A - folder B, a positioning algorithm such as a web crawler can be used to locate the preset locations such as C drive, file directory A, and file B. In this embodiment, the preset positioning algorithm is not limited to web crawler algorithms; other algorithms capable of positioning are also applicable.
[0055] Based on the preset location of the automatically located webpage control, and according to the correspondence between the preset location and the operation mode, the operation mode at the preset location is executed. In this embodiment, the correspondence between the preset location and the operation mode is preset. For example: the location is drive C, and the operation mode is selection and click; the location is file directory A, and the operation mode is selection and click; the location is B, and the operation mode is click, etc. For an automatically located webpage control whose preset location is drive C, selection and click are automatically executed, navigating to file directory A, and then selection and click are executed again, thus obtaining the operation of the webpage control at the preset location.
[0056] In this embodiment, operations on web page controls at preset locations include selecting all, deleting, pasting, selecting, and clicking. It is understood that the positioning and operation of browser web page controls are used to automatically simulate mouse clicks at corresponding locations.
[0057] S103: Obtain and download data from the browser webpage based on the operation and configuration data of the webpage control at the preset position.
[0058] In this embodiment, download data can be obtained from a browser webpage based on the configuration data configured in the visual interactive interface and the operations of webpage controls at preset locations. Specifically, once the configuration data is configured, the operation code for obtaining download data and the download location are determined, i.e., the specific download path required to access the download location is determined. Based on the preset locations involved in the download path in sequence, multiple operations corresponding to the preset locations associated with the download paths can be executed sequentially through webpage controls to automatically obtain download data from the browser webpage.
[0059] It is understandable that retrieving and downloading data from a webpage involves executing operations on multiple webpage controls in a preset order. This preset order depends on configuration data, as well as the correspondence between preset positions and operation modes within the configuration data, to determine the order of operations performed on the multiple webpage controls.
[0060] Example Explanation: The download location for the data retrieved from the browser webpage is folder B in directory A on drive C. The operation code is located in folder M in directory D on drive C. The default sequence for executing multiple webpage controls is: click drive C → select directory A, click → select folder B, click → click directory D, click → select folder M, click. The data is then retrieved from the browser webpage.
[0061] In this embodiment, the configuration data includes the download path and the script path. Based on the operation of the web page control at a preset location, the download data and operation code corresponding to the download location can be automatically obtained according to the download path and script path. The operation code is automatically executed in a loop, and multiple download data are obtained from the download data for download.
[0062] In one possible implementation, the code automatically loops through multiple download data items, checking if a download button exists. If it does, the data is marked as download data, and the loop continues until no download button exists. Then, the loop breaks, and multiple download data items are retrieved and downloaded.
[0063] This application discloses a data downloading method in its embodiments.
[0064] The system retrieves configuration data pre-configured in a visual interactive interface created within a data access platform, driving the browser to access a webpage. Within the webpage, it automatically locates a preset position within the webpage space based on a preset positioning algorithm, and performs relevant operations based on the correspondence between the preset position and the operation mode. Based on the relevant operations at the preset position and the configuration data, data is automatically downloaded from the browser webpage without requiring manual parameters. This saves labor costs and improves the efficiency of exporting massive amounts of data.
[0065] This application also provides a flowchart of another data download method. This method addresses the issue of existing technologies requiring manual monitoring during code execution and data export / download, and fully considers automatic real-time analysis of program execution and anomaly monitoring. The method includes:
[0066] S201: Create a visual interactive interface on the data access platform.
[0067] In this embodiment, a visual interactive interface can be created on a data access platform based on the Python tkinter framework. For example, see [link to example]. Figure 3 This is a schematic diagram of a visual interactive interface created based on Hue in an embodiment of this application. The visual interactive interface is the interface under Hue, and the configured data includes the download path, script path, and scheduled start time. The scheduled start time is selectable via a checkbox. The scheduled start time is used to set the time when the downloaded data will begin downloading.
[0068] Therefore, for downloaded data, the downloaded data can be directly located by finding the time corresponding to the scheduled start time.
[0069] In addition, the visualization interface includes operation boxes, including a "Run" box and an "Exit" box. Clicking the "Run" box automatically performs subsequent operations, while selecting the "Exit" box exits the interactive interface. Furthermore, the interface provides operation instructions to prevent users from encountering abnormal situations during data download. See the operation instructions for details. Figure 3 As shown, this will not be discussed further here.
[0070] S202: The visual interactive interface has been configured and the browser has been launched.
[0071] In this embodiment of the application, after configuring the configuration data of the visual interactive interface created by the configuration data access platform, the browser is driven to start.
[0072] In one possible implementation, the storage path and file type for the browser's downloaded data can be configured while the browser is being driven.
[0073] The file type refers to how the downloaded data is stored, such as in CSV or table format. For example, the downloaded files might include CSV files (file 1, file 2, and file 3) and table files (file 4, file 5, and file 6). The file type can be represented as follows:
[0074] CSV type
[0075] Document 1
[0076] Document 2
[0077] Document 3
[0078] Table type
[0079] Document 4
[0080] Document 5
[0081] Document 6
[0082] In this embodiment, there are no restrictions on configuring the browser's download file directory and file type; configuration can be done manually or through other methods.
[0083] In one possible implementation, the download data storage path and file type can be configured during the download process, rather than when the browser starts. Specific details are described in section S206.
[0084] Example description: In step S201, regarding the "visual interactive interface created by the Hue example," after configuring the download path, script path, and scheduled startup time of the visual interactive interface, click... Figure 3 The "Run" box in the visual interactive interface shown can drive the browser to start.
[0085] S203: Automatically access web pages, log in with username and password, paste and execute scripts.
[0086] In this embodiment, the browser automatically accesses the webpage after startup. To maintain data download security, access permissions can be set for the webpage. For example, a username and password can be set, and subsequent operations can only be performed after the correct username and password are entered.
[0087] Script pasting indicates that the operation code is retrieved based on the script path, stored in a preset folder, and then executed. In other words, the compiled script only needs to be placed in the folder; manual copying to the data access interface is no longer required, thus improving the efficiency of handling massive amounts of data.
[0088] S204: Automatically locate the preset position of the web page control according to the preset positioning algorithm; and perform the operation of the web page control at the preset position based on the correspondence between the preset position and the operation mode.
[0089] In this embodiment of the application, the above operations can be completed based on the Python Slenium framework. The specific implementation process is the same as step S102, and will not be repeated here.
[0090] S205: Operation and anomaly monitoring.
[0091] In this embodiment, program execution and anomaly monitoring can be automatically performed in real time without manual monitoring. In one possible implementation, a Python `try-except` statement can be used to analyze the logs returned by the program in real time, identifying errors and 100% completion points.
[0092] S206: Based on the configuration data, the webpage control operates at a preset location to download data in the browser webpage.
[0093] In this embodiment, when the program reaches 100% completion, the download data is executed. In one possible implementation, if the browser's download data storage path and file type are not configured when the browser is driven, the download data storage path and file type are configured when the download data is executed. The file type refers to storing the download data in a preset format, such as CSV or table format. For example, the download files may include CSV files (file 1, file 2, and file 3) and table files (file 4, file 5, and file 6). The file type can be represented as follows:
[0094] CSV type
[0095] Document 1
[0096] Document 2
[0097] Document 3
[0098] Table type
[0099] Document 4
[0100] Document 5
[0101] Document 6
[0102] Example description: Click the download button on the browser page, and a dialog box will pop up asking for the storage path and file type. Depending on your needs, you can store the downloaded data in the C:\E folder, in table or CSV format.
[0103] It is worth noting that in the embodiments of this application, S205 does not have a specific order from S204 and S206, but is carried out throughout the entire process of S204 and S206.
[0104] The data download method provided in this application, through automatic operation and anomaly monitoring, avoids the time-consuming problem of manual monitoring and further improves the efficiency of downloading massive amounts of data.
[0105] Furthermore, embodiments of this application also provide a data downloading apparatus. See [link to relevant documentation]. Figure 4 This is a schematic diagram of a data downloading device 400 provided in an embodiment of this application. The device 400 includes:
[0106] The configuration module 401 is used to obtain configuration data configured in the visual interactive interface pre-created in the data access platform and drive the browser to access web pages;
[0107] The acquisition module 402 is used to automatically locate the preset position of the web page control in the web page according to the preset positioning algorithm; and to execute the operation mode of the web page control at the preset position based on the correspondence between the preset position and the operation mode, so as to acquire the operation of the web page control at the preset position.
[0108] The download module 403 obtains the download data from the webpage of the browser based on the operation and configuration data of the webpage control at the preset position.
[0109] Optionally, the creation of the visual interactive interface is obtained through the following methods:
[0110] The data access platform uses a visual interactive interface created based on the Python tkinter framework.
[0111] Optionally, the download module 403 is specifically used for:
[0112] Based on the operation of the web page control at the preset position and the download path, automatically obtain multiple download data corresponding to the download path;
[0113] Based on the operation of the web page control at the preset position and the script path, the operation code corresponding to the multiple download data is automatically obtained;
[0114] The operation code corresponding to the multiple download data is automatically executed in a loop to download the multiple download data.
[0115] Optionally, download module 403 is specifically used for:
[0116] Within the scheduled startup, based on the operation of web page controls at preset locations, and based on the download path, automatically obtain multiple download data items corresponding to the download path; based on the script path, automatically obtain the operation code corresponding to multiple download data items;
[0117] The system automatically loops through multiple download data operations to download multiple data sets.
[0118] Optionally, the device 400 also includes a browser configuration module for configuring the storage path and file type of the browser's downloaded data.
[0119] Optionally, the operation of the web page control at the preset position is at least one of the following: select all, delete, paste, select, and / or click.
[0120] In the embodiments of this application, the implementation methods of specific modules are described in the method embodiments, and will not be discussed here.
[0121] This application discloses a data downloading device. The configuration module 401 acquires configuration data pre-configured in a visual interactive interface created in a data access platform, driving a browser to access a webpage. The acquisition module 402 automatically locates a preset position in the webpage space according to a preset positioning algorithm, and performs relevant operations based on the correspondence between the preset position and the operation mode. The download module 403 automatically downloads the relevant operations and configuration data at the preset position from the browser webpage. Thus, no manual parameters are required, saving labor costs and improving the efficiency of exporting massive amounts of data.
[0122] This application also provides corresponding devices and computer-readable storage media for implementing the solutions provided in this application.
[0123] The device includes a memory and a processor. The memory stores instructions or code, and the processor executes the instructions or code to enable the device to perform a data download method according to any embodiment of this application.
[0124] In practical applications, the computer-readable storage medium can be any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. For example, a computer-readable storage medium can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0125] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0126] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0127] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0128] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0129] The above description is merely one specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for downloading data, characterized in that, Applied to a data access platform, wherein the data access platform is the Hue platform, the method includes: The system retrieves configuration data pre-configured in a visual interactive interface created within the data access platform, driving the browser to access web pages. The configuration data includes a download path and a script path. The download path is used to determine the download location of the downloaded data. The download path and the script path are configured in the visual interface. The script path is used to retrieve the operation code for downloading the data. The visual interactive interface is a visual interactive interface created on the Hue platform based on the Python tkinter framework. In the webpage, the preset position of the webpage control is automatically located according to the preset positioning algorithm; and based on the correspondence between the preset position and the operation mode, the operation mode of the webpage control at the preset position is executed to obtain the operation of the webpage control at the preset position. Based on the operation of the webpage control at the preset location and the download path, multiple download data corresponding to the download path are automatically obtained; based on the operation of the webpage control at the preset location and the script path, the operation code corresponding to the multiple download data is automatically obtained; the operation code corresponding to the multiple download data is automatically executed in a loop to download the multiple download data from the webpage of the browser.
2. The method according to claim 1, characterized in that, The configuration data also includes the scheduled startup time; The method automatically obtains multiple download data corresponding to the download path based on the operation of the web page control at the preset location and the download path; Based on the operation of the webpage control at a preset location and the script path, the operation code corresponding to the multiple downloaded data is automatically obtained, including: Within the scheduled startup, based on the operation of the webpage control at a preset location, and based on the download path, multiple download data items corresponding to the download path are automatically obtained; based on the script path, the operation code corresponding to the multiple download data items is automatically obtained.
3. The method according to claim 1, characterized in that, The method further includes: Configure the storage path and file type for browser-downloaded data.
4. The method according to any one of claims 1-3, characterized in that, The operations performed on the web page control at the preset location include at least one of the following: select all, delete, paste, select, and / or click.
5. A data downloading device, characterized in that, The device is applied to a data access platform, wherein the data access platform is the Hue platform, and the device includes: A configuration module is used to obtain configuration data pre-configured in a visual interactive interface created in the data access platform, and drive the browser to access web pages; the configuration data includes a download path and a script path, the download path is used to determine the download location of the downloaded data, and the download path and the script path are configured in the visual interface respectively; the script path is used to obtain the operation code of the downloaded data; the visual interactive interface is a visual interactive interface created on the Hue platform based on the Python tkinter framework; The positioning operation module is used to automatically locate the preset position of the web page control according to the preset positioning algorithm; and based on the correspondence between the preset position and the operation mode, execute the operation mode of the web page control at the preset position to obtain the operation of the web page control at the preset position. The download module is configured to automatically obtain multiple download data corresponding to the download path based on the operation of the web page control at the preset location and the download path; automatically obtain the operation code corresponding to the multiple download data based on the operation of the web page control at the preset location and the script path; obtain the download data from the webpage of the browser; and automatically and repeatedly execute the operation code corresponding to the multiple download data to download the multiple download data from the webpage of the browser.
6. An electronic device, comprising a memory and a processor; The memory is coupled to the processor; The memory stores program instructions that, when executed by the processor, cause the electronic device to perform the method according to any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores an implementation program of a data download method, which, when executed by a processor, implements the steps of the method as described in any one of claims 1-4.