Resource request processing method, electronic device and computer readable storage medium

By analyzing the client's resource requests and judging the cache situation on the cloud server, and directly feedback the target resources from the cloud server, the slow response speed caused by insufficient CDN node coverage is solved, and the resource loading speed and security are improved.

CN118353959BActive Publication Date: 2024-11-12BEIJING YIHUI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410781365.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-11-12
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

In content distribution network (CDN), due to the limitations of node coverage, users in some areas respond slowly when accessing front-end resources, which affects bandwidth utilization and user experience.

Method used

By receiving the client's resource request on the cloud server, analyzing and determining whether the target resource information is cached. If cached, it will directly feedback from the cloud server to avoid re-acquisition and feedback from the device side, thereby improving the speed of the client's remote loading of the device side resources.

Benefits of technology

It improves the speed of the client remotely loading device resources, improves the security and communication efficiency of data resource loading, and reduces the probability of communication failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118353959B_ABST
    Figure CN118353959B_ABST
Patent Text Reader

Abstract

The present invention discloses a resource request processing method, an electronic device and a computer-readable storage medium, wherein the resource request processing method is applied to a cloud server, and includes: receiving a resource request from a client; parsing the resource request to obtain a parsing result; when the parsing result indicates that the cloud server has cached target resource information corresponding to the resource request, obtaining the target resource information from the cloud server according to the parsing result, and sending the obtained target resource information to the client; wherein the target resource information is sent to the cloud server by the device when receiving a resource request from the client. In the present invention, the cloud server can directly feed back the cached target resource information to the client without obtaining and feeding back resources through the device, thereby increasing the speed at which the client remotely loads device resources, and at the same time improving the security of data resource loading.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technology, and in particular to a resource request processing method, electronic equipment and computer-readable storage medium. Background Art

[0002] Content Delivery Network (CDN) is a distributed content distribution network built on a data network. For applications using CDN cache, CDN technology can achieve local access through global load balancing and improve bandwidth utilization, so it is currently widely favored. However, due to the limitation of node coverage, users in some areas still have slow response speed when accessing front-end resources. Summary of the invention

[0003] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the present invention proposes a resource request processing method, an electronic device and a computer-readable storage medium, which can improve the speed of a client remotely loading device-side resources.

[0004] In a first aspect, an embodiment of the present invention provides a resource request processing method, which is applied to a cloud service end, comprising:

[0005] Receive resource requests from clients;

[0006] Parsing the resource request to obtain a parsing result;

[0007] When the analysis result indicates that the cloud server has cached the target resource information corresponding to the resource request, the target resource information is obtained from the cloud server according to the analysis result, and the obtained target resource information is sent to the client;

[0008] The target resource information is sent by the device to the cloud service end when the device end receives the resource request from the client end.

[0009] Optionally, in one embodiment of the present invention, it further includes:

[0010] When the parsing result indicates that the cloud service end has not cached the target resource information corresponding to the resource request, obtaining the target resource information from the device end and caching the target resource information;

[0011] The cached target resource information is sent to the client.

[0012] Optionally, in an embodiment of the present invention, whether the cloud service end has cached the target resource information is determined based on the following steps:

[0013] Obtaining characteristic information in the resource request;

[0014] Compare the characteristic information with characteristic parameters carried by all resource information on the cloud service end to obtain a comparison result;

[0015] Determine whether the cloud service end has cached the target resource information according to the comparison result.

[0016] Optionally, in an embodiment of the present invention, determining whether the cloud server has cached the target resource information according to the comparison result includes:

[0017] When the comparison result indicates that there is at least one characteristic parameter carried by the resource information in the cloud server that matches the characteristic information, it is determined that the cloud server has the target resource information cached;

[0018] or,

[0019] When the comparison result indicates that no characteristic parameter carried by the resource information in the cloud server matches the characteristic information, it is determined that the cloud server does not cache the target resource information.

[0020] Optionally, in an embodiment of the present invention, the acquiring the target resource information from the cloud service end according to the parsing result includes:

[0021] Determining whether the target resource information is static resource information or dynamic resource information;

[0022] When it is determined that the target resource information is static resource information, the target resource information is obtained from the cloud service end according to the parsing result.

[0023] Optionally, in one embodiment of the present invention, when it is determined that the target resource information is dynamic resource information, the method further includes:

[0024] Determine the consistency between the account information carried in the resource request and the account information corresponding to the target resource information to obtain a determination result;

[0025] The target resource information is sent to the client according to the determination result.

[0026] Optionally, in an embodiment of the present invention, sending the target resource information to the client according to the judgment result includes:

[0027] When the judgment result indicates that the account information carried by the resource request is consistent with the account information corresponding to the target resource information, the target resource information is obtained from the cloud service end, and the target resource information is sent to the client;

[0028] or,

[0029] When the judgment result indicates that the account information carried in the resource request is inconsistent with the account information corresponding to the target resource information, the target resource information is obtained and cached from the device end, and the cached target resource information is sent to the client.

[0030] In a second aspect, an embodiment of the present invention provides a resource request processing method, which is applied to a device side, including:

[0031] When receiving a resource request from a client, target resource information corresponding to the resource request is sent to the client, and the resource request and the target resource information are sent to a cloud server, so that the cloud server caches the resource request and the target resource information.

[0032] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0033] at least one processor;

[0034] at least one memory for storing at least one program;

[0035] When at least one of the programs is executed by at least one of the processors, the resource request processing method according to the first aspect and the second aspect is implemented.

[0036] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a program executable by a processor, wherein the program executable by the processor is used to implement the resource request processing method as described in the first aspect and the second aspect when executed by the processor.

[0037] The resource request processing method, electronic device and computer-readable storage medium proposed in the present invention use the cloud server as a cache center and data interaction center. When the client sends a resource request to the device through the cloud server, the cloud server parses the resource request, and when it is determined based on the parsing result that the cloud server has cached target resource information corresponding to the resource request, the target resource information has been sent in advance to the cloud server by the device when receiving the resource request from the client. Therefore, the cloud server can directly feed back the cached target resource information to the client without obtaining and feeding back resources through the device, thereby increasing the speed at which the client remotely loads device resources and improving the security of data resource loading. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 is a schematic diagram of a network architecture for executing a resource request processing method provided by an embodiment of the present application;

[0039] Figure 2 is a flow chart of a resource request processing method provided by an embodiment of the present invention;

[0040] Figure 3 is a flow chart of a resource request processing method provided by another embodiment of the present invention;

[0041] Figure 4 yes Figure 2 Flowchart of step S3000 in FIG.

[0042] Figure 5 It is a flow chart of a resource request processing method provided by an embodiment of the present invention, in the case where the target resource information is determined to be dynamic resource information;

[0043] Figure 6 It is a schematic diagram of the execution flow of a resource request processing method provided by an embodiment of the present invention;

[0044] Figure 7 is a flow chart of a resource request processing method provided by another embodiment of the present invention;

[0045] Figure 8 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0047] It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.

[0048] The present invention provides a resource request processing method, an electronic device and a computer-readable storage medium, wherein the resource request processing method is applied to a cloud server, and includes: receiving a resource request from a client; parsing the resource request to obtain a parsing result; when the parsing result indicates that the cloud server has target resource information corresponding to the resource request cached, obtaining the target resource information from the cloud server according to the parsing result, and sending the obtained target resource information to the client; wherein the target resource information is sent to the cloud server by the device when receiving the resource request from the client. In the present invention, the cloud server is used as a cache center and a data interaction center, when the client sends a resource request to the device through the cloud server, the cloud server parses the resource request, and when it is determined based on the parsing result that the cloud server has target resource information corresponding to the resource request cached, the target resource information has been sent to the cloud server in advance by the device when receiving the resource request from the client, so the cloud server can directly feed back the cached target resource information to the client, without obtaining and feeding back resources through the device, thereby improving the speed of the client remotely loading the device resources, and at the same time improving the security of data resource loading.

[0049] The technical solution of the embodiment of the present invention can be applied to various communication systems, for example: wideband code division multiple access mobile communication system (WCDMA), evolved universal terrestrial radio access network (E-UTRAN) system, next generation radio access network (NG-RAN) system, long term evolution (LTE) system, worldwide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system, such as new generation radio access technology (NR) and future communication systems, such as 6G system.

[0050] The technical solution of the embodiment of the present invention can be applied to various communication technologies, such as microwave communication, optical wave communication, millimeter wave communication, etc. The embodiment of the present invention does not limit the specific technology and specific device form used.

[0051] Figure 1A schematic diagram of a network architecture for executing a resource request processing method provided in an embodiment of the present application.

[0052] like Figure 1 As shown, the network architecture includes but is not limited to: a client, a device and a cloud server. The client can directly establish a network connection with the device through the routing of the device, and the cloud server establishes connections with the client and the device respectively through the Internet.

[0053] In one embodiment, the client can be in various forms and composition structures. For example, it can be set in the form of an APP, which can be integrated into portable devices such as mobile phones and tablets, which is very convenient for users to use; or it can be set in the form of a communication module, which ensures that the client has a certain communication stability, etc. There is no restriction here.

[0054] In one embodiment, the device end may be referred to as an access terminal, a user equipment (UE), a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user device. For example, the device end may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a 5G network or a terminal device in a future 5G or higher network, etc., and this embodiment does not specifically limit this.

[0055] The network architecture and application scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will know that with the evolution of the network architecture and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0056] It can be understood by those skilled in the art that Figure 1 The network architecture shown in the figure does not constitute a limitation on the embodiments of the present application, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0057] based on Figure 1 The structure of the network architecture shown in FIG. 1 is used to propose various embodiments of the resource request processing method of the present application.

[0058] Figure 2Flow chart of a resource request processing method provided by an embodiment of the present invention. Figure 2 As shown, the resource request processing method can be applied to, but is not limited to, Figure 1 The cloud service end in the network architecture shown includes but is not limited to steps S1000 to S3000.

[0059] Step S1000: receiving a resource request from a client;

[0060] Step S2000: Parse the resource request to obtain a parsing result;

[0061] Step S3000: when the analysis result indicates that the cloud server has cached the target resource information corresponding to the resource request, the target resource information is obtained from the cloud server according to the analysis result, and the obtained target resource information is sent to the client;

[0062] The target resource information is sent by the device to the cloud service end when the device receives a resource request from the client.

[0063] In this step, the cloud server is used as a cache center and data interaction center. When the client sends a resource request to the device through the cloud server, the cloud server can first parse the resource request, and when it is determined based on the parsing result that the cloud server has the target resource information corresponding to the resource request cached, the target resource information has been sent to the cloud server in advance by the device when receiving the resource request from the client. Therefore, the cloud server can directly feed back the cached target resource information to the client without having to obtain and feed back resources through the device, thereby increasing the speed at which the client remotely loads device resources and improving the security of data resource loading. It can be seen that although the ultimate target of the client sending the resource request is the device, if the cloud server determines that its own cache has the corresponding For the target resource information of the resource request, the target resource information can be directly returned to the client, so that the device does not need to feedback the target resource information. The overall communication process is shortened, which is beneficial to improving the speed at which the client remotely loads device-side resources. At the same time, it also reduces the probability of communication failures or problems that may occur in the communication process, and improves the security of data resource loading. For example, in a specific application scenario, when the client sends a resource request to the device through the cloud server, the cloud server performs CDN cache on the resource request and the target resource information fed back by the device; when the client sends the same resource request to the device through the cloud server again, the cloud server directly feeds back the target resource information cached by the CDN to the client, thereby improving the speed at which the client remotely loads device-side resources.

[0064] In one embodiment, the specific parsing content of the resource request in step S2000 may include, but is not limited to: client account information, Uniform Resource Locator (URL) information carried in the resource request, etc., which is not limited here.

[0065] One embodiment of the present invention, as Figure 3 As shown, the resource request processing method may also include but is not limited to steps S4000 to S5000.

[0066] Step S4000: When the analysis result indicates that the cloud server has not cached the target resource information corresponding to the resource request, the target resource information is obtained from the device and cached;

[0067] Step S5000: Send cached target resource information to the client.

[0068] In this step, if the cloud server has not cached the target resource information corresponding to the resource request, it means that the device has not sent the target resource information to the cloud server in advance, which can also prove that the resource request has not been received by the device. Therefore, the cloud server can obtain and cache the target resource information from the device, and then send the cached target resource information to the client. This can also ensure that the client can stably receive the target resource information. It should be noted that when the cloud server caches the target resource information, it can also cache the client's account information corresponding to the resource information, the URL information carried by the resource request, etc., which is not restricted here.

[0069] In one embodiment of the present invention, whether the cloud service end has cached target resource information is determined based on the following steps.

[0070] Get feature information in resource requests;

[0071] Compare the characteristic information with the characteristic parameters carried by all resource information on the cloud server to obtain comparison results;

[0072] Determine whether the cloud server has cached target resource information based on the comparison result.

[0073] In this step, the characteristic information in the resource request is compared one by one with the characteristic parameters carried by all resource information in the cloud server to obtain a comparison result, so that it can be determined based on the comparison result whether there is resource information in the cloud server that matches the resource request, that is, it can be determined based on the comparison result whether the cloud server has cached the target resource information.

[0074] In one embodiment, there can be multiple types of feature information and feature parameters. In fact, as long as the two can be matched and easy to compare, corresponding settings can be made. For example, for those skilled in the art, the feature information can be set to URL information, and the feature parameters can be set to the URL corresponding to any resource information, etc. There is no limitation here.

[0075] In one embodiment, the above step of "determining whether the cloud server has cached the target resource information according to the comparison result" may include but is not limited to:

[0076] When the comparison result indicates that at least one characteristic parameter carried by the resource information in the cloud server matches the characteristic information, it is determined that the cloud server caches the target resource information;

[0077] or,

[0078] When the comparison result indicates that there is no characteristic parameter carried by any resource information in the cloud server that matches the characteristic information, it is determined that the cloud server does not cache the target resource information.

[0079] In this step, based on the specific representation of the comparison result, it is determined whether there is at least one characteristic parameter carried by the resource information in the cloud server that matches the characteristic information. If so, it is determined that the cloud server has cached the target resource information, and the target resource information can be directly fed back to the client. Otherwise, it is determined that the cloud server has not cached the target resource information, then it is necessary to obtain and cache the target resource information from the device and then send it to the client.

[0080] One embodiment of the present invention, as Figure 4 As shown, "obtaining target resource information from the cloud service end according to the parsing result" in step S3000 may include but is not limited to steps S3100 to S3200.

[0081] Step S3100: determining whether the target resource information is static resource information or dynamic resource information;

[0082] Step S3200: When it is determined that the target resource information is static resource information, the target resource information is obtained from the cloud server according to the analysis result.

[0083] In this step, it is determined whether the target resource information matches the cloud server by judging whether the target resource information is static resource information or dynamic resource information. When it is determined that the target resource information is static resource information, the target resource information is obtained from the cloud server according to the analysis result. In other words, static resource information is relatively stable and unchanging. If there is stable static resource information in the cloud server, it can be sent directly to the client as the corresponding target resource information.

[0084] In one embodiment, static resource information may include but is not limited to: wallpaper, interface structure, font information, etc., and dynamic resource information may include but is not limited to: the operating status of the device, the received dynamic information, etc., or technical personnel in this field may make corresponding settings according to the specific application scenario, which is not limited here.

[0085] One embodiment of the present invention, as Figure 5 As shown, when it is determined that the target resource information is dynamic resource information, the resource request processing method may also include but is not limited to steps S6000 to S7000.

[0086] Step S6000: judging the consistency between the account information carried in the resource request and the account information corresponding to the target resource information, and obtaining a judgment result;

[0087] Step S7000: Send target resource information to the client according to the judgment result.

[0088] In this step, a judgment result is obtained by performing a consistency judgment between the account information carried in the resource request and the account information corresponding to the target resource information. Based on the judgment result, it can be determined whether there is account information corresponding to the target resource information that matches the account information carried in the resource request in the cloud server, and then the target resource information can be sent to the client based on the judgment result.

[0089] In one embodiment, step S7000 may include but is not limited to the following steps:

[0090] When the judgment result indicates that the account information carried in the resource request is consistent with the account information corresponding to the target resource information, the target resource information is obtained from the cloud server, and the target resource information is sent to the client;

[0091] or,

[0092] When the judgment result indicates that the account information carried in the resource request is inconsistent with the account information corresponding to the target resource information, the target resource information is obtained and cached from the device side, and the cached target resource information is sent to the client.

[0093] It can be seen that according to the specific representation of the judgment result, that is, whether the account information carried by the resource request is consistent with the account information corresponding to the target resource information in the cloud server, if they are consistent, it is determined that the target resource information cached by the cloud server meets the requirements, and the target resource information can be directly fed back to the client. Otherwise, it is determined that the target resource information cached by the cloud server does not meet the requirements, then it is necessary to obtain and cache the target resource information from the device side and then send it to the client.

[0094] In order to better illustrate the working principles of the above embodiments, a specific example is given below for description.

[0095] like Figure 6 As shown, Figure 6 The execution flow diagram of the resource request processing method provided for one embodiment of the present invention shows that when the client sends a resource request to the device through the cloud service, the cloud service will parse the resource request and further determine whether the target resource information corresponding to the resource request is cached in the cloud service. If not, the corresponding target resource information is obtained and cached from the device, and then the target resource information is sent to the client. If so, it is further determined whether it is static resource information. If so, it can be directly fed back to the client. If not, it is further determined whether the account information of the resource request is consistent with the account information corresponding to the resource information cached in the cloud service. If so, it can be directly fed back to the client. Otherwise, the corresponding target resource information is obtained and cached from the device, and then the target resource information is sent to the client.

[0096] Figure 7 FIG. 1 is a flow chart of a resource request processing method provided by another embodiment of the present invention. Figure 7 As shown, the resource request processing method can be applied to, but is not limited to, Figure 1 The device side in the network architecture shown includes but is not limited to step S8000.

[0097] Step S8000: When receiving a resource request from a client, target resource information corresponding to the resource request is sent to the client, and the resource request and target resource information are sent to the cloud server, so that the cloud server caches the resource request and target resource information.

[0098] In this step, the client and the device are directly connected to request resource information. While the device feeds back the target resource information to the client, it sends the resource request and the target resource information to the cloud server for cache backup. Then, when the client is indirectly connected to the device through the cloud server, the cloud server can directly feed back the cached target resource information to the client without having to obtain resources from the device, thereby increasing the speed at which the client loads device resources.

[0099] The resource request processing method provided in the embodiment of the present invention is consistent with the basic principle of the resource request processing method provided in the above embodiments. Therefore, the resource request processing method provided in the embodiment of the present invention also has similar embodiments and beneficial technical effects. Since the embodiments and beneficial technical effects of the resource request processing method have been described in detail above, the remaining embodiments and beneficial technical effects will not be repeated here.

[0100] Figure 8 FIG. 1 is a schematic diagram of the structure of an electronic device 1000 provided by an embodiment of the present invention. Figure 8As shown, the electronic device 1000 includes a memory 1100 and a processor 1200. The number of the memory 1100 and the processor 1200 may be one or more. Figure 8 In the embodiment, a memory 1100 and a processor 1200 are taken as an example; the memory 1100 and the processor 1200 in the device may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0101] The memory 1100 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the resource request processing method provided in any embodiment of the present invention. The processor 1200 implements the above-mentioned resource request processing method by running the software programs, instructions and modules stored in the memory 1100.

[0102] The memory 1100 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function. In addition, the memory 1100 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 1100 may further include a memory remotely arranged relative to the processor 1200, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0103] An embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the resource request processing method provided by any embodiment of the present invention.

[0104] An embodiment of the present invention further provides a computer program product, including a computer program or computer instructions, wherein the computer program or computer instructions are stored in a computer-readable storage medium, a processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device executes a resource request processing method as provided in any embodiment of the present invention.

[0105] The electronic devices and application scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Those skilled in the art will appreciate that with the evolution of electronic devices and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.

[0106] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0107] In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0108] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process or an execution thread, and a component may be located on a computer or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may communicate, for example, through local or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems through signals).

Claims

1. A resource request processing method, characterized in that: Applied to cloud servers, including: Receive resource requests from clients; Parsing the resource request to obtain a parsing result; When the analysis result indicates that the cloud server has cached the target resource information corresponding to the resource request, the target resource information is obtained from the cloud server according to the analysis result, and the obtained target resource information is sent to the client, wherein the target resource information is sent to the cloud server by the device when receiving the resource request from the client; or, when the analysis result indicates that the cloud server does not have cached the target resource information corresponding to the resource request, the target resource information is obtained from the device, cached, and the cached target resource information is sent to the client; When the analysis result indicates that the cloud server has cached the target resource information corresponding to the resource request, it is determined whether the target resource information is static resource information or dynamic resource information: When it is determined that the target resource information is static resource information, acquiring the target resource information from the cloud service end according to the parsing result; When it is determined that the target resource information is dynamic resource information, the consistency between the account information carried in the resource request and the account information corresponding to the target resource information is judged to obtain a judgment result, and the target resource information is sent to the client according to the judgment result.

2. The resource request processing method according to claim 1, characterized in that: Whether the cloud service end has cached the target resource information is determined based on the following steps: Obtaining characteristic information in the resource request; Compare the characteristic information with characteristic parameters carried by all resource information on the cloud service end to obtain a comparison result; Determine whether the cloud service end has cached the target resource information according to the comparison result.

3. The resource request processing method according to claim 2, characterized in that: The determining, according to the comparison result, whether the cloud server has cached the target resource information includes: When the comparison result indicates that there is at least one characteristic parameter carried by the resource information in the cloud server that matches the characteristic information, it is determined that the cloud server has the target resource information cached; or, When the comparison result indicates that no characteristic parameter carried by the resource information in the cloud server matches the characteristic information, it is determined that the cloud server does not cache the target resource information.

4. The resource request processing method according to claim 1, characterized in that: The sending the target resource information to the client according to the determination result includes: When the judgment result indicates that the account information carried by the resource request is consistent with the account information corresponding to the target resource information, the target resource information is obtained from the cloud service end, and the target resource information is sent to the client; or, When the judgment result indicates that the account information carried in the resource request is inconsistent with the account information corresponding to the target resource information, the target resource information is obtained and cached from the device end, and the cached target resource information is sent to the client.

5. An electronic device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the resource request processing method according to any one of claims 1 to 4 is implemented.

6. A computer-readable storage medium, characterized in that: A processor-executable program is stored therein, and when the processor-executable program is executed by the processor, it is used to implement the resource request processing method as described in any one of claims 1 to 4.