Method and device for automatic update in qt program
An automatic update and program technology, which is applied in the field of computer programs, can solve the problems of frequent verification updates, update programs that cannot be updated, does not involve modular updates, update file verification update level mechanism, etc., to improve update efficiency and reduce update effect of complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0079] See attached figure 1 The method for automatically updating in the QT program provided by Embodiment 1 of the present invention includes the following steps:
[0080] Step 101: Obtain an update information file;
[0081] In this embodiment, the update information file is a JSON format file, and the tree structure of the JSON format file includes three layers; wherein, the first layer is the update information layer, and the information that the update information layer is used to save includes version number, update time, suggestion Version number, update size; the second layer is the module information layer, and the information stored in the module information layer includes module name, version number, and size; the third layer is the update file information layer, and the information stored in the update file information layer includes File name, file MD5 value, file path. Among them, the file in JSON format is the most efficient. Designing the file as a three-lay...
Embodiment 2
[0106] See attached figure 2 The device for automatic update in QT program provided by Embodiment 2 of the present invention includes an update information file acquisition unit 201 , a decompression unit 202 , a file analysis unit 203 , a comparison and judgment unit 204 , and an update unit 205 . The update information file acquisition unit 201 is used to obtain the update information file; the decompression unit 202 is used to decompress the update information file to obtain the decompressed update information file; the file analysis unit 203 is used to analyze the decompressed update information file to obtain The updated information file through analysis; the comparison and judgment unit 204 is used to judge whether the corresponding local information needs to be updated by comparing the updated information file and the corresponding local information through comparison: when the result of the comparison and judgment unit 204 is that it needs to be updated, the update uni...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com