CN111767489B - Webpage running acceleration method, device, equipment and storage medium - Google Patents

Webpage running acceleration method, device, equipment and storage medium Download PDF

Info

Publication number
CN111767489B
CN111767489B CN202010606603.1A CN202010606603A CN111767489B CN 111767489 B CN111767489 B CN 111767489B CN 202010606603 A CN202010606603 A CN 202010606603A CN 111767489 B CN111767489 B CN 111767489B
Authority
CN
China
Prior art keywords
acceleration service
service
computing
cloud
time
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
CN202010606603.1A
Other languages
Chinese (zh)
Other versions
CN111767489A (en
Inventor
刘震
宗雷雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010606603.1A priority Critical patent/CN111767489B/en
Publication of CN111767489A publication Critical patent/CN111767489A/en
Application granted granted Critical
Publication of CN111767489B publication Critical patent/CN111767489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Abstract

The application discloses a method, a device, equipment and a storage medium for accelerating webpage operation, and relates to the fields of Internet, cloud computing and the like. The specific implementation scheme is as follows: identifying a time-consuming computing task at the front end of the webpage; in the case that an acceleration service exists in the current running environment, the time-consuming computing task is distributed to the acceleration service for processing. According to the method and the device for processing the time-consuming computing tasks, the time-consuming computing tasks at the front end of the webpage are distributed to the acceleration service existing in the current running environment for processing, and the running speed of the webpage can be increased.

Description

Webpage running acceleration method, device, equipment and storage medium
Technical Field
The application relates to the field of computers, in particular to the fields of Internet, cloud computing and the like.
Background
The current webpage technical languages comprise HTML (HyperText Markup Language ), javaScript (JS for short), python and other interpretation languages, and the languages themselves have performance ceilings and have low computing capacity. Acceleration methods by adding caches, preloading, etc. simply accelerate the IO (Input Output) at the storage side, and do not accelerate the computation of the web page at run-time.
Disclosure of Invention
The application provides a webpage running acceleration method, device and equipment and a storage medium.
According to one aspect of the present application, there is provided a method for accelerating web page operation, including:
identifying a time-consuming computing task at the front end of the webpage;
in the case that an acceleration service exists in the current running environment, the time-consuming computing task is distributed to the acceleration service for processing.
According to another aspect of the present application, there is provided an acceleration apparatus for web page running, including:
The recognition module is used for recognizing time-consuming calculation tasks at the front end of the webpage;
And the distribution module is used for distributing the time-consuming computing task to the acceleration service for processing under the condition that the acceleration service exists in the current running environment.
According to another aspect of the present application, there is provided an electronic apparatus including:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform an accelerated method of web page execution.
According to another aspect of the present application, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute an acceleration method of web page execution.
According to another aspect of the application, there is provided a computer program product comprising a computer program which, when executed by a processor, implements a method as described above.
According to the embodiment of the application, the time-consuming computing task is distributed to the acceleration service existing in the current running environment for processing, so that the running speed of the webpage can be increased.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
The drawings are included to provide a better understanding of the present application and are not to be construed as limiting the application. Wherein:
FIG. 1 is a flow chart of a method for accelerating web page operation according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of accelerating web page operation according to another embodiment of the present application;
FIG. 3 is a flow chart of a method of accelerating web page operation according to another embodiment of the present application;
FIG. 4 is a flow chart of a method of accelerating web page operation according to another embodiment of the present application;
FIG. 5 is a schematic diagram of an application example of an embodiment of the present application;
FIG. 6 is a block diagram of an acceleration device for web page operation in accordance with one embodiment of the present application;
FIG. 7 is a block diagram of an acceleration device for web page operation in accordance with another embodiment of the present application;
fig. 8 is a block diagram of an electronic device of an acceleration method of web page running according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present application are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
FIG. 1 is a flow chart of a method for accelerating web page operation according to an embodiment of the application, which may include:
s101, identifying a time-consuming calculation task at the front end of a webpage;
s102, distributing the time-consuming computing task to the acceleration service for processing under the condition that the acceleration service exists in the current running environment.
In the embodiment of the application, the front end of the webpage can pre-agree on which computing tasks belong to time-consuming computing tasks. The time-consuming computing task may include a time-consuming computing function, and it may be determined whether the computing task belongs to the time-consuming computing task through information such as a function name. For example, 100 functions may be included in the web page front-end Utils, 80 of which pertain to non-time consuming computing tasks and 20 of which pertain to time consuming computing tasks. For example, image processing, encryption computation, etc., are time-consuming computing tasks.
In embodiments of the application, the acceleration service may include a computing outsourcing service. These computing outsourcing services have better computing power than the web page front-end. In the current running environment of a web page, e.g., hundred degrees, there may or may not be some computing outsourcing service that needs to be detected or looked up for determination at the web page run-time. If no computing outsourcing service exists in the current running environment, the front end of the webpage can process various computing tasks required by the webpage. In this case, both time-consuming and non-time-consuming computing tasks are computed at the front end of the web page. If the computing outsourcing service exists in the current running environment, the front end of the webpage can distribute the time-consuming computing task of the webpage to the computing outsourcing service, and the non-time-consuming computing outsourcing service is also computed by the front end of the webpage.
In the embodiment of the application, the time-consuming computing task at the front end of the webpage is distributed to the acceleration service, so that the running speed of the webpage can be improved, and the waiting time is reduced.
Fig. 2 is a flowchart of a method of accelerating web page operation according to another embodiment of the present application. The acceleration method for web page running of this embodiment may include the steps of the above-described embodiments. In this embodiment, in one possible implementation manner, in S102, in a case that an acceleration service exists in the current running environment, the time-consuming computing task is distributed to the acceleration service for processing, where the processing includes:
S201, distributing the time-consuming computing task to the cloud acceleration service for processing under the condition that the cloud acceleration service exists in the current operation environment.
In the current running environment of the webpage, whether cloud acceleration service is started or not can be detected. The current running environment of the web page may be different by opening the web page through different clients. Some operating environments may have cloud acceleration services turned on, and some operating environments may not have cloud acceleration services turned on. For example, assuming that a web page is opened through a mobile phone hundred degrees APP, when it is detected that a cloud acceleration service is opened, the front end of the web page may send a time-consuming computing task of the web page to the cloud acceleration service, such as a cloud computing outsourcing service. In particular, in the current operating environment, how many computing nodes form the cloud computing network may be dynamically changing. For example, 100 computing nodes form a cloud computing network at one time, and 90 computing nodes form a cloud computing network at another time.
The cloud acceleration service exists in the current operation environment of the webpage, and the time-consuming computing tasks can be distributed to a plurality of computing nodes of the cloud acceleration service. And each computing node executes a part of the time-consuming computing task, and finally gathers to obtain a computing result.
For example, it is necessary to calculate thermodynamic diagrams of which people have fever at the map station, which thermodynamic diagram calculation task is a time-consuming calculation task. Thermodynamic diagram computing tasks are distributed to a plurality of computing nodes of a cloud acceleration service. Different computing nodes compute a portion of the thermodynamic diagram. Assuming that the thermodynamic diagram is divided into 4 blocks, one computing node computes the upper left corner, one computing node computes the upper right corner, one computing node computes the lower left corner, one computing node computes the lower right corner, and then the complete thermodynamic diagram is finally obtained by synthesis. The division of the thermodynamic diagram into 4 blocks of this example is merely an example and not a limitation, and may be flexibly divided according to requirements. For example, the thermodynamic diagram is divided into 10 blocks, and distributed to 10 computing nodes for computing respectively.
In the embodiment of the application, the front end of the webpage distributes the time-consuming calculation task to the cloud acceleration service existing in the current running environment for processing, so that the running speed of the webpage can be obviously improved by utilizing the calculation capability of the cloud, and the waiting time is reduced.
Fig. 3 is a flowchart of a method of accelerating web page operation according to another embodiment of the present application. The acceleration method for web page running of this embodiment may include the steps of the above-described embodiments. In this embodiment, in one possible implementation manner, in S102, in a case that an acceleration service exists in the current running environment, the time-consuming computing task is distributed to the acceleration service for processing, where the processing includes:
And S301, distributing the time-consuming computing task to the local acceleration service for processing under the condition that the local acceleration service exists in the current running environment.
In this embodiment, a web page is opened in a client on a terminal device, and if a computing outsourcing service exists in the client in the current running environment, the front end of the web page may distribute a time-consuming computing task to the computing outsourcing service of the client for processing. If the client does not have the computing outsourcing service, the web page front end processes the time-consuming computing task by itself.
In the embodiment of the application, the front end of the webpage distributes the time-consuming calculation task to the local acceleration service existing in the current running environment for processing, so that the running speed of the webpage can be obviously improved by utilizing the local calculation capability of the client, and the waiting time is reduced.
In one possible implementation, the embedded host of the local acceleration service includes at least one of the following clients:
android application packages (Android application package, APK) of the android operating system.
Application (APP) of IOS.
System services of the operating system of the computer. Such as microsoft Windows or apple Mac.
The executable file is responsible for interfacing with the interprocess communication module at the front end of the web page. Wherein the suffix name of the executable file is not fixed, such as exe file or dmg file.
For example, a web page is opened in an APP on a terminal device, and under the current running environment, the APP has a computing outsourcing service, and the front end of the web page can distribute a time-consuming computing task to the computing outsourcing service of the APP for processing.
An example of a time consuming computing task is getMd (get Md 5), which can distribute the task of getMd5 to the APP's computing outsourcing service for processing. Wherein Md5 is a Message-Digest Algorithm (Message-Digest Algorithm), which is a widely used cryptographic hash function that can generate a 128-bit (16-byte) hash value (hash value) to ensure that the information transfer is completely consistent. Taking the example of uploading a 2GB file, the CPU of i5-2133MHz takes about 5 minutes to calculate Md5 using the web JS language, while the local outsourcing service takes only about 20 seconds to calculate Md5 using C++. The computing efficiency can be obviously and greatly improved through the local outsourcing service.
In the embodiment of the application, the local acceleration service can be embedded in various clients to support the acceleration of web pages across platforms and technical stacks.
Fig. 4 is a flowchart of a method of accelerating web page operation according to another embodiment of the present application. The acceleration method for web page running of this embodiment may include the steps of the above-described embodiments. In this embodiment, in a possible implementation manner, the method further includes:
S401, judging whether cloud acceleration service exists in the current running environment. If yes, executing S201, and distributing the time-consuming computing task to the cloud acceleration service for processing under the condition that the cloud acceleration service exists in the current operation environment.
S402, judging whether a local acceleration service exists under the condition that the cloud acceleration service does not exist in the current running environment. If so, executing S301, and distributing the time-consuming computing task to the local acceleration service for processing under the condition that the local acceleration service exists in the current running environment. Otherwise, the front end of the webpage calculates the time-consuming calculation task by itself.
In one example, it may be first determined whether cloud acceleration services exist in the current operating environment. If cloud acceleration service exists, the time-consuming computing task can be distributed to the cloud acceleration service for processing. If the cloud acceleration service does not exist, judging whether the local acceleration service exists or not. If a local acceleration service is present, the time consuming computing tasks may be distributed to the local acceleration service for processing. If no local acceleration service exists, the time-consuming computing task is computed by the web page front end itself.
In the embodiment of the application, the front end of the webpage distributes the time-consuming calculation task to the cloud or local acceleration service existing in the current running environment for processing, the strong calculation capability of the cloud is preferentially utilized, and when the cloud can not provide the acceleration service, the local calculation capability of the client can be utilized, so that the running speed of the webpage is obviously improved, and the waiting time is reduced.
In one application example, high-performance computing outsourcing service is realized in a cloud or webpage running environment, and when the webpage runs, whether available computing outsourcing service exists in the current environment is searched. If so, the time consuming computing logic is thrown to the computing outsourcing service by the established protocol, and if no more optimal solution exists, the computing service itself is used.
In the application example, the method for accelerating the running speed of the webpage under a certain environment is realized together based on a front end, a Cloud (also called Cloud Server) and a local client, and as shown in fig. 5, the method mainly realizes the following functions:
1. Front end: intelligent logic layer SmartUtils
The SmartUtils module of the web page front end (WebViewJS) is responsible for identifying time-consuming computing tasks, such as time-consuming computing functions, and looking up whether there are computing outsourcing services available in the current operating environment. If so, the method is responsible for distributing time-consuming computing tasks to the computing outsourcing services and acquiring computing results. If not, the time-consuming computing task is transferred to the local logic layer Utils for processing. For example, if the cloud has a computing service installation package for the corresponding environment, it is responsible for booting the installation. In addition SmartUtils can pass the non-time consuming computational functions directly to the local logical layer Utils process.
2. Front end: the local application communication module IPC (inter-Process Communication ).
The module is in data communication with a local computing outsourcing service. And may capture the presence of a computing service and notify the installation of the local computing service.
3. Client side: computing outsourcing services such as local computing servers (CaculateLocalServer)
The embedded host of the module can be an Android APK, an IOS APP, windows or Mac system service, or an executable file (such as exe file or dmg file, with an indefinite suffix) is responsible for interfacing with the front-end IPC module and responding to the SmartUtils computing task.
4. Cloud: cloudServer A
Is responsible for providing cloud computing services.
Responsible for issuing the computing outsourcing service.
In the application example, the webpage can be embedded with a computing outsourcing service communication module, so that distribution of computation and acquisition of results are realized. And realizing corresponding computing outsourcing service under cloud or webpage running environment. After the webpage is started, the cloud can issue the computing outsourcing service to the local installation.
The accelerating method for web page operation can enable the web page to be a real application center, and further enable the accelerated web page to realize a plurality of functions which cannot be realized by the web page before. For example, the computing performance of the webpage is not limited to the mainstream webpage explanatory language, but functions are realized across the technical stack, and the performance ceiling of the webpage is broken through.
The accelerating method for webpage operation can improve the calculation performance of the webpage, so that the webpage development can break through the barrier of the technical stack, and is not limited to low-performance business development. In particular, time-consuming computing services may be outsourced such that web pages may be used in certain environments (e.g., 2B business deployments) to achieve high performance computing performance. For example, the original one page needs to calculate the MD5 code of the local 1GB file, which takes 1 minute, and the calculation is only 20 seconds after outsourcing.
The accelerating method for webpage operation can expand webpage capacity boundaries: the webpage can serve as an application display center and provide functions such as local file searching and the like through the outsourcing service. Because such functionality requires preloading, etc., processing the functionality with the web page front end is not continued because it is too long to run.
The accelerating method for webpage operation solves the problem of low webpage operation speed in certain environments, and enables webpages written in HTML, python, javaScript and other explanatory languages to break through performance bottlenecks of the explanatory languages. Data communication between the high-performance computing service and the high-performance computing service is opened through a protocol, and time-consuming computing logic is directly thrown to the high-performance computing service, and the high-performance computing service is calculated by using a Java, C++ or distributed cloud computing system with higher performance or higher security.
The accelerating method for web page operation of the embodiment of the application can be used in various products, such as hundred-degree self-contained products: hundred degree VR (Virtual Reality) broadcast control systems, hundred degree investment companies, etc. The method is suitable for various webpages embedded in the mobile terminal APP.
FIG. 6 is a block diagram of an acceleration device for web page operation in accordance with one embodiment of the present application. The apparatus may include:
The identifying module 41 is used for identifying time-consuming computing tasks at the front end of the webpage;
the distributing module 42 is configured to distribute the time-consuming computing task to the acceleration service for processing in the case that the acceleration service exists in the current running environment.
In one possible implementation, as shown in fig. 7, the distribution module 42 includes:
The cloud distribution sub-module 421 is configured to distribute the time-consuming computing task to the cloud acceleration service for processing under the condition that the cloud acceleration service exists in the current operating environment.
In one possible implementation, the distribution module includes:
The local distribution sub-module 422 is configured to distribute the time-consuming computing task to the local acceleration service for processing in the case where the local acceleration service exists in the current running environment.
In one possible embodiment, the apparatus further comprises:
The first judging module 51 is configured to judge whether a cloud acceleration service exists in the current operating environment; under the condition that cloud acceleration service exists in the current operation environment, the time-consuming computing task is distributed to the cloud acceleration service for processing. The time-consuming computing task is distributed to the cloud acceleration service for processing, for example, by the cloud distribution sub-module 421.
The second judging module 52 judges whether a local acceleration service exists or not under the condition that the cloud acceleration service does not exist in the current running environment; in the case that a local acceleration service exists in the current running environment, the time-consuming computing task is distributed to the local acceleration service for processing. For example, the time consuming computing tasks are distributed to the local acceleration service for processing by local distribution sub-module 422.
In one possible implementation, the embedded host of the local acceleration service includes at least one of the following clients:
Android application packages for android operating systems.
Application of IOS.
System services of the operating system of the computer. Such as microsoft Windows or apple Mac.
The executable file is responsible for interfacing with the interprocess communication module at the front end of the web page. Wherein the suffix name of the executable file is not fixed, such as exe file or dmg file.
The functions of each module in each device of the embodiments of the present application may be referred to the corresponding descriptions in the above methods, and are not described herein again.
According to embodiments of the present application, the present application also provides an electronic device, a readable storage medium and a computer program product.
Fig. 8 is a block diagram of an electronic device according to an acceleration method for web page running according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 8, the electronic device includes: one or more processors 901, memory 902, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). In fig. 8, a processor 901 is taken as an example.
Memory 902 is a non-transitory computer readable storage medium provided by the present application. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method for accelerating web page operation provided by the present application. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the acceleration method of web page running provided by the present application.
The memory 902 is used as a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the identification module 41 and the distribution module 42 shown in fig. 6) corresponding to the acceleration method for web page running in the embodiment of the present application. The processor 901 executes various functional applications of the server and data processing, that is, implements the acceleration method of web page running in the above-described method embodiment, by running non-transitory software programs, instructions, and modules stored in the memory 902.
The memory 902 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the electronic device of the acceleration method of web page operation, and the like. In addition, the memory 902 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory 902 optionally includes memory remotely located relative to processor 901, which may be connected to the electronic device of the acceleration method of web page operation via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the acceleration method of web page running may further include: an input device 903 and an output device 904. The processor 901, memory 902, input devices 903, and output devices 904 may be connected by a bus or other means, for example in fig. 8.
The input device 903 may receive input numeric or character information as well as key signal inputs related to user settings and function control of the electronic device that generate the acceleration method for web page running, such as input devices for a touch screen, a keypad, a mouse, a track pad, a touch pad, a joystick, one or more mouse buttons, a track ball, a joystick, etc. The output means 904 may include a display device, auxiliary lighting means (e.g., LEDs), tactile feedback means (e.g., vibration motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and Virtual Private Server (VPS) service are overcome.
In the embodiment of the application, the time-consuming computing task is distributed to the acceleration service existing in the current running environment for processing, so that the running speed of the webpage can be increased.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed embodiments are achieved, and are not limited herein.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (6)

1. An acceleration method for web page operation, comprising:
identifying a time-consuming computing task at the front end of the webpage;
judging whether cloud acceleration service exists in the current running environment;
Under the condition that cloud acceleration service exists in the current operation environment, distributing the time-consuming computing task to the cloud acceleration service for processing;
judging whether a local acceleration service exists under the condition that the cloud acceleration service does not exist in the current running environment;
distributing the time-consuming computing task to the local acceleration service for processing under the condition that the local acceleration service exists in the current running environment; wherein, the current running environment is: an environment associated with a client having the front end of the web page opened; the existence of the local acceleration service in the current running environment comprises the following steps: the client running the front end of the webpage has a computing outsourcing service, and the cloud acceleration service in the current running environment comprises the following steps: the client starts cloud acceleration service; the computing outsourcing service is as follows: a program different from the programming language of the web page front end, and the computing outsourcing service has better computing power for processing the time-consuming computing task than the web page front end;
under the condition that acceleration service does not exist in the current running environment, the time-consuming computing task is processed through the front end of the webpage; the acceleration service includes: local acceleration service or cloud acceleration service.
2. The method of claim 1, wherein the embedded host of the local acceleration service comprises at least one of the following clients:
android application packages of the android operating system;
an application of the IOS;
system services of the operating system of the computer;
the executable file is responsible for interfacing with an interprocess communication module at the front end of the web page.
3. An acceleration device for web page running, comprising:
The recognition module is used for recognizing time-consuming calculation tasks at the front end of the webpage;
the first judging module is used for judging whether cloud acceleration service exists in the current running environment; under the condition that cloud acceleration service exists in the current operation environment, distributing the time-consuming computing task to the cloud acceleration service for processing;
The second judging module is used for judging whether a local acceleration service exists or not under the condition that the cloud acceleration service does not exist in the current running environment; distributing the time-consuming computing task to the local acceleration service for processing under the condition that the local acceleration service exists in the current running environment; wherein, the current running environment is: an environment associated with a client having the front end of the web page opened; the existence of the local acceleration service in the current running environment comprises the following steps: the client running the front end of the webpage has a computing outsourcing service, and the cloud acceleration service in the current running environment comprises the following steps: the client starts cloud acceleration service; the computing outsourcing service is as follows: a program different from the programming language of the web page front end, and the computing outsourcing service has better computing power for processing the time-consuming computing task than the web page front end; under the condition that acceleration service does not exist in the current running environment, the time-consuming computing task is processed through the front end of the webpage; the acceleration service includes: local acceleration service or cloud acceleration service.
4. The apparatus of claim 3, wherein the embedded host of the local acceleration service comprises at least one of the following clients:
android application packages of the android operating system;
an application of the IOS;
system services of the operating system of the computer;
the executable file is responsible for interfacing with an interprocess communication module at the front end of the web page.
5. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 or 2.
6. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1 or 2.
CN202010606603.1A 2020-06-29 2020-06-29 Webpage running acceleration method, device, equipment and storage medium Active CN111767489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010606603.1A CN111767489B (en) 2020-06-29 2020-06-29 Webpage running acceleration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010606603.1A CN111767489B (en) 2020-06-29 2020-06-29 Webpage running acceleration method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111767489A CN111767489A (en) 2020-10-13
CN111767489B true CN111767489B (en) 2024-04-19

Family

ID=72722966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010606603.1A Active CN111767489B (en) 2020-06-29 2020-06-29 Webpage running acceleration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111767489B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860450B (en) * 2020-12-04 2024-04-19 武汉悦学帮网络技术有限公司 Request processing method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617191A (en) * 2013-11-07 2014-03-05 北京奇虎科技有限公司 Browser and method for rendering same by means of hardware acceleration
CN104063407A (en) * 2013-03-22 2014-09-24 谈天霆 Browser architecture based on cloud computing and analysis method
CN104202403A (en) * 2014-09-10 2014-12-10 安一恒通(北京)科技有限公司 Browser, cloud server and method for web browsing acceleration
US8930896B1 (en) * 2010-07-23 2015-01-06 Amazon Technologies, Inc. Data anonymity and separation for user computation
CN104750851A (en) * 2015-04-14 2015-07-01 钱海祥 Webpage content lazy loading method and system
WO2016115957A1 (en) * 2015-01-19 2016-07-28 张维加 Method and device for accelerating computers and intelligent devices for users and applications
CN106021421A (en) * 2016-05-13 2016-10-12 北京视博云科技有限公司 Method and device for accelerating web page rendering
CN106909574A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 Speed up to method and browser that browser is rendered
CN106909329A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 Speed up to method and browser that browser is rendered
CN107452072A (en) * 2017-07-25 2017-12-08 深圳拎得清软件有限公司 BIM line modelings method and its system based on webpage
US10331462B1 (en) * 2018-11-06 2019-06-25 Cloudflare, Inc. Cloud computing platform that executes third-party code in a distributed cloud computing network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9430640B2 (en) * 2012-09-28 2016-08-30 Intel Corporation Cloud-assisted method and service for application security verification
US20170054792A1 (en) * 2014-11-20 2017-02-23 Otoy, Inc. Systems and methods for deploying applications

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8930896B1 (en) * 2010-07-23 2015-01-06 Amazon Technologies, Inc. Data anonymity and separation for user computation
CN104063407A (en) * 2013-03-22 2014-09-24 谈天霆 Browser architecture based on cloud computing and analysis method
CN103617191A (en) * 2013-11-07 2014-03-05 北京奇虎科技有限公司 Browser and method for rendering same by means of hardware acceleration
CN104202403A (en) * 2014-09-10 2014-12-10 安一恒通(北京)科技有限公司 Browser, cloud server and method for web browsing acceleration
WO2016115957A1 (en) * 2015-01-19 2016-07-28 张维加 Method and device for accelerating computers and intelligent devices for users and applications
CN104750851A (en) * 2015-04-14 2015-07-01 钱海祥 Webpage content lazy loading method and system
CN106909574A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 Speed up to method and browser that browser is rendered
CN106909329A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 Speed up to method and browser that browser is rendered
CN106021421A (en) * 2016-05-13 2016-10-12 北京视博云科技有限公司 Method and device for accelerating web page rendering
CN107452072A (en) * 2017-07-25 2017-12-08 深圳拎得清软件有限公司 BIM line modelings method and its system based on webpage
US10331462B1 (en) * 2018-11-06 2019-06-25 Cloudflare, Inc. Cloud computing platform that executes third-party code in a distributed cloud computing network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种基于Android平台的云客户端实现方案;金思宇;吴振宇;沈苏彬;;计算机技术与发展(第11期);全文 *
终端减负管道加速:百度云端一体为WebApp提速;张少虎;《www.chinadaily.com.cn/tech/2013-02/19/content_16236484.htm》;第1-2页 *

Also Published As

Publication number Publication date
CN111767489A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN111769957B (en) Block chain cross-chain query method, device, equipment and storage medium
CN111586128B (en) Method, device, equipment and storage medium for acquiring applet data
CN113900834B (en) Data processing method, device, equipment and storage medium based on Internet of things technology
WO2023093016A1 (en) Cloud code development system, method, and apparatus, device, and storage medium
US10461772B1 (en) Code conversion
CN103677970A (en) System and method for achieving combination display of terminal local desktop and far-end virtual desktop
WO2023082716A1 (en) Method and apparatus for operating android application in linux system, and device
CN111813623B (en) Page monitoring method and device, electronic equipment and storage medium
CN113139660A (en) Model reasoning method and device, electronic equipment and storage medium
CN111459609B (en) Virtual machine safety protection method and device and electronic equipment
CN114077367A (en) Method and device for realizing shortcut of android application in Linux system
CN110958250B (en) Port monitoring method and device and electronic equipment
CN111767489B (en) Webpage running acceleration method, device, equipment and storage medium
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN103501295A (en) Virtual machine migration-based remote access method and equipment
CN114217996A (en) Sound mixing method and device
CN111966471B (en) Access method, device, electronic equipment and computer storage medium
CN110536283B (en) Terminal identifier acquisition method, device, electronic equipment and medium
EP3812958A1 (en) Method and apparatus for detecting and tracking target, electronic device and storage media
CN112947916A (en) Method, device, equipment and storage medium for realizing online canvas
CN111832070A (en) Data mask method and device, electronic equipment and storage medium
CN112565225A (en) Method and device for data transmission, electronic equipment and readable storage medium
CN111339187A (en) Data processing method, device, equipment and storage medium based on intelligent contract
CN111563253A (en) Intelligent contract operation method, device, equipment and storage medium
CN110650215A (en) Function execution method and device of edge network

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