Webpage resource access method, device, terminal and computer readable storage medium

By using the first server associated with the redirected Uniform Resource Locator (URL) for web resource access, the service interruption problem when the server updates resource files is resolved, improving browser access efficiency and user experience.

CN122286015APending Publication Date: 2026-06-26BEIJING HONGTENG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING HONGTENG INTELLIGENT TECH CO LTD
Filing Date
2024-12-25
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

When a browser accesses web page resources, if the server needs to replace some resource files, it must stop the service to update, resulting in service interruption and a degraded user experience.

Method used

By obtaining the target browser's webpage resource access request, it is determined whether the target Uniform Resource Locator (URL) has a redirect URL, and access is performed using the first server associated with the redirect URL, avoiding downloading and replacing the original resource on the browser side, and directly updating the resource file on the server side.

Benefits of technology

It reduces the code complexity when accessing web resources, improves access efficiency, avoids service interruptions, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122286015A_ABST
    Figure CN122286015A_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, terminal, and computer-readable storage medium for accessing web resources. The method includes obtaining a web resource access request from a target browser and determining the target Uniform Resource Locator (URL) corresponding to the web resource access request. If a redirect URL exists for the target URL, the method accesses the target web resource corresponding to the web resource access request based on the redirect URL. The method further specifies that the first server associated with the redirect URL is different from the second server associated with the target URL. This solves the technical problem that when a server needs to replace some resource files, it must stop providing resource access services to users to update the resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, and in particular to a method, apparatus, terminal and computer-readable storage medium for accessing web resources. Background Technology

[0002] In recent years, with the rapid development of internet technology, accessing web resources through browsers has become a common way to obtain information. When accessing web resources from a server through a browser, if the server needs to replace some resource files, it needs to stop providing resource access services to users to update the resources. Summary of the Invention

[0003] This application provides a web resource access method, apparatus, terminal, and computer-readable storage medium, which can solve the technical problem that when a server needs to replace some resource files, it needs to stop providing resource access services to users in order to update the resources.

[0004] In a first aspect, embodiments of this application provide a method for accessing web page resources, the method comprising:

[0005] Obtain the web page resource access request of the target browser and determine the target Uniform Resource Locator corresponding to the web page resource access request;

[0006] When it is determined that the target Uniform Resource Locator has a redirect Uniform Resource Locator, the target web page resource corresponding to the web page resource access request is accessed based on the redirect Uniform Resource Locator;

[0007] The first server associated with the redirected Uniform Resource Locator is different from the second server associated with the target Uniform Resource Locator.

[0008] Optionally, determining that the target Uniform Resource Locator has a redirected Uniform Resource Locator includes:

[0009] Query the web resource path server to see if the target Uniform Resource Locator (URL) has an associated resource path redirection policy;

[0010] When it is determined that the target Uniform Resource Locator has an associated resource path redirection policy, the resource path redirection policy is obtained;

[0011] The resource path redirection strategy is parsed to obtain the redirection uniform resource locator corresponding to the target uniform resource locator, and it is determined that the target uniform resource locator has an associated redirection uniform resource locator.

[0012] Optionally, accessing the target webpage resource corresponding to the webpage resource access request based on the redirected Uniform Resource Locator includes:

[0013] Based on the redirected Uniform Resource Locator, the resource path of the target Uniform Resource Locator corresponding to the web resource access request is modified to update the web resource access request.

[0014] Send the web page resource access request to the first server so that the first server sends the target web page resource corresponding to the redirected Uniform Resource Locator to the terminal corresponding to the target browser;

[0015] Receive the target webpage resource corresponding to the redirected Uniform Resource Locator, and perform display processing on the target webpage resource based on the target browser.

[0016] Optionally, the method further includes:

[0017] Determine the webpage resource currently accessed by the target browser and obtain the Uniform Resource Locator (URL) corresponding to the webpage resource;

[0018] Query the web resource path server to see if the Uniform Resource Locator (URL) has an associated target resource path redirection policy.

[0019] When it is determined that the Uniform Resource Locator has an associated target resource path redirection policy, the target resource path redirection policy is obtained.

[0020] The target resource path redirection strategy is parsed to obtain the reference redirection uniform resource locator corresponding to the uniform resource locator, and the web page resource is replaced based on the reference web page resource corresponding to the reference redirection uniform resource locator.

[0021] Optionally, the method further includes:

[0022] Determine the target webpage currently accessed by the target browser, and obtain the Uniform Resource Locator (URL) for each webpage element in the target webpage.

[0023] Query the web resource path server to see if the element's Uniform Resource Locator (URL) has an associated element resource path redirection policy;

[0024] When it is determined that the element's Uniform Resource Locator has an associated element resource path redirection policy, the element resource path redirection policy is obtained;

[0025] The element resource path redirection strategy is parsed to obtain the element redirection uniform resource locator corresponding to the element uniform resource locator, and the web page element is replaced based on the target web page element corresponding to the element redirection uniform resource locator.

[0026] Optionally, the method further includes:

[0027] Obtain the historical web page resource browsing information of the user corresponding to the target browser, determine the web page resource browsing frequency information based on the historical web page resource browsing information, and determine personalized web page resources from the historical web page resource browsing information based on the web page resource browsing frequency information.

[0028] When it is determined that the personalized Uniform Resource Locator corresponding to the personalized web page resource has a corresponding personalized redirection Uniform Resource Locator, the personalized redirection Uniform Resource Locator and the personalized Uniform Resource Locator are associated to obtain association information, and the association information is stored in local storage.

[0029] In response to a target browser's access request for the personalized web page resource, the system retrieves the associated information corresponding to the access request from the local storage, determines a personalized redirection Uniform Resource Locator (URL) based on the associated information, and accesses the personalized web page resource based on the URL.

[0030] Optionally, the step of displaying the target webpage resource based on the target browser includes:

[0031] Based on the target browser, the target webpage resource is rendered to determine the set of visual elements corresponding to the target webpage resource;

[0032] The set of visual elements is displayed on the target browser.

[0033] Secondly, embodiments of this application provide a web resource access device, the device comprising:

[0034] The acquisition module is adapted to acquire web page resource access requests from the target browser and determine the target Uniform Resource Locator corresponding to the web page resource access request.

[0035] The access module is adapted to access the target web page resource corresponding to the web page resource access request based on the redirected URI when it is determined that the target URI exists.

[0036] The first server associated with the redirected Uniform Resource Locator is different from the second server associated with the target Uniform Resource Locator.

[0037] Thirdly, embodiments of this application provide a terminal, the terminal comprising:

[0038] Processor; and

[0039] A memory configured to store computer-executable instructions, which, when executed, cause the processor to perform any of the methods described above.

[0040] Fourthly, embodiments of this application provide a computer-readable storage medium that stores one or more programs, which, when executed by a processor, implement the method described in any one of the above-described methods.

[0041] The beneficial effects of the technical solution provided in this application include at least the following: by obtaining the web resource access request of the target browser, determining the target Uniform Resource Locator (URL) corresponding to the web resource access request, and then determining that the target URL exists as a redirect URL, accessing the target web resource corresponding to the web resource access request based on the redirect URL. Since the first server associated with the redirect URL is different from the second server associated with the target URL, and the second server does not need to replace the resource file but can directly upload the replaced resource file to the first server to generate the redirect URL, it is not necessary to add code logic to replace and modify the content and attributes in the original target web resource for replacement and modification operations. Instead, the resource path corresponding to the target URL is replaced with the resource path corresponding to the redirect URL in the web resource access request. This effectively reduces the complexity of the code when accessing web resources, improves the access efficiency of the target browser when accessing web resources, and solves the technical problem that when the server needs to replace some resource files, it needs to stop providing resource access services to users for resource updates. Attached Figure Description

[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0043] Figure 1 An exemplary system architecture diagram of a web resource access method provided in this application embodiment;

[0044] Figure 2 A flowchart illustrating a web resource access method provided in an embodiment of this application;

[0045] Figure 3 This is a schematic diagram of a process for determining whether a target Uniform Resource Locator (URL) has a redirected URL, provided as an embodiment of this application.

[0046] Figure 4 This is a schematic diagram illustrating a process for accessing target web page resources, provided as an embodiment of this application.

[0047] Figure 5 This application provides a schematic diagram of a process for displaying target webpage resources.

[0048] Figure 6 This is a schematic diagram illustrating a process for accessing web page resources, provided as an embodiment of this application.

[0049] Figure 7 A schematic diagram illustrating another process for accessing web resources provided in an embodiment of this application;

[0050] Figure 8 A schematic diagram illustrating another method for accessing web resources provided in this application embodiment;

[0051] Figure 9 An exemplary system architecture diagram for another web resource access method provided in the embodiments of this application;

[0052] Figure 10 This is a schematic diagram of the structure of a web resource access device provided in an embodiment of this application;

[0053] Figure 11 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application. Detailed Implementation

[0054] To make the features and advantages of the embodiments of this application more apparent and understandable, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the embodiments of this application.

[0055] In related technologies, replacing web page resources involves several steps. First, the browser needs to retrieve the web page resource data from the server, download it to its local machine, and then read the data. This increases the browser's read / write workload on the local disk, potentially reducing browser performance. Second, when replacing the content of web page resources, it's crucial to check if the server has completely returned the web page resource data to the browser. Only after a complete return can the web page data resources be replaced; otherwise, risks such as data inconsistency and receiving duplicate replaced web page data resources may occur. Furthermore, since the content and size of the replaced web page data resources differ from the original, the attribute information in the returned headers needs to be modified. Otherwise, unpredictable risks may arise due to inaccurate attributes.

[0056] Furthermore, when a business system that returns webpage data resources replaces some webpage resource files, the usual practice is to update the resources on the corresponding server of the business system, which requires shutdown and redeployment. However, this approach is prone to a series of problems, including service interruption, making the website and related online services inaccessible and affecting user experience; it also easily leads to data loss. If a complete backup is not performed in time before the server is shut down or if there are abnormalities during the shutdown process, the data stored on the server may be lost or corrupted, thereby affecting the normal operation of business and hindering business processes.

[0057] To address the related technical problems, this application provides a method for accessing web resources. The method includes: obtaining a web resource access request from a target browser; determining the target Uniform Resource Locator (URL) corresponding to the web resource access request; and, if a redirect URL exists for the target URL, accessing the target web resource corresponding to the web resource access request based on the redirect URL. The method further specifies that the first server associated with the redirect URL is different from the second server associated with the target URL. This solves the technical problem that when a server needs to replace some resource files, it must stop providing resource access services to users to update the resources.

[0058] Please see Figure 1 , Figure 1 This is an exemplary system architecture diagram of a web resource access method provided in an embodiment of this application.

[0059] like Figure 1As shown, the system architecture may include a terminal 101, a network 102, and a first server 103. The network 102 serves as the medium for providing a communication link between the terminal 101 and the first server 103. The network 102 may include various types of wired or wireless communication links, such as wired communication links including fiber optic cables, twisted-pair cables, or coaxial cables, and wireless communication links including Bluetooth communication links, Wi-Fi (Wireless Fidelity) communication links, or microwave communication links, etc.

[0060] Terminal 101 can interact with the first server 103 via network 102 to receive messages from or send messages to the first server 103. Alternatively, terminal 101 can interact with the first server 103 via network 102 to receive messages or data sent to the first server 103 by other users. Terminal 101 can be hardware or software. When terminal 101 is hardware, it can be various terminals, including but not limited to smartwatches, smartphones, tablets, laptops, and desktop computers. When terminal 101 is software, it can be installed in the terminals listed above, and it can be implemented as multiple software programs or software modules (e.g., to provide distributed services) or as a single software program or software module; no specific limitation is made here.

[0061] The first server 103 can be a business server that provides various services. It should be noted that server 103 can be hardware or software. When server 103 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When server 103 is software, it can be implemented as multiple software programs or software modules (e.g., used to provide distributed services), or as a single software program or software module; no specific limitations are made here.

[0062] In this embodiment, terminal 101 can obtain a web page resource access request from a target browser and determine the target Uniform Resource Locator (URL) corresponding to the web page resource access request. When it is determined that the target URL exists as a redirect URL, the target web page resource corresponding to the web page resource access request is accessed based on the redirect URL. The first server associated with the redirect URL is different from the second server associated with the target URL.

[0063] Please see Figure 2 , Figure 2This is a flowchart illustrating a web resource access method provided in an embodiment of this application. The execution entity in this embodiment can be a terminal executing the web resource access method, a processor within the terminal executing the web resource access method, or a web resource access service within the terminal executing the web resource access method. For ease of description, the following uses the processor within the terminal as the execution entity as an example to describe the specific execution process of the web resource access method.

[0064] like Figure 2 As shown, methods for accessing web page resources include:

[0065] S202: Obtain the web page resource access request from the target browser and determine the target Uniform Resource Locator corresponding to the web page resource access request.

[0066] Specifically, when a user uses the target browser, the browser generates a corresponding webpage resource access request based on the user's access actions for the target webpage resource. These user access actions include, but are not limited to, clicking the corresponding Uniform Resource Locator (URL) to load the target webpage resource, selecting the corresponding URL via voice control to load the target webpage resource, and selecting the corresponding URL via gesture control to load the target webpage resource.

[0067] After the target browser generates a corresponding web resource access request, before sending the request, the request is parsed to obtain the target Uniform Resource Locator (URL). Here, a Uniform Resource Locator (URL) is a concise representation of the location and access method of a resource obtainable from the internet. A URL is the address of a standard resource on the internet; every file on the internet has a unique URL, which contains information indicating the location of the corresponding file and how the browser should handle it (e.g., access).

[0068] It should be noted that the number of target Uniform Resource Locators corresponding to a web resource access request can be one or more, and there is no limit here.

[0069] S204: When it is determined that the target Uniform Resource Locator has a redirection Uniform Resource Locator, access the target web page resource corresponding to the web page resource access request based on the redirection Uniform Resource Locator;

[0070] In this case, the first server associated with the redirected Uniform Resource Locator is different from the second server associated with the target Uniform Resource Locator.

[0071] After determining the target Uniform Resource Locator (URL), a redirection URL query can be performed on that URL to determine if a redirection URL exists. A redirection URL is a URL generated after redirecting the target URL. Here, redirection is a technique that changes the URL corresponding to a requested resource in the browser during web browsing.

[0072] In the embodiments provided in this application, when a target browser issues a webpage resource access request, due to specific reasons (such as resource updates), the requested path can be modified from the original target Uniform Resource Locator (URL) to a new redirected URL using the mechanism provided in this embodiment. The resource path corresponding to the new redirected URL is on an existing first server, which can be a web server. Therefore, the target browser can access the target webpage resource corresponding to the webpage resource access request using the redirected URL, thereby obtaining the target webpage resource. It should be noted that the target webpage resource corresponding to the redirected URL on the first server can be updated in real time or periodically. The target webpage resource corresponding to the redirected URL is generally an updated version of the webpage resource corresponding to the original URL.

[0073] At the same time, the redirected Uniform Resource Locator is associated with the first server, that is, the first server is the server specified by the redirected Uniform Resource Locator for access. Accessing the target web page resource based on the redirected Uniform Resource Locator requires accessing the first server; the target Uniform Resource Locator is associated with the second server, that is, the second server is the server specified by the target Uniform Resource Locator for access.

[0074] Because the first server associated with the redirected Uniform Resource Locator (URI) is different from the second server associated with the target URI, the target browser does not need to download and read the original target webpage resource before the replacement. Furthermore, the second server does not need to replace resource files; it can directly upload the replaced resource files to the first server and generate the redirected URI. It also avoids adding code logic to replace and modify attributes in the original target webpage resource; instead, the resource path corresponding to the target URI is replaced with the resource path corresponding to the redirected URI in the webpage resource access request. This effectively reduces the code complexity when accessing webpage resources and improves the access efficiency of the target browser.

[0075] This application provides a method for accessing web resources. By obtaining a web resource access request from a target browser, the method determines the target Uniform Resource Locator (URL) corresponding to the request. If a redirect URL exists for the target URL, the method accesses the target web resource corresponding to the request based on the redirect URL. Since the first server associated with the redirect URL is different from the second server associated with the target URL, and the second server can directly upload the replaced resource file to the first server to generate the redirect URL without replacing the resource file, the method avoids adding code logic to replace and modify the content and attributes of the original target web resource. Instead, it replaces the resource path corresponding to the target URL with the resource path corresponding to the redirect URL in the web resource access request. This effectively reduces the code complexity for accessing web resources, improves the access efficiency of the target browser, and solves the technical problem of needing to stop providing resource access services to users to update resources when the server needs to replace some resource files.

[0076] Please see Figure 3 , Figure 3 This is a schematic diagram illustrating a process for determining whether a target Uniform Resource Locator (URL) has a redirecting URL, as provided in an embodiment of this application. Figure 3 As shown, S204 determines that the target Uniform Resource Locator has a redirected Uniform Resource Locator, including:

[0077] S302: Query the web resource path server to see if the target Uniform Resource Locator has an associated resource path redirection policy.

[0078] The web resource path server pre-stores resource path redirection policies associated with each Uniform Resource Locator (URL), and updates these policies at predetermined intervals, such as by adding, deleting, or modifying them. Each resource path redirection policy includes an associated URL and a redirecting URL.

[0079] Therefore, after determining the target Uniform Resource Locator (URL), a corresponding query request can be generated based on the URL and sent to a Web Resource Path Server (WRPS) to check if there is an associated resource path redirection policy for the target URL. The WRPS then sends the query results to the terminal, which uses the results to determine if there is an associated resource path redirection policy for the target URL.

[0080] S304: When it is determined that there is an associated resource path redirection policy for the target Uniform Resource Locator, obtain the resource path redirection policy.

[0081] Specifically, when the terminal determines, based on the query results, that a resource path redirection policy is associated with the target Uniform Resource Locator (URL), the terminal retrieves the corresponding resource path redirection policy from the Web Resource Path Server. Alternatively, when the Web Resource Path Server sends the query results for the resource path redirection policy associated with the target URL to the terminal, it also sends the resource path redirection policy to the terminal, thus avoiding the terminal from subsequently initiating another request to retrieve the resource path redirection policy.

[0082] S306: Parse the resource path redirection strategy to obtain the redirection URI corresponding to the target URI, and determine whether there are associated redirection URIs for the target URI.

[0083] Specifically, after determining the resource path redirection strategy, data parsing is performed on the strategy to obtain the redirected Uniform Resource Locator (URL) corresponding to the target URL, thereby identifying any associated redirected URLs. Here, the redirected URL corresponding to the target URL is the URL obtained after redirecting the target URL.

[0084] In the embodiments provided in this application, the target Uniform Resource Locator (URL) is used to query the associated resource path redirection policy from the web resource path server. When the associated resource path redirection policy is found, the redirection URL corresponding to the target URL is determined based on the resource path redirection policy, thereby determining that the target URL has a redirection URL.

[0085] Please see Figure 4 , Figure 4 This is a schematic diagram illustrating a process for accessing target webpage resources, provided as an embodiment of this application. For example... Figure 4 As shown, in S204, accessing the target webpage resource corresponding to the webpage resource access request based on the redirection Uniform Resource Locator includes:

[0086] S402: Modify the resource path of the target Uniform Resource Locator corresponding to the web resource access request based on the redirected Uniform Resource Locator to update the web resource access request.

[0087] Once the redirected Uniform Resource Locator (URL) is determined, since the redirected URL is obtained by redirecting the target URL, the resource path in the web resource access request can be modified using the redirected URL. For example, the target URL in the web resource access request can be replaced with the redirected URL, thereby updating the web resource access request.

[0088] S404: Send a web page resource access request to the first server, so that the first server sends the target web page resource corresponding to the redirection Uniform Resource Locator to the terminal corresponding to the target browser.

[0089] In this process, because the target Uniform Resource Locator (URL) in the web resource access request is modified to a redirect URL, accessing the web resource based on the web resource access request will access the first server specified by the redirect URL. Therefore, the terminal sends a web resource access request to the first server, and after receiving the web resource access request, the first server sends the target web resource corresponding to the redirect URL to the target browser of the terminal.

[0090] S406: Receive the target web page resource corresponding to the redirected Uniform Resource Locator, and perform display processing on the target web page resource based on the target browser.

[0091] In this process, after receiving the target webpage resource corresponding to the redirected Uniform Resource Locator, the terminal can render the target webpage resource based on the target browser, thereby displaying the corresponding set of visual elements on the browser interface. Here, the rendered target webpage resource can include one or more visual elements, and the combination of one or more visual elements and the visual elements can form a set of visual elements.

[0092] Please see Figure 5 , Figure 5 This is a schematic diagram illustrating a process for displaying target webpage resources, provided as an embodiment of this application. For example... Figure 5 As shown, S406 performs display processing on the target webpage resources based on the target browser, including:

[0093] S502: Render the target webpage resources based on the target browser and determine the set of visual elements corresponding to the target webpage resources.

[0094] After determining the target webpage resource, the target browser is controlled to render the target webpage resource to obtain the corresponding set of visual elements. The set of visual elements includes one or more visual elements and the combination method between visual elements (such as positional relationship). The set of visual elements includes, but is not limited to, each image element in the visual image corresponding to the target webpage resource. The visual image is obtained by combining each image element according to a preset combination method. When the target webpage resource is a visual video, the target webpage resource can be understood as composed of multiple frames of visual images arranged in chronological order.

[0095] S504: Display the set of visual elements on the target browser.

[0096] In this process, after the target webpage resource is rendered, a set of visual elements corresponding to the target webpage resource is obtained. Then, the visual elements in the set of visual elements are combined according to the combination method between the visual elements. After the combination is completed, the set of visual elements is displayed, thereby realizing the interface display of the set of visual elements.

[0097] In the embodiments provided in this application, the resource path of the target URI corresponding to the web resource access request is modified based on the redirected URI, so as to update the web resource access request and enable the terminal to quickly access the target web resource corresponding to the redirected URI based on the updated web resource access request.

[0098] Please see Figure 6 , Figure 6 This is a schematic diagram illustrating a process for accessing web page resources, provided as an embodiment of this application. For example... Figure 6 As shown, the method includes:

[0099] S602: Determine the web page resource currently accessed by the target browser and obtain the Uniform Resource Locator (URL) corresponding to the web page resource.

[0100] Specifically, when the webpage resource currently accessed by the target browser is modified or replaced, the resource path redirection policy corresponding to the webpage resource in the first server will be updated in real time. Therefore, it is possible to determine the webpage resource currently accessed by the target browser and obtain the corresponding Uniform Resource Locator (URL). It should be understood that each webpage resource has its own unique URL.

[0101] S604: Query the web resource path server to see if the Uniform Resource Locator (URL) has an associated target resource path redirection policy.

[0102] After determining the Uniform Resource Locator (URL) corresponding to the web resource, the terminal sends a query request for the URL to the web resource path server. This query request checks whether there is an associated target resource path redirection policy for the URL. Upon receiving the query request, the web resource path server performs a search based on the URL to determine whether there is an associated target resource path redirection policy for the URL.

[0103] S606: When it is determined that there is an associated target resource path redirection policy for a Uniform Resource Locator, obtain the target resource path redirection policy.

[0104] Specifically, when the web resource path server retrieves the target resource path redirection policy corresponding to the Uniform Resource Locator, it determines that there is an associated target resource path redirection policy for the Uniform Resource Locator. At this time, the target resource path redirection policy includes the Uniform Resource Locator and the reference redirected Uniform Resource Locator obtained after redirecting the Uniform Resource Locator.

[0105] Subsequently, the terminal retrieves the target resource path redirection policy corresponding to the Uniform Resource Locator (URL) from the Web Resource Path Server. Alternatively, when the Web Resource Path Server sends the query results for the resource path redirection policies associated with the target URL to the terminal, it can send the target resource path redirection policy to the terminal, avoiding the terminal from subsequently initiating another request to retrieve the target resource path redirection policy.

[0106] S608: Parse the target resource path redirection strategy to obtain the reference redirection URI corresponding to the URI, and replace the web page resource based on the reference web page resource corresponding to the reference redirection URI.

[0107] After determining the target resource path redirection strategy, the strategy is parsed to obtain the reference redirected Uniform Resource Locator (URL) corresponding to the Uniform Resource Locator (URL). Here, the reference redirected URL is the URL obtained after redirecting the original URL. The reference redirected URL is associated with the first server, and the original URL is associated with the second server.

[0108] The reference web page resource corresponding to the reference redirection Uniform Resource Locator is obtained from the first server, and the currently accessed web page resource is replaced on the terminal side. This allows the web page resource to be updated quickly on the terminal side after it is updated or modified, thereby avoiding the technical problem that the server needs to stop providing resource access services to users in order to update the resources when some resource files need to be replaced.

[0109] In the embodiments provided in this application, when the web page resource currently accessed by the target browser is modified or replaced, the resource path redirection policy corresponding to the web page resource in the first server will be updated in real time. This allows the terminal to promptly determine the target resource path redirection policy corresponding to the currently accessed web page resource, and then obtain the reference web page resource corresponding to the reference redirection Uniform Resource Locator from the first server. The terminal then performs replacement processing on the currently accessed web page resource, enabling the web page resource to be updated quickly on the terminal after it is updated or modified. This avoids the technical problem that the server needs to stop providing resource access services to users to update resources when it needs to replace some resource files.

[0110] Please see Figure 7 , Figure 7 This is a schematic diagram illustrating another process for accessing web resources provided in an embodiment of this application. For example... Figure 7 As shown, the method includes:

[0111] S702: Determine the target webpage currently being accessed by the target browser and obtain the Uniform Resource Locator (URL) for each element on the target webpage.

[0112] When a target browser accesses a target webpage, it displays the various webpage elements. During this process, the browser obtains the Uniform Resource Locator (URL) for each element, retrieves the corresponding webpage element resource from a second server based on the URL, and then renders the resource for display on the target webpage. Therefore, it is possible to obtain the URLs for each webpage element on the target webpage. Webpage elements on the target webpage include, but are not limited to, images, videos, buttons, navigation elements, audio elements, advertising elements, and background elements.

[0113] S704: Query the web resource path server to see if the element's Uniform Resource Locator (URL) has an associated element resource path redirection strategy.

[0114] After determining the element's Uniform Resource Locator (URI), the terminal sends a query request to the Web Resource Path Server (WRBP). This query request checks whether the URI has an associated element resource path redirection policy. Upon receiving the query request, the WRBP performs a search based on the URI to determine if an associated element resource path redirection policy exists.

[0115] S706: When it is determined that there is an associated element resource path redirection strategy for the element's Uniform Resource Locator, obtain the element resource path redirection strategy.

[0116] Specifically, when the web page resource path server retrieves the element resource path redirection policy corresponding to the element Uniform Resource Locator, it determines that there is an associated element resource path redirection policy for the element Uniform Resource Locator. At this time, the element resource path redirection policy includes the element Uniform Resource Locator and the element redirection Uniform Resource Locator obtained after redirecting the element Uniform Resource Locator.

[0117] Subsequently, the terminal retrieves the target resource path redirection policy corresponding to the element's Uniform Resource Locator (URI) from the Web Resource Path Server. Alternatively, when the Web Resource Path Server sends the query results corresponding to the element resource path redirection policies associated with the element's URI to the terminal, it can send the element resource path redirection policies to the terminal, avoiding the terminal from subsequently initiating another request to retrieve the element resource path redirection policies.

[0118] S708: Parse the element resource path redirection strategy to obtain the element redirection URI corresponding to the element URI, and replace the web page element based on the target web page element corresponding to the element redirection URI.

[0119] After determining the element resource path redirection strategy, the strategy is parsed to obtain the element redirection URR for the element's URR. Here, the element redirection URR is the URR obtained after redirecting the element's URR. The element redirection URR is associated with the first server, and the element URR is associated with the second server.

[0120] The system retrieves the reference webpage resource corresponding to the element redirection Uniform Resource Locator from the first server, and replaces the corresponding webpage element in the currently accessed target webpage on the terminal side. This allows the webpage element in the target webpage to be updated quickly on the terminal side after the webpage element is updated or modified. This avoids the technical problem of having to stop providing resource access services to users to update resources when the server needs to replace some resource files.

[0121] In the embodiments provided in this application, when web page elements in the target web page currently accessed by the target browser are modified or replaced, the element resource path redirection policy corresponding to the web page element in the first server will be updated in real time. This allows the terminal to promptly determine the element resource path redirection policy corresponding to the web page element in the currently accessed target web page, and then obtain the target web page element corresponding to the element redirection Uniform Resource Locator from the first server. The terminal then performs replacement processing on the currently accessed web page element, enabling the web page element to be quickly updated on the terminal after the target web page element is updated or modified. This avoids the technical problem that the server needs to stop providing resource access services to users to update resources when some resource files need to be replaced.

[0122] Please see Figure 8 , Figure 8 This is a schematic diagram illustrating another method for accessing web resources provided in an embodiment of this application. For example... Figure 8 As shown, the method includes:

[0123] S802: Obtain the historical web page resource browsing information of the target browser corresponding to the user, determine the web page resource browsing frequency information based on the historical web page resource browsing information, and determine personalized web page resources from the historical web page resource browsing information based on the web page resource browsing frequency information.

[0124] The historical webpage browsing information records the webpage resources accessed by the user in the past and the time of access. After determining the historical webpage browsing information, the browsing frequency information of the corresponding webpage resources within a preset time period is determined. That is, frequency statistics are performed on the historical webpage browsing information within the preset time period to obtain the browsing frequency of each webpage resource, and thus obtain the webpage resource browsing frequency information. The preset time period can be set according to specific needs, such as the past three days, the past week, the past month, etc.

[0125] After determining the browsing frequency information of web resources, a preset frequency threshold is obtained. Web resources with a browsing frequency greater than or equal to the preset frequency threshold are regarded as personalized web resources. Personalized web resources can be understood as resources that users access frequently, that is, resources that users tend to access.

[0126] S804: When it is determined that the personalized Uniform Resource Locator corresponding to the personalized web page resource has a corresponding personalized redirection Uniform Resource Locator, the personalized redirection Uniform Resource Locator and the personalized Uniform Resource Locator are associated to obtain association information, and the association information is stored in local storage.

[0127] Among them, the personalized unified resource locator corresponding to the personalized web page resource is obtained. When the personalized web page resource is modified or replaced, the personalized resource path redirection strategy corresponding to the personalized web page resource in the first server will be updated in real time.

[0128] After determining the personalized Uniform Resource Locator (URI) corresponding to the personalized web page resource, the terminal sends a query request to the web resource path server for the URI. This query request is used to check whether there is an associated personalized resource path redirection policy for the URI. Upon receiving the query request, the web resource path server performs a search based on the URI to determine whether there is an associated personalized resource path redirection policy for the URI.

[0129] When the web resource path server retrieves the personalized resource path redirection policy corresponding to the personalized uniform resource locator, it determines that there is an associated personalized resource path redirection policy for the personalized uniform resource locator. At this time, the personalized resource path redirection policy includes the personalized uniform resource locator and the personalized redirected uniform resource locator obtained after redirecting the personalized uniform resource locator.

[0130] Subsequently, the terminal retrieves the personalized resource path redirection policy corresponding to the personalized Uniform Resource Locator (URL) from the web resource path server. Alternatively, when the web resource path server sends the query results corresponding to the personalized resource path redirection policy associated with the URL to the terminal, it can send the personalized resource path redirection policy to the terminal, avoiding the terminal from subsequently initiating another request to retrieve the personalized resource path redirection policy. The personalized redirection URL is associated with the first server, and the personalized URL is associated with the second server.

[0131] After determining the personalized redirection URI and the personalized URI, the personalized redirection URI and the personalized URI are associated to obtain association information. The association information is stored in local storage so that when a request is made for the personalized URI in a subsequent request, the personalized URI can be directly replaced with the personalized redirection URI locally, thereby improving the efficiency of web resource access.

[0132] S806: In response to the target browser's access request for personalized web page resources, retrieve the associated information corresponding to the access request from the local storage, determine the personalized redirection Uniform Resource Locator based on the associated information, and access the personalized web page resources based on the personalized redirection Uniform Resource Locator.

[0133] The access request for personalized web page resources includes a personalized Uniform Resource Locator (URI). Therefore, the access request for personalized web page resources can be determined based on the URI. The access request is parsed to obtain the URI. Based on the URI, its corresponding association information is retrieved from local storage. Then, a personalized redirection URI is determined from the association information. This personalized redirection URI is used to replace the URI in the access request to access the personalized web page resource.

[0134] In the embodiments provided in this application, personalized web resources are determined based on the user's web resource browsing habits. Then, personalized redirection Uniform Resource Locators and personalized Uniform Resource Locators corresponding to the personalized web resources are determined. The personalized redirection Uniform Resource Locators and personalized Uniform Resource Locators are associated to obtain association information. Then, the association information is stored in local storage so that when a request is made for a personalized Uniform Resource Locator in the future, the personalized Uniform Resource Locator can be directly replaced with the personalized redirection Uniform Resource Locator locally, thereby improving the efficiency of web resource access.

[0135] Please see Figure 9 , Figure 9 An exemplary system architecture diagram of another web resource access method provided in this application embodiment. For example... Figure 9 As shown in the diagram, the system architecture includes a first server, a second server, a terminal, and a web resource path server. The second server contains a business application system. The first server stores updated versions of the web resources stored on the second server. The first server can be updated in real time or periodically. The target browser in the terminal includes a Net module and a rendering module. The terminal interacts with the first server, the second server, the terminal itself, and the web resource path server based on the Net module. The terminal is used to render and display the target web resources based on the rendering module. The web resource path server pre-stores resource path redirection strategies, and these strategies are updated in real time. For example, resource path redirection strategies can be "Resource path URL1 → New resource path URL1", "Resource path URL2 → New resource path URL2", "Resource path URL3 → New resource path URL3", etc.

[0136] After generating a web resource access request, the terminal determines the target Uniform Resource Locator (URL) corresponding to the request. If a redirect URL exists in the web resource path server, the terminal accesses the target web resource corresponding to the request from the first server based on the redirect URL. If no redirect URL exists in the web resource path server, the terminal accesses the target web resource corresponding to the request from the second server based on the target URL.

[0137] Please see Figure 10 , Figure 10 This is a schematic diagram of a web resource access device provided in an embodiment of this application. Figure 10 As shown, the web resource access device 1000 includes:

[0138] The acquisition module 1010 is adapted to acquire the web page resource access request of the target browser and determine the target Uniform Resource Locator corresponding to the web page resource access request;

[0139] Access module 1020 is adapted to access the target web page resource corresponding to the web page resource access request based on the redirected URI when it is determined that the target URI exists.

[0140] In this case, the first server associated with the redirected Uniform Resource Locator is different from the second server associated with the target Uniform Resource Locator.

[0141] Optionally, the access module 1020 includes:

[0142] The query unit is suitable for querying the web resource path server to determine whether the target Uniform Resource Locator (URL) has an associated resource path redirection strategy.

[0143] The determining unit is suitable for obtaining the resource path redirection strategy when it is determined that there is an associated resource path redirection strategy for the target Uniform Resource Locator;

[0144] The parsing unit is suitable for parsing and processing resource path redirection strategies to obtain the redirection URI corresponding to the target URI and to determine whether the target URI has associated redirection URIs.

[0145] Optionally, the access module 1020 includes:

[0146] The resource path modification unit is adapted to modify the resource path of the target Uniform Resource Locator corresponding to the web resource access request based on the redirected Uniform Resource Locator, so as to update the web resource access request.

[0147] The sending unit is adapted to send a web page resource access request to the first server, so that the first server sends the target web page resource corresponding to the redirected Uniform Resource Locator to the terminal corresponding to the target browser.

[0148] The receiving unit is adapted to receive the target web page resource corresponding to the redirected Uniform Resource Locator and to perform display processing on the target web page resource based on the target browser.

[0149] Optionally, the web resource access device 1000 further includes:

[0150] The determination module is suitable for determining the web page resources currently accessed by the target browser and obtaining the Uniform Resource Locator (URL) corresponding to the web page resources;

[0151] The determination module is suitable for querying the web resource path server to see if the Uniform Resource Locator (URL) has an associated target resource path redirection strategy;

[0152] The target resource path redirection strategy acquisition module is suitable for acquiring the target resource path redirection strategy when it is determined that there is an associated target resource path redirection strategy for the Uniform Resource Locator.

[0153] The parsing module is suitable for parsing and processing the target resource path redirection strategy, obtaining the reference redirection URI corresponding to the URI, and replacing the web page resource based on the reference web page resource corresponding to the reference redirection URI.

[0154] Optionally, the web resource access device 1000 further includes:

[0155] The element Uniform Resource Locator (URL) determination module is suitable for determining the target webpage currently accessed by the target browser and obtaining the element Uniform Resource Locators (URLs) corresponding to each webpage element in the target webpage.

[0156] The element resource path redirection strategy determination module is suitable for querying the web resource path server to see if the element's Uniform Resource Locator (URL) has an associated element resource path redirection strategy.

[0157] The element resource path redirection strategy determination module is suitable for obtaining the element resource path redirection strategy when it is determined that there is an associated element resource path redirection strategy for the element Uniform Resource Locator.

[0158] The replacement module is suitable for parsing and processing element resource path redirection strategies, obtaining the element redirection URI corresponding to the element URI, and replacing the web page elements based on the target web page element corresponding to the element redirection URI.

[0159] Optionally, the web resource access device 1000 further includes:

[0160] The personalized web page resource determination module is suitable for obtaining the historical web page resource browsing information of the target browser corresponding to the user, determining the web page resource browsing frequency information based on the historical web page resource browsing information, and determining personalized web page resources from the historical web page resource browsing information based on the web page resource browsing frequency information.

[0161] The storage module is adapted to associate the personalized redirection URI with the personalized URI when it is determined that there is a corresponding personalized redirection URI, and to store the association information in the local storage.

[0162] The response module is adapted to respond to the target browser's access request for personalized web page resources, retrieve the associated information corresponding to the access request from the local storage, determine the personalized redirection Uniform Resource Locator based on the associated information, and access the personalized web page resources based on the personalized redirection Uniform Resource Locator.

[0163] Optionally, the receiving unit includes:

[0164] The rendering unit is suitable for rendering target web page resources based on the target browser and determining the set of visual elements corresponding to the target web page resources.

[0165] The display unit is suitable for displaying a set of visual elements on the target browser interface.

[0166] Please see Figure 11 , Figure 11 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application. Figure 11 As shown, terminal 1100 may include: at least one processor 1101, at least one network interface 1104, user interface 1103, memory 1105, and at least one communication bus 1102.

[0167] The communication bus 1102 is used to realize the connection and communication between these components.

[0168] The user interface 1103 may include a display screen and a camera. Optionally, the user interface 1103 may also include a standard wired interface and a wireless interface.

[0169] The network interface 1104 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).

[0170] The processor 1101 may include one or more processing cores. The processor 1101 connects to various parts within the terminal 1100 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1105, and by calling data stored in the memory 1105. Optionally, the processor 1101 may be implemented using at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1101 may integrate one or more of the following: CPU (Central Processing Unit), GPU (Graphics Processing Unit), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 1101.

[0171] The memory 1105 may include RAM (Random Access Memory) or ROM (Read-Only Memory). Optionally, the memory 1105 may include a non-transitory computer-readable storage medium. The memory 1105 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 1105 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 1105 may also be at least one storage device located remotely from the aforementioned processor 1101. Figure 11 As shown, the memory 1105, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a web resource access program.

[0172] exist Figure 11In the terminal 1100 shown, the user interface 1103 is mainly used to provide an input interface for the user and to obtain the user's input data; while the processor 1101 can be used to call the web resource access program stored in the memory 1105 and specifically perform the following operations:

[0173] Obtain the web page resource access request from the target browser and determine the target Uniform Resource Locator corresponding to the web page resource access request;

[0174] When it is determined that the target Uniform Resource Locator (URL) has a redirection URL, the target web page resource corresponding to the web page resource access request is accessed based on the redirection URL.

[0175] In this case, the first server associated with the redirected Uniform Resource Locator is different from the second server associated with the target Uniform Resource Locator.

[0176] Optionally, when processor 1101 determines that a redirected Uniform Resource Locator exists for the target Uniform Resource Locator, it specifically executes the following:

[0177] Query the web resource path server to see if the target Uniform Resource Locator (URL) has an associated resource path redirection policy;

[0178] When it is determined that there is an associated resource path redirection policy for the target Uniform Resource Locator, obtain the resource path redirection policy;

[0179] The resource path redirection strategy is parsed to obtain the redirection uniform resource locator corresponding to the target uniform resource locator, and it is determined that there are associated redirection uniform resource locators for the target uniform resource locator.

[0180] Optionally, when processor 1101 accesses the target webpage resource corresponding to the webpage resource access request based on the redirected Uniform Resource Locator, it specifically performs the following:

[0181] Based on the redirected Uniform Resource Locator, the resource path of the target Uniform Resource Locator corresponding to the web resource access request is modified to update the web resource access request;

[0182] Send a web page resource access request to the first server, so that the first server sends the target web page resource corresponding to the redirection Uniform Resource Locator to the terminal corresponding to the target browser;

[0183] It receives the target web page resource corresponding to the redirected Uniform Resource Locator and performs display processing on the target web page resource based on the target browser.

[0184] Alternatively, processor 1101 is also adapted to perform:

[0185] Determine the web page resource currently accessed by the target browser and obtain the Uniform Resource Locator (URL) corresponding to the web page resource;

[0186] Query the web resource path server to see if the Uniform Resource Locator (URL) has an associated target resource path redirection policy.

[0187] When it is determined that there is an associated target resource path redirection policy for a Uniform Resource Locator, obtain the target resource path redirection policy;

[0188] The target resource path redirection strategy is parsed to obtain the reference redirection ULR address corresponding to the ULR address. The web page resource is then replaced based on the reference web page resource corresponding to the reference redirection ULR address.

[0189] Alternatively, processor 1101 is also adapted to perform:

[0190] Determine the target webpage currently being accessed by the target browser, and obtain the Uniform Resource Locators (URLs) for each webpage element in the target webpage.

[0191] Query the web resource path server to see if the element's Uniform Resource Locator (URL) has an associated element resource path redirection policy;

[0192] When determining that an element's Uniform Resource Locator has an associated element resource path redirection policy, obtain the element resource path redirection policy;

[0193] The element resource path redirection strategy is parsed to obtain the element redirection uniform resource locator corresponding to the element uniform resource locator. The web page element is then replaced based on the target web page element corresponding to the element redirection uniform resource locator.

[0194] Alternatively, processor 1101 is also adapted to perform:

[0195] Obtain the historical web page resource browsing information of the target browser corresponding to the user, determine the web page resource browsing frequency information based on the historical web page resource browsing information, and determine personalized web page resources from the historical web page resource browsing information based on the web page resource browsing frequency information;

[0196] When it is determined that the personalized Uniform Resource Locator corresponding to the personalized web page resource has a corresponding personalized redirection Uniform Resource Locator, the personalized redirection Uniform Resource Locator and the personalized Uniform Resource Locator are associated to obtain the association information, and the association information is stored in the local storage.

[0197] In response to the target browser's access request for personalized web page resources, the system retrieves the associated information corresponding to the access request from the local storage, determines the personalized redirection Uniform Resource Locator based on the associated information, and accesses the personalized web page resources based on the personalized redirection Uniform Resource Locator.

[0198] Optionally, when processor 1101 performs display processing of target webpage resources based on the target browser, it specifically performs the following:

[0199] Based on the target browser, the target webpage resources are rendered to determine the set of visual elements corresponding to the target webpage resources;

[0200] The interface displays a set of visual elements based on the target browser.

[0201] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0202] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0203] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0204] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application embodiment, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0205] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the embodiments of this application.

[0206] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0207] The above is a description of a web resource access method, apparatus, terminal, and computer-readable storage medium provided in the embodiments of this application. For those skilled in the art, based on the ideas of the embodiments of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation on the embodiments of this application.

Claims

1. A method for accessing web page resources, wherein, The method includes: Obtain the web page resource access request of the target browser and determine the target Uniform Resource Locator corresponding to the web page resource access request; When it is determined that the target Uniform Resource Locator has a redirect Uniform Resource Locator, the target web page resource corresponding to the web page resource access request is accessed based on the redirect Uniform Resource Locator; The first server associated with the redirected Uniform Resource Locator is different from the second server associated with the target Uniform Resource Locator.

2. The method of claim 1, wherein, The step of determining that the target Uniform Resource Locator has a redirected Uniform Resource Locator includes: Query the web resource path server to see if the target Uniform Resource Locator (URL) has an associated resource path redirection policy; When it is determined that the target Uniform Resource Locator has an associated resource path redirection policy, the resource path redirection policy is obtained; The resource path redirection strategy is parsed to obtain the redirection uniform resource locator corresponding to the target uniform resource locator, and it is determined that the target uniform resource locator has an associated redirection uniform resource locator.

3. The method of claim 1, wherein, The step of accessing the target webpage resource corresponding to the webpage resource access request based on the redirected Uniform Resource Locator includes: Based on the redirected Uniform Resource Locator, the resource path of the target Uniform Resource Locator corresponding to the web resource access request is modified to update the web resource access request. Send the web page resource access request to the first server so that the first server sends the target web page resource corresponding to the redirected Uniform Resource Locator to the terminal corresponding to the target browser; Receive the target webpage resource corresponding to the redirected Uniform Resource Locator, and perform display processing on the target webpage resource based on the target browser.

4. The method of any one of claims 1 to 3, wherein, The method further includes: Determine the webpage resource currently accessed by the target browser and obtain the Uniform Resource Locator (URL) corresponding to the webpage resource; Query the web resource path server to see if the Uniform Resource Locator (URL) has an associated target resource path redirection policy. When it is determined that the Uniform Resource Locator has an associated target resource path redirection policy, the target resource path redirection policy is obtained. The target resource path redirection strategy is parsed to obtain the reference redirection uniform resource locator corresponding to the uniform resource locator, and the web page resource is replaced based on the reference web page resource corresponding to the reference redirection uniform resource locator.

5. The method according to any one of claims 1 to 3, wherein, The method further includes: Determine the target webpage currently accessed by the target browser, and obtain the Uniform Resource Locator (URL) for each webpage element in the target webpage. Query the web resource path server to see if the element's Uniform Resource Locator (URL) has an associated element resource path redirection policy; When it is determined that the element's Uniform Resource Locator has an associated element resource path redirection policy, the element resource path redirection policy is obtained; The element resource path redirection strategy is parsed to obtain the element redirection uniform resource locator corresponding to the element uniform resource locator, and the web page element is replaced based on the target web page element corresponding to the element redirection uniform resource locator.

6. The method according to any one of claims 1 to 3, wherein, The method further includes: Obtain the historical web page resource browsing information of the user corresponding to the target browser, determine the web page resource browsing frequency information based on the historical web page resource browsing information, and determine personalized web page resources from the historical web page resource browsing information based on the web page resource browsing frequency information. When it is determined that the personalized Uniform Resource Locator corresponding to the personalized web page resource has a corresponding personalized redirection Uniform Resource Locator, the personalized redirection Uniform Resource Locator and the personalized Uniform Resource Locator are associated to obtain association information, and the association information is stored in local storage. In response to a target browser's access request for the personalized web page resource, the system retrieves the associated information corresponding to the access request from the local storage, determines the personalized redirection Uniform Resource Locator (URL) based on the associated information, and accesses the personalized web page resource based on the personalized redirection URL.

7. The method of claim 3, wherein, The process of displaying the target webpage resource based on the target browser includes: Based on the target browser, the target webpage resource is rendered to determine the set of visual elements corresponding to the target webpage resource; The set of visual elements is displayed on the target browser.

8. A web resource access apparatus, wherein, The device includes: The acquisition module is adapted to acquire web page resource access requests from the target browser and determine the target Uniform Resource Locator corresponding to the web page resource access request. The access module is adapted to access the target web page resource corresponding to the web page resource access request based on the redirected URI when it is determined that the target URI exists. The first server associated with the redirected Uniform Resource Locator is different from the second server associated with the target Uniform Resource Locator.

9. A terminal, wherein, The terminal includes: Processor; and A memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the method according to any one of claims 1 to 7.

10. A computer readable storage medium, wherein, The computer-readable storage medium stores one or more programs that, when executed by a processor, implement the method of any one of claims 1 to 7.