Unlock instant, AI-driven research and patent intelligence for your innovation.

Code security processing method, device, terminal equipment and system

A security processing and code technology, applied in computer security devices, electrical digital data processing, instruments, etc., can solve problems such as waste of user traffic, application impact, and impact on the use of Webview, and achieve the effect of improving security

Active Publication Date: 2019-04-16
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to avoid repeated loading of JS code, waste user traffic, and affect user experience, JS code is usually cached in the local cache of Android devices
[0004] However, there are risks in the above-mentioned storage processing method, which may suffer from XSS (Cross Site Scripting, cross-site scripting) attacks, and the local code may be tampered with, and the tampered code may be further cached, making the code-related applications It is more affected and eventually affects the use of Webview

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code security processing method, device, terminal equipment and system
  • Code security processing method, device, terminal equipment and system
  • Code security processing method, device, terminal equipment and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0060] The terminology used in the present disclosure is for the purpose of describing particular embodiments only, and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a code security processing method, a code security processing device, terminal equipment and a code security processing system. The code security processing method comprises the following steps of obtaining signature information of JS code in HTML5 code; performing signature on a JS code original file obtained from a server according to a preset algorithm; comparing the obtained signature information with the signature information of the JS code in the HTML5 code; and under the condition of the same signature information comparison result, locally loading and / or storing the JS code in the HTML5 code at a client. By using the scheme according to the embodiment of the invention, the local loading or storage security of the code can be improved.

Description

technical field [0001] The present disclosure relates to the technical field of mobile communication, and in particular to a code security processing method, device, terminal equipment and system. Background technique [0002] At present, with the increasing use of Webview (network view) in Android (Android) devices, NativeApp (local application mode) cannot be realized before HTML5 (Hyper Text Markup Language 5, the fifth edition of Hyper Text Markup Language) Functions, such as quick update, real-time online, etc., enable more interaction between users. Among them, WebView can load and display web pages, and it can be regarded as a browser, which uses the WebKit rendering engine to load and display web pages. [0003] In the process of implementing HTML5, JavaScript (JS for short) codes are often used. In order to avoid repeated loading of JS codes, waste user traffic, and affect user experience, JS codes are usually cached in the local cache of the Android device. [0...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/51
CPCG06F21/51
Inventor 张旭华张涛刘硕
Owner BEIJING XIAOMI MOBILE SOFTWARE CO LTD