CN111124627B - Method and device for determining call initiator of application program, terminal and storage medium - Google Patents

Method and device for determining call initiator of application program, terminal and storage medium Download PDF

Info

Publication number
CN111124627B
CN111124627B CN201811297170.5A CN201811297170A CN111124627B CN 111124627 B CN111124627 B CN 111124627B CN 201811297170 A CN201811297170 A CN 201811297170A CN 111124627 B CN111124627 B CN 111124627B
Authority
CN
China
Prior art keywords
application program
target application
information
determining
call
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811297170.5A
Other languages
Chinese (zh)
Other versions
CN111124627A (en
Inventor
杨杰
高春旭
叶峻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811297170.5A priority Critical patent/CN111124627B/en
Publication of CN111124627A publication Critical patent/CN111124627A/en
Application granted granted Critical
Publication of CN111124627B publication Critical patent/CN111124627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention discloses a method, a device, a terminal and a storage medium for determining a call initiator of an application program. The method comprises the following steps: acquiring triggered push information; if a target application program is called up and triggered push information is acquired within a preset time before the target application program is called up, a call-up person of the target application program is determined according to the push information, and the embodiment of the invention provides a scheme for quickly and simply determining the call-up person of the push information; moreover, by setting the preset time length, the accuracy of the determination of the call taker is improved.

Description

Method and device for determining call initiator of application program, terminal and storage medium
Technical Field
The embodiment of the invention relates to a mobile terminal technology, in particular to a method and a device for determining a call initiator of an application program, a terminal and a storage medium.
Background
With the continuous development and perfection of mobile terminal technology, a large number of applications running on mobile terminals are emerging.
Currently, the manner in which applications are invoked is varied, such as by pushing information, by desktop applications, or by other applications. However, the prior art only knows whether an application is called up, and it is difficult to determine the call up initiator of the application.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a terminal and a storage medium for determining a call-up party of an application program, so as to determine the call-up party of the application program.
In a first aspect, an embodiment of the present invention provides a method for determining a caller of an application, including:
acquiring triggered push information;
if the target application program is called up, and triggered push information is acquired within a preset time before the target application program is called up, and a call-up person of the target application program is determined according to the push information.
In a second aspect, an embodiment of the present invention further provides an apparatus for determining a caller of an application, where the apparatus includes:
the acquisition module is used for acquiring triggered push information;
and the determining module is used for determining the caller of the target application program according to the push information if the target application program is called and the triggered push information is acquired within the preset time before the target application program is called.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the caller identification method of an application as described in any of the embodiments.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the caller identification method of the application program according to any of the embodiments.
In the embodiment of the invention, the triggered push information is obtained; if the target application program is called up and triggered push information is acquired within a preset time before the target application program is called up, determining a call-up person of the target application program according to the push information, thereby determining the call-up person of the target application program as the push information, and providing a quick and simple scheme for determining the call-up person of the push information; moreover, by setting the preset time length, the accuracy of the determination of the call taker is improved.
Drawings
FIG. 1 is a flowchart of a method for determining a caller of an application according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for determining a caller of an application according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a method for determining a caller of an application program according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a device for determining a caller of an application according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of an application caller determining method according to a first embodiment of the present invention, which is applicable to a case of determining an application caller of a mobile terminal, and the method may be performed by an application caller determining device, which may be configured by hardware and/or software, and is generally integrated in the terminal, and in particular, integrated in the application in the form of a software development kit (Software Development Kit, SDK). After the application program integrates the SDK, the method provided by the embodiment of the invention can be automatically executed. With reference to fig. 1, the method provided by the embodiment of the present invention specifically includes the following operations:
s110, acquiring triggered push information.
In this embodiment, the application program of the terminal is integrated with the pushing component of the pushing manufacturer, so that the application program can receive the pushing information of the pushing manufacturer, such as news information, shopping information, weather information, and the like.
The user triggers push information, e.g. clicks or touches push information, on the terminal screen, which is triggered. In this embodiment, in response to the push information being triggered, the triggered push information is obtained. Alternatively, because each push information is likely to call up an application, each triggered push information is acquired in response to each push information being triggered. Specifically, the acquired push information may be stored in the SDK.
S120, if the target application program is called, and triggered push information is acquired within a preset time period before the target application program is called, and a call taker of the target application program is determined according to the push information.
The target application program is any application program installed on the terminal, and the caller of the target application program comprises but is not limited to push information, preset application programs and system desktop application programs.
Assuming that the caller of the target application is push information, the push information will call the target application within a preset time period after being triggered, where the preset time period is, for example, 3 seconds, 5 seconds, etc. Based on this, it is monitored whether the target application is invoked. If the target application program is monitored to be called, judging whether the triggered push information is acquired within the preset time before the target application program is called. For example, push information stored in a preset time period before being called up is acquired in the SDK. If not, the caller of the target application program is not push information; if acquired, the caller specifying the target application is push information, that is, the call of the target application is triggered by the push information.
In this embodiment, the triggered push information is obtained; if the target application program is called up and triggered push information is acquired within a preset time before the target application program is called up, a call-up person of the target application program is determined according to the push information, so that the call-up person of the target application program is determined to be the push information, and a scheme for quickly and simply determining the call-up person of the push information is provided; moreover, by setting the preset time length, the accuracy of the determination of the call taker is improved.
Furthermore, the SDK is integrated in the application program, so that the method provided by the embodiment can be automatically executed under the condition that a user does not feel, and the call-up party of the application program can be determined without extra buried points, thereby realizing rapidness and simplicity; and the scheme itself depends on an operating system mechanism, such as Android, and is stable and reliable in operation.
Example two
Fig. 2 is a flowchart of a method for determining a caller of an application according to a second embodiment of the present invention. The present embodiment is further optimized based on the optional implementation manners of the foregoing embodiments, and optionally, if the target application is called up and the triggered push information is not obtained within a preset time period before the target application is called up, the source information of the current page of the target application is obtained; from the source information, a caller of the target application is determined. With reference to fig. 2, the method provided by the embodiment of the invention includes the following operations:
s210, acquiring triggered push information.
And S220, if the target application program is called, judging whether the triggered push information is acquired within a preset time before the target application program is called. If acquired, go to S230, if not acquired, go to S240.
S230, determining the call-up party of the target application program according to the push information. Ending the operation.
S240, acquiring source information of the current page of the target application program. Execution continues with S250.
Optionally, based on an Android system mechanism, whether the page in the application program is jumped and the name of the jumped page are monitored, where the name of the jumped page is, for example, a hundred-degree main page com.
After the page jumps, the jumped-to page is created randomly. After the page is established in the target application program, the source information of the current page is analyzed from the page establishment function.
Optionally, based on an Android system mechanism, relevant processing logic is added in a hook system function OnActivityCreated (Activity activity) in advance. The specific code of the corresponding reference acquisition reference can be acquired through activity: activity. GetIntent (). GetR eferer ().
For example, from a handset hundred degrees jump to the current application, the content in the reference may be android: app// com. And analyzing the content in the reference to acquire the source information of jumping to the current Activity. Optionally, the source information includes a package name of the application package.
The following is code that listens to the current page being created and parses the source information:
s250, determining a call-up party of the target application program according to the source information.
Optionally, the source information includes, but is not limited to, information of the invoked target application, information of an information system desktop application of the preset application. The information of the application programs can be the package name of the application package of the corresponding application program.
The preset application program may be a predetermined application program with a function of calling up the target application program, but does not include a system desktop application program, and the number of the preset application programs is at least one.
Optionally, the caller of the target application is determined according to the package name of the application package in the reference.
In this embodiment, under the condition that the caller is not push information, by analyzing the source information of the current page and determining the caller according to the source information, a feasible scheme for quickly and simply determining the caller of the application program is provided.
Example III
Fig. 3 is a flowchart of a method for determining a caller of an application according to a third embodiment of the present invention. The embodiment provides a specific method for determining that the caller is a preset application program or a system desktop application program on the basis of the optional implementation manners of the embodiments. Optionally, the operation of "determining the caller of the target application according to the source information" refines to "if the source information includes information of a preset application, determining the caller of the target application according to the preset application"; optionally, "determine the caller of the target application from the source information" is refined to "if the source information includes information of the system desktop application, determine the caller of the target application from the system desktop application"; optionally, "determining the caller of the target application according to the source information" is refined to "if the source information does not include information of the preset application, determining the caller of the target application according to the system desktop application". With reference to fig. 3, the method provided in this embodiment includes the following steps:
s310, acquiring triggered push information.
And S320, if the target application program is called, judging whether the triggered push information is acquired within a preset time before the target application program is called. If acquired, go to S330, if not acquired, go to S340.
S330, determining the call-up party of the target application program according to the push information. Ending the operation.
S340, acquiring source information of the current page of the target application program. If the source information includes information of a preset application, S350 is performed; if the source information includes information of a system desktop application, performing S351; if the source information does not include information of the preset application, S351 is performed.
S350, determining a call-up party of the target application program according to the preset application program.
For example, the source information includes a package name of an application package of the preset application program a, and the initiator of the target application program is determined to be the preset application program a.
S351, determining a call-up initiator of the target application program according to the system desktop application program.
The method for calling the target application program through the system desktop application program comprises the following steps: clicking on an icon of a target application on the desktop, clicking on an icon of the target application in a list of system desktop applications. Therefore, the mode of calling up by the system desktop application program belongs to an active calling up mode, and the mode of calling up by the preset application program and the push information belongs to a passive calling up mode.
Optionally, information of the running system desktop application, such as the package name of the application package of the system desktop application, is first obtained. In one example, the MIUI system desktop application is currently running, and the package name of the MIUI application package is com MIUI.
The following is code to obtain information for a system desktop application:
then, if the information of the system desktop application matches the source information, a call-up party of the target application is determined according to the system desktop application.
Optionally, character matching is performed on the acquired information of the desktop application program and the source information, and if the acquired information of the desktop application program is matched with the source information, the caller of the target application program is determined to be the system desktop application program.
In an actual application environment, a system desktop application program may be updated at intervals, subject update, version upgrade and the like; moreover, the process of calling up the target application by using the system desktop application is cumbersome, so that in the case that the system desktop application is a caller, the source information cannot be identified, so that it is determined that the source information does not include the information of the system desktop application. Based on this, in order to increase the accuracy of the caller determination, the system desktop application is determined to be the caller if the information is not pushed and the non-preset application is called.
In some cases, the source information also includes information of the target application program, which indicates that the current page is jumped to by other pages of the application program, and cannot be used to determine the caller of the target application program. Based on this, if the source information does not include information of the preset application program or information of the target application program, the caller of the target application program is determined according to the system desktop application program.
It should be noted that S350, S351 and S353 may be executed synchronously or sequentially, and the embodiment does not limit the execution sequence.
In this embodiment, the caller of the target application is accurately determined by comparing and judging the source information with the information of the preset application program and the information of the system desktop application program.
In each optional implementation manner of each embodiment, optionally, the operation of acquiring triggered push information is thinned to monitor a trigger event of the push information; acquiring triggered push information in a push information click response function of a callback of a triggering event; the push information includes a title of the pushed notification, and/or a description of the pushed notification; the triggering event comprises a clicking event ", so that triggered push information is timely and accurately acquired.
Optionally, before monitoring the triggering event of the push information, adding the triggered acquisition code of the push information in a "onNotification click" of the push information click response function of at least one push manufacturer in a byte code injection manner. The function prototypes, functions and parameters of the onnotationclick are described as follows:
function prototypes:
public void onNotificationClicked(Context context,String title,String description,String customContentString)
the functions are as follows:
the abstraction method of PushMessagereceiver inherits the receiver class to the PushMessagereceiver. A function of the notification click is received.
Parameters:
context
title of title pushed notification
description of notification of description push
custom ContentString custom content, null or json string
Example IV
Fig. 4 is a schematic structural diagram of an apparatus for determining a caller of an application according to a fourth embodiment of the present invention. The embodiment of the invention can be applied to the situation of determining the application program call-up person of the mobile terminal, and the device comprises the following components in combination with fig. 4: an acquisition module 410 and a determination module 420.
An acquisition module 410, configured to acquire triggered push information;
and the determining module 420 is configured to determine, if the target application is invoked, a caller of the target application according to the triggered push information obtained within a preset time period before the target application is invoked.
In this embodiment, the triggered push information is obtained; if the target application program is called up and triggered push information is acquired within a preset time before the target application program is called up, a call-up person of the target application program is determined according to the push information, so that the call-up person of the target application program is determined to be the push information, and a scheme for quickly and simply determining the call-up person of the push information is provided; moreover, by setting the preset time length, the accuracy of the determination of the call taker is improved.
Further, the call-up determining device of the application program is integrated in the application program in the form of an SDK, and the call-up determining device of the application program automatically executes the method provided by the embodiment under the condition that a user does not feel the SDK, and can determine the call-up of the application program without extra buried points, so that the implementation is quick and simple; and the scheme itself depends on an operating system mechanism, such as Android, and is stable and reliable in operation.
Optionally, the apparatus further comprises a source information acquisition module and a source information determination module. The source information acquisition module is used for acquiring source information of a current page of the target application program if the target application program is called up and the triggered push information is not acquired within a preset time before the target application program is called up. The source information determining module is used for determining a call-up party of the target application program according to the source information.
Optionally, the source information obtaining module is specifically configured to, when obtaining source information of a current page of the target application program: after monitoring that a page in a target application program is created, analyzing source information of a current page from a page creation function; wherein the source information includes a package name of the application package.
Optionally, the source information determining module is specifically configured to, when determining the caller of the target application program according to the source information: if the source information includes information of a preset application program, determining a caller of the target application program according to the preset application program.
Optionally, the source information determining module is specifically configured to, when determining the caller of the target application program according to the source information: if the source information includes information of the system desktop application, determining a caller of the target application according to the system desktop application.
Optionally, the source information determining module is specifically configured to, if the source information includes information of a system desktop application, determine, according to the system desktop application, a caller of a target application: acquiring information of a running system desktop application program; and if the information of the system desktop application is matched with the source information, determining a caller of the target application according to the system desktop application.
Optionally, the source information determining module is specifically configured to, when determining the caller of the target application program according to the source information: and if the source information does not comprise the information of the preset application program, determining the caller of the target application program according to the system desktop application program.
Optionally, the acquiring module 410 is specifically configured to, when acquiring the triggered push information: monitoring a triggering event of the push information; acquiring triggered push information in a push information click response function of a callback of a triggering event; the push information includes a title of the pushed notification, and/or a description of the pushed notification; the trigger event includes a click event.
Optionally, the device further includes an adding module, configured to add, before monitoring the triggering event of the push information, the triggered acquisition code of the push information in the push information click response function of at least one push vendor in a bytecode injection manner.
The device for determining the call-up of the application program provided by the embodiment of the invention can execute the method for determining the call-up of the application program provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
Fig. 5 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention. Fig. 5 shows a block diagram of an exemplary terminal 12 suitable for use in implementing embodiments of the invention. The terminal 12 shown in fig. 5 is merely an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
As shown in fig. 5, the terminal 12 is in the form of a general purpose computing device. The components of the terminal 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by terminal 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The terminal 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in fig. 5, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The terminal 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the terminal 12, and/or any devices (e.g., network card, modem, etc.) that enable the terminal 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the terminal 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the terminal 12 via the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with terminal 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a caller identification method of an application provided by an embodiment of the present invention.
Example six
The sixth embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the caller identification method of an application program provided by any of the embodiments of the present invention.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (11)

1. A method for determining a call-up party for an application program, comprising:
acquiring triggered push information;
if the target application program is called up, acquiring triggered push information within a preset time before the target application program is called up, and determining a call-up person of the target application program according to the push information;
if the target application program is called up and the triggered push information is not acquired within a preset time before the target application program is called up, acquiring the source information of the current page of the target application program includes: based on an Android system mechanism, monitoring whether the page in the application program is jumped or not and the name of the jumped page; after monitoring that a page in a target application program is created, analyzing source information of a current page from a page creation function; after the page in the application program jumps, the jumped page is randomly established;
and determining the call-up initiator of the target application program according to the source information.
2. The method of claim 1, wherein the source information comprises a package name of an application package.
3. The method of claim 1, wherein said determining the call-up of the target application from the source information comprises:
and if the source information comprises information of a preset application program, determining a call-up person of the target application program according to the preset application program.
4. The method of claim 1, wherein said determining the call-up of the target application from the source information comprises:
and if the source information comprises information of a system desktop application program, determining a call-up person of the target application program according to the system desktop application program.
5. The method of claim 4, wherein if the source information includes information of a system desktop application, determining a call-up of the target application from the system desktop application comprises:
acquiring information of a running system desktop application program;
and if the information of the system desktop application program is matched with the source information, determining the call-up initiator of the target application program according to the system desktop application program.
6. The method of claim 1, wherein said determining the call-up of the target application from the source information comprises:
and if the source information does not comprise the information of the preset application program, determining the caller of the target application program according to the system desktop application program.
7. The method according to any one of claims 1-6, wherein the obtaining triggered push information comprises:
monitoring a triggering event of the push information;
acquiring triggered push information in a push information click response function of the callback of the triggering event;
the push information comprises a title of a pushed notification and/or a description of the pushed notification; the trigger event includes a click event.
8. The method of claim 7, further comprising, prior to listening for a triggering event for push information:
and adding the triggered acquisition codes of the push information into the push information click response function of at least one push manufacturer in a byte code injection mode.
9. An apparatus for determining a call-up destination of an application program, comprising:
the acquisition module is used for acquiring triggered push information;
the determining module is used for determining a caller of the target application program according to the push information if the target application program is called and the triggered push information is acquired within a preset time before the target application program is called;
the source information obtaining module is configured to obtain source information of a current page of a target application program if the target application program is called up and triggered push information is not obtained within a preset time before the target application program is called up, where the source information obtaining module includes: based on an Android system mechanism, monitoring whether the page in the application program is jumped or not and the name of the jumped page; after monitoring that a page in a target application program is created, analyzing source information of a current page from a page creation function; after the page in the application program jumps, the jumped page is randomly established;
the source information determining module is used for determining a call-up party of the target application program according to the source information.
10. A terminal, the terminal comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the caller identification method of an application of any of claims 1-8.
11. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a caller identification method of an application program according to any one of claims 1-8.
CN201811297170.5A 2018-11-01 2018-11-01 Method and device for determining call initiator of application program, terminal and storage medium Active CN111124627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811297170.5A CN111124627B (en) 2018-11-01 2018-11-01 Method and device for determining call initiator of application program, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811297170.5A CN111124627B (en) 2018-11-01 2018-11-01 Method and device for determining call initiator of application program, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111124627A CN111124627A (en) 2020-05-08
CN111124627B true CN111124627B (en) 2023-08-01

Family

ID=70494541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811297170.5A Active CN111124627B (en) 2018-11-01 2018-11-01 Method and device for determining call initiator of application program, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111124627B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114237752B (en) * 2021-12-20 2023-09-26 百度在线网络技术(北京)有限公司 Push page display method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054042A (en) * 2010-12-30 2011-05-11 百度在线网络技术(北京)有限公司 Service method and site for exchanging knowledge information and question and answer exchange platform
CN106547569A (en) * 2016-11-28 2017-03-29 武汉斗鱼网络科技有限公司 A kind of page access method and apparatus in application
CN107784065A (en) * 2017-08-17 2018-03-09 平安壹钱包电子商务有限公司 Business datum tracking, device, computer equipment and storage medium
CN108153587A (en) * 2017-12-26 2018-06-12 北京航空航天大学 A kind of slow task reason detection method for big data platform

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635201A (en) * 2014-10-29 2016-06-01 Tcl集团股份有限公司 Application starting method and application starting system based on pushed information
CN105045610A (en) * 2015-06-24 2015-11-11 上海海漾软件技术有限公司 Method and apparatus for starting application of intelligent device
CN105897814A (en) * 2015-07-08 2016-08-24 乐视致新电子科技(天津)有限公司 Push message detection method and device
CN105260216A (en) * 2015-11-04 2016-01-20 北京金山安全软件有限公司 Method, device and terminal for starting application program
CN105512549A (en) * 2015-12-02 2016-04-20 珠海市君天电子科技有限公司 Application program intercepting method and device
CN105528277A (en) * 2015-12-10 2016-04-27 北京奇虎科技有限公司 Method and equipment for monitoring target device
CN108647060A (en) * 2018-05-21 2018-10-12 Oppo广东移动通信有限公司 Using preloading method, apparatus, storage medium and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054042A (en) * 2010-12-30 2011-05-11 百度在线网络技术(北京)有限公司 Service method and site for exchanging knowledge information and question and answer exchange platform
CN106547569A (en) * 2016-11-28 2017-03-29 武汉斗鱼网络科技有限公司 A kind of page access method and apparatus in application
CN107784065A (en) * 2017-08-17 2018-03-09 平安壹钱包电子商务有限公司 Business datum tracking, device, computer equipment and storage medium
CN108153587A (en) * 2017-12-26 2018-06-12 北京航空航天大学 A kind of slow task reason detection method for big data platform

Also Published As

Publication number Publication date
CN111124627A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN110489101B (en) Interface simulation method, system, medium and electronic equipment
US10481964B2 (en) Monitoring activity of software development kits using stack trace analysis
CN108710515B (en) Application preloading method and device, storage medium and terminal
CN109873735B (en) Performance test method and device for H5 page and computer equipment
US10573317B2 (en) Speech recognition method and device
CN110471709B (en) Method, device, medium and electronic equipment for accelerating webpage opening speed
US9378054B2 (en) Testing system with methodology for background application control
CN110377341B (en) Method, device, medium and electronic equipment for monitoring no-response exception
CN109218393B (en) Push implementation method, device, equipment and computer storage medium
KR20180101926A (en) Electronic device and method for controlling application thereof
CN109117153A (en) Processing method, device, terminal and the storage medium of application program
CN111124627B (en) Method and device for determining call initiator of application program, terminal and storage medium
CN110717126A (en) Page browsing method and device, electronic equipment and computer readable storage medium
CN110674050A (en) Memory out-of-range detection method and device, electronic equipment and computer storage medium
CN115600213A (en) Vulnerability management method, device, medium and equipment based on application program
CN111741046B (en) Data reporting method, data acquisition method, device, equipment and medium
CN114356290A (en) Data processing method and device and computer readable storage medium
CN112711602B (en) Method and device for running stored procedure, database system and storage medium
CN113761588A (en) Data verification method and device, terminal equipment and storage medium
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN112214404A (en) Mobile application testing method and device, storage medium and electronic equipment
CN112631812A (en) Identification setting method and device, electronic equipment and storage medium
CN112052054A (en) Function calling method and device, electronic equipment and storage medium
CN112083945A (en) NPM installation package update prompting method and device, electronic equipment and storage medium
CN111782410B (en) Lock jam monitoring method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant