CN113535305A - Interface jumping method and device of mobile terminal, mobile terminal and medium - Google Patents

Interface jumping method and device of mobile terminal, mobile terminal and medium Download PDF

Info

Publication number
CN113535305A
CN113535305A CN202110818638.6A CN202110818638A CN113535305A CN 113535305 A CN113535305 A CN 113535305A CN 202110818638 A CN202110818638 A CN 202110818638A CN 113535305 A CN113535305 A CN 113535305A
Authority
CN
China
Prior art keywords
interface
jump
target
configuration information
mobile terminal
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
CN202110818638.6A
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.)
Guangzhou Huya Technology Co Ltd
Original Assignee
Guangzhou Huya 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 Guangzhou Huya Technology Co Ltd filed Critical Guangzhou Huya Technology Co Ltd
Priority to CN202110818638.6A priority Critical patent/CN113535305A/en
Publication of CN113535305A publication Critical patent/CN113535305A/en
Pending legal-status Critical Current

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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an interface skip method and device of a mobile terminal, a mobile terminal and a medium. The method comprises the following steps: intercepting a jump operation when the current interface needs to jump; if the jump operation needs to redefine the jump target according to the interface jump configuration information, jumping the current interface to a target interface corresponding to the redefined jump target; and the interface jump configuration information comprises the corresponding relation between the original jump target and the redefined jump target. In the technical scheme, the adjustment of the interface jump of the mobile terminal can be realized through the interface jump configuration information without modifying corresponding codes and depending on the release version of the mobile terminal, so that the efficiency of modifying the interface jump of the mobile terminal is improved, and the dynamic adjustment of the interface jump of the mobile terminal can be realized.

Description

Interface jumping method and device of mobile terminal, mobile terminal and medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an interface skipping method and device of a mobile terminal, a mobile terminal and a medium.
Background
Interface hopping in the mobile terminal is the most basic function of the mobile terminal operation. At present, the interface jump scheme of the mobile terminal is implemented by an interface and a route (such as KRouter), and if the interface jump target is to be modified, the corresponding code needs to be modified. Therefore, how to improve the efficiency of modifying the mobile terminal interface jump is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a medium for interface jump of a mobile terminal, which are used for improving the efficiency of modifying the interface jump of the mobile terminal and realizing the dynamic adjustment of the interface jump of the mobile terminal.
In a first aspect, an embodiment of the present invention provides an interface jump method for a mobile terminal, including:
intercepting a jump operation when the current interface needs to jump;
if the jump operation needs to redefine the jump target according to the interface jump configuration information, jumping the current interface to a target interface corresponding to the redefined jump target; and the interface jump configuration information comprises the corresponding relation between the original jump target and the redefined jump target.
In a second aspect, an embodiment of the present invention further provides an interface jumping device for a mobile terminal, including:
the skip interception module is used for intercepting a skip operation when the current interface needs to skip;
the skip redirection module is used for skipping the current interface to a target interface corresponding to the redefined skip target if the skip operation needs to redefine the skip target according to the interface skip configuration information; and the interface jump configuration information comprises the corresponding relation between the original jump target and the redefined jump target.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the interface jump method of the mobile terminal according to any embodiment.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the interface jump method of the mobile terminal according to any embodiment.
In the technical scheme provided by the embodiment of the invention, when the current interface of the mobile terminal needs to be adjusted, the corresponding adjustment operation is intercepted, then interface skip configuration information comprising the corresponding relation between the original skip target and the redefined skip target is obtained, whether the skip operation needs to redefine the skip target is judged according to the interface skip configuration information, and if so, the current interface is skipped to the target interface corresponding to the redefined skip target. In the technical scheme, the adjustment of the interface jump of the mobile terminal can be realized through the interface jump configuration information without modifying corresponding codes and depending on the release version of the mobile terminal, so that the efficiency of modifying the interface jump of the mobile terminal is improved, and the dynamic adjustment of the interface jump of the mobile terminal can be realized.
Drawings
Fig. 1 is a flowchart of an interface jump method of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of an interface jump method of a mobile terminal according to a second embodiment of the present invention;
fig. 3 is a flowchart of an interface jump method of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a flowchart of an interface jump method of a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is a schematic block structure diagram of an interface jump apparatus of a mobile terminal according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for the sake of convenience, the drawings only show some structures related to the present invention, not all structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of an interface jump method of a mobile terminal according to an embodiment of the present invention, where the embodiment is applicable to a case of dynamically adjusting interface jump of the mobile terminal, and the method may be executed by an interface jump apparatus of the mobile terminal according to any embodiment of the present invention, where the apparatus may be composed of hardware and/or software, and may be generally integrated in a mobile terminal.
As shown in fig. 1, the interface jump method of the mobile terminal provided in this embodiment includes the following steps:
and S110, intercepting the jump operation when the current interface needs to jump.
And the current interface refers to a page displayed by the mobile terminal at the current moment.
And when the preset condition is met, the current interface of the mobile terminal needs to jump to other interfaces. For example, when a setting operation is performed on the current interface (for example, a link on the current interface is clicked), the current interface of the mobile terminal needs to jump to other interfaces; for example, when the current interface stays for a preset time, the current interface of the mobile terminal needs to jump to another interface. The present embodiment does not specifically limit the case where the current interface needs to be skipped.
And if the current interface needs to jump, intercepting the corresponding jump operation. Optionally, by adding an interceptor at a jump entrance of the current interface, when the current interface needs to jump, the corresponding jump operation is intercepted.
S120, if the jump operation needs to redefine the jump target according to the interface jump configuration information, jumping the current interface to a target interface corresponding to the redefined jump target.
And interface jump configuration information refers to relevant information which is configured in advance and used for indicating the redirection of a jump target. And the interface jump configuration information comprises the corresponding relation between the original jump target and the redefined jump target. Optionally, the interface jump configuration information may be an interface jump configuration list.
As an optional implementation manner, the original jump target and the redefined jump target having a corresponding relationship in the interface jump configuration information exist in a key-value pair manner, where a key is the original jump target and a value is the redefined jump target.
In the interface jump configuration information, a Key-Value mode can be used for representing the redirection corresponding relation of the jump target, the jump address of the original jump target can be used as a Key, and the jump address of the redefined jump target can be used as a Value.
Acquiring interface skip configuration information, judging whether the current skip operation needs to redefine a skip target according to the interface skip configuration information, if so, determining the redefined skip target according to the interface skip configuration information, and skipping the current interface to a target interface corresponding to the redefined skip target; if not, skipping the current interface to a target interface corresponding to the original skipping target.
When the interface jump needs to be redirected, only the interface jump configuration information needs to be modified, the corresponding code does not need to be modified, and the method does not depend on the release version of the mobile terminal.
As an optional implementation manner, the interface technology types corresponding to the current interface and the target interface are different; wherein the interface technology type comprises at least one of: hypertext 5.0(HTML5) based technology, reach Native based technology, applets, Native applications.
At present, when a current interface needs to be skipped, if a target program corresponding to an original skipped target is supposed to be opened by using a technology based on HTML5, if the skipped target page is to be opened by using a technology based on read Native, or an applet or a Native application, the code of a mobile terminal needs to be modified, which is not only inefficient, but also fails to realize dynamic modification of the skipped mode.
In this embodiment, the corresponding relationship between the original jump target and the redefined jump target is configured in the interface jump configuration information, and mutual jump redirection between interfaces of different interface technology types is supported, that is, redirection between various interfaces such as an HTML5 interface, a real Native interface, a Native interface, an applet interface, and the like is supported. And dynamically adjusting interface jump redirection by dynamically adjusting interface jump configuration information.
For example, when the current interface needs to jump, the jump operation is intercepted, and interface jump configuration information is obtained. And if the redefined jump target corresponding to the original jump target corresponding to the current interface exists in the interface jump configuration information, determining that the current interface needs to be subjected to jump redirection. And if the target interface corresponding to the original jump target corresponding to the current interface is an HTML5 interface, and the target interface corresponding to the redefined jump target is a React Native interface, jumping the current interface to the redefined React Native interface according to interface jump configuration information, so as to realize jump redirection.
In the technical scheme provided by the embodiment of the invention, when the current interface of the mobile terminal needs to be adjusted, the corresponding adjustment operation is intercepted, then interface skip configuration information comprising the corresponding relation between the original skip target and the redefined skip target is obtained, whether the skip operation needs to redefine the skip target is judged according to the interface skip configuration information, and if so, the current interface is skipped to the target interface corresponding to the redefined skip target. In the technical scheme, the adjustment of the interface jump of the mobile terminal can be realized through the interface jump configuration information without modifying corresponding codes and depending on the release version of the mobile terminal, so that the efficiency of modifying the interface jump of the mobile terminal is improved, and the dynamic adjustment of the interface jump of the mobile terminal can be realized.
Example two
Fig. 2 is a flowchart of an interface jump method of a mobile terminal according to a second embodiment of the present invention, which is embodied on the basis of the foregoing embodiment, where jumping a current interface to a target interface corresponding to a redefined jump target may specifically be:
and analyzing the redefined jump target corresponding to the current interface, and executing the operation of jumping the current interface to the target interface corresponding to the redefined jump target according to the analysis result.
As shown in fig. 2, the interface jump method of the mobile terminal provided in this embodiment includes the following steps:
and S210, intercepting the jump operation when the current interface needs to jump.
S220, judging whether the jump operation needs to redefine the jump target according to the interface jump configuration information, if so, executing S230, and if not, executing S240.
And S230, analyzing the redefined jump target corresponding to the current interface, and executing the operation of jumping the current interface to the target interface corresponding to the redefined jump target according to the analysis result.
When the jump operation needs to redefine the jump target according to the interface jump configuration information, acquiring the redefined jump target corresponding to the current interface from the interface jump configuration information, and analyzing the redefined jump target, such as a jump address corresponding to the jump target, and related parameters related to the jump address. Furthermore, the corresponding interface jump operation can be executed based on the new jump address obtained by the analysis, the relevant parameter related to the jump address, and the like.
As an optional implementation manner, jumping the current interface to a target interface corresponding to the redefined jump target further includes: analyzing an original jump target corresponding to the current interface; correspondingly, the operation of skipping the current interface to the target interface corresponding to the redefined skip target is executed according to the analysis result, which may specifically be:
splicing a first analysis parameter of an original jump target corresponding to the current interface into a second analysis parameter of a redefined jump target corresponding to the current interface;
when parameter splicing is carried out, if repeated parameters exist in the first analysis parameter and the second analysis parameter, a parameter value corresponding to the repeated parameters in the second analysis parameter is reserved, and a parameter value corresponding to the repeated parameters in the first analysis parameter is deleted;
and according to the parameter splicing result, executing the operation of skipping the current interface to the target interface corresponding to the redefined skipping target.
In this embodiment, when it is determined that the skip operation needs to redefine the skip target according to the interface skip configuration information, the redefined skip target corresponding to the current interface is analyzed, the original skip target corresponding to the current interface may also be analyzed, and the skip target or the skip address when the interface skip operation is performed is determined according to the redefined skip target analysis result and the original skip target analysis result.
The first analysis parameter refers to relevant parameter information obtained by analyzing an original jump target corresponding to the current interface, and the second analysis parameter refers to relevant parameter information obtained by analyzing a redefined jump target corresponding to the current interface.
Splicing the first analysis parameter into the second analysis parameter, and issuing the spliced second analysis parameter to a jump address corresponding to the redefined jump target, so as to realize target jump or jump address modification. When the first analysis parameter is spliced into the second analysis parameter, judging whether the first analysis parameter and the second analysis parameter relate to repeated parameters, if not, directly splicing the first analysis parameter into the second analysis parameter and issuing the second analysis parameter to a jump address corresponding to the redefined jump target so as to execute the operation of jumping from the current interface to a target interface corresponding to the redefined jump target; if so, keeping the parameter value corresponding to the repeated parameter in the second analysis parameter when the first analysis parameter is spliced into the second analysis parameter, deleting the parameter value corresponding to the repeated parameter in the first analysis parameter so as to realize the replacement of the parameter value corresponding to the original jump target by using the parameter value corresponding to the redefined jump target, thereby obtaining the parameter used by the modified jump address, and executing the operation of jumping from the current interface to the target interface corresponding to the redefined jump target.
According to the technical scheme, a parameter determining mode when the jump operation corresponding to the redefined jump target is executed is defined, and the problem of jump redirection failure caused by parameter loss is solved. Particularly, the integrity of the modified jump address is ensured aiming at the condition that the target interface corresponding to the redefined jump target and the target interface corresponding to the original jump target belong to the same technical type interface.
Illustratively, if a target interface corresponding to an original jump target is an HTML5 interface, and a target interface corresponding to a redefined jump target is also an HTML5 interface, parameters are carried in two HTML5 URLs (Uniform Resource locators), that is, the replaced HTML5URL and the dynamically issued HTML5URL for realizing the jump redirection are carried with the parameters, the parameters of the two HTML5 URLs are analyzed to obtain a first analysis parameter and a second analysis parameter respectively, the first analysis parameter is spliced into the second analysis parameter to prevent the parameters from being lost, and if the parameters of the two HTML5 URLs have repeated parameters, an old parameter value in the first analysis parameter is replaced by a new parameter value in the second analysis parameter to ensure the accuracy of the jump redirection.
S240, skipping the current interface to a target interface corresponding to the original skipping target.
For those parts of this embodiment that are not explained in detail, reference is made to the aforementioned embodiments, which are not repeated herein.
In the technical scheme, the problem of failure in redirection caused by parameter loss can be avoided by analyzing and analyzing the parameters of the original jump object corresponding to the current interface and the redefined jump object.
EXAMPLE III
Fig. 3 is a flowchart of an interface jump method of a mobile terminal according to a third embodiment of the present invention, which is embodied on the basis of the foregoing embodiment, where after intercepting a jump operation, the method further includes: and pulling the interface jump configuration information in real time in the server.
As shown in fig. 3, the interface jump method of the mobile terminal provided in this embodiment includes the following steps:
s310, intercepting the jump operation when the current interface needs to jump.
And S320, pulling the interface jump configuration information in the server in real time.
In this embodiment, the interface jump configuration information may be pulled in real time in the server. The interface jump configuration information in the server can be configured in real time in a background.
In this embodiment, the adjustment of the interface jump of the mobile terminal can be realized by modifying the interface jump configuration information in real time at the background, without modifying corresponding codes, and without depending on the release version of the mobile terminal, so that the efficiency of modifying the interface jump of the mobile terminal is improved, and the dynamic adjustment of the interface jump of the mobile terminal can also be realized.
As an optional implementation manner, after the interface jump configuration information is pulled in real time in the server, the method further includes:
if the interface skip configuration information is failed to be pulled, acquiring the interface skip configuration information from a local cache file;
if the interface skip configuration information is successfully pulled, updating the local cache file according to the pulled interface skip configuration information; and storing initial interface jump configuration information in the local cache file when the mobile terminal is started.
In this embodiment, when the mobile terminal is started, the interface jump configuration information is pulled from the server, and is stored in the memory and the local cache file, so that whether the intercepted jump operation needs to redefine the jump target can be determined according to the acquired interface jump configuration information.
When the current interface needs to be jumped, drawing interface jump configuration information in a server in real time, if the interface jump configuration information is successfully drawn, judging whether intercepted jump operation needs to redefine a jump target according to the drawn interface jump configuration information, and updating the interface jump configuration information stored in the local cache file; and if the interface jump configuration information is failed to be pulled, acquiring the currently stored interface jump configuration information from a local cache file so as to judge whether the intercepted jump operation needs to redefine a jump target.
S330, analyzing the redefined jump target corresponding to the current interface, and executing the operation of jumping the current interface to the target interface corresponding to the redefined jump target according to the analysis result.
For those parts of this embodiment that are not explained in detail, reference is made to the aforementioned embodiments, which are not repeated herein.
In the embodiment, the adjustment of the interface jump of the mobile terminal can be realized by modifying the interface jump configuration information in real time at the background, the modification of corresponding codes is not needed, and the release version of the mobile terminal is not depended on, so that the efficiency of modifying the interface jump of the mobile terminal is improved, and the dynamic adjustment of the interface jump of the mobile terminal can also be realized. And when the interface jump configuration information is failed to be pulled, judging whether the intercepted jump operation needs to redefine the jump target or not based on the interface jump configuration information in the local cache file, thereby ensuring the effectiveness of realizing jump redirection based on the interface jump configuration information. By timely updating the interface jump configuration information in the local cache file, the accuracy and the timeliness of the interface jump configuration information are ensured as much as possible.
Example four
Fig. 4 is a flowchart of an interface jump method of a mobile terminal according to a fourth embodiment of the present invention, and this embodiment provides a specific implementation manner based on the foregoing embodiment.
As shown in fig. 4, the interface jump method of the mobile terminal provided in this embodiment includes the following steps:
s410, when the mobile terminal is started, interface jump configuration information is pulled from the server terminal and stored in a local cache file.
And S420, intercepting the jump operation when the current interface needs to jump.
And S430, pulling the interface jump configuration information in the server in real time.
S440, judging whether the interface jump configuration information is successfully pulled, if so, executing S450, and if not, executing S460.
S450, updating the interface skip configuration information stored in the local cache file according to the pulled interface skip configuration information, and executing S470.
And S460, acquiring the currently stored interface jump configuration information in the local cache file, and executing S470.
S470, judging whether the jump operation needs to redefine the jump target according to the interface jump configuration information, if so, executing S480, and if not, executing S490.
And S480, analyzing the redefined jump target and the original jump target corresponding to the current interface, and executing the operation of jumping the current interface to the target interface corresponding to the redefined jump target according to the analysis result.
When the operation of jumping the current interface to the target interface corresponding to the redefined jumping target is executed according to the analysis result, splicing the first analysis parameter of the original jumping target corresponding to the current interface into the second analysis parameter of the redefined jumping target corresponding to the current interface; when parameter splicing is carried out, if repeated parameters exist in a first analysis parameter and a second analysis parameter, a parameter value corresponding to the repeated parameters in the second analysis parameter is reserved, and a parameter value corresponding to the repeated parameters in the first analysis parameter is deleted; and according to the parameter splicing result, executing the operation of skipping the current interface to the target interface corresponding to the redefined skipping target.
And S490, skipping the current interface to a target interface corresponding to the original skipping target.
For those parts of this embodiment that are not explained in detail, reference is made to the aforementioned embodiments, which are not repeated herein.
In the technical scheme, the adjustment of the interface jump of the mobile terminal can be realized through the interface jump configuration information without modifying corresponding codes and depending on the release version of the mobile terminal, so that the efficiency of modifying the interface jump of the mobile terminal is improved, and the dynamic adjustment of the interface jump of the mobile terminal can be realized.
EXAMPLE five
Fig. 5 is a schematic block structure diagram of an interface jump apparatus of a mobile terminal according to a fifth embodiment of the present invention, where this embodiment is applicable to a situation of dynamically adjusting interface jump of the mobile terminal, and the apparatus may be implemented in a software and/or hardware manner, and may be generally integrated in a mobile terminal.
As shown in fig. 5, the apparatus specifically includes: a jump intercept module 510 and a jump redirect module 520. Wherein the content of the first and second substances,
a skip interception module 510, configured to intercept a skip operation when the current interface needs to be skipped;
a skip redirection module 520, configured to skip the current interface to a target interface corresponding to the redefined skip target if it is determined that the skip operation needs to redefine the skip target according to the interface skip configuration information; and the interface jump configuration information comprises the corresponding relation between the original jump target and the redefined jump target.
In the technical scheme provided by the embodiment of the invention, when the current interface of the mobile terminal needs to be adjusted, the corresponding adjustment operation is intercepted, then interface skip configuration information comprising the corresponding relation between the original skip target and the redefined skip target is obtained, whether the skip operation needs to redefine the skip target is judged according to the interface skip configuration information, and if so, the current interface is skipped to the target interface corresponding to the redefined skip target. In the technical scheme, the adjustment of the interface jump of the mobile terminal can be realized through the interface jump configuration information without modifying corresponding codes and depending on the release version of the mobile terminal, so that the efficiency of modifying the interface jump of the mobile terminal is improved, and the dynamic adjustment of the interface jump of the mobile terminal can be realized.
Optionally, the interface technology types corresponding to the current interface and the target interface are different; wherein the interface technology type comprises at least one of: hypertext 5.0 based technology, real Native based technology, applets, Native applications.
Optionally, the jump redirection module 520 is specifically configured to analyze the redefined jump target corresponding to the current interface, and execute an operation of jumping the current interface to the target interface corresponding to the redefined jump target according to an analysis result.
Further, the skip redirection module 520 is further specifically configured to parse an original skip target corresponding to the current interface, and specifically configured to splice a first parsing parameter of the original skip target corresponding to the current interface into a second parsing parameter of the redefined skip target corresponding to the current interface; when parameter splicing is carried out, if repeated parameters exist in the first analysis parameter and the second analysis parameter, a parameter value corresponding to the repeated parameters in the second analysis parameter is reserved, and a parameter value corresponding to the repeated parameters in the first analysis parameter is deleted; and according to the parameter splicing result, executing the operation of skipping the current interface to the target interface corresponding to the redefined skipping target.
Optionally, the apparatus further comprises: and the interface skip configuration information pulling module is used for pulling the interface skip configuration information in real time in the server after the skip operation is intercepted.
Further, the interface skip configuration information pulling module is further specifically configured to, after the interface skip configuration information is pulled in real time in the server, if the interface skip configuration information is failed to be pulled, obtain the interface skip configuration information in a local cache file; if the interface skip configuration information is successfully pulled, updating the local cache file according to the pulled interface skip configuration information; and storing initial interface jump configuration information in the local cache file when the mobile terminal is started.
Optionally, the original jump target and the redefined jump target having a corresponding relationship in the interface jump configuration information exist in a key-value pair manner, where a key is the original jump target and a value is the redefined jump target.
The interface jump device of the mobile terminal provided by the embodiment of the invention can execute the interface jump method of the mobile terminal provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention, as shown in fig. 6, the mobile terminal includes a processor 60, a memory 61, an input device 62, and an output device 63; the number of the processors 60 in the mobile terminal may be one or more, and one processor 60 is taken as an example in fig. 6; the processor 60, the memory 61, the input device 62 and the output device 63 in the mobile terminal may be connected by a bus or other means, as exemplified by the bus connection in fig. 6.
The memory 61 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the interface jump method of the mobile terminal in the embodiment of the present invention (for example, the jump interception module 510 and the jump redirection module 520 in the interface jump device of the mobile terminal in fig. 5). The processor 60 executes various functional applications and data processing of the mobile terminal by running software programs, instructions and modules stored in the memory 61, that is, implements the above-described interface jump method of the mobile terminal.
The memory 61 may mainly include a storage program area and a storage data table area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data table area may store data created according to the use of the mobile terminal, and the like. Further, the memory 61 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 non-volatile solid state storage device. In some examples, the memory 61 may further include memory located remotely from the processor 60, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 62 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. The output device 63 may include a display device such as a display screen.
EXAMPLE seven
An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, where the computer program is used to execute an interface jump method of a mobile terminal when executed by a computer processor, and the method includes:
intercepting a jump operation when the current interface needs to jump;
if the jump operation needs to redefine the jump target according to the interface jump configuration information, jumping the current interface to a target interface corresponding to the redefined jump target; and the interface jump configuration information comprises the corresponding relation between the original jump target and the redefined jump target.
Of course, the computer program of the computer-readable storage medium storing the computer program provided in the embodiment of the present invention is not limited to the above method operations, and may also perform related operations in the interface jump method of the mobile terminal provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a mobile terminal to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the interface jump apparatus at the mobile terminal, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An interface jump method of a mobile terminal is characterized by comprising the following steps:
intercepting a jump operation when the current interface needs to jump;
if the jump operation needs to redefine the jump target according to the interface jump configuration information, jumping the current interface to a target interface corresponding to the redefined jump target; and the interface jump configuration information comprises the corresponding relation between the original jump target and the redefined jump target.
2. The method according to claim 1, wherein the interface technology types corresponding to the current interface and the target interface are different;
wherein the interface technology type comprises at least one of: hypertext 5.0 based technology, real Native based technology, applets, Native applications.
3. The method according to claim 1, wherein the jumping the current interface to the target interface corresponding to the redefined jumping target comprises:
and analyzing the redefined jump target corresponding to the current interface, and executing the operation of jumping the current interface to the target interface corresponding to the redefined jump target according to the analysis result.
4. The method of claim 3, wherein jumping the current interface to a target interface corresponding to the redefined jump target further comprises: analyzing an original jump target corresponding to the current interface;
and executing the operation of jumping the current interface to a target interface corresponding to the redefined jumping target according to the analysis result, wherein the operation comprises the following steps:
splicing a first analysis parameter of an original jump target corresponding to the current interface into a second analysis parameter of a redefined jump target corresponding to the current interface;
when parameter splicing is carried out, if repeated parameters exist in the first analysis parameter and the second analysis parameter, a parameter value corresponding to the repeated parameters in the second analysis parameter is reserved, and a parameter value corresponding to the repeated parameters in the first analysis parameter is deleted;
and according to the parameter splicing result, executing the operation of skipping the current interface to the target interface corresponding to the redefined skipping target.
5. The method of claim 1, after intercepting the jump operation, further comprising: and pulling the interface jump configuration information in real time in the server.
6. The method of claim 5, wherein after the interface jump configuration information is pulled in real time in the server, the method further comprises:
if the interface skip configuration information is failed to be pulled, acquiring the interface skip configuration information from a local cache file;
if the interface skip configuration information is successfully pulled, updating the local cache file according to the pulled interface skip configuration information; and storing initial interface jump configuration information in the local cache file when the mobile terminal is started.
7. The method according to claim 1, characterized in that an original jump target and a redefined jump target having a correspondence in the interface jump configuration information exist in a key-value pair manner, wherein a key is the original jump target and a value is the redefined jump target.
8. An interface skip device of a mobile terminal, comprising:
the skip interception module is used for intercepting a skip operation when the current interface needs to skip;
the skip redirection module is used for skipping the current interface to a target interface corresponding to the redefined skip target if the skip operation needs to redefine the skip target according to the interface skip configuration information; and the interface jump configuration information comprises the corresponding relation between the original jump target and the redefined jump target.
9. A mobile terminal, characterized in that the mobile terminal comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202110818638.6A 2021-07-20 2021-07-20 Interface jumping method and device of mobile terminal, mobile terminal and medium Pending CN113535305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110818638.6A CN113535305A (en) 2021-07-20 2021-07-20 Interface jumping method and device of mobile terminal, mobile terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110818638.6A CN113535305A (en) 2021-07-20 2021-07-20 Interface jumping method and device of mobile terminal, mobile terminal and medium

Publications (1)

Publication Number Publication Date
CN113535305A true CN113535305A (en) 2021-10-22

Family

ID=78100412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110818638.6A Pending CN113535305A (en) 2021-07-20 2021-07-20 Interface jumping method and device of mobile terminal, mobile terminal and medium

Country Status (1)

Country Link
CN (1) CN113535305A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033302A (en) * 2018-07-16 2018-12-18 深圳鼎盛电脑科技有限公司 A kind of method for page jump, device, terminal and storage medium
CN110764895A (en) * 2019-10-30 2020-02-07 江苏满运软件科技有限公司 Application service dynamic switching method, system, equipment and storage medium
CN112632420A (en) * 2020-12-24 2021-04-09 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033302A (en) * 2018-07-16 2018-12-18 深圳鼎盛电脑科技有限公司 A kind of method for page jump, device, terminal and storage medium
CN110764895A (en) * 2019-10-30 2020-02-07 江苏满运软件科技有限公司 Application service dynamic switching method, system, equipment and storage medium
CN112632420A (en) * 2020-12-24 2021-04-09 青岛海尔科技有限公司 Interface skipping method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN110221872B (en) Page jump method and device, electronic equipment and storage medium
CN112035317B (en) Micro-service link monitoring method, device, equipment and medium
CN111026645B (en) User interface automatic test method and device, storage medium and electronic equipment
US20050195390A1 (en) Method of testing open services gateway initiative service platform and test tool using the method
CN112738791B (en) User information correlation backfill method, device, equipment and medium based on 5G core network
CN106484611B (en) Fuzzy test method and device based on automatic protocol adaptation
CN111241125A (en) Method and device for recording operation log, electronic equipment and storage medium
CN110874236A (en) Cross-platform application device, terminal and storage medium
CN105224401A (en) Scheduled task control method and device
CN110209700B (en) Data stream association method and device, electronic equipment and storage medium
CN112685270A (en) System monitoring log acquisition method and device, electronic equipment and medium
CN110046100B (en) Packet testing method, electronic device and medium
CN113923008B (en) Malicious website interception method, device, equipment and storage medium
CN115329170A (en) Webpage crawling method, device, equipment and storage medium
CN111290968A (en) Method, device, equipment and storage medium for realizing automatic test
CN111047434A (en) Operation record generation method and device, computer equipment and storage medium
CN114443603A (en) Transaction log playback method and device, computer equipment and medium
CN111158995B (en) Method and system for realizing cross-system log tracking query based on skywalk and ELK platform
CN115729727A (en) Fault repairing method, device, equipment and medium
CN113535305A (en) Interface jumping method and device of mobile terminal, mobile terminal and medium
CN111026669A (en) Test log management method, test log management device, and storage medium
CN111338928A (en) Chrome-based browser testing method and device
CN116243940A (en) Upgrading method and device of network equipment, electronic equipment and storage medium
CN114090514A (en) Log retrieval method and device for distributed system
CN112269739A (en) Webpage testing method and device, equipment and medium thereof

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