CN109962972B - Offline packet reassembly method and system - Google Patents

Offline packet reassembly method and system Download PDF

Info

Publication number
CN109962972B
CN109962972B CN201811591231.9A CN201811591231A CN109962972B CN 109962972 B CN109962972 B CN 109962972B CN 201811591231 A CN201811591231 A CN 201811591231A CN 109962972 B CN109962972 B CN 109962972B
Authority
CN
China
Prior art keywords
offline
packet
package
resource
template
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
CN201811591231.9A
Other languages
Chinese (zh)
Other versions
CN109962972A (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201811591231.9A priority Critical patent/CN109962972B/en
Priority to CN202111026918.XA priority patent/CN113873013B/en
Publication of CN109962972A publication Critical patent/CN109962972A/en
Application granted granted Critical
Publication of CN109962972B publication Critical patent/CN109962972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments

Abstract

An off-line packet reassembly method and system are disclosed. A method of offline packet reassembly, the method comprising: the processing server side equipment splits each offline packet into an offline resource packet and an offline template packet in advance; storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment; the processing server equipment determines the identifier of an offline template packet, the identifier of an offline resource packet and a download address which need to be issued to the client equipment currently according to a preset issuing rule; issuing the identification of the offline template packet, the identification of the offline resource packet and a download address to client equipment; the client equipment searches the corresponding offline template package from the local according to the identifier of the offline template package, and downloads the corresponding offline resource package from the storage server equipment according to the identifier and the download address of the offline resource package; and analyzing the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine to form an available offline packet.

Description

Offline packet reassembly method and system
Technical Field
The embodiment of the specification relates to the technical field of computers, in particular to an offline packet reassembly method and system.
Background
With the development of computer technology, research and development on applications of Html5(Hypertext Markup Language 5, abbreviated as H5) are increasing. Among them, the H5 application refers to an application program developed based on the H5 technology. In a market, a subway and other scenes, H5 application is often used to promote some products, technologies and the like on an advertisement display screen.
At present, a processing server device integrates an HTML code text, a Javascript code text, a CSS code text, a resource (image, video, etc.) file, a signature file, etc. corresponding to an H5 application into the same file to obtain an offline package (the file obtained after integration is referred to as an offline package, and the offline package may be run as an H5 application), for example, an H5 application 1 corresponds to an offline package 1, an H5 application 2 corresponds to an offline package 2 … …, the processing server device issues the corresponding offline package to a client device according to a preset rule, and the client device downloads the offline package, where the offline package may run on the client device as an H5 application, and renders the resource in the offline package to display the resource on an advertisement display screen.
However, in the current technical scheme, since the HTML code text, the Javascript code text and the CSS code text in different offline packages may be general, high reusability exists, and the processing server device issues the corresponding offline package each time, so that the client device repeatedly downloads the offline package, and the consumption of bandwidth is increased.
Disclosure of Invention
In view of the above technical problems, embodiments of the present specification provide an offline packet reassembly method and system, and the technical solution is as follows:
an offline packet reassembly method is applied to an offline packet reassembly system, the system includes a processing server device and a client device, the processing server device includes a plurality of offline packets, and the method includes:
the processing server side equipment splits each offline packet into an offline resource packet and an offline template packet in advance; storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment;
the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
the processing server equipment determines the identifier of an offline template packet, the identifier of an offline resource packet and a download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment;
the processing server equipment issues an identifier of an offline template packet, an identifier of an offline resource packet and a download address to the client equipment;
the client equipment searches the corresponding offline template package from the local according to the identifier of the offline template package, and downloads the corresponding offline resource package from the storage server equipment according to the identifier and the downloading address of the offline resource package;
the client device analyzes the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine so as to combine the offline template packet and the downloaded offline resource packet into an available offline packet.
An offline packet reassembly method is applied to a processing server device, wherein the processing server device comprises a plurality of offline packets, and the method comprises the following steps:
the processing server side equipment splits each offline packet into an offline resource packet and an offline template packet in advance; storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment;
the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
the processing server equipment determines the identifier of an offline template packet, the identifier of an offline resource packet and a download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment;
the processing server device issues the identifier of the offline template package, the identifier of the offline resource package and a download address to the client device, so that the client device searches the corresponding offline template package from the local according to the identifier of the offline template package, downloads the corresponding offline resource package from the storage server device according to the identifier of the offline resource package and the download address, and the client device analyzes the searched offline template package and the downloaded offline resource package by using a preset analysis engine to combine the offline package with an available offline package.
An off-line packet reassembly method is applied to a client device, and comprises the following steps:
receiving an identifier of an offline template packet, an identifier of an offline resource packet and a download address issued by a processing server device;
searching a corresponding offline template package from the local according to the identifier of the offline template package, and downloading the corresponding offline resource package from the storage server equipment according to the identifier and the downloading address of the offline resource package;
and analyzing the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine to form an available offline packet.
An offline packet reassembly system, the system comprising: the method comprises the following steps that a processing server device and a client device are processed, wherein the processing server device comprises a plurality of offline packages:
the processing server side equipment splits each offline packet into an offline resource packet and an offline template packet in advance; storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment;
the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
the processing server equipment determines the identifier of an offline template packet, the identifier of an offline resource packet and a download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment;
the processing server equipment issues an identifier of an offline template packet, an identifier of an offline resource packet and a download address to the client equipment;
the client equipment searches the corresponding offline template package from the local according to the identifier of the offline template package, and downloads the corresponding offline resource package from the storage server equipment according to the identifier and the downloading address of the offline resource package;
the client device analyzes the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine so as to combine the offline template packet and the downloaded offline resource packet into an available offline packet.
An offline packet reassembly device applied to processing server devices, the device comprising:
the server side equipment is used for processing the offline resource packages, wherein each offline package is divided into an offline resource package and an offline template package in advance, the offline resource packages comprise reusable resource files of preset types, and the offline template packages comprise other types of files except the reusable resource files;
the storage module is used for storing the offline resource packet to the storage server-side equipment;
the first issuing module is used for issuing the offline template packet required by the client equipment to the client equipment;
the determining module is used for processing the identification of the offline template packet, the identification of the offline resource packet and the download address which are required to be issued to the client equipment currently by the server equipment according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identification of the offline template packet, the identification of the offline resource packet and the download address which are issued to the client equipment;
and the second issuing module is used for processing the identifier of the offline template packet, the identifier of the offline resource packet and a download address issued by the server-side equipment to the client-side equipment so that the client-side equipment can locally search the corresponding offline template packet according to the identifier of the offline template packet, download the corresponding offline resource packet from the storage server-side equipment according to the identifier of the offline resource packet and the download address of the offline resource packet, and analyze the searched offline template packet and the downloaded offline resource packet by the client-side equipment by using a preset analysis engine so as to combine the searched offline template packet and the downloaded offline resource packet into an available offline packet.
An offline packet reassembly device applied to a client device, the device comprising:
the receiving module is used for receiving the identifier of the offline template packet, the identifier of the offline resource packet and the download address issued by the processing server equipment;
the searching module is used for locally searching the corresponding offline template packet according to the identifier of the offline template packet;
the downloading module is used for downloading the corresponding offline resource package from the storage server side equipment according to the identifier and the downloading address of the offline resource package;
and the recombination module is used for analyzing the searched offline template packet and the downloaded offline resource packet by utilizing a preset analysis engine so as to combine the offline template packet and the downloaded offline resource packet into an available offline packet.
According to the technical scheme provided by the embodiment of the specification, the processing server device divides each offline package into an offline resource package and an offline template package in advance, wherein the offline resource package comprises reusable resource files of preset types, the offline template package comprises other types of files except the reusable resource files, the offline resource package is stored in the storage server device, and the offline template package required by the client device is issued to the client device; the subsequent client equipment only needs to download the offline resource package, so that the repeated downloading of the offline template package (namely HTML code text, Javascript code text and CSS code text) by the client equipment is avoided, and the consumption of bandwidth is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.
In addition, any one of the embodiments in the present specification is not required to achieve all of the effects described above.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a schematic composition diagram of an H5 application of an embodiment of the present description;
FIG. 2 is a schematic diagram illustrating an interaction flow of an offline package reassembly method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating a processing server device issuing an offline template package to a client device according to an embodiment of the present specification;
fig. 4 is a schematic structural diagram of an offline packet reassembly device applied to a processing server device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an offline packet reassembly device applied to a client device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an apparatus for configuring a device according to an embodiment of the present disclosure.
Detailed Description
At present, H5 application is often used in scenes such as shopping malls and subways, and products, technologies and the like are advertised on an advertisement display screen. At a processing server, integrating a template (HTML code text, Javascript code text, CSS code text) corresponding to an H5 application, a resource (image, video, etc.) file, and a signature file into the same file to obtain an offline package, for example, H5 application 1 corresponds to offline package 1, H5 application 2 corresponds to offline package 2 … …, and at a processing stage, the processing server issues the corresponding offline package to a client according to a preset rule, for example, at 10:00 outgoing package 1 at this time, 10:01 outgoing package 2 … …, the client device downloads the offline package, which may be run on the client device as an H5 application, renders the resource in the outgoing package for display on the advertising display, e.g., 10:00 the client device downloads the outgoing package 1, which runs on the client device as H5 application 1, renders the image, video, and audio in the outgoing package for display on the advertising display.
However, in the current technical solution, since some HTML code text, Javascript code text, and CSS code text in different offline packages may be common, that is, the templates are common, for example, a full-screen video template and a full-screen image template, there is a high reusability, and the processing server device issues the corresponding offline package each time, for example, the client device downloads the full-screen video template at the time of 10:00, and in 10:01, the client device downloads the full-screen video template at the moment, so that the client device rereads and downloads the full-screen video template, and the consumption of bandwidth is increased.
In view of the above technical problems, an embodiment of the present specification provides a technical solution, where a processing server device splits each offline package into an offline resource package and an offline template package in advance, for example, as shown in fig. 1, the offline package 1 is split into an offline resource package 1 and an offline template package 1, the offline package 2 is split into an offline resource package 2 and an offline template package 2, and an H5 application is composed of corresponding offline resource packages and offline template packages, where the offline resource package includes reusable resource files of a preset type, the offline template package includes files of other types than the reusable resource files, the offline resource package is stored in a storage server device, and the offline template package required by a client device is issued to the client device; the subsequent client equipment only needs to download the offline resource package, so that the repeated downloading of the offline template package (namely HTML code text, Javascript code text and CSS code text) by the client equipment is avoided, and the consumption of bandwidth is reduced.
Specifically, the technical solutions provided in the embodiments of the present specification are as follows:
the processing server side equipment splits each offline packet into an offline resource packet and an offline template packet in advance; storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment; the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files; the processing server equipment determines the identifier of an offline template packet, the identifier of an offline resource packet and a download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment; the processing server equipment issues an identifier of an offline template packet, an identifier of an offline resource packet and a download address to the client equipment; the client equipment searches the corresponding offline template package from the local according to the identifier of the offline template package, and downloads the corresponding offline resource package from the storage server equipment according to the identifier and the downloading address of the offline resource package; the client device analyzes the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine so as to combine the offline template packet and the downloaded offline resource packet into an available offline packet.
In an embodiment of this specification, a client device may be a terminal device such as a computer, a processing server device may be in the form of a specific server or a server cluster, a storage server device may be a server or a server cluster under a current cloud storage service (for example, OSS), the client device and the processing server device may implement communication connection through networks in various forms, and the processing server device and the storage server device may implement communication connection through networks in various forms, which is not limited in this specification.
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of protection.
As shown in fig. 2, an interaction flow diagram of the offline package reassembly method provided in the embodiment of the present specification is specifically provided, where the method specifically includes the following steps:
s201, a processing server device divides each offline package into an offline resource package and an offline template package in advance, wherein the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
in this specification, offline package: the method is characterized in that HTML code text, Javascript code text, CSS code text, resource (image, video and the like) files, signature files and the like are integrated into the same file, the integrated file is called an offline package, a plurality of offline packages exist in processing server equipment, the processing server equipment splits the file in each offline package in advance, each offline package can be split into an offline resource package and an offline template package, and therefore a plurality of offline resource packages and offline template packages can be obtained.
The offline resource package comprises reusable resource files of a preset type, the offline template package comprises files of other types except the reusable resource files, the reusable resource files of the preset type are reusable resource files of audio types, video types and/or image types, and the files of other types can be HTML code texts, Javascript code texts and CSS code texts, which means that the offline package comprises the reusable resource files of the preset type and the files of other types except the reusable resource files.
In the process of splitting the offline package, reusable resource files of preset types in the offline package can be independently compressed, the compressed files are determined to be the offline resource packages, so that a plurality of offline resource packages can be obtained, other types of files except the reusable resource files in the offline package can be independently compressed, the compressed files are determined to be the offline template packages, so that a plurality of offline template packages can be obtained, wherein the plurality of inevitably obtained offline resource packages and the plurality of inevitably obtained offline template packages are repeated, and redundant offline resource packages and redundant offline template packages can be deleted.
S202, storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment;
after splitting the file in the offline package, on one hand, all the offline resource packages can be selected to be stored in the storage server device, which is used for storing the offline resource packages, and on the other hand, the offline template package required by the client device is issued to the client device, where the offline template package can be issued to the client device at one time, as shown in fig. 3.
In addition, preferably, the name and/or version of the offline template packet may be mapped by using a preset mapping algorithm to obtain the identifier of the offline template packet, and the name and/or version of the offline resource packet may be mapped by using a preset mapping algorithm to obtain the identifier of the offline resource packet, where the parameters participating in mapping may further include the size, generation date, and the like of the offline template packet and the offline resource packet, and the preset mapping algorithm may be a hash algorithm and the like, and may also be other mapping algorithms, which is not described in detail herein.
Taking the name and version of the offline template packet as an example, the identifier of the offline template packet can be obtained by using a preset hash algorithm, and a mapping relationship table entry between the identifier of the offline template packet and the name and version of the offline template packet can be established, as shown in table 1 below, similarly, a mapping relationship table entry between the identifier of the offline resource packet and the name and/or version of the offline resource packet can also be established, which is not described in detail herein one by one:
identification of offline template package Name of offline template package Versions of offline template packages
A Offline template package 1 1.1.0
B Offline template package 2 1.1.5
TABLE 1
After the mapping relationship table entry between the identifier of the offline template packet and the name and/or version of the offline template packet and the mapping relationship table entry between the identifier of the offline resource packet and the name and/or version of the offline resource packet are obtained, the mapping relationship table entry between the identifier of the offline template packet and the name and/or version of the offline template packet and the mapping relationship table entry between the identifier of the offline resource packet and the name and/or version of the offline resource packet may be issued to the client device.
S203, the processing server equipment determines the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment;
in markets, subways and other scenes, advertisement display screens are often used for publicizing products, the propaganda sequence of the products is preset according to actual requirements, so that a preset issuing rule exists in a processing server device, the identification of an offline template packet issued to the client device, the identification of the offline resource packet and a download address are controlled, the identification of a plurality of offline resource packets can be used, and the processing server device determines the identification of the offline template packet, the identification of the offline resource packet and the download address which need to be issued to the client device currently according to the preset issuing rule.
The issuing rule may be set based on a certain time, or may be set based on a certain fixed period or a certain unfixed period, which is not limited in this specification.
For example, according to a preset issuing rule, in the step 10:00 the processing server determines the identifier corresponding to the offline template packet 1, the identifier corresponding to the offline resource packet 1, the offline resource packet 2, and the offline resource packet 3, and the corresponding download address, which need to be sent to the client device 1, the processing server determines the identifier corresponding to the offline template packet 2, the identifier corresponding to the offline resource packet 1, the offline resource packet 4, and the offline resource packet 5, and the corresponding download address, which need to be sent to the client device 1, the identifier corresponding to the offline template packet 3, the identifier corresponding to the offline resource packet 2, the offline resource packet 6, and the offline resource packet 7, and the corresponding download address, which need to be sent to the client device 1, at 10:01, and so on.
For another example, according to the preset issuing rule, in the step 10:00 the processing server determines the identifier corresponding to the offline template packet 1, the identifier corresponding to the offline resource packet 1, the offline resource packet 2, and the offline resource packet 3, and the corresponding download address, which need to be sent to the client device 1, at 10:01, the processing server determines the identifier corresponding to the offline template packet 2, the identifier corresponding to the offline resource packet 1, the offline resource packet 4, and the offline resource packet 5, and the corresponding download address, which need to be sent to the client device 1, at 10:03, the processing server determines the identifier corresponding to the offline template packet 3, the identifier corresponding to the offline resource packet 2, the offline resource packet 6, and the identifier corresponding to the offline resource packet 7, and the corresponding download address.
And S204, the processing server device issues the identifier of the offline template packet, the identifier of the offline resource packet and the download address to the client device.
For the identifier of the offline template packet, the identifier of the offline resource packet, and the download address that need to be sent to the client device, which are determined in S203, the processing server device sends the identifier of the offline template packet, the identifier of the offline resource packet, and the download address to the client device, for example, in S203, the processing server device determines the identifier corresponding to the offline template packet 1, the identifier corresponding to the offline resource packet 1, the offline resource packet 2, and the offline resource packet 3, and the corresponding download address, which need to be sent to the client device 1, and sends the identifier corresponding to the offline template packet 1, the identifier corresponding to the offline resource packet 1, the offline resource packet 2, and the identifier corresponding to the offline resource packet 3, and the corresponding download address to the client device after the determination.
S205, the client device searches the corresponding offline template package from the local according to the identifier of the offline template package, and downloads the corresponding offline resource package from the storage server device according to the identifier and the download address of the offline resource package;
the client device receives the identifier of the offline template packet, the identifier of the offline resource packet and the download address issued by the processing server device, on one hand, the corresponding offline template packet is searched locally according to the identifier corresponding to the offline template, and on the other hand, the corresponding offline resource packet is downloaded from the storage server device according to the identifier of the offline resource packet and the download address.
The identification of the offline template package can be the ID of the offline template package, the identification of the offline resource package can be the ID of the offline resource package, the client device searches the corresponding offline template package from the local according to the ID of the offline template package, and the client device downloads the corresponding offline resource package from the storage server device according to the ID and the download address of the offline resource package.
In addition, the client device may also search, based on the mapping relationship table entry, as shown in table 1, a name and/or a version of the corresponding offline template package from the local mapping relationship table entry according to the identifier of the offline template package, and may search, based on the name and/or the version of the offline template package, the corresponding offline template package.
And searching the name and/or version of the corresponding offline resource package from the local mapping relation table entry according to the identifier of the offline resource package, and downloading the offline resource package corresponding to the name and/or version of the offline resource package, such as offline resource package 1, offline resource package 2 and offline resource package 3, from the storage server device according to the download address of the offline resource package.
S206, the client equipment analyzes the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine so as to combine the offline template packet and the downloaded offline resource packet into an available offline packet;
if the server does not compress the offline template packet and the offline resource packet, the server can directly use a preset analysis engine to analyze the searched offline template packet and the downloaded offline resource packet so as to combine the offline template packet and the downloaded offline resource packet into an available offline packet; if the server compresses the offline template package and the offline resource package, the client device decompresses the found offline template package and the downloaded offline resource package, and the reusable resource file, the HTML code text, the Javascript code text, and the CSS code text of the preset type can be obtained after decompression.
For the offline template packet and the offline resource packet that are decompressed or do not need to be decompressed, the client device may use a preset parsing engine to parse the offline template packet and the offline resource packet, and may combine the offline template packet and the offline resource packet into a truly usable offline packet, that is, form an H5 application, where the preset parsing engine may be one of the following parsing engines: nunjucks analysis engine, Jade analysis engine, Ejs analysis engine, Xtemplate analysis engine. The analysis engines are special for Javascript, rich in functions and powerful, and can form the finally-operable H5 application by analyzing the offline resource package and the offline template package.
In the process of analyzing the decompressed offline template packet and the decompressed offline resource packet by using the preset analysis engine, the resource reference placeholder corresponding to the decompressed offline template packet is replaced by the local path corresponding to the decompressed offline resource packet, and finally the decompressed offline template packet and the decompressed offline resource packet are combined into the available offline packet.
And the subsequent client equipment renders the resources in the available offline package for display according to a preset rendering rule.
After the above steps, the available offline package may be finally re-formed, that is, the H5 application that can be run, and then the resource in the available offline package needs to be rendered according to a preset rendering rule for display, and the resource in the available offline package is a reusable resource file of a preset type in the offline resource package, where the reusable resource file of the preset type may be an audio type file, a video type file, an image type file, and the like as described above, where the resource in the available offline package may be specifically rendered according to a preset rendering model or rendering engine, and specific rendering implementation manners are many, and are not described herein any more.
According to the technical scheme provided by the embodiment of the present specification, the processing server device splits each offline package into an offline resource package and an offline template package in advance, wherein the offline resource package comprises reusable resource files of a preset type, the offline template package comprises other types of files except the reusable resource files, stores the offline resource package to the storage server device, and issues the offline template package required by the client device to the client device; the subsequent client equipment only needs to download the offline resource package, so that the repeated downloading of the offline template package (namely HTML code text, Javascript code text and CSS code text) by the client equipment is avoided, the consumption of bandwidth is reduced, and the offline resource package and the offline template package can be reused.
In order to more clearly explain the technical solutions provided by the embodiments of the present disclosure, the following describes the executed methods from a single-side perspective:
for the processing server device, the tasks to be executed are mainly as follows:
a, splitting each offline package into an offline resource package and an offline template package in advance; the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
b, storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment;
determining the identifier of the offline template packet, the identifier of the offline resource packet and a download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment;
d, issuing the identification of the offline template packet, the identification of the offline resource packet and a download address to the client equipment;
for the client device, the tasks that need to be performed are mainly as follows:
a, searching a corresponding offline template package from local according to the identifier of the offline template package, and downloading the corresponding offline resource package from the storage server equipment according to the identifier and the downloading address of the offline resource package;
and b, analyzing the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine to form an available offline packet.
With respect to the foregoing method embodiment, an embodiment of this specification further provides an offline packet reassembly device, which is applied to a processing server device, and as shown in fig. 4, the offline packet reassembly device may include: the system comprises a splitting module 410, a storage module 420, a first issuing module 430, a determining module 440 and a second issuing module 450.
The splitting module 410 is configured to split each offline package into an offline resource package and an offline template package in advance by the processing server device, where the offline resource package includes reusable resource files of a preset type, and the offline template package includes other types of files besides the reusable resource files;
the storage module 420 is configured to store the offline resource package to the storage server device;
a first issuing module 430, configured to issue the offline template packet required by the client device to the client device;
the determining module 440 is configured to determine, by the processing server device, an identifier of an offline template packet, an identifier of an offline resource packet, and a download address that currently need to be issued to the client device according to a preset issuing rule, where the preset issuing rule is used to control the identifier of the offline template packet, the identifier of the offline resource packet, and the download address that are issued to the client device;
the second issuing module 450 is configured to process the server device to issue the identifier of the offline template packet, the identifier of the offline resource packet, and the download address to the client device, so that the client device searches the corresponding offline template packet locally according to the identifier of the offline template packet, downloads the corresponding offline resource packet from the storage server device according to the identifier of the offline resource packet and the download address, and the client device analyzes the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine to combine the offline template packet and the downloaded offline resource packet into an available offline packet.
With respect to the foregoing method embodiment, an embodiment of the present specification further provides an offline packet reassembly device, which is applied to a client device, and as shown in fig. 5, the offline packet reassembly device may include: a receiving module 510, a searching module 520, a downloading module 530, and a reorganizing module 540.
A receiving module 510, configured to receive an identifier of an offline template packet, an identifier of an offline resource packet, and a download address issued by a processing server device;
the searching module 520 is configured to search a corresponding offline template packet locally according to the identifier of the offline template packet;
a downloading module 530, configured to download, from the storage server device, a corresponding offline resource package according to the identifier and the download address of the offline resource package;
the restructuring module 540 is configured to parse the searched offline template package and the downloaded offline resource package by using a preset parsing engine to combine them into an available offline package.
An embodiment of the present specification further provides an offline packet reassembly system, including: the method comprises the following steps that a processing server device and a client device are processed, wherein the processing server device comprises a plurality of offline packages:
the processing server side equipment splits each offline packet into an offline resource packet and an offline template packet in advance; storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment;
the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
the processing server equipment determines the identifier of an offline template packet, the identifier of an offline resource packet and a download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment;
the processing server equipment issues an identifier of an offline template packet, an identifier of an offline resource packet and a download address to the client equipment;
the client equipment searches the corresponding offline template package from the local according to the identifier of the offline template package, and downloads the corresponding offline resource package from the storage server equipment according to the identifier and the downloading address of the offline resource package;
the client device analyzes the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine so as to combine the offline template packet and the downloaded offline resource packet into an available offline packet.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
According to the technical scheme provided by the embodiment of the present specification, the processing server device splits each offline package into an offline resource package and an offline template package in advance, wherein the offline resource package comprises reusable resource files of a preset type, the offline template package comprises other types of files except the reusable resource files, stores the offline resource package to the storage server device, and issues the offline template package required by the client device to the client device; the subsequent client equipment only needs to download the offline resource package, so that the repeated downloading of the offline template package (namely HTML code text, Javascript code text and CSS code text) by the client equipment is avoided, the consumption of bandwidth is reduced, and the offline resource package and the offline template package can be reused.
Embodiments of the present specification further provide a computer device, as shown in fig. 6, the computer device may include: a processor 610, a memory 620, an input/output interface 630, a communication interface 640, and a bus 650. Wherein the processor 610, memory 620, input/output interface 630, and communication interface 640 are communicatively coupled to each other within the device via a bus 650.
The processor 610 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 620 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 620 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 620 and called by the processor 610 to be executed.
The input/output interface 630 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 640 is used for connecting a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 650 includes a pathway to transfer information between various components of the device, such as processor 610, memory 620, input/output interface 630, and communication interface 640.
It should be noted that although the above-mentioned devices only show the processor 610, the memory 620, the input/output interface 630, the communication interface 640 and the bus 650, in a specific implementation, the devices may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present specification further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the foregoing offline packet reassembly method. The method at least comprises the following steps:
an offline packet reassembly method is applied to a processing server device, wherein the processing server device comprises a plurality of offline packets, and the method comprises the following steps:
the processing server side equipment splits each offline packet into an offline resource packet and an offline template packet in advance; storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment;
the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
the processing server equipment determines the identifier of an offline template packet, the identifier of an offline resource packet and a download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment;
the processing server device issues the identifier of the offline template package, the identifier of the offline resource package and a download address to the client device, so that the client device searches the corresponding offline template package from the local according to the identifier of the offline template package, downloads the corresponding offline resource package from the storage server device according to the identifier of the offline resource package and the download address, and the client device analyzes the searched offline template package and the downloaded offline resource package by using a preset analysis engine to combine the offline package with an available offline package.
Embodiments of the present specification further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the foregoing offline packet reassembly method. The method at least comprises the following steps:
an off-line packet reassembly method is applied to a client device, and comprises the following steps:
receiving an identifier of an offline template packet, an identifier of an offline resource packet and a download address issued by a processing server device;
searching a corresponding offline template package from the local according to the identifier of the offline template package, and downloading the corresponding offline resource package from the storage server equipment according to the identifier and the downloading address of the offline resource package;
and analyzing the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine to form an available offline packet.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.

Claims (26)

1. An offline packet reassembly method is applied to an offline packet reassembly system, the system includes a processing server device and a client device, the processing server device includes a plurality of offline packets, and the method includes:
the processing server side equipment splits each offline packet into an offline resource packet and an offline template packet in advance; storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment;
the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
the processing server equipment determines the identifier of an offline template packet, the identifier of an offline resource packet and a download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment;
the processing server equipment issues an identifier of an offline template packet, an identifier of an offline resource packet and a download address to the client equipment;
the client equipment searches the corresponding offline template package from the local according to the identifier of the offline template package, and downloads the corresponding offline resource package from the storage server equipment according to the identifier and the downloading address of the offline resource package;
the client device analyzes the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine so as to combine the offline template packet and the downloaded offline resource packet into an available offline packet.
2. The method of claim 1, wherein the client device parses the searched offline template package and the downloaded offline resource package into an available offline package by using a preset parsing engine, and comprises:
the client device analyzes the searched offline template package and the downloaded offline resource package by using a preset analysis engine, and replaces the resource reference placeholder corresponding to the searched offline template package with the local path corresponding to the downloaded offline resource package to form an available offline package.
3. The method according to any one of claims 1 to 2,
the preset types include: audio type, video type, and/or image type.
4. The method according to any one of claims 1 to 2,
the preset analysis engine is one of the following analysis engines;
nunjucks analysis engine, Jade analysis engine, Ejs analysis engine, Xtemplate analysis engine.
5. The method according to any one of claims 1 to 2, wherein the identifier of the offline template package is obtained by mapping the name and/or version of the offline template package by using a preset mapping algorithm.
6. The method according to any one of claims 1 to 2, wherein the identifier of the offline resource package is obtained by mapping a name and/or a version of the offline resource package by using a preset mapping algorithm.
7. The method of claim 5, further comprising:
the processing server side equipment establishes a mapping relation table item of the identifier of the offline template packet and the name and/or version of the offline template packet;
and issuing the mapping relation table entry of the identifier of the offline template packet and the name and/or version of the offline template packet to the client equipment.
8. The method of claim 7, wherein the locally finding the corresponding offline template packet according to the identifier of the offline template packet comprises:
searching the name and/or version of the corresponding offline template package from the local mapping relation table entry according to the identifier of the offline template package;
and searching the corresponding offline template package according to the name and/or version of the offline template package.
9. The method of claim 6, further comprising:
the processing server side equipment establishes a mapping relation table item of the identifier of the offline resource packet and the name and/or version of the offline resource packet;
and issuing the mapping relation table entry of the identifier of the offline resource packet and the name and/or version of the offline resource packet to the client equipment.
10. The method of claim 9, wherein the downloading the corresponding offline resource package from the storage server device according to the identifier and the download address of the offline resource package comprises:
searching the name and/or version of the corresponding offline resource package from the local mapping relation table entry according to the identifier of the offline resource package;
and downloading the offline resource package corresponding to the name and/or the version of the offline resource package from the storage server side equipment according to the downloading address of the offline resource package.
11. An offline packet reassembly method is applied to a processing server device, wherein the processing server device comprises a plurality of offline packets, and the method comprises the following steps:
the processing server side equipment splits each offline packet into an offline resource packet and an offline template packet in advance; storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment;
the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
the processing server equipment determines the identifier of an offline template packet, the identifier of an offline resource packet and a download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment;
the processing server device issues the identifier of the offline template package, the identifier of the offline resource package and a download address to the client device, so that the client device searches the corresponding offline template package from the local according to the identifier of the offline template package, downloads the corresponding offline resource package from the storage server device according to the identifier of the offline resource package and the download address, and the client device analyzes the searched offline template package and the downloaded offline resource package by using a preset analysis engine to combine the offline package with an available offline package.
12. An off-line packet reassembly method is applied to a client device, and comprises the following steps:
receiving an identifier of an offline template packet, an identifier of an offline resource packet and a download address issued by a processing server device;
searching a corresponding offline template package from local according to the identifier of the offline template package, and downloading the corresponding offline resource package from the storage server equipment according to the identifier and the downloading address of the offline resource package; the offline resource packet and the offline template packet are obtained by the processing server device by splitting the offline packet in advance, storing the offline resource packet to the storage server device and issuing the offline template packet required by the client device to the client device; the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
and analyzing the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine to form an available offline packet.
13. An offline packet reassembly system, the system comprising: the method comprises the following steps that a processing server device and a client device are processed, wherein the processing server device comprises a plurality of offline packages:
the processing server side equipment splits each offline packet into an offline resource packet and an offline template packet in advance; storing the offline resource packet to storage server equipment, and issuing the offline template packet required by the client equipment to the client equipment;
the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
the processing server equipment determines the identifier of an offline template packet, the identifier of an offline resource packet and a download address which are required to be issued to the client equipment at present according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identifier of the offline template packet, the identifier of the offline resource packet and the download address which are issued to the client equipment;
the processing server equipment issues an identifier of an offline template packet, an identifier of an offline resource packet and a download address to the client equipment;
the client equipment searches the corresponding offline template package from the local according to the identifier of the offline template package, and downloads the corresponding offline resource package from the storage server equipment according to the identifier and the downloading address of the offline resource package;
the client device analyzes the searched offline template packet and the downloaded offline resource packet by using a preset analysis engine so as to combine the offline template packet and the downloaded offline resource packet into an available offline packet.
14. The system of claim 13, the client device to reassemble available offline packages by:
the client device analyzes the searched offline template package and the downloaded offline resource package by using a preset analysis engine, and replaces the resource reference placeholder corresponding to the searched offline template package with the local path corresponding to the downloaded offline resource package to form an available offline package.
15. The system according to any one of claims 13 to 14,
the preset types include: audio type, video type, and/or image type.
16. The system according to any one of claims 13 to 14,
the preset analysis engine is one of the following analysis engines:
nunjucks analysis engine, Jade analysis engine, Ejs analysis engine, Xtemplate analysis engine.
17. The system according to any one of claims 13 to 14, wherein the identifier of the offline template package is obtained by mapping the name and/or version of the offline template package by using a preset mapping algorithm.
18. The system according to any one of claims 13 to 14, wherein the identifier of the offline resource package is obtained by mapping a name and/or a version of the offline resource package by using a preset mapping algorithm.
19. The system of claim 17, further comprising:
the processing server side equipment establishes a mapping relation table item of the identifier of the offline template packet and the name and/or version of the offline template packet;
and issuing the mapping relation table entry of the identifier of the offline template packet and the name and/or version of the offline template packet to the client equipment.
20. The system of claim 19, wherein the processing server device searches for the offline template package by specifically searching for the offline template package;
searching the name and/or version of the corresponding offline template package from the local mapping relation table entry according to the identifier of the offline template package;
and searching the corresponding offline template package according to the name and/or version of the offline template package.
21. The system of claim 18, further comprising:
the processing server side equipment establishes a mapping relation table item of the identifier of the offline resource packet and the name and/or version of the offline resource packet;
and issuing the mapping relation table entry of the identifier of the offline resource packet and the name and/or version of the offline resource packet to the client equipment.
22. The system of claim 21, wherein the processing server device downloads the offline resource package specifically by:
searching the name and/or version of the corresponding offline resource package from the local mapping relation table entry according to the identifier of the offline resource package;
and downloading the offline resource package corresponding to the name and/or the version of the offline resource package from the storage server side equipment according to the downloading address of the offline resource package.
23. An offline packet reassembly device applied to processing server devices, the device comprising:
the server side equipment is used for processing the offline resource packages, wherein each offline package is divided into an offline resource package and an offline template package in advance, the offline resource packages comprise reusable resource files of preset types, and the offline template packages comprise other types of files except the reusable resource files;
the storage module is used for storing the offline resource packet to the storage server-side equipment;
the first issuing module is used for issuing the offline template packet required by the client equipment to the client equipment;
the determining module is used for processing the identification of the offline template packet, the identification of the offline resource packet and the download address which are required to be issued to the client equipment currently by the server equipment according to a preset issuing rule, wherein the preset issuing rule is used for controlling the identification of the offline template packet, the identification of the offline resource packet and the download address which are issued to the client equipment;
and the second issuing module is used for processing the identifier of the offline template packet, the identifier of the offline resource packet and a download address issued by the server-side equipment to the client-side equipment so that the client-side equipment can locally search the corresponding offline template packet according to the identifier of the offline template packet, download the corresponding offline resource packet from the storage server-side equipment according to the identifier of the offline resource packet and the download address of the offline resource packet, and analyze the searched offline template packet and the downloaded offline resource packet by the client-side equipment by using a preset analysis engine so as to combine the searched offline template packet and the downloaded offline resource packet into an available offline packet.
24. An offline packet reassembly device applied to a client device, the device comprising:
the receiving module is used for receiving the identifier of the offline template packet, the identifier of the offline resource packet and the download address issued by the processing server equipment;
the searching module is used for locally searching the corresponding offline template packet according to the identifier of the offline template packet;
the downloading module is used for downloading the corresponding offline resource package from the storage server side equipment according to the identifier and the downloading address of the offline resource package; the offline resource packet and the offline template packet are obtained by the processing server device by splitting the offline packet in advance, storing the offline resource packet to the storage server device and issuing the offline template packet required by the client device to the client device; the offline resource package comprises reusable resource files of preset types, and the offline template package comprises other types of files except the reusable resource files;
and the recombination module is used for analyzing the searched offline template packet and the downloaded offline resource packet by utilizing a preset analysis engine so as to combine the offline template packet and the downloaded offline resource packet into an available offline packet.
25. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of claim 11 when executing the program.
26. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of claim 12 when executing the program.
CN201811591231.9A 2018-12-25 2018-12-25 Offline packet reassembly method and system Active CN109962972B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811591231.9A CN109962972B (en) 2018-12-25 2018-12-25 Offline packet reassembly method and system
CN202111026918.XA CN113873013B (en) 2018-12-25 2018-12-25 Offline package reorganization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811591231.9A CN109962972B (en) 2018-12-25 2018-12-25 Offline packet reassembly method and system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202111026918.XA Division CN113873013B (en) 2018-12-25 2018-12-25 Offline package reorganization method and system

Publications (2)

Publication Number Publication Date
CN109962972A CN109962972A (en) 2019-07-02
CN109962972B true CN109962972B (en) 2021-07-30

Family

ID=67023387

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201811591231.9A Active CN109962972B (en) 2018-12-25 2018-12-25 Offline packet reassembly method and system
CN202111026918.XA Active CN113873013B (en) 2018-12-25 2018-12-25 Offline package reorganization method and system

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202111026918.XA Active CN113873013B (en) 2018-12-25 2018-12-25 Offline package reorganization method and system

Country Status (1)

Country Link
CN (2) CN109962972B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045747A (en) * 2019-11-06 2020-04-21 用友网络科技股份有限公司 H5 mobile application rapid loading method, system, terminal and storage medium
WO2021248466A1 (en) * 2020-06-12 2021-12-16 深圳市欢太科技有限公司 File distribution method and apparatus, and electronic device and computer readable storage medium
CN112256208B (en) * 2020-11-02 2023-07-28 南京云信达科技有限公司 Offline data packet storage analysis method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446960A (en) * 2008-12-30 2009-06-03 深圳市茁壮网络技术有限公司 Method for browsing web page at digital television terminal and browser thereof
CN102609425A (en) * 2010-10-20 2012-07-25 微软公司 Template for displaying data
CN106649081A (en) * 2015-11-03 2017-05-10 阿里巴巴集团控股有限公司 Method and apparatus for debugging offline package running in client application
CN107203555A (en) * 2016-03-17 2017-09-26 阿里巴巴集团控股有限公司 Page loading processing method and device
CN107451184A (en) * 2017-06-19 2017-12-08 阿里巴巴集团控股有限公司 Page display method and device, user equipment, storage medium
CN108717359A (en) * 2018-05-10 2018-10-30 北京酷我科技有限公司 A kind of update method based on the APP modules wrapped offline

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080086540A1 (en) * 2006-10-06 2008-04-10 James Scott Method and system for executing a normally online application in an offline mode
CN103108035A (en) * 2013-01-17 2013-05-15 深圳市中兴移动通信有限公司 Application localization method and device based on web-based operating system (WEBOS)
CN104657170A (en) * 2013-11-25 2015-05-27 腾讯科技(上海)有限公司 Data updating method, device and system
CN104735041B (en) * 2013-12-24 2018-12-14 华为终端(东莞)有限公司 Offline resources acquisition methods and device
US9948709B2 (en) * 2015-01-30 2018-04-17 Akamai Technologies, Inc. Using resource timing data for server push in multiple web page transactions
CN106331049A (en) * 2015-07-03 2017-01-11 阿里巴巴集团控股有限公司 Resource caching method, cache resource updating method, client, server and system
CN108241902A (en) * 2016-12-23 2018-07-03 南京壹进制信息技术股份有限公司 A kind of Web projects and performance optimization method
CN108287839B (en) * 2017-01-09 2022-01-28 阿里巴巴集团控股有限公司 Page loading method and equipment
CN113536174A (en) * 2017-06-23 2021-10-22 创新先进技术有限公司 Interface loading method, device and equipment
CN108345632B (en) * 2017-12-29 2020-12-11 中国平安财产保险股份有限公司 Method, device and equipment for calling H5 page and computer readable storage medium
CN108334562A (en) * 2018-01-09 2018-07-27 阿里巴巴集团控股有限公司 A kind of page display method and device
CN108491365A (en) * 2018-02-02 2018-09-04 方欣科技有限公司 A kind of PDF splits the method and device of combination according to different business automatically
CN108804108A (en) * 2018-05-28 2018-11-13 北京酷我科技有限公司 It is a kind of based on the weak H5 page parsing methods wrapped offline
CN108762807B (en) * 2018-05-28 2022-03-25 北京酷我科技有限公司 H5 page analysis method based on strongly-separated solenoid

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446960A (en) * 2008-12-30 2009-06-03 深圳市茁壮网络技术有限公司 Method for browsing web page at digital television terminal and browser thereof
CN102609425A (en) * 2010-10-20 2012-07-25 微软公司 Template for displaying data
CN106649081A (en) * 2015-11-03 2017-05-10 阿里巴巴集团控股有限公司 Method and apparatus for debugging offline package running in client application
CN107203555A (en) * 2016-03-17 2017-09-26 阿里巴巴集团控股有限公司 Page loading processing method and device
CN107451184A (en) * 2017-06-19 2017-12-08 阿里巴巴集团控股有限公司 Page display method and device, user equipment, storage medium
CN108717359A (en) * 2018-05-10 2018-10-30 北京酷我科技有限公司 A kind of update method based on the APP modules wrapped offline

Also Published As

Publication number Publication date
CN109962972A (en) 2019-07-02
CN113873013B (en) 2023-06-16
CN113873013A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
US9536261B2 (en) Resolving conflicts within saved state data
CN109962972B (en) Offline packet reassembly method and system
US20170109371A1 (en) Method and Apparatus for Processing File in a Distributed System
CN111580879A (en) Applet running method and device, electronic equipment and computer storage medium
KR20170016347A (en) Enhanced updating for digital content
US10430182B2 (en) Enhanced compression, encoding, and naming for resource strings
WO2016058488A1 (en) Method and device for providing sdk files
CN113312032B (en) Front-end project resource updating method and device, electronic equipment and storage medium
CN107479868B (en) Interface loading method, device and equipment
JP2021103506A (en) Method and device for generating information
US9467166B2 (en) Enhanced compression, encoding, and naming for resource strings
US10467001B2 (en) Enhanced compression, encoding, and naming for resource strings
CN108958826B (en) Method and device for dynamically configuring application installation package
CN111478956A (en) Deployment and preview method and device of small program package
CN111625308B (en) Information display method and device and electronic equipment
US8706803B1 (en) Client-side generation of preliminary version of network page
CN111680799A (en) Method and apparatus for processing model parameters
CN114356335A (en) Data processing method, device, equipment and medium
US9886442B2 (en) Enhanced compression, encoding, and naming for resource strings
CN112947900B (en) Web application development method and device, server and development terminal
CN111078900B (en) Data risk identification method and system
CN110297945B (en) Data information processing method and system based on XBRL
CN112148744A (en) Page display method and device, electronic equipment and computer readable medium
CN116127219A (en) Method and device for displaying pages in applet and computer equipment
CN112528593B (en) Document processing method, device, electronic equipment and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20201013

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201013

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant