File downloading method and device based on Saas system, electronic equipment and medium
By determining the file information to be downloaded in the Saas system and sending it to the client for download, the problem of excessive hardware resources and network bandwidth occupancy in the Saas system when a large amount of data is downloaded is solved, and the effect of transferring pressure to the client and reducing the probability of system failure is achieved.
Patent Information
- Application Number
- CN202411508857.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-03-18
AI Technical Summary
When existing Saas systems download a large amount of data, they can easily cause excessive hardware resources and network bandwidth to occupy too much, resulting in system failure.
The file information to be downloaded in the Saas system is determined through the browser page, including file attribute information and download URL, and the information is sent to the client, and the client downloads the file from the file storage server based on this information.
Transferring file storage pressure and network bandwidth pressure to the client reduces the storage pressure and network transmission pressure of the Saas system, reduces the probability of system failure, and ensures the security of files.
Smart Images

Figure CN119652880A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a file downloading method, device, electronic equipment and medium based on a SaaS system. Background Art
[0002] Software-as-a-Service (Saas) is a very popular service delivery method nowadays. It stores data and services in the cloud, allowing users to access information and request the Saas system to download data. The Saas system will download the files from the file storage server and return them to the user.
[0003] However, if the data contains a large number of images or files and a large number of customers download data from the cloud at the same time, the SaaS system will compress the files into compressed packages to download the data, which will occupy a large amount of hardware resources in the system, including storage and network bandwidth, and easily cause the SaaS system to malfunction. Summary of the invention
[0004] The present invention provides a file downloading method, device, electronic device and medium based on a SaaS system, which are used to solve the defect in the prior art that a large amount of data occupies the hardware resources of the service, causing the SaaS system to fail, and realizes the transfer of the file storage pressure and network bandwidth pressure of the SaaS system to the user end, thereby reducing the probability of failure of the SaaS system.
[0005] The present invention provides a file downloading method based on a SaaS system, which is applied to the SaaS system and includes: Determine at least one set of file information to be downloaded in the SaaS system through a browser page; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; All the information of the files to be downloaded are sent to the client through the browser page; the client is used to download the corresponding files from the file storage server according to the attribute information and the download URL of the files to be downloaded, and the download of the client is performed when the user logs in to the SaaS system.
[0006] According to a file downloading method based on a SaaS system provided by the present invention, all the file information to be downloaded is sent to the client via the browser page, comprising: in response to the user's export operation instruction in the browser page, based on all the file information to be downloaded, generating a file table containing all the file information to be downloaded; displaying prompt information on whether to download the file table in the browser page; in response to the user's download operation instruction in the prompt information, awakening the client; and sending the file table to the client via the browser page.
[0007] According to a file downloading method based on a SaaS system provided by the present invention, at least one group of file information to be downloaded is determined in the SaaS system through a browser page, including: receiving a login request from the user in the browser page; verifying the user identity in response to the login request; displaying at least one group of file information in the browser page if the verification is successful; and using the file information selected by the user as the file information to be downloaded in response to a selection operation instruction of the user in the browser page.
[0008] The present invention also provides a file downloading method based on a SaaS system, which is applied to a client and includes: receiving at least one file information to be downloaded sent by the SaaS system; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; based on the attribute information of the file to be downloaded and the download URL of the file to be downloaded, downloading the corresponding file from a file storage server.
[0009] According to a file downloading method based on a SaaS system provided by the present invention, the method downloads the corresponding file from a file storage server based on the attribute information of the file to be downloaded and the download URL of the file to be downloaded, including: judging whether the SaaS system is in a logged-in state; if the SaaS system is in a logged-in state, judging whether the file to be downloaded is a target download file based on the attribute information; if the file to be downloaded is the target download file, parsing the download URL to obtain the storage path of the target download file; and downloading the corresponding file from the file storage server based on the storage path.
[0010] The present invention also provides a file downloading device based on a SaaS system, comprising: A determination module, used to determine at least one set of file information to be downloaded in the SaaS system through a browser page; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; The sending module is used to send all the file information to be downloaded to the client through the browser page; the client is used to download the corresponding file from the file storage server according to the attribute information and the download URL of the file to be downloaded, and the download of the client is performed when the user logs in to the SaaS system.
[0011] The present invention also provides a file downloading device based on a SaaS system, comprising: A receiving module, used for receiving at least one file information to be downloaded sent by the SaaS system; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; The download module is used to download the corresponding file from the file storage server based on the attribute information of the file to be downloaded and the download website of the file to be downloaded.
[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements any of the above-mentioned file downloading methods based on the SaaS system applied to the SaaS system.
[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the file downloading method based on the SaaS system as described above and applied to a client is implemented.
[0014] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the file downloading method based on the SaaS system as described in any one of the above is implemented.
[0015] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned file downloading methods based on the SaaS system.
[0016] The file download method, device, electronic device and medium based on the SaaS system provided by the present invention determine at least one set of file information to be downloaded in the SaaS system through a browser page, and the file information to be downloaded includes attribute information of the downloaded file and a download URL of the file to be downloaded; the file information to be downloaded is sent to the client through the browser page, and the client downloads the corresponding file from the file storage server according to the attribute information and the download URL of the file to be downloaded. In this way, the SaaS system sends the file information to the client so that the client can download it from the file storage server according to the download URL in the file information. Compared with the SaaS system directly downloading files from the file storage server, the client interacts with the file storage system and does not occupy the resources of the SaaS server. Therefore, the storage pressure and network bandwidth pressure of the file are transferred to the client, reducing the storage pressure and network transmission pressure of the SaaS system, thereby reducing the probability of failure of the SaaS system. At the same time, the client can download files from the file storage server only after the user logs in to the SaaS system, ensuring the security of the file. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 This is one of the flow charts of the file downloading method based on the SaaS system provided by the present invention.
[0019] Figure 2 This is the second flow chart of the file downloading method based on the SaaS system provided by the present invention.
[0020] Figure 3 This is the third flow chart of the file downloading method based on the SaaS system provided by the present invention.
[0021] Figure 4 This is one of the structural schematic diagrams of the file downloading device based on the SaaS system provided by the present invention.
[0022] Figure 5 This is the second structural schematic diagram of the file downloading device based on the SaaS system provided by the present invention.
[0023] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] SaaS is a service delivery method that provides users with advanced applications. Customers do not need to purchase, install, update or maintain any hardware, middleware or software. SaaS systems enable enterprises that lack the resources to purchase, deploy and manage the necessary infrastructure and software to use highly advanced enterprise applications such as ERP (Enterprise Resource Planning) and CRM (Customer Relationship Management).
[0026] The SaaS system is a system deployed on the cloud that can store data on the cloud. After the data is stored in the cloud, users can access their information through any computer or mobile device connected to the Internet and request the SaaS system to download data. The SaaS system will download the file from the file storage server and return it to the user. After the application data is stored in the cloud, no data will be lost when the user's computer or mobile device fails.
[0027] However, there are some disadvantages in storing data and services in the cloud. For example, when the data contains a large number of pictures or files, and a large number of customers download data from the cloud at the same time, using compressed packages to deliver data to customers will cause excessive storage pressure on a single service node. In addition, some data itself may contain some text information as well as pictures and files. When exporting such data, it is hoped that the association relationship can be displayed. If the data and files are exported in a table file, the file will be too large. A large amount of data will occupy the hardware resources of the export service, including storage and network bandwidth, which can easily cause SaaS system failures.
[0028] Based on the above problems, the present invention provides a file downloading method based on the SaaS system. The SaaS system sends the file information to be downloaded to the client, so that the client can download it from the file storage server according to the download URL in the file information. Compared with the SaaS system directly downloading files from the file storage server, the file storage pressure and network bandwidth pressure are transferred to the client, reducing the storage pressure and network transmission pressure of the SaaS system, thereby reducing the probability of failure of the SaaS system. At the same time, the client can download files from the file storage server only after the user logs in to the SaaS system, thereby ensuring the security of the files.
[0029] Combine the following Figure 1-Figure 3 The present invention discloses a file downloading method based on a SaaS system. The method is applicable to the downloading of any data in a SaaS system. The execution subject of the method can be an electronic device or a file downloading method based on a SaaS system arranged in the electronic device. The file downloading device based on a SaaS system can be implemented by software, hardware or a combination of the two.
[0030] Figure 1 This is one of the flow charts of the file downloading method based on the SaaS system provided by the present invention, such as Figure 1 As shown, the method is applied to the SaaS system, including the following: Step 101: determine at least one set of file information to be downloaded in the SaaS system through a browser page; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded.
[0031] Here, the file information to be downloaded may include any file information, such as commodity information, book information, etc. Attribute information is used to identify or mark the text information of the file, and the user determines whether the file is the required file through the attribute information. The download URL may include a link to the storage path of the file to be downloaded.
[0032] Here, the file to be downloaded can be any file, such as a document, a picture, etc.
[0033] For example, if a user wants to download a book, the attribute information of the file to be downloaded may be the book title, author, publication date, etc. The download URL includes the storage path of the specific content of the book and / or the cover image of the book.
[0034] It should be noted that the SaaS system is a system deployed on the cloud. Users can access the SaaS system through a web browser page, and can also operate the SaaS system on the web browser page. Users can access the SaaS system by entering their account and password in the browser page.
[0035] Here, the method for determining at least one set of file information to be downloaded may be any appropriate method, for example, determining the file information to be downloaded by searching based on keywords input by the user, or using the file information selected by the user as the file information to be downloaded.
[0036] For example, determining at least one set of file information to be downloaded in the SaaS system through a browser page includes: receiving a login request from the user in the browser page; verifying the user identity in response to the login request; displaying at least one set of file information in the browser page if the verification is successful; and using the file information selected by the user as the file information to be downloaded in response to a selection operation instruction from the user in the browser page.
[0037] Here, the login request can be realized by entering the account and password, or the mobile phone number and verification code, or email address, etc.
[0038] Here, selecting the operation instruction can be implemented by clicking a selection mark in the page or entering a corresponding character string in the page.
[0039] Specifically, the user enters the account and password on the browser page to log in, and the SaaS system verifies the account and password. After the verification is passed, the user enters the SaaS system and displays the database in the SaaS system on the browser page. The database includes various types of file information. The user can select the file information corresponding to the file to be downloaded according to the attribute information in the file information. The SaaS system uses the file information selected by the user as the file information to be downloaded. Here, the user can select one or more file information.
[0040] In the embodiment of the present invention, the user's login information is verified to determine the user's identity and ensure the security of data in the SaaS system.
[0041] Step 102: Send all the file information to be downloaded to the client through the browser page; the client is used to download the corresponding file from the file storage server according to the attribute information and the download URL of the file to be downloaded, and the download of the client is performed when the user logs in to the SaaS system.
[0042] Here, the client can be a micro client, so that the user can quickly install and start the client. The client can be developed in Java language, packaged into an executable (exe) file format through a packaging tool and Java Runtime Environment (Java Runtime Environment, JRE), and installed and used in a Windows operating system.
[0043] Here, the file storage server is used to store files, and files can be downloaded from the file storage server through the download URL.
[0044] After the SaaS system determines the file information to be downloaded, it needs to export the file information to be downloaded so that it can be sent to the user end through the browser page. The following is how to send the information to be downloaded to the client.
[0045] For example, sending all the file information to be downloaded to the client via the browser page includes: in response to an export operation instruction of the user in the browser page, generating a file table containing all the file information to be downloaded based on all the file information to be downloaded; displaying prompt information on whether to download the file table in the browser page; in response to the user's download operation instruction in the prompt information, awakening the client; and sending the file table to the client via the browser page.
[0046] Here, the export operation instruction can be implemented by clicking an export mark in the page or inputting characters in the page, and the present invention is not limited to this.
[0047] Here, the file table may be a table that places the attribute information corresponding to the file information to be downloaded and the corresponding download website in different cells in the same row or in different cells in the same column to indicate the association between the attribute information and the file.
[0048] Here, the prompt information may be in any suitable manner, such as text prompt and / or voice prompt.
[0049] The download operation instruction can be implemented by clicking a download mark in the page or inputting a download character in the page, and the present invention is not limited to this.
[0050] Here, the method of waking up the client may be any appropriate method, for example, the SaaS system sends a wake-up signal to the client, or an interrupt notification or the like wakes up the client.
[0051] For example, when developing a client, the user can set a custom protocol of the Windows system to invoke the client.
[0052] It should be noted that the client cannot be used alone, and each use is invoked from the browser SaaS program.
[0053] Specifically, after the SaaS system determines the information of the files to be downloaded, it exports all the information of the files to be downloaded into a table to obtain a file table, wherein each row in the table contains attribute information and download URLs corresponding to one or more files to be downloaded. After the file table is generated, a prompt message indicating whether to download is displayed on the page. After the user confirms the download, the client is awakened through a custom protocol, and then the file table is sent to the client through the browser page.
[0054] In the embodiment of the present invention, data export is placed on the cloud server, and file download is placed on the micro client. By combining the cloud and the client, the storage pressure and network transmission pressure of the SaaS cloud service are reduced. In addition, the client does not need to process login data, but can only use cloud task invocation, which is very lightweight and improves the efficiency of data download.
[0055] In the embodiment of the present invention, the Saas system sends the file information to be downloaded to the client, so that the client can download it from the file storage server according to the download URL in the file information. Compared with the Saas system directly downloading files from the file storage server, the storage pressure and network bandwidth pressure of the file are transferred to the client, reducing the storage pressure and network transmission pressure of the Saas system, thereby reducing the probability of failure of the Saas system. At the same time, the client can download files from the file storage server only after the user logs in to the Saas system, thereby ensuring the security of the file.
[0056] Figure 2 This is the second flow chart of the file download method based on the SaaS system provided by the present invention. Figure 2 As shown, the method is applied to the client and includes the following: Step 201: Receive at least one file information to be downloaded sent by the SaaS system; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded.
[0057] Step 202: Download the corresponding file from the file storage server based on the attribute information of the file to be downloaded and the download URL of the file to be downloaded.
[0058] It should be noted that the attribute information and file information in the system data are processed separately, and the request link in the task table of the file stored locally can also be used directly if it is not needed.
[0059] Here, the method of downloading the corresponding file from the file storage server may be any appropriate method, for example, the client directly accesses the download website to download the file, or parses the download website to obtain the file storage path to download the file.
[0060] For example, the method of downloading a corresponding file from a file storage server based on the attribute information of the file to be downloaded and the download URL of the file to be downloaded includes: determining whether the SaaS system is in a logged-in state; if the SaaS system is in a logged-in state, determining whether the file to be downloaded is a target download file based on the attribute information; if the file to be downloaded is the target download file, parsing the download URL to obtain a storage path of the target download file; and downloading the corresponding file from the file storage server based on the storage path.
[0061] It should be noted that the client cannot be used alone and must be invoked by the SaaS system program. In addition, the SaaS system must be logged in. The client can verify whether the SaaS system is logged in based on the Token string sent by the SaaS system. In addition, each time the client downloads a file, it needs to carry the Token string for verification.
[0062] It should be noted that the token and file table passed when the SaaS system wakes up the client are only valid for the current task. The token will automatically renew when the current task is downloaded. If you manually log out of the web system, the client token will also become invalid. In addition, if there is no task operation after the expiration time set for the token, it will automatically become invalid. The client will eventually download the attachment to the user's local disk. The storage directory of the attachment will be named in accordance with the data ID and the data name, so that users can find it easily. In addition, a table file will be generated. The cell corresponding to the attachment field in the data table is a hyperlink to the folder or file. Clicking the file name in the table will automatically open the corresponding picture or folder.
[0063] In the embodiment of the present invention, the cloud and the client are combined, and the client does not need to provide login capability. It only needs to determine whether the SaaS system is in a logged-in state. If it is in a logged-in state, the customer can download files from the file storage server to ensure data security and avoid data leakage.
[0064] In the embodiment of the present invention, the Saas system sends the file information to be downloaded to the client, so that the client can download it from the file storage server according to the download URL in the file information. Compared with the Saas system directly downloading files from the file storage server, the client and the file storage system interact without occupying the resources of the Saas server. Therefore, the storage pressure and network bandwidth pressure of the file are transferred to the client, reducing the storage pressure and network transmission pressure of the Saas system, thereby reducing the probability of failure of the Saas system. At the same time, the client can download files from the file storage server only after the user logs in to the Saas system, thereby ensuring the security of the file.
[0065] Figure 3 This is the third flow chart of the file download method based on the SaaS system provided by the present invention, such as Figure 3 As shown, including: Step 301: The user sends an export data request to the SaaS cloud server through the SaaS browser.
[0066] Here, the Saas browser may be a browser page, and the data may be information of a file to be downloaded, and the information of the file to be downloaded includes attribute information of the file to be downloaded and a download URL.
[0067] Step 302: The SaaS cloud server returns the exported data table to the SaaS browser.
[0068] Step 303: The SaaS browser sends the login status and data table to the client.
[0069] Here, the client may be a micro client.
[0070] Step 304: The client parses the download URL and downloads the file from the file storage server.
[0071] The file storage server may be a cloud file storage system.
[0072] Step 305: The file storage server returns the download result to the client.
[0073] Step 306: The client stores the download result locally on the user's computer.
[0074] The file download method based on the SaaS system provided by the present invention can produce the following advantages: the SaaS system cloud server transfers the storage pressure of exporting pictures, files, etc. and the network bandwidth pressure to the user client, reducing the cost of the SaaS system and the probability of single point failure; the cloud and the micro client are combined, and the micro client does not need to process login data, etc., and can only use cloud task invocation, which is very lightweight; the text information and file information in the SaaS system data can be processed separately, and the request link in the file task table stored locally can also be used directly if it is not needed.
[0075] The following is a description of the file downloading device based on the Saas system provided by the present invention. The file downloading device based on the Saas system described below and the file downloading method based on the Saas system described above can be referenced to each other.
[0076] Figure 4 This is one of the structural diagrams of the file downloading device based on the SaaS system provided by the present invention. Figure 4 As shown, the file downloading device 400 based on the SaaS system includes: The determination module 401 is used to determine at least one set of file information to be downloaded in the SaaS system through a browser page; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; The sending module 402 is used to send all the file information to be downloaded to the client through the browser page; the client is used to download the corresponding file from the file storage server according to the attribute information and the download URL of the file to be downloaded, and the download of the client is performed when the user logs in to the SaaS system.
[0077] In some embodiments, the sending module 402 is specifically used to: generate a file table containing all the file information to be downloaded based on all the file information to be downloaded in response to the user's export operation instruction in the browser page; display a prompt message on the browser page whether to download the file table; wake up the client in response to the user's download operation instruction in the prompt message; and send the file table to the client through the browser page.
[0078] In some embodiments, the determination module 401 is specifically used to: receive a login request from the user in the browser page; verify the user identity in response to the login request; if the verification is successful, display at least one set of file information in the browser page; and respond to the user's selection operation instruction in the browser page, use the file information selected by the user as the file information to be downloaded.
[0079] Figure 5 This is a second structural diagram of the file downloading device based on the SaaS system provided by the present invention. Figure 5 As shown, the file downloading device 500 based on the SaaS system includes: The receiving module 501 is used to receive at least one file information to be downloaded sent by the SaaS system; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; The download module 502 is used to download the corresponding file from the file storage server based on the attribute information of the file to be downloaded and the download website of the file to be downloaded.
[0080] In some embodiments, the download module 502 is specifically used to: determine whether the Saas system is in a logged-in state; when the Saas system is in a logged-in state, determine whether the file to be downloaded is a target download file based on the attribute information; when the file to be downloaded is the target download file, parse the download URL to obtain the storage path of the target download file; based on the storage path, download the corresponding file from the file storage server.
[0081] Figure 6 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 6 As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute a file download method based on a SaaS system, the method comprising: determining at least one set of file information to be downloaded in the SaaS system through a browser page; the file information to be downloaded includes the attribute information of the file to be downloaded and the download website of the file to be downloaded; all the file information to be downloaded is sent to the client through the browser page; the client is used to download the corresponding file from the file storage server according to the attribute information and the download website of the file to be downloaded, and the download of the client is performed when the user logs in to the SaaS system.
[0082] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0083] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the file download method based on the Saas system provided by the above methods, and the method includes: determining at least one group of file information to be downloaded in the Saas system through a browser page; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; all the file information to be downloaded is sent to the client through the browser page; the client is used to download the corresponding file from the file storage server according to the attribute information and the download URL of the file to be downloaded, and the download of the client is performed when the user logs in to the Saas system.
[0084] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the file download method based on the SaaS system provided by the above-mentioned methods, the method comprising: determining at least one group of file information to be downloaded in the SaaS system through a browser page; the file information to be downloaded comprises attribute information of the file to be downloaded and a download URL of the file to be downloaded; all the file information to be downloaded is sent to a client through the browser page; the client is used to download the corresponding file from the file storage server according to the attribute information and the download URL of the file to be downloaded, and the downloading of the client is performed when the user logs in to the SaaS system.
[0085] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0086] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A file download method based on a SaaS system, applied to a SaaS system, characterized in that: include: Determine at least one set of file information to be downloaded in the SaaS system through a browser page; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; Sending all the file information to be downloaded to the client via the browser page; The client is used to download the corresponding file from the file storage server according to the attribute information and the download URL of the file to be downloaded. The downloading of the client is performed when the user logs in to the SaaS system.
2. The file download method based on the SaaS system according to claim 1, characterized in that: The sending all the to-be-downloaded file information to the client via the browser page includes: In response to an export operation instruction of the user in the browser page, generating a file table including all the file information to be downloaded based on all the file information to be downloaded; Displaying prompt information on the browser page whether to download the file form; In response to the user's download operation instruction in the prompt information, waking up the client; The file form is sent to the client through the browser page.
3. The file download method based on the SaaS system according to claim 1, characterized in that: Determining at least one set of file information to be downloaded in the SaaS system through the browser page includes: Receiving a login request from the user in the browser page; In response to the login request, verifying the user identity; In case the verification is successful, displaying at least one set of file information in the browser page; In response to a selection operation instruction of a user in the browser page, the file information selected by the user is used as the file information to be downloaded.
4. A file download method based on a SaaS system, applied to a client, characterized in that: include: Receiving at least one file to be downloaded sent by the SaaS system; The file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; Based on the attribute information of the file to be downloaded and the download website of the file to be downloaded, the corresponding file is downloaded from the file storage server.
5. The file downloading method according to claim 4, characterized in that: The downloading of the corresponding file from the file storage server based on the attribute information of the file to be downloaded and the download URL of the file to be downloaded includes: Determine whether the SaaS system is in a logged-in state; When the SaaS system is in a logged-in state, judging whether the file to be downloaded is a target download file based on the attribute information; When the file to be downloaded is the target download file, parsing the download URL to obtain a storage path of the target download file; Based on the storage path, the corresponding file is downloaded from the file storage server.
6. A file downloading device based on a SaaS system, characterized in that: include: A determination module, used to determine at least one set of file information to be downloaded in the SaaS system through a browser page; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; A sending module, used for sending all the file information to be downloaded to the client through the browser page; The client is used to download the corresponding file from the file storage server according to the attribute information and the download URL of the file to be downloaded. The downloading of the client is performed when the user logs in to the SaaS system.
7. A file downloading device based on SaaS system, characterized in that: include: A receiving module, used for receiving at least one file information to be downloaded sent by the SaaS system; the file information to be downloaded includes attribute information of the file to be downloaded and a download URL of the file to be downloaded; The download module is used to download the corresponding file from the file storage server based on the attribute information of the file to be downloaded and the download website of the file to be downloaded.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the file downloading method based on the SaaS system as described in any one of claims 1 to 3 is implemented.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the file downloading method based on the SaaS system as claimed in claim 4 or 5 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the file downloading method based on the SaaS system as described in any one of claims 1 to 3 or 4 to 5 is implemented.