WO2018001124A1 - Procédé d'envoi de fichier de page web, procédé et appareil de rendu de page web, et système de rendu de page web - Google Patents
Procédé d'envoi de fichier de page web, procédé et appareil de rendu de page web, et système de rendu de page web Download PDFInfo
- Publication number
- WO2018001124A1 WO2018001124A1 PCT/CN2017/088637 CN2017088637W WO2018001124A1 WO 2018001124 A1 WO2018001124 A1 WO 2018001124A1 CN 2017088637 W CN2017088637 W CN 2017088637W WO 2018001124 A1 WO2018001124 A1 WO 2018001124A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- information
- webpage
- server
- device information
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/972—Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/986—Document structures and storage, e.g. HTML extensions
Definitions
- the present application relates to the field of Internet technologies, and in particular, to a webpage file sending method, a webpage rendering method and apparatus, and a webpage rendering system.
- the terminal may render different webpage styles by acquiring different webpage files from the server, and the webpage files may include: CSS (Cascading Style Sheets) files, pictures, and the like.
- CSS Clicking Style Sheets
- the terminal in the process of requesting a webpage through a browser or a client, first, the terminal sends a webpage request to the server, and then, in response to the webpage request, the server returns to the terminal, which may be used during the webpage loading process.
- Web page file After receiving the webpage file returned by the server, the terminal needs to detect its own device information, and uses a media query method to determine a webpage style that is adapted to the device information and a loading required to render the webpage style.
- Web page file After receiving the webpage file returned by the server, the terminal needs to detect its own device information, and uses a media query method to determine a webpage style that is adapted to the device information and a loading required to render the webpage style.
- the terminal may select a webpage file (such as a CCS file, a picture, etc.) currently
- the media query method is needed to determine the webpage style that is adapted to the device information of the terminal, and the webpage file that needs to be loaded to render the webpage style, and select the currently loaded webpage from the webpage file returned by the server. Web page file. Since the above steps performed by the terminal before rendering the webpage need to consume certain processing resources of the terminal, the performance of the terminal is affected to some extent.
- the purpose of the embodiment of the present application is to provide a webpage file sending method, a webpage rendering method and device, and a webpage rendering Dyeing systems to solve the above problems in the prior art.
- the webpage file sending method, the webpage rendering method and apparatus, and the webpage rendering system provided by the embodiments of the present application are implemented as follows:
- a method for sending a webpage file comprising:
- the server receives a webpage request sent by the terminal and carries user agent information corresponding to the terminal;
- the server acquires a webpage file corresponding to the device information and sends the webpage file to the terminal.
- a web page rendering method comprising:
- the terminal Receiving, by the terminal, a webpage file corresponding to the device information of the terminal returned by the server; the device information is determined by the server according to the user agent information;
- the terminal performs rendering of the webpage by using a webpage file corresponding to the device information.
- a webpage file transmitting apparatus comprising: a receiving unit, a determining unit, an obtaining unit, and a sending unit; the receiving unit receiving a webpage request sent by the terminal and carrying user agent information corresponding to the terminal; the determining unit according to the The user agent information, the device information of the terminal corresponding to the user agent information is determined; the obtaining unit acquires a webpage file corresponding to the device information; and the sending unit sends a corresponding to the device information to the terminal Web page file.
- a webpage rendering apparatus includes: a sending unit, a receiving unit, and a rendering unit; the sending unit sends a webpage request carrying user agent information corresponding to the terminal to the server; the receiving unit receives the terminal returned by the server and the terminal The webpage file corresponding to the device information; the device information is determined by the server according to the user agent information; and the rendering unit performs rendering of the webpage by using a webpage file corresponding to the device information.
- a webpage rendering system includes a server, a first database, and a second database, wherein the first database stores a mapping relationship between user agent information and device information, and the second database stores a webpage file corresponding to device information.
- the server determines the device information of the terminal corresponding to the user agent information according to the user agent information carried by the webpage request sent by the terminal, and determines various types corresponding to the device according to the device information.
- the webpage file is sent to the terminal, so that the terminal performs rendering of the webpage by using the webpage file corresponding to the device information.
- FIG. 1 is a flowchart of a webpage request process according to an embodiment of the present application
- Figure 2 shows an example of displaying different web page styles on different terminals
- FIG. 3 is a flowchart of a method for sending a webpage file based on a server according to an embodiment of the present application
- FIG. 4 is a schematic diagram of a webpage rendering apparatus and a webpage file sending apparatus according to an embodiment of the present application.
- a web page can be displayed in various browsers or clients of a client or application APP, and a browser or client loads various webpage files and uses the webpage file to render the webpage speed. It directly affects the user experience.
- the rendering process of a web page refers to the HTML (Hyper Text Mark-up Language) returned by the server (web server or application server) according to the rules defined by CSS (Cascading Style Sheets). , Hypertext Markup Language) The process of displaying code in a browser or client window.
- FIG. 1 is a process of requesting a webpage according to an embodiment of the present application, where the process is completed by a terminal and a server.
- the user requests access to a webpage by inputting a certain web address (domain name) in a browser or a client on the terminal, and the server is a server corresponding to the web address requested by the terminal.
- the foregoing webpage request process includes the following steps:
- Step S101 The terminal sends a webpage request carrying the user agent information corresponding to the terminal to the server.
- a user can request access to a web page by entering a web address in a browser or client of the terminal.
- the terminal needs to send a web page request (ie, an HTTP request) to the server corresponding to the web address.
- a web page request ie, an HTTP request
- the browser or the client Before sending the above webpage request, the browser or the client first needs to establish a connection with the web server through the network, and the connection can be completed by using the TCP protocol.
- the browser or client can send a web page request to the server.
- the webpage request may include: a request method URI protocol/version, a request header (Request Header) information, and a request body.
- the request header information may include some information corresponding to the client environment and information corresponding to the request body. For example, the request header information can declare the language used by the browser or client, the length of the request body, and the like.
- Mozila/4.0 compatible; MSIE5.01; Window NT5.0
- the first line of the web page request is "method URL discussion/version”: GET/sample.jsp HTTP/1.1; the request header (Request Header) information is:
- a line may generally be blank between the request header information and the request body, indicating that the request header information has ended, followed by the request body.
- the request body has only one line of content. Of course, in practical applications, the request body can contain more content.
- the webpage request includes user-agent (UA) information
- the user agent information refers to the identifier information unique to the browser or the client of the terminal, including: a hardware platform, system software, and application software. And personal preferences of the user.
- UUA user-agent
- An example of user agent information for a mobile terminal is as follows:
- Step S102 The server determines device information corresponding to the user agent information according to the user agent information.
- the style of the webpage to be rendered is not the same, that is, the style of the webpage finally rendered on the browser or the client of the terminal needs to be based on the terminal.
- Device information to determine In the embodiment of the present application, after receiving the webpage request, the server determines the device information corresponding to the terminal that sends the webpage request.
- the device information includes, but is not limited to, display information of the terminal, other hardware information of the terminal, operating system information of the terminal, and the like.
- the display information may include resolution information of the screen, or pixel density information, or a size of the screen, and the like.
- a webpage style adapted to the device information can be rendered.
- Figure 2 shows an example of displaying different web page styles on different terminals.
- the terminals 10, 20 each have different device information, such as different resolutions of the screen.
- a certain webpage includes webpage modules A, B, and C, and the webpage module may be, for example, a picture, a text, a button, or the like.
- the rendered webpage styles may be different, and different webpage styles may be embodied in the size of the text, the position and layout of the webpage module, and the like.
- the method before the step S102, the method further includes the following steps:
- the server pre-generates a mapping relationship between user agent information and device information, and the generated mapping relationship may be stored in a database of the web server.
- step S102 specifically includes:
- the server searches for device information of the terminal that is mapped with the user agent information according to a mapping relationship between the user agent information and the device information that are generated in advance.
- the server may extract the carried user agent information from the webpage request, and search the pre-formed database according to the user proxy information to find To device information mapped to the user agent information.
- the server may extract the carried user agent information from the webpage request, and search the pre-formed database according to the user proxy information to find To device information mapped to the user agent information.
- device information such as display information
- the server may extract the carried user agent information from the webpage request, and search the pre-formed database according to the user proxy information to find To device information mapped to the user agent information.
- device information such as display information
- the method may further include the following steps:
- the server stores the mapping relationship between the device information and the feature information; wherein the feature information is included in the user agent information.
- the above feature information may be any one of the following: device brand model information, operating system information of the device, and the like.
- a user agent information is: Mozilla/5.0 (Linux; U; Android 4.1.1; zh-cn; GT-I9100Build/JRO03H; CyanogenMod-10) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0Mobile Safari/534.30
- the device brand model information is: "GT-I9100”
- the operating system information of the device is: "Android 4.1.1”.
- the mapping relationship between the device information and the feature information may be pre-generated by the server. Or, it is gradually generated by the server through a self-learning process. Or, the mapping relationship between the device information and the feature information described above is configured by the administrator (ie, not necessarily generated by the server).
- step S102 may specifically include the following steps:
- the server extracts the feature information included in the user agent information; the server determines the device information of the terminal corresponding to the feature information according to the mapping relationship between the device information and the feature information generated in advance.
- the server can obtain device information corresponding to the user agent information by analyzing the user agent information. For example, the server can determine the device information corresponding to the “GT-I9100” by extracting the device brand model information carried in the user agent information: “GT-I9100” (eg, the pixel information of the screen is: 480px*800px, the screen) The size information is: 4.3 inches); for example, the server can determine the possible range of device information corresponding to "Android 4.1.1” by extracting the operating system information carried in the user agent information: "Android 4.1.1". Interval (eg, the size of the screen is: 3.0 to 5.3 inches, the pixel information of the screen is: (480px ⁇ 800px) * (800px ⁇ 1280px)).
- Step S103 The server acquires a webpage file corresponding to the device information and sends the webpage file to the terminal.
- the webpage file may include: an HTML file, a CSS file, a JS (JavaScript) file, a picture, etc. Wait. Web pages are generally rendered based on the various web page files described above.
- the webpage file may also be referred to as a webpage resource, and the webpage resource may include a static resource and a dynamic resource.
- the method before the step S103, the method further includes the following steps:
- the server determines, according to the device information, a file identifier of a webpage file corresponding to the device information, where the file identifier may be, for example, a URL (Uniform Resource Locator) or a file of a webpage file.
- the URL is for example:
- the file name (ie, the file identifier) of the CSS file (one of the webpage files) corresponding to the device information is determined as: “400.css”
- the width of the resolution of the terminal screen (ie, device information) is 800px
- it is determined that the file name (ie, file identifier) of the CSS file corresponding to the device information is: "800.css”.
- the server sends a file (ie, an HTML file) containing the file identifier to the terminal.
- a file ie, an HTML file
- the server (the server of the web server or the application APP) needs to return a corresponding HTTP response (HTTP Response) to the terminal in response to the webpage request (HTTP request) sent by the terminal.
- HTTP response ie, the above HTML file
- the HTTP response may include: protocol status version code description information, Response Header information, and response body.
- the returned HTML response may include the file identifier determined above, such as the URL or file name of the CSS file of the desired application, the URL of the image of the desired application, and the like.
- the HTML file may only include the file identifier of the webpage file that the browser or the client needs to adopt in the subsequent webpage rendering process.
- the server may return an HTML file containing file identifiers of different webpage files to the terminal according to the determined device information, and the returned HTML file generally does not include the file identifiers of the remaining webpage files that need not be loaded.
- the above CSS file needs to be returned to the terminal: "400.css” and "800.css
- the above CSS file: "800.css” is a webpage file that does not need to be loaded (ie, a webpage file that does not need to be used in the rendering process of the webpage).
- the embodiment of the present application can specifically return a webpage file corresponding to the device information to the terminal according to different screen resolutions (device information) of the terminal.
- step S103 specifically includes the following steps:
- the server receives a file acquisition request sent by the terminal and carries the file identifier.
- the browser or the client can obtain various webpage files (such as CSS files and pictures) embedded in the current webpage style by sending a corresponding file acquisition request to the server.
- the file acquisition request carries the URL of the webpage file.
- the server sends a webpage file corresponding to the file identifier to the terminal in response to the file acquisition request.
- the server may determine the webpage style to be rendered corresponding to the current device information, and obtain various webpage files to be applied to the current webpage style, and directly The obtained webpage files are returned to the terminal for rendering of the webpage, that is, after the terminal (browser or client) sends the HTTP request to the server, it may not need to send to the server to obtain each A file acquisition request for a web page file.
- Step S104 The terminal receives the webpage file corresponding to the device information, and performs rendering of the webpage by using the received webpage file to display the corresponding webpage style on the screen of the terminal. Since the web page rendering process is a technique well known in the art, it will not be described in detail herein.
- FIG. 3 is a flowchart of a method for sending a webpage file based on a server according to an embodiment of the present application.
- the method for sending a webpage file includes the following steps:
- the server receives a webpage request sent by the terminal and carries user agent information corresponding to the terminal.
- the server determines device information of the terminal corresponding to the user agent information according to the user agent information.
- S204 The server acquires a webpage file corresponding to the device information, and sends the webpage file to the terminal.
- the above step S201 can refer to the content of the above step S101.
- the above step S202 can refer to the content of the above step S102.
- the above step S204 can refer to the content of the above step S103, and details are not described herein again.
- the foregoing method for sending a webpage file further includes:
- Step S203 It is determined whether the device information corresponding to the user agent information is found. If it is found, the process proceeds to step S204; if not, the process proceeds to step S205 described below.
- Step S205 The server returns a basic resource package corresponding to the webpage request to the terminal.
- the basic resource package may generally include various webpage files that are required to be loaded by all possible rendered webpage styles, that is, a terminal having any device information may receive the basic resource bundle according to the basic resource bundle after receiving the basic resource bundle. Select the web page file to be loaded to the web page style that matches the device information. After receiving the basic resource package, the terminal may collect its own device information (such as display information), and then dynamically determine a webpage style suitable for its own device information, and various required loadings corresponding to the webpage style. The webpage file, and selects the webpage file to be loaded from the basic resource package, and finally uses the selected webpage file to render the webpage.
- a terminal having any device information may receive the basic resource bundle according to the basic resource bundle after receiving the basic resource bundle. Select the web page file to be loaded to the web page style that matches the device information.
- the terminal may collect its own device information (such as display information), and then dynamically determine a webpage style suitable for its own device information, and various required loadings corresponding to the webpage style.
- the webpage file selects the webpage file to be
- Step S206 The server receives the device information and user agent information corresponding to the terminal returned by the terminal.
- the device information is obtained by the terminal when the webpage is loaded by using the basic resource package.
- the terminal can dynamically collect the device information of the current terminal through a certain method (such as JavaScript) while performing webpage rendering, such as: resolution information of the screen, pixel density of the screen. Information, screen size information, operating system information used, hardware platform information, and more.
- a certain method such as JavaScript
- webpage rendering such as: resolution information of the screen, pixel density of the screen.
- Information screen size information, operating system information used, hardware platform information, and more.
- Step S207 The server generates a mapping relationship between the returned device information and the user agent information and stores it.
- the terminal may send a request command for carrying the device information and the user agent information to the server, so that the server forms a certain mapping relationship between the collected device information and the user agent information, and stores the data in the database.
- a webpage rendering method provided by an embodiment of the present application includes the following steps:
- the terminal sends a webpage request carrying the user agent information corresponding to the terminal to the server.
- the terminal receives a webpage file corresponding to the device information of the terminal returned by the server.
- the device information is determined by the server according to the user agent information.
- the terminal performs rendering of the webpage by using a webpage file corresponding to the device information.
- the server determines the device information of the terminal corresponding to the user agent information according to the user agent information carried by the webpage request sent by the terminal. And determining, according to the device information, various webpage files corresponding to the device and sending the webpage file to the terminal, so that the terminal performs rendering of the webpage by using the webpage file corresponding to the device information.
- the device information of the terminal needs to be determined, and the webpage file corresponding to the device information is obtained, so that the final server returns to the terminal.
- the webpage file required by the webpage rendering process, and avoiding returning other webpage files that do not need to be loaded to the above terminal can reduce the consumption of network resources to a certain extent.
- the terminal since the terminal (browser or client) generally needs to collect its own device information, and uses a Media Query method to determine the webpage style corresponding to the current device information and The webpage style needs to load various webpage files, and select various webpage files to be loaded from the webpage file returned by the server. It can be seen that in addition to the problem that the additional and redundant resource downloading cost is added (that is, the network resource is additionally consumed), resulting in poor loading performance, the following problems exist in the prior art: before the terminal performs webpage rendering It is necessary to determine the device information of the device, and also need to use the media query method to determine the webpage file to be loaded, and select the webpage file to be loaded from the webpage file returned by the server. To some extent, the terminal needs to perform the above steps.
- the terminal also needs to consider which webpage style is to be rendered, and which webpage conditions need to be applied, which will inevitably affect the performance of the webpage rendered by the browser or the client, and reduce the response of the webpage. speed. It can be seen that, by using the foregoing method provided by the embodiment of the present application, before the webpage is rendered, determining the device information of the terminal and determining that the webpage file corresponding to the device information is performed by the server, avoiding performing the foregoing process by the terminal, thereby avoiding The terminal performs the above steps to excessively consume the processing resources of the terminal, thereby improving the performance of the terminal rendering the webpage and improving the response speed of the webpage.
- the execution bodies of the steps of the methods provided by the foregoing embodiments may all be the same device, or the method may also be performed by different devices.
- the execution subject of step S201 and step S202 may be device 1
- the execution subject of step S203 may be device 2
- the execution subject of step S201 may be device 1
- the execution subject of step S202 and step S203 may be device 2 ;and many more.
- FIG. 4 is a schematic diagram of a webpage rendering apparatus and a webpage file sending apparatus according to an embodiment of the present application.
- the terminal 100 includes a browser or client 101, a webpage rendering apparatus 110, and the server 200 includes a webpage file transmitting apparatus 210, wherein the webpage rendering apparatus 110 and the webpage file transmitting apparatus 210 are
- the terminal 100 and the server 200 may be present in software, hardware, or a combination of hardware and software, respectively.
- the server 200 and the terminal 100 described above can communicate with each other through a network.
- the terminal 100 and the server 200 may include hardware such as a display screen, a processing unit, a memory, a nonvolatile memory, a bus, an input/output device, and the like.
- the above terminal 100 and server 200 also include corresponding software. It should be noted that the functions that can be implemented by each unit in the webpage rendering apparatus are similar to those of the steps in the webpage rendering method described above. Therefore, the specific details of the webpage rendering apparatus can be implemented by referring to the webpage rendering method. The content of the example will not be repeated here. Similarly, the specific details of the webpage file transmitting apparatus may refer to the content of the embodiment of the webpage file transmitting method.
- the webpage file sending apparatus 210 includes: a receiving unit 211, a determining unit 213, an obtaining unit 215, and a sending unit 217.
- the receiving unit 211 receives a webpage request that is sent by the sending unit 111 of the terminal 100 and carries user agent information corresponding to the terminal 100.
- the determining unit 213 determines, according to the user agent information, that the user agent information is corresponding to the user agent information.
- the device information of the terminal; the obtaining unit 215 acquires a webpage file corresponding to the device information; and the sending unit 217 sends a webpage file corresponding to the device information to the terminal.
- the determining unit 213 may search for the device information corresponding to the user agent information by searching the first database 300.
- the first database 300 may pre-store the mapping relationship between the user agent information and the device information.
- the foregoing obtaining unit 215 may acquire various webpage files by sending a request to the second database 400, and the sent request may be HTTP header information carrying the device information.
- the foregoing second database 400 can be stored in various webpage files (resources), such as: HTML files, CSS files, pictures, JS files, etc., and various webpage files stored in the second database 400 are mapped with device information. In this way, the obtaining unit 215 can obtain various webpage files corresponding to the device information from the second database 400 according to the currently determined device information.
- the embodiment of the present application can achieve at least the following technical effects:
- the server before the server returns the webpage file required by the webpage rendering process to the terminal, the device information of the terminal needs to be determined, and the webpage file corresponding to the device information is obtained, so that the final server returns to the terminal.
- the webpage file required by the webpage rendering process, and avoiding returning other webpage files that do not need to be loaded to the above terminal, can reduce the consumption of network resources to a certain extent.
- the foregoing method provided by the embodiment of the present application determines the device information of the terminal and determines that the webpage file corresponding to the device information is executed by the server before the rendering of the webpage, thereby avoiding performing the foregoing process by the terminal, thereby avoiding The terminal performs the above steps
- the problem of processing resources of the terminal is excessively consumed, thereby improving the performance of the terminal rendering webpage and improving the response speed of the webpage.
- the webpage file sending apparatus 210 further includes:
- the determining unit 213 searches for device information of the terminal that is mapped with the user agent information according to a mapping relationship between the user agent information and the device information that are generated in advance;
- the webpage file sending apparatus 210 further includes:
- a generating unit configured to generate a mapping relationship between the device information and the feature information in advance; wherein the feature information is included in the user agent information;
- the determining unit 213 includes: an information extracting unit and an information query unit; the information extracting unit extracts feature information included in the user agent information; and the mapping of the information query unit according to the device information and the feature information generated in advance And determining device information of the terminal corresponding to the feature information.
- a webpage rendering apparatus 110 includes: a sending unit 111, a receiving unit 113, and a rendering unit 115.
- the sending unit 111 sends a carrying to the receiving unit 211 of the server 200 to carry the corresponding terminal.
- a webpage request of the user agent information the receiving unit 113 receives a webpage file corresponding to the device information of the terminal 100 returned by the server; the device information is determined by the determining unit 213 of the server 200 according to the user agent The information is determined; the rendering unit 115 performs rendering of the webpage by using a webpage file corresponding to the device information.
- the webpage rendering apparatus 110 further includes:
- a file receiving unit configured to receive a file returned by the server; the file includes a file identifier of a webpage file corresponding to device information of the terminal;
- the receiving unit 113 receives a webpage file corresponding to the device information of the terminal returned by the server in response to the obtaining request.
- the embodiment of the present application can achieve at least the following technical effects:
- the device information of the terminal needs to be determined, and the webpage file corresponding to the device information is obtained, so that the final server returns to the terminal.
- the webpage file required by the webpage rendering process, and avoiding returning other webpage files that do not need to be loaded to the above terminal, can reduce the consumption of network resources to a certain extent.
- the foregoing method provided by the embodiment of the present application determines the device information of the terminal and determines the webpage text corresponding to the device information before the webpage is rendered.
- the device is executed by the server, which avoids the above-mentioned process performed by the terminal, thereby avoiding the problem of excessively consuming the processing resources of the terminal due to the terminal performing the above steps, thereby improving the performance of the terminal rendering the webpage and improving the response speed of the webpage.
- a webpage rendering system includes: a server 200, a first database 300, and a second database 400.
- the first database 300 stores a mapping relationship between user agent information and device information.
- the second database 400 stores a webpage file corresponding to the device information, and the server 200 receives the webpage request that carries the user agent information sent by the terminal 100, and queries from the first database 300 to carry with the webpage request.
- the server 200 obtains the webpage file corresponding to the device information from the second database 400, and sends the obtained webpage file to the terminal 100.
- the foregoing system may further include: a Web API (Application Programming Interface) and a TFS (Team Foundation Server) interface, the Web API and the TFS interface. Both are based on the two interfaces of the server 200 and the first database 300 for providing services to the upper layer service, and the above Web API and the TFS interface may be used to return different results (such as HTML and pictures) from the second database 400. Etc.) is packaged into a corresponding API (such as Ajax), so that various upper-layer services can call the above API, thereby facilitating the implementation of the service and enhancing the user experience.
- a Web API Application Programming Interface
- TFS Team Foundation Server
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- These computer program instructions can also be stored in a particular computer capable of booting a computer or other programmable data processing device In a computer readable memory that operates in a computer readable memory, causing instructions stored in the computer readable memory to produce an article of manufacture comprising instruction means implemented in a block or in a flow or a flow diagram and/or block diagram of the flowchart The functions specified in the boxes.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
- embodiments of the present application can be provided as a method, system, or computer program product.
- the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
- the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- the application can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
- program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
- the present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
- program modules can be located in both local and remote computer storage media including storage devices.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Procédé d'envoi de fichier de page Web, procédé et appareil de rendu de page Web, et système de rendu de page Web. Selon le procédé d'envoi de fichier de page Web : un serveur reçoit une demande de page Web envoyée par un terminal et contenant des informations d'agent d'utilisateur qui correspondent au terminal ; selon les informations d'agent d'utilisateur, le serveur détermine des informations de dispositif, correspondant aux informations d'agent d'utilisateur, concernant le terminal ; et le serveur acquiert un fichier de page Web correspondant aux informations de dispositif et l'envoie au terminal. Avant le rendu de la page Web, la détermination d'informations de dispositif concernant un terminal et la détermination d'un fichier de page Web correspondant aux informations de dispositif sont toutes deux exécutées par un serveur, de sorte que le problème de consommation excessive des ressources de traitement du terminal qui se produit lorsque le terminal exécute les étapes susmentionnées est évité, ce qui améliore les performances du terminal lors du rendu d'une page Web.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610488238.2A CN106897336A (zh) | 2016-06-28 | 2016-06-28 | 网页文件发送方法、网页渲染方法及装置、网页渲染系统 |
CN201610488238.2 | 2016-06-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018001124A1 true WO2018001124A1 (fr) | 2018-01-04 |
Family
ID=59190561
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/088637 WO2018001124A1 (fr) | 2016-06-28 | 2017-06-16 | Procédé d'envoi de fichier de page web, procédé et appareil de rendu de page web, et système de rendu de page web |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN106897336A (fr) |
TW (1) | TWI670611B (fr) |
WO (1) | WO2018001124A1 (fr) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831493A (zh) * | 2019-01-18 | 2019-05-31 | 深圳壹账通智能科技有限公司 | 一种图像配置的检测方法、装置、设备及介质 |
CN111414562A (zh) * | 2020-02-26 | 2020-07-14 | 平安普惠企业管理有限公司 | 应用程序页面api接口前置方法、装置及存储介质 |
CN112632941A (zh) * | 2019-09-23 | 2021-04-09 | 北京国双科技有限公司 | 生成pdf格式公安文书的方法、装置、设备及存储介质 |
CN113467776A (zh) * | 2021-06-28 | 2021-10-01 | 青岛海尔科技有限公司 | 设备的接入方法、装置、存储介质和电子装置 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107577596A (zh) * | 2017-08-09 | 2018-01-12 | 福建天泉教育科技有限公司 | 自适应语言及浏览器的接口自动化测试方法、存储介质 |
CN109587544A (zh) * | 2018-09-27 | 2019-04-05 | 杭州家娱互动网络科技有限公司 | 一种图标渲染方法、装置及电子设备 |
CN109474680B (zh) * | 2018-11-02 | 2019-11-12 | 中国搜索信息科技股份有限公司 | 一种基于反向代理的移动设备属性检测方法 |
CN109933735B (zh) * | 2019-03-04 | 2021-08-20 | 三星电子(中国)研发中心 | 调度方法、网页渲染方法、网页显示方法及其设备 |
CN109889608B (zh) * | 2019-03-29 | 2021-12-10 | 北京金山安全软件有限公司 | 一种动态资源加载方法、装置、电子设备及存储介质 |
CN110390065B (zh) * | 2019-07-31 | 2024-02-06 | 腾讯科技(深圳)有限公司 | 网页获取方法、装置及系统 |
CN112883298B (zh) * | 2019-11-29 | 2024-03-01 | 阿里巴巴集团控股有限公司 | 一种信息处理方法、装置、电子设备以及存储介质 |
CN113486634A (zh) * | 2021-07-07 | 2021-10-08 | 上海中通吉网络技术有限公司 | 问卷编辑器组件 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067819A (zh) * | 2007-06-07 | 2007-11-07 | 北京大学 | 网页资源发布方法和发布系统 |
CN101150803A (zh) * | 2007-10-24 | 2008-03-26 | 优视动景(北京)技术服务有限公司 | 微浏览器处理网络数据的方法、微浏览器及其服务器 |
CN104462131A (zh) * | 2013-09-23 | 2015-03-25 | 阿里巴巴集团控股有限公司 | 信息发布页面的处理方法及装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996989B (zh) * | 2006-01-01 | 2010-06-23 | 腾讯科技(深圳)有限公司 | 一种个人网页系统及其实现方法 |
US9064029B2 (en) * | 2010-06-07 | 2015-06-23 | Quora, Inc. | Dynamically identifying and evaluating component hierarchy for rendering content components on a webpage |
CN103399911A (zh) * | 2013-07-30 | 2013-11-20 | 北京小米科技有限责任公司 | 基于浏览器客户端的访问处理方法、装置及终端设备 |
CN104462231B (zh) * | 2014-11-11 | 2018-12-04 | 北京奇安信科技有限公司 | 网页渲染的方法、装置及系统 |
-
2016
- 2016-06-28 CN CN201610488238.2A patent/CN106897336A/zh active Pending
-
2017
- 2017-04-13 TW TW106112411A patent/TWI670611B/zh active
- 2017-06-16 WO PCT/CN2017/088637 patent/WO2018001124A1/fr active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101067819A (zh) * | 2007-06-07 | 2007-11-07 | 北京大学 | 网页资源发布方法和发布系统 |
CN101150803A (zh) * | 2007-10-24 | 2008-03-26 | 优视动景(北京)技术服务有限公司 | 微浏览器处理网络数据的方法、微浏览器及其服务器 |
CN104462131A (zh) * | 2013-09-23 | 2015-03-25 | 阿里巴巴集团控股有限公司 | 信息发布页面的处理方法及装置 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831493A (zh) * | 2019-01-18 | 2019-05-31 | 深圳壹账通智能科技有限公司 | 一种图像配置的检测方法、装置、设备及介质 |
CN112632941A (zh) * | 2019-09-23 | 2021-04-09 | 北京国双科技有限公司 | 生成pdf格式公安文书的方法、装置、设备及存储介质 |
CN111414562A (zh) * | 2020-02-26 | 2020-07-14 | 平安普惠企业管理有限公司 | 应用程序页面api接口前置方法、装置及存储介质 |
CN111414562B (zh) * | 2020-02-26 | 2023-08-29 | 深圳运动帝图科技有限公司 | 应用程序页面api接口前置方法、装置及存储介质 |
CN113467776A (zh) * | 2021-06-28 | 2021-10-01 | 青岛海尔科技有限公司 | 设备的接入方法、装置、存储介质和电子装置 |
CN113467776B (zh) * | 2021-06-28 | 2023-06-13 | 青岛海尔科技有限公司 | 设备的接入方法、装置、存储介质和电子装置 |
Also Published As
Publication number | Publication date |
---|---|
CN106897336A (zh) | 2017-06-27 |
TWI670611B (zh) | 2019-09-01 |
TW201800962A (zh) | 2018-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018001124A1 (fr) | Procédé d'envoi de fichier de page web, procédé et appareil de rendu de page web, et système de rendu de page web | |
CN106489145B (zh) | web网站的访问方法、装置及Web网站系统 | |
US8527862B2 (en) | Methods for making ajax web applications bookmarkable and crawlable and devices thereof | |
US10346501B2 (en) | Mobile enablement of existing web sites | |
US20140201617A1 (en) | Method for Browsing Web Page on Mobile Terminal | |
CN106911693B (zh) | 用于检测网页内容劫持的方法、装置和终端设备 | |
JP2015167014A (ja) | ウェブアプリケーションを実施する方法、装置、サーバ、及びシステム | |
WO2015154666A1 (fr) | Procédé d'affichage de fragment de page web sur un bureau et système de capture d'un fragment de page web à afficher sur un bureau | |
US20110145299A1 (en) | Offline Gadgets IDE | |
CN108416021B (zh) | 一种浏览器网页内容处理方法、装置、电子设备及可读介质 | |
CN110221871B (zh) | 网页获取方法、装置、计算机设备及存储介质 | |
WO2015074459A1 (fr) | Procédé et appareil pour ouvrir une page internet, invoquer un client et créer une application de lumière | |
WO2016050124A1 (fr) | Procédé, dispositif et serveur pour un transcodage de page web | |
JP2016540333A (ja) | 端末標記方法、端末標記装置、プログラム及び記録媒体 | |
JP5112401B2 (ja) | Web行動履歴取得システム、Web行動履歴取得方法、ゲートウェイ装置、及びプログラム | |
JP5604016B1 (ja) | スクリプトのキャッシュ方法及びそれを適用した情報処理装置 | |
CN111431767A (zh) | 多浏览器资源同步方法、装置、计算机设备和存储介质 | |
US10021210B1 (en) | Providing faster data access using multiple caching servers | |
WO2015058614A1 (fr) | Procédé et dispositif de mémorisation de signet, et procédé et dispositif de détermination de signet à explorer | |
WO2015154270A1 (fr) | Procédé et dispositif de recherche d'informations | |
JP4903118B2 (ja) | センシングデータを収集するためのwebサーバおよびプログラム | |
CN103793459B (zh) | 一种网页打开方法及装置 | |
JP5774429B2 (ja) | 通信装置および通信方法、ならびに、プログラム | |
US8332469B1 (en) | Web resource caching | |
JP6378601B2 (ja) | コンテンツ解析装置、コンテンツ解析方法、及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17819121 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17819121 Country of ref document: EP Kind code of ref document: A1 |