Supercharge Your Innovation With Domain-Expert AI Agents!

Log printing response method and device, electronic equipment and storage medium

A log printing and log technology, which is applied in the field of log files, can solve problems such as easy log leakage, white box injection, unknown business and APP risks, etc., and achieve the effect of improving information security and avoiding log leakage

Pending Publication Date: 2021-10-26
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The released version of the APP can be printed and the log is easily leaked, which will cause the APP business logic to be viewed by competitors, and may also lead to the risk of white box injection by the attacker (running the logic through the log printing program), which will cause unknown business and APP. risk
There is currently no solution to detect that Android App logs are not easily printed

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
  • Log printing response method and device, electronic equipment and storage medium
  • Log printing response method and device, electronic equipment and storage medium
  • Log printing response method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0043] The embodiment of the present application provides a log printing response method, which can be applied to a smart terminal or a server to detect whether the log is allowed to be output.

[0044] The following will describe in detail a log printing response method provided in the embodiment of the present application by taking an...

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 provides a log printing response method and device, electronic equipment and a storage medium, and relates to the field of log Files. The method comprises the steps that under the condition that a target application in an intelligent terminal is detected to be started, a log printing function is called through a preset hook function, the log printing function is used for performing log output when a target log interface of the target application is called; under the condition that a calling request for calling the target log interface is detected, a log output process is called through the hook function, the process carries a target field, and the target field is used for indicating the current environment of the target application; and the response to the call request is made through the hook function according to the current environment. According to the method, the log cannot be randomly output, an attacker is prevented from acquiring the log of the release version of the target application, log leakage is avoided, and the information security is improved.

Description

technical field [0001] The present application relates to the field of log files, in particular to a log printing response method, device, electronic equipment and storage medium. Background technique [0002] In Android development, there may be errors in the program, which requires technicians to use android. Program debugging efficiency. When the APP version is released, the log will be blocked through the preset configuration to prevent the attacker from printing the log, but the log output call of the released version is still there, but it is false and has not been executed. The attacker can still use the released version of the APP Self-implant android.util.Log in to print the log. [0003] The released version of the APP can be printed and the log is easily leaked, which will cause the APP business logic to be viewed by competitors, and may also lead to the risk of white box injection by the attacker (running the logic through the log printing program), which will ...

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 Applications(China)
IPC IPC(8): G06F21/55
CPCG06F21/556Y02D10/00
Inventor 谢源
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More