CN111045747A - H5 mobile application rapid loading method, system, terminal and storage medium - Google Patents
H5 mobile application rapid loading method, system, terminal and storage medium Download PDFInfo
- Publication number
- CN111045747A CN111045747A CN201911075204.0A CN201911075204A CN111045747A CN 111045747 A CN111045747 A CN 111045747A CN 201911075204 A CN201911075204 A CN 201911075204A CN 111045747 A CN111045747 A CN 111045747A
- Authority
- CN
- China
- Prior art keywords
- offline
- package
- serial number
- application
- loading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000011068 loading method Methods 0.000 title claims abstract description 90
- 238000000034 method Methods 0.000 claims abstract description 52
- 230000008569 process Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 230000004807 localization Effects 0.000 description 2
- 239000011248 coating agent Substances 0.000 description 1
- 238000000576 coating method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a method, a system, a terminal and a storage medium for quickly loading H5 mobile application, wherein the method comprises the following steps: receiving an application loading message sent by a user, wherein the loading message carries an offline package code and version information of the application; acquiring a local offline serial number of a user side according to the offline packet code and the version information of the application; and when the local offline serial number is acquired, loading an H5 page of a target application program, wherein the target application program corresponds to the application loading message. According to the invention, the H5 application resource file is localized, and the localized resource file is updated by two modes of actively pulling and updating by the mobile terminal and pushing and updating by the server terminal, so that the problem of the loading speed of the application in the weak network environment can be solved, the H5 expansibility of the native mobile application can be maintained, the online updating with the same effect as that of online H5 can be met, and the problem of frequent edition of the native app is avoided.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a method, a system, a terminal and a storage medium for quickly loading H5 mobile application in a weak network environment.
Background
With the popularization and development of the mobile internet, more and more mobile application products are coming into the market. Native mobile application is realized by a plurality of modules through pages embedded with H5 in webview, so that good expansibility is realized, and the edition release of the application is reduced. The mobile native application part module is opened in a webview embedded H5 mode, light-weight iteration is achieved, function revising can be completed only by updating a server H5 page, and the problem of frequent iteration publishing is solved.
However, the mode of embedding H5 in webview also brings certain problems. For example, the network condition of the mobile terminal is unstable, and the online loading of the H5 page is strongly dependent on the network. Because the requests of various resource files of H5 need to go to the network, when the network condition is unstable, especially in the case of weak network, the loading of various resource files is delayed or not loaded, which may affect the use and user experience of the whole H5 mobile application.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method, a system, a terminal, and a storage medium for fast loading an H5 mobile application, so as to maintain the H5 extensibility of a native mobile application while solving the problem of the application loading speed in a weak network environment.
The technical scheme adopted by the invention for solving the technical problems is as follows:
in a first aspect, an embodiment of the present invention provides a method for fast loading an H5 mobile application, where the method is executed by a mobile end, and includes:
receiving an application loading message sent by a user, wherein the loading message carries an offline package code and version information of the application;
acquiring a local offline serial number of a user side according to the offline packet code and the version information of the application;
and when the local offline serial number is acquired, loading an H5 page of a target application program, wherein the target application program corresponds to the application loading message.
Further, the obtained local offline serial number includes the local offline serial number existing at the user side and/or the local offline serial number obtained after the offline package is synchronously updated.
Further, the process of obtaining the local offline serial number after synchronously updating the offline packet includes:
the method comprises the steps of obtaining offline package information corresponding to a target application program from a server, wherein the offline package information comprises content of the target application program, and the content of the target application program comprises offline package coding and version information of application.
Further, the method executed by the mobile terminal further comprises the step of triggering the asynchronous updating of the offline package when receiving an application loading message sent by a user; wherein, the asynchronous updating off-line packet process is specifically,
acquiring latest offline package uploading information from a server according to the application package code and the version information;
acquiring the latest serial number according to the offline packet uploading information;
and comparing the latest serial number with the local offline serial number, if the latest serial number is the same as the local offline serial number, not updating the offline packet, and otherwise, updating or covering the offline packet.
In a second aspect, an embodiment of the present invention further provides an H5 mobile application fast loading method, which is executed by a server and includes:
receiving offline package uploading information from a mobile terminal, wherein the offline package uploading information comprises application package codes and version information;
generating an offline packet serial number and a download address according to the offline packet uploading information, and sending the offline packet serial number and the download address to the mobile terminal;
and transmitting or not transmitting the offline packet information according to the feedback of the mobile terminal.
Further, the method executed by the server further includes:
and when updating the off-line package, acquiring all users using the off-line package, and sending update information to the mobile terminal of the related user, wherein the update information comprises the off-line package serial number and the download address of the updated off-line package.
In a third aspect, an embodiment of the present invention further provides an H5 mobile application fast loading system, where the system includes a mobile terminal and a server terminal;
the mobile terminal comprises a data receiving module, a data acquiring module and a data loading display module, wherein the data receiving module is used for receiving an application loading message sent by a user, the data acquiring module is used for receiving the application loading message received by the data receiving module and acquiring a local offline serial number of the user side according to the application loading message, the data loading display module is used for receiving the local offline serial number of the user side acquired by the data acquiring module and loading an H5 page for completing a target application program according to the local offline serial number, the target application program corresponds to the application loading message, and the loading message carries an offline package code and version information of the application;
the server side comprises a data uploading module and a data transmitting module, the data uploading module is used for receiving offline package uploading information from the data acquisition module, generating an offline package serial number and a downloading address according to the offline package uploading information and transmitting the offline package serial number and the downloading address to the data acquisition module, the data transmitting module transmits or does not transmit the offline package information according to feedback of the data acquisition module, and the offline package uploading information comprises application package codes and version information.
Further, the data acquisition module is also used for synchronously updating and asynchronously updating the local offline package; the synchronous updating process specifically includes acquiring offline package information corresponding to a target application program from a server, wherein the offline package information includes content of the target application program, and the content of the target application program includes offline package code and version information of application; the asynchronous off-line package updating process specifically comprises the steps of obtaining the latest off-line package uploading information from a server according to the application package code and the version information, obtaining the latest serial number according to the off-line package uploading information, comparing the latest serial number with the local off-line serial number, if the latest serial number is the same as the local off-line serial number, not updating the off-line package, and otherwise, updating or covering the off-line package;
the server side further comprises an update pushing module, and the update pushing module is used for sending the updated offline packet to a data acquisition module of the relevant user mobile side.
In a fourth aspect, an embodiment of the present invention further provides a terminal, including:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement any of the H5 mobile application fastload methods provided by any of the embodiments of the present invention.
In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements any one of the H5 mobile application fast loading methods provided in any embodiment of the present invention.
Compared with the prior art, the invention has the beneficial effects that:
according to the invention, the H5 application resource file is localized, and the localized resource file is updated by two modes of actively pulling and updating by the mobile terminal and pushing and updating by the server terminal, so that the problem of the loading speed of the application in the weak network environment can be solved, the H5 expansibility of the native mobile application can be maintained, the online updating with the same effect as that of online H5 can be met, and the problem of frequent edition of the native app is avoided.
Drawings
Fig. 1 is a schematic flowchart of the interaction between the mobile terminal and the server terminal in the embodiment of the present invention;
FIG. 2 is a system framework diagram of an H5 mobile application fast loading system according to a seventh embodiment of the present invention;
FIG. 3 is a system framework diagram of an H5 mobile application fast loading system according to an eighth embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to a ninth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
The technical scheme of the embodiment can be applied to the situation of carrying out fast loading on the H5 mobile application in the weak network environment. The method can be executed by the H5 mobile application fast loading system provided by the embodiment of the invention, and the system can be implemented in a software and/or hardware manner and configured to be applied in a terminal, such as a computer, a mobile phone or a tablet computer, and a smart sound box.
Since the slow loading of the H5 mobile application in the weak network environment is caused by the fact that the H5 resource file has a strong network-dependent relationship, and the root problem can be solved only when the H5 resource file requests do not depend on the network, H5 application resource file localization must be realized, and the localized resource file can support updating.
The embodiment of the invention provides a method for quickly loading H5 mobile application, which specifically comprises the following operations based on a mobile terminal:
receiving an application loading message sent by a user, wherein the loading message carries an offline package code and version information of the application;
acquiring a local offline serial number of a user side according to the offline packet code and the version information of the application;
and when the local offline serial number is acquired, loading an H5 page of a target application program, wherein the target application program corresponds to the application loading message.
Example two
On the basis of the first embodiment, the obtained local offline serial number includes the local offline serial number existing at the user side and/or the local offline serial number obtained after the offline package is synchronously updated.
EXAMPLE III
On the basis of the second embodiment, the process of obtaining the local offline serial number after synchronously updating the offline package includes:
the method comprises the steps of obtaining offline package information corresponding to a target application program from a server, wherein the offline package information comprises content of the target application program, and the content of the target application program comprises offline package coding and version information of application.
Example four
On the basis of the first embodiment, the method executed by the mobile terminal further includes triggering a process of asynchronously updating an offline packet when receiving an application loading message sent by a user; wherein, the asynchronous updating off-line packet process is specifically,
acquiring latest offline package uploading information from a server according to the application package code and the version information;
acquiring the latest serial number according to the offline packet uploading information;
and comparing the latest serial number with the local offline serial number, if the latest serial number is the same as the local offline serial number, not updating the offline packet, and otherwise, updating or covering the offline packet.
EXAMPLE five
The embodiment of the invention provides a method for quickly loading H5 mobile application, which specifically comprises the following operations when the method is based on a server:
receiving offline package uploading information from a mobile terminal, wherein the offline package uploading information comprises application package codes and version information;
generating an offline packet serial number and a download address according to the offline packet uploading information, and sending the offline packet serial number and the download address to the mobile terminal;
and transmitting or not transmitting the offline packet information according to the feedback of the mobile terminal.
EXAMPLE six
On the basis of the fifth embodiment, the method performed by the server further includes:
and when updating the off-line package, acquiring all users using the off-line package, and sending update information to the mobile terminal of the related user, wherein the update information comprises the off-line package serial number and the download address of the updated off-line package.
In the foregoing embodiment, the specific embodiment, for example, mainly relates to processing of three core flows, and the specific flow is as shown in fig. 1:
1. opening application load flow
When the application of H5 is opened, the mobile terminal firstly acquires the serial number of the local offline package according to the application offline package code and version, if the serial number exists, the local offline package is indicated, the local offline H5 page is opened, and the process of network loading is avoided; if the serial number does not exist (only is opened for the first time), the fact that the offline package is not locally generated means that the offline package is not updated synchronously, and then the offline H5 page is opened.
2. Asynchronous updating offline packet process of mobile terminal
When the H5 application is clicked to open, the mobile terminal will perform asynchronous update application offline package operation. Firstly, the latest offline packet uploading information is obtained from a server side through the application packet coding and the version number. Comparing the returned serial number with the local serial number, and if the serial number is consistent with the local serial number, indicating that the local is the latest offline packet and does not need to be updated; and if the local offline packet is inconsistent or the local serial number is null, the local offline packet is not up to date or does not exist, and the offline coating cover updating operation is carried out.
3. Updating and pushing process for server side offline packet
When the server side updates the application offline package, the server side acquires all users using the version according to the updated offline package version, and pushes the updating information to mobile terminal apps of related users; the mobile terminal downloads the coverage offline packet and updates the serial number information.
After the implementation of the embodiment of the invention, the method is already applied to a plurality of H5 mobile applications, and the loading speed is obviously improved compared with the existing online direct loading H5 application. Especially in the weak network environment, when the online loading mode slowly affects the use of users, the scheme has more obvious effect, and the H5 application is quickly opened through local offline. In addition, the scheme can also meet the online updating effect same as that of online H5, and the problem of frequent edition of the native app is avoided.
EXAMPLE seven
Fig. 2 is a block diagram illustrating a structure of an H5 mobile application fast loading system according to a seventh embodiment of the present invention. The system is used for executing the H5 mobile application fast loading method provided by any embodiment. The system comprises: a mobile terminal and a server terminal;
the mobile terminal comprises a data receiving module 11, a data acquiring module 12 and a data loading display module 13, wherein the data receiving module 11 is used for receiving an application loading message sent by a user, the data acquiring module 12 is used for receiving the application loading message received by the data receiving module 11 and acquiring a local offline serial number of the user side according to the application loading message, the data loading display module 13 is used for receiving the local offline serial number of the user side acquired by the data acquiring module 12 and loading an H5 page of a target application program according to the local offline serial number, the target application program corresponds to the application loading message, and the loading message carries an offline package code and version information of the application;
the server comprises a data uploading module 21 and a data transmitting module 22, the data uploading module 21 is used for receiving off-line package uploading information from the data acquiring module 12, generating an off-line package serial number and a downloading address according to the off-line package uploading information, and transmitting the off-line package serial number and the downloading address to the data acquiring module 12, the data transmitting module 22 transmits or does not transmit off-line package information according to feedback of the data acquiring module 12, and the off-line package uploading information comprises application package codes and version information.
Example eight
As shown in fig. 3, on the basis of the seventh embodiment, the data obtaining module 12 is further configured to update the local offline package synchronously and asynchronously; the synchronous updating process specifically includes acquiring offline package information corresponding to a target application program from a server, wherein the offline package information includes content of the target application program, and the content of the target application program includes offline package code and version information of application; the asynchronous off-line package updating process specifically comprises the steps of obtaining the latest off-line package uploading information from a server according to the application package code and the version information, obtaining the latest serial number according to the off-line package uploading information, comparing the latest serial number with the local off-line serial number, if the latest serial number is the same as the local off-line serial number, not updating the off-line package, and otherwise, updating or covering the off-line package;
the server further includes an update pushing module 23, where the update pushing module 23 is configured to send the updated offline packet to the data obtaining module 12 of the mobile terminal of the relevant user.
The H5 mobile application rapid loading system provided by the embodiment of the invention realizes H5 application resource file localization, the localized resource file supports updating, local offline package updating in two modes is supported, a mobile terminal actively pulls updating and a server terminal pushes updating, the problem of weak network environment application loading speed can be solved, H5 expansibility of native mobile application can be maintained, and user experience is improved.
The H5 mobile application fast loading system provided by the embodiment of the invention can execute the H5 mobile application fast loading method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example nine
As shown in fig. 4, an H5 mobile application fast loading terminal provided by the embodiment of the present invention includes a processor 30, a memory 31, an input device 32, and an output device 33; the number of the processors 30 in the terminal may be one or more, and one processor 30 is taken as an example in fig. 4; the processor 30, the memory 31, the input device 32 and the output device 33 in the terminal may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
The memory 31 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the commodity recommendation method in the embodiment of the present invention (for example, the data receiving module 11, the data acquiring module 12, the data loading and displaying module 13, the data uploading module 21, the data transmitting module 22, and the update pushing module 23). The processor 30 executes various functional applications and data processing of the device by executing software programs, instructions and modules stored in the memory 31, that is, implements the above-described commodity recommendation method.
The memory 31 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 31 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 31 may further include memory located remotely from the processor 30, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 32 may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 33 may include a display device such as a display screen.
Example ten
Embodiments of the present invention also provide a storage medium containing computer-executable instructions which, when executed by a computer processor, perform a H5 mobile application fastload method.
1. When executed by the mobile terminal, the method comprises the following steps:
receiving an application loading message sent by a user, wherein the loading message carries an offline package code and version information of the application;
acquiring a local offline serial number of a user side according to the offline packet code and the version information of the application;
and when the local offline serial number is acquired, loading an H5 page of a target application program, wherein the target application program corresponds to the application loading message.
In specific implementation, the obtained local offline serial number includes the local offline serial number existing at the user side and/or the local offline serial number obtained after the offline package is synchronously updated.
In specific implementation, the process of synchronously updating the offline packet and then obtaining the local offline serial number includes:
the method comprises the steps of obtaining offline package information corresponding to a target application program from a server, wherein the offline package information comprises content of the target application program, and the content of the target application program comprises offline package coding and version information of application.
In specific implementation, the method executed by the mobile terminal further comprises the step of triggering the asynchronous updating of the offline package when receiving an application loading message sent by a user; wherein, the asynchronous updating off-line packet process is specifically,
acquiring latest offline package uploading information from a server according to the application package code and the version information;
acquiring the latest serial number according to the offline packet uploading information;
and comparing the latest serial number with the local offline serial number, if the latest serial number is the same as the local offline serial number, not updating the offline packet, and otherwise, updating or covering the offline packet.
2. When executed by a server, the method comprises:
receiving offline package uploading information from a mobile terminal, wherein the offline package uploading information comprises application package codes and version information;
generating an offline packet serial number and a download address according to the offline packet uploading information, and sending the offline packet serial number and the download address to the mobile terminal;
and transmitting or not transmitting the offline packet information according to the feedback of the mobile terminal.
In specific implementation, the method executed by the server further includes:
and when updating the off-line package, acquiring all users using the off-line package, and sending update information to the mobile terminal of the related user, wherein the update information comprises the off-line package serial number and the download address of the updated off-line package.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the H5 mobile application fast loading method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method for quickly loading H5 mobile application, which is executed by a mobile terminal, includes:
receiving an application loading message sent by a user, wherein the loading message carries an offline package code and version information of the application;
acquiring a local offline serial number of a user side according to the offline packet code and the version information of the application;
and when the local offline serial number is acquired, loading an H5 page of a target application program, wherein the target application program corresponds to the application loading message.
2. The H5 mobile application fast loading method according to claim 1, wherein: the obtained local offline serial number comprises the existing local offline serial number of the user side and/or the local offline serial number obtained after the offline package is synchronously updated.
3. The H5 mobile application fast loading method according to claim 2, wherein the step of synchronously updating the offline package to obtain the local offline serial number comprises:
the method comprises the steps of obtaining offline package information corresponding to a target application program from a server, wherein the offline package information comprises content of the target application program, and the content of the target application program comprises offline package coding and version information of application.
4. The H5 mobile application fast loading method according to claim 1, wherein the method executed by the mobile terminal further comprises triggering asynchronous update of the offline package when receiving an application loading message sent by a user; wherein, the asynchronous updating off-line packet process is specifically,
acquiring latest offline package uploading information from a server according to the application package code and the version information;
acquiring the latest serial number according to the offline packet uploading information;
and comparing the latest serial number with the local offline serial number, if the latest serial number is the same as the local offline serial number, not updating the offline packet, and otherwise, updating or covering the offline packet.
5. An H5 mobile application fast loading method, which is executed by a server and comprises the following steps:
receiving offline package uploading information from a mobile terminal, wherein the offline package uploading information comprises application package codes and version information;
generating an offline packet serial number and a download address according to the offline packet uploading information, and sending the offline packet serial number and the download address to the mobile terminal;
and transmitting or not transmitting the offline packet information according to the feedback of the mobile terminal.
6. The H5 mobile application fast loading method according to claim 5, wherein the method executed by the server further comprises:
and when updating the off-line package, acquiring all users using the off-line package, and sending update information to the mobile terminal of the related user, wherein the update information comprises the off-line package serial number and the download address of the updated off-line package.
7. An H5 mobile application rapid loading system, characterized in that: the system comprises a mobile terminal and a server terminal;
the mobile terminal comprises a data receiving module, a data acquiring module and a data loading display module, wherein the data receiving module is used for receiving an application loading message sent by a user, the data acquiring module is used for receiving the application loading message received by the data receiving module and acquiring a local offline serial number of the user side according to the application loading message, the data loading display module is used for receiving the local offline serial number of the user side acquired by the data acquiring module and loading an H5 page for completing a target application program according to the local offline serial number, the target application program corresponds to the application loading message, and the loading message carries an offline package code and version information of the application;
the server side comprises a data uploading module and a data transmitting module, the data uploading module is used for receiving offline package uploading information from the data acquisition module, generating an offline package serial number and a downloading address according to the offline package uploading information and transmitting the offline package serial number and the downloading address to the data acquisition module, the data transmitting module transmits or does not transmit the offline package information according to feedback of the data acquisition module, and the offline package uploading information comprises application package codes and version information.
8. The H5 mobile application fast loading system according to claim 7, wherein:
the data acquisition module is also used for synchronously updating and asynchronously updating the local offline package; the synchronous updating process specifically includes acquiring offline package information corresponding to a target application program from a server, wherein the offline package information includes content of the target application program, and the content of the target application program includes offline package code and version information of application; the asynchronous off-line package updating process specifically comprises the steps of obtaining the latest off-line package uploading information from a server according to the application package code and the version information, obtaining the latest serial number according to the off-line package uploading information, comparing the latest serial number with the local off-line serial number, if the latest serial number is the same as the local off-line serial number, not updating the off-line package, and otherwise, updating or covering the off-line package;
the server side further comprises an update pushing module, and the update pushing module is used for sending the updated offline packet to a data acquisition module of the relevant user mobile side.
9. A terminal, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the H5 mobile application fastload method of any of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the H5 mobile application fastload method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911075204.0A CN111045747A (en) | 2019-11-06 | 2019-11-06 | H5 mobile application rapid loading method, system, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911075204.0A CN111045747A (en) | 2019-11-06 | 2019-11-06 | H5 mobile application rapid loading method, system, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111045747A true CN111045747A (en) | 2020-04-21 |
Family
ID=70232027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911075204.0A Pending CN111045747A (en) | 2019-11-06 | 2019-11-06 | H5 mobile application rapid loading method, system, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111045747A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113342424A (en) * | 2021-08-04 | 2021-09-03 | 北京拓课网络科技有限公司 | Method and device for loading H5 resource and electronic equipment |
CN117493716A (en) * | 2023-11-08 | 2024-02-02 | 中建八局第一数字科技有限公司 | Display updating method and device of mobile terminal Web App, electronic equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107426278A (en) * | 2017-04-24 | 2017-12-01 | 阿里巴巴集团控股有限公司 | Call method, device and the mobile terminal of H5 applications |
CN108345632A (en) * | 2017-12-29 | 2018-07-31 | 中国平安财产保险股份有限公司 | Call method, device, equipment and the computer readable storage medium of the H5 pages |
CN108520059A (en) * | 2018-04-09 | 2018-09-11 | 世纪龙信息网络有限责任公司 | Loading method, system, computer equipment and the storage medium of the client H5 pages |
CN108664554A (en) * | 2018-04-03 | 2018-10-16 | 微梦创科网络科技(中国)有限公司 | The method and device of webpage view is loaded in a kind of application program |
CN109391509A (en) * | 2018-04-16 | 2019-02-26 | 深圳思为科技有限公司 | A kind of method, system and the application server of more new application |
CN109697069A (en) * | 2018-11-26 | 2019-04-30 | 福建天泉教育科技有限公司 | A kind of packaging method and terminal of H5 application |
CN109710870A (en) * | 2018-12-27 | 2019-05-03 | 北京微播视界科技有限公司 | Loading method, device, electronic equipment and the readable storage medium storing program for executing of the H5 page |
CN109857430A (en) * | 2019-01-09 | 2019-06-07 | 阿里巴巴集团控股有限公司 | Data processing method, method of payment, device and client across vessel offline packet |
CN109962972A (en) * | 2018-12-25 | 2019-07-02 | 阿里巴巴集团控股有限公司 | A kind of offline package-restructuring method and system |
-
2019
- 2019-11-06 CN CN201911075204.0A patent/CN111045747A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107426278A (en) * | 2017-04-24 | 2017-12-01 | 阿里巴巴集团控股有限公司 | Call method, device and the mobile terminal of H5 applications |
CN108345632A (en) * | 2017-12-29 | 2018-07-31 | 中国平安财产保险股份有限公司 | Call method, device, equipment and the computer readable storage medium of the H5 pages |
CN108664554A (en) * | 2018-04-03 | 2018-10-16 | 微梦创科网络科技(中国)有限公司 | The method and device of webpage view is loaded in a kind of application program |
CN108520059A (en) * | 2018-04-09 | 2018-09-11 | 世纪龙信息网络有限责任公司 | Loading method, system, computer equipment and the storage medium of the client H5 pages |
CN109391509A (en) * | 2018-04-16 | 2019-02-26 | 深圳思为科技有限公司 | A kind of method, system and the application server of more new application |
CN109697069A (en) * | 2018-11-26 | 2019-04-30 | 福建天泉教育科技有限公司 | A kind of packaging method and terminal of H5 application |
CN109962972A (en) * | 2018-12-25 | 2019-07-02 | 阿里巴巴集团控股有限公司 | A kind of offline package-restructuring method and system |
CN109710870A (en) * | 2018-12-27 | 2019-05-03 | 北京微播视界科技有限公司 | Loading method, device, electronic equipment and the readable storage medium storing program for executing of the H5 page |
CN109857430A (en) * | 2019-01-09 | 2019-06-07 | 阿里巴巴集团控股有限公司 | Data processing method, method of payment, device and client across vessel offline packet |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113342424A (en) * | 2021-08-04 | 2021-09-03 | 北京拓课网络科技有限公司 | Method and device for loading H5 resource and electronic equipment |
CN117493716A (en) * | 2023-11-08 | 2024-02-02 | 中建八局第一数字科技有限公司 | Display updating method and device of mobile terminal Web App, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105677335B (en) | Improve the method and device that mobile terminal first powers on speed | |
CN106970790B (en) | Application program creating method, related equipment and system | |
CN108520059A (en) | Loading method, system, computer equipment and the storage medium of the client H5 pages | |
CN110334297B (en) | Terminal page loading method, terminal, server and storage medium | |
CN109814854A (en) | Project skeleton generating method, device, computer equipment and storage medium | |
CN107291481B (en) | Component updating method, device and system | |
CN113168332B (en) | Data processing method and device and mobile terminal | |
US10506400B2 (en) | Data download method and apparatus | |
CN112114808A (en) | Page rendering method and device and electronic equipment | |
CN111045747A (en) | H5 mobile application rapid loading method, system, terminal and storage medium | |
CN114785685A (en) | Software differential upgrading method and device, electronic equipment and readable storage medium | |
CN112905225A (en) | Method and device for creating continuous integration tool construction task | |
CN104023073A (en) | Resource pushing method, system and device | |
CN113157337A (en) | Application program starting method and device, terminal equipment and storage medium | |
CN105119944A (en) | Application starting method and related device | |
CN106095886B (en) | Data processing method and device | |
CN104346460A (en) | Method and device for downloading file and browser client | |
CN111726386A (en) | Application program sharing method, wearable device and computer storage medium | |
CN109840156B (en) | Data caching method and equipment, storage medium and terminal thereof | |
CN102137058B (en) | A kind of page access method and apparatus based on tab page | |
CN112925715A (en) | Application debugging method and device of mobile terminal | |
CN113422791A (en) | Cloud service configuration method and device, electronic equipment and computer-readable storage medium | |
CN111177624A (en) | Website front-back end communication method and device, computer equipment and storage medium | |
CN112463268A (en) | Application data processing method, device, equipment and storage medium | |
CN113778543A (en) | Page content updating method and device applied to plug-in |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200421 |