Business request processing method and device, computer device, readable storage medium and program product

By probing and scheduling among CDN cache nodes, the problem of cross-provincial data transmission limitations was solved, achieving efficient utilization and quality improvement of CDN services.

CN119544776BActive Publication Date: 2026-01-06CHINA TELECOM CLOUD TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411717323.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2026-01-06
Estimated Expiration
2044-11-27

AI Technical Summary

Technical Problem

The cost of cross-provincial traffic settlement for CDN services across different provinces results in poor access quality, and existing technologies cannot effectively solve the problem of data transmission limitations across geographical regions.

Method used

By probing between cache nodes in different geographical regions, data transmission limitations can be identified in real time, and business requests can be promptly dispatched to cache nodes in other geographical regions, ensuring efficient utilization of network resources and high data transmission efficiency.

Benefits of technology

It improves the access quality of CDN services, reduces the impact of inter-provincial restrictions on service quality, and enhances data transmission efficiency and network resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119544776B_ABST
    Figure CN119544776B_ABST
Patent Text Reader

Abstract

The application relates to a service request processing method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: obtaining a response message for a probe data packet sent by a second cache node to a first cache node; the probe data packet is sent by the first cache node to the second cache node; the first cache node and the second cache node are located in different geographical regions; determining a data transmission state between the first cache node and the second cache node based on the response message; in the case that the data transmission state comprises a restriction state, screening out a target service request of a first preset proportion from a service request, and updating a target object for processing the target service request to a third cache node; the home of a user corresponding to the service request belongs to a geographical region where the first cache node is located; and an initial target object of the service request is the second cache node. The method can improve the access quality of CDN service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of edge cloud technology, and in particular to a business request processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Technology

[0002] A CDN (Content Delivery Network) is a distributed content delivery network built on a data network. Through clustering technology, CDNs can overcome the limitations of a single server in terms of bandwidth output and concurrent processing capabilities, thus gaining increasingly widespread application.

[0003] Currently, CDNs primarily rely on carrier data centers and bandwidth, deploying corresponding software configurations on servers within these data centers to provide services. CDN services are available to users nationwide. However, due to differences in the construction costs of backbone networks and other transmission links between different provinces, cross-provincial traffic typically requires settlement. To avoid additional cross-provincial settlement costs, inter-provincial restrictions are imposed on CDN services, resulting in currently poor access quality. Summary of the Invention

[0004] Therefore, it is necessary to provide a business request processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the access quality of CDN services in response to the above-mentioned technical problems.

[0005] Firstly, this application provides a business request processing method, including:

[0006] Obtain the response message sent by the second cache node to the first cache node in response to the probe data packet; the probe data packet is sent by the first cache node to the second cache node, and the first cache node and the second cache node are located in different geographical areas;

[0007] Based on the response message, the data transmission status between the first cache node and the second cache node is determined; the data transmission status includes a restricted status / unrestricted status;

[0008] When the data transmission state includes a restricted state, a first preset proportion of target business requests are selected from the business requests, and the target object for processing the target business requests is updated to the third cache node; the business request includes user information, the user's location belongs to the geographical area where the first cache node is located, the initial target object of the business request is the second cache node, and the third cache node is located in a different geographical area from the second cache node.

[0009] In one embodiment, after determining the data transmission status between the first cache node and the second cache node based on the response message, the process includes:

[0010] If the data transmission status includes an unrestricted status, the historical data transmission status between the first cache node and the second cache node is obtained; the historical data transmission status includes a restricted status and an unrestricted status.

[0011] If the historical data transmission status includes a restricted status, obtain the bandwidth usage percentage of the second cache node for the service request;

[0012] If the bandwidth usage ratio is greater than a first preset threshold, a second preset proportion of target service requests are selected from the service requests, and the target object for processing the target service request is updated to a third cache node.

[0013] In one embodiment, when the bandwidth usage ratio is greater than a first preset threshold, the access target of the first access request with a second preset ratio is switched from the second cache node to the third cache node, followed by:

[0014] If the bandwidth usage ratio is greater than the second preset threshold, a third preset ratio of target service requests is selected from the service requests, and the target object for processing the target service request is updated to the third cache node; the second preset threshold is greater than the first preset threshold, and the third preset ratio is greater than the second preset ratio.

[0015] In one embodiment, updating the target object that processes the target business request to a third cache node includes:

[0016] Obtain the cache hit rate of multiple third-party cache nodes for the business request;

[0017] The target object for processing the target business request is updated to the third cache node with a higher cache hit rate.

[0018] In one embodiment, the step of filtering out a first preset proportion of target business requests from the business requests includes:

[0019] Based on the user information included in multiple service requests, determine the user sensitivity level corresponding to each of the multiple service requests;

[0020] Select a first preset proportion of target business requests from the plurality of business requests, wherein the user sensitivity level corresponding to the target business requests is lower than the user sensitivity level corresponding to the non-target business requests.

[0021] In one embodiment, obtaining the response message sent by the second cache node to the first cache node in response to the probe data packet includes:

[0022] The monitoring node obtains the response message sent by the second cache node to the first cache node in response to the probe data packet; the first cache node is used to receive the response message and send the response message to the monitoring node.

[0023] Secondly, this application also provides a business request processing apparatus, comprising:

[0024] The response acquisition module is used to acquire the response message sent by the second cache node to the first cache node in response to the probe data packet; the probe data packet is sent by the first cache node to the second cache node, and the first cache node and the second cache node are located in different geographical areas;

[0025] The status determination module is used to determine the data transmission status between the first cache node and the second cache node based on the response message; the data transmission status includes a restricted status / unrestricted status;

[0026] The object update module is used to filter out a first preset proportion of target business requests from the business requests when the data transmission status includes a restricted status, and update the target object for processing the target business requests to a third cache node; the business request includes user information, the user's location belongs to the geographical area where the first cache node is located, the initial target object of the business request is the second cache node, and the third cache node is located in a different geographical area from the second cache node.

[0027] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described in any of the above-mentioned embodiments.

[0028] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any of the preceding claims.

[0029] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in any of the above claims.

[0030] The aforementioned business request processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product can identify restrictions on cross-geographical data transmission in real time by probing between cache nodes in different geographical areas. Furthermore, when data transmission restrictions are found between certain geographical areas, business requests are promptly dispatched to cache nodes in other geographical areas. This not only ensures efficient utilization of network resources but also improves data transmission efficiency and service quality, thus reducing the impact of inter-provincial restrictions on CDN service access quality. Attached Figure Description

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

[0032] Figure 1 This is an application environment diagram of a business request processing method in one embodiment;

[0033] Figure 2 This is a flowchart illustrating a business request processing method in one embodiment;

[0034] Figure 3 This is a schematic diagram of the data flow between server 106 and cache node in one embodiment;

[0035] Figure 4 This is a flowchart illustrating the business request processing method in another embodiment;

[0036] Figure 5 This is a flowchart illustrating the steps of updating the target object of a target business request to a third cache node in one embodiment.

[0037] Figure 6 This is a flowchart illustrating the steps of filtering out a first preset proportion of target business requests from business requests in one embodiment.

[0038] Figure 7 This is a flowchart illustrating step S204 in one embodiment;

[0039] Figure 8 This is a schematic diagram illustrating the data flow between the scheduling platform, monitoring node, and cache node in one embodiment.

[0040] Figure 9 This is a schematic diagram illustrating the data flow between the scheduling platform, monitoring node, and cache node in another embodiment;

[0041] Figure 10 This is a structural block diagram of a service request processing device in one embodiment;

[0042] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0043] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0044] The business request processing method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, the cache node is a key component of the CDN, whose main function is to store and distribute content. When a user requests access to a resource, the CDN first checks whether a copy of the resource is stored in its cache node. If a copy of the resource exists, the CDN will directly provide the resource from the cache node, thereby reducing the time and bandwidth required to retrieve content from the origin server. Terminal 102 can send a service request to the second cache node 1042. The home location of terminal 102 is located in a different geographical region (e.g., province) than the second cache node 1042. The home location of terminal 102 belongs to the geographical region where the first cache node 1041 is located. The first cache node 1041 can send probe packets to cache nodes in other geographical regions (e.g., the second cache node 1042), receive response messages returned in response to the probe packets, and upload the response messages to the server 106. Server 106 can determine the data transmission status between the first cache node 1041 and cache nodes in other geographical areas based on the received response data. If the data transmission status includes a restriction state, server 106 can schedule a first preset proportion of target business requests in the business requests to cache nodes in other geographical areas for processing. It is understood that each cache node can send probe data packets to cache nodes in other geographical areas. The data storage system can store the data that server 106 needs to process. The data storage system can be integrated on server 106 or placed in the cloud or on other network servers. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. Server 106 can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.

[0045] In one exemplary embodiment, such as Figure 2 As shown, a business request processing method is provided, which is applied to... Figure 1 Taking server 106 as an example, the explanation includes the following steps S202 to S206. Wherein:

[0046] Step S202: Obtain the response message sent by the second cache node to the first cache node in response to the probe data packet; the probe data packet is sent by the first cache node to the second cache node, and the first cache node and the second cache node are located in different geographical areas.

[0047] The first cache node can be any cache node in a cache cluster within its geographical region. Each cache cluster within a geographical region can serve users in that region and other geographical regions (e.g., the same province and neighboring provinces). For example, each cache cluster can deploy a probing service, which can probe the performance of cache nodes in the local and other geographical regions by probing domain names. Specifically, the probing service can include intra-provincial probing and inter-provincial probing. Inter-provincial probing can be implemented by the first cache node sending a ping (Packet Internet Groper) request to the second cache node based on an inter-provincial link.

[0048] Step S204: Based on the response message, determine the data transmission status between the first cache node and the second cache node; the data transmission status includes restricted status / unrestricted status.

[0049] Specifically, when the data transmission status between the first cache node and the second cache node is restricted, packet loss can be determined based on the response message. In one possible implementation, when packet loss occurs in the out-of-province probe but not in the intra-province probe, the data transmission status between the first cache node and the second cache node can be determined to be restricted; when there is no packet loss in the out-of-province probe but packet loss occurs in the intra-province probe, the data transmission status between the first cache node and the second cache node can be determined to be unrestricted; when packet loss occurs in both the out-of-province and intra-province probes, an internal anomaly can be determined within the first cache node. The restricted status can include, but is not limited to, the following types of restrictions: data transmission volume restrictions, bandwidth restrictions, etc.

[0050] Please refer to Figure 3 , Figure 3 This is a schematic diagram illustrating the data flow between server 106 and the cache node in one embodiment. The cache node may include an access component, a caching component, a response component, a data upload component, and a probe component. The access component, caching component, and response component are used for service processing, cached files, and response content, respectively. The data upload component is used to upload the cache node's own status data and data transmission status with other geographical areas to the server. The probe component is used to perform intra-provincial probes (e.g., ...). Figure 3 Detection of node a1 to node a2 in the middle) and detection outside the province (such as...) Figure 3 (Detection of node b by node a1).

[0051] Optionally, server 106 can also determine the data transmission status between the first cache node and the second cache node based on the response message sent by the first cache node to the second cache node in response to the probe data packet. The probe data packet is sent by the second cache node to the first cache node.

[0052] Step S206: When the data transmission status includes a restricted status, select a first preset proportion of target business requests from the business requests, and update the target object for processing the target business requests to the third cache node; the business request includes the user's user information, the user's location belongs to the geographical area where the first cache node is located, the initial target object of the business request is the second cache node, and the third cache node is located in a different geographical area from the second cache node.

[0053] For example, server 106 can periodically collect status information of each cache node (e.g., bandwidth usage, cache hit rate, network conditions, etc.) and data transmission status between each cache node. In response to a restricted data transmission status between the first and second cache nodes, server 106 schedules a first preset percentage (e.g., 20%) of target business requests from users in the geographical region where the first cache node is located to the third cache node for processing. The first preset percentage can be a bandwidth percentage or a request quantity percentage, etc. The determination of the third cache node can include: a non-restricted data transmission status between the first and third cache nodes and / or a low resource utilization rate of the third cache node for users in the geographical region where the first cache node is located.

[0054] In the above-mentioned business request processing method, by probing between cache nodes in different geographical regions, it is possible to identify the restrictions on cross-geographical data transmission in real time. Then, when it is found that there are data transmission restrictions between certain geographical regions, the business request is promptly scheduled to cache nodes in other geographical regions. This not only ensures the efficient use of network resources, but also improves the efficiency of data transmission and service quality, thus reducing the impact of inter-provincial restrictions on the access quality of CDN services.

[0055] In one exemplary embodiment, such as Figure 4 As shown, the above-mentioned business request processing method may further include:

[0056] Step S2071: If the data transmission status includes an unrestricted status, obtain the historical data transmission status between the first cache node and the second cache node; the historical data transmission status includes a restricted status / unrestricted status.

[0057] Step S2072: If the historical data transmission status includes a restricted status, obtain the bandwidth usage percentage of the second cache node for the business request.

[0058] For example, historical data transmission status can be a record of periods of restricted access (including the time the restricted access occurred, peak bandwidth data, etc.). Bandwidth usage percentage can be the ratio of bandwidth usage to the data center's rated bandwidth, and bandwidth usage can be the difference between the data center's rated bandwidth and bandwidth redundancy. It is understood that the bandwidth limits for users in different geographical regions may vary for the second cache node.

[0059] Step S2073: If the bandwidth usage ratio is greater than the first preset threshold, select the target business requests with the second preset ratio from the business requests, and update the target object for processing the target business requests to the third cache node.

[0060] For example, server 106 may, in response to the historical data transmission status between the first and second cache nodes including only an unrestricted state, continuously monitor the response messages sent by the second cache node to the first cache node for probe packets. Server 106 may, in response to the historical data transmission status between the first and second cache nodes including a restricted state, continuously monitor the bandwidth usage of service requests issued by the second cache node to users in the geographical region where the first cache node is located. If the bandwidth usage percentage of these service requests by the second cache node exceeds a first preset threshold, server 106 may schedule target service requests of a second preset proportion of these service requests to a third cache node for processing. For example, the first preset threshold may be 80%, and the second preset proportion may be 10%.

[0061] In this embodiment, by analyzing the historical performance of cache nodes and dynamically adjusting the target object for processing business requests in conjunction with real-time bandwidth usage, potential performance bottlenecks can be identified and adjusted in a timely manner to avoid cache node overload and ensure the reliability and response speed of CDN services.

[0062] In practical applications, the rate at which bandwidth usage from business requests increases may exceed the rate at which scheduling takes effect. For further information, please refer to [link / reference needed]. Figure 4 The above-mentioned business request processing method may also include:

[0063] Step S2074: When the bandwidth usage ratio is greater than the second preset threshold, select the target business requests with a third preset ratio from the business requests, and update the target object for processing the target business requests to the third cache node; the second preset threshold is greater than the first preset threshold, and the third preset ratio is greater than the second preset ratio.

[0064] For example, the second preset threshold could be 90%, and the third preset ratio could be 20%. This allows for the automatic increase in the proportion of business requests scheduled to the third cache node when bandwidth usage rises rapidly, further improving the reliability and response speed of the CDN service.

[0065] In one exemplary embodiment, such as Figure 5 As shown, the step of updating the target object for processing the target business request to the third cache node may include:

[0066] Step A1: Obtain the cache hit rate of multiple third-party cache nodes for business requests.

[0067] Step A2 updates the target object for processing the target business request to the third cache node with a higher cache hit rate.

[0068] For example, dispatching business requests to a new node without a cache might cause a surge in origin requests, leading to slower response times and impacting user experience. Therefore, it's possible to combine the cache hit rates of multiple third-party cache nodes for the user domains included in the business requests, and then centralize business requests for the same user domain to one or more third-party cache nodes with higher cache hit rates. Optionally, third-party cache nodes with higher cache hit rates can also be selected based on factors such as the volume of different types of business and bandwidth usage among the multiple third-party cache nodes.

[0069] In this embodiment, by scheduling business requests to cache nodes with high cache hit rates for processing, it is possible to reduce origin requests and further reduce the response latency of CDN services.

[0070] In one exemplary embodiment, such as Figure 6 As shown, the steps for filtering out a first preset proportion of target business requests from business requests may include:

[0071] Step B1: Determine the user sensitivity level corresponding to each of the multiple business requests based on the user information included in the multiple business requests.

[0072] Step B2: Select a first preset proportion of target business requests from multiple business requests, and the user sensitivity level corresponding to the target business requests is lower than the user sensitivity level corresponding to the non-target business requests.

[0073] Non-target service requests refer to service requests from users in the geographical region where the first cache node is located, excluding target service requests. User sensitivity levels can be determined based on user evaluations of quality metrics (including download speed, first packet data, etc.). For example, user sensitivity levels can include n levels, corresponding to values ​​from 1 to n. Specifically, by combining the user sensitivity levels of multiple service requests with their bandwidth usage, priority can be given to scheduling service requests with lower user sensitivity levels and higher bandwidth usage.

[0074] In this embodiment, by prioritizing the scheduling of service requests from users with lower sensitivity levels, it is possible to better utilize cache and bandwidth resources and reduce the request pressure on highly sensitive users.

[0075] In one exemplary embodiment, such as Figure 7 As shown, step S202 above may include:

[0076] Step S2021: Obtain the response message for the probe data packet sent by the second cache node to the first cache node from the monitoring node; the first cache node is used to receive the response message and send a response message to the monitoring node.

[0077] For example, a scheduling platform can be built within server 106. Please refer to [reference needed]. Figure 8 , Figure 8 This is a schematic diagram illustrating the data flow between a scheduling platform, monitoring nodes, and cache nodes in one embodiment. The scheduling platform may include a decision-making component and a scheduling component. The data sources for the decision-making component may include historical data transmission status, user sensitivity levels, bandwidth usage percentage uploaded by monitoring nodes, data transmission status, and cache hit rate. After making a decision, the decision-making component can control node service changes through the scheduling component, using cache nodes in other geographical areas (e.g., a third cache node) to serve users in that geographical area (e.g., the geographical area where the first cache node is located). It is understood that server 106 can be a server cluster consisting of multiple physical servers, and the monitoring node can also be implemented based on physical servers within the server cluster.

[0078] In one possible implementation, please refer to Figure 9 , Figure 9This is a schematic diagram illustrating the data flow between the scheduling platform, monitoring nodes, and cache nodes in another embodiment. If user A is located in province A and is currently using node b2 in province B for service, each node will report a probe response message to the monitoring node. If the monitoring node determines that an inter-provincial restriction exists between node b2 and province A, it will upload the relevant data to the scheduling platform. The scheduling platform will then determine, based on relevant input parameters, which node in which province should be switched to serve the user in province A. For example, if node d1 in province D is significantly closer to the historical inter-provincial restriction threshold, then node d1 will be switched to serve the user in province A.

[0079] In summary, the above-mentioned business request processing method can identify restrictions on cross-geographical data transmission in real time by probing between cache nodes in different geographical regions. Furthermore, when data transmission restrictions are found between certain geographical regions, business requests are promptly scheduled to cache nodes in other geographical regions. This not only ensures efficient utilization of network resources but also improves data transmission efficiency and service quality, thus reducing the impact of inter-provincial restrictions on CDN service access quality.

[0080] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0081] Based on the same inventive concept, this application also provides a business request processing apparatus for implementing the business request processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more business request processing apparatus embodiments provided below can be found in the limitations of the business request processing method described above, and will not be repeated here.

[0082] In one exemplary embodiment, such as Figure 10 As shown, a business request processing device 300 is provided, including: a response acquisition module 301, a status determination module 302, and an object update module 303, wherein:

[0083] The response acquisition module 301 is used to acquire the response message sent by the second cache node to the first cache node in response to the probe data packet; the probe data packet is sent by the first cache node to the second cache node, and the first cache node and the second cache node are located in different geographical areas.

[0084] The status determination module 302 is used to determine the data transmission status between the first cache node and the second cache node based on the response message; the data transmission status includes restricted status / unrestricted status.

[0085] The object update module 303 is used to filter out a first preset proportion of target business requests from the business requests when the data transmission status includes a restricted status, and update the target object of the target business request to the third cache node; the business request includes user information, the user's home location belongs to the geographical area where the first cache node is located, the initial target object of the business request is the second cache node, and the third cache node is located in a different geographical area from the second cache node.

[0086] In one embodiment, the object update module 303 is further configured to:

[0087] If the data transmission status includes an unrestricted status, obtain the historical data transmission status between the first cache node and the second cache node; the historical data transmission status includes restricted status / unrestricted status.

[0088] If the historical data transmission status includes a restricted status, obtain the bandwidth usage percentage of the second cache node for the business request;

[0089] If the bandwidth usage ratio exceeds the first preset threshold, select the target business requests from the business requests according to the second preset ratio, and update the target object for processing the target business requests to the third cache node.

[0090] In one embodiment, the object update module 303 is further configured to:

[0091] If the bandwidth usage ratio is greater than the second preset threshold, a third preset ratio of target business requests is selected from the business requests, and the target object for processing the target business requests is updated to the third cache node; the second preset threshold is greater than the first preset threshold, and the third preset ratio is greater than the second preset ratio.

[0092] In one embodiment, the object update module 303 is further configured to:

[0093] Obtain the cache hit rate of multiple third-party cache nodes for business requests;

[0094] Update the target object for processing the target business request to the third cache node with a higher cache hit rate.

[0095] In one embodiment, the object update module 303 is further configured to:

[0096] Based on the user information included in multiple business requests, determine the user sensitivity level corresponding to each of the multiple business requests;

[0097] Select a first preset proportion of target business requests from multiple business requests, and the user sensitivity level corresponding to the target business requests is lower than the user sensitivity level corresponding to the non-target business requests.

[0098] In one embodiment, the response acquisition module 301 is further configured to:

[0099] The monitoring node obtains the response message sent by the second cache node to the first cache node in response to the probe data packet; the first cache node is used to receive the response message and send a response message to the monitoring node.

[0100] Each module in the aforementioned service request processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can invoke and execute the operations corresponding to each module.

[0101] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 11 As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a business request processing method.

[0102] Those skilled in the art will understand that Figure 11The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0103] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0104] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above method embodiments.

[0105] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0106] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0107] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0108] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0109] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A service request processing method characterized by comprising: The method comprises: obtaining a response message sent by a second cache node to a first cache node for a probe data packet; the probe data packet is sent by the first cache node to the second cache node, and the first cache node and the second cache node are located in different geographical regions; determining a data transmission state between the first cache node and the second cache node based on the response message; the data transmission state comprises a limited state / non-limited state; in the case that the data transmission state comprises the limited state, screening out a first preset proportion of target service requests from the service requests, and updating a target object for processing the target service requests to a third cache node; the service request comprises user information of a user, a home of the user belongs to a geographical region where the first cache node is located, an initial target object of the service request is the second cache node, and the third cache node and the second cache node are located in different geographical regions; in the case that the data transmission state comprises the non-limited state, obtaining a historical data transmission state between the first cache node and the second cache node; the historical data transmission state comprises a limited state / non-limited state; in the case that the historical data transmission state comprises the limited state, obtaining a bandwidth usage proportion of the second cache node for the service request; in the case that the bandwidth usage proportion is greater than a first preset threshold, screening out a second preset proportion of target service requests from the service requests, and updating a target object for processing the target service requests to a third cache node.

2. The method of claim 1, wherein, in the case that the bandwidth usage proportion is greater than a first preset threshold, switching an access object of a second preset proportion of first access requests from the second cache node to a third cache node, and then comprising: in the case that the bandwidth usage proportion is greater than a second preset threshold, screening out a third preset proportion of target service requests from the service requests, and updating a target object for processing the target service requests to a third cache node; the second preset threshold is greater than the first preset threshold, and the third preset proportion is greater than the second preset proportion.

3. The method of claim 1, wherein, The updating of the target object for processing the target service requests to the third cache node comprises: obtaining cache hit rates of a plurality of third cache nodes for the service request; updating the target object for processing the target service requests to a third cache node with a higher cache hit rate.

4. The method of claim 1, wherein, The screening out of a first preset proportion of target service requests from the service requests comprises: determining user sensitive levels corresponding to a plurality of service requests respectively according to user information included in the plurality of service requests; screening out a first preset proportion of target service requests from the plurality of service requests, and the user sensitive level corresponding to the target service request is lower than the user sensitive level corresponding to a non-target service request.

5. The method of claim 1, wherein, The obtaining of the response message sent by the second cache node to the first cache node for the probe data packet comprises: obtaining, from the monitoring node, a response message sent by a second cache node to a first cache node in response to a probe data packet; the first cache node is configured to receive the response message and send the response message to the monitoring node.

6. A service request processing apparatus characterized by comprising: The apparatus comprises: a response obtaining module configured to obtain a response message sent by a second cache node to a first cache node in response to a probe data packet; the probe data packet is sent by the first cache node to the second cache node, and the first cache node and the second cache node are located in different geographical regions; a state determining module configured to determine a data transmission state between the first cache node and the second cache node based on the response message; the data transmission state comprises a restriction state / non-restriction state; an object updating module configured to, when the data transmission state comprises the restriction state, filter out a first preset proportion of target service requests from service requests, and update a target object for processing the target service requests to a third cache node; the service request comprises user information of a user, a home of the user belongs to a geographical region where the first cache node is located, an initial target object of the service request is the second cache node, and the third cache node and the second cache node are located in different geographical regions; the object updating module is further configured to, when the data transmission state comprises the non-restriction state, obtain a historical data transmission state between the first cache node and the second cache node; the historical data transmission state comprises the restriction state / non-restriction state; the object updating module is further configured to, when the historical data transmission state comprises the restriction state, obtain a bandwidth usage proportion of the second cache node for the service request; the object updating module is further configured to, when the bandwidth usage proportion is greater than a first preset threshold, filter out a second preset proportion of target service requests from the service requests, and update a target object for processing the target service requests to a third cache node. 7.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-6 when the computer program is executed by the processor. The processor executes the computer program to realize the steps of the method in any one of claims 1 to 5.

8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the method in any one of claims 1 to 5.

9. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the method in any one of claims 1 to 5.

Citation Information

Patent Citations

  • CDN node scheduling method and device, storage medium and electronic device

    CN110233861A