A method for solving ios hot repair problem and user terminal
A technology for hot fixes and problems, applied in user identity/authority verification, instruments, digital transmission systems, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0070] refer to figure 1 , the present invention provides a kind of method for solving iOS heat repair problem, comprises the following steps:
[0071] S001. Obtain an encrypted hotfix file from the server;
[0072] S002. Decrypt the encrypted MD5 digital signature in the encrypted hot repair file to obtain the MD5 digital signature;
[0073] S003. Comparing the value of the MD5 digital signature with the MD5 value obtained by calculating the encrypted hot repair file, if they are the same, then execute step S004, and if they are not the same, then end the process;
[0074] S004. Decrypt the encrypted hot repair file and load it into the memory to generate a hot repair JavaScript script;
[0075] S101. Analyzing the hot-fix JavaScript script in the memory to generate a hot-fix analysis script;
[0076] S201. Load the hot-fix analysis script through JavaScriptCore, and use the closure to call back the Objective-C information referenced in the hot-fix analysis script to Objec...
Embodiment 2
[0120] like image 3 As shown, the present invention provides a user terminal, including:
[0121] memory for storing program instructions;
[0122] a processor for executing the program instructions to perform the following steps:
[0123] S101. Analyzing the hot-fix JavaScript script in the memory to generate a hot-fix analysis script;
[0124] S201. Load the hot-fix analysis script through JavaScriptCore, and use the closure to call back the Objective-C information referenced in the hot-fix analysis script to Objective-C;
[0125]S301. Determine whether there is a class corresponding to the class name in the information in Objective-C through the NSClassFromString method, if yes, execute step S401, if not, dynamically create a corresponding class in Objective-C, and execute step S401;
[0126] S401. Replace and cache the message redirection method forwardInvocation of the class in Objective-C corresponding to the class name in the information and its parent class;
[01...
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