CN115495686A - Webpage data processing method and device - Google Patents

Webpage data processing method and device Download PDF

Info

Publication number
CN115495686A
CN115495686A CN202211213977.2A CN202211213977A CN115495686A CN 115495686 A CN115495686 A CN 115495686A CN 202211213977 A CN202211213977 A CN 202211213977A CN 115495686 A CN115495686 A CN 115495686A
Authority
CN
China
Prior art keywords
webpage
loading
downloading
web page
network speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211213977.2A
Other languages
Chinese (zh)
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202211213977.2A priority Critical patent/CN115495686A/en
Publication of CN115495686A publication Critical patent/CN115495686A/en
Pending legal-status Critical Current

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)

Abstract

The embodiment of the application provides a webpage data processing method and a device, wherein the method comprises the following steps: receiving a webpage access request sent by a user, and downloading a webpage script of a set interface according to the webpage access request; determining the current network speed and a corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy; according to the method and the device, the webpage opening efficiency can be effectively improved.

Description

Webpage data processing method and device
Technical Field
The present application relates to the field of data processing, and in particular, to a method and an apparatus for processing web page data.
Background
With the rapid development of the internet, more and more applications pursue convenience and usability, the traditional APP is gradually replaced by HTML5 applications, and the HTML5 has the advantage of high application portability, can be simultaneously applied to Android and iOS systems, and does not need to develop the native APP. However, when the user network is in a bad condition or in a weak network environment, the HTML5 application is opened slowly, which may affect the user experience.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a webpage data processing method and device, which can effectively improve the webpage opening efficiency.
In order to solve at least one of the above problems, the present application provides the following technical solutions:
in a first aspect, the present application provides a method for processing web page data, including:
receiving a webpage access request sent by a user, and downloading a webpage script of a set interface according to the webpage access request;
and determining the current network speed and a corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy.
Further, the determining a current network speed and a corresponding download loading policy according to the web script includes:
determining the current network speed according to the downloaded data volume in the set time counted by the webpage script;
and determining a corresponding downloading and loading strategy according to the current network speed.
Further, the asynchronously executing the webpage resource downloading and loading operation according to the downloading and loading policy includes:
if the downloading and loading strategy is a low network speed strategy, stopping the default downloading and loading sequence of the webpage;
and executing corresponding webpage resource downloading and loading operations according to the priority of each webpage resource.
Further, the method also comprises the following steps:
monitoring the current network speed in real time;
and starting a default downloading and loading sequence of the webpage when the current network speed is higher than a preset threshold value.
In a second aspect, the present application provides a web page data processing apparatus, including:
the request receiving module is used for receiving a webpage access request sent by a user and downloading a webpage script of a set interface according to the webpage access request;
and the asynchronous loading module is used for determining the current network speed and the corresponding downloading and loading strategy according to the webpage script and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy.
Further, the asynchronous loading module comprises:
the network speed determining unit is used for determining the current network speed according to the download data volume counted by the webpage script within the set time;
and the loading strategy determining unit is used for determining a corresponding downloading loading strategy according to the current network speed.
Further, the asynchronous loading module comprises:
a default sequence stopping unit, configured to stop the default downloading and loading sequence of the web page if the downloading and loading policy is a low network speed policy;
and the sequential loading unit is used for executing corresponding webpage resource downloading and loading operations according to the priority of each webpage resource.
Further, the asynchronous loading module comprises:
the real-time monitoring unit is used for monitoring the current network speed in real time;
and the default sequence restarting unit is used for starting a webpage default downloading and loading sequence when the current network speed is monitored to be higher than a preset threshold value.
In a third aspect, the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the web page data processing method when executing the program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the web page data processing method.
In a fifth aspect, the present application provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps of the web page data processing method.
According to the technical scheme, the webpage data processing method and the webpage data processing device are characterized in that the webpage script with the set interface is downloaded according to the webpage access request by receiving the webpage access request sent by the user; and determining the current network speed and the corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy, thereby effectively improving the webpage opening efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a web page data processing method in an embodiment of the present application;
fig. 2 is a second schematic flowchart of a web page data processing method in the embodiment of the present application;
FIG. 3 is a third schematic flowchart illustrating a web page data processing method according to an embodiment of the present application;
FIG. 4 is a fourth flowchart illustrating a web page data processing method according to an embodiment of the present application;
FIG. 5 is a diagram illustrating a structure of a web page data processing apparatus according to an embodiment of the present application;
FIG. 6 is a second block diagram of a web page data processing apparatus according to an embodiment of the present application;
FIG. 7 is a third block diagram of a web page data processing apparatus according to an embodiment of the present application;
FIG. 8 is a fourth block diagram of a web page data processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
According to the technical scheme, the data acquisition, storage, use, processing and the like meet relevant regulations of national laws and regulations.
In consideration of the problems in the prior art, the application provides a method and a device for processing webpage data, wherein a webpage access request sent by a user is received, and a webpage script of a set interface is downloaded according to the webpage access request; and determining the current network speed and the corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy, thereby effectively improving the webpage opening efficiency.
In order to effectively improve the efficiency of opening a web page, the present application provides an embodiment of a web page data processing method, and referring to fig. 1, the web page data processing method specifically includes the following contents:
step S101: and receiving a webpage access request sent by a user, and downloading a webpage script with a set interface according to the webpage access request.
Step S102: and determining the current network speed and a corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy.
For example, when opening an H5 web application, first download the web script JS of the H5 entry, then calculate the download rate through this JS, and within 1 unit time (default 1 second), download content below a specified value (default 100KB, modifiable), then consider the web speed too slow. At this time, the default downloading order of the H5 is interrupted, and the H5 content is downloaded according to the priority.
Optionally, after downloading the content with the highest priority, preferentially loading the content and displaying the content on the user; and simultaneously, starting an asynchronous thread, downloading the content of the sub-priority, and after the downloading is finished, loading and displaying the content in a silent mode. And repeating the steps until all the contents are downloaded and displayed.
Optionally, if the internet speed is greater than or equal to the specified value (default 100KB, modifiable), the internet speed is considered to be normal, and the files are downloaded according to the H5 default downloading order and displayed to the user.
As can be seen from the above description, the webpage data processing method provided in the embodiment of the present application can download the webpage script with the interface set according to the webpage access request by receiving the webpage access request sent by the user; and determining the current network speed and a corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy, thereby effectively improving the webpage opening efficiency.
In an embodiment of the web page data processing method of the present application, referring to fig. 2, the following may be further included:
step S201: and determining the current network speed according to the download data volume in the set time counted by the webpage script.
Step S202: and determining a corresponding downloading and loading strategy according to the current network speed.
Alternatively, when the H5 web application is opened, the web script JS of the H5 entry is downloaded first, and then the download rate is calculated by this JS, and within 1 unit time (default 1 second), the downloaded content is below the specified value (default 100KB, modifiable), and the web speed is considered too slow. At this point, the default downloading order of H5 is interrupted, and the H5 content is downloaded according to the priority instead.
In an embodiment of the web page data processing method of the present application, referring to fig. 3, the following may be further included:
step S301: and if the downloading and loading strategy is a low network speed strategy, stopping the default downloading and loading sequence of the webpage.
Step S302: and executing corresponding webpage resource downloading and loading operations according to the priority of each webpage resource.
Optionally, after the content with the highest priority is downloaded, the content is preferentially loaded and displayed to the user; and simultaneously, starting an asynchronous thread, downloading the content of the sub-priority, and after the downloading is finished, carrying out silent loading and displaying. And repeating the steps until all the contents are downloaded and displayed.
In an embodiment of the web page data processing method of the present application, referring to fig. 4, the following contents may also be specifically included:
step S401: and monitoring the current network speed in real time.
Step S402: and starting a default downloading and loading sequence of the webpage when the current network speed is monitored to be higher than a preset threshold value.
Optionally, if the internet speed is greater than or equal to the specified value (default 100KB, modifiable), the internet speed is considered to be normal, and the files are downloaded according to the H5 default downloading order and displayed to the user.
In order to effectively improve the efficiency of opening a web page, the present application provides an embodiment of a web page data processing apparatus for implementing all or part of contents of the web page data processing method, and referring to fig. 5, the web page data processing apparatus specifically includes the following contents:
the request receiving module 10 is configured to receive a web page access request sent by a user, and download a web page script of a set interface according to the web page access request.
And the asynchronous loading module 20 is configured to determine a current network speed and a corresponding download loading policy according to the web script, and asynchronously execute a download loading operation of a web resource according to the download loading policy.
As can be seen from the above description, the web page data processing apparatus provided in the embodiment of the present application can download a web page script of a set interface according to a web page access request sent by a user by receiving the web page access request; and determining the current network speed and a corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy, thereby effectively improving the webpage opening efficiency.
In an embodiment of the web page data processing apparatus of the present application, referring to fig. 6, the asynchronous loading module 20 includes:
and a network speed determining unit 21, configured to determine a current network speed according to the downloaded data amount in the set time counted by the web script.
And a loading policy determining unit 22, configured to determine a corresponding downloading loading policy according to the current network speed.
In an embodiment of the web page data processing apparatus of the present application, referring to fig. 7, the asynchronous loading module 20 includes:
a default sequence stopping unit 23, configured to stop the default downloading and loading sequence of the web page if the downloading and loading policy is a low network speed policy.
And the sequential loading unit 24 is configured to execute corresponding downloading and loading operations of the web resources according to the priority of each web resource.
In an embodiment of the web page data processing apparatus of the present application, referring to fig. 8, the asynchronous loading module 20 includes:
and the real-time monitoring unit 25 is used for monitoring the current network speed in real time.
And a default sequence restarting unit 26, configured to enable a default downloading and loading sequence of the web page when it is monitored that the current network speed is higher than a preset threshold.
In terms of hardware, in order to effectively improve the efficiency of opening a web page, the present application provides an embodiment of an electronic device for implementing all or part of contents in the web page data processing method, where the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between the webpage data processing device and relevant equipment such as a core service system, a user terminal, a relevant database and the like; the logic controller may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the logic controller may be implemented with reference to the embodiments of the web page data processing method and the web page data processing apparatus in the embodiments, and the contents thereof are incorporated herein, and repeated descriptions are omitted.
It is understood that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), a vehicle-mounted device, a smart wearable device, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In practical applications, part of the web page data processing method may be executed on the electronic device side as described in the above, or all operations may be completed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.
The client device may have a communication module (i.e., a communication unit) and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
Fig. 9 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 9, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is noted that this fig. 9 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the web page data processing method functions may be integrated into the central processor 9100. The central processor 9100 may be configured to control as follows:
step S101: receiving a webpage access request sent by a user, and downloading a webpage script of a set interface according to the webpage access request.
Step S102: and determining the current network speed and a corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy.
As can be seen from the above description, in the electronic device provided in the embodiment of the present application, a web page script of a set interface is downloaded according to a web page access request sent by a user by receiving the web page access request; and determining the current network speed and the corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy, thereby effectively improving the webpage opening efficiency.
In another embodiment, the web page data processing apparatus may be configured separately from the central processor 9100, for example, the web page data processing apparatus may be configured as a chip connected to the central processor 9100, and the functions of the web page data processing method may be implemented by the control of the central processor.
As shown in fig. 9, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 9; in addition, the electronic device 9600 may further include components not shown in fig. 9, which may be referred to in the prior art.
As shown in fig. 9, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, but is not limited to, an LCD display.
The memory 9140 can be a solid state memory, e.g., read Only Memory (ROM), random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by the electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
A plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, can be provided in the same electronic device based on different communication technologies. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
The embodiment of the present application further provides a computer-readable storage medium capable of implementing all the steps of the web page data processing method whose main execution body is a server or a client in the foregoing embodiments, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements all the steps of the web page data processing method whose main execution body is a server or a client in the foregoing embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
step S101: receiving a webpage access request sent by a user, and downloading a webpage script of a set interface according to the webpage access request.
Step S102: and determining the current network speed and a corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy.
As can be seen from the above description, the computer-readable storage medium provided in the embodiment of the present application downloads, according to a web page access request sent by a user, a web page script for setting an interface according to the web page access request; and determining the current network speed and the corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy, thereby effectively improving the webpage opening efficiency.
Embodiments of the present application further provide a computer program product capable of implementing all steps in the web page data processing method in which the execution subject is a server or a client in the foregoing embodiments, and when executed by a processor, the computer program/instruction implements the steps of the web page data processing method, for example, the computer program/instruction implements the following steps:
step S101: receiving a webpage access request sent by a user, and downloading a webpage script of a set interface according to the webpage access request.
Step S102: and determining the current network speed and a corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy.
As can be seen from the above description, the computer program product provided in the embodiment of the present application downloads, according to a web page access request sent by a user, a web page script of a set interface according to the web page access request; and determining the current network speed and a corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy, thereby effectively improving the webpage opening efficiency.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the 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 web page data, the method comprising:
receiving a webpage access request sent by a user, and downloading a webpage script of a set interface according to the webpage access request;
and determining the current network speed and a corresponding downloading and loading strategy according to the webpage script, and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy.
2. The method for processing webpage data according to claim 1, wherein the determining a current network speed and a corresponding download loading policy according to the webpage script comprises:
determining the current network speed according to the download data volume in the set time counted by the webpage script;
and determining a corresponding downloading and loading strategy according to the current network speed.
3. The method for processing webpage data according to claim 1, wherein the asynchronously performing webpage resource download loading operations according to the download loading policy comprises:
if the downloading and loading strategy is a low network speed strategy, stopping the default downloading and loading sequence of the webpage;
and executing corresponding webpage resource downloading and loading operations according to the priority of each webpage resource.
4. The web page data processing method according to claim 1, further comprising:
monitoring the current network speed in real time;
and starting a default downloading and loading sequence of the webpage when the current network speed is monitored to be higher than a preset threshold value.
5. A web page data processing apparatus, characterized by comprising:
the request receiving module is used for receiving a webpage access request sent by a user and downloading a webpage script of a set interface according to the webpage access request;
and the asynchronous loading module is used for determining the current network speed and a corresponding downloading and loading strategy according to the webpage script and asynchronously executing webpage resource downloading and loading operation according to the downloading and loading strategy.
6. The web page data processing apparatus according to claim 5, wherein the asynchronous loading module comprises:
the network speed determining unit is used for determining the current network speed according to the download data volume counted by the webpage script within the set time;
and the loading strategy determining unit is used for determining a corresponding downloading loading strategy according to the current network speed.
7. The web page data processing apparatus according to claim 5, wherein the asynchronous loading module comprises:
a default sequence stopping unit, configured to stop the default downloading and loading sequence of the web page if the downloading and loading policy is a low network speed policy;
and the sequence loading unit is used for executing corresponding webpage resource downloading and loading operations according to the priority of each webpage resource.
8. The web page data processing apparatus according to claim 5, wherein the asynchronous loading module comprises:
the real-time monitoring unit is used for monitoring the current network speed in real time;
and the default sequence restarting unit is used for starting a webpage default downloading and loading sequence when the current network speed is monitored to be higher than a preset threshold value.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the web page data processing method according to any one of claims 1 to 4 are implemented when the processor executes the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the web page data processing method of any one of claims 1 to 4.
11. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the steps of the web page data processing method of any one of claims 1 to 4.
CN202211213977.2A 2022-09-30 2022-09-30 Webpage data processing method and device Pending CN115495686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211213977.2A CN115495686A (en) 2022-09-30 2022-09-30 Webpage data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211213977.2A CN115495686A (en) 2022-09-30 2022-09-30 Webpage data processing method and device

Publications (1)

Publication Number Publication Date
CN115495686A true CN115495686A (en) 2022-12-20

Family

ID=84472882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211213977.2A Pending CN115495686A (en) 2022-09-30 2022-09-30 Webpage data processing method and device

Country Status (1)

Country Link
CN (1) CN115495686A (en)

Similar Documents

Publication Publication Date Title
CN111031058A (en) Websocket-based distributed server cluster interaction method and device
CN111786885A (en) Distributed full-link gray level routing method and device
CN111445331A (en) Transaction matching method and device
CN111736772A (en) Storage space data processing method and device of distributed file system
CN112689012A (en) Cross-network proxy communication method and device
CN112394932A (en) Automatic browser webpage skin changing method and device
CN113342330A (en) Front-end engineering generation method and device
CN111367561B (en) Remote development method and device for software program
CN111767558A (en) Data access monitoring method, device and system
CN115495686A (en) Webpage data processing method and device
CN114416212A (en) Mobile terminal application program data resource processing method and device
CN115099930A (en) Financial business data processing method and device
CN113050936A (en) Front-end data processing method and device based on integrated development environment
CN112559158A (en) Micro-service timing task scheduling method and device
CN113515447A (en) System automation test method and device
CN113434423A (en) Interface test method and device
CN113791984A (en) Automatic interface testing method and device
CN113596583A (en) Video stream bullet time data processing method and device
CN113050985A (en) Front-end engineering dependence automatic registration method and device
CN111953847A (en) Client message risk reminding method, device and system
CN112396511A (en) Distributed wind control variable data processing method, device and system
CN112241372A (en) Terminal testing method and device and electronic equipment
CN113342501B (en) System fault processing method and device
CN109614564B (en) Method and device for improving interaction instantaneity of WebView and H5
CN115373848A (en) Batch operation and maintenance method and device for servers

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