Response method, device, system, apparatus and storage medium for access request
By working in tandem with the rendering server, remote rendering of non-Trident kernel browsers was achieved, resolving the page rendering failure issue of Trident kernel browsers in non-Trident kernel environments and improving the success rate of business data interaction.
Patent Information
- Application Number
- CN202010526976.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-10
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2040-06-10
AI Technical Summary
Existing Internet Explorer browsers based on the Trident kernel cannot function properly in non-Trident kernel browser environments, resulting in page rendering failures and business data interaction failures, thus reducing the success rate of business data interaction.
By obtaining configuration data on the client side, it determines whether remote page rendering is required, sends operation data to the rendering server for remote rendering, receives and draws the video stream to be displayed in response to access requests, and uses the rendering server to remotely render the page.
It improved the success rate of business interactions in non-Trident browsers, avoided business interruptions caused by page rendering failures, and ensured the integrity of business system operation.
Smart Images

Figure CN113779446B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, in particular to a response method, device, system and equipment of access request and storage medium. BACKGROUND
[0002] IE (Internet Explorer) browser is a closed-source browser based on Wintel architecture. Currently, some optional browsers of operating system only support Blink kernel, and there are a large number of business systems developed based on Trident kernel in the operating system environment, and a part of them use ActiveX plug-in under Trident kernel to perfect business closed loop. ActiveX is a series of strategic object-oriented program technologies and tools called by Microsoft, and the main technology is component object model. However, due to the technical characteristics of the operating system, the terminal equipment corresponding to the operating system cannot install and normally run the IE browser of Trident kernel, resulting in a large business gap. If the business system developed based on IE browser Trident kernel is not adapted and optimized, page rendering failure may occur when accessed by a browser of non-Trident kernel. At this time, when the business system uses ActiveX plug-in of IE kernel to interact with business data, the browser of non-Trident kernel cannot complete the business interaction.
[0003] Therefore, the current business data interaction success rate is low. SUMMARY
[0004] The main purpose of the present application is to provide a response method, device, system, equipment and storage medium of access request, aiming at solving the technical problem of low page rendering success rate.
[0005] To achieve the above purpose, the present application provides a response method of access request, which comprises the following steps:
[0006] After detecting the access request of accessing the client website, the pre-stored configuration data is obtained, and it is determined whether remote rendering of the page corresponding to the access request is needed according to the configuration data;
[0007] If it is determined that remote rendering of the page is needed, the operation data corresponding to the access request is sent to the rendering server, so that the rendering server returns the to-be-displayed video stream corresponding to the operation data according to the operation data;
[0008] The to-be-displayed video stream is received, and the to-be-displayed video stream is drawn in the display interface of the client to respond to the access request.
[0009] Optionally, the step of sending operation data corresponding to the access request to a rendering server for the rendering server to return a to-be-displayed video stream corresponding to the operation data according to the operation data, if it is determined that the page needs to be remotely rendered, comprises:
[0010] If it is determined that the page needs to be remotely rendered, detecting whether the page is remotely rendered for the first time;
[0011] If it is detected that the page is remotely rendered for the first time, obtaining a URL of the page;
[0012] Sending the URL of the page to a rendering scheduling server for the rendering scheduling server to return connection information of a rendering server;
[0013] According to the connection information, establishing a communication connection between the client and the rendering server, and sending operation data corresponding to the access request to the rendering server that establishes the communication connection with the client, for the rendering server to return a to-be-displayed video stream corresponding to the operation data according to the operation data.
[0014] Optionally, the step of establishing a communication connection between the client and the rendering server according to the connection information comprises:
[0015] According to the connection information, determining a connection address of a rendering server and a connection mode for connecting the rendering server;
[0016] According to the connection address and the connection mode, establishing a communication connection between the client and the rendering server.
[0017] Optionally, the step of receiving the to-be-displayed video stream and drawing the to-be-displayed video stream in a display interface of the client to respond to the access request comprises:
[0018] Receiving the to-be-displayed video stream, and drawing the to-be-displayed video stream in a display interface of the client through Canvas technology to respond to the access request.
[0019] Optionally, the step of obtaining pre-stored configuration data and determining whether the page corresponding to the access request needs to be remotely rendered according to the configuration data when detecting an access request for accessing a client website comprises:
[0020] When detecting an access request for accessing a client website, obtaining pre-stored configuration data, obtaining a first URL corresponding to the access request, and obtaining a second URL in the pre-stored configuration data;
[0021] If the first URL is the same as the second URL, and the second URL exists corresponding rendering scheduling service, it is determined that remote rendering is needed for the page corresponding to the access request;
[0022] If the first URL is different from the second URL, and / or the second URL does not exist corresponding rendering scheduling service, it is determined that remote rendering is not needed for the page corresponding to the access request.
[0023] Optionally, before the step of obtaining the pre-stored configuration data after detecting the access request for accessing the client website, the method further comprises:
[0024] After detecting an obtaining request for obtaining configuration data, obtaining a protocol package name corresponding to the obtaining request;
[0025] According to the protocol package name, determining a domain name corresponding to a server, and sending the obtaining request to the server through the domain name, so that the server returns configuration data according to the obtaining request;
[0026] After receiving the configuration data sent by the server, storing the configuration data.
[0027] Optionally, before the step of obtaining the pre-stored configuration data after detecting the access request for accessing the client website, the method further comprises:
[0028] Detecting whether the current time is an obtaining time of the configuration data;
[0029] If it is detected that the current time is the obtaining time of the configuration data, triggering an obtaining request, and sending the obtaining request to the server, so that the server returns configuration data according to the obtaining request.
[0030] In addition, to achieve the above object, the application further provides a response method of an access request, which is applied to a response system of an access request composed of a client and a rendering server, and comprises:
[0031] After the client detects an access request for accessing a client website, pre-stored configuration data is obtained, and whether remote rendering is needed for a page corresponding to the access request is determined according to the configuration data;
[0032] If it is determined that remote rendering is needed for the page, operation data corresponding to the access request is sent to the rendering server;
[0033] When the rendering server receives the operation data, the rendering server sends the operation data to a target website corresponding to the page, receives a to-be-displayed video stream corresponding to the operation data returned by the target website, and sends the to-be-displayed video stream to the client;
[0034] The client receives the to-be-displayed video stream, and draws the to-be-displayed video stream in a display interface of the client to respond to the access request.
[0035] Optionally, the response system of the access request further comprises a rendering scheduling server, and if it is determined that the page needs to be remotely rendered, the step of sending operation data corresponding to the access request to the rendering server comprises:
[0036] If the client determines that the page needs to be remotely rendered, the client detects whether the page is rendered remotely for the first time;
[0037] If it is detected that the page is rendered remotely for the first time, the client obtains a URL of the page, and sends the URL of the page to the rendering scheduling server;
[0038] When the rendering scheduling server receives the URL of the page, the rendering scheduling server determines a rendering server for rendering the page according to a preset load balancing strategy, and sends connection information of the determined rendering server to the client;
[0039] When the client receives the connection information, the client establishes a communication connection between the client and the rendering server according to the connection information, and sends the operation data corresponding to the access request to the rendering server.
[0040] Optionally, the step of determining a rendering server for rendering the page according to a preset load balancing strategy when the rendering scheduling server receives the URL of the page comprises:
[0041] When the rendering scheduling server receives the URL of the page, the rendering scheduling server determines a rendering server in an idle state as the rendering server for rendering the page.
[0042] In addition, to achieve the above object, the application further provides a response device of an access request, the response device of the access request comprising:
[0043] An obtaining module is configured to obtain pre-stored configuration data when detecting an access request of accessing a client website;
[0044] A determining module is configured to determine whether a page corresponding to the access request needs to be remotely rendered according to the configuration data;
[0045] The sending module is configured to send operation data corresponding to the access request to the rendering server, so that the rendering server returns a to-be-displayed video stream corresponding to the operation data according to the operation data, if it is determined that remote rendering is needed for the page.
[0046] The receiving module is configured to receive the to-be-displayed video stream.
[0047] The drawing module is configured to draw the to-be-displayed video stream in a display interface of the client to respond to the access request.
[0048] In addition, to achieve the above object, the present application further provides an access request response system, which comprises a client and a rendering server.
[0049] The client is configured to acquire pre-stored configuration data after detecting an access request for accessing a client website, and determine whether remote rendering is needed for a page corresponding to the access request according to the configuration data; and send operation data corresponding to the access request to the rendering server, if it is determined that remote rendering is needed for the page.
[0050] The rendering server is configured to send the operation data to a target website corresponding to the page after receiving the operation data, receive a to-be-displayed video stream corresponding to the operation data returned by the target website, and send the to-be-displayed video stream to the client.
[0051] The client is further configured to receive the to-be-displayed video stream, and draw the to-be-displayed video stream in a display interface of the client to respond to the access request.
[0052] In addition, to achieve the above object, the present application further provides an access request response device, which comprises a memory, a processor, and an access request response program stored in the memory and executable on the processor, and the access request response program is used to implement the steps of the access request response method corresponding to the federated learning server when executed by the processor.
[0053] In addition, to achieve the above object, the present application further provides a computer readable storage medium, which stores an access request response program, and the access request response program is used to implement the steps of the access request response method when executed by a processor.
[0054] The application realizes remote rendering of a webpage required to be accessed by calling a rendering server in a webpage rendering process, so that the webpage of a browser of a non-Trident kernel can be remotely rendered, avoids the browser of the non-Trident kernel from being unable to complete business interaction due to failure of webpage rendering, and thus improves the success rate of business interaction of the browser of the non-Trident kernel, i.e., improves the success rate of business data interaction. BRIEF DESCRIPTION OF DRAWINGS
[0055] Figure 1 is a flowchart of a first embodiment of the method for responding to an access request of the application;
[0056] Figure 2 is a flowchart of a third embodiment of the method for responding to an access request of the application;
[0057] Figure 3 is a functional schematic diagram module of a preferred embodiment of the device for responding to an access request of the application;
[0058] Figure 4 is a structural schematic diagram of a hardware running environment related to the embodiment scheme of the application.
[0059] The implementation, functional features and advantages of the application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0060] It should be understood that the specific embodiments described herein are merely intended to explain the application and not to limit the application.
[0061] According to the method for responding to an access request provided by the application, referring to Figure 1 , Figure 1 is a flowchart of a first embodiment of the method for responding to an access request of the application.
[0062] According to the method for responding to an access request provided by the application, it should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that herein.
[0063] The response method of the access request is applied in a client, which can include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a Personal Digital Assistant (PDA), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The response method of the access request includes:
[0064] In step S11, when detecting the access request of accessing the website of the client, the pre-stored configuration data is acquired, and it is determined according to the configuration data whether remote rendering is needed for the page corresponding to the access request.
[0065] The client in the embodiment is installed with a browser, and the website is the website of the business system corresponding to the browser. When the client detects the access request of accessing the website, the client acquires the pre-stored configuration data. The access request can be triggered by the user of the client in the client, or can be the access request received by the client from other terminal devices. The configuration data at least includes one of the following: a URL, a Trident kernel version, a JS (JavaScript) engine version, rendering scheduling service configuration data, whether to contain an ActiveX plug-in, whether to need to upload and download a file, whether to need a printing function, and a rendering scheduling service. The kernel version is the version of the browser in the client, and the rendering scheduling service configuration data includes a rendering server IP (Internet Protocol) address, a rendering server port, and a connectionless release rendering server time, and the like. The Trident kernel version and the JS engine version both have corresponding version numbers, and the ActiveX plug-in and the printing function both have corresponding demand identifiers. For example, when the demand identifier corresponding to the ActiveX plug-in is "1", it indicates that the ActiveX plug-in is contained; when the demand identifier corresponding to the ActiveX plug-in is "0", it indicates that the ActiveX plug-in is not contained. When the demand identifier corresponding to the printing function is "11", it indicates that the printing function is needed; when the demand identifier corresponding to the printing function is "00", it indicates that the printing function is not needed. In the embodiment, the form of the demand identifier is not limited, and the demand identifiers corresponding to different configuration data can be the same or different.
[0066] When the client acquires the configuration data, the client determines whether remote rendering is needed for the page corresponding to the access request according to the configuration data. It can be understood that the specific object of the access request is a certain web page of the website.
[0067] Further, step S11 includes:
[0068] Step a, when detecting an access request for accessing a client website, obtaining pre-stored configuration data, obtaining a first URL corresponding to the access request, and obtaining a second URL in the pre-stored configuration data.
[0069] When the client detects an access request for accessing its website, the client obtains a URL (Uniform Resource Locator, URL) corresponding to the access request, and records the URL corresponding to the access request as a first URL. It can be understood that the URL is the URL of the page of the website to be accessed by the access request. The client obtains pre-stored configuration data, and after obtaining the pre-stored configuration data, obtains a URL in the configuration data, and records the URL obtained from the configuration data as a second URL.
[0070] Step b, if the first URL is the same as the second URL, and the second URL exists corresponding rendering scheduling service, it is determined that remote rendering is needed for the page corresponding to the access request.
[0071] Step c, if the first URL is different from the second URL, and / or the second URL does not exist corresponding rendering scheduling service, it is determined that remote rendering is not needed for the page corresponding to the access request.
[0072] When the client obtains the first URL and the second URL, if the client determines that the first URL and the second URL are the same, and the second URL exists corresponding rendering scheduling service, that is, the rendering scheduling service exists in the configuration data, the client determines that remote rendering is needed for the page corresponding to the access request; if the client determines that the first URL and the second URL are different, and / or the first URL does not exist corresponding rendering scheduling service, the client determines that remote rendering is not needed for the page corresponding to the access request.
[0073] Step S13, if it is determined that remote rendering is needed for the page, the operation data corresponding to the access request is sent to the rendering server, so that the rendering server returns a to-be-displayed video stream corresponding to the operation data according to the operation data.
[0074] If the client determines that remote rendering is needed for the page corresponding to the access request, the client obtains operation data corresponding to the access request. If the access request is a mouse event, the operation data includes event_type, X, Y, Modifiers, Button, delta_x, and delta_y, etc. The event_type represents a mouse event type, which includes mouse down, mouse move, and mouse up. The X represents a mouse x (horizontal) coordinate, which is relative to the upper left corner of the page. The Y represents a mouse y (vertical) coordinate, which is relative to the upper left corner of the page. The Modifiers represent the state of the ctrl alt shift keys. The Button is used to distinguish the left, middle, and right mouse buttons. The delta_x represents the x offset of the scroll when the event is not the scroll wheel. The delta_y represents the y offset of the scroll when the event is not the scroll wheel. If the access request is a keyboard event, the operation data includes Type, Modifiers, and Key. The Type represents the keyboard press or release. The Modifiers represent the state of the ctrl alt shift keys. The Key represents the key pressed by the user.
[0075] After the client obtains the operation data corresponding to the access request, the client sends the operation data corresponding to the access request to the rendering server, so that the rendering server returns a to-be-displayed video stream corresponding to the operation data to the client according to the received operation data. Specifically, in this embodiment, the to-be-displayed video stream can be in Mpeg (Moving Picture Experts Group) format. Further, the to-be-displayed video stream can also be in Mpeg-1 format, which is implemented by using JS-Mpeg. Mpeg uses key frame and difference frame compression technology. At this time, after the rendering server obtains the first full picture transmission, the subsequent interface changes are displayed by using difference frame superposition, so as to greatly reduce the transmission data and improve the transmission efficiency of data transmission between the client and the rendering server.
[0076] Further, the step S13 includes:
[0077] Step d, if it is determined that remote rendering is needed for the page, detecting whether the page is rendered remotely for the first time.
[0078] Step e, if it is detected that the page is rendered remotely for the first time, obtaining the URL of the page.
[0079] If the client determines that the page corresponding to the access request needs to be remotely rendered, the client detects whether the page corresponding to the access request is first remotely rendered. Specifically, the client can detect whether the page has a corresponding rendering server. If it is determined that the page has a corresponding rendering server, the client determines that the page is not first remotely rendered; if it is determined that the page does not have a corresponding rendering server, the client determines that the page is first remotely rendered. If the client detects that the page corresponding to the access request is first remotely rendered, the client obtains the URL of the page. It can be understood that the URL of the page is the first URL. When the client stores the corresponding relationship between the page URL and the connection information of the rendering server, it indicates that the page has a corresponding rendering server.
[0080] Step f, the URL of the page is sent to the rendering scheduling server, so that the rendering scheduling server returns the connection information of the rendering server.
[0081] Step g, according to the connection information, the communication connection between the client and the rendering server is established, and the operation data corresponding to the access request is sent to the rendering server connected with the client, so that the rendering server returns the video stream to be displayed corresponding to the operation data according to the operation data.
[0082] When the client obtains the URL of the page, the client sends the URL of the page to the rendering scheduling server. It should be noted that the rendering scheduling server corresponds to at least one rendering server, and the rendering server in the embodiment is a cluster managed by the rendering scheduling server. The rendering scheduling server can determine which page needs to be remotely rendered through the URL of the page. When the rendering scheduling server receives the URL of the page, the rendering scheduling server determines the rendering server for remotely rendering the page, and obtains the connection information of the rendering server, and sends the connection information to the client. The connection information includes but is not limited to the connection address of the rendering server and the connection mode of connecting the rendering server. In the embodiment, the user can set the communication protocol corresponding to the connection mode according to specific needs, such as public or private communication protocol.
[0083] When the client receives the connection information, the client establishes a communication connection between the client and the rendering server according to the connection information. After establishing the communication connection between the client and the rendering server, the client obtains the operation data corresponding to the access request, and sends the operation data corresponding to the access request to the rendering server connected with the client, so that the rendering server returns the video stream to be displayed corresponding to the operation data according to the operation data.
[0084] Further, if the client detects that the page is not rendered remotely for the first time, i.e., the client has rendered the page remotely before, the connection information of the rendering server corresponding to the rendering of the page is stored in the client. In the client, the connection information of the rendering server is stored in association with the URL of the page, so that the client can obtain the corresponding connection information through the URL of the page, and establish a communication connection between the client and the rendering server according to the connection information, and send the operation data corresponding to the access request to the rendering server.
[0085] Further, the step of establishing a communication connection between the client and the rendering server according to the connection information comprises:
[0086] Step g1, determining the connection address of the rendering server and the connection mode of the rendering server according to the connection information.
[0087] Step g3, establishing a communication connection between the client and the rendering server according to the connection address and the connection mode.
[0088] Specifically, after the client obtains the connection information, the client determines the connection address of the rendering server and the connection mode of the rendering server according to the connection information, determines the specific rendering server to be connected according to the connection address, and then connects the rendering server determined according to the connection address in the determined connection mode, to establish a communication connection between the client and the rendering server. Preferably, the connection mode in this embodiment is Websocket long connection.
[0089] Further, if the client determines that the page does not need to be rendered remotely, the client renders the page corresponding to the access request locally. It should be noted that the rendering process is actually a process of accessing the target web page corresponding to the access request through a customized browser and a set Trident kernel version, JS engine version and other configurations, then encapsulating the rendering process data of the target web page, returning the data to the client through a persistent connection, and performing image processing to display the response data corresponding to the access request in the client. After the page is rendered successfully, the client establishes a corresponding data interaction and data display channel to achieve the effect of normal access, i.e., the access request can be executed normally.
[0090] Further, during the process of rendering the page, the client acquires the first version number of the current kernel version of the page and the first version number of the current JS engine version of the page, and acquires the second version number of the kernel version and the second version number of the JS engine version in the configuration data, compares the first version number of the kernel with the second version number of the kernel, and compares the first version number of the JS with the second version number of the JS. If the first version number of the kernel and the second version number of the kernel are the same, the client does not need to install a new kernel during the process of rendering the page; if the first version number of the kernel and the second version number of the kernel are different, the client needs to install a new kernel during the process of rendering the page, i.e., the kernel of the page to be rendered is set to the kernel corresponding to the second version number of the kernel. If the first version number of the JS and the second version number of the JS are the same, the client determines that the JS engine does not need to be reconfigured during the process of rendering the page; if the first version number of the JS and the second version number of the JS are different, the client determines that the JS engine needs to be reconfigured during the process of rendering the page, i.e., the JS engine corresponding to the page to be rendered is set to the JS engine corresponding to the second version number of the JS. It should be noted that the process of remote rendering of the page by the rendering server also compares the version numbers of the kernel and the JS engine, and the specific comparison process is consistent with the process of local rendering of the page by the client, which will not be repeated here.
[0091] In step S15, the to-be-displayed video stream is received, and the to-be-displayed video stream is drawn in the display interface of the client to respond to the access request.
[0092] When the client receives the to-be-displayed video stream sent by the rendering server, the client draws the to-be-displayed video stream in the display interface to respond to the access request, and completes the rendering of the page. It can be understood that when the client draws the to-be-displayed video stream in the display interface, the user corresponding to the access request can see the response result corresponding to the access request in the display interface.
[0093] Further, step S15 includes:
[0094] In step h, the to-be-displayed video stream is received, and the to-be-displayed video stream is drawn in the display interface of the client by using the Canvas technology to respond to the access request.
[0095] Specifically, when the client receives the to-be-displayed video stream, the client draws the to-be-displayed video stream in the display interface of the client by using the Canvas technology to respond to the access request. The Canvas API (Canvas) corresponding to the Canvas technology is a newly added label in HTML5 for generating images on a webpage in real time, and the image content can be operated. Basically, it is a bitmap that can be operated by JavaScript.
[0096] The embodiment achieves remote rendering of a webpage required to be accessed by calling a rendering server in a webpage rendering process, so that the webpage of the browser of the non-Trident core can be remotely rendered, avoids the browser of the non-Trident core from being unable to complete business interaction due to failure of webpage rendering, and thus improves the success rate of business interaction of the browser of the non-Trident core, that is, improves the success rate of business data interaction.
[0097] It should be noted that when the client needs to access the business application based on the IE core, the webpage rendering method in the embodiment can solve the problem of unable to normally access the webpage, and improve the operation integrity of the business system; an individual user does not need to select the Wintel architecture operating system environment to normally access the business application website with the IE core feature.
[0098] Further, a second embodiment of the response method of the access request is provided. The second embodiment of the response method of the access request is different from the first embodiment of the response method of the access request in that the response method of the access request further comprises:
[0099] Step i: when detecting the acquisition request for acquiring the configuration data, acquiring the protocol package name corresponding to the acquisition request.
[0100] Step j: determining the domain name corresponding to the server according to the protocol package name, and sending the acquisition request to the server through the domain name, so that the server returns the configuration data according to the acquisition request.
[0101] When the client detects the acquisition request for acquiring the configuration data, the client acquires the protocol package name corresponding to the acquisition request. It should be noted that the communication protocol between the client and the server can be determined through the protocol package. When the client acquires the protocol package name, the client acquires the domain name in the protocol package name, and determines the acquired domain name as the domain name corresponding to the server, and establishes a connection relationship with the server through the domain name. When the client establishes a connection relationship with the server, the client sends the acquisition request to the server to acquire the configuration data in the server through the acquisition request. It can be understood that the domain name is part of the protocol package name. When the server receives the acquisition request, the server returns the configuration data corresponding to the acquisition request to the client according to the acquisition request. In the acquisition request, the URL corresponding to the configuration data to be acquired is carried, and the server can determine the configuration data to be returned to the client through the URL.
[0102] Step k, when receiving the configuration data sent by the server, storing the configuration data.
[0103] When the client receives the configuration data sent by the server, the client stores the configuration data. Specifically, the client can store the configuration data in JSON (JavaScript Object Notation, JS object notation) format.
[0104] Further, the response method of the access request further comprises:
[0105] Step l, detecting whether the current time is the acquisition time of the configuration data.
[0106] Step m, if it is detected that the current time is the acquisition time of the configuration data, triggering an acquisition request, and sending the acquisition request to the server, so that the server returns the configuration data according to the acquisition request.
[0107] The client detects whether the current time is the acquisition time corresponding to the configuration data in real time or at a timing. In this embodiment, the client acquires the configuration data from the server at a timing, and the time length corresponding to the timing can be set according to actual needs, and the time length corresponding to the timing is not limited in this embodiment. Specifically, the client records the historical acquisition time of the last acquisition of the configuration data from the server, and calculates the time difference between the historical acquisition time and the current time. If the time difference is equal to or greater than the time length corresponding to the timing, the client can determine that the current time is the acquisition time corresponding to the configuration data. If the time difference is less than the time length corresponding to the timing, the client determines that the current time is not the acquisition time corresponding to the configuration data. If the client detects that the current time is the acquisition time corresponding to the configuration data, the client automatically triggers an acquisition request for acquiring the configuration data, and sends the acquisition request to the server, so that the server returns the configuration data according to the acquisition request. If the client detects that the current time is not the acquisition time corresponding to the configuration data, the client continues to detect whether the current time is the acquisition time corresponding to the configuration data. It can be understood that in this embodiment, the client polls the interface of the server at a timing to acquire the latest configuration data.
[0108] In this embodiment, the client acquires the configuration data from the server at a timing to determine whether the page needs to be remotely rendered according to the configuration data acquired at the timing, thereby improving the success rate of page rendering in the client.
[0109] Further, a third embodiment of the response method of the access request is provided. Referring to Figure 2 , the response method of the access request is applied to a response system of the access request composed of a client and a rendering server, and the response method of the access request further includes:
[0110] In step S31, when the client detects an access request for accessing the client website, the pre-stored configuration data is acquired, and it is determined whether the page corresponding to the access request needs to be remotely rendered according to the configuration data.
[0111] In step S33, if it is determined that the page needs to be remotely rendered, the operation data corresponding to the access request is sent to the rendering server.
[0112] When the client detects an access request for accessing the client website, the client acquires pre-stored configuration data, and determines whether the page corresponding to the access request needs to be remotely rendered according to the configuration data. If it is determined that the page needs to be remotely rendered, the operation data corresponding to the access request is sent to the rendering server. It should be noted that the specific implementation process of steps S31 and S33 has been described in detail in the first embodiment, and will not be repeated here.
[0113] Further, the response system of the access request further comprises a rendering scheduling server, and step S33 comprises:
[0114] Step n, if the client determines that the page needs to be remotely rendered, detecting whether the page is first remotely rendered.
[0115] Step o, if it is detected that the page is first remotely rendered, obtaining the URL of the page and sending the URL of the page to the rendering scheduling server.
[0116] Step p, when the rendering scheduling server receives the URL of the page, determining a rendering server for rendering the page according to a preset load balancing strategy, and sending the connection information of the determined rendering server to the client.
[0117] Further, if the client determines that the page needs to be remotely rendered, the client detects whether the page is first remotely rendered. If it is detected that the page is first remotely rendered, the client obtains the URL of the page and sends the URL of the page to the rendering scheduling server. It should be noted that the process of detecting whether the page is first remotely rendered by the client has been described in detail in the first embodiment, and will not be repeated here. When the rendering scheduling server receives the URL of the page, the rendering scheduling server determines a rendering server for rendering the page according to a preset load balancing strategy, and sends the connection information of the determined rendering server to the client. The connection information of each rendering server is pre-stored in the rendering scheduling server. The load balancing strategy can be set by the user according to specific needs.
[0118] Further, the step of determining a rendering server for rendering the page according to a preset load balancing strategy when the rendering scheduling server receives the URL of the page comprises:
[0119] Step w, when the rendering scheduling server receives the URL of the page, determining a rendering server in an idle state as the rendering server for rendering the page.
[0120] Further, when the rendering dispatch server receives the URL of the page, the rendering dispatch server determines the rendering server in the idle state and determines the rendering server in the idle state as the rendering server for rendering the page. Specifically, the rendering dispatch server can determine the rendering server with the resource utilization less than the preset value as the rendering server for rendering the page according to the load balancing strategy. In this embodiment, the size of the preset value is not limited. When the rendering dispatch server determines that there are at least two rendering servers with the resource utilization less than the preset value, the rendering dispatch server can randomly select one rendering server with the resource utilization less than the preset value as the rendering server for rendering the page according to the load balancing strategy, or select the rendering server with the minimum resource utilization as the rendering server for rendering the page.
[0121] Step q, when the client receives the connection information, the communication connection between the client and the rendering server is established according to the connection information, and the operation data corresponding to the access request is sent to the rendering server.
[0122] When the client receives the connection information sent by the rendering dispatch server, the client establishes the communication connection between the client and the rendering server according to the connection information, and obtains the operation data corresponding to the access request, and sends the operation data corresponding to the access request to the rendering server.
[0123] Step S35, when the rendering server receives the operation data, the operation data is sent to the target website corresponding to the page, and the to-be-displayed video stream corresponding to the operation data returned by the target website is received, and the to-be-displayed video stream is sent to the client.
[0124] Step S37, the client receives the to-be-displayed video stream, and draws the to-be-displayed video stream in the display interface of the client to respond to the access request.
[0125] When the rendering server receives the operation data, the rendering server sends the operation data to the target website corresponding to the page. It should be noted that the rendering server receives the URL of the page, and determines the target website according to the URL of the page. The URL of the page can be sent to the rendering server by the rendering dispatching server, or can be sent to the rendering server by the client. When the rendering server determines the target website, the rendering server sends the operation data to the target website. When the target website receives the operation data, the target website executes the operation data, obtains the to-be-displayed video stream corresponding to the operation data, and sends the to-be-displayed video stream to the rendering server. When the rendering server receives the to-be-displayed video stream, the rendering server sends the to-be-displayed video stream to the client. When the client receives the to-be-displayed video stream, the client draws the to-be-displayed video stream in the display interface of the client, to respond to the access request. In this embodiment, the client realizes real access to the target website based on the Trident kernel of the IE browser through the rendering server.
[0126] In this embodiment, when the client detects an access request for accessing a client website, pre-stored configuration data is acquired. When it is determined according to the configuration data that remote rendering needs to be performed on a page corresponding to the access request, operation data corresponding to the access request is sent to a rendering server. When the rendering server receives the operation data, the operation data is sent to a target website corresponding to the page, and a to-be-displayed video stream corresponding to the operation data returned by the target website is received and sent to the client. The client draws the received to-be-displayed video stream in a display interface of the client, to respond to the access request. In this way, in a page rendering process, the rendering server can be called to perform remote rendering on a webpage that needs to be accessed, so that a webpage of a browser that is not a Trident kernel can be remotely rendered, and the success rate of business interaction of the browser that is not a Trident kernel is improved, that is, the success rate of business data interaction is improved.
[0127] In addition, an access request response apparatus is provided, which is described with reference to Figure 3 , and the access request response apparatus comprises:
[0128] The acquisition module 11 is configured to acquire pre-stored configuration data when an access request for accessing a client website is detected.
[0129] The determination module 13 is configured to determine whether remote rendering needs to be performed on a page corresponding to the access request according to the configuration data.
[0130] The sending module 15 is configured to send operation data corresponding to the access request to a rendering server, so that the rendering server returns a to-be-displayed video stream corresponding to the operation data according to the operation data, if it is determined that the page needs to be remotely rendered.
[0131] The receiving module 17 is configured to receive the to-be-displayed video stream.
[0132] The drawing module 19 is configured to draw the to-be-displayed video stream in a display interface of the client to respond to the access request.
[0133] Further, the sending module 15 comprises:
[0134] The detection unit is configured to detect whether the page is first remotely rendered, if it is determined that the page needs to be remotely rendered.
[0135] The acquisition unit is configured to acquire a URL of the page, if it is detected that the page is first remotely rendered.
[0136] The sending unit is configured to send the URL of the page to a rendering scheduling server, so that the rendering scheduling server returns connection information of a rendering server.
[0137] The establishing unit is configured to establish a communication connection between the client and the rendering server according to the connection information.
[0138] The sending unit is further configured to send operation data corresponding to the access request to the rendering server that establishes the communication connection with the client, so that the rendering server returns a to-be-displayed video stream corresponding to the operation data according to the operation data.
[0139] Further, the establishing unit comprises:
[0140] The determining subunit is configured to determine a connection address of a rendering server and a connection manner of connecting the rendering server according to the connection information.
[0141] The establishing subunit is configured to establish a communication connection between the client and the rendering server according to the connection address and the connection manner.
[0142] Further, the drawing module 19 is further configured to draw the to-be-displayed video stream in the display interface of the client by using a Canvas technology to respond to the access request.
[0143] Further, the acquisition module 11 is further configured to acquire a first URL corresponding to the access request, and acquire a second URL in pre-stored configuration data.
[0144] The determining module 13 is further configured to determine that remote rendering of the page corresponding to the access request is needed if the first URL is the same as the second URL and the second URL corresponds to a rendering scheduling service; and determine that remote rendering of the page corresponding to the access request is not needed if the first URL is different from the second URL and / or the second URL does not correspond to a rendering scheduling service.
[0145] Further, the obtaining module 11 is further configured to obtain a protocol package name corresponding to the obtaining request when detecting the obtaining request for obtaining configuration data.
[0146] The determining module 13 is further configured to determine a domain name corresponding to a server according to the protocol package name.
[0147] The sending module 15 is further configured to send the obtaining request to the server through the domain name, so that the server returns configuration data according to the obtaining request.
[0148] The response apparatus for the access request further includes:
[0149] The storage module is configured to store the configuration data when receiving the configuration data sent by the server.
[0150] Further, the response apparatus for the access request further includes:
[0151] The detection module is configured to detect whether a current time is an obtaining time for obtaining configuration data.
[0152] The triggering module is configured to trigger an obtaining request if it is detected that the current time is the obtaining time for obtaining configuration data.
[0153] The sending module 15 is further configured to send the obtaining request to the server, so that the server returns configuration data according to the obtaining request.
[0154] The response apparatus for the access request according to the embodiment of the present application is basically the same as the above-mentioned response method for the access request, and thus will not be described here again.
[0155] In addition, a response system for an access request is also provided, which includes a client and a rendering server.
[0156] The client is configured to obtain pre-stored configuration data when detecting an access request for accessing a website of the client, and determine whether remote rendering of a page corresponding to the access request is needed according to the configuration data; and send operation data corresponding to the access request to the rendering server if it is determined that remote rendering of the page is needed.
[0157] The rendering server is configured to, after receiving the operation data, send the operation data to a target website corresponding to the page, receive a to-be-displayed video stream corresponding to the operation data returned by the target website, and send the to-be-displayed video stream to the client.
[0158] The client is further configured to receive the to-be-displayed video stream and draw the to-be-displayed video stream in a display interface of the client to respond to the access request.
[0159] Further, the system for responding to the access request further comprises a rendering scheduling server.
[0160] The client is further configured to, if it is determined that remote rendering of the page is needed, detect whether the page is rendered remotely for the first time, and if it is detected that the page is rendered remotely for the first time, acquire a URL of the page and send the URL of the page to the rendering scheduling server.
[0161] The rendering scheduling server is configured to, after receiving the first URL, determine a rendering server for rendering the page according to a preset load balancing strategy, and send connection information of the determined rendering server to the client.
[0162] The client is further configured to, after receiving the connection information, establish a communication connection between the rendering server and the client according to the connection information, and send operation data corresponding to the access request to the rendering server.
[0163] Further, the rendering scheduling server is further configured to, after receiving the first URL, determine a rendering server in an idle state as the rendering server for rendering the page.
[0164] The specific implementation of the system for responding to the access request according to the present application is basically the same as the third method for responding to the access request, and thus will not be described herein.
[0165] In addition, a device for responding to an access request is provided. Figure 4 As shown in Figure 4 is a structural diagram of a hardware running environment of the device for responding to an access request.
[0166] It should be noted that Figure 4 that is, the device for responding to an access request can be a PC, a portable computer, or other terminal device.
[0167] As Figure 4As shown, the response device of the access request can include a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. The communication bus 1002 is used to realize the connection communication between the components. The user interface 1003 can include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 can further include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 can also be an independent storage device from the aforementioned processor 1001.
[0168] Those skilled in the art can understand that Figure 4 The structure of the response device of the access request shown in the above embodiment is not a limitation on the response device of the access request, and can include more or fewer components than those shown, or combine certain components, or different component arrangements.
[0169] As Figure 4 As shown, the memory 1005, as a computer storage medium, can include an operating system, a network communication module, a user interface module, and an access request response program. The operating system is a program that manages and controls the hardware and software resources of the response device of the access request, and supports the running of the access request response program and other software or programs.
[0170] In Figure 4 In the response device of the access request shown, the user interface 1003 is mainly used to connect the service end and the rendering server, and communicate data with the service end and the rendering server, such as obtaining configuration data from the service end and sending operation data to the rendering server; the network interface 1004 is mainly used for the background server, and communicates data with the background server; the processor 1001 can be used to call the access request response program stored in the memory 1005, and execute the steps of the access request response method as described above.
[0171] The specific implementation of the response device of the access request according to the present application is basically the same as the above-mentioned various embodiments of the access request response method, and will not be repeated here.
[0172] In addition, an embodiment according to the present application also proposes a computer readable storage medium, and the computer readable storage medium stores an access request response program. When the processor executes the access request response program, the steps of the access request response method as described above are realized.
[0173] The specific implementation of the computer readable storage medium according to the present application is basically the same as the above-mentioned response method of each embodiment of the access request, and will not be repeated here.
[0174] It should be noted that in this paper, the term "including", "containing" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the sentence "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0175] The above-mentioned embodiment number of the present application is only for description, not representing the advantages and disadvantages of the embodiments.
[0176] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the method described in each embodiment of the present application.
[0177] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent flow transformation made by using the content of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for responding to an access request, characterized in that, The response method for the access request includes the following steps: When an access request to the client website is detected, the pre-stored configuration data is obtained, and it is determined whether the page corresponding to the access request needs to be remotely rendered based on the configuration data. The configuration data includes the second URL and the Trident kernel version. If it is determined that the page needs to be rendered remotely, the operation data corresponding to the access request is sent to the rendering server so that the rendering server can return the video stream to be displayed corresponding to the operation data. Receive the video stream to be displayed and draw the video stream to be displayed on the client's display interface in response to the access request; The steps for determining whether remote rendering of the page corresponding to the access request is required based on the configuration data include: Obtain the first URL corresponding to the access request, and obtain the second URL from the pre-stored configuration data; If the first URL is the same as the second URL, and the second URL has a corresponding rendering scheduling service, then it is determined that the page corresponding to the access request needs to be rendered remotely. If the page corresponding to the access request is being remotely rendered for the first time, the URL of the page is sent to the rendering scheduling server so that the rendering scheduling server can determine the rendering server with a resource utilization rate of less than a preset value as the rendering server to render the page.
2. The response method for an access request as described in claim 1, characterized in that, The step of sending the operation data corresponding to the access request to the rendering server if it is determined that remote rendering of the page is required, so that the rendering server can return the video stream to be displayed corresponding to the operation data, includes: If it is determined that the page needs to be rendered remotely, then check whether the page is being rendered remotely for the first time. If it is detected that the page is being remotely rendered for the first time, then obtain the URL of the page; The URL of the page is sent to the rendering scheduling server, so that the rendering scheduling server can return the connection information of the rendering server. A communication connection is established between the client and the rendering server based on the connection information, and the operation data corresponding to the access request is sent to the rendering server that has established a communication connection with the client, so that the rendering server can return the video stream to be displayed corresponding to the operation data based on the operation data.
3. The method for responding to an access request as described in claim 2, characterized in that, If it is determined that remote rendering of the page is required, the step of detecting whether the page is being remotely rendered for the first time includes: Check if the page has a corresponding rendering server; If it is determined that the page has a corresponding rendering server, then it is determined that the page is not being rendered remotely for the first time. If it is determined that the page does not have a corresponding rendering server, then it is determined that the page is being remotely rendered for the first time. If it is detected that the page corresponding to the access request is being remotely rendered for the first time, then the URL of the page is obtained.
4. The method for responding to an access request as described in claim 2, characterized in that, The step of establishing a communication connection between the client and the rendering server based on the connection information includes: The connection address of the rendering server and the connection method to the rendering server are determined based on the connection information. A communication connection is established between the client and the rendering server based on the connection address and the connection method.
5. The method for responding to an access request as described in claim 1, characterized in that, The steps of receiving the video stream to be displayed and drawing the video stream to be displayed on the client's display interface in response to the access request include: The system receives the video stream to be displayed and uses Canvas technology to draw the video stream on the client's display interface in response to the access request.
6. The method for responding to an access request as described in claim 1, characterized in that, The steps of obtaining pre-stored configuration data after detecting an access request to the client website, and determining whether to remotely render the page corresponding to the access request based on the configuration data, include: Upon detecting an access request to the client website, the system retrieves pre-stored configuration data, obtains the first URL corresponding to the access request, and retrieves the second URL from the pre-stored configuration data. If the first URL is different from the second URL, and / or the second URL does not have a corresponding rendering scheduling service, then it is determined that remote rendering of the page corresponding to the access request is not required.
7. The method for responding to an access request as described in any one of claims 1 to 6, characterized in that, Before the step of obtaining pre-stored configuration data after detecting an access request to the client website, the method further includes: Upon detecting a request to obtain configuration data, obtain the protocol packet name corresponding to the request; The domain name corresponding to the server is determined based on the protocol packet name, and the acquisition request is sent to the server through the domain name so that the server can return configuration data according to the acquisition request; After receiving the configuration data sent by the server, the configuration data is stored.
8. The method for responding to an access request as described in any one of claims 1 to 6, characterized in that, Before the step of obtaining pre-stored configuration data after detecting an access request to the client website, the method further includes: Check if the current time is the time when the configuration data was retrieved; If the current time is detected as the time for obtaining configuration data, a retrieval request is triggered and sent to the server so that the server can return the configuration data based on the retrieval request.
9. The method for responding to an access request as described in claim 8, characterized in that, The step of detecting whether the current time is the time for obtaining configuration data includes: Record the historical retrieval time of the last time configuration data was obtained from the server, and calculate the time difference between the historical retrieval time and the current time; If the time difference is equal to or greater than the duration corresponding to the timer, then the current time is determined to be the acquisition time corresponding to the configuration data; If the time difference is less than the duration corresponding to the timer, then it is determined that the current time is not the acquisition time corresponding to the configuration data. If the current time is detected to be the time when the configuration data is retrieved, a request to retrieve the configuration data will be automatically triggered and sent to the server so that the server can return the configuration data based on the request. If the current time is not the acquisition time corresponding to the configuration data, the client will continue to check whether the current time is the acquisition time corresponding to the configuration data.
10. The method for responding to an access request as described in claim 1, characterized in that, After the steps of obtaining pre-stored configuration data upon detecting an access request to the client website and determining whether remote rendering of the page corresponding to the access request is necessary based on the configuration data, the method for responding to the access request further includes: If it is determined that the page does not need to be rendered remotely, then the page corresponding to the access request will be rendered locally.
11. The method for responding to an access request as described in claim 10, characterized in that, The steps for local rendering of the page include: Obtain the kernel version number of the current kernel version of the page, and obtain the kernel version number of the kernel version in the configuration data; Compare the first kernel version number and the second kernel version number; If the first kernel version number and the second kernel version number are the same, then no new kernel needs to be installed during the page rendering process; If the first kernel version number and the second kernel version number are different, a new kernel needs to be installed during the page rendering process, and the kernel of the page to be rendered is set to the kernel corresponding to the second kernel version number.
12. The method for responding to an access request as described in claim 10, characterized in that, The steps for local rendering of the page also include: Obtain the first JS version number of the current JS engine version of the page, and obtain the second JS version number of the JS engine version in the configuration data; Compare the first version number of JS and the second version number of JS; If the first JS version number and the second JS version number are the same, then it is determined that the JS engine does not need to be reconfigured during the page rendering process; If the first JS version number and the second JS version number are different, it is determined that the JS engine needs to be reconfigured during the page rendering process, and the JS engine corresponding to the page to be rendered is set to the JS engine corresponding to the second JS version number.
13. A method for responding to an access request, characterized in that, The access request response method is applied to an access request response system consisting of a client and a rendering server, and the access request response method includes the following steps; When the client detects an access request to the client's website, it obtains the pre-stored configuration data and determines whether to remotely render the page corresponding to the access request based on the configuration data. The configuration data includes the second URL and the Trident kernel version. If it is determined that the page needs to be rendered remotely, the operation data corresponding to the access request is sent to the rendering server. After the rendering server receives the operation data, it sends the operation data to the target website corresponding to the page, receives the video stream to be displayed corresponding to the operation data returned by the target website, and sends the video stream to be displayed to the client. The client receives the video stream to be displayed and draws the video stream to be displayed on the client's display interface in response to the access request; The steps for determining whether remote rendering of the page corresponding to the access request is required based on the configuration data include: Obtain the first URL corresponding to the access request, and obtain the second URL from the pre-stored configuration data; If the first URL is the same as the second URL, and the second URL has a corresponding rendering scheduling service, then it is determined that the page corresponding to the access request needs to be rendered remotely. If the page corresponding to the access request is being remotely rendered for the first time, the URL of the page is sent to the rendering scheduling server so that the rendering scheduling server can determine the rendering server with a resource utilization rate of less than a preset value as the rendering server to render the page.
14. The method for responding to an access request as described in claim 13, characterized in that, The system for responding to the access request also includes a rendering scheduling server; The step of sending the operation data corresponding to the access request to the rendering server if it is determined that remote rendering of the page is required includes: If the client determines that the page needs to be remotely rendered, it checks whether the page is being remotely rendered for the first time. If it is detected that the page is being remotely rendered for the first time, the URL of the page is obtained and sent to the rendering scheduling server. When the rendering scheduling server receives the URL of the page, it determines the rendering server to render the page according to the preset load balancing strategy, and sends the connection information of the determined rendering server to the client. After receiving the connection information, the client establishes a communication connection with the rendering server based on the connection information and sends the operation data corresponding to the access request to the rendering server.
15. The method for responding to an access request as described in claim 14, characterized in that, The step of determining the rendering server for rendering the page according to a preset load balancing strategy includes: If it is determined that there are at least two rendering servers with resource utilization below the preset value, then a rendering server with resource utilization below the preset value is randomly selected according to the load balancing strategy to be the rendering server for rendering the page.
16. The method for responding to an access request as described in claim 15, characterized in that, The step of determining the rendering server to render the page according to a preset load balancing strategy after the rendering scheduling server receives the URL of the page includes: When the rendering scheduling server receives the URL of the page, it determines the rendering server that is in an idle state and selects the idle rendering server as the rendering server to render the page.
17. A response device for an access request, characterized in that, The response device for the access request includes: The acquisition module is used to acquire pre-stored configuration data after detecting an access request to the client website. The configuration data includes the second URL and the Trident kernel version. The determination module is used to determine, based on the configuration data, whether remote rendering of the page corresponding to the access request is required. The sending module is used to send the operation data corresponding to the access request to the rendering server if it is determined that the page needs to be rendered remotely, so that the rendering server can return the video stream to be displayed corresponding to the operation data according to the operation data. A receiving module is used to receive the video stream to be displayed; A drawing module is used to draw the video stream to be displayed on the client's display interface in response to the access request; The determining module is further configured to obtain the first URL corresponding to the access request and the second URL in the pre-stored configuration data; if the first URL is the same as the second URL and the second URL has a corresponding rendering scheduling service, then it is determined that the page corresponding to the access request needs to be rendered remotely. The sending module is also used to send the URL of the page corresponding to the access request to the rendering scheduling server when the page is being remotely rendered for the first time, so that the rendering scheduling server can determine the rendering server with a resource utilization rate of less than a preset value as the rendering server to render the page.
18. A response system for access requests, characterized in that, The system for responding to the access request includes a client and a rendering server; The client is configured to, upon detecting an access request to the client website, obtain pre-stored configuration data and determine, based on the configuration data, whether remote rendering of the page corresponding to the access request is required; if it is determined that remote rendering of the page is required, the client sends the operation data corresponding to the access request to the rendering server, wherein the configuration data includes the second URL and the Trident kernel version. The rendering server is configured to, upon receiving the operation data, send the operation data to the target website corresponding to the page, receive the video stream to be displayed corresponding to the operation data returned by the target website, and send the video stream to be displayed to the client. The client is also used to receive the video stream to be displayed and draw the video stream to be displayed on the client's display interface in response to the access request; The client is further configured to obtain a first URL corresponding to the access request and a second URL from the pre-stored configuration data; if the first URL is the same as the second URL and the second URL has a corresponding rendering scheduling service, then it is determined that the page corresponding to the access request needs to be remotely rendered; if the page corresponding to the access request is being remotely rendered for the first time, the URL corresponding to the page is sent to the rendering scheduling server so that the rendering scheduling server can determine the rendering server with a resource utilization rate less than a preset value as the rendering server to render the page.
19. A device for responding to access requests, characterized in that, The access request response device includes a memory, a processor, and an access request response program stored in the memory and executable on the processor, wherein the access request response program, when executed by the processor, implements the steps of the access request response method as described in any one of claims 1 to 12.
20. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a response program for an access request, which, when executed by a processor, implements the steps of the access request response method as described in any one of claims 1 to 12.
Citation Information
Patent Citations
Page rendering method and device and electronic equipment
CN109902247A
Cloud rendering three-dimensional visualization implementation method and system
CN110415325A