CN117459586A - Access request processing method and device, storage medium and electronic device - Google Patents

Access request processing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN117459586A
CN117459586A CN202311466699.6A CN202311466699A CN117459586A CN 117459586 A CN117459586 A CN 117459586A CN 202311466699 A CN202311466699 A CN 202311466699A CN 117459586 A CN117459586 A CN 117459586A
Authority
CN
China
Prior art keywords
target
value
target access
request
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311466699.6A
Other languages
Chinese (zh)
Inventor
江雪莹
吴险峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202311466699.6A priority Critical patent/CN117459586A/en
Publication of CN117459586A publication Critical patent/CN117459586A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a processing method and device of an access request, a storage medium and an electronic device, wherein the method comprises the following steps: when the gateway node receives the access request, determining whether to allow the access request to be sent to the storage system according to access parameters cached on the gateway node, wherein the access parameters represent the residual quantity of the access request allowed to be sent to the storage system by the gateway node in the current period and/or the residual flow allowed to be occupied by the access request sent to the storage system by the gateway node; transmitting, by the gateway node, an access request to the storage system when it is determined that the access request is allowed to be transmitted to the storage system; when the access request is not allowed to be sent to the storage system, the gateway node sends a configuration request to the access control node, and sends the access request to the storage system according to a configuration result returned by the access control node, wherein the access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, and the configuration request is used for requesting to increase the value of the access parameters.

Description

Access request processing method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of machine learning, and in particular, to a method and apparatus for processing an access request, a storage medium, and an electronic apparatus.
Background
Object storage is an unstructured data storage method that, unlike traditional file systems and block storage, does not require a file-interlayer substructure or block addresses of the file system. Object storage provides highly scalable storage capability, is capable of storing and managing massive amounts of data, and has high availability and persistence. It is commonly used for storing and managing multimedia files such as pictures, videos, audios, documents, etc., and application scenes such as big data analysis, backup, archiving, etc.
However, the implementation of the global frequency control flow control function based on the access request of the object storage needs a unified decision maker, the component is easy to become a bottleneck in a large-scale high concurrency scene, the service performance is affected, each service request needs to send a request to the decision maker, and a large amount of communication resources are occupied.
Therefore, the processing mode of the access request in the related art has the problem of higher occupancy rate of communication resources.
Disclosure of Invention
The embodiment of the application provides a processing method and device of an access request, a storage medium and an electronic device, which are used for at least solving the problem that the occupancy rate of communication resources is higher in a processing mode of the access request in the related technology.
According to an aspect of an embodiment of the present application, there is provided a method for processing an access request, including: determining whether to allow sending the target access request to a storage system according to target access parameters cached on a target gateway node under the condition that the target gateway node receives the target access request, wherein the target access request is used for accessing target data stored in the storage system, the target access parameters are used for representing the residual quantity of first type access requests allowed to be sent to the storage system by the target gateway node in a current period and/or the residual flow allowed to be occupied by the first type access requests allowed to be sent to the storage system by the target gateway node in the current period, and the first type access requests are used for requesting to access the data stored in the storage system, and the first type access requests comprise the target access requests; transmitting the target access request to the storage system through the target gateway node under the condition that the target access request is determined to be allowed to be transmitted to the storage system according to the target access parameter; and under the condition that the target access request is not allowed to be sent to the storage system according to the target access parameters, sending a first configuration request to a target access control node through the target gateway node, and sending the target access request to the storage system according to a first configuration result sent by the target access control node in response to the first configuration request, wherein the target access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, the first configuration request is used for requesting to increase the value of the target access parameters, and the group of gateway nodes comprises the target gateway node.
According to another aspect of the embodiments of the present application, there is also provided a processing apparatus for an access request, including: a first determining unit, configured to determine, when a target gateway node receives a target access request, whether to allow the target access request to be sent to a storage system according to a target access parameter cached on the target gateway node, where the target access request is used to access target data stored in the storage system, the target access parameter is used to indicate a remaining number of first type access requests allowed to be sent by the target gateway node to the storage system in a current period and/or a remaining traffic allowed to be occupied by the first type access requests allowed to be sent by the target gateway node to the storage system in the current period, and the first type access requests are used to request to access data stored in the storage system, where the first type access requests include the target access requests; a first sending unit, configured to send, when it is determined that the sending of the target access request to the storage system is allowed according to the target access parameter, the target access request to the storage system through the target gateway node; and the second sending unit is used for sending a first configuration request to a target access control node through the target gateway node under the condition that the target access request is not allowed to be sent to the storage system according to the target access parameter, and sending the target access request to the storage system according to a first configuration result sent by the target access control node in response to the first configuration request, wherein the target access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, the first configuration request is used for requesting to increase the value of the target access parameter, and the group of gateway nodes comprises the target gateway node.
According to yet another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the above-described access request processing method when run.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the above-mentioned processing method of the access request through the computer program.
In the embodiment of the application, in a manner of caching available access parameters on a gateway node, determining whether to allow sending of a target access request to a storage system according to the target access parameters cached on a target gateway node when the target gateway node receives the target access request, wherein the target access request is used for accessing target data stored in the storage system, the target access parameters are used for indicating the residual quantity of first type access requests allowed to be sent to the storage system by the target gateway node in a current period and/or the residual flow allowed to be occupied by the first type access requests sent to the storage system by the target gateway node in the current period, the first type access requests are used for requesting to access the data stored in the storage system, and the first type access requests comprise the target access requests; under the condition that the permission of sending the target access request to the storage system is determined according to the target access parameters, sending the target access request to the storage system through the target gateway node; under the condition that the target access request is not allowed to be sent to the storage system according to the target access parameters, a first configuration request is sent to the target access control node through the target gateway node, and the target access request is sent to the storage system according to a first configuration result sent by the target access control node in response to the first configuration request, wherein the target access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, the first configuration request is used for requesting to increase the value of the target access parameters, the group of gateway nodes comprises the target gateway node, and because the gateway node can determine whether to transmit the received access request based on the locally cached available access parameter values, the access request can be directly transmitted when the locally cached available access parameter values meet the condition of the transmission access request, the access request is not required to be acquired through the access control node, and the corresponding request is only required to be sent to the access control node to determine whether the access request can be transmitted when the locally cached available access parameter values do not meet the condition of the transmission access request any more, so that the number of times of the access control nodes is reduced, the occupation ratio of communication resources is relatively high, and the technical effect of occupation ratio of the communication resources is achieved is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of a method for processing an access request according to an embodiment of the present application;
FIG. 2 is a flow diagram of an alternative method of processing an access request according to an embodiment of the present application;
FIG. 3 is a flow diagram of another alternative method of processing an access request according to an embodiment of the present application;
FIG. 4 is a schematic diagram of yet another alternative method of processing an access request according to an embodiment of the present application;
FIG. 5 is a flow diagram of yet another alternative method of processing an access request according to an embodiment of the present application;
FIG. 6 is a flow diagram of yet another alternative method of processing an access request according to an embodiment of the present application;
FIG. 7 is a block diagram of an alternative access request processing device according to an embodiment of the present application;
fig. 8 is a block diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiment of the application, a processing method of an access request is provided, and the processing method can be applied to intelligent equipment. Alternatively, in the present embodiment, the above-described processing method of the access request may be applied to a hardware environment constituted by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be used to provide services (such as application services and the like) for a terminal or a client installed on the terminal, a database may be set on the server or independent of the server, for providing data storage services for the server 104, and cloud computing and/or edge computing services may be configured on the server or independent of the server, for providing data computing services for the server 104.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI, bluetooth. The terminal device 102 may not be limited to a smart device such as a PC, a mobile phone, a tablet computer, etc.
The method for processing the access request in the embodiment of the present application may be executed by the server 104, or may be executed by the server 104 and the terminal device 102 together. Taking the processing method of the access request performed by the server 104 in this embodiment as an example, fig. 2 is a schematic flow chart of an alternative processing method of the access request according to an embodiment of the present application, as shown in fig. 2, the flow of the method may include the following steps:
Step S202, under the condition that the target gateway node receives the target access request, determining whether to allow the target access request to be sent to the storage system according to target access parameters cached on the target gateway node, wherein the target access request is used for accessing target data stored in the storage system, the target access parameters are used for indicating the residual quantity of first type access requests allowed to be sent to the storage system by the target gateway node in the current period and/or residual traffic allowed to be occupied by the first type access requests sent to the storage system by the target gateway node in the current period, the first type access requests are used for requesting the data stored in the storage system to be accessed, and the first type access requests comprise the target access requests.
The processing method of the access request in the present embodiment can be applied to a scenario in which the access request of the access object storage system is limited. Here, limiting the access request may mean determining whether to immediately transmit the received access request based on a flow required to transmit the request or a frequency of transmitting the request, so as to prevent too many requests at the same time from simultaneously accessing the system, resulting in an excessive system load. By limiting the request traffic and/or the request frequency per unit time, the stability and reliability of the system can be protected.
With the development of the internet, the data volume is increased in an explosive manner, the unstructured data duty ratio is increased remarkably, the original block storage and file storage cannot meet the requirements, and the object storage is generated. Object storage is an unstructured data storage method that, unlike traditional file systems and block storage, does not require a file-interlayer substructure or block addresses of the file system. In order to meet the requirement of large-scale high concurrency, the current object storage guarantees the linear expansion of performance and capacity, and generally adopts a scheme of simultaneously using multiple gateways for external service, thereby bringing great difficulty to the realization of the whole frequency control and flow control function. The realization of the global frequency control flow control function based on object storage needs a unified decision maker, the component is easy to become a bottleneck under a large-scale high concurrency scene, the service performance is influenced, each service request needs to send a request to the decision maker, and a large amount of communication resources are occupied. The object storage gateway is dynamically changed and can be added or deleted according to the service requirement, or the gateway is withdrawn due to an abnormal scene, so that the flow control and frequency control function of the object storage is also required to be suitable for the dynamic change characteristic of the gateway.
It should be noted that, the frequency control in this embodiment is generally used to limit the frequency of the requests, so as to prevent the malicious requests, the garbage requests, or the unexpected massive requests from affecting the system. The frequency of requests may be limited by setting the number of requests allowed per unit time, and when the number of requests exceeds a set threshold, the system may reject the request or take other processing actions. Flow control is typically based on certain algorithms and policies to determine whether a request needs to be restricted, e.g., based on token bucket algorithms, leaky bucket algorithms, etc. When the request flow exceeds a set threshold, the system can reject a part of the requests or put the requests into a queue for queuing so as to ensure the normal operation of the system.
In order to solve at least some of the above problems, in this embodiment, the access request may be processed by both the gateway node and the access control node. All access requests to the storage system may first enter the gateway node, which transmits the access requests to the relevant data in the storage system. The access control node is mainly used for uniformly controlling all requests for accessing the storage system, namely, the access control node determines how much traffic or how much access requests are allowed to be transmitted by the gateway node in unit time. In addition, a certain number of access parameters can be cached in the gateway node in advance, and when the flow required by the access request received by the gateway node or the number of received requests in unit time meets the cached access parameters, the gateway node can directly transmit the access request without acquiring transmission permission from the access control node.
The storage system is used as an object storage, the access request is used as an object storage request, the access control node is used as a flow control frequency control node in a flow control frequency control cluster, for example, as shown in fig. 3, the gateway node is an entry into which all the object storage requests enter, the flow control frequency control cluster component consists of a plurality of flow control frequency control nodes, the object storage request firstly enters the gateway node, when the access parameters cached by the gateway node are insufficient for transmitting the object storage request, the interaction between the gateway node and the flow control frequency control cluster is realized through HTTP (Hyper Text Transfer Protocol ) communication, and the gateway node determines whether to directly transmit the object storage request or wait for the next period to reprocess the object storage request based on the interaction result.
In this embodiment, when the target gateway node receives the target access request, it may be determined whether to allow the target access request to be sent to the storage system according to the target access parameter cached on the target gateway node.
The target access request is used for accessing target data stored in the storage system. The target access parameter is used to represent the remaining number of access requests of the first type allowed to be sent by the target gateway node to the storage system in the current period and/or the remaining traffic allowed to be occupied by the target gateway node sending the access requests of the first type to the storage system in the current period. The first type of access request is for requesting access to data stored in the storage system, and the first type of access request includes a target access request.
Step S204, in the case that the permission of sending the target access request to the storage system is determined according to the target access parameter, the target access request is sent to the storage system through the target gateway node.
In this embodiment, when it is determined that the target access request can be transmitted to the storage system in the current period according to the target access parameter, the target gateway node may directly send the target access request to the storage system without communicating with the corresponding access control node.
Alternatively, the determination of permission to send the target access request to the storage system according to the target access parameter may be determined according to the flow size required for transmitting the target access request or the number of received requests including the target access request in the current period, that is, the flow size required for transmitting the target access request does not exceed the flow size corresponding to the target access parameter, or in the case that the number of received requests including the target access request in the current period does not exceed the number of requests corresponding to the target access parameter, it is determined that permission to send the target access request to the storage system is allowed.
Step S206, under the condition that the target access request is not allowed to be sent to the storage system according to the target access parameters, sending a first configuration request to the target access control node through the target gateway node, and sending the target access request to the storage system according to a first configuration result sent by the target access control node in response to the first configuration request, wherein the target access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, the first configuration request is used for requesting to increase the value of the target access parameters, and the group of gateway nodes comprises the target gateway node.
When it is determined that the target access request is not allowed to be sent to the storage system according to the target access parameter, the first configuration request can be sent to the target access control node through the target gateway node, and the target access request is determined to be transmitted or not transmitted temporarily based on a result fed back by the target access control node. Here, the target access control node may be an access control node in the access control cluster that controls the transmission of the access request by the target gateway node. The target access control node may manage multiple gateway nodes simultaneously. The access control cluster may be comprised of a plurality of access control nodes. The first configuration request may be used to request an increase in the value of the target access parameter.
For example, taking the value of the target access parameter as a quota value corresponding to the request flow, taking the target access control node as a flow control frequency control node as an example, for each acquired access request, the following information needs to be determined:
size, i.e., object Size;
byte_read, i.e. the transmitted traffic, has an initial value of 0;
nread_per_loop, i.e. the flow that can be fetched from the cache each time;
minimum_upper_flow, i.e. the lowest flow per fetch;
taked_bytes, i.e., the size of the traffic that has been fetched from the flow control cluster;
Cache, namely the available cache number in the existing local area;
expect, i.e., expect to acquire memory (i.e., the incoming parameter nread_per_loop);
the token, i.e. the actual removal of the memory number.
As shown in fig. 4, for each access request obtained, it is first determined whether the gateway node starts the flow control frequency control function, and the request is directly and normally processed without starting. If the flow control frequency control function is started, judging whether the request hits the flow control frequency control rule (the request can be constructed according to the user id and the bucket name bucket, and then whether the corresponding flow control rule exists in the comparison loading or not), and if the request does not hit, directly and normally processing the request; if hit (i.e. there is a rule), judging whether the control rule controller_map has a Controller instance corresponding to the rule, if yes, directly returning to the existing Controller instance. If the corresponding instance does not exist, a new Controller instance is constructed, the controller_map is updated, and the newly-built Controller instance is returned.
When the transmitted traffic is smaller than the traffic corresponding to the access request, determining that the access request is not transmitted, determining whether a desired memory (i.e. the traffic required for transmitting the access request) can be acquired from the local cache of the gateway node, if the desired memory is smaller than the usable quota value of the local cache, using the corresponding desired memory to transmit the access request to the object storage system, updating the usable quota value of the local cache of the gateway node by the bar, returning the actually taken memory value, and transmitting the traffic size acquired from the flow control frequency control cluster. If the expected memory is greater than or equal to the available quota value of the local cache, a request is sent to the flow control frequency control cluster, and whether the available quota value of the local cache can be updated and whether the access request can be transmitted in the current period are determined based on a result returned by a corresponding flow control frequency control node in the flow control frequency control cluster.
Through the steps S202 to S206, in the case that the target gateway node receives the target access request, determining whether to allow the target access request to be sent to the storage system according to the target access parameter cached on the target gateway node, where the target access request is used to access the target data stored in the storage system, the target access parameter is used to indicate the remaining number of the first type of access request allowed to be sent by the target gateway node to the storage system in the current period and/or the remaining traffic allowed to be occupied by the target gateway node to send the first type of access request to the storage system in the current period, and the first type of access request is used to request the data stored in the storage system to be accessed, where the first type of access request includes the target access request; under the condition that the permission of sending the target access request to the storage system is determined according to the target access parameters, sending the target access request to the storage system through the target gateway node; under the condition that the target access request is not allowed to be sent to the storage system according to the target access parameters, a first configuration request is sent to the target access control node through the target gateway node, and the target access request is sent to the storage system according to a first configuration result sent by the target access control node in response to the first configuration request, wherein the target access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, the first configuration request is used for requesting to increase the value of the target access parameters, and the group of gateway nodes comprises the target gateway node.
In one exemplary embodiment, determining whether to allow the target access request to be sent to the storage system based on the target access parameters cached at the target gateway node comprises:
s11, determining to allow the target access request to be sent to the storage system when the residual flow indicated by the target access parameter is greater than or equal to the target flow required to be occupied by the target access request, wherein the residual flow indicated by the target access parameter is updated to be less than the target flow; or,
s12, determining to allow sending the target access request to the storage system when the residual number represented by the target access parameter is greater than or equal to the target number of the first type of access request included in the target access request, wherein the residual number represented by the target access parameter is updated to be less than the target number; or,
s13, determining to allow sending the target access request to the storage system when the residual flow indicated by the target access parameter is greater than or equal to the target flow required to be occupied by sending the target access request and the residual quantity indicated by the target access parameter is greater than or equal to the target quantity of the first type of access request included in the target access request, wherein the residual flow indicated by the target access parameter is updated to subtract the target flow and the residual quantity indicated by the target access parameter is updated to subtract the target quantity.
In this embodiment, the target access parameter cached on the target gateway node may be a remaining flow value that is consumable for transmitting the access request, or may be the number of available access requests that remain in the current period, or may include both the remaining flow value that is consumable for transmitting the access request and the number of available access requests that remain in the current period.
When the target access parameter cached on the target gateway node is only a residual flow value which is consumable by the transmission access request, if the residual flow indicated by the target access parameter is greater than or equal to the target flow required to be occupied by sending the target access request, it can be determined that the target access request is allowed to be sent to the storage system. When the target access parameter cached at the target gateway node is only the number of transmittable access requests remaining in the current period, it may be determined to allow the target access request to be sent to the storage system if the remaining number indicated by the target access parameter is greater than or equal to the target number of access requests of the first type included in the target access request. And when the target access parameter cached on the target gateway node includes both a residual flow value which is consumable by transmitting the access request and a number of the access requests which can be transmitted and remain in the current period, it is required that the transmission of the target access request to the storage system is allowed only when the residual flow indicated by the target access parameter is greater than or equal to the target flow which is required to be occupied for transmitting the target access request and the residual number indicated by the target access parameter is greater than or equal to the target number of the first type of access requests included in the target access request.
It should be noted that, the value represented by the target access parameter in this embodiment may be updated in real time according to the flow or the number of transmitted access requests, that is, the remaining flow represented by the target access parameter is updated to subtract the target flow and/or the remaining number represented by the target access parameter is updated to subtract the target number.
According to the embodiment, when the value corresponding to the locally cached parameter of the gateway node is larger than the value required by transmitting the access request, the gateway node can transmit the access request to the storage system without interaction with the access control node, so that the occupancy rate of communication resources can be reduced, and meanwhile, the transmission efficiency of the access request is improved.
In one exemplary embodiment, according to a first configuration result sent by the target access control node in response to the first configuration request, sending a target access request to the storage system, including at least one of the following:
s21, under the condition that the first configuration result indicates that the total number of access parameters of a group of gateway nodes is allowed to be increased by the target access control node and is smaller than a preset threshold value or a preset requirement value, and the value of the target access parameters is not increased, sending a target access request to a storage system through the target gateway node in the next period of the current period, wherein the preset requirement value is larger than or equal to the difference value between the required target value and the target access parameter value, and the target value is the target flow required to be occupied by sending the target access request and/or the target number of the first type of access requests included in the target access request;
S22, under the condition that the first configuration result indicates that the total number of access parameters of a group of gateway nodes allowed to be added by the target access control node is larger than or equal to a preset requirement value and indicates that the value of the target access parameters is added, updating the value of the target access parameters cached on the target gateway node to be larger than or equal to the value of the target value, and sending a target access request to a storage system through the target gateway node in the current period.
In this embodiment, the target access control node may feed back the first configuration result to the target gateway node based on the first configuration request sent by the target gateway node. The first configuration result may indicate whether the total number of access parameters allowed to be added by the target access control node to the group of gateway nodes is smaller than a preset threshold or a preset requirement value, and whether the value of the target access parameters is added. The preset demand value here may be greater than or equal to the difference between the desired target value and the target access parameter value. The target value may be a target traffic that is required to be occupied by sending the target access request and/or a target number of access requests of the first type included in the target access request.
It should be noted that, the preset requirement value in this embodiment may be determined based on the flow or the number corresponding to the access request received by the current gateway node, or may be a preset specified requirement value, that is, the preset requirement value required by the target gateway node to the target access control node may be a specified fixed value without other instructions. Further, when the preset demand value is a preset specified demand value, the specified demand value may be dynamically adjusted according to the configuration result fed back by the target access control node.
For example, taking the target access control node as an example of a flow control frequency control node in the flow control frequency control cluster, the first configuration request may include the following information:
struct Request{
names of// frequency control flow control rules, e.g. requests_per_sec
string_name:
Determining a body of a frequency controlled flow control definition, such as bucket-xxx op=xxx
string_unique key:
The current time of requesting an increased buffer number to the stream control frequency control cluster
t_hits;
Number of requests that can be passed within the time specified by the duration ms
t_limit;
Time length of frequency control flow control limit is designated/per unit ms, such as 1000
t_duration_ms:
The algorithm for controlling the frequency control flow control is reset if the number is changed after the request
//0=Token Bucket
//1=Leaky Bucket
algorithm;
Request behavior of// control frequency control flow control, typically using BATCHING
/(0=BATCHING (batch processing on)
/(1=no bus (batch is not started)
t_behavior:}
The first configuration result returned by the flow control frequency control cluster may include the following information:
Struct Response{
status, whether LIMIT 0=under_limit 1=over_limit is reached
Limit Limit value
Remaining value
ResetTime: end time of current period }.
In the first configuration result received by the gateway node, if status=0, the request in the flow control frequency control cluster does not reach the limit, the usable quota value of the local cache can be updated, and the target access request is transmitted. If status=1, the request in the flow control frequency control cluster has reached the limit, then the target access request is retransmitted for one period, and the buffer number which is increased for the next request to the flow control frequency control cluster is dynamically adjusted.
In an exemplary embodiment, after sending the first configuration request to the target access control node by the target gateway node, the method further comprises:
s31, under the condition that the first configuration request is used for requesting to increase the value of the target access parameter by a first value, the first configuration result indicates that the total number of access parameters of a group of gateway nodes allowed to be increased by the target access control node is smaller than the first value, and indicates that the value of the target access parameter is not increased, a second configuration request is sent to the target access control node through the target gateway node in the current period or in the next period of the current period, wherein the first value is larger than or equal to a preset requirement value, the preset requirement value is larger than or equal to a difference value between a required target value and the target access parameter, the target value is the target flow required to be occupied by sending the target access request and/or the target number of the first type of access requests included in the target access request, and the second configuration request is used for requesting to increase the value of the target access parameter by a second value, and the second value is smaller than the first value; or,
and S32, under the condition that the first configuration request is used for requesting to increase the value of the target access parameter by a first value, the first configuration result indicates that the total number of access parameters of a group of gateway nodes allowed to be increased by the target access control node is smaller than the first value, and indicates that the value of the target access parameter is not increased, the value of the request parameter cached on the target gateway node is adjusted from the first value to a second value, wherein the request parameter is a parameter carried in the configuration request sent by the target gateway node to the target access control node, and the value of the request parameter indicates that the target access control node is requested to increase the value of the target access parameter.
It should be noted that, when the first configuration result returned by the target access control node indicates that the limit has been reached, the quota value requested by the target access control node may be adjusted, where the adjusted quota value may be a quota requested by the target gateway node for a currently received target access request, or may be a quota requested by the target gateway node for other access requests received after the target access request.
In this embodiment, in the case where the first configuration request is for requesting to increase the value of the target access parameter by the first value, and the first configuration result indicates that the total number of access parameters allowed to be increased by the target access control node by the group of gateway nodes is smaller than the first value, and indicates that the value of the target access parameter is not increased, the second configuration request may be sent to the target access control node by the target gateway node in the current period or in the next period of the current period. The second configuration request here is a request sent by the transmission target access request.
Optionally, in the case that the first configuration request is used for requesting to increase the value of the target access parameter by a first value, and the first configuration result indicates that the total number of access parameters allowed to be increased by the target access control node by a group of gateway nodes is smaller than the first value, and indicates that the value of the target access parameter is not increased, the value of the request parameter cached on the target gateway node may also be adjusted from the first value to the second value. Here, the adjusted second value may be a value requested by the target gateway node to the target access control node for an access request received after the target access request.
Optionally, in the case that the first configuration result indicates that the total number of access parameters allowed to be added by the target access control node to the set of gateway nodes is smaller than the first value, and indicates that the value of the target access parameter is not added, the second value is a product of the first value and M, where M is greater than 0 and less than 1.
It should be noted that, M may be 1/2, that is, when the first configuration result indicates that the total number of access parameters allowed to be added by the target access control node to a group of gateway nodes is smaller than the first value, and indicates that the value of the target access parameter is not added, the value of the second configuration request sent by the gateway node to the target access control node or the request parameter cached on the target gateway node may be adjusted to be half of the first value in the first configuration request.
According to the embodiment, when the access control node indicates that the flow cannot be distributed to the target access request or the number of the transmissible requests is increased, the flow value or the request number requested by the gateway node next time to the access control node is adjusted to be half of the current request value, so that dynamic adjustment of the cache value requested by the access control node each time is realized, and the interaction efficiency of the gateway node and the access control node is improved.
In an exemplary embodiment, after sending the first configuration request to the target access control node by the target gateway node, the method further comprises:
s41, when the first configuration request is used for requesting to increase the value of the target access parameter by a first value, and the first configuration result indicates that the total number of access parameters of a group of gateway nodes allowed to be increased by the target access control node is greater than or equal to the first value, and indicates to increase the value of the target access parameter, the value of the request parameter cached on the target gateway node is adjusted from the first value to a third value, wherein the request parameter is a parameter carried in the configuration request sent by the target gateway node to the target access control node, and the value of the request parameter indicates to request the target access control node to increase the value of the target access parameter.
It should be noted that, when the first configuration result returned by the target access control node indicates that the current access request does not reach the limit, the value of the request parameter cached in the target gateway node may be adjusted while the target access parameter cached in the target gateway node is added and the target access request is transmitted, that is, the value requested by the target gateway node to the target access control node next time is adjusted.
Optionally, in the case that the first configuration result indicates that the total number of access parameters allowed to be added by the target access control node to the group of gateway nodes is greater than or equal to the first value, and indicates to add the value of the target access parameter, adjusting the value of the request parameter cached on the target gateway node from the first value to the third value includes:
determining a third value according to the updated total number, the remaining transmission times of the target gateway node in the current period and the target access parameters cached on the target gateway node, wherein the remaining transmission times represent the remaining times of allowing the second type of configuration request to be transmitted to the target access control node in the current period, the second type of configuration request is used for requesting to increase the value of the target access parameters, and the second type of configuration request comprises the first configuration request;
And determining a third value according to the value of the target access parameter requested to be added by each configuration request in a group of configuration requests sent to the target access control node by the target gateway node in the current period under the condition that the first configuration result indicates that the total number of access parameters of the target access control node which allows a group of gateway nodes to be added is greater than or equal to the first value, the value of the target access parameter is increased, and the time of the target access control node receiving the first configuration request is located in the next period of the current period.
It should be noted that, when the first configuration result indicates that the total number of access parameters allowed to be added by the target access control node to a group of gateway nodes is greater than or equal to the first value, and indicates that the value of the target access parameter is added, the adjustment of the value of the request parameter cached on the target gateway node may be mainly determined according to the time of the first configuration request sent by the target gateway and received by the target access control node.
In this embodiment, the total number of access parameters allowed to be added by each access control node to a group of gateway nodes in one period is fixed, and after each gateway node successfully requests to add the value of the access parameter to the access control node, the remaining total number corresponding to the access control node is reduced. The number of times each gateway node sends configuration requests to the access control node in one period may be fixed.
For example, in the case where the time of the first configuration request received by the target access control node and sent by the target gateway is still within the current period, the third value may be determined according to the remaining total number of access parameters allowed to be added by the target access control node to the group of gateway nodes, the remaining number of times the target gateway node sends in the current period, and the target access parameters cached on the target gateway node. And when the time of the first configuration request sent by the target gateway and received by the target access control node is located in the next period of the current period, the third value can be determined by considering the configuration request sent by the target gateway node to the target access control node and/or the configuration result fed back by the target access control node in the current period.
Optionally, determining the third value according to the updated total number, the remaining transmission times of the target gateway node in the current period, and the target access parameter cached on the target gateway node includes:
under the condition that the ratio obtained by dividing the updated total number by the residual transmission times is larger than the value of the target access parameter, determining the third value to be equal to N times of the first value, wherein N is larger than 1;
And under the condition that the ratio obtained by dividing the updated total number by the residual transmission times is smaller than the value of the target access parameter, determining the third value to be equal to the product of the first value and M, wherein M is greater than 0 and smaller than 1.
In this embodiment, N may be 2, that is, in the case where the ratio obtained by dividing the updated total number by the remaining transmission times is greater than the value of the target access parameter, the third value may be determined to be twice the first value. M may be 1/2, i.e., the third value is determined to be half of the first value in the case where the ratio of the updated total divided by the number of remaining transmissions is less than the value of the target access parameter.
It should be noted that, each gateway node may preset a maximum value and a minimum value for each access parameter that is requested to be added to the corresponding access control node, and when adjusting the subsequent value, it is necessary to ensure that the value after each adjustment is not smaller than the minimum value and not larger than the maximum value, in addition to adjusting the value according to the foregoing embodiment.
Optionally, determining the third value according to the value of the target access parameter requested to be added by each configuration request in the set of configuration requests sent by the target gateway node to the target access control node in the current period includes:
Determining a third value equal to the average of the values of the target access parameters requested to be added by each configuration request in the set of configuration requests; or,
determining a configuration request meeting preset conditions in a group of configuration requests, wherein the preset conditions comprise the values of target access parameters requested to be added by the configuration request to be added, which are indicated by a configuration result sent by the target access control node in response to the configuration request; and under the condition that K configuration requests meeting preset conditions are determined, determining the third value as the average value of the values of the target access parameters requested to be added by each configuration request in the K configuration requests, wherein K is a positive integer greater than or equal to 1.
For example, taking an access control node as a flow control frequency control node in a flow control frequency control cluster, using token bucket algorithm token class to dynamically adjust the next buffer number to be added to the flow control frequency control cluster, the variables involved in dynamically adjusting the next buffer number to be added to the flow control frequency control cluster are as follows:
expected_take_times, i.e. the number of expected needs to be taken for the current period;
epoch_num, i.e., cycle number (time Unix time, which refers to the total number of seconds from 1 month, 1 day, 00:00, 1970, to the present time of the world time of coordination), in ms (milliseconds);
An_epoch_upstream_like, i.e., the number of quotas that have been used for the current period;
an_epoch_upstream_remaining, i.e., the number of quota remaining for the current period;
the_epoch_upstream_like_times, i.e., the number of times the acquisition quota has been used for the current period;
an_epoch_upstream_remaining_times, i.e., the number of times quota is obtained remaining for the current period;
the expected_take is the quota number obtained by each flow control removal frequency control cluster, and is dynamically adjusted;
_once_min_hits, i.e. the minimum quota number obtained per de-flow control cluster.
The adjustment algorithm flow is as follows:
each time an entry_epoch_up_stream_wake_times++ (number of quota acquisitions++ that have been used for the current period);
as shown in fig. 5, if the flow control frequency control cluster returns to overrun, the quota amount obtained by each flow control frequency control cluster is halved, but not smaller than the minimum quota amount obtained by each flow control frequency control cluster;
if the flow control frequency control cluster returns no overrun and the period of the time of the request for receiving returned by the flow control frequency control cluster is the same as the current period number, or the period number is 0, the flow of the current time period of the flow control frequency control cluster is considered to be consumed, the lower consumption speed is estimated, the quota value obtained by each time of removing the flow control frequency control cluster is adjusted, and the specific adjustment mode can be as follows: estimating the number of times of available quota left in the current period, if the number of times of the quota is larger than 0 and the number of times of the quota divided by the number of times of the quota is larger than the current memory value, doubling the quota obtained by the next time of the flow control frequency control cluster, but not exceeding the maximum quota, otherwise, reducing the quota obtained by the next time by half, and not smaller than the minimum quota;
If the flow control frequency control cluster returns without overrun and the time for returning the flow control frequency control cluster is different from the current period number, the flow of the next period is consumed, and the quota number value obtained by each flow control frequency control cluster removal of the next period is evaluated through statistics of the period.
According to the embodiment, according to the feedback result of the request for increasing the access parameter sent to the access control node each time, the specific numerical value of the access parameter requested to be increased to the access control node in the follow-up process is dynamically adjusted, so that the success rate of the gateway node for requesting to increase the value of the access parameter to the access control node can be improved.
In one exemplary embodiment, sending, by the target gateway node, a first configuration request to the target access control node, includes:
s51, sending a first configuration request to a target access control node through the target gateway node by a first access control node in an access control node cluster, wherein the access control node cluster comprises the target access control node, the target gateway node and the first access control node establish communication connection, and the first access control node is used for determining that the access control node for receiving the first configuration request is a target access control node matched with the node identification in the access control node cluster according to the node identification of the target gateway node carried in the first configuration request.
It should be noted that, the target access control node may be one node in the access control node cluster, and after all configuration requests sent to the access control node cluster are sent to the access control node cluster, the first access control node in the access control node cluster may determine an owner of the configuration request, and send the configuration request to the owner.
In this embodiment, the first configuration request sent by the target gateway node to the target access control node may also be sent to the target access control node through the target gateway node via the first access control node in the access control node cluster. The first access control node may determine, in the access control node cluster, that the access control node for receiving the first configuration request is a target access control node matched with the node identifier according to the node identifier of the target gateway node carried in the first configuration request.
The node identification may be a hash value, i.e. the owner of the configuration request is determined based on a hash algorithm.
Taking an access control node cluster as a flow control frequency control cluster as an example, the flow control frequency control cluster is similar to a micro-service architecture, and the received rate limiting requests are uniformly distributed in the whole cluster, so that a user can add more nodes to expand the system. External caches such as Memcache (cache system) or dis (external cache) are not relied upon, so service dependence does not exist at deployment, which enables dynamic growth or shrinking of clusters in orchestration systems such as kubernetes (an open-source container cluster management system) or nomad (a cluster manager and scheduler). GRPC (a high-performance, general RPC (Remote Procedure Call, remote procedure call) open source software framework) and HTTP access carried by HTTP2 protocol are provided externally, and rate-limiting services can be provided as required.
Taking the example of processing the access request in a flow-controlled manner, the first configuration request may be a rate limiting request. When a rate limiting request is issued to the stream control cluster, the request will be entered and a consistent hash algorithm applied to determine which peer will be the owner of the rate limiting request. The client may set the request parameters to allow batching, allow peers to accept multiple requests within a specified window, and batch the requests as a single peer request, thereby greatly reducing the total number of requests to a single frequency controlled fluidic node peer over the network. To ensure that each peer in the cluster accurately computes the correct hash of the rate limiting key, a list of peers in the cluster must be distributed to each peer in the cluster in a timely and consistent manner, using etcd (a distributed key value versus storage system) or kubernetes endpoint API (Application Programming Interface, application program interface) to discover Gubernator (a micro-service) peers. And after the flow control frequency control cluster receives the transmitted request, storing the rate limiting configuration and the current rate limiting state in a local cache of the corresponding frequency control flow control node according to information carried by the request. The rate limit and its configuration stored in the local cache only exist for a specified duration of the rate limit configuration. After the duration expires, if no rate limiting is requested again during this period, it is deleted from the cache. Subsequent requests for the same name will recreate the configuration and rate limiting in the cache and this cycle will repeat. On the other hand, a subsequent request with a different configuration will override the previous configuration and immediately apply the new configuration.
According to the embodiment, based on the node identification contained in the configuration request sent by the gateway node, the access control node responsible for managing the transmission of the access request by the gateway node, namely the owner of the request, is determined, so that the efficiency of the configuration request reaching the access control node can be improved, and the processing efficiency of the access request can be improved.
The following explains the processing method of the access request in the embodiment of the present application with reference to an alternative example. In this alternative example, the access control node is a node in the flow control frequency control cluster.
In the alternative example, an object storage flow control frequency control scheme based on a bucket algorithm is provided, and the solution is divided into two parts of a flow control frequency control cluster and a gateway node, wherein the internal nodes of the cluster can communicate with each other, the frequency control flow control rule is stored and dynamically allocated to the available quota of the gateway node, and the communication times with the flow control frequency control cluster can be reduced and communication resources can be saved by a method of caching the available balance in the local cache of the gateway node.
As shown in fig. 6, the flow of the processing method of the access request in this alternative example may include the following steps:
in step S602, the access request enters the gateway node.
Step S604, for the access request, if the flow or the request number to be transmitted is smaller than the local cache value of the gateway node, the corresponding flow or the request number is obtained from the local cache, so that the gateway node transmits the access request; and if the flow or the request number to be transmitted is greater than or equal to the local cache value of the gateway node, the gateway node requests to increase the cache value to the flow control frequency control cluster.
In step S606, the gateway node determines whether the local buffer value can be increased according to the result returned by the flow control frequency control cluster, if so, the access request is directly transmitted, otherwise, the access request is waiting for the next period to be processed.
By the alternative example, the frequency of sending the request to the frequency control flow control cluster based on the acquired access request can be effectively reduced, so that the occupancy rate of communication resources is reduced.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus necessary general purpose hardware servers, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM (Read-Only Memory)/RAM (Random Access Memory), magnetic disk, optical disk), including instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
According to another aspect of the embodiment of the application, there is further provided an access request processing apparatus for implementing the above access request processing method, where the access request processing apparatus may be applied to an intelligent device. Fig. 7 is a block diagram of an alternative access request processing apparatus according to an embodiment of the present application, and as shown in fig. 7, the apparatus may include:
a first determining unit 702, configured to determine, when the target gateway node receives the target access request, whether to allow sending the target access request to the storage system according to a target access parameter cached on the target gateway node, where the target access request is used to access target data stored in the storage system, the target access parameter is used to indicate a remaining number of first type access requests allowed to be sent by the target gateway node to the storage system in a current period and/or a remaining traffic allowed to be occupied by the target gateway node to send the first type access request to the storage system in the current period, and the first type access request is used to request access to data stored in the storage system, where the first type access request includes the target access request;
a first sending unit 704, connected to the first determining unit 702, configured to send, when it is determined that the sending of the target access request to the storage system is allowed according to the target access parameter, the target access request to the storage system through the target gateway node;
And the second sending unit 706 is connected to the first sending unit 704, and is configured to send, when it is determined that the sending of the target access request to the storage system is not allowed according to the target access parameter, a first configuration request to the target access control node through the target gateway node, and send, according to a first configuration result sent by the target access control node in response to the first configuration request, the target access request to the storage system, where the target access control node is configured to configure an access parameter cached on each gateway node in a set of gateway nodes, the first configuration request is used to request to increase a value of the target access parameter, and the set of gateway nodes includes the target gateway node.
It should be noted that, the first determining unit 702 in this embodiment may be used to perform the above-mentioned step S202, the first transmitting unit 704 in this embodiment may be used to perform the above-mentioned step S204, and the second transmitting unit 706 in this embodiment may be used to perform the above-mentioned step S206.
Through the module, under the condition that the target gateway node receives the target access request, determining whether to allow the target access request to be sent to the storage system according to the target access parameter cached on the target gateway node, wherein the target access request is used for accessing target data stored in the storage system, the target access parameter is used for indicating the residual quantity of the first type of access request which is allowed to be sent to the storage system by the target gateway node in the current period and/or the residual flow which is allowed to be occupied by the first type of access request which is allowed to be sent to the storage system by the target gateway node in the current period, the first type of access request is used for requesting the data stored in the storage system to be accessed, and the first type of access request comprises the target access request; under the condition that the permission of sending the target access request to the storage system is determined according to the target access parameters, sending the target access request to the storage system through the target gateway node; under the condition that the target access request is not allowed to be sent to the storage system according to the target access parameters, a first configuration request is sent to the target access control node through the target gateway node, and the target access request is sent to the storage system according to a first configuration result sent by the target access control node in response to the first configuration request, wherein the target access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, the first configuration request is used for requesting to increase the value of the target access parameters, and the group of gateway nodes comprises the target gateway node.
In one exemplary embodiment, the first determining unit includes:
a first determining module, configured to determine that the target access request is allowed to be sent to the storage system when the remaining traffic indicated by the target access parameter is greater than or equal to the target traffic required to be occupied by sending the target access request, where the remaining traffic indicated by the target access parameter is updated to subtract the target traffic; or,
a second determining module configured to determine permission to send the target access request to the storage system in a case where a remaining number indicated by the target access parameter is greater than or equal to a target number of the first type of access request included in the target access request, wherein the remaining number indicated by the target access parameter is updated to subtract the target number; or,
and a third determining module configured to determine that the target access request is permitted to be sent to the storage system, in a case where the remaining traffic indicated by the target access parameter is greater than or equal to the target traffic required to be occupied for sending the target access request and the remaining number indicated by the target access parameter is greater than or equal to the target number of the first type of access request included in the target access request, wherein the remaining traffic indicated by the target access parameter is updated to subtract the target traffic and the remaining number indicated by the target access parameter is updated to subtract the target number.
In one exemplary embodiment, the second transmitting unit includes at least one of:
a first sending module, configured to send, when the first configuration result indicates that the total number of access parameters allowed to be added by the target access control node by the group of gateway nodes is smaller than a preset threshold or a preset requirement value, and indicates that the value of the target access parameter is not added, a target access request to the storage system through the target gateway node in a next cycle of the current cycle, where the preset requirement value is greater than or equal to a difference value between a required target value and a target access parameter value, and the target value is a target flow required to be occupied by sending the target access request and/or a target number of access requests of a first type included in the target access request;
and the execution module is used for updating the value of the target access parameter cached on the target gateway node to be larger than or equal to the value of the target value under the condition that the first configuration result indicates that the total number of the access parameters of the target access control node allowed to be added by a group of gateway nodes is larger than or equal to the preset requirement value and indicates that the value of the target access parameter is added, and sending the target access request to the storage system through the target gateway node in the current period.
In an exemplary embodiment, the above apparatus further includes:
a third sending unit, configured to send, after sending, by the target gateway node, a first configuration request to the target access control node, where the first configuration request is used to request that the value of the target access parameter be increased by a first value, and the first configuration result indicates that the total number of access parameters allowed to be increased by the target access control node is smaller than the first value, and indicates that the value of the target access parameter is not to be increased, send, by the target gateway node, a second configuration request to the target access control node in a current period or in a next period of the current period, where the first value is greater than or equal to a preset requirement value, the preset requirement value is greater than or equal to a difference value between a required target value and a target access parameter value, and the target value is a target flow required to be occupied by sending the target access request and/or a target number of access requests of a first type included in the target access request, and the second configuration request is used to request that the value of the target access parameter be increased by the target access parameter is smaller than the first value; or,
and the first adjusting unit is used for adjusting the value of the request parameter cached on the target gateway node from the first value to the second value under the condition that the first configuration request is used for requesting to increase the value of the target access parameter by the first value, the first configuration result indicates that the total number of access parameters of a group of gateway nodes allowed to be increased by the target access control node is smaller than the first value, and the value of the request parameter is not increased, wherein the request parameter is a parameter carried in a configuration request sent by the target gateway node to the target access control node, and the value of the request parameter indicates that the target access control node is requested to increase the added value of the target access parameter.
In an exemplary embodiment, the second value is a product of the first value and M, where M is greater than 0 and less than 1, in case the first configuration result indicates that the total number of access parameters the target access control node allows to increase a set of gateway nodes is less than the first value and indicates that the value of the target access parameter is not increased.
In an exemplary embodiment, the above apparatus further includes:
and the second adjusting unit is used for adjusting the value of the request parameter cached on the target gateway node from the first value to the third value under the condition that the first configuration request is used for requesting to increase the value of the target access parameter by the first value and the first configuration result indicates that the total number of access parameters of a group of gateway nodes allowed to be increased by the target access control node is larger than or equal to the first value and indicates to increase the value of the target access parameter after the first configuration request is sent to the target access control node by the target gateway node, wherein the request parameter is a parameter carried in the configuration request sent to the target access control node by the target gateway node, and the value of the request parameter indicates to request the target access control node to increase the added value of the target access parameter.
In one exemplary embodiment, the second adjusting unit includes:
a second determining unit, configured to determine, when the first configuration result indicates that the total number of access parameters of the target access control node that allows the addition of the group of gateway nodes is greater than or equal to the first value, and indicates that the value of the target access parameter is added, the total number is updated to be less than the first value, and a time when the target access control node receives the first configuration request is located in the current period, a third value according to the updated total number, a remaining number of transmissions of the target gateway node in the current period, and the target access parameter cached on the target gateway node, where the remaining number of transmissions indicates a remaining number of times that allows the transmission of a second type of configuration request to the target access control node in the current period, where the second type of configuration request is used to request the addition of the value of the target access parameter, and the second type of configuration request includes the first configuration request;
and a third determining unit, configured to determine, when the first configuration result indicates that the total number of access parameters allowed to be added by the target access control node to the group of gateway nodes is greater than or equal to the first value, and indicates that the total number of access parameters added by the target access control node is greater than or equal to the first value, and that the time when the target access control node receives the first configuration request is located in a period next to the current period, a third value according to the value of the target access parameter requested to be added by each configuration request in the group of configuration requests sent by the target gateway node to the target access control node in the current period, where the configuration requests in the group of configuration requests are configuration requests of the second type.
In one exemplary embodiment, the second determining unit includes:
a third determining module, configured to determine, when a ratio obtained by dividing the updated total number by the remaining transmission times is greater than the value of the target access parameter, a third value equal to N times the first value, where N is greater than 1;
and a fourth determining module, configured to determine, when the ratio obtained by dividing the updated total number by the remaining transmission times is smaller than the value of the target access parameter, the third value to be equal to the product of the first value and M, where M is greater than 0 and less than 1.
In one exemplary embodiment, the third determining unit includes:
a fifth determining module, configured to determine the third value as being equal to a mean value of the values of the target access parameters requested to be added by each configuration request in the set of configuration requests; or,
a sixth determining module, configured to determine, in a set of configuration requests, a configuration request that meets a preset condition, where the preset condition includes that a configuration result sent by the target access control node in response to the configuration request indicates that addition of a value of a target access parameter requested by the configuration request is allowed; and a seventh determining module, configured to determine, when determining that K configuration requests that satisfy the preset condition are satisfied, the third value as a mean value of values of the target access parameters that are requested to be added by each of the K configuration requests, where K is a positive integer greater than or equal to 1.
In one exemplary embodiment, the second transmitting unit includes:
the second sending module is used for sending a first configuration request to the target access control node through the target gateway node through a first access control node in the access control node cluster, wherein the access control node cluster comprises the target access control node, the target gateway node is in communication connection with the first access control node, the first access control node is used for determining that the access control node for receiving the first configuration request is the target access control node matched with the node identification in the access control node cluster according to the node identification of the target gateway node carried in the first configuration request.
It should be noted that the above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments. It should be noted that the above modules may be implemented in software or in hardware as part of the apparatus shown in fig. 1, where the hardware environment includes a network environment.
According to yet another aspect of embodiments of the present application, there is also provided a storage medium. Alternatively, in the present embodiment, the storage medium may be used to execute a program code of the method for processing an access request in any one of the foregoing embodiments of the present application.
Alternatively, in this embodiment, the storage medium may be located on at least one network device of the plurality of network devices in the network shown in the above embodiment.
Alternatively, in the present embodiment, the storage medium is configured to store program code for performing the steps of:
s1, under the condition that a target gateway node receives a target access request, determining whether to allow the target access request to be sent to a storage system or not according to target access parameters cached on the target gateway node, wherein the target access request is used for accessing target data stored in the storage system, the target access parameters are used for indicating the residual quantity of first type access requests allowed to be sent to the storage system by the target gateway node in a current period and/or the residual flow allowed to be occupied by the first type access requests sent to the storage system by the target gateway node in the current period, the first type access requests are used for requesting the data stored in the storage system to be accessed, and the first type access requests comprise the target access requests;
s2, under the condition that the permission of sending the target access request to the storage system is determined according to the target access parameter, sending the target access request to the storage system through the target gateway node;
And S3, under the condition that the target access request is not allowed to be sent to the storage system according to the target access parameters, sending a first configuration request to the target access control node through the target gateway node, and sending the target access request to the storage system according to a first configuration result sent by the target access control node in response to the first configuration request, wherein the target access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, the first configuration request is used for requesting to increase the value of the target access parameters, and the group of gateway nodes comprises the target gateway nodes.
Alternatively, specific examples in the present embodiment may refer to examples described in the above embodiments, which are not described in detail in the present embodiment.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a U disk, ROM, RAM, a mobile hard disk, a magnetic disk or an optical disk.
According to still another aspect of the embodiments of the present application, there is further provided an electronic device, which may be an intelligent device, and may be a server, a terminal, or a combination thereof, for implementing the above-mentioned method for processing an access request.
Fig. 8 is a block diagram of an alternative electronic device, according to an embodiment of the present application, including a processor 802, a communication interface 804, a memory 806, and a communication bus 808, as shown in fig. 8, wherein the processor 802, the communication interface 804, and the memory 806 communicate with each other via the communication bus 808, wherein,
a memory 806 for storing a computer program;
the processor 802, when executing the computer program stored on the memory 806, performs the following steps:
s1, under the condition that a target gateway node receives a target access request, determining whether to allow the target access request to be sent to a storage system or not according to target access parameters cached on the target gateway node, wherein the target access request is used for accessing target data stored in the storage system, the target access parameters are used for indicating the residual quantity of first type access requests allowed to be sent to the storage system by the target gateway node in a current period and/or the residual flow allowed to be occupied by the first type access requests sent to the storage system by the target gateway node in the current period, the first type access requests are used for requesting the data stored in the storage system to be accessed, and the first type access requests comprise the target access requests;
S2, under the condition that the permission of sending the target access request to the storage system is determined according to the target access parameter, sending the target access request to the storage system through the target gateway node;
and S3, under the condition that the target access request is not allowed to be sent to the storage system according to the target access parameters, sending a first configuration request to the target access control node through the target gateway node, and sending the target access request to the storage system according to a first configuration result sent by the target access control node in response to the first configuration request, wherein the target access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, the first configuration request is used for requesting to increase the value of the target access parameters, and the group of gateway nodes comprises the target gateway nodes.
Alternatively, the communication bus may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or an EISA (Extended Industry Standard Architecture ) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one thick line is shown in fig. 8, but not only one bus or one type of bus. The communication interface is used for communication between the electronic device and other equipment.
The memory may include RAM or may include non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
As an example, the memory 806 may include, but is not limited to, a first determining unit 702, a first transmitting unit 704, and a second transmitting unit 706 in the processing apparatus including the access request. In addition, other module units in the pushing device of the resource information may be included but are not limited to, which is not described in detail in this example.
The processor may be a general purpose processor and may include, but is not limited to: CPU (Central Processing Unit ), NP (Network Processor, network processor), etc.; but also DSP (Digital Signal Processing, digital signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments, and this embodiment is not described herein.
It will be understood by those skilled in the art that the structure shown in fig. 8 is only schematic, and the device implementing the above-mentioned access request processing method may be a terminal device, and the terminal device may be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 8 is not limited to the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 8, or have a different configuration than shown in FIG. 8.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, ROM, RAM, magnetic or optical disk, etc.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in the present embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or at least two units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (13)

1. A method for processing an access request, comprising:
determining whether to allow sending the target access request to a storage system according to target access parameters cached on a target gateway node under the condition that the target gateway node receives the target access request, wherein the target access request is used for accessing target data stored in the storage system, the target access parameters are used for representing the residual quantity of first type access requests allowed to be sent to the storage system by the target gateway node in a current period and/or the residual flow allowed to be occupied by the first type access requests allowed to be sent to the storage system by the target gateway node in the current period, and the first type access requests are used for requesting to access the data stored in the storage system, and the first type access requests comprise the target access requests;
Transmitting the target access request to the storage system through the target gateway node under the condition that the target access request is determined to be allowed to be transmitted to the storage system according to the target access parameter; and under the condition that the target access request is not allowed to be sent to the storage system according to the target access parameters, sending a first configuration request to a target access control node through the target gateway node, and sending the target access request to the storage system according to a first configuration result sent by the target access control node in response to the first configuration request, wherein the target access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, the first configuration request is used for requesting to increase the value of the target access parameters, and the group of gateway nodes comprises the target gateway node.
2. The method of claim 1, wherein said determining whether to allow the target access request to be sent to a storage system based on target access parameters cached on the target gateway node comprises:
determining to allow the target access request to be sent to the storage system under the condition that the residual flow indicated by the target access parameter is greater than or equal to the target flow required to be occupied by sending the target access request, wherein the residual flow indicated by the target access parameter is updated to subtract the target flow; or,
Determining to allow sending the target access request to the storage system in a case where the remaining number represented by the target access parameter is greater than or equal to a target number of the first type of access request included in the target access request, wherein the remaining number represented by the target access parameter is updated to subtract the target number; or,
and determining to allow the target access request to be sent to the storage system when the remaining traffic indicated by the target access parameter is greater than or equal to the target traffic required to be occupied by sending the target access request and the remaining number indicated by the target access parameter is greater than or equal to the target number of the first type of access request included in the target access request, wherein the remaining traffic indicated by the target access parameter is updated to subtract the target traffic and the remaining number indicated by the target access parameter is updated to subtract the target number.
3. The method of claim 1, wherein the sending the target access request to the storage system according to the first configuration result sent by the target access control node in response to the first configuration request comprises at least one of:
In a case that the first configuration result indicates that the total number of access parameters of the set of gateway nodes is allowed to be increased by the target access control node to be smaller than a preset threshold or a preset requirement value, and indicates that the value of the target access parameter is not increased, sending the target access request to the storage system through the target gateway node in the next cycle of the current cycle, wherein the preset requirement value is larger than or equal to a difference value between a required target value and the target access parameter value, and the target value is a target flow required to be occupied by sending the target access request and/or a target number of the first type of access requests included in the target access request;
and under the condition that the first configuration result indicates that the total number of access parameters of the group of gateway nodes allowed to be added by the target access control node is larger than or equal to the preset requirement value and indicates that the value of the target access parameters is added, updating the value of the target access parameters cached on the target gateway node to be larger than or equal to the value of the target value, and sending the target access request to the storage system through the target gateway node in the current period.
4. The method according to claim 1, wherein after sending the first configuration request to the target access control node by the target gateway node, the method further comprises:
in the case that the first configuration request is used for requesting to increase the value of the target access parameter by a first value, and the first configuration result indicates that the total number of access parameters of the group of gateway nodes allowed to be increased by the target access control node is smaller than the first value, and indicates that the value of the target access parameter is not increased, sending a second configuration request to the target access control node through the target gateway node in the current period or in the next period of the current period, wherein the first value is greater than or equal to a preset requirement value, and the preset requirement value is greater than or equal to a difference value between a required target value and the value of the target access parameter, and the target value is a target flow required to be occupied by sending the target access request and/or a target number of access requests of the first type included in the target access request, and the second configuration request is used for requesting to increase the value of the target access parameter by a second value, and the second value is smaller than the first value; or,
And when the first configuration request is used for requesting to increase the value of the target access parameter by the first value, the first configuration result indicates that the total number of access parameters allowed to be increased by the target access control node by the group of gateway nodes is smaller than the first value, and indicates that the value of the target access parameter is not increased, the value of the request parameter cached on the target gateway node is adjusted from the first value to the second value, wherein the request parameter is a parameter carried in a configuration request sent by the target gateway node to the target access control node, and the value of the request parameter indicates that the target access control node is requested to increase the added value of the target access parameter.
5. The method of claim 4, wherein the second value is a product of the first value and M, where M is greater than 0 and less than 1, if the first configuration result indicates that the target access control node allows for increasing the total number of access parameters of the set of gateway nodes less than the first value and indicates that the target access parameter is not increased in value.
6. The method according to claim 2, wherein after sending the first configuration request to the target access control node by the target gateway node, the method further comprises:
and when the first configuration request is used for requesting to increase the value of the target access parameter by a first value, and the first configuration result indicates that the total number of access parameters which the target access control node allows to increase the group of gateway nodes is greater than or equal to the first value, and indicates to increase the value of the target access parameter, the value of the request parameter cached on the target gateway node is adjusted from the first value to a third value, wherein the request parameter is a parameter carried in a configuration request sent by the target gateway node to the target access control node, and the value of the request parameter indicates to request the target access control node to increase the added value of the target access parameter.
7. The method of claim 6, wherein adjusting the value of the request parameter cached on the target gateway node from the first value to a third value if the first configuration result indicates that the target access control node allows the total number of access parameters of the set of gateway nodes to be increased to be greater than or equal to the first value and indicates that the target access parameter is increased to be the third value, comprises:
Determining the third value according to the updated total number, the remaining number of transmissions of the target gateway node in the current period, and the target access parameter cached on the target gateway node, wherein the remaining number of transmissions represents the remaining number of times that a second type of configuration request is allowed to be transmitted to the target access control node in the current period, the second type of configuration request being used for requesting the increase of the value of the target access parameter, and the second type of configuration request including the first configuration request, when the first configuration result indicates that the total number of access parameters of the set of gateway nodes allowed to be increased by the target access control node is greater than or equal to the first value, and indicates that the total number is updated to be subtracted by the first value, and the time that the first configuration request is received by the target access control node is within the current period;
and determining the third value according to the value of the target access parameter requested to be added by each configuration request in a set of configuration requests sent by the target gateway node to the target access control node in the current period when the first configuration result indicates that the total number of access parameters of the set of gateway nodes is larger than or equal to the first value and indicates that the value of the target access parameter is added, and the time when the target access control node receives the first configuration request is located in the next period of the current period.
8. The method of claim 7, wherein determining the third value based on the updated total number, the number of transmissions remaining by the target gateway node in the current period, and the target access parameter cached at the target gateway node comprises:
determining the third value to be equal to N times of the first value when the ratio obtained by dividing the updated total number by the remaining transmission times is greater than the value of the target access parameter, wherein N is greater than 1;
and determining the third value to be equal to the product of the first value and M under the condition that the ratio obtained by dividing the updated total number by the residual transmission times is smaller than the value of the target access parameter, wherein M is greater than 0 and smaller than 1.
9. The method of claim 7, wherein the determining the third value based on the value of the target access parameter requested to be added by each configuration request in a set of configuration requests sent by the target gateway node to the target access control node during the current period comprises:
determining the third value as being equal to a mean value of the values of the target access parameters requested to be added by each configuration request in the set of configuration requests; or,
Determining a configuration request meeting preset conditions in the group of configuration requests, wherein the preset conditions comprise the value of the target access parameter which is requested to be added by the configuration request and is allowed to be added by the target access control node according to the configuration result sent by the configuration request; and under the condition that K configuration requests meeting the preset condition are determined, determining the third value as the average value of the values of the target access parameters which are requested to be added by each configuration request in the K configuration requests, wherein K is a positive integer which is greater than or equal to 1.
10. The method according to any of claims 1 to 9, wherein said sending, by the target gateway node, a first configuration request to a target access control node comprises:
the first configuration request is sent to the target access control node through a first access control node in an access control node cluster by the target gateway node, wherein the access control node cluster comprises the target access control node, the target gateway node is in communication connection with the first access control node, the first access control node is used for determining that the access control node for receiving the first configuration request is the target access control node matched with the node identification in the access control node cluster according to the node identification of the target gateway node carried in the first configuration request.
11. An apparatus for processing an access request, comprising:
a first determining unit, configured to determine, when a target gateway node receives a target access request, whether to allow the target access request to be sent to a storage system according to a target access parameter cached on the target gateway node, where the target access request is used to access target data stored in the storage system, the target access parameter is used to indicate a remaining number of first type access requests allowed to be sent by the target gateway node to the storage system in a current period and/or a remaining traffic allowed to be occupied by the first type access requests allowed to be sent by the target gateway node to the storage system in the current period, and the first type access requests are used to request to access data stored in the storage system, where the first type access requests include the target access requests;
a first sending unit, configured to send, when it is determined that the sending of the target access request to the storage system is allowed according to the target access parameter, the target access request to the storage system through the target gateway node;
And the second sending unit is used for sending a first configuration request to a target access control node through the target gateway node under the condition that the target access request is not allowed to be sent to the storage system according to the target access parameter, and sending the target access request to the storage system according to a first configuration result sent by the target access control node in response to the first configuration request, wherein the target access control node is used for configuring access parameters cached on each gateway node in a group of gateway nodes, the first configuration request is used for requesting to increase the value of the target access parameter, and the group of gateway nodes comprises the target gateway node.
12. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 10.
13. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to perform the method of any of claims 1 to 10 by means of the computer program.
CN202311466699.6A 2023-11-06 2023-11-06 Access request processing method and device, storage medium and electronic device Pending CN117459586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311466699.6A CN117459586A (en) 2023-11-06 2023-11-06 Access request processing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311466699.6A CN117459586A (en) 2023-11-06 2023-11-06 Access request processing method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN117459586A true CN117459586A (en) 2024-01-26

Family

ID=89583294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311466699.6A Pending CN117459586A (en) 2023-11-06 2023-11-06 Access request processing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN117459586A (en)

Similar Documents

Publication Publication Date Title
CN110049130B (en) Service deployment and task scheduling method and device based on edge computing
US10715448B2 (en) System and/or method for predictive resource management in file transfer servers
US11157324B2 (en) Partitioning for delayed queues in a distributed network
US9729488B2 (en) On-demand mailbox synchronization and migration system
US8191068B2 (en) Resource management system, resource information providing method and program
KR100383381B1 (en) A Method and Apparatus for Client Managed Flow Control on a Limited Memory Computer System
CN110247856B (en) Server resource release method and device
CN111200657B (en) Method for managing resource state information and resource downloading system
US20160328573A1 (en) Centralized throttling service
CN108173774B (en) Client upgrading method and system
CN103109285A (en) Mechanism for autotuning mass data transfer from a sender to a receiver over parallel connections
CN111641563B (en) Flow self-adaption method and system based on distributed scene
US11102289B2 (en) Method for managing resource state information and system for downloading resource
CN113517985B (en) File data processing method and device, electronic equipment and computer readable medium
EP3582116A1 (en) Webpage loading method, webpage loading system, and server
CN112165436A (en) Flow control method, device and system
KR20200054368A (en) Electronic apparatus and controlling method thereof
CN112751847A (en) Interface call request processing method and device, electronic equipment and storage medium
CN111897659B (en) Method, system and device for controlling service processing frequency and electronic equipment
CN116069493A (en) Data processing method, device, equipment and readable storage medium
US7797368B1 (en) Managing a network of consumer-use computing devices
CN117459586A (en) Access request processing method and device, storage medium and electronic device
CN107689979B (en) method and equipment for processing download request
US8874646B2 (en) Message managing system, message managing method and recording medium storing program for that method execution
CN114745338A (en) Flow control method, flow control device, storage medium and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination