CN112632420A - Interface skipping method and device, storage medium and electronic device - Google Patents

Interface skipping method and device, storage medium and electronic device Download PDF

Info

Publication number
CN112632420A
CN112632420A CN202011555625.6A CN202011555625A CN112632420A CN 112632420 A CN112632420 A CN 112632420A CN 202011555625 A CN202011555625 A CN 202011555625A CN 112632420 A CN112632420 A CN 112632420A
Authority
CN
China
Prior art keywords
interface
url
jump
target
jump instruction
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
CN202011555625.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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011555625.6A priority Critical patent/CN112632420A/en
Publication of CN112632420A publication Critical patent/CN112632420A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • 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

Abstract

The embodiment of the invention provides an interface jump method, an interface jump device, a storage medium and an electronic device, wherein the method comprises the following steps: receiving a target jump instruction, wherein the target jump instruction is used for indicating a target jump instruction for jumping the current interface from a first interface to a second interface; acquiring a target URL (uniform resource locator) generated by triggering of a target jump instruction; and jumping to a second interface from the first interface based on the jump information contained in the target URL, wherein the jump information comprises jump logic which is used for indicating that the current interface jumps to the second interface from the first interface. The invention solves the problems that the interface jump function is fixedly defined and can not be modified in the prior art, achieves the effect of flexibly jumping the interface and improves the efficiency of interface jump.

Description

Interface skipping method and device, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the field of communication, in particular to an interface jump method, an interface jump device, a storage medium and an electronic device.
Background
In the related technology, the iOS system APP development and the Android system APP development are carried out through a built-in push or present method when a native (i.e. iOS or Android) internal skip and a native and web interface skip each other. Namely, the iOS system APP development, the Android system APP development or the WebView APP development are all skipped in a systematic manner, and the iOS system and the Android system are skipped by an internal push or present method; the native and the webpage are transmitted to the native firstly through a JavaScript method, and then the native jumps to a corresponding interface through push or present. However, when interface jumping is performed in a systematic manner, the jumping method is written into the current code segment, and the function is directly and fixedly defined without modification.
Therefore, the problem that the interface jump function is fixedly defined and cannot be modified exists in the related technology.
In view of the above problems in the related art, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an interface jump method, an interface jump device, a storage medium and an electronic device, which are used for at least solving the problems that interface jump functions are fixedly defined and cannot be modified in the related technology.
According to an embodiment of the present invention, an interface jump method is provided, including: receiving a target jump instruction, wherein the target jump instruction is used for indicating a target jump instruction for jumping the current interface from a first interface to a second interface; acquiring a target URL (uniform resource locator) generated by triggering of the target jump instruction; jumping from the first interface to the second interface based on jump information contained in the target URL, wherein the jump information comprises jump logic, and the jump logic is used for indicating the current interface to jump from the first interface to the second interface.
In an exemplary embodiment, before receiving a target jump instruction for instructing a jump from the first interface to the second interface, the method further comprises: under the condition that a first jump instruction for indicating jumping from the first interface to the second interface is received, acquiring a first URL (uniform resource locator) generated by triggering of the first jump instruction; adding the skip information to the first URL to obtain a second URL; and determining the second URL as the target URL generated by triggering of the target jump instruction.
In an exemplary embodiment, after obtaining the second URL, the method further comprises: matching the second URL with a URL included in a configuration table, wherein the configuration table includes a corresponding relation between the URL and a local interface; determining the second interface based on the matching result.
In one exemplary embodiment, determining the second interface based on the matching result includes: determining a first local interface corresponding to the second URL included in the configuration table as the second interface if the matching result indicates that the second URL is included in the configuration table; and in the case that the matching result indicates that the second URL is not included in the configuration table, creating a first webpage interface based on the second URL, and determining the first webpage interface as the second interface.
In an exemplary embodiment, after obtaining the second URL, the method further comprises: judging whether the second URL comprises a preset parameter or not; and under the condition that the predetermined parameters are determined to be included in the second URL, creating a second local interface corresponding to the predetermined parameters, and determining the second local interface as the second interface.
In an exemplary embodiment, after determining whether the second URL includes the predetermined parameter, the method further includes: and under the condition that the second URL does not comprise the preset parameters, creating a second webpage interface corresponding to the second URL, and determining the second webpage interface as the second interface.
According to another embodiment of the present invention, there is provided an interface jump apparatus including: the device comprises a receiving module, a judging module and a display module, wherein the receiving module is used for receiving a target jump instruction, and the target jump instruction is used for indicating a target jump instruction for jumping a current interface from a first interface to a second interface; the first acquisition module is used for acquiring a target Uniform Resource Locator (URL) triggered and generated by the target jump instruction; and the jump module is used for jumping from the first interface to the second interface based on jump information contained in the target URL, wherein the jump information comprises jump logic, and the jump logic is used for indicating the current interface to jump from the first interface to the second interface.
In one exemplary embodiment, the apparatus further comprises: the second obtaining module is used for obtaining a first URL (uniform resource locator) generated by triggering of a first jump instruction under the condition that the first jump instruction used for indicating the jump from a first interface to a second interface is received before the target jump instruction used for indicating the jump from the first interface to the second interface is received; the adding module is used for adding the jumping information into the first URL to obtain a second URL; and the determining module is used for determining the second URL as the target URL generated by triggering of the target jump instruction.
In an exemplary embodiment, the apparatus is configured to, after obtaining a second URL, match the second URL with a URL included in a configuration table, where the configuration table includes a correspondence between the URL and a local interface; determining the second interface based on the matching result.
In an exemplary embodiment, the apparatus enables determining the second interface based on the matching result by: determining a first local interface corresponding to the second URL included in the configuration table as the second interface if the matching result indicates that the second URL is included in the configuration table; and in the case that the matching result indicates that the second URL is not included in the configuration table, creating a first webpage interface based on the second URL, and determining the first webpage interface as the second interface.
In an exemplary embodiment, the apparatus is configured to determine whether a predetermined parameter is included in a second URL after obtaining the second URL; and under the condition that the predetermined parameters are determined to be included in the second URL, creating a second local interface corresponding to the predetermined parameters, and determining the second local interface as the second interface.
In an exemplary embodiment, after determining whether the predetermined parameter is included in the second URL, if it is determined that the predetermined parameter is not included in the second URL, the apparatus is configured to create a second web interface corresponding to the second URL, and determine the second web interface as the second interface.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, a target jump instruction for triggering the current interface to jump from the first interface to the second interface is received, the target URL generated by the target jump instruction is obtained, and the jump from the first jump interface to the second interface is realized according to the jump logic included in the target URL and jumping from the first interface to the second interface.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal of an interface jump method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an interface jump method according to an embodiment of the present invention;
FIG. 3 is a first flowchart of an interface jump method according to an embodiment of the present invention;
FIG. 4 is a flowchart of a second interface jump method according to an embodiment of the present invention;
FIG. 5 is a block diagram of an interface jump apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of a structure of an interface jump apparatus according to an exemplary embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of the method running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of an interface jump method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the interface jump method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, 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 transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In this embodiment, an interface jump method is provided, and fig. 2 is a flowchart of an interface jump method according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, receiving a target jump instruction, wherein the target jump instruction is used for indicating a target jump instruction for jumping the current interface from a first interface to a second interface;
step S204, a target Uniform Resource Locator (URL) triggered and generated by the target jump instruction is obtained;
step S206, jumping from the first interface to the second interface based on the jump information contained in the target URL, wherein the jump information includes jump logic, and the jump logic is used for indicating the current interface to jump from the first interface to the second interface.
In the above embodiment, the first interface and the second interface may be any one of APP (Application), and the first interface may jump to the second interface through a touch instruction and the like. The first interface can be a currently displayed interface, when a target jump instruction for controlling the current interface to jump from the first interface to the second interface is received, a target uniform resource locator (target URL) triggered by the jump instruction is obtained, and page jump is realized according to jump logic included in the target URL. For example, after the APP is opened, a first interface is displayed, a user can click a certain control on the first interface to perform interface jump, at this time, the system can acquire a target URL generated by the control, acquire jump logic in the URL, and implement jump from the first interface to a second interface according to the jump logic.
Optionally, the executing subject of the above steps may be a target application, a background processor, or other devices with similar processing capabilities, and may also be a machine integrated with at least a data processing device, where the data processing device may include a terminal such as a computer, a mobile phone, and the like, but is not limited thereto.
According to the invention, a target jump instruction for triggering the current interface to jump from the first interface to the second interface is received, the target URL generated by the target jump instruction is obtained, and the jump from the first jump interface to the second interface is realized according to the jump logic included in the target URL and jumping from the first interface to the second interface.
In an exemplary embodiment, before receiving a target jump instruction for instructing a jump from the first interface to the second interface, the method further comprises: under the condition that a first jump instruction for indicating jumping from the first interface to the second interface is received, acquiring a first URL (uniform resource locator) generated by triggering of the first jump instruction; adding the skip information to the first URL to obtain a second URL; and determining the second URL as the target URL generated by triggering of the target jump instruction. In this embodiment, the jump function may be initiated before a target jump instruction to jump from the first interface to the second interface is received. During development, a development interface button is clicked, when jumping is carried out, a first URL is transmitted, a native (system) can intercept the first URL, jump logic which needs to be added by the native is added into the first URL, namely jump information is added into the first URL to obtain a second URL, and the second URL is determined to be a target URL generated by triggering of a target jump instruction.
In an exemplary embodiment, after obtaining the second URL, the method further comprises: matching the second URL with a URL included in a configuration table, wherein the configuration table includes a corresponding relation between the URL and a local interface; determining the second interface based on the matching result. In this embodiment, after obtaining the second URL, the second URL may be matched with a URL included in the configuration table, and the second interface may be determined according to a matching result. The configuration table includes a corresponding relationship between a URL and a controller, and the controller may be used to represent the second interface. The correspondence between the URL in the configuration table and the controller may be a predetermined correspondence.
In the above embodiment, the already defined configuration table dictionary information is loaded in the development time memory. And key in the configuration table dictionary information is a URL value, and value is a corresponding interface controller. And clicking an interface button, transmitting the URL when jumping, wherein the URL corresponds to a function interface appointed in a configuration table, and meanwhile, native can intercept the appointed URL, and can redirect the URL or add required parameters into the URL by modifying the URL to obtain a second URL. And using the second URL as a key value to find out a corresponding value in the configuration table dictionary. And determining a second interface according to the matching result.
In one exemplary embodiment, determining the second interface based on the matching result includes: determining a first local interface corresponding to the second URL included in the configuration table as the second interface if the matching result indicates that the second URL is included in the configuration table; and in the case that the matching result indicates that the second URL is not included in the configuration table, creating a first webpage interface based on the second URL, and determining the first webpage interface as the second interface. In this embodiment, when a value exists, that is, when a second URL exists in the configuration table, it may be determined that the local function interface is jumped, and then, the local controller is jumped by the system push or present method. And when the corresponding second URL does not exist, the second URL can be regarded as a webpage interface, the WebView website information is loaded, and the webpage acquires the corresponding webpage interface according to the parameters provided in the second URL.
In an exemplary embodiment, after obtaining the second URL, the method further comprises: judging whether the second URL comprises a preset parameter or not; and under the condition that the predetermined parameters are determined to be included in the second URL, creating a second local interface corresponding to the predetermined parameters, and determining the second local interface as the second interface. In this embodiment, when interface jump is implemented through a URL in the iOS system APP development or the Android system APP development, a vc parameter (a parameter corresponding to the predetermined parameter) agreed in the development process may be added to the URL, and a value of the vc parameter may be a controller corresponding to a function. And when the second URL contains the vc parameter, creating a corresponding controller, and jumping to the corresponding controller through a push or a present of the system.
In an exemplary embodiment, after determining whether the second URL includes the predetermined parameter, the method further includes: and under the condition that the second URL does not comprise the preset parameters, creating a second webpage interface corresponding to the second URL, and determining the second webpage interface as the second interface. In this embodiment, when the second URL does not include the vc parameter, the interface corresponding to the second URL may be considered as a web interface, and the second URL may be opened through WebView, and a jump may be made to the web function interface.
The following describes an interface jump method with reference to a specific embodiment:
fig. 3 is a first flowchart of an interface jump method according to an embodiment of the present invention, as shown in fig. 3, the flowchart includes:
step S302, adding a configuration table of the URL and the controller. And when App is started, loading the defined configuration table dictionary information in the memory. And key in the configuration table dictionary information is a URL value, and value is a corresponding interface controller.
Step S304, clicking an interface button, and when jumping, transmitting a URL (corresponding to the first URL), wherein the URL corresponds to a function interface appointed in the configuration table.
In step S306, native may intercept the specified URL, and may redirect the URL or add a required parameter to the URL by modifying the URL.
In step S308, the URL (corresponding to the second URL) is used as the key value, and whether the corresponding value can be found in the configuration table dictionary is determined. If the determination result is yes, step S310 is executed, and if the determination result is no, step S312 is executed.
In step S310, when a value exists, it may be determined that the local function interface (corresponding to the first local interface) is jumped, and then the local controller is jumped through the system push or present method.
Step S312, when there is no corresponding URL (corresponding to the second URL), the web interface is considered as a web interface, and at this time, WebView website information is loaded, and the web page obtains the corresponding web interface (corresponding to the first web interface) according to the parameters provided in the URL.
And step S314, displaying the required interface.
Fig. 4 is a flowchart of a second interface jump method according to an embodiment of the present invention, as shown in fig. 4, the flowchart includes:
step S402, clicking the interface button, and transferring the URL (corresponding to the first URL) when jumping.
In step S404, native may intercept the specified URL, and may redirect the URL or add a required parameter to the URL by modifying the URL.
Step S406 is performed to determine whether a vc parameter (corresponding to the predetermined parameter) is included in the URL (corresponding to the second URL). When the iOS is developed or the Android jumps through the URL, the URL needs to contain a vc parameter agreed in the development process, and the value of the vc parameter can be a controller corresponding to the function. If the determination result is yes, step S408 is executed, and if the determination result is no, step S410 is executed.
Step S408, when the vc parameter is included, a corresponding controller (corresponding to the second local interface) is created, and then the system jumps to the corresponding controller through the push or present of the system.
Step S410, when the vc parameter is not included, the URL is opened through WebView, and the user can jump to a webpage function interface (corresponding to the second webpage interface).
Step S412, displaying the required interface.
In the embodiment, with the current hybrid development of native and WebView, the page jump logic is changed frequently, and various alternate jumps are carried out between the page jump logic and the WebView. According to the invention, the jump can be directly carried out through the parameters required by the URL configuration, so that the mutual decoupling between the functions is realized, the webpage development is completed, the jump can be directly carried out to the web or native interface wanted through the URL, and the real function separation is realized during the development. native development is completed, only the URL added for jumping can be considered, the jumping result does not need to be considered, the interface only needs to configure relevant URLs or preset parameters according to a URL configuration table or preset parameters, and any interface can easily jump to a designated functional interface. The independent development among the functions is realized, the rapid template updating of various functions is facilitated, the functions are not mutually influenced, and the real function-oriented development is realized.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode 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 is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, an interface jump apparatus is further provided, and the interface jump apparatus is used to implement the foregoing embodiments and preferred embodiments, which have already been described and will not be described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram illustrating a structure of an interface jump apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes:
a receiving module 52, configured to receive a target jump instruction, where the target jump instruction is used to instruct a target jump instruction for jumping a current interface from a first interface to a second interface;
a first obtaining module 54, configured to obtain a target uniform resource locator URL generated by being triggered by the target jump instruction;
a jump module 56, configured to jump from the first interface to the second interface based on jump information included in the target URL, where the jump information includes jump logic, and the jump logic is configured to instruct the current interface to jump from the first interface to the second interface.
Fig. 6 is a block diagram illustrating a structure of an interface jump apparatus according to an exemplary embodiment of the present invention, as shown in fig. 5, the apparatus further includes, in addition to all modules shown in fig. 5:
a second obtaining module 62, configured to, before receiving a target jump instruction for instructing a jump from a first interface to a second interface, obtain, in a case that a first jump instruction for instructing the jump from the first interface to the second interface is received, a first URL generated by being triggered by the first jump instruction;
an adding module 64, configured to add the skip information to the first URL to obtain a second URL;
a determining module 66, configured to determine the second URL as the target URL triggered and generated by the target jump instruction.
In an exemplary embodiment, the apparatus may be configured to, after obtaining a second URL, match the second URL with a URL included in a configuration table, where the configuration table includes a correspondence between the URL and a local interface; determining the second interface based on the matching result.
In an exemplary embodiment, the apparatus may determine the second interface based on the matching result by: determining a first local interface corresponding to the second URL included in the configuration table as the second interface if the matching result indicates that the second URL is included in the configuration table; and in the case that the matching result indicates that the second URL is not included in the configuration table, creating a first webpage interface based on the second URL, and determining the first webpage interface as the second interface.
In an exemplary embodiment, the apparatus may be further configured to, after obtaining a second URL, determine whether a predetermined parameter is included in the second URL; and under the condition that the predetermined parameters are determined to be included in the second URL, creating a second local interface corresponding to the predetermined parameters, and determining the second local interface as the second interface.
In an exemplary embodiment, after determining whether the predetermined parameter is included in the second URL, if it is determined that the predetermined parameter is not included in the second URL, the apparatus may be further configured to create a second web interface corresponding to the second URL, and determine the second web interface as the second interface.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An interface jump method is characterized by comprising the following steps:
receiving a target jump instruction, wherein the target jump instruction is used for indicating that the current interface is jumped from a first interface to a second interface;
acquiring a target URL (uniform resource locator) generated by triggering of the target jump instruction;
jumping from the first interface to the second interface based on jump information contained in the target URL, wherein the jump information comprises jump logic, and the jump logic is used for indicating the current interface to jump from the first interface to the second interface.
2. The method of claim 1, wherein prior to receiving a target jump instruction for instructing a jump from the first interface to the second interface, the method further comprises:
under the condition that a first jump instruction for indicating jumping from the first interface to the second interface is received, acquiring a first URL (uniform resource locator) generated by triggering of the first jump instruction;
adding the skip information to the first URL to obtain a second URL;
and determining the second URL as the target URL generated by triggering of the target jump instruction.
3. The method of claim 2, wherein after obtaining the second URL, the method further comprises:
matching the second URL with a URL included in a configuration table, wherein the configuration table includes a corresponding relation between the URL and a local interface;
determining the second interface based on the matching result.
4. The method of claim 3, wherein determining the second interface based on the match results comprises:
determining a first local interface corresponding to the second URL included in the configuration table as the second interface if the matching result indicates that the second URL is included in the configuration table;
and in the case that the matching result indicates that the second URL is not included in the configuration table, creating a first webpage interface based on the second URL, and determining the first webpage interface as the second interface.
5. The method of claim 2, wherein after obtaining the second URL, the method further comprises:
judging whether the second URL comprises a preset parameter or not;
and under the condition that the predetermined parameters are determined to be included in the second URL, creating a second local interface corresponding to the predetermined parameters, and determining the second local interface as the second interface.
6. The method of claim 5, wherein after determining whether the second URL includes the predetermined parameter, the method further comprises:
and under the condition that the second URL does not comprise the preset parameters, creating a second webpage interface corresponding to the second URL, and determining the second webpage interface as the second interface.
7. An interface jump device, comprising:
the device comprises a receiving module, a judging module and a display module, wherein the receiving module is used for receiving a target jump instruction, and the target jump instruction is used for indicating a target jump instruction for jumping a current interface from a first interface to a second interface;
the first acquisition module is used for acquiring a target URL (uniform resource locator) generated by triggering of the target jump instruction;
and the jump module is used for jumping from the first interface to the second interface based on jump information contained in the target URL, wherein the jump information comprises jump logic, and the jump logic is used for indicating the current interface to jump from the first interface to the second interface.
8. The apparatus of claim 7, further comprising:
the second obtaining module is used for obtaining a first URL (uniform resource locator) generated by triggering of a first jump instruction under the condition that the first jump instruction used for indicating the jump from a first interface to a second interface is received before the target jump instruction used for indicating the jump from the first interface to the second interface is received;
the adding module is used for adding the jumping information into the first URL to obtain a second URL;
and the determining module is used for determining the second URL as the target URL generated by triggering of the target jump instruction.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
CN202011555625.6A 2020-12-24 2020-12-24 Interface skipping method and device, storage medium and electronic device Pending CN112632420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011555625.6A CN112632420A (en) 2020-12-24 2020-12-24 Interface skipping method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011555625.6A CN112632420A (en) 2020-12-24 2020-12-24 Interface skipping method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN112632420A true CN112632420A (en) 2021-04-09

Family

ID=75324712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011555625.6A Pending CN112632420A (en) 2020-12-24 2020-12-24 Interface skipping method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112632420A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535305A (en) * 2021-07-20 2021-10-22 广州虎牙科技有限公司 Interface jumping method and device of mobile terminal, mobile terminal and medium
CN113805968A (en) * 2021-09-18 2021-12-17 武汉联影医疗科技有限公司 Application program function execution method and device, computer equipment and storage medium
CN114706645A (en) * 2022-04-08 2022-07-05 北京字节跳动网络技术有限公司 Interface information transmission method, device, medium and electronic equipment
CN115103060A (en) * 2022-06-24 2022-09-23 中国银行股份有限公司 Function jump interception method and device for mobile phone application program

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512190A (en) * 2015-11-26 2016-04-20 网易(杭州)网络有限公司 Interface jumping method and device
CN107122192A (en) * 2017-04-27 2017-09-01 北京三快在线科技有限公司 Webpage view methods of exhibiting, device, computing device and storage medium
CN108121568A (en) * 2017-11-30 2018-06-05 五八有限公司 Arouse method and device, electronic equipment and the readable storage medium storing program for executing of APP
CN108268295A (en) * 2017-12-28 2018-07-10 天脉聚源(北京)科技有限公司 A kind of method and device of the page jump based on single interface
CN108491247A (en) * 2018-04-10 2018-09-04 武汉斗鱼网络科技有限公司 Method for page jump, device, terminal and computer-readable medium
CN108549560A (en) * 2018-02-28 2018-09-18 腾讯科技(成都)有限公司 Switching method and apparatus, storage medium, the electronic device of interface state
EP3407287A1 (en) * 2017-05-25 2018-11-28 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for screenshot processing
CN109657165A (en) * 2018-12-28 2019-04-19 广州酷狗计算机科技有限公司 Method for page jump and device
CN109948074A (en) * 2017-09-25 2019-06-28 北京国双科技有限公司 Website data interconnection method, device, storage medium, processor and electronic equipment
CN110347942A (en) * 2019-05-31 2019-10-18 深圳壹账通智能科技有限公司 Method for page jump, device, storage medium and computer equipment
CN111143723A (en) * 2019-12-26 2020-05-12 五八同城信息技术有限公司 Page jump method and device, electronic equipment and storage medium
CN111859223A (en) * 2020-07-30 2020-10-30 中国民航信息网络股份有限公司 Webpage data calling method and device based on mobile middle station and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512190A (en) * 2015-11-26 2016-04-20 网易(杭州)网络有限公司 Interface jumping method and device
CN107122192A (en) * 2017-04-27 2017-09-01 北京三快在线科技有限公司 Webpage view methods of exhibiting, device, computing device and storage medium
EP3407287A1 (en) * 2017-05-25 2018-11-28 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for screenshot processing
CN109948074A (en) * 2017-09-25 2019-06-28 北京国双科技有限公司 Website data interconnection method, device, storage medium, processor and electronic equipment
CN108121568A (en) * 2017-11-30 2018-06-05 五八有限公司 Arouse method and device, electronic equipment and the readable storage medium storing program for executing of APP
CN108268295A (en) * 2017-12-28 2018-07-10 天脉聚源(北京)科技有限公司 A kind of method and device of the page jump based on single interface
CN108549560A (en) * 2018-02-28 2018-09-18 腾讯科技(成都)有限公司 Switching method and apparatus, storage medium, the electronic device of interface state
CN108491247A (en) * 2018-04-10 2018-09-04 武汉斗鱼网络科技有限公司 Method for page jump, device, terminal and computer-readable medium
CN109657165A (en) * 2018-12-28 2019-04-19 广州酷狗计算机科技有限公司 Method for page jump and device
CN110347942A (en) * 2019-05-31 2019-10-18 深圳壹账通智能科技有限公司 Method for page jump, device, storage medium and computer equipment
CN111143723A (en) * 2019-12-26 2020-05-12 五八同城信息技术有限公司 Page jump method and device, electronic equipment and storage medium
CN111859223A (en) * 2020-07-30 2020-10-30 中国民航信息网络股份有限公司 Webpage data calling method and device based on mobile middle station and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535305A (en) * 2021-07-20 2021-10-22 广州虎牙科技有限公司 Interface jumping method and device of mobile terminal, mobile terminal and medium
CN113805968A (en) * 2021-09-18 2021-12-17 武汉联影医疗科技有限公司 Application program function execution method and device, computer equipment and storage medium
CN114706645A (en) * 2022-04-08 2022-07-05 北京字节跳动网络技术有限公司 Interface information transmission method, device, medium and electronic equipment
CN115103060A (en) * 2022-06-24 2022-09-23 中国银行股份有限公司 Function jump interception method and device for mobile phone application program

Similar Documents

Publication Publication Date Title
CN110221872B (en) Page jump method and device, electronic equipment and storage medium
CN112632420A (en) Interface skipping method and device, storage medium and electronic device
CN102663073B (en) Method and system for recommending based on downloaded files
CN108376073B (en) Test software package generation method and terminal
CN108353462A (en) A kind of configuration file method for down loading and relevant device, system
CN111984356A (en) Page jump method, device, computer equipment and storage medium
CN104077162A (en) Mobile terminal application template updating and issuing method and device
CN110708210A (en) Cloud test configuration method and device, computer equipment and storage medium
CN108540509B (en) Processing method and device of terminal browser, server and intelligent terminal
CN111885115A (en) Equipment binding change method and device
WO2016011879A1 (en) Web page display method and apparatus
CN111885594A (en) Equipment binding method and device
CN113064685A (en) H5 page loading method and device
CN114327349B (en) Smart card determining method and device, storage medium and electronic device
CN112214701A (en) Page display method and system, storage medium and electronic device
CN112788576A (en) Equipment offline processing method and system, storage medium and electronic device
CN111026995A (en) Method and device for information association between applications and storage medium
CN108647139B (en) System test method, device, storage medium and electronic device
CN113190565B (en) Data updating method and device, storage medium and electronic device
CN114090074A (en) Method and device for configuring operating environment, storage medium and electronic device
CN114237926A (en) Multi-platform interaction method, device, equipment, storage medium and computer program product
CN115878443A (en) Interface test script generation method and device, storage medium and electronic device
CN114253441B (en) Method and device for enabling target function, storage medium and electronic device
CN110309000B (en) Application update prompting method and terminal equipment
CN112131505A (en) Data storage processing method and device, storage medium and electronic 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210409