CN115103060A - Function jump interception method and device for mobile phone application program - Google Patents

Function jump interception method and device for mobile phone application program Download PDF

Info

Publication number
CN115103060A
CN115103060A CN202210722566.XA CN202210722566A CN115103060A CN 115103060 A CN115103060 A CN 115103060A CN 202210722566 A CN202210722566 A CN 202210722566A CN 115103060 A CN115103060 A CN 115103060A
Authority
CN
China
Prior art keywords
function
interception
jump
mode
jumping
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.)
Pending
Application number
CN202210722566.XA
Other languages
Chinese (zh)
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210722566.XA priority Critical patent/CN115103060A/en
Publication of CN115103060A publication Critical patent/CN115103060A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • H04M1/724631User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device by limiting the access to the user interface, e.g. locking a touch-screen or a keypad
    • H04M1/724634With partially locked states, e.g. when some telephonic functional locked states or applications remain accessible in the locked states
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a function jump interception method and a device of a mobile phone application program, relating to the technical field of computers, wherein the method comprises the following steps: when a first function of a mobile phone application program is skipped, analyzing a function code of a second function corresponding to an original target address of the first function skip; acquiring a jump configuration parameter of the second function according to the function code of the second function; the jump configuration parameter comprises jump interception information of a second function; when the jump interception information of the second function is determined to execute jump interception on the second function, the interception mode is determined according to the jump interception information of the second function; and executing jump interception on the second function according to the interception mode. The invention can improve the flexibility of function jump interception of the mobile phone application program, is suitable for the market service requirements of different functions, improves the user experience, and has good reusability and expansibility.

Description

Function jump interception method and device for mobile phone application program
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for intercepting function jumps of a mobile phone application program. It should be noted that the method and apparatus for intercepting function jumps of a mobile phone application program of the present invention can be used in the field of computer technology, and can also be used in any field other than the field of computer technology.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the rapid development of smart phones, many service scenarios can be completed on a mobile phone Application (APP). The jump between the functions of the mobile phone application program is determined well in the development stage of the mobile phone application program, but in the development process of the service, the target of the function jump may need to be dynamically modified, for example, a certain function has a service failure, and in order to enable a user to have better experience, the function of the jump target needs to be changed into a page with friendly prompt; for example, in business development, a certain product needs to be packaged, and a user needs to jump to a publicity page for product packaging and then jump back to the original function. However, the prior art does not have an effective solution to this.
Disclosure of Invention
The embodiment of the invention provides a function skipping interception method of a mobile phone application program, which is used for effectively implementing skipping interception of functions of the mobile phone application program, improving the flexibility of skipping interception of the functions of the mobile phone application program and improving user experience, and comprises the following steps:
when a first function of a mobile phone application program is skipped, analyzing a function code of a second function corresponding to an original target address of the first function skip;
acquiring a jump configuration parameter of the second function according to the function code of the second function; the jump configuration parameter comprises jump interception information of a second function;
when the jump interception information of the second function is determined to execute jump interception on the second function, the interception mode is determined according to the jump interception information of the second function;
and executing jump interception on the second function according to the interception mode.
The embodiment of the invention also provides a function jump interception device, which is used for effectively realizing the jump interception of the function execution of the mobile phone application program, improving the flexibility of the jump interception of the function of the mobile phone application program and improving the user experience, and comprises the following steps:
the function code analysis module is used for analyzing a function code of a second function corresponding to an original target address of a first function jump when the jump is executed on the first function of the mobile phone application program;
a skip configuration parameter obtaining module, configured to obtain a skip configuration parameter of the second function according to the function code of the second function; the jump configuration parameter comprises jump interception information of a second function;
the interception mode determining module is used for determining an interception mode according to the jump interception information of the second function when the jump interception of the second function is required to be executed according to the jump interception information of the second function;
and the jump interception execution module is used for executing jump interception on the second function according to the interception mode.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the function jump interception method of the mobile phone application program when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the function jump interception method of the mobile phone application program is realized.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and when the computer program is executed by a processor, the function jump intercepting method of the mobile phone application program is realized.
In the embodiment of the invention, when the jump is executed to the first function of the mobile phone application program, the function code of the second function corresponding to the original target address of the first function jump is analyzed; acquiring a jump configuration parameter of the second function according to the function code of the second function; the jump configuration parameter comprises jump interception information of a second function; when the jump interception information of the second function is determined to execute jump interception on the second function, the interception mode is determined according to the jump interception information of the second function; and executing jump interception on the second function according to the interception mode. The embodiment of the invention obtains the jump interception information through the function code, and can determine the jump interception modes suitable for different functions according to the jump interception information so as to effectively implement jump interception on the functions of the mobile phone application program, improve the flexibility of jump interception of the functions of the mobile phone application program, adapt to the service requirements of different functions and improve the user experience; the scheme of the embodiment of the invention can be transferred to the mobile phone application program with the jump interception requirement, and has good reusability and expansibility.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic flowchart of a function jump intercepting method of a mobile phone application program applied to the mobile phone application program in an embodiment of the present invention;
fig. 2 is a schematic diagram of a function jump intercepting apparatus for a mobile phone application in an embodiment of the present invention, applied to the mobile phone application;
fig. 3 is a diagram of an embodiment of a function jump intercepting apparatus for a mobile phone application applied to a mobile phone application according to the present invention;
fig. 4 is a diagram of a function jump intercepting apparatus of a mobile phone application in an embodiment of the present invention, applied to a specific example of the mobile phone application;
fig. 5 is a schematic diagram of a computer device provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The inventor finds that the jump between the functions of the current mobile phone application program is determined well in the development stage of the mobile phone application program, for example, when the target of the function jump needs to be dynamically modified in the development process of a service, the prior art has no effective solution for the jump. Therefore, the inventor proposes a function jump interception method of a mobile phone application program, fig. 1 is a flow diagram of the function jump interception method of the mobile phone application program applied to the mobile phone application program in the embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step 101, when a first function of a mobile phone application program is skipped, a function code of a second function corresponding to an original target address of the first function skip is analyzed;
102, acquiring a jump configuration parameter of a second function according to a function code of the second function; the jump configuration parameter comprises jump interception information of a second function;
103, determining an interception mode according to the jump interception information of the second function when the jump interception of the second function is required to be executed according to the jump interception information of the second function;
and 104, executing jump interception on the second function according to the interception mode.
As can be known from the flow shown in fig. 1, in the embodiment of the present invention, when a first function of a mobile application program is skipped, a function code of a second function corresponding to an original target address of the first function is analyzed; acquiring a skip configuration parameter of a first function according to the function code of the second function; the jump configuration parameter comprises jump interception information of a second function; when the jump interception information of the second function is determined to execute jump interception on the second function, the interception mode is determined according to the jump interception information of the second function; and executing jump interception on the second function according to the interception mode. The embodiment of the invention obtains the jump interception information through the function code, and can determine the jump interception modes suitable for different functions according to the jump interception information so as to effectively implement jump interception on the functions of the mobile phone application program, improve the flexibility of jump interception of the functions of the mobile phone application program, adapt to the service requirements of different functions and improve the user experience; the scheme of the embodiment of the invention can be transferred to the mobile phone application program with the jump interception requirement, and has good reusability and expansibility.
When the method is specifically implemented, firstly, when the jump is executed on the first function of the mobile phone application program, the function code of the second function corresponding to the original target address of the first function jump is analyzed. For example, when a certain game function interface of a mobile phone application program clicks the sign-in and gold coin receiving function to execute a skip, a function code of the sign-in and gold coin receiving function to be skipped to is analyzed.
Then, according to the function code of the second function, obtaining a jump configuration parameter of the second function; the jump configuration parameter includes jump interception information of the second function. For example, the jump interception information of the second function may include: whether the second function needs to execute jump interception, the name and the icon of the second function, intercepted document information, an intercepted form, a style transferred to a popup window and the like. It should be understood by those skilled in the art that the jump configuration parameters and the jump interception information are not limited to the above, and are only examples.
And then, when the jump interception information of the second function is determined to execute the jump interception on the second function, determining an interception mode according to the jump interception information of the second function. For example, the interception mode is determined according to the interception form in the jump interception information of the second function as follows: terminating the jump, jumping to a new function, transitioning to a popup, or transitioning to another function.
In one embodiment, the determining the interception mode according to the jump interception information of the second function includes: determining the interception mode according to the jump interception information of the second function as follows: terminating the jump;
executing jump interception on the second function according to the interception mode, comprising:
and executing jump for the second function termination according to the interception mode.
For example, when a game function interface of a mobile phone application program clicks a check-in gold coin function to execute a skip, skip interception information of the check-in gold coin function is acquired by analyzing a function code of the check-in gold coin function corresponding to an original target address of the game function skip, it is found that the check-in gold coin function is currently maintained and cannot skip to enter, and an interception mode in the skip interception information of the check-in gold coin function is determined as follows: and if the skip is terminated, the skip to the gold coin sign-in function is terminated, namely the gold coin sign-in function is still left in the game function interface and is not skipped to the gold coin sign-in function.
In one embodiment, the determining the interception mode according to the jump interception information of the second function includes: determining the interception mode according to the jump interception information of the second function as follows: jumping to a third function; the third function is different from the second function;
executing jump interception on the second function according to the interception mode, comprising:
and jumping to a third function according to the interception mode.
In this embodiment, jumping to the third function includes:
and jumping to the third function by replacing the original target address of the first function jump with the address of the third function.
For example, when a certain game function interface of a mobile phone application program clicks a sign-in gold coin-taking function to execute a skip, by analyzing a function code of the sign-in gold coin-taking function corresponding to an original target address of the game function skip, skip interception information of the sign-in gold coin-taking function is acquired, and it is found that the sign-in gold coin-taking function is currently maintained and a sign-in gold coin cannot be taken, but the sign-in gold coin-taking function can be replaced by the gold coin-taking function, and an interception mode in the skip interception information of the sign-in gold coin-taking function is determined as follows: skipping to the function of gold coin lottery; skipping to the function of gold coin drawing according to the interception mode, and not skipping to the function of gold coin picking; specifically, the original target address of the game function jump, namely the address of the function of picking up the gold coins, can be replaced by the address of the gold coin lottery function, so that the game function jump is performed to the gold coin lottery function.
In one embodiment, determining the interception mode according to the jump interception information of the second function includes: determining the interception mode according to the jump interception information of the second function as follows: transferring to a popup window;
executing jump interception on the second function according to the interception mode, comprising:
jumping to a popup window according to an interception mode; and after the execution of the popup window is finished, jumping to a second function.
In this embodiment, after the execution of the popup is completed, the jump interception of the second function is cancelled.
For example, when a game function interface of a mobile phone application program clicks a check-in gold coin taking function to execute a skip, skip interception information of the check-in gold coin taking function is acquired by analyzing a function code of the check-in gold coin taking function corresponding to an original target address of the game function skip, and if an advertisement popup window is found to be temporarily added, an interception mode is determined according to related skip interception information as follows: transferring to a popup window; executing jump to a popup window according to related jump interception information in the jump configuration parameters; after the execution of the transfer-to popup window is finished, skipping interception of the sign-in gold coin-taking function is cancelled, and the phenomenon that the transfer-to gold coin-taking function is transferred to the advertisement popup window again when skipping is executed is prevented, so that a dead cycle is entered; the popup window interface can be closed by clicking of a user, or can be automatically closed after the popup window is set to last for a fixed time, then the popup window jumps to an original jump target of the game function jump, namely, the function of gold coin sign-in, and specifically, the jump to the function of gold coin sign-in is executed according to an original target address of the game function execution jump, namely, an address of the function of gold coin sign-in.
In one embodiment, determining the interception mode according to the jump interception information of the second function includes: determining the interception mode according to the jump interception information of the second function as follows: transferring to a fourth function; the fourth function is different from the second function;
executing jump interception on the second function according to the interception mode, comprising:
jumping to a fourth function according to the interception mode; and after the fourth function is executed, jumping to a second function corresponding to the original target address.
In this embodiment, after the fourth function is executed, the jump interception of the second function is cancelled.
In this embodiment, the function code of the fourth function is loaded, and the jump is made to the fourth function.
For example, when a game function interface of a mobile phone application program clicks a check-in gold coin taking function to execute a skip, by analyzing a function code of the check-in gold coin taking function corresponding to an original target address of the game function skip, skip interception information of the check-in gold coin taking function is obtained, and if the check-in gold coin taking function is found to be upgraded and a user needs to transfer to the upgrading function first, the check-in gold coin taking function is determined to be in the following intercepting mode: transferring to an upgrading function; specifically, the function code of the upgrading function is loaded, and the function is jumped to the upgrading function; after jumping to the upgrading function, the jumping interception of the gold coin signing-in function is cancelled, and the gold coin signing-in function is prevented from being transferred to the upgrading function again when jumping is executed, so that the gold coin signing-in function enters a dead loop; in the upgrading function interface, a user can directly close the upgrading function interface or automatically close the upgrading function interface after the upgrading is finished; and then jumping to the original jumping target of the game function jump, namely the sign-in gold coin taking function, and specifically, executing the jump to the sign-in gold coin taking function according to the original target address of the game function execution jump, namely the address of the sign-in gold coin taking function.
The embodiment of the invention also provides a function jump intercepting device of the mobile phone application program, which is described in the following embodiment. Because the principle of the device for solving the problems is similar to the function jump interception method of the mobile phone application program, the implementation of the device can refer to the implementation of the function jump interception method of the mobile phone application program, and repeated parts are not described again.
Fig. 2 is a schematic diagram of a function jump intercepting apparatus for a mobile phone application according to an embodiment of the present invention, applied to a mobile phone application, as shown in fig. 2, the apparatus includes:
the function code analysis module 201 is configured to analyze a function code of a second function corresponding to an original target address of a first function jump when the first function of the mobile phone application program is skipped;
a skip configuration parameter obtaining module 202, configured to obtain a skip configuration parameter of the second function according to the function code of the second function; the jump configuration parameter comprises jump interception information of a second function;
the interception mode determining module 203 is configured to determine, according to the jump interception information of the second function, an interception mode when it is determined that jump interception needs to be performed on the second function;
and a jump interception execution module 204, configured to execute jump interception on the second function according to the interception manner.
In an embodiment, the interception manner determining module 203 is specifically configured to: determining the interception mode according to the jump interception information of the second function as follows: terminating the jump;
the jump interception execution module 204 is specifically configured to:
and executing jump for the second function termination according to the interception mode.
In an embodiment, the interception manner determining module 203 is specifically configured to: determining the interception mode according to the jump interception information of the second function as follows: jumping to a third function; the third function is different from the second function;
the jump interception execution module 204 is specifically configured to:
and jumping to a third function according to the interception mode.
In an embodiment, the jump interception execution module 204 is specifically configured to:
and jumping to the third function by replacing the original target address of the first function jump with the address of the third function.
In an embodiment, the interception manner determining module 203 is specifically configured to: determining the interception mode according to the jump interception information of the second function as follows: transferring to a popup window;
the jump interception execution module 204 is specifically configured to:
jumping to a popup window according to an interception mode; and after the execution of the popup window is finished, jumping to a second function.
Fig. 3 is a diagram of a specific example of a function jump intercepting apparatus for a mobile phone application according to an embodiment of the present invention, as shown in fig. 3, in an embodiment, the apparatus shown in fig. 2 may further include:
and the first jump interception canceling module 301 is configured to cancel jump interception of the second function after the execution of the popup is completed.
In an embodiment, the interception manner determining module 203 is specifically configured to: determining the interception mode according to the jump interception information of the second function as follows: transferring to a fourth function; the fourth function is different from the second function;
the jump interception execution module 204 is specifically configured to:
jumping to a fourth function according to the interception mode; and after the fourth function is executed, jumping to a second function corresponding to the original target address.
Fig. 4 is a diagram of a specific example of a function jump intercepting apparatus for a mobile phone application according to an embodiment of the present invention, as shown in fig. 4, in an embodiment, the apparatus shown in fig. 2 may further include:
and a second jump interception canceling module 401, configured to cancel jump interception of the second function after the fourth function is executed.
In an embodiment, the jump interception execution module 204 is specifically configured to:
and jumping to the fourth function by loading the function code of the fourth function.
Based on the above inventive concept, as shown in fig. 5, an embodiment of the present invention further provides a computer device 500, which includes a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and capable of running on the processor 501, where when the processor 501 executes the computer program 503, the function jump intercepting method of the mobile phone application program is implemented.
The embodiment of the invention also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the function jump interception method of the mobile phone application program is realized.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and when the computer program is executed by a processor, the function jump intercepting method of the mobile phone application program is realized.
In the embodiment of the invention, when the jump is executed to the first function of the mobile phone application program, the function code of the second function corresponding to the original target address of the first function jump is analyzed; acquiring a jump configuration parameter of the second function according to the function code of the second function; the jump configuration parameter comprises jump interception information of a second function; when the jump interception information of the second function is determined to execute jump interception on the second function, the interception mode is determined according to the jump interception information of the second function; and executing jump interception on the second function according to the interception mode. The embodiment of the invention obtains the jump interception information through the function code, and can determine the jump interception modes suitable for different functions according to the jump interception information so as to effectively implement jump interception on the functions of the mobile phone application program, improve the flexibility of jump interception of the functions of the mobile phone application program, adapt to the service requirements of different functions and improve the user experience; the scheme of the embodiment of the invention can be transferred to the mobile phone application program with the jump interception requirement, and has good reusability and expansibility.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (21)

1. A function jump interception method of a mobile phone application program is characterized in that the method is applied to the mobile phone application program and comprises the following steps:
when a first function of a mobile phone application program is skipped, analyzing a function code of a second function corresponding to an original target address of the first function skip;
acquiring a jump configuration parameter of the second function according to the function code of the second function; the jump configuration parameter comprises jump interception information of a second function;
when the jump interception information of the second function is determined to execute jump interception on the second function, the interception mode is determined according to the jump interception information of the second function;
and executing jump interception on the second function according to the interception mode.
2. The method as claimed in claim 1, wherein determining the interception manner according to the jump interception information of the second function comprises: determining the interception mode according to the jump interception information of the second function as follows: terminating the jump;
executing jump interception on the second function according to an interception mode, wherein the jump interception comprises the following steps:
and executing jump for the second function termination according to the interception mode.
3. The method as claimed in claim 1, wherein determining the interception manner according to the jump interception information of the second function comprises: determining the interception mode according to the jump interception information of the second function as follows: jumping to a third function; the third function is different from the second function;
executing jump interception on the second function according to an interception mode, wherein the jump interception comprises the following steps:
and jumping to a third function according to the interception mode.
4. The method of claim 3, wherein jumping to a third function comprises:
and jumping to the third function by replacing the original target address of the first function jump with the address of the third function.
5. The method as claimed in claim 1, wherein determining the interception manner according to the jump interception information of the second function comprises: determining the interception mode according to the jump interception information of the second function as follows: transferring to a popup window;
executing jump interception on the second function according to the interception mode, comprising:
jumping to a popup window according to an interception mode; and after the execution of the popup window is finished, jumping to a second function.
6. The method of claim 5, further comprising:
and after the execution of the popup window is finished, canceling jump interception of the second function.
7. The method as claimed in claim 1, wherein determining the interception manner according to the jump interception information of the second function comprises: determining the interception mode according to the jump interception information of the second function as follows: transferring to a fourth function; the fourth function is different from the second function;
executing jump interception on the second function according to the interception mode, comprising:
jumping to a fourth function according to the interception mode; and after the fourth function is executed, jumping to a second function corresponding to the original target address.
8. The method of claim 7, further comprising:
and after the execution of the fourth function is finished, canceling jump interception of the second function.
9. The method of claim 7, wherein jumping to a fourth function comprises:
and jumping to the fourth function by loading the function code of the fourth function.
10. A function jump intercepting device of a mobile phone application program is applied to the mobile phone application program, and the device comprises:
the function code analysis module is used for analyzing a function code of a second function corresponding to an original target address of a first function jump when the jump is executed on the first function of the mobile phone application program;
a skip configuration parameter obtaining module, configured to obtain a skip configuration parameter of the second function according to the function code of the second function; the jump configuration parameter comprises jump interception information of a second function;
the interception mode determining module is used for determining an interception mode according to the jump interception information of the second function when the jump interception of the second function is required to be executed according to the jump interception information of the second function;
and the jump interception execution module is used for executing jump interception on the second function according to the interception mode.
11. The apparatus of claim 10, wherein the interception manner determining module is specifically configured to: determining the interception mode according to the jump interception information of the second function as follows: terminating the jump;
the jump interception execution module is specifically configured to:
and executing jump for the second function termination according to the interception mode.
12. The apparatus of claim 10, wherein the interception manner determining module is specifically configured to: determining the interception mode according to the jump interception information of the second function as follows: jumping to a third function; the third function is different from the second function;
the jump interception execution module is specifically configured to:
and jumping to a third function according to the interception mode.
13. The apparatus of claim 12, wherein the jump intercept execution module is specifically configured to:
and jumping to the third function by replacing the original target address of the first function jump with the address of the third function.
14. The apparatus of claim 10, wherein the interception manner determining module is specifically configured to: determining the interception mode according to the jump interception information of the second function as follows: transferring to a pop-up window;
the jump interception execution module is specifically configured to:
jumping to a popup window according to an interception mode; and jumping to the second function after the execution of the popup window is finished.
15. The apparatus of claim 14, further comprising:
and the first jump interception canceling module is used for canceling jump interception of the second function after the execution of the popup window is finished.
16. The apparatus of claim 10, wherein the interception manner determining module is specifically configured to: determining the interception mode according to the jump interception information of the second function as follows: transferring to a fourth function; the fourth function is different from the second function;
the jump interception execution module is specifically configured to:
jumping to a fourth function according to the interception mode; and after the fourth function is executed, jumping to a second function corresponding to the original target address.
17. The apparatus as recited in claim 16, further comprising:
and the second jump interception canceling module is used for canceling the jump interception of the second function after the fourth function is executed.
18. The apparatus of claim 16, wherein the jump interception execution module is specifically configured to:
and jumping to the fourth function by loading the function code of the fourth function.
19. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 9 when executing the computer program.
20. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any one of claims 1 to 9.
21. A computer program product, characterized in that the computer program product comprises a computer program which, when being executed by a processor, carries out the method of any one of claims 1 to 9.
CN202210722566.XA 2022-06-24 2022-06-24 Function jump interception method and device for mobile phone application program Pending CN115103060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210722566.XA CN115103060A (en) 2022-06-24 2022-06-24 Function jump interception method and device for mobile phone application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210722566.XA CN115103060A (en) 2022-06-24 2022-06-24 Function jump interception method and device for mobile phone application program

Publications (1)

Publication Number Publication Date
CN115103060A true CN115103060A (en) 2022-09-23

Family

ID=83292875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210722566.XA Pending CN115103060A (en) 2022-06-24 2022-06-24 Function jump interception method and device for mobile phone application program

Country Status (1)

Country Link
CN (1) CN115103060A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009031A (en) * 2017-12-14 2018-05-08 维沃移动通信有限公司 The control method and mobile terminal of a kind of application program
CN111625736A (en) * 2020-05-25 2020-09-04 厦门美图之家科技有限公司 Link skip control method and related device
CN112084438A (en) * 2020-09-01 2020-12-15 支付宝(杭州)信息技术有限公司 Code scanning skip data processing method, device, equipment and system
CN112632420A (en) * 2020-12-24 2021-04-09 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009031A (en) * 2017-12-14 2018-05-08 维沃移动通信有限公司 The control method and mobile terminal of a kind of application program
CN111625736A (en) * 2020-05-25 2020-09-04 厦门美图之家科技有限公司 Link skip control method and related device
CN112084438A (en) * 2020-09-01 2020-12-15 支付宝(杭州)信息技术有限公司 Code scanning skip data processing method, device, equipment and system
CN112632420A (en) * 2020-12-24 2021-04-09 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
US20190324772A1 (en) Method and device for processing smart contracts
JP6294886B2 (en) Generate native code from intermediate language code for applications
US20220318945A1 (en) Optimizing compilation of shaders
JP7394211B2 (en) Methods, devices, equipment, and media for parallel execution of smart contracts
US20210034356A1 (en) Code Hot-Update Method and Device, Storage Medium, Processor, and Terminal
CN106648755B (en) Method and device for dynamically loading dex in android art environment
CN113157345A (en) Automatic starting method and device for front-end engineering
US20130185626A1 (en) METHOD, TERMINAL AND COMPUTER-READABLE RECORDING MEDIUM FOR COMPILING JAVASCRIPT INCLUDED IN WEB APPLICATION USING Ahead-Of-Time (AOT)
CN112214267A (en) Android shelling acceleration method and device, storage medium and computer equipment
US10466974B2 (en) Independent expression animations
CN113946803A (en) Method and device for automatic bypass by having anti-debugging mechanism for target program
CN112035676B (en) User operation behavior knowledge graph construction method and device
CN110020370B (en) Method and device for realizing animation in client application and framework of animation script
CN113050985A (en) Front-end engineering dependence automatic registration method and device
CN110018831B (en) Program processing method, program processing apparatus, and computer-readable storage medium
CN111913759A (en) Method, apparatus, computing device, and medium for controlling execution of application program
CN115103060A (en) Function jump interception method and device for mobile phone application program
CN112148318B (en) Application package release method, application method, device, medium, server and equipment
CN111796865B (en) Byte code file modification method, device, terminal equipment and medium
CN114911541A (en) Configuration information processing method and device, electronic equipment and storage medium
CN116974653B (en) Class loading method and system
CN112559920B (en) Hook method, device and equipment based on jump instruction and storage medium
US20160283810A1 (en) Computing control device, computing control method, and computer readable medium
CN115934118A (en) Program test method and system for program upgrading
CN117032770A (en) Application program updating method and device

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