CN106161656B - Interface jumping method and device - Google Patents
Interface jumping method and device Download PDFInfo
- Publication number
- CN106161656B CN106161656B CN201610794076.5A CN201610794076A CN106161656B CN 106161656 B CN106161656 B CN 106161656B CN 201610794076 A CN201610794076 A CN 201610794076A CN 106161656 B CN106161656 B CN 106161656B
- Authority
- CN
- China
- Prior art keywords
- jump
- path
- interface
- jumping
- configuration file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/148—Migration or transfer of sessions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a device for interface jump, wherein the method comprises the following steps: the method comprises the steps of obtaining a first Uniform Resource Identifier (URI) address, determining a first jump path corresponding to the first URI address in preset jump paths based on the first URI address, and jumping from a current interface to a specified jump interface corresponding to the first jump path based on the first jump path. That is to say, the jump path in the electronic device can be preset, then when the electronic device receives the URI address, the electronic device determines a jump path stiffness in the preset jump path, and finally performs the jump of the interface based on the determined jump path, so that not only can diversified interface jump be realized, but also the interface jump can be more convenient.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for interface jump.
Background
With the development of electronic technology, various portable electronic devices, such as mobile phones, tablet computers and other portable electronic devices, are increasing.
At present, electronic equipment can perform interface jump of the same application program or different application programs, but the interface jump is performed based on a fixed jump rule in the electronic equipment, so that the interface jump is greatly limited, and the interface jump mode is single.
Disclosure of Invention
The embodiment of the invention provides a method and a device for switching a label page, which are used for solving the problem that interface skipping is carried out based on a fixed skipping rule in electronic equipment in the prior art, so that the interface skipping is greatly limited, and the interface skipping mode is single.
The specific technical scheme is as follows:
a method of interface hopping, the method comprising:
acquiring a first Uniform Resource Identifier (URI) address;
determining a first jump path corresponding to the first URI address in M preset jump paths based on the first URI address, wherein M is a positive integer greater than or equal to 1;
and jumping to a specified jumping interface corresponding to the first jumping path from the current interface based on the first jumping path.
Optionally, before obtaining the first uniform resource identifier URI address, the method further includes:
editing a configuration file, and configuring each jump path in the configuration file, wherein each path comprises a path ID and/or a query parameter and/or a jump interface.
Optionally, after configuring each jump path in the configuration file, the method further includes:
and sending the configuration file to a network server so as to store the configuration file in the network server.
Optionally, determining a first jump path corresponding to the first URI address in preset jump paths includes: determining at least two jump paths in the preset jump paths;
and determining the first jump path corresponding to the ID in the at least two jump paths based on the query parameter path ID in the first URI address.
An apparatus for interface hopping, comprising:
the acquisition module is used for acquiring a first Uniform Resource Identifier (URI) address;
the determining module is used for determining a first jump path corresponding to the first URI address in M preset jump paths based on the first URI address, wherein M is a positive integer greater than or equal to 1;
and the control module is used for jumping from the current interface to a specified jumping interface corresponding to the first jumping path based on the first jumping path.
Optionally, the method further includes:
and the processing module is used for editing a configuration file and configuring each jumping path in the configuration file, wherein each path comprises a path ID and/or a query parameter and/or a jumping interface.
Optionally, the method further includes:
and the sending module is used for sending the configuration file to a network server so as to store the configuration file in the network server.
Optionally, the determining module is specifically configured to determine at least two jump paths in the preset jump paths; and determining the first jump path corresponding to the ID in the at least two jump paths based on the query parameter path ID in the first URI address.
The embodiment of the invention provides an interface jumping method, which comprises the following steps: the method comprises the steps of obtaining a first Uniform Resource Identifier (URI) address, determining a first jump path corresponding to the first URI address in preset jump paths based on the first URI address, and jumping from a current interface to a specified jump interface corresponding to the first jump path based on the first jump path. That is to say, the jump path in the electronic device can be preset, then when the electronic device receives the URI address, the electronic device determines a jump path stiffness in the preset jump path, and finally performs the jump of the interface based on the determined jump path, so that not only can diversified interface jump be realized, but also the interface jump can be more convenient.
Drawings
FIG. 1 is a flowchart illustrating a method for interface jump according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an interface jump apparatus according to an embodiment of the present invention.
Detailed Description
In the embodiment of the present invention, to solve the problem that the interface jump mode in the prior art is single, an embodiment of the present invention provides an interface jump method, where the method includes: the method comprises the steps of obtaining a first Uniform Resource Identifier (URI) address, determining a first jump path corresponding to the first URI address in preset jump paths based on the first URI address, and jumping from a current interface to a specified jump interface corresponding to the first jump path based on the first jump path. That is to say, the jump path in the electronic device can be preset, then when the electronic device receives the URI address, the electronic device determines a jump path stiffness in the preset jump path, and finally performs the jump of the interface based on the determined jump path, so that not only can diversified interface jump be realized, but also the interface jump can be more convenient.
The technical solutions of the present invention are described in detail with reference to the drawings and the specific embodiments, and it should be understood that the embodiments and the specific technical features in the embodiments of the present invention are merely illustrative of the technical solutions of the present invention, and are not restrictive, and the embodiments and the specific technical features in the embodiments of the present invention may be combined with each other without conflict.
Fig. 1 is a flowchart illustrating a method for interface jumping according to an embodiment of the present invention, where the method includes:
s101, acquiring a first Uniform Resource Identifier (URI) address;
s102, determining a first jump path corresponding to the first URI address in the preset M jump paths based on the first URI address;
s103, jumping from the current interface to a specified jumping interface corresponding to the first jumping path based on the first jumping path.
Specifically, before the electronic device receives the first URI address, a jump path is first configured in advance, that is, a part of the jump path may be preset according to a requirement. The jump path may include a path ID indicating a path, an interface name of a designated jump interface, an interface name of a default entry interface, and the like, where all information included in the jump path is not listed here, and in the embodiment of the present invention, the information included in the jump path may be configured according to different requirements.
Furthermore, in the embodiment of the invention, the configuration file can be edited by an object representation JSON format, and then each required jump path is configured in the configuration file. Of course, in the embodiment of the present invention, the configuration file may be edited by using other language formats, which are not illustrated herein.
After the configuration file is edited, the electronic device can store the configuration file in a storage module of the electronic device, so that the electronic device can conveniently and timely call out the configuration file, and a jump path corresponding to the first URI address can be conveniently found.
Certainly, in the embodiment of the present invention, the configuration file may also be stored in the network server, that is, after the configuration file is edited, the electronic device sends the configuration file to the network server, and then the network server stores the configuration file, so that the electronic device may save a part of the storage space, and when the electronic device needs the configuration file, the electronic device may call the configuration file from the network server.
After the configuration file is edited and stored, if the electronic equipment receives the first URI address, the electronic equipment analyzes the URI address.
The electronic device will resolve the query parameters in the first URI address, i.e.: a Query parameter, which specifies a jump path and also specifies the source of the jump path. That is, the Query parameter includes the ID of the jump path, the corresponding jump path can be directly determined by the ID, and then the interface jump is performed based on the jump path.
In the embodiment of the invention, the jump path can be freely configured in the electronic equipment, so that after the electronic equipment receives the URI address, the electronic equipment can locate the corresponding jump path based on the URI address, thereby not only realizing diversified interface jump, but also enabling the interface jump to be more convenient and faster.
Corresponding to the method for interface jump in the embodiment of the present invention, an embodiment of the present invention further provides an interface jump device, and as shown in fig. 2, the interface jump device in the embodiment of the present invention is a schematic structural diagram, where the interface jump device includes:
an obtaining module 201, configured to obtain a first uniform resource identifier URI address;
a determining module 202, configured to determine, based on the first URI address, a first jump path corresponding to the first URI address from among preset M jump paths, where M is a positive integer greater than or equal to 1;
and the control module 203 is configured to jump from the current interface to a specified jump interface corresponding to the first jump path based on the first jump path.
Further, in the embodiment of the present invention, the apparatus further includes:
and the processing module is used for editing a configuration file and configuring each jumping path in the configuration file, wherein each path comprises a path ID and/or a query parameter and/or a jumping interface.
Further, in the embodiment of the present invention, the apparatus further includes:
and the sending module is used for sending the configuration file to a network server so as to store the configuration file in the network server.
Further, in the embodiment of the present invention, the determining module 202 is specifically configured to determine at least two jump paths in the preset jump paths; and determining the first jump path corresponding to the ID in the at least two jump paths based on the query parameter path ID in the first URI address.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (6)
1. A method of interface hopping, the method comprising:
acquiring a first Uniform Resource Identifier (URI) address;
determining a first jump path corresponding to the first URI address in M preset jump paths based on the first URI address, wherein M is a positive integer greater than or equal to 1;
jumping from the current interface to a specified jumping interface corresponding to the first jumping path based on the first jumping path;
determining a first jump path corresponding to the first URI address in preset jump paths, comprising:
determining at least two jump paths in the preset jump paths;
and determining the first jump path corresponding to the ID in the at least two jump paths based on the query parameter path ID in the first URI address.
2. The method of claim 1, prior to obtaining the first uniform resource identifier, URI, address, further comprising:
editing a configuration file, and configuring each jump path in the configuration file, wherein each path comprises a path ID and/or a query parameter and/or a jump interface.
3. The method of claim 2, wherein after configuring each jump path in the configuration file, further comprising:
and sending the configuration file to a network server so as to store the configuration file in the network server.
4. An apparatus for interface hopping, comprising:
the acquisition module is used for acquiring a first Uniform Resource Identifier (URI) address;
the determining module is used for determining a first jump path corresponding to the first URI address in M preset jump paths based on the first URI address, wherein M is a positive integer greater than or equal to 1;
the control module is used for jumping from a current interface to a specified jumping interface corresponding to the first jumping path based on the first jumping path;
the determining module is specifically configured to determine at least two jump paths in the preset jump paths; and determining the first jump path corresponding to the ID in the at least two jump paths based on the query parameter path ID in the first URI address.
5. The apparatus of claim 4, further comprising:
and the processing module is used for editing a configuration file and configuring each jumping path in the configuration file, wherein each path comprises a path ID and/or a query parameter and/or a jumping interface.
6. The apparatus of claim 5, further comprising:
and the sending module is used for sending the configuration file to a network server so as to store the configuration file in the network server.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610794076.5A CN106161656B (en) | 2016-08-31 | 2016-08-31 | Interface jumping method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610794076.5A CN106161656B (en) | 2016-08-31 | 2016-08-31 | Interface jumping method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106161656A CN106161656A (en) | 2016-11-23 |
| CN106161656B true CN106161656B (en) | 2020-10-13 |
Family
ID=57344747
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610794076.5A Active CN106161656B (en) | 2016-08-31 | 2016-08-31 | Interface jumping method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106161656B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107707614B (en) * | 2017-08-16 | 2022-02-08 | 深圳市丰巢科技有限公司 | System hop protocol-based app routing implementation method, device and storage medium |
| CN109033302A (en) * | 2018-07-16 | 2018-12-18 | 深圳鼎盛电脑科技有限公司 | A kind of method for page jump, device, terminal and storage medium |
| CN109783742B (en) * | 2018-12-14 | 2023-08-22 | 平安科技(深圳)有限公司 | Page jump method and device for development assistance and computer equipment |
| CN111309416B (en) * | 2020-01-19 | 2022-06-14 | 北京字节跳动网络技术有限公司 | Information display method, device and equipment of application interface and readable medium |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101609399B (en) * | 2008-06-20 | 2013-07-03 | 鸿富锦精密工业(深圳)有限公司 | Intelligent website development system based on modeling and method thereof |
| JP6127599B2 (en) * | 2013-03-12 | 2017-05-17 | ブラザー工業株式会社 | Server apparatus, server apparatus program, and server apparatus control method |
| IN2013CH05503A (en) * | 2013-11-29 | 2015-06-12 | Kalyanaraman Raghava | |
| CN104156232B (en) * | 2014-07-18 | 2018-09-07 | 百度在线网络技术(北京)有限公司 | The non-linear method and apparatus redirected of the page is used under linear page structure |
| US20160142361A1 (en) * | 2014-11-15 | 2016-05-19 | Filmstrip, Inc. | Image with audio conversation system and method utilizing social media communications |
| US10997189B2 (en) * | 2015-03-23 | 2021-05-04 | Dropbox, Inc. | Processing conversation attachments in shared folder backed integrated workspaces |
| CN105512190B (en) * | 2015-11-26 | 2019-03-29 | 网易(杭州)网络有限公司 | Interface jump method and device |
-
2016
- 2016-08-31 CN CN201610794076.5A patent/CN106161656B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN106161656A (en) | 2016-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3069536B1 (en) | Location-based software updates | |
| CA2896719C (en) | Audio control process | |
| CN107729014B (en) | Page jump method and structure based on Android | |
| JP6093482B2 (en) | Method and apparatus for displaying search results on portable terminal | |
| EP2527999A1 (en) | Method and apparatus for splitting media files | |
| CN106161656B (en) | Interface jumping method and device | |
| CN111708557B (en) | Method, device and storage medium for updating configuration file | |
| CN112395253B (en) | Index file generation method, terminal device, electronic device and medium | |
| CN105446726A (en) | Method and device for generating webpage | |
| CN110795910B (en) | Text information processing method, device, server and storage medium | |
| KR102121679B1 (en) | Link request processing method and device | |
| CN103647756A (en) | Advertisement broadcasting method, server, client and system | |
| CN105095161B (en) | Method and device for displaying rich text information | |
| EP3188417B1 (en) | Information display method, terminal and server | |
| CN104267921A (en) | Page display control method and server | |
| CN103176800A (en) | Application program login method and device | |
| CN106445335A (en) | Application icon processing method, device and mobile terminal | |
| CN104699240B (en) | A kind of control method and electronic equipment | |
| CN103631621A (en) | Method and device for prompting information | |
| CN112840305B (en) | Font switching methods and related products | |
| WO2014146230A1 (en) | Method and apparatus for querying resources through search field | |
| EP2768206B1 (en) | Download management method and device based on android browser | |
| CN111367592B (en) | Information processing method and device | |
| CN106844396B (en) | Information processing method and electronic equipment | |
| CN112799863A (en) | Method and apparatus for outputting information |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20210914 Address after: 200083 room 4020, building A2, No. 121, Zhongshan North 1st Road, Hongkou District, Shanghai Patentee after: Hupu (Shanghai) Information Technology Co.,Ltd. Address before: Room 17815, No. 1191, dongdaming Road, Hongkou District, Shanghai 200080 Patentee before: HUPU (SHANGHAI) CULTURE COMMUNICATION Co.,Ltd. |