CN107357890B - Webpage file processing method, device and system and storage equipment - Google Patents

Webpage file processing method, device and system and storage equipment Download PDF

Info

Publication number
CN107357890B
CN107357890B CN201710563993.7A CN201710563993A CN107357890B CN 107357890 B CN107357890 B CN 107357890B CN 201710563993 A CN201710563993 A CN 201710563993A CN 107357890 B CN107357890 B CN 107357890B
Authority
CN
China
Prior art keywords
webpage
file
static resource
information
resource file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710563993.7A
Other languages
Chinese (zh)
Other versions
CN107357890A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710563993.7A priority Critical patent/CN107357890B/en
Publication of CN107357890A publication Critical patent/CN107357890A/en
Application granted granted Critical
Publication of CN107357890B publication Critical patent/CN107357890B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a method, a device and a system for processing a webpage file and a storage device, which are applied to the technical field of information processing. In the method of this embodiment, after initiating a web request, a web page module of a terminal device receives link information of a static resource file including web page version information, and if the static resource file corresponding to the web page version information is not stored in an application module of the terminal device, the corresponding static resource file is acquired from a content delivery network source. Therefore, the consistency of the static resource files obtained by the webpage module in the webpage displaying process and the static resource files stored in the content distribution network source can be ensured through the webpage version information, so that the static resource files of the latest version stored in the content distribution network source can be in effect immediately. In addition, in the embodiment of the invention, the application module stores the static resource file, so that the searching of the static resource file is facilitated, and only the searching is carried out in the storage space corresponding to the application module.

Description

Webpage file processing method, device and system and storage equipment
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method, an apparatus, a system, and a storage device for processing a web page file.
Background
Many hybrid applications (such as user space, etc.) can provide a user interface including an interface for starting another application in a user interface provided by one application, for example, an interface for a web page presentation application is introduced into a user interface of a certain application, so that part of content in the application is presented in the form of a web page, and thus, the effects of cross-platform development and rapid content update can be achieved.
In the prior art, when a web page display application program displays a web page for the first time, some files related to the web page, such as static resource files like js files, may be stored, so that when the web page display application program displays the web page again, the web page display may be performed according to the static resource files stored by the web page display application program. However, after the developer issues the static resource file of the latest version, the web page display application program may still perform web page display according to the previously stored static resource file, which may cause the situation that the web page displayed by the web page display application program is inconsistent with the web page of the new version, so that the web page of the new version does not take effect in time.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for processing a webpage file and a storage device, which realize the acquisition of the static resource file according to webpage version information in link information of the static resource file returned by a webpage server.
A first aspect of an embodiment of the present invention provides a method for processing a web page file, which is applied to a terminal device including an application module and a web page module, and includes:
after the application module starts the webpage module, the webpage module sends a webpage request to a webpage server;
the webpage module receives link information of a webpage file and a static resource file returned by the webpage server according to the webpage request, wherein the link information comprises webpage version information;
if the static resource file corresponding to the webpage version information is not stored in the application module, the webpage module acquires the static resource file corresponding to the webpage version information from a content distribution network source according to the link information of the static resource file;
and the webpage module displays a webpage according to the webpage file and the static resource file.
A second aspect of the embodiments of the present invention provides a method for processing a web page file, including
A first file publishing device acquires a static resource file and first identification information of the static resource file, wherein the first identification information comprises webpage version information of the static resource file;
the first file publishing device publishes the static resource file and the first identification information of the static resource file to a content distribution network source for storage;
and when the release state of the static resource file is release completion, the first file release device stores the corresponding relation between the webpage version information and the second identification information of the static resource file in a storage system, so that a webpage server can obtain the webpage version information corresponding to any second identification information, and the second identification information does not include the webpage version information.
A third aspect of the embodiments of the present invention provides a web document processing apparatus, including: the system comprises an application module and a webpage module, wherein the webpage module comprises a request sending unit, an information receiving unit, a file acquiring unit and a webpage display unit, wherein:
the application module is used for starting the webpage module and storing a static resource file;
the request sending unit is used for sending a webpage request to a webpage server after the application module starts the webpage module;
the information receiving unit is used for receiving link information of the webpage file and the static resource file returned by the webpage server according to the webpage request, wherein the link information comprises webpage version information;
the file acquisition unit is used for acquiring a static resource file corresponding to the webpage version information from a content distribution network source according to the link information of the static resource file if the static resource file corresponding to the webpage version information is not stored in the application module;
and the webpage display unit is used for displaying the webpage according to the webpage file and the static resource file.
A fourth aspect of the embodiments of the present invention provides a file publishing device, including:
the information acquisition unit is used for acquiring a static resource file and first identification information of the static resource file, wherein the first identification information comprises webpage version information of the static resource file;
the first issuing unit is used for issuing the static resource file and the first identification information of the static resource file to a content distribution network source for storage;
the second publishing unit is used for storing the corresponding relation between the webpage version information and the second identification information of the static resource file into a storage system after the publishing state of the static resource file is publishing completion so that the webpage server can obtain the webpage version information corresponding to any second identification information; the second identification information does not include the web page version information.
A fifth aspect of the embodiments of the present invention provides a storage device, where the storage device stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method for processing a web page file according to any one of the first aspect to the third aspect of the embodiments of the present invention.
A sixth aspect of the present invention provides a system for publishing a web document, including: terminal equipment, web server and content distribution network source, wherein:
the terminal device is a web document processing apparatus according to the third aspect of the embodiment of the present invention;
the web server is used for receiving a web request sent by the terminal equipment and returning a corresponding web file and link information of a static resource file to the terminal equipment according to the web request, wherein the link information of the static resource file comprises web version information; the content distribution network source is used for storing static resource files.
It can be seen that, after initiating a web page request, a web page module of the terminal device receives link information of a static resource file including web page version information, and if the application module of the terminal device does not store the static resource file corresponding to the web page version information, the web page module acquires the corresponding static resource file from the content distribution network source. Therefore, the consistency of the static resource files obtained by the webpage module in the webpage displaying process and the static resource files stored in the content distribution network source can be ensured through the webpage version information, so that the static resource files of the latest version stored in the content distribution network source can be in effect immediately. In addition, in the embodiment of the invention, the application module stores the static resource file, so that the searching of the static resource file is facilitated, and only the searching is carried out in the storage space corresponding to the application module.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1a is a schematic structural diagram of a web document processing system according to an embodiment of the present invention;
FIG. 1b is a schematic structural diagram of another web document processing system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for processing a web document according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for processing a web document according to another embodiment of the present invention;
FIG. 4 is a flowchart of another method for processing a web document according to another embodiment of the present invention;
FIG. 5 is a diagram illustrating a webpage document processing scenario according to an embodiment of the present invention;
FIG. 6 is a flowchart of a method for publishing a web document according to an embodiment of the present invention;
FIG. 7 is a flowchart of a method for processing a web document according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a web document processing apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a document issuing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a web server according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
An embodiment of the present invention provides a method for processing a web page file, which is mainly applicable to a web page file processing system shown in fig. 1a and 1b, where the web page file processing system shown in fig. 1a includes a terminal device, a web page server, and a Content Delivery Network (CDN) source, where the terminal device includes an application module and a web page module. In this embodiment, after the application module of the terminal device starts the web page module, the web page module sends a web page request to the web page server, and when the web page module receives link information of a web page file and a static resource file returned by the web page server according to the web page request, the link information includes web page version information; if the application module stores the static resource file corresponding to the webpage version information, the webpage module acquires the static resource file from the application module and displays a webpage according to the webpage file and the static resource file, and if the application module does not store the static resource file corresponding to the webpage version information, the webpage module acquires the static resource file corresponding to the webpage version information from the content distribution network source according to the link information of the static resource file and then displays the webpage according to the webpage file and the static resource file.
Therefore, the consistency of the static resource files obtained by the webpage module in the webpage displaying process and the static resource files stored in the content distribution network source can be ensured through the webpage version information, so that the static resource files of the latest version stored in the content distribution network source can be in effect immediately.
Further, as shown in fig. 1b, the web page file processing system further includes a first file publishing device and a storage system, in this embodiment, the first file publishing device obtains the static resource file and first identification information of the static resource file, where the first identification information includes web page version information of the static resource file; the first file publishing device publishes the static resource file and the first identification information of the static resource file to a content distribution network source for storage; when the release state of the static resource file is release completion, the first file release device stores the corresponding relation between the webpage version information and the second identification information of the static resource file in the storage system, so that the webpage server can obtain the webpage version information corresponding to any second identification information, and the second identification information does not include the webpage version information.
The first file publishing device sends the first identification information of the static resource file carrying the webpage version information to the content distribution network source, so that the consistency of the static resource file stored in the content distribution network source and the static resource file acquired from the terminal equipment can be ensured through the webpage version information. The first file publishing device sends the webpage version information to the storage system after the static resource file is published, so that the webpage server can obtain the webpage version information corresponding to the newly published static resource file with certainty and return the webpage version information to the terminal equipment, and consistency of the content distribution network source and the terminal equipment based on the static resource file is further ensured.
An embodiment of the present invention provides a method for processing a web page file, which is a method executed by a terminal device in the web page file processing system, and a flowchart is shown in fig. 2, where the method includes:
step 101, after the application module starts the web page module, the web page module sends a web page request to the web page server.
It can be understood that the user may operate the terminal device, so that the application module of the terminal device displays a user interface, and the user interface includes an interface for starting the web page module, so that the user may trigger the interface, so that the application module starts the web page module.
After the application module starts the web page module, the web page module may initiate a web page request, where the web page request includes information such as a user identifier and link information of the web page server, e.g., a Uniform Resource Locator (URL), and thus the corresponding web page server can receive the web page request; the web server can acquire the corresponding web file according to the web request, acquire the web version information corresponding to the web request, splice the web version information with the original link information of the static resource file in real time, and return the web file and the link information of the spliced static resource file to the web module of the terminal device.
And the web server may also splice the check code, such as Message Digest Algorithm fifth version (MD 5), into the original link information of the static resource file.
The web page file is specifically an outgoing file of a web page, such as a Hyper Text Markup Language (HTML) file; the static resource file is specifically an asynchronous file, and may be a js (javascript) script file, and/or a Cascading Style Sheet (CSS) file, and the like.
For example, an application module (e.g., QQ) for instant messaging of a user may display a button for starting a web page module of a user space (e.g., QQ space) on a user interface, so that when the user clicks the button, the application module for instant messaging of the user may start the web page module of the user space, and the web page module of the user space may send a web page request to a server of the user space.
Step 102, the web page module receives link information of a web page file and a static resource file returned by the web page server according to the web page request, wherein the link information comprises web page version information.
103, the webpage module judges whether the application module stores the static resource file corresponding to the webpage version information, if so, the webpage module executes the steps 104 and 105; if not, the web page module performs steps 106 and 105.
In a specific application, the application module may store the static resource files corresponding to the web page version information files in the storage space corresponding to the application module, and specifically, the application module may store a corresponding relationship between identification information of the static resource files and the static resource files, where the identification information of the static resource files may be web page version information, or a hash value obtained by performing hash calculation on link information including the web page version information.
Thus, when the web page module performs the determination of step 103, the web page module may transmit the link information or the web page version information of the static resource file received in step 102 to the application module through the query request. Thus, the application module may determine an identification information (for example, a hash calculation value of the link information, or web page version information, etc.) according to the link information or the web page version information included in the query request, query whether the storage space of the application module stores a static resource file corresponding to the determined identification information, and return a query result (stored or not stored result) to the web page module. The web page module can judge through the query result.
And 104, the webpage module acquires the static resource file from the application module.
And 105, displaying the webpage according to the webpage file and the static resource file by the webpage module.
And 106, the webpage module acquires the static resource file corresponding to the webpage version information from the content distribution network source according to the link information of the static resource file.
Further, after the step 106 is executed, the web page module may transmit the static resource file, and the link information or the web page version information of the static resource file to the application module; the application module determines the identification information of the static resource file according to the link information or the webpage version information of the static resource file, and correspondingly stores the determined identification information and the static resource file. When the application module stores the static resource file, a certain storage space is allocated according to the type of the static resource file, and the determined identification information and the static resource file are correspondingly stored in the allocated storage space.
And the application module can also regularly trigger the deletion operation of the static resource files stored in the storage space of the application module, thereby improving the utilization rate of the storage space. Specifically, if a certain static resource file stored in the application module meets any one of the following conditions, the application module deletes the static resource file: the interval between the creation time of the static resource file and the current time exceeds the preset time, the use frequency of the static resource file does not exceed the preset times, the resource quota corresponding to the static resource file is full, and the like.
It can be seen that, in the method of this embodiment, after initiating a web page request, a web page module of a terminal device receives link information of a static resource file including web page version information, and if the application module of the terminal device does not store the static resource file corresponding to the web page version information, obtains the corresponding static resource file from a content delivery network source. Therefore, the consistency of the static resource files obtained by the webpage module in the webpage displaying process and the static resource files stored in the content distribution network source can be ensured through the webpage version information, so that the static resource files of the latest version stored in the content distribution network source can be in effect immediately. In addition, in the embodiment of the invention, the application module stores the static resource file, so that the searching of the static resource file is facilitated, the searching can be carried out only in the storage space corresponding to the application module, and the off-line processing can be carried out on the static resource file.
An embodiment of the present invention provides a method for processing a web document, which is mainly a method executed by a first document publishing device in the web document processing system, and a flowchart is shown in fig. 3, where the method includes:
in step 201, a first file publishing device obtains a static resource file and first identification information of the static resource file, where the first identification information includes web version information of the static resource file.
It can be understood that, a developer may send information such as the static resource files of the respective versions and names of the static resource files to the first file publishing device through the publishing client. The static resource file is specifically an asynchronous file, and may be a js script file and/or a CSS file, etc.
In one case, the developer may directly add the web page version information to the name of the static resource file through the publishing client to form the first identification information, so that the first identification information of the static resource file sent by the publishing client to the first file publishing device includes the web page version information.
In another case, the developer may send the web page version information and the name of the static resource file to the first file publishing device through the publishing client. After the first file publishing device receives the name of the static resource file sent by the publishing client, the webpage version information is added to the name of the static resource file to generate first identification information of the static resource file. For example, the name of the static resource file is index.
Step 202, the first file publishing device publishes the static resource file and the first identification information of the static resource file to the content distribution network source for storage. Because the first identification information of the static resource file comprises the webpage version information, the corresponding relation between the webpage version information and the static resource file is stored in the content distribution network source.
Step 203, after the release status of the static resource file is release finished, the first file release apparatus stores the corresponding relationship between the web page version information and the second identification information of the static resource file in the storage system, so that the web page server can obtain the web page version information corresponding to any one of the second identification information, where the second identification information does not include the web page version information.
Here, the fact that the publishing status of the static resource file is publishing completed means that: the first file publishing device publishes the static resource file and the first identification information of the static resource file to the content distribution network source, and completes step 202. When the first document distribution apparatus determines that the distribution apparatus of the static resource document is finished, the first document distribution apparatus will execute this step 203.
Here, the second identification information of the static resource file may be a version control (SVN) address of the static resource file, the SVN address being address information converted from link information (such as a URL address) of the static resource file, and being fixed, wherein a specific conversion policy is preset in the first file publishing device.
It should be noted that the first identification information is different from the second identification information, and the main difference is that the first identification information includes web page version information, but both can be used to uniquely identify a certain static resource file.
Further, the first file publishing device may further send information such as the publishing time of the static resource file to the storage system, where the publishing time is a time when the publishing state of the static resource file is converted from publishing to publishing completion.
After the storage system receives the corresponding relationship sent by the first file publishing device, if the second identification information of the static resource file, the corresponding relationship of the web page version information list and the publishing time list are stored in the storage system, the storage system stores the web page version information into the web page version information list, and can also correspondingly store the publishing time of the static resource file corresponding to the web page version information into the publishing time list. If the corresponding relation is not stored in the storage system, the storage system stores the corresponding relation of the second identification information of the static resource file, the webpage version information list and the release time list, and the webpage version information list comprises the webpage version information.
The number of the web page version information stored in the web page version information list is limited, for example, 5, and when the number of the web page version information stored in the web page version information list reaches the limited number (for example, 5), and new web page version information needs to be stored again, the storage system deletes the web page version information stored for the longest time, and then stores the new web page version information.
Furthermore, the developer can also set the release policy of the static resource file of each version through the release client, and send the release policy information of the static resource file corresponding to the webpage version information to the first file release device through the release client. Therefore, after receiving the release strategy information of the static resource file corresponding to the webpage version information sent by the release client, the first file release device also sends the release strategy information to the storage system for storage. The storage system stores the publishing policy information and corresponds to the second identification information of the static resource file.
Wherein the release policy information is used to indicate at least one of the following policies: full release, default release, termination of gray release, custom strategy and the like. The full release means that all terminal devices corresponding to the user identifications use the strategy of the static resource file of the latest version; the default release refers to taking static resource files corresponding to certain webpage version information into effect in terminal equipment corresponding to certain user identifications according to a preset period; stopping the gray scale release refers to stopping adopting a default release strategy, namely stopping the static resource file of the new version from taking effect in the terminal equipment; the custom policy may be another policy set by the developer through the publishing client.
Therefore, developers can send any version of static resource files to the first file publishing device through the publishing client, and then set the version of static resource files to take effect in terminal equipment of certain user identifications, so that gray-scale publishing of the static resource files is achieved.
It can be seen that, in the method of this embodiment, the first file publishing device sends the first identification information of the static resource file carrying the web version information to the content distribution network source, so that the consistency between the static resource file stored in the content distribution network source and the static resource file acquired in the terminal device can be ensured through the web version information. In this embodiment, the first file publishing device sends the web version information to the storage system after the static resource file is published, so that the web server can definitely obtain the web version information corresponding to the newly published static resource file and return the web version information to the terminal device, thereby further ensuring the consistency of the content distribution network source and the terminal device based on the static resource file.
It should be noted that, in a specific embodiment, the developer may also monitor the publishing state of the static resource file through another monitoring platform, and if the publishing state is the publishing completion, that is, after the step 202 is completed, the developer may publish the code information of the web page file module corresponding to the web page version information to the web page server through another file publishing device (for example, a second file publishing device), and the web page server stores the code information of the web page file module after receiving the code information of the web page file module. The web page file module is configured to execute a series of operations according to the web page request of the terminal device, where the operations include generating a web page file and generating link information of a static resource file including web page version information, and the code information of the web page file module includes original link information of the static resource file, and the web page file is specifically a straight-out file of a web page, such as an HTML file.
Thus, for the web server, the processing of the web file can be implemented according to the following steps, and the flowchart is shown in fig. 4 and includes:
step 301, the web server receives a web request sent by a web module in the terminal device, and calls the web file module. The web page request is used for requesting the web page server to return a corresponding web page file, and the web page request may include information such as a user identifier.
It is understood that if the web server receives the web page request, the web page file module can be called, that is, the stored code information of the web page file module is loaded, and the web page file module executes the following step 302.
Step 302, the web page file module acquires corresponding web page version information according to the web page request, and generates link information of the corresponding web page file and the static resource file, where the link information includes the web page version information, and the link information may further include information such as a check code.
Specifically, the web page file module sends a web page version information obtaining request to the storage system according to the received web page request, where the web page version information obtaining request includes a user identifier and second identifier information of the static resource file, the second identifier information may be information converted according to link information (i.e. original link information) of the static resource file, such as a URL address, such as an SVN address, where the conversion policy is preset in the web page server and is consistent with the conversion policy stored in the first file publishing device, and the original link information of the static resource file is included in code information of the web page file module.
In this way, after receiving the web page version information acquisition request, the storage system determines the latest web page version information corresponding to the latest release time in the release time list corresponding to the second identification information of the static resource file. Determining whether the latest webpage version information is effective to the terminal equipment corresponding to the user identifier in the webpage version information acquisition request according to the release strategy information corresponding to the second identifier information of the static resource file, and if the latest webpage version information is effective, sending the latest webpage version information to the webpage server by the storage system; if the webpage version information does not take effect, the storage system acquires the taken-effect webpage version information and sends the taken-effect webpage version information to a webpage file module of the webpage server.
Step 303, the web server sends the link information of the web page file and the static resource file generated in step 302 to the web module of the terminal device, and the processing method after the web module receives the link information of the web page file and the static resource file is described in the above embodiments and is not described herein again.
The following describes the method for processing a web document according to a specific application implementation, which may be mainly applied to a web document processing scenario shown in fig. 5, and is mainly implemented by adding a monitoring platform, a publishing client and a second document publishing device on the basis of the system shown in fig. 1b, where the monitoring platform is configured to monitor a publishing state of a static resource document by a first document publishing device and obtain information about whether to complete publishing; the publishing client is a client corresponding to the first file publishing device and can log in the first file publishing device through the publishing client; the storage system in the system can be Tencent Cloud storage (CMEM); the second file publishing device is mainly used for publishing the code information of the webpage file module to the webpage server for storage according to the publishing state of the static resource file acquired by the monitoring platform.
In this embodiment, the web page file is a direct file of a web page, specifically an HTML file, and the static resource file is an asynchronous file, specifically a js file and/or a CSS file, and the like. The web page file processing method of the embodiment mainly comprises the following parts:
(1) The first file publishing device publishes a new version of asynchronous file, the second file publishing device publishes the code information of the web page file module, and the flow chart is as shown in fig. 6, and includes:
step 401, a user operates a publishing client, and sends asynchronous files, publishing policy information and first identification information of the asynchronous files of a certain version to a first file publishing device through the publishing client, wherein the first identification information of the asynchronous files comprises webpage version information, specifically a version number.
Step 402, the first file publishing device publishes the asynchronous file and the first identification information thereof to the content distribution network source for corresponding storage.
Step 403, when the first file publishing device determines that the asynchronous file and the first identification information thereof have been successfully sent, that is, the publishing state of the asynchronous file is publishing completed, sending the second identification information, the publishing policy information, the publishing time and the version number of the asynchronous file to the storage system. The second identification information of the asynchronous file does not include the version number, and is converted according to the link information of the asynchronous file.
The storage system stores the second identification information of the asynchronous file, the release policy information, the corresponding relationship between the release time list and the version number list, and the version number list comprises the received version number.
In step 404, the user monitors, through the monitoring platform, that the publishing state of the asynchronous file of the first file publishing device is publishing completed, and the version number and the second identification information are also sent to the storage system, then step 405 is executed.
In step 405, the user sends the code information of the straight-out file module (i.e., the web page file module) corresponding to the version number to the web page server through the second file publishing device for storage.
(2) The terminal device initiates a web page request, and the flowchart is shown in fig. 7, and includes:
step 501, after the application module of the terminal device starts the web page module, the web page module sends a web page request to the web page server, where the web page request includes information such as a user identifier.
Step 502, after receiving the web page request, the web page server calls the straight-out file module, and the straight-out file module acquires a corresponding version number from the storage system according to the web page request, and generates link information of the straight-out file and the asynchronous file, wherein the link information includes the acquired version number.
Step 503, the web server returns the link information of the outbound document and the asynchronous document generated by the outbound document module to the web module of the terminal device.
Step 504, the web page module judges whether the storage space corresponding to the application module of the terminal device stores the asynchronous file corresponding to the version number according to the version number in the link information of the asynchronous file, and if so, the web page is displayed according to the asynchronous file and the direct-out file.
Step 505, if the storage space corresponding to the application module of the terminal device does not store the asynchronous file corresponding to the version number, the web page module acquires the corresponding asynchronous file from the content distribution network source according to the link information of the asynchronous file, and then displays the web page according to the acquired asynchronous file and the direct-out file.
An embodiment of the present invention further provides a web page file processing apparatus, such as the terminal device described above, where a schematic structural diagram of the apparatus is shown in fig. 8, and the apparatus may specifically include: the application module 10 and the web page module 11, wherein the web page module 11 includes a request sending unit 110, an information receiving unit 111, a file obtaining unit 112 and a web page display unit 113, wherein:
the application module 10 is used for starting the webpage module 11 and storing static resource files;
a request sending unit 110, configured to send a web page request to a web page server after the application module 10 starts the web page module 11;
an information receiving unit 111, configured to receive link information of a web page file and a static resource file returned by the web page server according to the web page request sent by the request sending unit 110, where the link information includes web page version information;
a file obtaining unit 112, configured to, if a static resource file corresponding to the web page version information is not stored in the application module 10, obtain the static resource file corresponding to the web page version information from a content delivery network source according to the link information of the static resource file received by the information receiving unit 111;
a web page display unit 113, configured to display a web page according to the web page file acquired by the file acquisition unit 112 and the static resource file received by the information receiving unit 111.
Further, the file obtaining unit 112 is further configured to, if a static resource file corresponding to the webpage version information is stored in the application module 10, and before the webpage displaying unit 113 displays the webpage according to the webpage file and the static resource file, obtain the static resource file from the application module 10.
Further, the web page module 11 of this embodiment further includes: a transmitting unit 114, configured to transmit the static resource file, and the link information or the web page version information of the static resource file to the application module 10 after the file acquiring unit 112 acquires the static resource file from the content distribution network source; the application module 10 is further configured to determine the identification information of the static resource file according to the link information or the web page version information of the static resource file transmitted by the transmitting unit 114, and correspondingly store the determined identification information and the static resource file.
The application module 10 is further configured to delete a certain static resource file stored in the application module 10 if the certain static resource file meets any one of the following conditions: the interval between the creation time of the certain static resource file and the current time exceeds preset time, the use frequency of the certain static resource file does not exceed preset times, and the resource quota corresponding to the certain static resource file is full.
In this embodiment, the web page file is a hypertext markup language HTML file, and the static resource file is a js script file and/or a CSS file.
In the apparatus of this embodiment, after the request sending unit 110 of the web page module 11 initiates a web page request, the file obtaining unit 112 receives link information of a static resource file including web page version information, and if the application module of the terminal device does not store the static resource file corresponding to the web page version information, the file obtaining unit 112 obtains the corresponding static resource file from the content distribution network source. Therefore, the consistency between the static resource file obtained by the webpage module 11 in the process of displaying the webpage and the static resource file stored in the content distribution network source can be ensured through the webpage version information, so that the static resource file of the latest version stored in the content distribution network source can be in effect immediately. In the embodiment of the present invention, the application module 10 stores the static resource file, which facilitates the search of the static resource file, and the application module 10 only needs to search the corresponding storage space, and can perform offline processing on the static resource file.
An embodiment of the present invention further provides a file publishing device, for example, the first file publishing device, a schematic structural diagram of which is shown in fig. 9, including:
an information obtaining unit 20, configured to obtain a static resource file and first identification information of the static resource file, where the first identification information includes web page version information of the static resource file;
specifically, the information obtaining unit 20 is specifically configured to receive first identification information of the static resource file sent by a publishing client, where the first identification information includes web version information; or, after receiving the name of the static resource file sent by the publishing client, adding the webpage version information to the name of the static resource file to generate the first identification information of the static resource file.
The first publishing unit 21 is configured to publish the static resource file and the first identification information of the static resource file, which are obtained by the information obtaining unit 20, to a content distribution network source for storage.
The second publishing unit 22 is configured to, when the publishing state of the static resource file by the first publishing unit 21 is publishing completion, store the correspondence between the web version information acquired by the information acquiring unit 20 and the second identification information of the static resource file in a storage system, so that the web server acquires the web version information corresponding to any one of the second identification information; the second identification information does not include the web page version information.
The second identification information sent by the second publishing unit 22 may be obtained by converting the link information of the static resource file, such as the URL address information. And if the second identification information of the static resource file, the corresponding relation between the webpage version information list and the release time list are stored in the storage system, the storage system stores the webpage version information into the webpage version information list.
In a specific embodiment, the file publishing device may further include: the release policy unit 23 is configured to receive release policy information of a static resource file corresponding to the web page version information sent by a release client; sending the publishing policy information to the storage system so that the storage system stores the publishing policy information and corresponds to the second identification information of the static resource file;
wherein the release policy information is used to indicate at least one of the following policies: and all the terminals corresponding to the user identifications use the strategy of the latest version, and the strategy that the static resource files corresponding to the webpage version information take effect in the terminal equipment corresponding to the user identifications according to the preset period stops the strategy that the static resource files of the new version take effect in the terminal equipment.
In the apparatus of this embodiment, the first issuing unit 21 issues the first identification information of the static resource file carrying the web version information to the content distribution network source, so that the consistency between the static resource file stored in the content distribution network source and the static resource file acquired in the terminal device can be ensured through the web version information. In this embodiment, the second publishing unit 22 sends the web version information to the storage system after the static resource file is published, so that the web server can definitely obtain the web version information corresponding to the newly published static resource file and return the web version information to the terminal device, thereby further ensuring the consistency between the content distribution network source and the terminal device based on the static resource file.
An embodiment of the present invention further provides a web server, a schematic structural diagram of which is shown in fig. 10, and the web server includes:
a request receiving module 30, configured to receive a web page request sent by a web page module in the terminal device, call the web page file module 31, and specifically, load code information of the web page file module; user identification and the like information may be included in the web page request.
The web page file module 31 is configured to obtain corresponding web page version information according to the web page request received by the request receiving module 30, and generate link information of the corresponding web page file and the static resource file, where the link information includes the web page version information.
Specifically, when acquiring the web page version information, the web page file module 31 may send a web page version information acquisition request to the storage system, where the web page version information acquisition request includes the user identifier and second identifier information of the static resource file, the second identifier information is converted according to the original link information of the static resource file, and the original link information of the static resource file is included in the code information of the web page file module 31; thus, after receiving the web page version information acquisition request, the storage system determines the latest web page version information corresponding to the second identification information of the static resource file, if the latest web page version information is determined to be valid for the terminal device corresponding to the user identification in the web page version information acquisition request according to the release policy information corresponding to the second identification information of the static resource file, if the latest web page version information is valid, the storage system sends the latest web page version information to the web page file module 31 of the web page server.
And an information returning module 32, configured to send the link information of the web page file and the static resource file generated by the web page file module 31 to the web page module of the terminal device.
An embodiment of the present invention further provides a terminal device, a schematic structural diagram of which is shown in fig. 11, where the terminal device may generate a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 40 (e.g., one or more processors) and a memory 41, and one or more storage media 42 (e.g., one or more mass storage devices) storing an application 421 or data 422. Memory 41 and storage medium 42 may be, among other things, transient or persistent storage. The program stored in the storage medium 42 may include one or more modules (not shown), each of which may include a series of instruction operations for the terminal device. Still further, the central processor 40 may be configured to communicate with the storage medium 42 to execute a series of instruction operations in the storage medium 32 on the terminal device.
Specifically, the application 421 stored in the storage medium 42 includes an application for processing a web page file, and the application may include the request sending unit 110, the information receiving unit 111, the file obtaining unit 112, the web page displaying unit 113, and the transmitting unit 114 included in the application module 10 and the web page module 11 of the web page file processing apparatus, which will not be described herein again. Further, the central processor 40 may be configured to communicate with the storage medium 42, and execute a series of operations corresponding to the application program of the web document processing stored in the storage medium 42 on the terminal device.
The terminal equipment may also include one or more power supplies 43, one or more wired or wireless network interfaces 44, one or more input-output interfaces 45, and/or one or more operating systems 423, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, and so forth.
The steps executed by the terminal device in the above-described method embodiment may be based on the structure of the terminal device shown in fig. 11.
An embodiment of the present invention further provides a server, which has a structure similar to that of the terminal device shown in fig. 11, except that in this embodiment, the application program stored in the storage medium includes an application program for processing a web page file, and the application program may include the information obtaining unit 20, the first publishing unit 21, the second publishing unit 22, and the publishing policy unit 23 in the file publishing device, which are not described herein again. Further, the central processor may be configured to communicate with the storage medium, and execute a series of operations corresponding to the application program for processing the web page file stored in the storage medium on the server.
An embodiment of the present invention further provides another server, which has a structure similar to that of the terminal device shown in fig. 11, except that in this embodiment, the application program stored in the storage medium includes an application program for processing a web page file, and the application program may include the request receiving module 30, the web page file module 31, and the information returning module 32 in the web page server, which is not described herein again. Further, the central processor may be configured to communicate with the storage medium, and execute a series of operations corresponding to the application program for processing the web page file stored in the storage medium on the server.
The embodiment of the present invention further provides a storage device, where the storage device stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the web page file processing method in the foregoing embodiment.
An embodiment of the present invention further provides a web document processing system, a schematic structural diagram of which may be as shown in fig. 1a, including: terminal equipment, web server and content distribution network source, wherein:
the structure of the terminal device may be the structure of the web document processing apparatus as shown in fig. 8 or the structure of the terminal device as shown in fig. 11; the structure of the web server may be as the structure of the web server shown in fig. 10, which is not described herein again;
the content distribution network source is used for storing static resource files.
Further, as shown in fig. 1b, the structure of the first file publishing device may also be included in the web document processing system, and is not described herein again, as shown in fig. 9.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
The method, the apparatus, the system and the storage device for processing the web page file provided by the embodiment of the present invention are described in detail above, a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A method for processing a web page file is characterized by comprising the following steps:
a first file publishing device acquires a static resource file and first identification information of the static resource file, wherein the first identification information comprises webpage version information of the static resource file;
the first file publishing device publishes the static resource file and the first identification information of the static resource file to a content distribution network source for storage;
when the release state of the static resource file is release completion, the first file release device stores the corresponding relation between the webpage version information and the second identification information of the static resource file in a storage system so that a webpage server can obtain the webpage version information corresponding to any second identification information; the second identification information does not include the webpage version information;
after detecting that the first file publishing device completes publishing the static resource file, the second file publishing device publishes the code information of the webpage file module corresponding to the webpage version information to a webpage server;
after an application module of the terminal equipment starts a webpage module, the webpage module sends a webpage request to the webpage server, the webpage request comprises a user identifier, and code information of the webpage file module comprises original link information of the static resource file;
the webpage server receives a webpage request sent by the webpage module and calls a webpage file module;
the web page file module acquires corresponding web page version information according to the web page request, generates a corresponding web page file and link information of a static resource file, wherein the link information comprises the web page version information, and the web page file module acquires the corresponding web page version information according to the web page request, and specifically comprises the following steps: the webpage file module sends a webpage version information acquisition request to the storage system, wherein the webpage version information acquisition request comprises the user identification and second identification information of the static resource file, and the second identification information is converted according to the original link information; the storage system determines the latest webpage version information corresponding to the second identification information of the static resource file; the storage system determines whether the latest webpage version information is effective on the terminal equipment corresponding to the user identifier in the webpage version information acquisition request according to the release strategy information corresponding to the second identifier information of the static resource file, and if the latest webpage version information is effective, the storage system sends the latest webpage version information to a webpage file module of the webpage server;
the webpage server sends the webpage file and the link information to a webpage module of the terminal equipment;
the webpage module receives a webpage file which is generated and returned by the webpage server according to the webpage request and link information of a static resource file;
if the static resource file corresponding to the webpage version information is not stored in the application module, the webpage module acquires the static resource file corresponding to the webpage version information from a content distribution network source according to the link information of the static resource file;
and the webpage module displays a webpage according to the webpage file returned by the webpage server and the static resource file returned by the content distribution network source.
2. The method of claim 1, wherein after the web page module obtains the static resource file corresponding to the web page version information from a content distribution network source according to the link information of the static resource file, the method further comprises:
the webpage module transmits the static resource file and the link information or webpage version information of the static resource file to the application module;
and the application module determines the identification information of the static resource file according to the link information or the webpage version information of the static resource file and correspondingly stores the determined identification information and the static resource file.
3. The method of claim 2, wherein the method further comprises:
if a certain static resource file stored in the application module meets any one of the following conditions, the application module deletes the certain static resource file:
the interval between the creation time of the certain static resource file and the current time exceeds the preset time, the use frequency of the certain static resource file does not exceed the preset times, and the resource quota corresponding to the certain static resource file is full.
4. A method for processing a web page file, the method comprising:
a first file publishing device acquires a static resource file and first identification information of the static resource file, wherein the first identification information comprises webpage version information of the static resource file;
the first file publishing device publishes the static resource file and the first identification information of the static resource file to a content distribution network source for storage;
when the release state of the static resource file is release completion, the first file release device stores the corresponding relation between the webpage version information and the second identification information of the static resource file in a storage system so that a webpage server can obtain the webpage version information corresponding to any second identification information; the second identification information does not include the webpage version information;
after detecting that the first file publishing device completes publishing the static resource file, a second file publishing device publishes code information of a webpage file module corresponding to the webpage version information to a webpage server, wherein the code information of the webpage file module comprises original link information of the static resource file;
the webpage server receives a webpage request sent by a webpage module in the terminal equipment and calls a webpage file module, wherein the webpage request comprises a user identifier;
the web page file module acquires corresponding web page version information according to the web page request, generates a corresponding web page file and link information of a static resource file, wherein the link information comprises the web page version information, and the web page file module acquires the corresponding web page version information according to the web page request, and specifically comprises the following steps: the webpage file module sends a webpage version information acquisition request to the storage system, wherein the webpage version information acquisition request comprises the user identification and second identification information of the static resource file, and the second identification information is converted according to the original link information; the storage system determines the latest webpage version information corresponding to the second identification information of the static resource file; the storage system determines whether the latest webpage version information is effective to the terminal equipment corresponding to the user identifier in the webpage version information acquisition request according to the release policy information corresponding to the second identifier information of the static resource file, and if the latest webpage version information is effective, the storage system sends the latest webpage version information to a webpage file module of the webpage server;
and the webpage server sends the webpage file and the link information to a webpage module of the terminal equipment.
5. The method of claim 4, wherein the obtaining, by the first file publishing device, the first identifier information of the static resource file specifically includes:
the first file publishing device receives first identification information of the static resource file sent by a publishing client, wherein the first identification information comprises webpage version information; or,
and after receiving the name of the static resource file sent by the publishing client, the first file publishing device adds the webpage version information to the name of the static resource file to generate first identification information of the static resource file.
6. The method of claim 4, wherein the storing, by the first file publishing device, the correspondence between the web page version information and the second identification information of the static resource file in a storage system specifically comprises:
the first file publishing device sends the webpage version information and the second identification information of the static resource file to a storage system;
and if the second identification information of the static resource file, the corresponding relation between the webpage version information list and the release time list are stored in the storage system, the storage system stores the webpage version information into the webpage version information list.
7. The method of claim 6, wherein the method further comprises:
the first file release device receives release strategy information of a static resource file corresponding to the webpage version information sent by a release client;
the first file publishing device sends the publishing policy information to the storage system, and the storage system stores the publishing policy information and corresponds to the second identification information of the static resource file;
wherein the release policy information is used to indicate at least one of the following policies: and the terminal corresponding to all the user identifications uses the strategy of the latest version, and stops the strategy of taking the static resource files corresponding to the webpage version information into effect in the terminal equipment corresponding to some user identifications according to the preset period.
8. A web document processing apparatus, comprising:
the information acquisition unit is used for acquiring a static resource file and first identification information of the static resource file, wherein the first identification information comprises webpage version information of the static resource file;
the first publishing unit is used for publishing the static resource file and the first identification information of the static resource file to a content distribution network source for storage;
the second publishing unit is used for storing the corresponding relation between the webpage version information and the second identification information of the static resource file into a storage system after the publishing state of the static resource file is publishing completion; the second identification information does not include the webpage version information, so that a webpage server can obtain webpage version information corresponding to any second identification information; the second identification information does not include the webpage version information;
a third publishing unit, configured to publish, after it is detected that the first publishing unit completes publishing the static resource file, code information of a web page file module corresponding to the web page version information to a web page server, so that the web page server calls the web page file module when receiving a web page request sent by a web page module in a terminal device, and acquires, based on the web page file module, corresponding web page version information according to the web page request to generate a corresponding web page file and link information of the static resource file, and sends the web page file and the link information to the web page module of the terminal device, where the link information includes the web page version information, the code information of the web page file module includes original link information of the static resource file, and the web page request includes a user identifier;
the third issue unit is further configured to: calling the webpage file module, and sending a webpage version information acquisition request to the storage system based on the webpage file module, wherein the webpage version information acquisition request comprises the user identification and second identification information of the static resource file, and the second identification information is converted according to the original link information; the storage system determines the latest webpage version information corresponding to the second identification information of the static resource file; and the storage system determines whether the latest webpage version information is effective to the terminal equipment corresponding to the user identifier in the webpage version information acquisition request according to the release strategy information corresponding to the second identifier information of the static resource file, and if the latest webpage version information is effective, the storage system sends the latest webpage version information to a webpage file module of the webpage server.
9. The apparatus of claim 8,
the information acquisition unit is specifically configured to receive first identification information of the static resource file sent by a publishing client, where the first identification information includes web page version information; or, after receiving the name of the static resource file sent by the publishing client, adding the webpage version information to the name of the static resource file to generate first identification information of the static resource file;
the second publishing unit is specifically configured to send the webpage version information and second identification information of the static resource file to a storage system; if the second identification information of the static resource file, the webpage version information list and the release time list are stored in the storage system, the storage system stores the webpage version information into the webpage version information list;
the release strategy unit is used for receiving the release strategy information of the static resource file corresponding to the webpage version information sent by the release client; sending the publishing policy information to the storage system so that the storage system stores the publishing policy information and corresponds to the second identification information of the static resource file;
wherein the release policy information is used to indicate at least one of the following policies: and the terminal corresponding to all the user identifications uses the strategy of the latest version, and stops the strategy of taking the static resource files corresponding to the webpage version information into effect in the terminal equipment corresponding to some user identifications according to the preset period.
10. A storage device storing a plurality of instructions adapted to be loaded by a processor and to perform the method of processing a web document according to any one of claims 1 to 7.
11. A web document processing system, comprising a first document issuing device, a second document issuing device, a web server, a content distribution network source, and a terminal device, wherein:
the first file publishing device acquires a static resource file and first identification information of the static resource file, wherein the first identification information comprises webpage version information of the static resource file;
the first file publishing device publishes the static resource file and the first identification information of the static resource file to a content distribution network source for storage;
when the release state of the static resource file is release completion, the first file release device stores the corresponding relation between the webpage version information and the second identification information of the static resource file in a storage system so that a webpage server can obtain the webpage version information corresponding to any second identification information; the second identification information does not include the webpage version information;
the second file publishing device publishes the code information of the webpage file module corresponding to the webpage version information to a webpage server after detecting that the first file publishing device completes publishing the static resource file;
after an application module of the terminal equipment starts a webpage module, the webpage module sends a webpage request to the webpage server, the webpage request comprises a user identifier, and code information of the webpage file module comprises original link information of the static resource file;
the webpage server receives a webpage request sent by the webpage module, calls a webpage file module, acquires corresponding webpage version information according to the webpage request based on the webpage file module, generates a corresponding webpage file and link information of a static resource file, wherein the link information comprises the webpage version information, and the webpage file module acquires the corresponding webpage version information according to the webpage request, and specifically comprises the following steps: the webpage file module sends a webpage version information acquisition request to the storage system, wherein the webpage version information acquisition request comprises the user identification and second identification information of the static resource file, and the second identification information is converted according to the original link information; the storage system determines the latest webpage version information corresponding to the second identification information of the static resource file; the storage system determines whether the latest webpage version information is effective to the terminal equipment corresponding to the user identifier in the webpage version information acquisition request according to the release policy information corresponding to the second identifier information of the static resource file, and if the latest webpage version information is effective, the storage system sends the latest webpage version information to a webpage file module of the webpage server;
the webpage server sends the webpage file and the link information to a webpage module of the terminal equipment;
the webpage module receives a webpage file which is generated and returned by the webpage server according to the webpage request and link information of a static resource file;
if the static resource file corresponding to the webpage version information is not stored in the application module, the webpage module acquires the static resource file corresponding to the webpage version information from a content distribution network source according to the link information of the static resource file;
and the webpage module displays a webpage according to the webpage file returned by the webpage server and the static resource file returned by the content distribution network source.
CN201710563993.7A 2017-07-12 2017-07-12 Webpage file processing method, device and system and storage equipment Active CN107357890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710563993.7A CN107357890B (en) 2017-07-12 2017-07-12 Webpage file processing method, device and system and storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710563993.7A CN107357890B (en) 2017-07-12 2017-07-12 Webpage file processing method, device and system and storage equipment

Publications (2)

Publication Number Publication Date
CN107357890A CN107357890A (en) 2017-11-17
CN107357890B true CN107357890B (en) 2023-03-24

Family

ID=60292414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710563993.7A Active CN107357890B (en) 2017-07-12 2017-07-12 Webpage file processing method, device and system and storage equipment

Country Status (1)

Country Link
CN (1) CN107357890B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280174A (en) * 2018-01-22 2018-07-13 网宿科技股份有限公司 Front end file construction method and server, page access method and terminal
CN109165369A (en) * 2018-07-12 2019-01-08 北京猫眼文化传媒有限公司 Webpage display process and device
CN109460531B (en) * 2018-11-07 2020-11-13 北京金山云网络技术有限公司 Webpage management method and device and intelligent terminal
CN110471709B (en) * 2019-07-15 2022-12-06 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for accelerating webpage opening speed
CN110830572B (en) * 2019-11-06 2022-08-05 中移(杭州)信息技术有限公司 CDN access optimization method and system
CN111125602B (en) * 2019-12-25 2023-11-14 腾讯音乐娱乐科技(深圳)有限公司 Page construction method, device, equipment and storage medium
CN112883254A (en) * 2021-03-23 2021-06-01 浙江网商银行股份有限公司 Resource processing system, resource processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218434A (en) * 2013-04-15 2013-07-24 北京小米科技有限责任公司 Method and device for loading static resource
CN105022750A (en) * 2014-04-28 2015-11-04 腾讯科技(北京)有限公司 Resource file loading method and apparatus
CN105049486A (en) * 2015-06-16 2015-11-11 腾讯科技(北京)有限公司 Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system
CN105208127A (en) * 2015-10-09 2015-12-30 上海瀚银信息技术有限公司 Webpage caching processing method and system and intelligent terminal
CN106649395A (en) * 2015-11-03 2017-05-10 腾讯科技(深圳)有限公司 Webpage updating method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218434A (en) * 2013-04-15 2013-07-24 北京小米科技有限责任公司 Method and device for loading static resource
CN105022750A (en) * 2014-04-28 2015-11-04 腾讯科技(北京)有限公司 Resource file loading method and apparatus
CN105049486A (en) * 2015-06-16 2015-11-11 腾讯科技(北京)有限公司 Version management and file pulling control methods for static files, version management and file pulling control devices, and version control system
CN105208127A (en) * 2015-10-09 2015-12-30 上海瀚银信息技术有限公司 Webpage caching processing method and system and intelligent terminal
CN106649395A (en) * 2015-11-03 2017-05-10 腾讯科技(深圳)有限公司 Webpage updating method and apparatus

Also Published As

Publication number Publication date
CN107357890A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN107357890B (en) Webpage file processing method, device and system and storage equipment
CN110263275B (en) Method and device for accessing webpage, mobile terminal and storage medium
WO2015074467A1 (en) Data update method, apparatus, and system and storage medium
JP2018506756A (en) Website access method, apparatus, and website system
CN110020367B (en) Page rendering method and device
CN107015801B (en) Webpage display method and application terminal
CN108200132B (en) Resource acquisition method, device, equipment and computer readable storage medium
CN108256014B (en) Page display method and device
CN110958462A (en) Live broadcast activity page display method and device, storage medium and live broadcast system
CN108183960B (en) CDN-based file updating method, server, storage medium and device
CN107918617B (en) Data query method and device
CN113779422B (en) Method and device for realizing relationship chain label, electronic equipment and storage medium
CN106649581B (en) Webpage repairing method and client
CN110674435A (en) Page access method, server, terminal, electronic equipment and readable storage medium
US10931771B2 (en) Method and apparatus for pushing information
CN111125093A (en) Data processing method and device based on Hash storage
CN111783005B (en) Method, device and system for displaying web page, computer system and medium
CN111061637B (en) Interface testing method, interface testing device and storage medium
CN112558933A (en) Component rendering method and device, readable medium and electronic equipment
CN111831503B (en) Monitoring method based on monitoring agent and monitoring agent device
US10771578B2 (en) Webpage loading method and apparatus
CN112491940A (en) Request forwarding method and device of proxy server, storage medium and electronic equipment
CN107391132B (en) Method, device and equipment for target App to execute preset action
CN111338928A (en) Chrome-based browser testing method and device
CN110874445A (en) Webpage loading method, client and business service center

Legal Events

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