Method and device for automatically merging patch files and communication terminal
A patch file and patch technology, applied in the computer field, can solve the problems of users' long time to download and install patches, and achieve the effect of reducing the number of files
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] figure 1 The flow of the method for automatically merging patch files provided by the embodiment of the present invention is shown, and the details are as follows:
[0031] In step S11, judge the type of a plurality of patch files to be merged;
[0032] Usually each type of patch file has corresponding specifications in file name, file format, and file content, such as: Dynamic Link Library (Dynamic Link Library, DLL) is a library that contains code and data that can be used by multiple programs at the same time. Use the suffix name dll to mark, the file marked as dll is not an executable file; and the Java Achieve file according to the Java Achieve format is marked as a jar file with the suffix jar, the file marked as jar is a compressed file, which contains a lot of information A bundle formed after encapsulation.
[0033] The type of the patch file is determined according to attributes such as the file name, file format, and file content of the patch file. It is j...
Embodiment 2
[0050] figure 2 The structure of the device for automatically merging patch files provided by the embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown.
[0051] The device for automatically merging patches can be used in various communication terminals with the automatic merging function of patch files, such as videophones, mobile phones, pocket computers (Pocket Personal Computer, PPC), personal digital assistants (Personal Digital Assistant, PDA), etc. Among them, it may be a software unit running in these communication terminals, or it may be integrated into these communication terminals as an independent pendant or run in the application systems of these communication terminals, wherein:
[0052] Judging file type unit 201, for judging the types of multiple patch files to be merged;
[0053] Obtaining the reserved patch file unit 202 is used to obtain the reserved pat...
Embodiment 3
[0057] image 3 The structure of the device for automatically merging patch files provided by the embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown.
[0058] Decompressing the patch unit 301, configured to obtain multiple patches to be merged, and decompress the patches according to the compression rules of the obtained multiple patches;
[0059] The judging file type unit 302 is used for judging the types of a plurality of patch files to be merged from the patch file decompressed by the decompressing patch unit 301;
[0060] Obtaining the reserved patch file unit 303 is used to obtain the reserved patch file according to the types of a plurality of patch files to be merged judged by the judging file type unit 302, using a corresponding comparison algorithm;
[0061] The packaging patch unit 304 is configured to repackage the reserved patch file obtained by the obtainin...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 