CN106569841B - File loading method and device - Google Patents

File loading method and device Download PDF

Info

Publication number
CN106569841B
CN106569841B CN201510648073.6A CN201510648073A CN106569841B CN 106569841 B CN106569841 B CN 106569841B CN 201510648073 A CN201510648073 A CN 201510648073A CN 106569841 B CN106569841 B CN 106569841B
Authority
CN
China
Prior art keywords
file
download address
loaded
cloud server
stored
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
CN201510648073.6A
Other languages
Chinese (zh)
Other versions
CN106569841A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510648073.6A priority Critical patent/CN106569841B/en
Publication of CN106569841A publication Critical patent/CN106569841A/en
Application granted granted Critical
Publication of CN106569841B publication Critical patent/CN106569841B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application provides a file loading method, which comprises the following steps: when a file needs to be loaded, if a download address of a locally stored file to be loaded is determined and the file to be loaded is stored, verifying the file to be loaded by using a first preset verification algorithm to generate a second verification code; the downloading address carries a first check code generated by the cloud server by using a first preset check algorithm to check the corresponding file to be loaded; if the second check code is determined to be the same as the first check code, loading the locally stored file to be loaded; and otherwise, downloading the file from the cloud server through the download address of the file to be loaded and loading. Correspondingly, the application also provides a file loading device which can ensure the correctness of the loaded file under the condition of shortening the time for loading the file.

Description

File loading method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a file loading method and apparatus.
Background
With the increasing popularization of terminal devices, such as android smartphones, android tablets and the like, software security problems on the terminal devices become more serious, and many software programs are maliciously tampered, so that application programs are broken down or other improper purposes of a tamperer are achieved.
The falsifier generally achieves the purpose by modifying various configuration files, description files, data files and the like of an application program, the traditional application solution is to encrypt the content of a file, but with the continuous development of cracking technology, various encryption methods are easy to crack, and after cracking, the falsifier can easily read the content in the original file and modify the content at will, and the correctness of the local file cannot be guaranteed.
In the process of loading files, such as web pages, in order to shorten the loading time, some unchangeable resource files are usually directly loaded from the local, and these files may be tampered, so that the correctness of loading files cannot be guaranteed.
Disclosure of Invention
In view of this, the present application provides a file loading method and apparatus, which can ensure the correctness of a loaded file under the condition of reducing the time for loading the file.
In order to solve the technical problem, the technical scheme of the application is realized as follows:
a file loading method is applied to terminal equipment and comprises the following steps:
when a file needs to be loaded, if a download address of a locally stored file to be loaded is determined and the file to be loaded is stored, verifying the file to be loaded by using a first preset verification algorithm to generate a second verification code; the downloading address carries a first check code generated by the cloud server by using a first preset check algorithm to check the corresponding file to be loaded;
when the second check code is determined to be the same as the first check code, loading the locally stored file to be loaded; and otherwise, downloading the file from the cloud server through the download address of the file to be loaded and loading.
A file loading device is applied to terminal equipment and comprises: a determination unit and a processing unit;
the determining unit is used for determining whether a download address of a file to be loaded and the file to be loaded are stored locally when the file needs to be loaded; determining whether the second check code is the same as the first check code; the downloading address carries a first check code generated by the cloud server by using a first preset check algorithm to check the corresponding file to be loaded;
the processing unit is used for verifying the file to be loaded by using a first preset verification algorithm to generate a second verification code if the determining unit determines that the download address of the file to be loaded is locally stored and the file to be loaded is stored; when the determining unit determines that the second check code is the same as the first check code, loading the locally stored file to be loaded; and otherwise, downloading the file from the cloud server through the download address of the file to be loaded and loading.
According to the technical scheme, when the file needs to be loaded, if the corresponding file is stored locally, the stored file is verified by using the same verification algorithm as that used by the cloud server, and if the file is verified to be not tampered, namely the file is the same as the file stored on the cloud server, the file stored locally is loaded; otherwise, downloading and loading through the cloud server. The scheme can ensure the correctness of the loaded file under the condition of shortening the time for loading the file.
Drawings
FIG. 1 is a schematic diagram of a system for verifying the security of a local document in an embodiment of the present application;
FIG. 2 is a flowchart illustrating a process of verifying security of a local document according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a second embodiment of the present application for verifying security of a local document;
fig. 4 is a schematic flow chart illustrating a process of updating a loaded file in the third embodiment of the present application;
FIG. 5 is a schematic diagram of an apparatus for implementing the above technique in an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware architecture of a terminal device for loading a file in the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the technical solutions of the present invention are described in detail below with reference to the accompanying drawings and examples.
In the process of loading a file, such as loading a web page, when a certain file needs to be loaded in the process of loading an operating system, some unchangeable resources need to be pulled, so that the loading time is too long. In order to ensure the security of a file read from a local cache, an embodiment of the present application provides a file loading method, which is applied to a terminal device in a system including the terminal device and a cloud server.
The file loading referred to in the embodiment of the application refers to loading of a file acquired by a terminal device from a cloud server. The file loading mode aiming at the local configuration of the terminal equipment is not improved, namely the method is realized as the prior method.
Referring to fig. 1, fig. 1 is a schematic diagram of a system for verifying the security of a local document in an embodiment of the present application.
Taking web page loading as an example, when the terminal device in fig. 1 needs to load a file by first loading or updating certain function description information of a web page in a loading process, a download address for downloading the file to be loaded is requested from the cloud server. The function description information includes, for example, pictures to be loaded in a certain area, configuration files to be loaded in a webpage loading process, and the like.
In order to realize the technical scheme, the cloud server carries a first verification code when responding to the download address to the terminal device, and the first verification code is generated by the cloud server through checking the file to be loaded by using a first preset checking algorithm.
The first verification code is carried at the end of the download address and before the file extension in the download address.
If the downloading address for downloading the file to be loaded is a URL address, the form of the URL address responded by the cloud server to the terminal device may be as follows:
http:// andfcg.qq.com/fcg-bin/mobile/android/0401 BEBF2BD1E1CA7C04060A111E634. js, wherein andfcg.qq.com/fcg-bin/mobile/android is an address generated for a file to be downloaded, and like the existing implementation, 0401BEBF2BD1E1CA7C04060A16D1E634 is a first check code newly added in the embodiment of the application, and js is a file extension name.
The download address of the cloud server responding to the terminal device not only enables the terminal device to download the corresponding file, but also enables the terminal device to verify whether the corresponding file stored locally in the terminal device is tampered with by using the first verification code carried in the download address, and a second function of the download address will be described in detail below.
And when the terminal equipment receives the download address responded by the cloud server, the download address corresponding to the function description information identifier is stored, and the corresponding file is downloaded to the cloud server by using the download address for loading.
The loading process of a certain file in the operating system loading process and the loading process of a certain file in the webpage loading process are not described in detail here.
The following describes in detail a process of verifying security of a local file in an embodiment of the present application with reference to the accompanying drawings.
Example one
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a process of verifying security of a local document according to a first embodiment of the present application. The method comprises the following specific steps:
step 201, when a terminal device needs to load a file, if a download address of a locally stored file to be loaded is determined and the file to be loaded is stored, the file to be loaded is verified by using a first preset verification algorithm to generate a second verification code.
In the step, the download address carries a first check code generated by the cloud server by using a first preset check algorithm to check the corresponding file to be loaded.
And when the download address of the file to be loaded is determined to be locally stored and the file to be loaded is not stored, downloading the file from the cloud server through the download address of the file to be loaded and loading.
The first preset check algorithm may be a check algorithm such as MD5, CRC, etc., and the check algorithm is not limited in this embodiment.
Step 202, if the terminal device determines that the second check code is the same as the first check code, loading the locally stored file to be loaded; and otherwise, downloading the file from the cloud server through the download address of the file to be loaded and loading.
When the second check code is determined to be different from the first check code, the corresponding file to be loaded stored locally can be deleted, and the corresponding file to be loaded stored locally can be updated after the file is downloaded through the cloud server.
In the embodiment of the application, when the corresponding file to be loaded is stored, whether directly or through updating, there are two naming methods for the stored file, specifically as follows:
the first method comprises the following steps: directly naming and storing the file by a downloading address for downloading the file to be loaded;
the second method is as follows: and verifying the download address for downloading the file to be loaded by using a second preset verification algorithm to generate a third verification code, and naming the file to be stored by using the third verification code. The first preset verification algorithm and the second preset verification algorithm may be the same or different. In particular implementations, a check algorithm in existing implementations, such as MD5, CRC, etc., may be used.
Because there are the above two naming methods for file storage, there are two corresponding methods for determining whether to store the file to be loaded locally in step 201, which are specifically as follows:
the first method comprises the steps that when a download address of a file to be loaded is locally stored is determined, whether the file name of the locally stored file is the same as the download address is determined, and if yes, the file to be loaded is locally stored is determined; otherwise, determining that the file to be loaded is not stored locally;
the second method comprises the steps that when a download address of a file to be loaded is locally stored is determined, a second preset verification algorithm is used for verifying the download address to generate a fourth verification code, whether the file name of the locally stored file is the same as the fourth verification code is determined, and if yes, the file to be loaded is locally stored; otherwise, determining that the file to be loaded is not stored locally.
By the embodiment, the locally stored file can be directly loaded when the locally stored file is not tampered, so that the safety of using the local file is ensured, and the problem of loading time process caused by loading of unchanged resources is solved.
Example two
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a process of verifying the security of a local document according to a second embodiment of the present application. The method comprises the following specific steps:
step 301, the terminal device needs to load a file.
Step 302, the terminal device determines whether a download address corresponding to the file to be loaded is stored locally, if yes, step 303 is executed; otherwise, step 310 is performed.
Step 303, the terminal device verifies the download address by using a second preset verification algorithm to generate a fourth verification code.
Step 304, the terminal device determines whether the file name of a file stored locally is the same as the fourth check code, if so, step 305 is executed; otherwise, step 308 is performed.
Step 305, the terminal device verifies the locally stored file by using a first preset verification algorithm to generate a second verification code.
Step 306, the terminal device determines whether the second check code is the same as the first check code in the download address, if yes, step 307 is executed; otherwise, step 308 is performed.
Step 307, the terminal device loads the corresponding file stored locally, and the process is ended.
And step 308, the terminal device downloads the file from the cloud server through the download address and loads the file.
Step 309, the terminal device names the downloaded file using the second check code and updates and stores the file, and the process is ended.
And updating the files with the same local storage file name, and directly storing the files without the same local storage file name.
In step 310, the terminal device requests a server to download a download address of a file to be loaded.
And 311, when the terminal device receives the download address responded by the server, storing and downloading the file from the cloud server through the download address.
And step 312, the terminal device loads and stores the file, and names the file with a check name generated by checking the download address by using a second preset check algorithm during storage.
In the embodiment of the present application, a check code generated by checking a download address by using a second preset check algorithm is named for storage and search as an example.
The first preset checking algorithm and the second checking algorithm may be the same or different.
In the embodiment, the check code of the file is dynamically carried in the download address by the cloud server and is issued to the terminal equipment; the terminal equipment verifies the download address according to a second preset verification algorithm, determines whether the local storage corresponds to a file to be loaded, if yes, verifies the locally stored file by using the first preset verification algorithm, determines whether the locally stored file is tampered by using a verification result which is the same as a verification code carried by the cloud server in the download address, if tampered, downloads the file through the cloud server again, and otherwise, directly loads the locally stored file. By the embodiment, the local file is guaranteed not to be used if being tampered, and is not tampered and directly used, so that the speed of loading the file by the terminal equipment is increased.
EXAMPLE III
Referring to fig. 4, fig. 4 is a schematic view illustrating a flow of updating a loaded file in a third embodiment of the present application. The method comprises the following specific steps:
step 401, when the loaded file needs to be updated, the terminal device requests the cloud server for an address for downloading a new file.
Step 402, when receiving the download address responded by the cloud server, the terminal device downloads the new file through the download address and loads the new file, so as to update the loaded file.
In the embodiment of the application, when the cloud server finds that the download address changes, for example, the address of the stored file or the verification code corresponding to the file changes, the cloud server may also actively send the changed download address to the terminal device.
And when the terminal equipment receives the download address issued by the cloud server due to the download address change of any file, updating the corresponding download address.
When the cloud server issues the download address to the terminal device, the cloud server carries the function description information identifier corresponding to the download address on the terminal device, so that the terminal device can know which download address to update when receiving the download address.
In the embodiment, a file loading implementation manner is provided for updating, when the loaded file needs to be updated, whether the local corresponding file is tampered or not is not concerned, and a new file needs to be downloaded to the cloud server again for loading and updating.
Based on the same inventive concept, the application also provides a file loading device which is applied to the terminal equipment. Referring to fig. 5, fig. 5 is a schematic structural diagram of an apparatus applied to the above technology in the embodiment of the present application. The device includes: a determination unit 501 and a processing unit 502;
a determining unit 501, configured to determine whether a download address of a file to be loaded and the file to be loaded are stored locally when the file needs to be loaded; determining whether the second check code is the same as the first check code; the downloading address carries a first check code generated by the cloud server by using a first preset check algorithm to check the corresponding file to be loaded;
the processing unit 502 is configured to, if the determining unit 501 determines that the download address of the file to be loaded is locally stored and the file to be loaded is stored, verify the file to be loaded by using a first preset verification algorithm to generate a second verification code; if the determining unit 501 determines that the second check code is the same as the first check code, the locally stored file to be loaded is loaded; and otherwise, downloading the file from the cloud server through the download address of the file to be loaded and loading.
Preferably, the first and second liquid crystal films are made of a polymer,
the processing unit 502 is further configured to, if the determining unit 501 determines that the download address of the file to be loaded is locally stored, and the file to be loaded is not stored, download the file from the cloud server through the download address of the file to be loaded and load the file.
Preferably, the apparatus further comprises: a storage unit;
the storage unit 503 is further configured to store the file after the processing unit 502 downloads the file from the cloud server through the download address of the file to be loaded, and name the file by the download address of the file to be loaded;
the determining unit 501 is specifically configured to determine a download address of a file to be locally stored, and when the file to be loaded is stored and the download address of the file to be locally stored is determined, if a file name of a file stored in the storing unit 503 is the same as the download address, determine that the file to be loaded is locally stored.
Preferably, the apparatus further comprises: a storage unit;
the storage unit 503 is further configured to, after downloading the file from the cloud server through the download address of the file to be loaded, verify the file by using a second preset verification algorithm to generate a third verification code; storing the file and naming the file by a third check code; wherein the first preset checking algorithm is the same as or different from the second checking algorithm;
the determining unit 501 is specifically configured to determine a download address where a file to be loaded is locally stored, and when the file to be loaded is stored and the download address where the file to be loaded is locally stored is determined, verify the download address by using a second preset verification algorithm to generate a fourth verification code, and if a file name of a file stored in the storing unit 503 is the same as the fourth verification code, determine that the file to be loaded is locally stored.
Preferably, the first and second liquid crystal films are made of a polymer,
the processing unit 502 is further configured to request the cloud server to download an address of a new file when the loaded file needs to be updated; and when receiving the download address responded by the cloud server, downloading the new file through the download address and loading the new file so as to update the loaded file.
Preferably, the first and second liquid crystal films are made of a polymer,
the processing unit 502 is further configured to update the corresponding download address when receiving the download address issued by the cloud server due to a change in the download address of any file.
The units of the above embodiments may be integrated into one body, or may be separately deployed; may be combined into one unit or further divided into a plurality of sub-units.
The units in the embodiments of the present application may be implemented mechanically or electronically. For example, a hardware module may include a specially designed permanent circuit or logic device (e.g., a special purpose processor such as an FPGA or ASIC) for performing specific operations. A hardware module may also include programmable logic devices or circuits (e.g., including a general-purpose processor or other programmable processor) that are temporarily configured by software to perform certain operations. The implementation of the hardware module in a mechanical manner, or in a dedicated permanent circuit, or in a temporarily configured circuit (e.g., configured by software), may be determined based on cost and time considerations.
The above description is made on the device on the terminal device for performing file loading in the embodiment of the present application, and a hardware architecture composition of the terminal device in the embodiment of the present application is given below, where the device is a programmable device capable of combining software and hardware, and specifically refer to fig. 6, where fig. 6 is a schematic diagram of a hardware architecture composition of the terminal device for performing file loading in the embodiment of the present application. The terminal device may include: a processor 610, a memory 620, a port 630, and a bus 640. The processor 610 and the memory 620 are interconnected by a bus 640. Processor 610 may obtain and output data through port 630; wherein the content of the first and second substances,
the determining unit 501 when executed by the processor 610 may be: when a file needs to be loaded, determining whether a download address of the file to be loaded and the file to be loaded are stored locally; when the processing unit calculates the second check code, determining whether the second check code is the same as the first check code;
the computing unit 402 when executed by the processor 610 may be: if the determining unit 501 determines that the download address of the file to be loaded is locally stored and the file to be loaded is stored, a first preset check algorithm is used for checking the file to be loaded to generate a second check code; when the determining unit 501 determines that the second check code is the same as the first check code, the file to be loaded stored locally is loaded; and otherwise, downloading the file from the cloud server through the download address of the file to be loaded and loading.
The storage unit 503, when executed by the processor 610, may be: after the processing unit 502 downloads the file from the cloud server through the download address of the file to be loaded, the file is stored.
It can be seen that when the instruction modules stored in the memory 620 are executed by the processor 610, various functions of the acquiring unit, the calculating unit and the processing unit in the foregoing technical solutions can be realized.
In addition, the embodiments of the present invention can be realized by a data processing program executed by a device such as a computer. It is clear that the data processing program constitutes the invention. Further, a data processing program, which is generally stored in one storage medium, is executed by directly reading the program out of the storage medium or by installing or copying the program into a storage device (such as a hard disk and/or a memory) of the data processing device. Such a storage medium therefore also constitutes the present invention. The storage medium may use any type of recording means, such as a paper storage medium (e.g., paper tape, etc.), a magnetic storage medium (e.g., a flexible disk, a hard disk, a flash memory, etc.), an optical storage medium (e.g., a CD-ROM, etc.), a magneto-optical storage medium (e.g., an MO, etc.), and the like.
Therefore, the present invention also discloses a storage medium, in which a data processing program is stored, the data processing program being used for executing the above technical solution of the present invention.
It should be noted that the terminal device shown in fig. 6 is only a specific example, and may also be implemented by other structures different from those described in the present embodiment, for example, operations performed when the above instruction codes are executed may also be implemented by an Application Specific Integrated Circuit (ASIC). In addition, the processor 610 may be one or more, and if there are a plurality of processors, the plurality of processors are responsible for reading and executing the instruction codes. Therefore, the present application does not specifically limit the specific structure of the test device.
In summary, when a file needs to be loaded, if the file corresponds to a local storage, the stored file is verified by using the same verification algorithm as that used by the cloud server, and if the file is verified to be not tampered, that is, the file is the same as the file stored in the cloud server, the file stored locally is loaded; otherwise, downloading and loading through the cloud server. The scheme can ensure the correctness of the loaded file under the condition of shortening the time for loading the file.
During specific implementation, the check code of the file is dynamically carried in the download address through the cloud server and is issued to the terminal equipment; the terminal equipment verifies the download address according to a second preset verification algorithm, determines whether the local storage corresponds to a file to be loaded, if yes, verifies the locally stored file by using the first preset verification algorithm, determines whether the locally stored file is tampered by using a verification result which is the same as a verification code carried by the cloud server in the download address, if tampered, downloads the file through the cloud server again, and otherwise, directly loads the locally stored file. By the embodiment, the local file is not used if tampered, and the local file is directly used if not tampered, so that the speed of loading the file by the terminal device is increased on the basis of ensuring the correctness of the loaded file.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (14)

1. A file loading method is applied to terminal equipment and is characterized by comprising the following steps:
requesting a cloud server to download a download address of a file to be loaded, so that the cloud server verifies the file to be loaded by using a first preset verification algorithm to generate a first verification code, and carrying the first verification code when responding to the download address to the terminal equipment;
receiving the download address from the cloud server;
when a file needs to be loaded, if the download address is determined to be locally stored and the file to be loaded is stored, verifying the file to be loaded by using the first preset verification algorithm to generate a second verification code, and acquiring the first verification code from the download address;
if the second check code is determined to be the same as the first check code, loading the locally stored file to be loaded; otherwise, downloading the file from the cloud server through the download address and loading the file;
and when the cloud server determines that the first check code changes, receiving a download address carrying the changed first check code from the cloud server.
2. The method of claim 1, further comprising:
and if the download address is determined to be stored locally and the file to be loaded is not stored, downloading the file from the cloud server through the download address and loading.
3. The method of claim 1, wherein after downloading the file from the cloud server via the download address, the method further comprises: storing the file and naming the file by the download address;
the determining to locally store the download address and store the file to be loaded includes:
and if the file name of a locally stored file is the same as the download address, determining that the file to be loaded is locally stored.
4. The method of claim 1, wherein after downloading the file from the cloud server via the download address, the method further comprises:
verifying the download address by using a second preset verification algorithm to generate a third verification code;
storing the file, and naming the file by the third check code;
the determining to locally store the download address and store the file to be loaded includes:
and verifying the download address by using the second preset verification algorithm to generate a fourth verification code, and if the file name of a locally stored file is the same as the fourth verification code, determining that the locally stored file to be loaded is stored.
5. The method of claim 1, wherein the first check code is carried at an end of the download address and precedes a file extension in the download address.
6. The method of claim 1, further comprising:
when the loaded file needs to be updated, requesting the cloud server for downloading an address of a new file;
and when receiving the download address responded by the cloud server, downloading the new file through the download address and loading the new file so as to update the loaded file.
7. The method of claim 1, further comprising:
and when the download address carrying the changed first check code is received, updating the corresponding download address.
8. A file loading device is applied to terminal equipment, and is characterized by comprising: a determination unit and a processing unit;
the determining unit is used for requesting a cloud server to download a download address of a file to be loaded so that the cloud server verifies the file to be loaded by using a first preset verification algorithm to generate a first verification code, and the first verification code is carried when the download address is responded to the terminal equipment; receiving the download address from the cloud server; when a file needs to be loaded, determining whether the download address and the file to be loaded are stored locally; determining whether a second check code is identical to the first check code;
the processing unit is configured to verify the file to be loaded by using the first preset verification algorithm to generate the second verification code if the determining unit determines that the download address is locally stored and the file to be loaded is stored; if the determining unit determines that the second check code is the same as the first check code, loading the locally stored file to be loaded; otherwise, downloading the file from the cloud server through the download address and loading the file; and when the cloud server determines that the first check code changes, receiving a download address carrying the changed first check code from the cloud server.
9. The apparatus of claim 8,
the processing unit is further configured to download the file from the cloud server through the download address and load the file if the determining unit determines that the download address is stored locally and the file to be loaded is not stored.
10. The apparatus of claim 8, further comprising: a storage unit;
the storage unit is further used for storing the file after the processing unit downloads the file from the cloud server through the download address, and naming the file by the download address;
the determining unit is specifically configured to determine that the file to be loaded is locally stored if the file name of the file stored in the storage unit is the same as the download address.
11. The apparatus of claim 8, further comprising: a storage unit;
the storage unit is further configured to verify the download address by using a second preset verification algorithm to generate a third verification code after the file is downloaded from the cloud server through the download address; storing the file, and naming the file by the third check code;
the determining unit is specifically configured to verify the download address by using the second preset verification algorithm to generate a fourth verification code, and determine to locally store the file to be loaded if a file name of a file stored in the storage unit is the same as the fourth verification code.
12. The apparatus of claim 8,
the processing unit is further used for requesting an address for downloading a new file from the cloud server when the loaded file needs to be updated; and when receiving the download address responded by the cloud server, downloading the new file through the download address and loading the new file so as to update the loaded file.
13. The apparatus according to any one of claims 8 to 12,
the processing unit is further configured to update the corresponding download address when receiving the download address carrying the changed first check code.
14. A computer-readable storage medium having stored thereon computer-readable instructions for causing at least one processor to perform the method of any one of claims 1 to 7.
CN201510648073.6A 2015-10-09 2015-10-09 File loading method and device Active CN106569841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510648073.6A CN106569841B (en) 2015-10-09 2015-10-09 File loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510648073.6A CN106569841B (en) 2015-10-09 2015-10-09 File loading method and device

Publications (2)

Publication Number Publication Date
CN106569841A CN106569841A (en) 2017-04-19
CN106569841B true CN106569841B (en) 2020-04-24

Family

ID=58505977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510648073.6A Active CN106569841B (en) 2015-10-09 2015-10-09 File loading method and device

Country Status (1)

Country Link
CN (1) CN106569841B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391112A (en) * 2017-06-23 2017-11-24 江苏艾科半导体有限公司 A kind of FileVersion detection method and its special purpose device
CN112698782A (en) * 2019-10-22 2021-04-23 中电智能科技有限公司 Device and method for realizing data loading based on memory
CN112738249B (en) * 2020-12-30 2023-11-21 平安证券股份有限公司 File uploading method, device, equipment and storage medium based on quantitative transaction

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902696A (en) * 2014-03-28 2014-07-02 广州华多网络科技有限公司 Method and device for loading resource files

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902696A (en) * 2014-03-28 2014-07-02 广州华多网络科技有限公司 Method and device for loading resource files

Also Published As

Publication number Publication date
CN106569841A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN110058873B (en) Application page updating method, device, equipment and storage medium
CN108037946B (en) Method, system and server for hot updating of application program
KR102042723B1 (en) Methods for updating applications
CN105049486A (en) Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system
CN105786538B (en) software upgrading method and device based on android system
US20130227539A1 (en) Updating applications
WO2019201039A1 (en) Method and system for updating application and application server
US10241813B2 (en) Method and apparatus for patching
CN109391673B (en) Method, system and terminal equipment for managing update file
US20150378714A1 (en) Providing Context-Specific Software Updates to Client Applications
KR20160054474A (en) Method and apparatus of downloading and installing a client
CN104978253A (en) Target file checking method and apparatus
CN106569841B (en) File loading method and device
WO2015027846A1 (en) Permission determining method and device for application program
US9513762B1 (en) Static content updates
CN110069729B (en) Offline caching method and system for application
EP2621142A1 (en) Apparatus and Method for Determining Duplication of Content in Portable Terminal
CN110928571A (en) Business program development method and device
CN110532016B (en) Version management method, version updating method and version management system
CN111176685A (en) Upgrading method and device
US9449194B2 (en) Secure access to running client application features from a browser application
CN110874445A (en) Webpage loading method, client and business service center
EP2680135B1 (en) Methods for updating applications
WO2022028046A1 (en) Image configuration method, device and system, and storage medium
CN113569551B (en) APP page configuration method, device, system and 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