CN111427644A - Target behavior identification method and electronic equipment - Google Patents

Target behavior identification method and electronic equipment Download PDF

Info

Publication number
CN111427644A
CN111427644A CN202010144595.3A CN202010144595A CN111427644A CN 111427644 A CN111427644 A CN 111427644A CN 202010144595 A CN202010144595 A CN 202010144595A CN 111427644 A CN111427644 A CN 111427644A
Authority
CN
China
Prior art keywords
target
application program
target application
behavior
sdk
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.)
Granted
Application number
CN202010144595.3A
Other languages
Chinese (zh)
Other versions
CN111427644B (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.)
Vivo Software Technology Co Ltd
Original Assignee
Vivo Software 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 Vivo Software Technology Co Ltd filed Critical Vivo Software Technology Co Ltd
Priority to CN202010144595.3A priority Critical patent/CN111427644B/en
Publication of CN111427644A publication Critical patent/CN111427644A/en
Priority to PCT/CN2021/077878 priority patent/WO2021175148A1/en
Application granted granted Critical
Publication of CN111427644B publication Critical patent/CN111427644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • 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/485Task life-cycle, e.g. stopping, restarting, resuming execution

Abstract

The embodiment of the invention provides a target behavior identification method and electronic equipment. The method comprises the following steps: when a target application program runs and a foreground display interface is a preset display interface, acquiring a target moment, wherein the target moment is the moment when the foreground display interface starts to display; and identifying whether the target application program has a target behavior or not according to whether a payment record of the target application program is recorded in a Software Development Kit (SDK) of the target application program within a preset time period after the target time. According to the embodiment of the invention, whether the payment record of the target application program is recorded in the software development kit SDK of the target application program or not is identified according to the fact that whether the target application program has the target behavior or not within the preset time period after the target moment, whether the APP has the payment function bypassing the platform or not can be accurately detected, and the payment behavior is completed by utilizing the payment channel of the APP.

Description

Target behavior identification method and electronic equipment
Technical Field
The invention relates to the technical field of mobile communication, in particular to a target behavior identification method and electronic equipment.
Background
With the rapid development of mobile communication technology, electronic devices such as smart phones have become an indispensable tool in various aspects of people's life. The functions of various Application programs (APPs) of the electronic equipment are gradually improved, and the functions do not only play a role in communication, but also provide various intelligent services for users, so that great convenience is brought to the work and life of the users.
To facilitate user usage, some applications provide payment functionality, such as game-class APPs and shopping-class APPs. For some APPs, such as game APPs, the current operation mode is usually that an application distribution platform operates in conjunction with a game APP provider, the application distribution platform provides traffic support for games, and the revenue of the game APPs is divided according to a predetermined rule. In the actual operation process, APP cheating behaviors which may occur, for example, payment is completed by bypassing the payment function of the platform, so that income sharing with the application distribution platform is avoided. In contrast, in the prior art, a suspicious code is usually found in advance by adopting static code detection, but the static code detection recognition rate is low, and whether the behavior that payment is completed by bypassing the payment function of the platform exists in the APP cannot be accurately detected.
Disclosure of Invention
The embodiment of the invention provides a target behavior identification method and electronic equipment, and aims to solve the problem that whether an APP has a behavior of bypassing a payment function of a platform to complete payment cannot be accurately detected in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a target behavior identification method, where the method is applied to an electronic device, and the method includes:
when a target application program runs and a foreground display interface is a preset display interface, acquiring a target moment, wherein the target moment is the moment when the foreground display interface starts to display;
and identifying whether the target application program has a target behavior or not according to whether a payment record of the target application program is recorded in a Software Development Kit (SDK) of the target application program within a preset time period after the target time.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
the detection module is used for acquiring target time when a target application program runs and a foreground display interface is a preset display interface, wherein the target time is the time when the foreground display interface starts to display;
and the judging module is used for identifying whether the target application program has a target behavior or not according to whether a payment record of the target application program is recorded in the Software Development Kit (SDK) of the target application program within a preset time period after the target moment.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor, when executing the computer program, implements the steps in the target behavior recognition method described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps in the target behavior identification method as described above.
In the embodiment of the invention, under the condition that a target application program runs and a foreground display interface is a preset display interface, a target moment is obtained, wherein the target moment is the moment when the foreground display interface starts to display; identifying whether a target behavior exists in the target application program according to whether a payment record of the target application program is recorded in a Software Development Kit (SDK) of the target application program within a preset time period after the target time; whether the target behavior is identified based on the payment record of the target application program recorded in the SDK or not is simple in identification process, high in identification rate and low in cost, and whether the behavior that payment is completed by bypassing the payment function of the platform exists in the APP can be accurately detected.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating a target behavior recognition method according to an embodiment of the present invention;
FIG. 2 shows a flow chart of an example of an embodiment of the invention;
FIG. 3 shows one of the block diagrams of an electronic device provided by an embodiment of the invention;
fig. 4 shows a second block diagram of the electronic device according to the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In order to facilitate understanding of the target behavior identification method provided by the embodiment of the present invention, the following first introduces technologies related to the embodiment of the present invention:
a Software Development Kit (SDK) is a tool Kit for implementing certain functions. In the prior art, some specific APPs, such as game APPs, have SDKs embedded to record the behavior of users, so that mobile application developers obtain part of relevant data used by users.
Referring to fig. 1, an embodiment of the present invention provides a target behavior recognition method, which is applied to electronic devices including various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices, and various forms of Mobile Stations (MSs), Terminal devices (Terminal devices), and so on.
The method comprises the following steps:
step 101, when a target application program runs and a foreground display interface is a preset display interface, acquiring a target moment, wherein the target moment is a moment when the foreground display interface starts to display.
The target application is an application that needs to perform target behavior identification, and optionally, the target application may be a certain type of application, such as an APP including a payment function, a game APP, and the like, which is not limited in the embodiment of the present invention.
The target application running may include that the target application runs in a foreground or that the target application is switched to run in a background.
Optionally, the interface displayed by the foreground may be obtained when it is detected that the target application program is switched to the background operation.
Specifically, the switching of the target application program to the background can be monitored through the SDK of the target application program, and since the SDK is integrated inside the target application program, the SDK can know that the target application program has been switched to the background by monitoring the life cycle of the target application program.
Optionally, the interface displayed in the foreground may be obtained by obtaining a task stack, specifically, the task stack is used to store a value of a register, a parameter/local variable of a function in an operation/call process, and when the target application program is switched to the background, the SDK may obtain which interface of which application program is currently interacting with the user by calling the system interface.
And if the interface displayed on the foreground is a preset display interface, acquiring the target moment.
Specifically, after the interface displayed by the foreground is obtained, the interface displayed by the foreground can be compared with a preset display interface stored in advance, and whether the display interface displayed by the foreground is the preset display interface is judged; the preset display interface can be a payment interface, for example, a payment interface of a payment type APP when payment is performed through the payment type APP.
And if the interface displayed by the foreground is matched with a preset display interface, determining the interface displayed by the foreground as the preset display interface.
Step 102, identifying whether the target application program has a target behavior according to whether a payment record of the target application program is recorded in a Software Development Kit (SDK) of the target application program within a preset time period after the target time.
And the target behavior is a behavior that the target application program bypasses a payment function of the platform to complete payment.
Normally, if the application program does not bypass the payment function of the platform, all payment interfaces are started by calling the SDK by the application program, and the SDK records each time of such starting action. Therefore, whether the target application has the target behavior can be identified according to whether the payment record of the target application is recorded in the software development kit SDK of the target application.
Specifically, if the payment record is recorded in the SDK, it is identified that the target application program does not have a target behavior; and/or
If the payment record is not recorded in the SDK, identifying that a target behavior exists in the target application program;
that is, if the payment record is recorded in the SDK, it can be understood that the payment interface is initiated by the target application calling the SDK, and the target application does not have a behavior of completing payment by bypassing the payment function of the platform. If the payment record is not recorded in the SDK, the payment interface is not started by calling the SDK by the target application program, and the target application program has a behavior of bypassing the payment function of a platform to finish payment.
Optionally, in the embodiment of the present invention, the target behavior is reported when the target application is identified to have the target behavior.
The behavior that the target application program bypasses the payment function of the platform to complete payment belongs to violation behaviors in the industry, the target application program enjoys flow support provided by the platform but does not divide the flow into the platform, and the benefit of the distribution platform is greatly damaged.
Optionally, in an embodiment of the present invention, the method further includes:
and adding a preset SDK data package into the installation package of the first application program under the condition that the first application program is the target application program.
If the first application program is the target application program, adding a preset SDK data packet into the installation package of the first application program, and recording information such as the use behavior of the application program through the SDK.
In the embodiment of the invention, under the condition that a target application program runs and a foreground display interface is a preset display interface, a target moment is obtained, wherein the target moment is the moment when the foreground display interface starts to display; identifying whether a target behavior exists in the target application program according to whether a payment record of the target application program is recorded in a Software Development Kit (SDK) of the target application program within a preset time period after the target time; whether the target behavior is identified based on the payment record of the target application program recorded in the SDK or not is simple in identification process, high in identification rate and low in cost, and whether the behavior that payment is completed by bypassing the payment function of the platform exists in the APP can be accurately detected.
By way of example, referring to fig. 2, taking a target application as a game APP as an example, fig. 2 shows a main process of a target behavior recognition method, which may include the following steps:
step 201, monitoring that the game APP is switched to background operation, and recording the current time t 1.
Because the SDK is integrated in the game APP, the SDK can know that the APP is switched to the background by monitoring the life cycle of the APP.
Step 202, acquiring a display interface of the game APP on the front desk of the electronic device.
When the APP is switched to the background, the SDK can acquire which interface of which APP is currently interacted with the user through calling the system interface, and the interface is called as an FJ interface of the game APP.
Step 203, judging whether the display interface is a preset display interface.
Several payment APP's of appointed several of electronic equipment prestore display interface that predetermines, predetermine display interface and include: interfaces such as TJ, WJ, YJ and the like are matched with the prestored interfaces by using the FJ interface acquired in the step 202, and if the interfaces can be matched, the game APP jumps to the payment interface.
Step 204, judging whether the SDK records the payment record within X minutes after the time t 1.
Normally, all payment interfaces should be started by calling the SDK by the game APP, and each time such a starting action is taken, the SDK records Z1, Z2, Z3, …, and Zn, when it is determined to jump to a payment interface in step 203, it is necessary to check whether there is a payment record initiated by the game APP in the next X minutes, if it can be inquired, there is no target action (cut payment), otherwise, it is determined that the payment action is cut, and the record is taken.
And step 205, reporting the game APP if the game APP has the payment switching behavior.
And when the SDK is called next time, the payment switching behaviors recorded in the step 204 are reported on the internet, game APPs of all the payment switching behaviors are displayed through the background, and corresponding processing is carried out.
In the embodiment of the invention, under the condition that a target application program runs and a foreground display interface is a preset display interface, a target moment is obtained, wherein the target moment is the moment when the foreground display interface starts to display; identifying whether a target behavior exists in the target application program according to whether a payment record of the target application program is recorded in a Software Development Kit (SDK) of the target application program within a preset time period after the target time; the target behavior is identified based on the SDK, the identification process is simple, the identification rate is high, and the cost is low; the APP is prevented from skipping the application distribution platform for payment, and benefits of the application distribution platform are guaranteed.
With the above description of the target behavior recognition method provided by the embodiment of the present invention, the electronic device provided by the embodiment of the present invention will be described with reference to the accompanying drawings.
Referring to fig. 3, an embodiment of the present invention further provides an electronic device 300, where the electronic device 300 includes various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices, and various forms of mobile stations, terminal devices, and the like, and the electronic device 300 includes:
the detection module 301 is configured to, when a target application runs and a foreground display interface is a preset display interface, obtain a target time, where the target time is a time when the foreground display interface starts to display.
The determining module 302 is configured to identify whether a target behavior exists in the target application program according to whether a payment record of the target application program is recorded in the software development kit SDK of the target application program within a preset time period after the target time.
Optionally, in this embodiment of the present invention, the determining module 302 includes:
the first judgment submodule is used for identifying that the target application program does not have target behaviors if the payment record is recorded in the SDK; and/or
And the second judgment submodule is used for identifying that the target application program has a target behavior if the payment record is not recorded in the SDK.
Optionally, in this embodiment of the present invention, the detecting module 301 includes:
the obtaining sub-module is configured to detect that a target application of the electronic device 300 is switched to a background operation, and obtain an interface displayed by the electronic device 300 in a foreground of the electronic device 300;
and the matching sub-module is used for matching the interface displayed by the foreground with a preset display interface and judging whether the interface displayed by the foreground is the preset display interface.
If the application program running on the foreground of the electronic device 300 is a target application program, detecting that the target application is switched from the foreground to the background to run, and acquiring an interface displayed on the foreground of the electronic device 300; then comparing the application interface with a pre-stored preset display interface, and judging whether the display interface is the preset display interface or not; optionally, the preset display interface may be a payment interface, such as a payment interface (or a payment success interface) of a payment APP when payment is performed through the payment APP.
And if the interface displayed by the foreground is matched with a preset display interface, determining the interface displayed by the foreground as the preset display interface.
Optionally, in this embodiment of the present invention, the detecting module 301 includes:
and the acquisition submodule is used for acquiring the task stack.
Optionally, in this embodiment of the present invention, the electronic device 300 further includes:
and the adding module is used for adding a preset SDK data packet into the installation package of the first application program under the condition that the first application program is the target application program.
Optionally, in this embodiment of the present invention, the electronic device 300 further includes:
and the reporting module is used for reporting the target behavior under the condition that the target application program is identified to have the target behavior.
The electronic device 300 provided in the embodiment of the present invention can implement each process implemented by the target behavior identification method in the method embodiments of fig. 1 to fig. 2, and is not described here again to avoid repetition.
In the embodiment of the invention, under the condition that a target application program runs and a foreground display interface is a preset display interface, a target moment is obtained, wherein the target moment is the moment when the foreground display interface starts to display; identifying whether a target behavior exists in the target application program according to whether a payment record of the target application program is recorded in a Software Development Kit (SDK) of the target application program within a preset time period after the target time; whether the target behavior is identified based on the payment record of the target application program recorded in the SDK or not is simple in identification process, high in identification rate and low in cost, and whether the behavior that payment is completed by bypassing the payment function of the platform in the APP can be accurately detected
FIG. 4 is a diagram illustrating a hardware configuration of an electronic device implementing various embodiments of the invention;
the electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 may be configured to, when a target application runs and a foreground display interface is a preset display interface, obtain a target time, where the target time is a time when the foreground display interface starts to display;
and identifying whether the target application program has a target behavior or not according to whether a payment record of the target application program is recorded in a Software Development Kit (SDK) of the target application program within a preset time period after the target time.
It should be noted that, in this embodiment, the electronic device 400 may implement each process in the method embodiment of the present invention and achieve the same beneficial effects, and for avoiding repetition, details are not described here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above target behavior identification method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the target behavior identification method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A target behavior identification method is applied to electronic equipment, and is characterized by comprising the following steps:
when a target application program runs and a foreground display interface is a preset display interface, acquiring a target moment, wherein the target moment is the moment when the foreground display interface starts to display;
and identifying whether the target application program has a target behavior or not according to whether a payment record of the target application program is recorded in a Software Development Kit (SDK) of the target application program within a preset time period after the target time.
2. The method for identifying the target behavior according to claim 1, wherein the step of identifying whether the target behavior exists in the target application according to whether the payment record of the target application is recorded in the Software Development Kit (SDK) of the target application within a preset time period after the target time comprises:
if the payment record is recorded in the SDK, identifying that the target application program does not have a target behavior; and/or
And if the payment record is not recorded in the SDK, identifying that the target application program has a target behavior.
3. The method of target behavior recognition according to claim 1, further comprising:
and adding a preset SDK data package into the installation package of the first application program under the condition that the first application program is the target application program.
4. The method of claim 1, wherein after the step of identifying whether a target behavior exists for the target application, the method further comprises:
and reporting the target behavior under the condition that the target application program is identified to have the target behavior.
5. An electronic device, characterized in that the electronic device comprises:
the detection module is used for acquiring target time when a target application program runs and a foreground display interface is a preset display interface, wherein the target time is the time when the foreground display interface starts to display;
and the judging module is used for identifying whether the target application program has a target behavior or not according to whether a payment record of the target application program is recorded in the Software Development Kit (SDK) of the target application program within a preset time period after the target moment.
6. The electronic device of claim 5, wherein the determining module comprises:
the first judgment submodule is used for identifying that the target application program does not have target behaviors if the payment record is recorded in the SDK; and/or
And the second judgment submodule is used for identifying that the target application program has a target behavior if the payment record is not recorded in the SDK.
7. The electronic device of claim 5, further comprising:
and the adding module is used for adding a preset SDK data packet into the installation package of the first application program under the condition that the first application program is the target application program.
8. The electronic device of claim 5, further comprising:
and the reporting module is used for reporting the target behavior under the condition that the target application program is identified to have the target behavior.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the target behavior recognition method according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the target behavior recognition method according to any one of claims 1 to 4.
CN202010144595.3A 2020-03-04 2020-03-04 Target behavior identification method and electronic equipment Active CN111427644B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010144595.3A CN111427644B (en) 2020-03-04 2020-03-04 Target behavior identification method and electronic equipment
PCT/CN2021/077878 WO2021175148A1 (en) 2020-03-04 2021-02-25 Target behavior identification method, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010144595.3A CN111427644B (en) 2020-03-04 2020-03-04 Target behavior identification method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111427644A true CN111427644A (en) 2020-07-17
CN111427644B CN111427644B (en) 2022-05-06

Family

ID=71547528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010144595.3A Active CN111427644B (en) 2020-03-04 2020-03-04 Target behavior identification method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111427644B (en)
WO (1) WO2021175148A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966429A (en) * 2020-08-21 2020-11-20 支付宝(杭州)信息技术有限公司 Applet processing method and device
WO2021175148A1 (en) * 2020-03-04 2021-09-10 维沃移动通信有限公司 Target behavior identification method, and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150248465A1 (en) * 2012-11-19 2015-09-03 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing history operation records of electronic terminal, and storage medium
US20160011755A1 (en) * 2014-07-13 2016-01-14 Shift 6 Ltd. User interface usage simulation generation and presentation
CN106504000A (en) * 2016-10-25 2017-03-15 广州爱九游信息技术有限公司 User terminal and means of payment detection means and method
CN106600266A (en) * 2016-12-05 2017-04-26 深圳前海微众银行股份有限公司 Mobile payment method and apparatus based on SDK
CN107357732A (en) * 2017-07-17 2017-11-17 广州爱九游信息技术有限公司 User terminal and SDK access state detection means and method
CN108108156A (en) * 2016-11-23 2018-06-01 上海冰穹网络科技有限公司 SDK Subscriber Management Systems and method
US20180342019A1 (en) * 2017-05-27 2018-11-29 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for acquiring transaction record, and computer readable storage medium
CN109976513A (en) * 2019-02-20 2019-07-05 方科峰 A kind of system interface design method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440574B (en) * 2013-07-29 2018-07-10 广州爱九游信息技术有限公司 Game payment processing method, client and system
US10692055B2 (en) * 2016-07-29 2020-06-23 Square, Inc. Reprogrammable point-of-sale transaction flows
CN108416579A (en) * 2018-02-02 2018-08-17 上海米飞网络科技有限公司 It is a kind of to apply interior intelligent payment platform and intelligent payment method
CN109801050B (en) * 2019-01-22 2023-12-26 瑞银信支付技术有限公司 Mobile payment SDK and payment method for online mall
CN109992472A (en) * 2019-02-25 2019-07-09 努比亚技术有限公司 A kind of interface monitoring method, terminal and computer readable storage medium
CN111427644B (en) * 2020-03-04 2022-05-06 维沃软件技术有限公司 Target behavior identification method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150248465A1 (en) * 2012-11-19 2015-09-03 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing history operation records of electronic terminal, and storage medium
US20160011755A1 (en) * 2014-07-13 2016-01-14 Shift 6 Ltd. User interface usage simulation generation and presentation
CN106504000A (en) * 2016-10-25 2017-03-15 广州爱九游信息技术有限公司 User terminal and means of payment detection means and method
CN108108156A (en) * 2016-11-23 2018-06-01 上海冰穹网络科技有限公司 SDK Subscriber Management Systems and method
CN106600266A (en) * 2016-12-05 2017-04-26 深圳前海微众银行股份有限公司 Mobile payment method and apparatus based on SDK
US20180342019A1 (en) * 2017-05-27 2018-11-29 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for acquiring transaction record, and computer readable storage medium
CN107357732A (en) * 2017-07-17 2017-11-17 广州爱九游信息技术有限公司 User terminal and SDK access state detection means and method
CN109976513A (en) * 2019-02-20 2019-07-05 方科峰 A kind of system interface design method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何静: ""生物识别不可乱用 财产可能被洗劫一空"", 《计算机与网络》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021175148A1 (en) * 2020-03-04 2021-09-10 维沃移动通信有限公司 Target behavior identification method, and electronic device
CN111966429A (en) * 2020-08-21 2020-11-20 支付宝(杭州)信息技术有限公司 Applet processing method and device

Also Published As

Publication number Publication date
CN111427644B (en) 2022-05-06
WO2021175148A1 (en) 2021-09-10

Similar Documents

Publication Publication Date Title
CN108845853B (en) Application program starting method and mobile terminal
CN109343759B (en) Screen-turning display control method and terminal
CN110062105B (en) Interface display method and terminal equipment
CN108279948B (en) Application program starting method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN111475072B (en) Payment information display method and electronic equipment
CN110308834B (en) Setting method of application icon display mode and terminal
CN109544172B (en) Display method and terminal equipment
CN111443815A (en) Vibration reminding method and electronic equipment
CN108009031B (en) Application program control method and mobile terminal
CN110990679A (en) Information searching method and electronic equipment
CN111427644B (en) Target behavior identification method and electronic equipment
CN110096203B (en) Screenshot method and mobile terminal
CN110069407B (en) Function test method and device for application program
CN109522741B (en) Application program permission prompting method and terminal equipment thereof
CN108628534B (en) Character display method and mobile terminal
CN108196663B (en) Face recognition method and mobile terminal
CN111310165B (en) Account switching or registering method and electronic equipment
CN111526248B (en) Audio output mode switching method and electronic equipment
CN110740265B (en) Image processing method and terminal equipment
CN109660657B (en) Application program control method and device
CN111443968A (en) Screenshot method and electronic equipment
CN109040457B (en) Screen brightness adjusting method and mobile terminal
CN111459323B (en) Control method, electronic device and 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