CN111355803A - Webpage transmission method, client and application server - Google Patents

Webpage transmission method, client and application server Download PDF

Info

Publication number
CN111355803A
CN111355803A CN202010143618.9A CN202010143618A CN111355803A CN 111355803 A CN111355803 A CN 111355803A CN 202010143618 A CN202010143618 A CN 202010143618A CN 111355803 A CN111355803 A CN 111355803A
Authority
CN
China
Prior art keywords
webpage
resource
resource request
webpage resource
target
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
CN202010143618.9A
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.)
Hainan Jinpan Intelligent Technology Co ltd
Original Assignee
Hainan Jinpan Intelligent 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 Hainan Jinpan Intelligent Technology Co ltd filed Critical Hainan Jinpan Intelligent Technology Co ltd
Priority to CN202010143618.9A priority Critical patent/CN111355803A/en
Publication of CN111355803A publication Critical patent/CN111355803A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • 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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a webpage transmission method, a client and an application server, wherein the client responds to webpage access operation of a user to acquire a hypertext document of a target webpage; the target webpage refers to a webpage which a user needs to access; extracting and combining a plurality of webpage resource addresses in the hypertext document to obtain a webpage resource request, then sending the webpage resource request to an application server to obtain webpage resources pointed by the webpage resource addresses in the webpage resource request, and finally combining the webpage resources in the webpage resource packet by a client to obtain a target webpage. In the scheme, the client sends a request to the application server once to obtain a plurality of webpage resources, and the number of interaction times between the client and the application server is obviously reduced, so that the time for the client to obtain the webpage is shortened, and the user experience is improved.

Description

Webpage transmission method, client and application server
Technical Field
The invention relates to the technical field of internet, in particular to a webpage transmission method, a client and an application server.
Background
With the development of internet technology, the visual effect of various web pages accessed by people is more and more colorful. In order to display various visual effects, a webpage refers to a large number of webpage resources, and each time a client needs to display the webpage, the client obtains the webpage resources (such as pictures, scripts of webpage controls, style files, animation files and the like) referred by the webpage from an application server and combines the webpage resources into the webpage with a specific visual effect.
At present, a web page resource is requested in a manner that after a client acquires a hypertext document of a web page, a resource address of each web page resource referenced by the web page is extracted from the hypertext document, and each time a resource address is extracted, a web page resource pointed by the resource address is requested from an application server until all web page resources are acquired.
With the increase of web page resources, the existing web page transmission method requires frequent interaction between the client and the application server to obtain the web page resources, which results in too long time for waiting for the web page to be displayed and poor user experience.
Disclosure of Invention
In view of the above drawbacks of the prior art, the present application provides a method, a client and an application server for transmitting a web page, so as to provide an efficient web page transmission scheme.
The invention provides a webpage transmission method, which is applied to a client side and comprises the following steps:
responding to a webpage access operation of a user, and acquiring a hypertext document of a target webpage; the target webpage is a webpage specified by webpage access operation of a user;
extracting and combining a plurality of webpage resource addresses contained in the hypertext document to obtain a webpage resource request of the target webpage;
sending the webpage resource request to an application server;
receiving a webpage resource package of the target webpage fed back by the application server; the webpage resource package comprises webpage resources corresponding to each webpage resource address carried by the webpage resource request;
and combining all the webpage resources contained in the webpage resource package to obtain the target webpage.
Optionally, the extracting and combining the multiple web page resource addresses included in the hypertext document to obtain the web page resource request of the target web page includes:
extracting a plurality of webpage resource addresses carried by the hypertext document;
splicing the multiple webpage resource addresses, and inserting a preset separator between every two adjacent webpage resource addresses to obtain the webpage resource request of the target webpage.
Optionally, the sending the web resource request to the application server includes:
and sending the webpage resource request encapsulated by a preset network protocol to a network server, so that the network server analyzes based on the network protocol and forwards the webpage resource request obtained by analysis to the application server.
The second aspect of the present invention provides a method for transmitting a web page, which is applied to an application server, and the method includes:
receiving a webpage resource request of a target webpage sent by a client; the target webpage is a webpage specified by webpage access operation of a user;
analyzing the webpage resource request to obtain a plurality of webpage resource addresses carried by the webpage resource request;
searching and obtaining a webpage resource corresponding to each webpage resource address based on a preset path rule aiming at each webpage resource address;
combining the webpage resources corresponding to each webpage resource address obtained by searching to obtain a webpage resource package of the target webpage;
and sending the webpage resource package to the client.
Optionally, the analyzing the web resource request to obtain a plurality of web resource addresses carried by the web resource request includes:
identifying each preset separator included in the webpage resource request;
and splitting the webpage resource request based on the identifier obtained by identification to obtain a plurality of webpage resource addresses carried by the webpage resource request.
A third aspect of the present invention provides a client, including:
the acquisition unit is used for responding to webpage access operation of a user and acquiring a hypertext document of a target webpage; the target webpage is a webpage specified by webpage access operation of a user;
the request unit is used for extracting and combining a plurality of webpage resource addresses contained in the hypertext document to obtain a webpage resource request of the target webpage;
a sending unit, configured to send the web resource request to an application server;
the receiving unit is used for receiving the webpage resource package of the target webpage fed back by the application server; the webpage resource package comprises webpage resources corresponding to each webpage resource address carried by the webpage resource request;
and the combination unit is used for combining all webpage resources contained in the webpage resource package to obtain the target webpage.
Optionally, the request unit includes:
the extraction unit is used for extracting a plurality of webpage resource addresses carried by the hypertext document;
and the splicing unit is used for splicing the plurality of webpage resource addresses, and inserting a preset separator between every two adjacent webpage resource addresses to obtain the webpage resource request of the target webpage.
Optionally, when the sending unit sends the web resource request to an application server, the sending unit is specifically configured to:
and sending the webpage resource request encapsulated by a preset network protocol to a network server, so that the network server analyzes based on the network protocol and forwards the webpage resource request obtained by analysis to the application server.
A fourth aspect of the present invention provides an application server, comprising:
the receiving unit is used for receiving a webpage resource request of a target webpage sent by a client; the target webpage is a webpage specified by webpage access operation of a user;
the analysis unit is used for analyzing the webpage resource request to obtain a plurality of webpage resource addresses carried by the webpage resource request;
the searching unit is used for searching and obtaining the webpage resources corresponding to the webpage resource addresses based on a preset path rule aiming at each webpage resource address;
the combination unit is used for combining the webpage resources corresponding to each webpage resource address obtained by searching to obtain a webpage resource package of the target webpage;
and the sending unit is used for sending the webpage resource package to the client.
Optionally, the parsing unit includes:
the identification unit is used for identifying each preset separator included in the webpage resource request;
and the splitting unit is used for splitting the webpage resource request based on the identifier obtained by identification to obtain a plurality of webpage resource addresses carried by the webpage resource request.
The application provides a webpage transmission method, a client and an application server, wherein the client responds to webpage access operation of a user to acquire a hypertext document of a target webpage; the target webpage refers to a webpage which a user needs to access; extracting and combining a plurality of webpage resource addresses in the hypertext document to obtain a webpage resource request, then sending the webpage resource request to an application server to obtain webpage resources pointed by the webpage resource addresses in the webpage resource request, and finally combining the webpage resources in the webpage resource packet by a client to obtain a target webpage. In the scheme, the client sends a request to the application server once to obtain a plurality of webpage resources, and the number of interaction times between the client and the application server is obviously reduced, so that the time for the client to obtain the webpage is shortened, and the user experience is improved.
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, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for transmitting a web page according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a client according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an application server according to an embodiment of the present application.
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.
With the development of network technology, the visual effects of various web pages on the web are more and more abundant, and correspondingly, the number of web page resources forming the web pages is more and more, and the web page resources include but are not limited to the following types: text, pictures, scripts of web page controls, Style files (i.e., CSS, screening Style Sheets), and animation files.
The webpage control refers to some tools capable of interacting with a user in the webpage, such as a button and an input dialog box, and the script of the webpage control is used for indicating a corresponding mode of interaction between the webpage control and the user, for example, the script of the button is used for indicating what action the webpage needs to perform after the user clicks the button, and the script of the input dialog box is used for indicating how the user responds after inputting information.
The style file is used to control the location of other web page resources when displayed.
When a user accesses a certain webpage by using a client (in the present application, the client generally refers to all terminal devices capable of accessing the webpage, such as a personal computer, a smart phone, and the like), the client needs to perform actions of two links, namely, transmission and display of the webpage, respectively, in order to display the webpage to the user. In the web page transmission link, the client needs to obtain all web page resources referenced by the user access from the application server providing the web page resources, and in the display link, the web page resources are combined to obtain the web page accessed by the user and are displayed on the display device.
In the existing method, when a client acquires a plurality of web page resources of a web page, a resource address of each web page resource needs to be extracted from a hypertext document (also called html document, html is a hypertext markup language commonly used in the internet) of the web page, and then a resource request is sent to an application server for each resource address to acquire the web page resource pointed by the resource address. It can be understood that there is a certain delay in information interaction between the client and the application server, and in the case of more web page resources, the existing method requires frequent information interaction between the client and the application server, which results in that the time consumed for transmitting the web page including a large amount of web page resources by the existing web page transmission method is long, and the user needs to wait for a long time to view the web page after initiating the access request, resulting in poor user experience.
In order to solve the above problem, embodiments of the present application provide a method for transmitting a web page, which shortens the waiting time of a user when browsing the web page and improves user experience by providing a method for transmitting a web page whose transmission time is not affected by the number of web page resources.
Referring to fig. 1, the method provided in this embodiment includes the following steps:
s101, the client responds to webpage access operation of a user and obtains a hypertext document of a target webpage.
The target webpage refers to a webpage specified by the webpage access operation of the user.
There are various types of web page access operations for users, and two examples are described below:
first, a user can directly input a web page address of a web page to be accessed in a web browser of a client, each web page in the internet has a unique web page address, and the user can specify only one web page to be accessed by inputting the web page address. Obviously, in this manner, the target web page is the web page pointed to by the web page address input by the user.
Second, the user may click on web page links of other web pages. A web page often displays a plurality of clickable web page links, and records the web page address of the web page pointed by each web page link, and after a user clicks any one web page link, the client can acquire and display the web page pointed by the web page link to the user by using the corresponding web page address. In this way, the target web page is the web page pointed to by the web page link clicked by the user.
The hypertext document of the web page records the address of each web page resource composing the web page, namely the web page resource address. Generally, a hypertext document of a web page is stored in an application server providing the web page, after a user designates a target web page, a client can send a web page address of the target web page to the application server, and the application server can find out the hypertext document of the target web page stored in the application server by using the web page address and send the hypertext document to the client.
S102, the client extracts and combines a plurality of webpage resource addresses contained in the hypertext document to obtain a webpage resource request of the target webpage.
The specific execution process of step S102 is:
and extracting a plurality of webpage resource addresses carried by the hypertext document.
Parsing of hypertext documents is a common technical means in the internet field, and is not described herein.
And splicing the multiple webpage resource addresses, and inserting a preset separator between every two adjacent webpage resource addresses to obtain the webpage resource request of the target webpage.
Specifically, the separator may be any one of the symbols designated in advance, or may be a combination of a plurality of symbols designated in advance. For example, commas (,) may be designated as separators, or three consecutive asterisks (×) may be designated as separators, and different web resource addresses can be effectively distinguished by the separators as long as the designated separators do not appear in one web resource address.
The following describes a specific implementation process of the above steps with commas as delimiters:
assuming that 5 web page resource addresses recorded in the hypertext document need to be combined into a web page resource request, and the 5 web page resource addresses are respectively marked as url-1, url-2, url-3, url-4 and url-5, then the web page resource addresses are spliced to obtain:
“url-1url-2url-3url-4url-5”
then, after inserting a separator between every two adjacent web page resource addresses, the following results are obtained:
“url-1,url-2,url-3,url-4,url-5”
the character string is a webpage resource request formed by combining the 5 webpage resource addresses.
Optionally, in step S102, the client may combine all the web resource addresses in the hypertext document into one web resource request, or divide all the web resource addresses in the hypertext document into several categories according to a certain basis, combine a plurality of web resource addresses in the same category into one web resource request, and then send the web resource requests to the application server respectively.
S103, the client sends a webpage resource request to the application server.
In the internet, a client and an application server are generally connected through a network server, that is, a message sent by the client is first transmitted to the network server and then forwarded to the application server by the network server, and correspondingly, the message sent by the application server also needs to be forwarded to the client through the network server.
Therefore, the specific execution procedure of step S103 is:
the method comprises the steps that a used network protocol, such as an http protocol, is agreed between a client and a network server in advance, after a webpage resource request is generated by the client, the webpage resource request is packaged based on the network protocol, and then the packaged webpage resource request is sent to the network server.
And after receiving the webpage resource request, the network server analyzes the encapsulated webpage resource request based on a pre-agreed network protocol, and then sends the webpage resource request obtained by analysis to the application server.
S104, the application server analyzes the webpage resource request to obtain a plurality of webpage resource addresses carried by the webpage resource request.
The application server in this embodiment may be a server for running a jxv (java xmlvisit) system, and the target web page may be any one of a plurality of web applications provided by the JXV system.
The specific execution process of step S104 includes:
each preset delimiter included in the web resource request is identified.
The delimiter is inserted when the client generates a web resource request, the client and the application server may agree in advance on the delimiter to be used, and both may change the delimiter at regular intervals (for example, at every other week), for example, the first week agrees to use a comma as the delimiter and the second week agrees to use an asterisk as the delimiter.
And splitting the webpage resource request based on the identified separators to obtain a plurality of webpage resource addresses carried by the webpage resource request.
Specifically, after each separator is identified, a character string between a start bit of the web resource request and a first separator is extracted, the character string is a first web resource address of the web resource request, then a character string between the first separator and a second separator is extracted, a second web resource address is obtained, and so on until a character string between a last separator and an end bit of the web resource request is extracted, and the last web resource address is obtained.
And S105, searching and obtaining the webpage resource corresponding to each webpage resource address by the application server based on the preset path rule.
Alternatively, the application server may search each web page resource by using a recursive search method.
The application server typically manages the large amount of web page resources stored by itself using a multi-level file directory. For example, the application server may establish a plurality of system folders, each system folder includes a plurality of primary subfolders, each primary subfolder includes a plurality of secondary subfolders, and so on, each level folder has a folder name. Therefore, in order to search a web resource, the web resource address needs to include the file name of the folder of each level to which the web resource belongs and the resource name of the web resource.
For example, a web resource is stored in the secondary subfolder X, the secondary subfolder is stored in the primary subfolder Y, and the primary subfolder Y is a subfolder of the system folder Z. The path rule is used for specifying which level of folder each character string in a web page resource address corresponds to respectively.
Specifically, the path rule may specify that names of different folders in the web page resource address and names of the folders and resources are separated by a slash (/), and that the level of the folders decreases progressively from left to right, with the string after the last slash as the resource name.
Based on the path rule, the web resource address of the web resource in the foregoing example is "Z/Y/X/resource name", and after obtaining the web resource address, according to the path, the application server first finds the system folder X, then searches the primary subfolder Y therein, searches the secondary subfolder X in the primary subfolder Y after finding, and finally searches the web resource pointed by the web resource address by searching the resource name in the secondary subfolder X.
S106, combining and searching the obtained multiple webpage resources by the application server to obtain a webpage resource package of the target webpage.
It should be noted that the number of the web resource packages herein is consistent with the number of the web resource requests sent by the client.
In other words, if the client combines all web resource addresses in the hypertext document of the target web page into one web resource request, the application server correspondingly combines all the web resource resources obtained by the search into one web resource package when step S106 is executed. If the client divides all web resource addresses in the hypertext document of the target web page into multiple categories and combines the multiple web resource addresses of each category to obtain multiple web resource requests, the application server correspondingly combines the web resources of different categories into corresponding web resource packages respectively when step S106 is executed, and each web resource package corresponds to one web resource request.
Aiming at any webpage resource request, after searching the webpage resource corresponding to each webpage resource address carried by the webpage resource request, the application server creates a folder, stores the webpage resources in the folder, and then compresses the folder to obtain a webpage resource package.
S107, the application server sends the webpage resource package to the client.
Similar to the process of sending the web resource request by the client, the web resource packet sent by the application server also needs to be forwarded to the client by the web server.
S108, combining the webpage resources of the webpage resource package by the client to obtain the target webpage.
After receiving the webpage resource package, the client decompresses the webpage resource package to obtain a folder comprising the requested multiple webpage resources, and then can read the multiple webpage resources from the folder.
Combining web page resources means:
after all webpage resources of the target webpage are obtained, the client determines the display positions of pictures, characters and animations according to the style files, and establishes association between scripts of each webpage control and the corresponding webpage controls, so that combination of the webpage resources is completed.
The embodiment provides a webpage transmission method, wherein a client responds to webpage access operation of a user to acquire a hypertext document of a target webpage; the target webpage refers to a webpage which a user needs to access; extracting and combining a plurality of webpage resource addresses in a hypertext document to obtain a webpage resource request, then sending the webpage resource request to an application server to obtain webpage resources pointed by the webpage resource addresses in the webpage resource request, after receiving the webpage resource request, the application server analyzes the webpage resource addresses, then respectively searching a plurality of webpage resources by utilizing the webpage resource addresses, combining the webpage resources into a webpage resource packet and sending the webpage resource packet to a client, and finally combining the webpage resources in the webpage resource packet by the client to obtain a target webpage. In the scheme, the client sends a request to the application server once to obtain a plurality of webpage resources, and the number of interaction times between the client and the application server is obviously reduced, so that the time for the client to obtain the webpage is shortened, and the user experience is improved.
In combination with the webpage transmission method introduced in the foregoing embodiment, the embodiment of the present application further provides a client and an application server.
Referring to fig. 2, the client provided in the present application includes the following structure:
an obtaining unit 201, configured to obtain a hypertext document of a target web page in response to a web page access operation of a user; the target webpage is a webpage specified by the webpage access operation of the user.
The request unit 202 is configured to extract and combine multiple web page resource addresses included in the hypertext document to obtain a web page resource request of the target web page.
A sending unit 203, configured to send a web resource request to an application server.
The receiving unit 204 is configured to receive a web resource package of a target web page fed back by an application server.
The webpage resource package comprises webpage resources corresponding to each webpage resource address carried by the webpage resource request.
The combining unit 205 is configured to combine the web page resources included in the web page resource package to obtain a target web page.
Specifically, the request unit 202 includes:
and the extraction unit is used for extracting a plurality of webpage resource addresses carried by the hypertext document.
And the splicing unit is used for splicing the plurality of webpage resource addresses, and inserting a preset separator between every two adjacent webpage resource addresses to obtain the webpage resource request of the target webpage.
When the sending unit 203 sends the web resource request to the application server, it is specifically configured to:
and sending the webpage resource request encapsulated by using a preset network protocol to a network server, so that the network server analyzes based on the network protocol and forwards the webpage resource request obtained by analyzing to an application server.
Referring to fig. 3, the application server provided in the present application includes the following structure:
a receiving unit 301, configured to receive a web resource request of a target web page sent by a client; the target webpage is a webpage specified by the webpage access operation of the user.
The parsing unit 302 is configured to parse the web resource request to obtain a plurality of web resource addresses carried by the web resource request.
The searching unit 303 is configured to search, for each web resource address, a web resource corresponding to the web resource address based on a preset path rule.
And the combining unit 304 is configured to combine the web page resources corresponding to each web page resource address obtained through the search, so as to obtain a web page resource package of the target web page.
A sending unit 305, configured to send the web resource package to the client.
Specifically, the parsing unit 302 includes:
and the identification unit is used for identifying each preset separator included in the webpage resource request.
And the splitting unit is used for splitting the webpage resource request based on the obtained separators to obtain a plurality of webpage resource addresses carried by the webpage resource request.
For the specific working principle of the client and the application server provided in this embodiment, reference may be made to the relevant steps of the method provided in the foregoing embodiment, and details are not described here again.
The embodiment provides a client and an application server, wherein an acquisition unit 201 of the client responds to a webpage access operation of a user to acquire a hypertext document of a target webpage; the target webpage refers to a webpage which a user needs to access; the request unit 202 extracts and combines a plurality of web resource addresses in a hypertext document to obtain a web resource request, the sending unit 203 sends the web resource request to an application server to obtain web resources pointed by the web resource addresses in the web resource request, after receiving the web resource request, the receiving unit 301 of the application server receives the web resource request, the parsing unit 302 parses the web resource addresses, the searching unit 303 searches a plurality of web resources by using the web resource addresses, the combining unit 304 combines the web resources into a web resource package, the sending unit 305 sends the web resource package to a client, and finally the combining unit 205 of the client combines the web resources in the web resource package to obtain a target web page. In the scheme, the client sends a request to the application server once to obtain a plurality of webpage resources, and the number of interaction times between the client and the application server is obviously reduced, so that the time for the client to obtain the webpage is shortened, and the user experience is improved.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It should be noted that the terms "first", "second", and the like in the present invention are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
Those skilled in the art can make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A webpage transmission method is applied to a client side, and comprises the following steps:
responding to a webpage access operation of a user, and acquiring a hypertext document of a target webpage; the target webpage is a webpage specified by webpage access operation of a user;
extracting and combining a plurality of webpage resource addresses contained in the hypertext document to obtain a webpage resource request of the target webpage;
sending the webpage resource request to an application server;
receiving a webpage resource package of the target webpage fed back by the application server; the webpage resource package comprises webpage resources corresponding to each webpage resource address carried by the webpage resource request;
and combining all the webpage resources contained in the webpage resource package to obtain the target webpage.
2. The transmission method according to claim 1, wherein the extracting and combining the plurality of web resource addresses contained in the hypertext document to obtain the web resource request of the target web page comprises:
extracting a plurality of webpage resource addresses carried by the hypertext document;
splicing the multiple webpage resource addresses, and inserting a preset separator between every two adjacent webpage resource addresses to obtain the webpage resource request of the target webpage.
3. The transmission method according to claim 1, wherein the sending the web page resource request to an application server comprises:
and sending the webpage resource request encapsulated by a preset network protocol to a network server, so that the network server analyzes based on the network protocol and forwards the webpage resource request obtained by analysis to the application server.
4. A transmission method of a webpage is applied to an application server, and the transmission method comprises the following steps:
receiving a webpage resource request of a target webpage sent by a client; the target webpage is a webpage specified by webpage access operation of a user;
analyzing the webpage resource request to obtain a plurality of webpage resource addresses carried by the webpage resource request;
searching and obtaining a webpage resource corresponding to each webpage resource address based on a preset path rule aiming at each webpage resource address;
combining the webpage resources corresponding to each webpage resource address obtained by searching to obtain a webpage resource package of the target webpage;
and sending the webpage resource package to the client.
5. The transmission method according to claim 4, wherein the analyzing the web resource request to obtain a plurality of web resource addresses carried by the web resource request includes:
identifying each preset separator included in the webpage resource request;
and splitting the webpage resource request based on the identifier obtained by identification to obtain a plurality of webpage resource addresses carried by the webpage resource request.
6. A client, comprising:
the acquisition unit is used for responding to webpage access operation of a user and acquiring a hypertext document of a target webpage; the target webpage is a webpage specified by webpage access operation of a user;
the request unit is used for extracting and combining a plurality of webpage resource addresses contained in the hypertext document to obtain a webpage resource request of the target webpage;
a sending unit, configured to send the web resource request to an application server;
the receiving unit is used for receiving the webpage resource package of the target webpage fed back by the application server; the webpage resource package comprises webpage resources corresponding to each webpage resource address carried by the webpage resource request;
and the combination unit is used for combining all webpage resources contained in the webpage resource package to obtain the target webpage.
7. The client of claim 6, wherein the requesting unit comprises:
the extraction unit is used for extracting a plurality of webpage resource addresses carried by the hypertext document;
and the splicing unit is used for splicing the plurality of webpage resource addresses, and inserting a preset separator between every two adjacent webpage resource addresses to obtain the webpage resource request of the target webpage.
8. The client according to claim 6, wherein the sending unit, when sending the web resource request to the application server, is specifically configured to:
and sending the webpage resource request encapsulated by a preset network protocol to a network server, so that the network server analyzes based on the network protocol and forwards the webpage resource request obtained by analysis to the application server.
9. An application server, comprising:
the receiving unit is used for receiving a webpage resource request of a target webpage sent by a client; the target webpage is a webpage specified by webpage access operation of a user;
the analysis unit is used for analyzing the webpage resource request to obtain a plurality of webpage resource addresses carried by the webpage resource request;
the searching unit is used for searching and obtaining the webpage resources corresponding to the webpage resource addresses based on a preset path rule aiming at each webpage resource address;
the combination unit is used for combining the webpage resources corresponding to each webpage resource address obtained by searching to obtain a webpage resource package of the target webpage;
and the sending unit is used for sending the webpage resource package to the client.
10. The application server of claim 9, wherein the parsing unit comprises:
the identification unit is used for identifying each preset separator included in the webpage resource request;
and the splitting unit is used for splitting the webpage resource request based on the identifier obtained by identification to obtain a plurality of webpage resource addresses carried by the webpage resource request.
CN202010143618.9A 2020-03-04 2020-03-04 Webpage transmission method, client and application server Pending CN111355803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010143618.9A CN111355803A (en) 2020-03-04 2020-03-04 Webpage transmission method, client and application server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010143618.9A CN111355803A (en) 2020-03-04 2020-03-04 Webpage transmission method, client and application server

Publications (1)

Publication Number Publication Date
CN111355803A true CN111355803A (en) 2020-06-30

Family

ID=71197346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010143618.9A Pending CN111355803A (en) 2020-03-04 2020-03-04 Webpage transmission method, client and application server

Country Status (1)

Country Link
CN (1) CN111355803A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110099277A1 (en) * 2009-10-28 2011-04-28 Verizon Patent And Licensing, Inc. Network architecture for resource requests
CN102184231A (en) * 2011-05-12 2011-09-14 广州市动景计算机科技有限公司 Method and device for acquiring page resources
CN103312803A (en) * 2013-06-17 2013-09-18 杭州华三通信技术有限公司 Method and device for optimizing Web access experience
US20140095579A1 (en) * 2012-09-28 2014-04-03 Verizon Patent And Licensing Inc. System and method for increasing web site serving performance
CN104063401A (en) * 2013-03-22 2014-09-24 阿里巴巴集团控股有限公司 Webpage style address merging method and device
US20160267189A1 (en) * 2013-11-15 2016-09-15 Beijing Qihoo Technology Company Limited Method for performing network search at a browser side and a browser
CN106993016A (en) * 2016-07-20 2017-07-28 平安科技(深圳)有限公司 Network request and the treating method and apparatus of response
CN108280228A (en) * 2018-02-26 2018-07-13 北京车和家信息技术有限公司 A kind of processing method and relevant device of webpage

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110099277A1 (en) * 2009-10-28 2011-04-28 Verizon Patent And Licensing, Inc. Network architecture for resource requests
CN102184231A (en) * 2011-05-12 2011-09-14 广州市动景计算机科技有限公司 Method and device for acquiring page resources
CN103392179A (en) * 2011-05-12 2013-11-13 广州市动景计算机科技有限公司 Method and device for acquiring page resources, browser and mobile terminal
US20140095579A1 (en) * 2012-09-28 2014-04-03 Verizon Patent And Licensing Inc. System and method for increasing web site serving performance
CN104063401A (en) * 2013-03-22 2014-09-24 阿里巴巴集团控股有限公司 Webpage style address merging method and device
CN103312803A (en) * 2013-06-17 2013-09-18 杭州华三通信技术有限公司 Method and device for optimizing Web access experience
US20160267189A1 (en) * 2013-11-15 2016-09-15 Beijing Qihoo Technology Company Limited Method for performing network search at a browser side and a browser
CN106993016A (en) * 2016-07-20 2017-07-28 平安科技(深圳)有限公司 Network request and the treating method and apparatus of response
CN108280228A (en) * 2018-02-26 2018-07-13 北京车和家信息技术有限公司 A kind of processing method and relevant device of webpage

Similar Documents

Publication Publication Date Title
US9223895B2 (en) System and method for contextual commands in a search results page
JP5695027B2 (en) Method and system for acquiring AJAX web page content
US20140052778A1 (en) Method and apparatus for mapping a site on a wide area network
US20110035435A1 (en) Method and system for converting desktop application to web application
JP5133984B2 (en) Input candidate providing device, input candidate providing system, input candidate providing method, and input candidate providing program
US20040162842A1 (en) Computerized document processing apparatus, computerized document processing method
TWI592807B (en) Method and device for web style address merge
JP2004510254A (en) Network server
KR102222287B1 (en) Web Crawler System for Collecting a Structured and Unstructured Data in Hidden URL
CN105095280A (en) Caching method and apparatus for browser
EP1334435A2 (en) Adding data to text pages by an intermediary proxy
JP2006065395A (en) Hyper link generating device, hyper link generating method, and hyper link generating program
CN110928767A (en) Webpage analysis method, device, equipment and storage medium
CN104021154A (en) Method and device for searching browser
US20090089245A1 (en) System and method for contextual commands in a search results page
CN103825772A (en) Method for identifying user click behavior and gateway equipment
US20030167262A1 (en) Cross-search method and cross-search program
CN111680247B (en) Local calling method, device and equipment of webpage character strings and storage medium
CN114003835A (en) Page rendering method, device, equipment and storage medium
EP2711838A1 (en) Documentation parser
TW201009698A (en) Method for improving the accessing efficiency of embedded web page
CN111355803A (en) Webpage transmission method, client and application server
JP2008071116A (en) Information delivery system, information delivery device, information delivery method and information delivery program
US20080126946A1 (en) Menu bar providing method and information browsing screen configuration file creation program
JP5330169B2 (en) Content data providing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200630

RJ01 Rejection of invention patent application after publication