CN107305553B - Method and system for dynamically jumping Hybrid page based on Hybrid App - Google Patents

Method and system for dynamically jumping Hybrid page based on Hybrid App Download PDF

Info

Publication number
CN107305553B
CN107305553B CN201610246301.1A CN201610246301A CN107305553B CN 107305553 B CN107305553 B CN 107305553B CN 201610246301 A CN201610246301 A CN 201610246301A CN 107305553 B CN107305553 B CN 107305553B
Authority
CN
China
Prior art keywords
hybrid
page
app
configuration file
hybrid module
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
CN201610246301.1A
Other languages
Chinese (zh)
Other versions
CN107305553A (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 CN201610246301.1A priority Critical patent/CN107305553B/en
Publication of CN107305553A publication Critical patent/CN107305553A/en
Application granted granted Critical
Publication of CN107305553B publication Critical patent/CN107305553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/954Navigation, e.g. using categorised browsing

Abstract

The invention provides a method and a system for dynamically jumping a Hybrid page based on a Hybrid App, wherein the method comprises the following steps: downloading or updating a Hybrid module of the Hybrid App to the local Hybrid App; creating or updating a jump configuration file in the Hybrid App, wherein the jump configuration file is used for recording page attributes of all pages in the Hybrid App and setting page attributes of jump pages; when the page in the Hybrid App is clicked, the current page jumps to a preset page according to the jump configuration file; if the jumped preset page is a native page, loading and displaying the preset page; and if the preset page is the Hybrid page, loading and displaying the preset page according to the latest version of the Hybrid module. The invention not only downloads the Hybrid module during starting, but also can dynamically select to jump to the native page or the Hybrid page. If the Hybrid page is selected, the page can be directly loaded when the page is switched, the page loading speed is high, and the user experience is good.

Description

Method and system for dynamically jumping Hybrid page based on Hybrid App
Technical Field
The invention relates to the technical field of computer software, in particular to a method and a system for dynamically jumping a Hybrid page based on a Hybrid App.
Background
Some pages in the mobile client are replaced or updated according to different business needs, for example, for an active page of an online shopping platform, a new active page (total replacement of a mobile client interface) needs to be issued according to different festivals, or sometimes the overall layout and functions of a certain page need to be dynamically modified.
If the switched page is developed through the native code, the native page cannot be timely replaced through the server, but the native page may not be used for switching the webpage because the native page does not make the logic of the jump webpage. If the page to be switched is an Html5 (hereinafter referred to as H5) page, although the H5 page can be dynamically modified at the remote server, many native APIs (e.g., gyroscope, accelerometer, phone, contact list interface) are not available using this method.
The Hybrid App fuses a native page and an H5 page, but loading the Hybrid webpage embedded in the WebView requires loading the page of a remote server, so that the loading time is long, and a blank page exists when the page is loaded because the page is not completely loaded, which results in poor user experience.
Disclosure of Invention
In view of this, the invention provides a method and a system for dynamically jumping a Hybrid page based on a Hybrid App, so as to achieve the purpose of quickly loading, displaying and updating a webpage and simultaneously meet the compatibility and openness of the Hybrid App.
The technical scheme of the invention is to provide a method for dynamically jumping a Hybrid page based on a Hybrid App, which comprises the following steps: downloading or updating a Hybrid module of the Hybrid App to the local Hybrid App; creating or updating a jump configuration file in the Hybrid App, wherein the jump configuration file is used for recording page attributes of all pages in the Hybrid App and setting page attributes of jump pages; when the page in the Hybrid App is clicked, the current page jumps to a preset page according to the jump configuration file; if the jumped preset page is a native page, loading and displaying the preset page; and if the preset page is the Hybrid page, loading and displaying the preset page according to the latest version of the Hybrid module.
Optionally, the updating the Hybrid module and the jump profile operation includes: confirming that the versions of the Hybrid module and the jump configuration file in the local or remote server are the latest versions; if the jump configuration file and the Hybrid module in the remote server are the latest versions, downloading the jump configuration file and the Hybrid module in the remote server to a local private directory of the Hybrid App; if the local jump configuration file and the Hybrid module are the latest version, the local current version of the jump configuration file and the Hybrid module are continuously used.
Optionally, before the operation of updating the Hybrid module, the method further includes: and forming a Hashmap list by the Hybrid module of the local latest version and the corresponding version number, and sending the Hashmap list to the remote server through a server interface request.
Optionally, updating the Hybrid module comprises: if the Hybrid module in the remote server is the latest version, generating a compressed file by the Hybrid module of the latest version in the remote server through an encryption algorithm, and sending the compressed file to a private directory of the local Hybrid App, wherein the Hybrid App performs coverage updating on the local Hybrid module after decompression and decryption.
Optionally, the method further comprises: and loading and displaying the preset page according to the local latest version of the Hybrid module, and calling a native application program interface of the system by using the Hybrid interface so as to be compatible with the self-contained function of the native system.
The invention also provides a system for jumping the Hybrid page based on the Hybrid App, which comprises:
the Hybrid module configuration device is used for downloading or updating a Hybrid module of the Hybrid App to the local Hybrid App; the page attribute configuration device is used for creating or updating a jump configuration file in the Hybrid App, wherein the jump configuration file comprises page attributes of all pages recorded in the Hybrid App and page attributes of jump pages; the page loading device is used for jumping the current page to a preset page according to the jumping configuration file when the page in the Hybrid App is clicked; if the jumped preset page is a native page, loading and displaying the preset page; and if the preset page is the Hybrid page, loading and displaying the preset page according to the latest version of the Hybrid module.
Optionally, the page attribute configuration device and the Hybrid module configuration device are configured to: confirming that the versions of the jump configuration file and the Hybrid module in a local or remote server are the latest versions; if the jump configuration file and the Hybrid module in the remote server are the latest versions, downloading the jump configuration file and the Hybrid module in the remote server to a local private directory of the Hybrid App; if the local jump configuration file and the Hybrid module are the latest version, the local current version of the jump configuration file and the Hybrid module are continuously used.
Optionally, the Hybrid module configuration device is further configured to: and forming a Hashmap list by the Hybrid module of the local latest version and the corresponding version number, and sending the Hashmap list to the remote server through a server interface request.
Optionally, the Hybrid module configuring means is configured to: if the Hybrid module in the remote server is the latest version, generating a compressed file by the Hybrid module of the latest version in the remote server through an encryption algorithm, and sending the compressed file to a private directory of the local Hybrid App, wherein the Hybrid App performs coverage updating on the local Hybrid module after decompression and decryption.
Optionally, the system further comprises: and the Hybrid interface module is used for calling the native application program interface after the Hybrid page is loaded so as to be compatible with the application program function of the native system.
The invention also relates to a terminal device for dynamically jumping the Hybrid page based on the Hybrid App, which comprises: a memory for storing instructions and a processor for executing the instructions to: downloading or updating a Hybrid module of the Hybrid App to the local Hybrid App; creating or updating a jump configuration file in the Hybrid App, wherein the jump configuration file is used for recording page attributes of all pages in the Hybrid App and setting page attributes of jump pages; when the page in the Hybrid App is clicked, the current page jumps to a preset page according to the jump configuration file; if the jumped preset page is a native page, loading and displaying the preset page; and if the preset page is the Hybrid page, loading and displaying the preset page according to the latest version of the Hybrid module.
Optionally, the processor is further configured to: confirming that the versions of the Hybrid module and the jump configuration file in the local or remote server are the latest versions; if the jump configuration file and the Hybrid module in the remote server are the latest versions, downloading the jump configuration file and the Hybrid module in the remote server to a local private directory of the Hybrid App; if the local jump configuration file and the Hybrid module are the latest version, the local current version of the jump configuration file and the Hybrid module are continuously used.
Optionally, the processor is further configured to: and forming a Hashmap list by the Hybrid module of the local latest version and the corresponding version number, and sending the Hashmap list to the remote server through a server interface request.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided an electronic apparatus.
An electronic device of an embodiment of the present invention includes: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by one or more processors, the one or more processors realize the method for jumping the Hybrid page in the Hybrid App.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a computer-readable medium.
The computer readable medium of the embodiment of the present invention stores a computer program thereon, and when the program is executed by a processor, the method for jumping a Hybrid page based on a Hybrid App of the embodiment of the present invention is implemented.
By the method and the system for jumping the Hybrid page based on the Hybrid App, provided by the invention, the Hybrid module is downloaded when being started, and the native page or the Hybrid page can be dynamically selected to jump. If the Hybrid page is selected, the Hybrid page is locally not a server when the webpage is switched, and the Hybrid page can be directly loaded, so that the webpage loading speed is high, the user experience is good, and the Hybrid App can customize a native interface, so that the compatibility and the openness are better.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. In the drawings:
FIG. 1 is a flowchart of a method for dynamically jumping to a Hybrid page based on a Hybrid App according to the present invention;
FIG. 2 is a system structure diagram of dynamic jump to a Hybrid page in the Hybrid App according to the present invention;
fig. 3 is a configuration diagram of a terminal device based on a dynamic jump Hybrid page in the Hybrid App according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
In this context, it is to be understood that, in the terms referred to:
the Hybrid module is a module for loading the Html5 page by using the Web and interacting with the native API of the native client in a bridging manner.
As shown in fig. 1, a flowchart of a method for dynamically jumping a Hybrid page based on a Hybrid App provided by the present invention is shown, where the method includes:
step S101: downloading or updating a Hybrid module of the Hybrid App to the local Hybrid App;
step S102: creating or updating a jump configuration file in the Hybrid App, wherein the jump configuration file is used for recording page attributes of all pages in the Hybrid App and setting page attributes of jump pages;
step S103: when the page in the Hybrid App is clicked, the current page jumps to a preset page according to the jump configuration file; if the jumped preset page is a native page, loading and displaying the preset page; and if the preset page is the Hybrid page, loading and displaying the preset page according to the latest version of the Hybrid module.
Optionally, the updating the Hybrid module and the jump profile operation includes: confirming that the versions of the Hybrid module and the jump configuration file in the local or remote server are the latest versions; if the jump configuration file and the Hybrid module in the remote server are the latest versions, downloading the jump configuration file and the Hybrid module in the remote server to a local private directory of the Hybrid App; if the local jump configuration file and the Hybrid module are the latest version, the local current version of the jump configuration file and the Hybrid module are continuously used.
Optionally, before the operation of updating the Hybrid module, the method further includes: and forming a Hashmap list by the Hybrid module of the local latest version and the corresponding version number, and sending the Hashmap list to the remote server through a server interface request.
Optionally, updating the Hybrid module comprises: if the Hybrid module in the remote server is the latest version, generating a compressed file by the Hybrid module of the latest version in the remote server through an encryption algorithm, and sending the compressed file to a private directory of the local Hybrid App, wherein the Hybrid App performs coverage updating on the local Hybrid module after decompression and decryption.
Optionally, the method further comprises: and loading and displaying the preset page according to the local latest version of the Hybrid module, and calling a native application program interface of the system by using the Hybrid interface so as to be compatible with the self-contained function of the native system.
The present invention will be described in detail with reference to a specific embodiment, but it should be noted that the specific embodiment is only for better describing the present invention and should not be construed as limiting the present invention.
When a Hybrid App is launched on a mobile device, all Hybrid modules of the Hybrid App are downloaded or updated.
If the remote server stores the latest version of the Hybrid module, the latest version of the Hybrid module is downloaded to the local.
Specifically, the process of updating the Hybrid module is as follows:
when the App is started, traversing all the Hybrid module directories in the local Hybrid App to confirm the Hybrid module of the local latest version, converging the Hybrid module of the local current latest version and the corresponding version number into a Hashmap list after establishing connection with a remote server, and sending the Hashmap list to the remote server through a server interface request. Comparing the Hybrid module of the latest version of the current Hybrid App stored in the remote server with the uploaded Hybrid module of the local current latest version to confirm the Hybrid module of the higher version; if the local current Hybrid module is the same as the version of the Hybrid module in the remote server, the local current Hybrid module is known to be the latest version, and the Hybrid module of the local current version is still used; if the Hybrid module in the remote server is the latest version of the Hybrid module, generating a compressed file (zip) by RSA or other encryption algorithms from the latest version of the Hybrid module stored in the remote server, sending the zip to the local client, and then decompressing, decrypting and installing the zip.
After downloading or updating all the Hybrid modules of the Hybrid App, a jump profile of the Hybrid App in the mobile operating system is created or updated. The jump configuration file is an xml file, and is created and stored in a self-contained file resource directory in the operating system. For example, for the Android system, a configured xml file is added to an assets directory, and the jump configuration file records page attributes of all pages in the currently running Hybrid App and sets page attributes for dynamically selecting a jump to page, that is, records whether each page of the Hybrid App is a native page or a Hybrid page and sets whether a page to which the dynamic jump is made is a native page or a Hybrid page. It should be noted that the jump configuration file may be not only self-contained, but also issued by downloading and upgrading the application program.
Specifically, the process of updating the jump profile is as follows:
when the Hybrid App is started, the network connection is carried out with a remote server corresponding to the Hybrid App through a network, and the jump configuration file of the continuously updated version is stored in the remote server, so that the jump configuration file of the current version in the local Hybrid App and the jump configuration file stored in the remote server can be verified. If the jump configuration file with the version higher than the current version is stored in the remote server, downloading the jump configuration file of the Hybrid App with the latest version, and then covering the current local jump configuration file; if the local skip configuration file is the same as the version of the skip configuration file stored by the remote server, the skip configuration file of the local current version is continuously used. Since the updating process is carried out in the background, the normal loading process of the application program is not influenced.
When clicking the page of the Hybrid App, jumping from the current webpage to a preset page (hereinafter referred to as a preset page) of the jump configuration file according to the updated jump configuration file; if the page jumps to the native page, data are transmitted and the page jumps are carried out according to the logic of the native code, and then the preset page is loaded and displayed; and if the mobile operating system jumps to the Hybrid page, loading and displaying the preset page according to the updated Hybrid module, and calling a native application program interface of the mobile operating system. Particularly, the Hybrid interface module is implemented by using JS to call a native application program interface (hereinafter referred to as a native API), and a browser engine of the system provides such an interface, so as to provide a function similar to the native API for the Hybrid, thereby achieving a better experience effect than that of an H5 page. Since the Hybrid interface module can be realized by those skilled in the art, it is not described herein in detail.
As shown in fig. 2, the invention further provides a system structure diagram based on dynamic jump of the Hybrid page in the Hybrid App. The system comprises:
a Hybrid module configuration device 21, configured to download or update a Hybrid module of a Hybrid App to the local Hybrid App; a page attribute configuration device 22, configured to create or update a jump configuration file in the Hybrid App, where the jump configuration file includes page attributes of all pages recorded in the Hybrid App and page attributes of a set jump page; the page loading device 23 is used for jumping the current page to a preset page according to the jumping configuration file when the page in the Hybrid App is clicked; if the jumped preset page is a native page, loading and displaying the preset page; and if the preset page is the Hybrid page, loading and displaying the preset page according to the latest version of the Hybrid module.
Optionally, the page attribute configuration device 22 and the Hybrid module configuration device 21 are configured to: confirming that the versions of the jump configuration file and the Hybrid module in a local or remote server are the latest versions; if the jump configuration file and the Hybrid module in the remote server are the latest versions, downloading the jump configuration file and the Hybrid module in the remote server to a local private directory of the Hybrid App; if the local jump configuration file and the Hybrid module are the latest version, the local current version of the jump configuration file and the Hybrid module are continuously used.
Optionally, the Hybrid module configuring device 21 is further configured to: and forming a Hashmap list by the Hybrid module of the local latest version and the corresponding version number, and sending the Hashmap list to the remote server through a server interface request.
Optionally, the Hybrid module configuring device 21 is configured to: if the Hybrid module in the remote server is the latest version, generating a compressed file by the Hybrid module of the latest version in the remote server through an encryption algorithm, and sending the compressed file to a private directory of the local Hybrid App, wherein the Hybrid App performs coverage updating on the local Hybrid module after decompression and decryption.
Optionally, the system further comprises: the Hybrid interface module 24 is configured to, after loading the Hybrid page, call a native application program interface to be compatible with the application program function of the native system.
The system for jumping the Hybrid page in the Hybrid App is a device corresponding to the method, and therefore is not described herein.
Fig. 3 is a configuration diagram of a terminal device based on a dynamic jump Hybrid page in the Hybrid App according to the present invention.
The invention also relates to a terminal device 3 for dynamically jumping the Hybrid page based on the Hybrid App, wherein the terminal device 3 comprises: a memory 31 and a processor 32, wherein the memory 31 is configured to store instructions, and the processor 32 is configured to execute the instructions to: downloading or updating a Hybrid module of the Hybrid App to the local Hybrid App; creating or updating a jump configuration file in the Hybrid App, wherein the jump configuration file is used for recording page attributes of all pages in the Hybrid App and setting page attributes of jump pages; when the page in the Hybrid App is clicked, the current page jumps to a preset page according to the jump configuration file; if the jumped preset page is a native page, loading and displaying the preset page; and if the preset page is the Hybrid page, loading and displaying the preset page according to the latest version of the Hybrid module.
Optionally, the processor 32 is further configured to: confirming that the versions of the Hybrid module and the jump configuration file in the local or remote server are the latest versions; if the jump configuration file and the Hybrid module in the remote server are the latest versions, downloading the jump configuration file and the Hybrid module in the remote server to a local private directory of the Hybrid App; if the local jump configuration file and the Hybrid module are the latest version, the local current version of the jump configuration file and the Hybrid module are continuously used.
Optionally, the processor 32 is further configured to: and forming a Hashmap list by the Hybrid module of the local latest version and the corresponding version number, and sending the Hashmap list to the remote server through a server interface request.
According to the system for jumping the Hybrid page in the Hybrid App, provided by the invention, a certain Hybrid module is clicked each time, the native page or the Hybrid page is jumped according to the configuration file, if the jumped Hybrid page is the Hybrid page, the latest version of the Hybrid module is found according to the specific name of the Hybrid module, and the Hybrid module is loaded according to the latest local Hybrid module page. Thus, the local file is loaded, the user experience is faster than that of loading the remote webpage, and the native API can be called.
By the method and the system for jumping the Hybrid page based on the Hybrid App, provided by the invention, the Hybrid page is downloaded (with a small file) during starting, and the native page or the Hybrid page can be dynamically selected to jump. If the Hybrid page is selected, the Hybrid module can be directly loaded locally instead of the server when the webpage is switched, so that the webpage loading speed is high, the user experience is good, and the Hybrid App can customize the native interface, so that the compatibility and the openness are better.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (15)

1. A method for dynamically jumping a Hybrid page based on a Hybrid App is characterized by comprising the following steps:
downloading or updating a Hybrid module of the Hybrid App to the local Hybrid App;
creating or updating a jump configuration file in the Hybrid App, wherein the jump configuration file is used for recording page attributes of all pages in the Hybrid App and setting page attributes of jump pages;
when a page in the Hybrid App is clicked, the current page jumps to a preset page according to the jump configuration file; if the jumped preset page is a native page, loading and displaying the preset page; and if the preset page is the Hybrid page, loading and displaying the preset page according to the latest version of the Hybrid module.
2. The method of claim 1, wherein updating the Hybrid module and the jump profile operation comprises:
confirming that versions of the Hybrid module and the jump configuration file in a local or remote server are latest versions;
if the skip configuration file and the Hybrid module in the remote server are the latest versions, downloading the skip configuration file and the Hybrid module in the remote server to a private directory of the Hybrid App locally;
if the local jump configuration file and the Hybrid module are the latest version, the local current version of the jump configuration file and the Hybrid module are continuously used.
3. The method of claim 2, wherein before updating the operation of the Hybrid module, further comprising:
and forming a Hashmap list by the Hybrid module of the local latest version and the corresponding version number, and sending the Hashmap list to the remote server through a server interface request.
4. The method of claim 2, wherein updating the Hybrid module comprises:
if the Hybrid module in the remote server is the latest version, generating a compressed file by the Hybrid module of the latest version in the remote server through an encryption algorithm, and sending the compressed file to a private directory of the local Hybrid App, wherein the Hybrid App performs coverage updating on the local Hybrid module after decompression and decryption.
5. The method of claim 1, further comprising:
and loading and displaying the preset page according to the Hybrid module of the local latest version, and calling a native application program interface of the system by using the Hybrid interface so as to be compatible with the self-contained function of the native system.
6. A system for jumping a Hybrid page based on a Hybrid App is characterized by comprising:
the Hybrid module configuration device is used for downloading or updating a Hybrid module of the Hybrid App to the local Hybrid App;
the page attribute configuration device is used for creating or updating a jump configuration file in the Hybrid App, wherein the jump configuration file comprises page attributes of all pages recorded in the Hybrid App and page attributes of jump pages;
the page loading device is used for jumping the current page to a preset page according to the jumping configuration file when the page in the Hybrid App is clicked; if the jumped preset page is a native page, loading and displaying the preset page; and if the preset page is the Hybrid page, loading and displaying the preset page according to the latest version of the Hybrid module.
7. The system according to claim 6, wherein said page attribute configuration means and said Hybrid module configuration means are configured to:
confirming that the versions of the jump configuration file and the Hybrid module in a local or remote server are the latest versions;
if the skip configuration file and the Hybrid module in the remote server are the latest versions, downloading the skip configuration file and the Hybrid module in the remote server to a private directory of the Hybrid App locally;
if the local jump configuration file and the Hybrid module are the latest version, the local current version of the jump configuration file and the Hybrid module are continuously used.
8. The system according to claim 7, wherein the Hybrid module configuring means is further configured to:
and forming a Hashmap list by the Hybrid module of the local latest version and the corresponding version number, and sending the Hashmap list to the remote server through a server interface request.
9. The system according to claim 7, wherein said Hybrid module configuring means is configured to:
if the Hybrid module in the remote server is the latest version, generating a compressed file by the Hybrid module of the latest version in the remote server through an encryption algorithm, and sending the compressed file to a private directory of the local Hybrid App, wherein the Hybrid App performs coverage updating on the local Hybrid module after decompression and decryption.
10. The system of claim 6, further comprising:
and the Hybrid interface module is used for calling a native application program interface after the Hybrid page is loaded so as to be compatible with the application program function of the native system.
11. A terminal device for dynamically jumping a Hybrid page based on a Hybrid App, comprising: a memory to store instructions and a processor to execute the instructions to:
downloading or updating a Hybrid module of the Hybrid App to the local Hybrid App;
creating or updating a jump configuration file in the Hybrid App, wherein the jump configuration file is used for recording page attributes of all pages in the Hybrid App and setting page attributes of jump pages;
when a page in the Hybrid App is clicked, the current page jumps to a preset page according to the jump configuration file; if the jumped preset page is a native page, loading and displaying the preset page; and if the preset page is the Hybrid page, loading and displaying the preset page according to the latest version of the Hybrid module.
12. The terminal apparatus of claim 11, wherein the processor is further configured to:
confirming that versions of the Hybrid module and the jump configuration file in a local or remote server are latest versions;
if the skip configuration file and the Hybrid module in the remote server are the latest versions, downloading the skip configuration file and the Hybrid module in the remote server to a private directory of the Hybrid App locally;
if the local jump configuration file and the Hybrid module are the latest version, the local current version of the jump configuration file and the Hybrid module are continuously used.
13. The terminal apparatus of claim 12, wherein the processor is further configured to:
and forming a Hashmap list by the Hybrid module of the local latest version and the corresponding version number, and sending the Hashmap list to the remote server through a server interface request.
14. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
15. 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-5.
CN201610246301.1A 2016-04-20 2016-04-20 Method and system for dynamically jumping Hybrid page based on Hybrid App Active CN107305553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610246301.1A CN107305553B (en) 2016-04-20 2016-04-20 Method and system for dynamically jumping Hybrid page based on Hybrid App

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610246301.1A CN107305553B (en) 2016-04-20 2016-04-20 Method and system for dynamically jumping Hybrid page based on Hybrid App

Publications (2)

Publication Number Publication Date
CN107305553A CN107305553A (en) 2017-10-31
CN107305553B true CN107305553B (en) 2020-02-07

Family

ID=60152234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610246301.1A Active CN107305553B (en) 2016-04-20 2016-04-20 Method and system for dynamically jumping Hybrid page based on Hybrid App

Country Status (1)

Country Link
CN (1) CN107305553B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634604A (en) * 2018-11-30 2019-04-16 南京天溯自动化控制系统有限公司 IOS method for page jump and its system based on mixed developing

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563668A (en) * 2018-01-08 2018-09-21 武汉斗鱼网络科技有限公司 The method, apparatus and terminal device of the Hybrid page jump H5 pages
CN108595234A (en) * 2018-03-13 2018-09-28 阿里巴巴集团控股有限公司 Five application page switching method, device and equipment
CN110555181B (en) * 2018-03-30 2022-03-25 武汉斗鱼网络科技有限公司 Page cross-skip method and device
CN109033302A (en) * 2018-07-16 2018-12-18 深圳鼎盛电脑科技有限公司 A kind of method for page jump, device, terminal and storage medium
CN110020323B (en) * 2018-07-27 2023-04-07 平安科技(深圳)有限公司 Page switching method and system for hybrid application, computer equipment and storage medium
CN109597950A (en) * 2018-10-25 2019-04-09 北京辰森世纪科技股份有限公司 Web Page Processing, web page data providing method and the device of application program
CN109657179B (en) * 2018-12-07 2024-04-16 北京奇虎科技有限公司 Service processing method, system and storage medium
CN110290104A (en) * 2019-05-09 2019-09-27 北京善义善美科技有限公司 The safety communicating method of embedded webpage and the application in
CN111506370A (en) * 2020-03-09 2020-08-07 平安普惠企业管理有限公司 H5 page jumping method and device on IOS system, computer equipment and storage medium
CN111897613A (en) * 2020-07-31 2020-11-06 平安普惠企业管理有限公司 Page access method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914484A (en) * 2013-01-07 2014-07-09 阿里巴巴集团控股有限公司 Method and device for generating page contents
CN105446996A (en) * 2014-07-16 2016-03-30 阿里巴巴集团控股有限公司 Page display method and page display system
CN105487905A (en) * 2015-11-27 2016-04-13 东软集团股份有限公司 Updating method and device of hybrid application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914484A (en) * 2013-01-07 2014-07-09 阿里巴巴集团控股有限公司 Method and device for generating page contents
CN105446996A (en) * 2014-07-16 2016-03-30 阿里巴巴集团控股有限公司 Page display method and page display system
CN105487905A (en) * 2015-11-27 2016-04-13 东软集团股份有限公司 Updating method and device of hybrid application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634604A (en) * 2018-11-30 2019-04-16 南京天溯自动化控制系统有限公司 IOS method for page jump and its system based on mixed developing

Also Published As

Publication number Publication date
CN107305553A (en) 2017-10-31

Similar Documents

Publication Publication Date Title
CN107305553B (en) Method and system for dynamically jumping Hybrid page based on Hybrid App
US10713034B2 (en) Updating web resources
US10230786B2 (en) Hot deployment in a distributed cluster system
US9454356B2 (en) Method of and terminal for updating library file in system application
CN105867947B (en) Data processing method and device after preset application program updating
CN102523268B (en) Client side upgrading method and system
CN107741844B (en) Method and device for generating application installation package
JP2019506654A (en) Page jump method and apparatus
EP3188011B1 (en) Automatic provisioning of a software platform to a device ecosystem
CN105323269A (en) Method for updating APP in Android system, terminal and storage medium
CN103353845A (en) Method and device for uploading and pushing script
CN107291481B (en) Component updating method, device and system
CN108540509B (en) Processing method and device of terminal browser, server and intelligent terminal
CN104063225A (en) Locked screen theme development method and locked screen theme development system
CN104765624B (en) Method and device for updating application program of virtual machine
CN110968331A (en) Method and device for running application program
WO2016150389A1 (en) Interface processing method, device and system
CN106713395B (en) Data downloading method and device
CN106775720B (en) Method and device for integrating player SDK (software development kit) and method and device for setting player SDK
WO2016150390A1 (en) Interface processing method, apparatus, and system
CN106293790B (en) application program upgrading method and device based on Firefox operating system
US10997269B1 (en) Using web application components with different web application frameworks in a web application
CN107092472B (en) Dynamic publishing method and device
CN116069366A (en) Client application program updating method and device, storage medium and electronic equipment
CN115878226A (en) H5 offline package loading 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