CN109413151B - Proxy server for updating files - Google Patents

Proxy server for updating files Download PDF

Info

Publication number
CN109413151B
CN109413151B CN201811115393.5A CN201811115393A CN109413151B CN 109413151 B CN109413151 B CN 109413151B CN 201811115393 A CN201811115393 A CN 201811115393A CN 109413151 B CN109413151 B CN 109413151B
Authority
CN
China
Prior art keywords
files
proxy server
file
updating
update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811115393.5A
Other languages
Chinese (zh)
Other versions
CN109413151A (en
Inventor
曹志翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huaiyin Normal University
Original Assignee
Huaiyin Normal University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huaiyin Normal University filed Critical Huaiyin Normal University
Priority to CN201811115393.5A priority Critical patent/CN109413151B/en
Publication of CN109413151A publication Critical patent/CN109413151A/en
Application granted granted Critical
Publication of CN109413151B publication Critical patent/CN109413151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention relates to a proxy server, which realizes the storage of update files by setting different folders for different applications, can realize the positioning of corresponding files according to the time point of the last update in an update request, the number of the current effective files and the application types, acquires the effective files for updating, and can know whether the current user application files are complete or not by comparing the current effective files before updating, thereby preventing the application files from being abnormal and effectively improving the user experience.

Description

Proxy server for updating files
Technical Field
The invention relates to a proxy server for file updates.
Background
With the development of science and technology, the types of applications used by users are more and more, and in order to improve the user experience, files in various applications need to be continuously updated, and generally, the update of the users needs to be downloaded again and covered. The downloaded application file usually does not need to be downloaded again, so that the file is downloaded again each time the application file is updated, which causes waste of resources.
Meanwhile, in the using process of the application, the user may cause the file to be lost due to misoperation and the like, and at this time, the user needs to log in the server again to download the file, however, some files usually have certain timeliness, and the user can only download the file again from the network because the timeliness is not clear, thereby also causing network waste.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the technical problem of resource waste in the file updating process in the prior art is solved, and the proxy server for updating the files is provided.
The technical scheme adopted by the invention for solving the technical problems is as follows: a proxy server for file updates, wherein the proxy server comprises: a receiving module: the system comprises a receiving terminal, a processing terminal and a display terminal, wherein the receiving terminal is used for receiving an updating request sent by the receiving terminal, and the updating request comprises a time point of last updating, the number of currently effective files and an application type; a comparison module: and the file updating server is used for searching a first folder of the application corresponding to the last updating time point according to the last updating time point and the application type of the updating request, determining the number of the effective files corresponding to the current time point in the first folder, and requesting the updating server for updating the files if the number of the effective files is consistent with the number of the effective files in the updating request.
Wherein the proxy server further comprises: an update module: the server is used for acquiring the update file, wherein the update file is updated after the last update time point, is loaded under the first folder and then is forwarded to the terminal; while modifying the point-in-time attribute in the first folder name.
Wherein, the proxy server further includes a response module, configured to feed back a response message to the terminal if the number of the valid files in the update request is inconsistent with the number of the valid files in the update request, so that the terminal submits a currently valid file list according to the response message, and the receiving module is further configured to: finding out abnormal files according to the file list and submitting the abnormal files to the server so that the server can judge whether the abnormal files are valid files or not according to the file list, if the abnormal files are valid files, returning the abnormal files to the terminal through the proxy server again, and if the abnormal files are not valid files, informing the terminal that the abnormal files are invalid files so that a user can process the abnormal files.
Wherein, the proxy server also comprises a storage area allocation module: the system comprises a storage area, a storage area and a storage area, wherein the storage area is used for distributing storage areas with different sizes according to different account number levels; and when the account number is upgraded, expanding the storage area corresponding to the account number.
Wherein the update file is stored in encrypted form in the proxy server.
Wherein the agent module further comprises: and the storage area setting module is used for setting a storage area according to the user account and dividing the storage area according to the application of the user.
Wherein the first folder is named as "application type + update time point".
The first folder comprises a first index document, wherein the document comprises an effective period of a corresponding file in the folder, and the number of effective files and the number of invalid files corresponding to the current time point.
The invention has the beneficial effects that the invention provides the proxy server, the storage of the update files is realized by setting different first folders for different applications, the positioning of the corresponding files can be realized according to the time point of the last update in the update request, the number of the currently effective files and the application types, the effective files are obtained for updating, and simultaneously, before the update, whether the current user application files are complete or not can be known through the comparison of the currently effective files, the application abnormity is prevented, and the user experience is effectively improved.
Drawings
The invention is further illustrated with reference to the following figures and examples.
Fig. 1 is a block diagram of the structure of the preferred embodiment of the present invention.
Detailed Description
The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic views illustrating only the basic structure of the present invention in a schematic manner, and thus show only the constitution related to the present invention.
As shown in fig. 1, the present invention relates to a proxy server for file update, wherein the proxy server comprises: a receiving module: the system comprises a receiving terminal, a processing terminal and a display terminal, wherein the receiving terminal is used for receiving an updating request sent by the receiving terminal, and the updating request comprises a time point of last updating, the number of currently effective files and an application type; a comparison module: and the file updating server is used for searching a first folder of the application corresponding to the last updating time point according to the last updating time point and the application type of the updating request, determining the number of the effective files corresponding to the current time point in the first folder, and requesting the updating server for updating the files if the number of the effective files is consistent with the number of the effective files in the updating request.
The proxy server is arranged, so that the integrity of the current file of the terminal can be accurately known before the file is updated, secondary updating caused by incomplete files after file errors or deletion caused by misoperation of a user is prevented, and the user experience is improved.
Wherein the proxy server further comprises: an update module: the server is used for acquiring the update file, wherein the update file is updated after the last update time point, is loaded under the first folder and then is forwarded to the terminal; while modifying the point-in-time attribute in the first folder name.
Wherein, the proxy server further includes a response module, configured to feed back a response message to the terminal if the number of the valid files in the update request is inconsistent with the number of the valid files in the update request, so that the terminal submits a currently valid file list according to the response message, and the receiving module is further configured to: finding out abnormal files according to the file list and submitting the abnormal files to the server so that the server can judge whether the abnormal files are valid files or not according to the file list, if the abnormal files are valid files, returning the abnormal files to the terminal through the proxy server again, and if the abnormal files are not valid files, informing the terminal that the abnormal files are invalid files so that a user can process the abnormal files.
The abnormal file is obtained by searching the abnormal file, and when the server determines that the abnormal file is the valid file, the file and the corresponding update file are fed back to the user together, so that the update efficiency of the file is improved, the application abnormality caused by mistaken update after update is prevented, and the user experience is effectively improved.
Wherein, the proxy server also comprises a storage area allocation module: the system comprises a storage area, a storage area and a storage area, wherein the storage area is used for distributing storage areas with different sizes according to different account number levels; and when the account number is upgraded, expanding the storage area corresponding to the account number.
Wherein the update file is stored in encrypted form in the proxy server.
Wherein the agent module further comprises: and the storage area setting module is used for setting a storage area according to the user account and dividing the storage area according to the application of the user. The storage area is divided according to different applications, so that the management efficiency of the storage area can be effectively improved, the acquisition efficiency of the application files can be improved, and the updating efficiency can be improved.
Wherein the first folder is named as "application type + update time point".
The first folder comprises a first index document, wherein the document comprises an effective period of a corresponding file in the folder, and the number of effective files and the number of invalid files corresponding to the current time point.
Preferably, the proxy server further includes a second folder corresponding to the application, and after the server file is updated, the updated file is pushed to the second folder, so that after a user request is received, the file can be directly updated from the second folder.
Through the setting of the second folder, the server file can be directly pushed to the proxy server when the server file is updated, so that the number of files downloaded from the server can be reduced during updating, and the updating efficiency is improved. In the updating process, the time attributes in the first folder and the second folder are changed after each updating, so that accurate updating time is obtained conveniently.
The invention has the beneficial effects that the proxy server realizes the storage of the update files by setting different folders for different applications, can realize the positioning of the corresponding files according to the time point of the last update in the update request, the number of the current effective files and the application types, obtains the effective files for updating, and can know whether the application files of the current user are complete or not by comparing the current effective files before updating, thereby preventing the application files from being abnormal and effectively improving the user experience.
In light of the foregoing description of the preferred embodiment of the present invention, many modifications and variations will be apparent to those skilled in the art without departing from the spirit and scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.

Claims (8)

1. A proxy server for file updates, the proxy server comprising: a receiving module: the system comprises a receiving terminal, a processing terminal and a display terminal, wherein the receiving terminal is used for receiving an updating request sent by the receiving terminal, and the updating request comprises a time point of last updating, the number of currently effective files and an application type; a comparison module: and the file updating module is used for searching a first folder of the application corresponding to the last updating time point according to the last updating time point and the application type of the updating request, determining the number of the effective files corresponding to the current time point in the first folder, and requesting the server for updating the files if the number of the effective files is consistent with the number of the effective files in the updating request.
2. The proxy server of claim 1, wherein the proxy server further comprises: an update module: the server is used for acquiring the update file, wherein the update file is updated after the last update time point, is loaded under the first folder and then is forwarded to the terminal; while modifying the point-in-time attribute in the first folder name.
3. The proxy server according to claim 1, wherein the proxy server further comprises a response module, configured to feed back a response message to the terminal if the number of the valid files in the update request is inconsistent with the number of the valid files in the update request, so that the terminal submits a currently valid file list according to the response message, and the receiving module is further configured to: finding out abnormal files according to the file list and submitting the abnormal files to the server so that the server can judge whether the abnormal files are valid files or not according to the file list, if the abnormal files are valid files, returning the abnormal files to the terminal through the proxy server again, and if the abnormal files are not valid files, informing the terminal that the abnormal files are invalid files so that a user can process the abnormal files.
4. The proxy server of claim 1, wherein the proxy server further comprises a storage allocation module: the system comprises a storage area, a storage area and a storage area, wherein the storage area is used for distributing storage areas with different sizes according to different account number levels; and when the account number is upgraded, expanding the storage area corresponding to the account number.
5. The proxy server of claim 1, wherein the update file is stored in the proxy server in encrypted form.
6. The proxy server of claim 1, wherein the proxy module further comprises: and the storage area setting module is used for setting a storage area according to the user account and dividing the storage area according to the application of the user.
7. The proxy server of claim 6, wherein the first folder is named "application type + update time point".
8. The proxy server according to claim 1, wherein the first folder includes a first index document, and wherein the document includes an expiration date of a corresponding file in the folder, and a number of valid files and a number of invalid files corresponding to the current time point.
CN201811115393.5A 2018-09-25 2018-09-25 Proxy server for updating files Active CN109413151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811115393.5A CN109413151B (en) 2018-09-25 2018-09-25 Proxy server for updating files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811115393.5A CN109413151B (en) 2018-09-25 2018-09-25 Proxy server for updating files

Publications (2)

Publication Number Publication Date
CN109413151A CN109413151A (en) 2019-03-01
CN109413151B true CN109413151B (en) 2021-01-12

Family

ID=65466021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811115393.5A Active CN109413151B (en) 2018-09-25 2018-09-25 Proxy server for updating files

Country Status (1)

Country Link
CN (1) CN109413151B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158907A (en) * 2014-08-29 2014-11-19 腾讯科技(深圳)有限公司 Method and device of downloading application program file
CN105025084A (en) * 2015-06-10 2015-11-04 国网智能电网研究院 A cloud storage system based on synchronization agents and mixed storage
CN105302708A (en) * 2014-06-30 2016-02-03 联发科技(新加坡)私人有限公司 Mobile terminal and detection method thereof
CN106411967A (en) * 2015-07-27 2017-02-15 深圳市赛格导航科技股份有限公司 Automobile electronic product remote upgrading method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9678967B2 (en) * 2003-05-22 2017-06-13 Callahan Cellular L.L.C. Information source agent systems and methods for distributed data storage and management using content signatures

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302708A (en) * 2014-06-30 2016-02-03 联发科技(新加坡)私人有限公司 Mobile terminal and detection method thereof
CN104158907A (en) * 2014-08-29 2014-11-19 腾讯科技(深圳)有限公司 Method and device of downloading application program file
CN105025084A (en) * 2015-06-10 2015-11-04 国网智能电网研究院 A cloud storage system based on synchronization agents and mixed storage
CN106411967A (en) * 2015-07-27 2017-02-15 深圳市赛格导航科技股份有限公司 Automobile electronic product remote upgrading method and system

Also Published As

Publication number Publication date
CN109413151A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN110489417B (en) Data processing method and related equipment
US10694353B2 (en) Updating web resources
WO2021012568A1 (en) Data processing method and related device
US9906595B2 (en) Content source discovery
CN104778057A (en) Terminal system upgrading method and device, and server
US20130311613A1 (en) Updating Web Resources
CN111143382B (en) Data processing method, system and computer readable storage medium
CN111221469B (en) Method, device and system for synchronizing cache data
CN111767297A (en) Big data processing method, device, equipment and medium
CN114185991A (en) Method and related device for realizing data synchronization based on distributed database
CN107844310B (en) Configuration information updating method and system
CN106603289A (en) LMT configuration file smooth upgrade method
CN113495765A (en) Business data filling method and device, storage medium and electronic device
CN113067853A (en) Data pushing method and device, electronic equipment and storage medium
CN109413151B (en) Proxy server for updating files
CN110955460B (en) Service process starting method and device, electronic equipment and storage medium
CN103220336B (en) The implementation method of vector clock and system in a kind of file synchronization
CN106371867B (en) Financial equipment software updating method and system
KR20150109720A (en) Method for releasing applications and server-client system using the same
CN109325057B (en) Middleware management method, device, computer equipment and storage medium
CN110688201B (en) Log management method and related equipment
CA3138961A1 (en) Hive table state changing method and device
CN109688204B (en) File downloading method, node and terminal based on NDN (named data networking)
JP6522261B1 (en) Method and apparatus for managing file attribute information {METHOD FOR MANAGING ATTRIBUTE INFORMATION OF FILE AND COMPUTING DEVICE USING THE SAME}
CN107493316B (en) Application operation management method, server and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant