Verification method and device when application program is started, electronic equipment and storage medium

A technology for an application program and a verification device, applied in the computer field, can solve problems such as verification errors and inability to run a separate application program, and achieve the effect of avoiding verification errors and ensuring normal startup.

Pending Publication Date: 2020-06-23
BEIJING QIHOO TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, after the replacement of the Activity, the clone application still cannot run. This is because the Activity will read the SettingProvider when it starts, and perform system verification on the clone application based on the package name obtained by the read operation. However, in the Android P system, Because the timing of obtaining the Provider has changed, the Provider is obtained before the package name of the avatar application is replaced with the target package used to start the avatar application, that is to say, the obtained package name is the package name before the replacement, and then in A validation error occurred during validation

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
  • Verification method and device when application program is started, electronic equipment and storage medium
  • Verification method and device when application program is started, electronic equipment and storage medium
  • Verification method and device when application program is started, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and should not be construed as limiting the present invention.

[0037] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present application refers to the presence of features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, Steps, operations, elements, components and / or groups thereof. It will b...

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 embodiment of the invention provides a verification method and device when an application program is started, electronic equipment and a storage medium. The method comprises the steps that when astarting request for an application program is received, a calling request for a Provider method of the application program is monitored through a hook function; when a calling request for a Providermethod of the application program is monitored, intercepting the calling request, and taking a target package name for starting the application program as response information of the calling request;and performing identity verification on the application program based on the target package name. In the embodiment of the invention, the target package name used for starting the application programis used as the response information of the call request, so that the system performs identity verification on the application program based on the returned target package name, the verified package names are consistent at the moment, verification errors are avoided, and the application program can be ensured to be normally started.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, the present invention relates to a verification method, device, electronic device and storage medium when an application program starts. Background technique [0002] In life, users sometimes need to open a clone of a certain application in a terminal device to realize different accounts that can log in to a certain application at the same time. When implementing this function, for terminals using the Android (Android) system For the device, it is first necessary to replace the real Activity with the Pit Activity of the clone application, and then restore the Pit Activity to the real Activity to start the clone application. [0003] However, after the replacement of the Activity, the clone application still cannot run. This is because the Activity will read the SettingProvider when it starts, and perform system verification on the clone application based on the pack...

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
IPC IPC(8): G06F21/52G06F21/44
CPCG06F21/52G06F21/44
Inventor 张晓
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products