CN109766082B - Method and device for application program page jump - Google Patents

Method and device for application program page jump Download PDF

Info

Publication number
CN109766082B
CN109766082B CN201711097141.XA CN201711097141A CN109766082B CN 109766082 B CN109766082 B CN 109766082B CN 201711097141 A CN201711097141 A CN 201711097141A CN 109766082 B CN109766082 B CN 109766082B
Authority
CN
China
Prior art keywords
page
character string
module
string link
target activity
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
Application number
CN201711097141.XA
Other languages
Chinese (zh)
Other versions
CN109766082A (en
Inventor
杨迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201711097141.XA priority Critical patent/CN109766082B/en
Publication of CN109766082A publication Critical patent/CN109766082A/en
Application granted granted Critical
Publication of CN109766082B publication Critical patent/CN109766082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for application program page jump, and relates to the technical field of computers. One embodiment of the method comprises: acquiring a character string link of a target activity page; analyzing the character string link to obtain the identification of the target activity page; and jumping to the target activity page according to the identification. The technical means of realizing page jump according to the character string link in the jump is adopted, so that the coupling among all module programs is reduced, the modularized cooperation development is facilitated, the development efficiency is improved, the development cost is reduced, and the jump to different pages can be flexibly realized by configuring the character string link when the background operation is carried out.

Description

Method and device for application program page jump
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for application program page jump.
Background
Application page hopping refers to a page switching process in using an application. In the application programs with various pages, the user can quickly and accurately jump to each page or module, and the stable operation of the application program is ensured in the jumping process, so that the key for improving the user experience is realized.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
1. in the prior art, the coupling among all module programs is serious, and when A jumps to B, if B codes do not exist, the jump programs cannot be compiled, so that the modular cooperation development is not facilitated;
2. when the operation is carried out in the background, the operation cannot jump to different pages through flexible configuration;
3. in the prior art, each Activity page needs to be configured with a label, so that the maintenance difficulty and cost are increased;
4. in the jumping process, the problem that the target activity page cannot be normally displayed due to abnormal jumping is easy to occur, and even the program is crashed.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for application page jump, which adopt a technical means of implementing page jump according to a string link during jump, reduce coupling among module programs, facilitate modular collaborative development, further improve development efficiency and reduce development cost, and flexibly jump to different pages by configuring a string link when operating in a background.
To achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a method for application page jump, including: acquiring a character string link of a target activity page; analyzing the character string link to obtain the identification of the target activity page; and jumping to the target activity page according to the identification.
Optionally, the string link includes a tag of a transit page; the parsing the string link to obtain an identification of a target activity page includes: analyzing the character string link to obtain a label of a transit page; starting the transfer page according to the tag; and analyzing the character string link in the transfer page to obtain an identifier.
Optionally, the method further comprises: presetting a configuration file; the configuration file comprises an identification of the active page and page configuration information of the active page; generating a mapping table according to the configuration file; the identification of the active page in the mapping table corresponds to the page configuration information of the active page one by one; the jumping to the target activity page according to the identification comprises: acquiring page configuration information corresponding to the identifier from the mapping table, wherein the page configuration information comprises a class name of an active page; and jumping to the target activity page according to the class name.
Optionally, the jumping to the target activity page according to the identifier includes: and acquiring a check condition to judge whether the character string link meets the check condition, if so, jumping to the target activity page according to the identifier, and if not, stopping jumping.
Optionally, analyzing the character string link to obtain a parameter to be transmitted; the page configuration information comprises page parameters and types thereof; the verification condition comprises: the parameters to be transmitted comprise all page parameters; and aiming at each parameter to be transmitted, obtaining the type of the parameter to be transmitted according to the parameter to be transmitted, wherein the type is consistent with the type of the corresponding page parameter.
In order to achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an apparatus for application page jump, including: the system comprises an acquisition module, an analysis module and a skip module; the acquisition module is configured to: acquiring a character string link of a target activity page; the parsing module is configured to: analyzing the character string link to obtain the identification of the target activity page; the skip module is used for: and jumping to the target activity page according to the identification.
Optionally, the obtaining module is further configured to: analyzing the character string link to obtain a label of a transit page; the parsing module is configured to: starting the transfer page according to the tag; and analyzing the character string link in the transfer page to obtain an identifier.
Optionally, the apparatus further comprises an information configuration module; the information configuration module is used for: presetting a configuration file; the configuration file comprises an identification of the active page and page configuration information of the active page; generating a mapping table according to the configuration file; the identification of the active page in the mapping table corresponds to the page configuration information of the active page one by one; the skip module is used for: acquiring page configuration information corresponding to the identifier from the mapping table, wherein the page configuration information comprises a class name of an active page; and jumping to the target activity page according to the class name.
Optionally, the apparatus further comprises a verification module; the check module is used for: acquiring a checking condition; and judging whether the character string link meets a check condition, if so, jumping to the target activity page according to the identifier, and if not, stopping jumping.
Optionally, the parsing module is configured to: analyzing the character string link to obtain a parameter to be transmitted; the information configuration module is used for: acquiring page parameters and types thereof; the verification condition comprises: the parameters to be transmitted comprise all page parameters; and aiming at each parameter to be transmitted, obtaining the type of the parameter to be transmitted according to the parameter to be transmitted, wherein the type is consistent with the type of the corresponding page parameter.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided an electronic apparatus including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for application page jump provided by the embodiment of the invention.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided a computer readable medium having stored thereon a computer program, which when executed by a processor, implements the method for application page hopping provided by the present invention.
One embodiment of the above invention has the following advantages or benefits: the embodiment of the invention adopts the technical means of realizing page jump according to the character string link in the jump, reduces the coupling among all module programs, is beneficial to modularized cooperative development, further improves the development efficiency and reduces the development cost, and can flexibly jump to different pages by configuring the character string link when operating in the background.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a basic flow of a method for application page jumping according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating the configuration of application page information according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a preferred flow of a method for application page hopping according to an embodiment of the invention;
FIG. 4 is a diagram illustrating the basic components of an apparatus for application page jumping, according to an embodiment of the present invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 6 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a basic flow of a method for application page jumping according to an embodiment of the present invention. As shown in fig. 1, the method for application page jump of this embodiment may include:
step S101, acquiring a character string link of a target activity page;
step S102, analyzing the character string link to obtain the identification of the target activity page;
and step S103, jumping to the target activity page according to the identification.
The Activity page Activity is an application program component, can display some controls, and can also monitor and process user events to respond.
The embodiment of the invention adopts the technical means of realizing page jump according to the character string link in the jump, reduces the coupling among all module programs, is beneficial to modularized cooperative development, further improves the development efficiency and reduces the development cost, and can flexibly jump to different pages by configuring the character string link when operating in the background. The identifier is a unique identifier configured for the active page in the application program.
In the embodiment of the present invention, the string link may include a tag of a transit page; the parsing the string link to obtain the identification of the target activity page may include: analyzing the character string link to obtain a label of a transit page; starting the transit page according to the tag, wherein the transit page can be started by but not limited to an implicit jump method; and analyzing the character string link in the transfer page to obtain an identifier. The target application's transit page is configured with a tag that may indicate the identity of the target application to jump to. The transfer page is an active page configured with a tag and set in an application program. By the technical means of starting a transfer page and then jumping to a target active page from the transfer page, the coupling among all module programs can be reduced, and the success rate of jumping is improved. Only one label needs to be set in one application program, so that the maintenance cost can be reduced.
FIG. 2 is a flow chart illustrating the configuration of application page information according to an embodiment of the present invention; in this embodiment of the present invention, as shown in fig. 2, the method may further include: presetting a configuration file; the configuration file comprises an identification of the active page and page configuration information of the active page; generating a mapping table according to the configuration file; and the identification of the active page in the mapping table corresponds to the page configuration information of the active page one to one. The mapping table is generated by setting the configuration file, so that the page information can be conveniently sorted and searched.
In this embodiment of the present invention, the jumping to the target activity page according to the identifier may include: acquiring page configuration information corresponding to the identifier from the mapping table, wherein the page configuration information comprises a class name of an active page; and jumping to the target activity page according to the class name can be but is not limited to jumping to the target activity page through an explicit jumping method. The class name of each active page is uniquely corresponding to the active page, so that the target active page can be quickly and accurately jumped to through the class name.
In this embodiment of the present invention, the jumping to the target activity page according to the identifier may include: acquiring a checking condition; and judging whether the character string link meets a check condition, if so, jumping to the target activity page according to the identifier, and if not, stopping jumping. Whether the character string link meets the check condition or not is judged before the jump, so that the situations of program crash and the like caused by abnormal jump can be avoided.
In the embodiment of the invention, the character string link is analyzed to obtain the parameter to be transmitted; the page configuration information comprises page parameters and types thereof; the verification condition comprises: the parameters to be transmitted comprise all page parameters; aiming at each parameter to be transmitted, obtaining the type of the parameter to be transmitted according to the parameter to be transmitted, wherein the type is consistent with the type of the corresponding page parameter; the page parameters are divided into a necessary one and a non-necessary one, and if the page parameters are necessary, the parameters to be transmitted must include the page parameters. The embodiment of the invention can avoid the occurrence of program crash and other conditions caused by jump abnormity, and has strong parameter readability, simplicity and high efficiency.
In the embodiment of the invention, the configuration files are preset, and one configuration file can contain page configuration information of a plurality of active pages. The page configuration information of the activity page comprises information such as class name, identification host, page parameter queryParams, page activity description and the like of the activity page; the parameter queryParams includes the name of the page parameter, the type, the description of the page parameter, and the necessary or unnecessary information of the page parameter. According to the configuration file, a mapping table Map < key, value > is generated, the key is a character of host, the value represents page configuration information, and the page configuration information of the corresponding active page can be searched in the mapping table through the host.
Acquiring a character string link in a format of 'scheme:// hostbody ═ json'; the scheme is a protocol character string which is a label of a transfer page, the host is a page identifier, the body is a fixed format of a link, the json is a parameter to be transferred, and the json comprises the name of the parameter and the specific content of the parameter.
FIG. 3 is a schematic diagram of a preferred flow of a method for application page hopping according to an embodiment of the invention; the method comprises the steps of obtaining a character string link of a target active page, analyzing the character string link to obtain a label of a transfer page, and starting the transfer page by adopting an implicit jump method according to the label of the transfer page. In the transfer page, analyzing the character string link to obtain an identifier, and matching the obtained identifier in a mapping table Map to obtain page configuration information; if the page is not matched, popping up a similar prompt of 'not finding the corresponding page', and ending. If the matching is successful, acquiring page configuration information, judging whether the character string link meets a verification condition according to the acquired page configuration information, if so, acquiring a class name, and then jumping to a target activity page and transmitting parameters by an explicit jumping method; and if the verification condition is not met, popping up a similar prompt of 'the parameter is not met' and ending.
Taking the page jump flow of the e-commerce application as an example: skipping to the commodity detail page through a picture of a commodity, and executing the character string link, wherein the specific content of the character string link is yhd:// detailbody { "pmId": 7174728 "}.
From the label yhd, the transit page can be launched using an implicit jump method. In the transit page, the string link is parsed, resulting in a parameter identified as "detail" and having a pmId content of "7174728". The page configuration information is matched in the mapping table Map through detail, and the obtained page configuration information is as follows:
Figure BDA0001462462930000071
Figure BDA0001462462930000081
judging whether the character string link meets a verification condition, according to the obtained page configuration information, a page parameter pmId exists in a parameter to be transmitted in the character string link, the type of the parameter pmId is obtained according to the content ' 7174728 ' of the parameter to be transmitted, the type of the parameter pmId is consistent with the type required in the page configuration information, the verification condition is met, the class name ' com.
According to the embodiment of the invention, by adopting the technical means that during the skipping, according to the character string link, a transfer page is started first, and then the transfer page skips to the target active page, the coupling among all module programs is reduced, the skipping success rate is improved, the modularized cooperation development is facilitated, the development efficiency is improved, the development cost is reduced, and the skipping to different pages can be flexibly realized by configuring the character string link when the background operation is carried out. Only one tag needs to be configured in one application program, so that the maintenance cost can be reduced. The problems that the page cannot be normally displayed and the jump is abnormal and further the program is crashed due to parameter mismatching reasons such as incorrect parameter types, lack of necessary parameters and the like can be solved by performing parameter verification before the jump, and the readability of the page parameters is strong, and the method is simple and efficient.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an apparatus 400 for application page jump, including: an acquisition module 401, an analysis module 402 and a skip module 403; the obtaining module 401 is configured to: acquiring a character string link of a target activity page; the parsing module 402 is configured to: analyzing the character string link to obtain the identification of the target activity page; the skip module 403 is configured to: and jumping to the target activity page according to the identification.
The embodiment of the invention adopts the technical means of realizing page jump according to the character string link in the jump, reduces the coupling among all module programs, is beneficial to modularized cooperative development, further improves the development efficiency and reduces the development cost, and can flexibly jump to different pages by configuring the character string link when operating in the background.
In this embodiment of the present invention, the obtaining module 401 is further configured to: analyzing the character string link to obtain a label of a transit page; the parsing module 402 is configured to: starting the transfer page according to the tag; and analyzing the character string link in the transfer page to obtain an identifier. By the technical means of starting a transfer page and then jumping to a target active page from the transfer page, the coupling among all module programs can be reduced, and the success rate of jumping is improved. Only one tag needs to be configured in one application program, so that the maintenance cost can be reduced.
In the embodiment of the invention, the device also comprises an information configuration module; the information configuration module is used for: presetting a configuration file; the configuration file comprises an identification of the active page and page configuration information of the active page; generating a mapping table according to the configuration file; and the identification of the active page in the mapping table corresponds to the page configuration information of the active page one to one. The mapping table is generated by setting the configuration file, so that the page information can be conveniently sorted and searched.
The skip module 403 is configured to: acquiring page configuration information corresponding to the identifier from the mapping table, wherein the page configuration information comprises a class name of an active page; and jumping to the target activity page according to the class name. The class name of each page is uniquely corresponding to the page, so that the target active page can be quickly and accurately jumped to through the class name of the page.
In the embodiment of the invention, the device also comprises a checking module; the check module is used for: acquiring a checking condition; and judging whether the character string link meets a check condition, if so, jumping to the target activity page according to the identifier, and if not, stopping jumping. Whether the character string link meets the check condition or not is judged before the jump, so that the situations of program crash and the like caused by abnormal jump can be avoided.
In this embodiment of the present invention, the parsing module 402 is configured to: analyzing the character string link to obtain a parameter to be transmitted; the information configuration module is used for: acquiring page parameters and types thereof; the verification condition comprises: the parameters to be transmitted comprise all page parameters; and aiming at each parameter to be transmitted, obtaining the type of the parameter to be transmitted according to the parameter to be transmitted, wherein the type is consistent with the type of the corresponding page parameter. The embodiment of the invention can avoid the occurrence of program crash and other conditions caused by jump abnormity, and has strong parameter readability, simplicity and high efficiency.
Fig. 5 illustrates an exemplary system architecture 500 of a method of application page jumping or an apparatus of application page jumping, to which embodiments of the present invention may be applied.
As shown in fig. 5, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 serves to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 501, 502, 503 to interact with a server 505 over a network 504 to receive or send messages or the like. The terminal devices 501, 502, 503 may have various communication client applications installed thereon, such as a shopping application, a web browser application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 501, 502, 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 505 may be a server that provides various services, such as a background management server that supports shopping websites browsed by users using the terminal devices 501, 502, 503. The background management server can analyze and process the received data such as the product information inquiry request and feed back the processing result to the terminal equipment.
It should be noted that the method for application page jump provided by the embodiment of the present invention is generally executed by the server 505, and accordingly, the apparatus for application page jump is generally disposed in the server 505.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The invention also provides an electronic device and a computer readable medium according to the embodiment of the invention.
The electronic device of the present invention includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the at least one processor to cause the at least one processor to execute the method for application page jump provided by the invention.
The computer readable medium of the present invention has stored thereon a computer program which, when executed by a processor, implements the method for application page hopping provided by the present invention.
Referring now to FIG. 6, a block diagram of a computer system 600 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the system 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor, comprising: the device comprises an acquisition module, an analysis module and a skip module. The names of these modules do not constitute a limitation to the module itself in some cases, and for example, the acquiring module may also be described as a "module that acquires a string link of a target activity page".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: step S101, acquiring a character string link of a target activity page; step S102, analyzing the character string link to obtain the identification of the target activity page; and step S103, jumping to the target activity page according to the identification.
According to the method for the application page jump, disclosed by the embodiment of the invention, the technical means of realizing the page jump according to the character string link in the jump is adopted, so that the coupling among all module programs is reduced, the modularized cooperative development is facilitated, the development efficiency is improved, the development cost is reduced, and the page jump can be flexibly carried out to different pages by configuring the character string link when the background operation is carried out.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for application page jump, comprising:
acquiring a character string link of a target activity page;
analyzing the character string link to obtain the identification of the target activity page;
skipping to the target activity page according to the identification;
wherein the string link comprises a tag of a transit page;
the parsing the string link to obtain an identification of a target activity page includes:
analyzing the character string link to obtain a label of a transit page;
starting the transfer page according to the tag;
and analyzing the character string link in the transfer page to obtain an identifier.
2. The method of claim 1, further comprising:
presetting a configuration file; the configuration file comprises an identification of the active page and page configuration information of the active page;
generating a mapping table according to the configuration file; the identification of the active page in the mapping table corresponds to the page configuration information of the active page one by one;
the jumping to the target activity page according to the identification comprises:
acquiring page configuration information corresponding to the identifier from the mapping table, wherein the page configuration information comprises a class name of an active page;
and jumping to the target activity page according to the class name.
3. The method of claim 2, wherein the jumping to the target active page according to the identification comprises:
acquiring a checking condition;
and judging whether the character string link meets a check condition, if so, jumping to the target activity page according to the identifier, and if not, stopping jumping.
4. The method of claim 3, wherein the string link is parsed to obtain parameters to be communicated;
the page configuration information comprises page parameters and types thereof;
the verification condition comprises:
the parameters to be transmitted comprise all page parameters;
and aiming at each parameter to be transmitted, obtaining the type of the parameter to be transmitted according to the parameter to be transmitted, wherein the type is consistent with the type of the corresponding page parameter.
5. An apparatus for application page jumping, comprising: the system comprises an acquisition module, an analysis module and a skip module;
the acquisition module is configured to: acquiring a character string link of a target activity page;
the parsing module is configured to: analyzing the character string link to obtain the identification of the target activity page;
the skip module is used for: skipping to the target activity page according to the identification;
wherein the obtaining module is further configured to: analyzing the character string link to obtain a label of a transit page;
the parsing module is configured to:
starting the transfer page according to the tag;
and analyzing the character string link in the transfer page to obtain an identifier.
6. The apparatus of claim 5, further comprising an information configuration module; the information configuration module is used for:
presetting a configuration file; the configuration file comprises an identification of the active page and page configuration information of the active page;
generating a mapping table according to the configuration file; the identification of the active page in the mapping table corresponds to the page configuration information of the active page one by one;
the skip module is used for:
acquiring page configuration information corresponding to the identifier from the mapping table, wherein the page configuration information comprises a class name of an active page;
and jumping to the target activity page according to the class name.
7. The apparatus of claim 6, further comprising a verification module; the check module is used for:
acquiring a checking condition;
and judging whether the character string link meets a check condition, if so, jumping to the target activity page according to the identifier, and if not, stopping jumping.
8. The apparatus of claim 7, wherein the parsing module is configured to: analyzing the character string link to obtain a parameter to be transmitted;
the information configuration module is used for: acquiring page parameters and types thereof;
the verification condition comprises:
the parameters to be transmitted comprise all page parameters;
and aiming at each parameter to be transmitted, obtaining the type of the parameter to be transmitted according to the parameter to be transmitted, wherein the type is consistent with the type of the corresponding page parameter.
9. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor for storing one or more programs;
the one or more programs, when executed by the at least one processor, cause the one or more programs to implement the method of any of claims 1-4.
10. A computer-readable 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-4.
CN201711097141.XA 2017-11-09 2017-11-09 Method and device for application program page jump Active CN109766082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711097141.XA CN109766082B (en) 2017-11-09 2017-11-09 Method and device for application program page jump

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711097141.XA CN109766082B (en) 2017-11-09 2017-11-09 Method and device for application program page jump

Publications (2)

Publication Number Publication Date
CN109766082A CN109766082A (en) 2019-05-17
CN109766082B true CN109766082B (en) 2022-04-12

Family

ID=66449905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711097141.XA Active CN109766082B (en) 2017-11-09 2017-11-09 Method and device for application program page jump

Country Status (1)

Country Link
CN (1) CN109766082B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004134B (en) * 2019-05-27 2022-12-09 腾讯科技(深圳)有限公司 Multimedia data display method, device, equipment and storage medium
CN112416951B (en) * 2019-08-21 2024-03-01 北京京东乾石科技有限公司 Data transfer method and device and computer storage medium
CN110609694A (en) * 2019-08-30 2019-12-24 深圳壹账通智能科技有限公司 BUG repairing method and device, terminal equipment and storage medium
CN110781432A (en) * 2019-10-08 2020-02-11 北京字节跳动网络技术有限公司 Page jump method and device, electronic equipment and computer readable storage medium
CN110717119A (en) * 2019-10-10 2020-01-21 北京字节跳动网络技术有限公司 Page jump method and device, electronic equipment and storage medium
CN113449213A (en) * 2020-03-27 2021-09-28 北京沃东天骏信息技术有限公司 Page jump method and device
CN111488151B (en) * 2020-04-17 2023-09-26 上海数禾信息科技有限公司 Page interaction method and device among Android modules
CN111538530A (en) * 2020-04-29 2020-08-14 中国银行股份有限公司 Page jump method and system, storage medium and electronic equipment
CN111625738B (en) * 2020-05-27 2022-03-15 北京百度网讯科技有限公司 APP target page calling method, device, equipment and storage medium
CN112463206A (en) * 2020-11-25 2021-03-09 上海哔哩哔哩科技有限公司 Configuration information processing method and device in configuration center
CN114942789A (en) * 2022-05-07 2022-08-26 北京金堤科技有限公司 Method and device for calling service application, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661390A (en) * 2009-09-16 2010-03-03 杭州华三通信技术有限公司 Linkage display and jump control method and device
CN102123168A (en) * 2011-01-14 2011-07-13 广州市动景计算机科技有限公司 Web page pre-reading and integration method and system based on relay server
CN104125258A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Page Jump method, terminal, server and system
CN104462183A (en) * 2014-10-10 2015-03-25 北京国双科技有限公司 Webpage skipping processing method and device
CN105302811A (en) * 2014-06-13 2016-02-03 腾讯科技(深圳)有限公司 Browser page skipping method and apparatus
CN105354034A (en) * 2015-11-17 2016-02-24 贵阳朗玛信息技术股份有限公司 Page jump method and device for application program
CN105975462A (en) * 2015-09-11 2016-09-28 乐视致新电子科技(天津)有限公司 Method and device for displaying web page and intelligent television system
CN106469044A (en) * 2015-08-14 2017-03-01 腾讯科技(深圳)有限公司 The method and apparatus realizing page jump

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140325089A1 (en) * 2013-04-28 2014-10-30 Tencent Technology (Shenzhen) Company Limited Method, terminal, server and system for page jump

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661390A (en) * 2009-09-16 2010-03-03 杭州华三通信技术有限公司 Linkage display and jump control method and device
CN102123168A (en) * 2011-01-14 2011-07-13 广州市动景计算机科技有限公司 Web page pre-reading and integration method and system based on relay server
CN104125258A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Page Jump method, terminal, server and system
CN105302811A (en) * 2014-06-13 2016-02-03 腾讯科技(深圳)有限公司 Browser page skipping method and apparatus
CN104462183A (en) * 2014-10-10 2015-03-25 北京国双科技有限公司 Webpage skipping processing method and device
CN106469044A (en) * 2015-08-14 2017-03-01 腾讯科技(深圳)有限公司 The method and apparatus realizing page jump
CN105975462A (en) * 2015-09-11 2016-09-28 乐视致新电子科技(天津)有限公司 Method and device for displaying web page and intelligent television system
CN105354034A (en) * 2015-11-17 2016-02-24 贵阳朗玛信息技术股份有限公司 Page jump method and device for application program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Java Web中的页面跳转;冯天文,权江;《湖北第二师范学院学报》;20120831;第29卷(第8期);全文 *

Also Published As

Publication number Publication date
CN109766082A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN109766082B (en) Method and device for application program page jump
US10635735B2 (en) Method and apparatus for displaying information
US11237844B2 (en) Method and apparatus for loading kernel module
CN107844324B (en) Client page jump processing method and device
US11563674B2 (en) Content based routing method and apparatus
US10915384B2 (en) Information processing method and device
US20190166216A1 (en) Information pushing method and device
CN109359194B (en) Method and apparatus for predicting information categories
CN110688096A (en) Method, device, medium and electronic equipment for constructing application program containing plug-in
EP4095686A2 (en) Method for switching skin of mini-program page, and electronic device
CN113761428A (en) Page rendering method, device and system, storage medium and electronic equipment
CN113568626B (en) Dynamic packaging and application package opening method and device and electronic equipment
CN112131092A (en) Page debugging method and device
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN109901934B (en) Method and device for generating interface help document
CN110110032B (en) Method and device for updating index file
CN114417318A (en) Third-party page jumping method and device and electronic equipment
CN113312900A (en) Data verification method and device
CN110858240A (en) Front-end module loading method and device
CN111338642A (en) Method, device, terminal and storage medium for determining application downloading path
CN111737372A (en) Map data generation method and device
CN110597525A (en) Method and apparatus for installing applications
CN107729482B (en) Method and device for collecting logs
CN112860268B (en) Method and device for hot deployment of templates
CN114253520B (en) Interface code generation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant