CN115834712B - Gateway resource scheduling method for connection-oriented service - Google Patents

Gateway resource scheduling method for connection-oriented service Download PDF

Info

Publication number
CN115834712B
CN115834712B CN202310012694.XA CN202310012694A CN115834712B CN 115834712 B CN115834712 B CN 115834712B CN 202310012694 A CN202310012694 A CN 202310012694A CN 115834712 B CN115834712 B CN 115834712B
Authority
CN
China
Prior art keywords
resource
quota
service
occupied
statistical information
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.)
Active
Application number
CN202310012694.XA
Other languages
Chinese (zh)
Other versions
CN115834712A (en
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.)
Wuxi Hongchuang Shengan Technology Co ltd
Original Assignee
Wuxi Hongchuang Shengan Technology Co ltd
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 Wuxi Hongchuang Shengan Technology Co ltd filed Critical Wuxi Hongchuang Shengan Technology Co ltd
Priority to CN202310012694.XA priority Critical patent/CN115834712B/en
Publication of CN115834712A publication Critical patent/CN115834712A/en
Application granted granted Critical
Publication of CN115834712B publication Critical patent/CN115834712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a gateway resource scheduling method for connection-oriented service, which relates to the technical field of communication, and comprises the following steps: in response to receiving the service request, determining a target service type of the service request, first resource statistical information corresponding to the target service type and second resource statistical information of the gateway server; determining a temporary upper limit quota of resources of the target service type based on the occupied resource quota recorded by the first resource statistical information and the service average quota recorded by the second resource statistical information, distributing corresponding shared resources from the residual shared resource quota of the gateway server, and updating the first and second resource statistical information; and releasing and refunding the shared resource in response to the service request being processed, updating the temporary upper limit quota of the resource based on the occupied resource quota size of the target service type, and updating the second resource statistical information. By reserving a part of the resources as shared resources, the resource quota of various services is dynamically regulated, and the throughput rate of the system is balanced.

Description

Gateway resource scheduling method for connection-oriented service
Technical Field
The embodiment of the application relates to the field of network communication, in particular to a gateway resource scheduling method for connection-oriented service.
Background
On many service systems, all services share the system resources of one gateway server. The various services respond and allocate resources in a first come first served and best effort manner, so that a high throughput rate can be achieved. However, when multiple services with a large amount of data transmission are concurrent, resource contention and preemption easily occur, some services occupy a large amount of system resources, and some services cannot apply for resources, so that the services are affected.
In the related art, if any resource scheduling scheme is not adopted, the resource scheduling scheme is strictly processed according to a first come first serve principle, so that the problem of unbalanced resource allocation of various services can occur; still others employ resource scheduling or resource reservation schemes, basically by way of multiple parties on the network running some kind of protocol. For example, the former node sends a resource application to the latter node, which prepares the resource to serve the corresponding service. This approach requires that each party be able to perform the corresponding function, while many service requesters have no similar function, and some cannot even add such a function, so that the service gateway must be implemented by itself in some way, and has limitations in universality and application scenarios.
Disclosure of Invention
The application provides a gateway resource scheduling method for connection-oriented services, which solves the problems of unbalanced resource allocation of various services and guaranteed system throughput rate. The technical scheme comprises the following steps:
in response to receiving a service request, determining a target service type of the service request, first resource statistical information corresponding to the target service type and second resource statistical information of a gateway server; the first resource statistical information comprises resource use information which is distributed and recorded by the gateway server aiming at all service requests of the same service type; the second resource statistical information comprises resource use information which is distributed and recorded by the gateway server for all service requests of all types;
determining a temporary upper limit quota of resources of the target service type based on the occupied resource quota recorded by the first resource statistical information and the service average quota recorded by the second resource statistical information, distributing corresponding shared resources from the residual shared resource quota of the gateway server, and updating the first resource statistical information and the second resource statistical information;
and releasing and returning the shared resource after the service request is processed, updating the temporary upper limit quota of the resource based on the occupied resource quota of the target service type, and updating the second resource statistical information.
The beneficial effects brought by the technical scheme at least comprise: and classifying and counting the first resource statistical information and the second resource statistical information of the system according to the service types for the connection-oriented service request received by the gateway, and determining respective temporary upper limit quota of the resources according to each service type. When a service request occurs, the temporary upper limit quota of the resources is dynamically adjusted according to the occupied resource quota and the service average quota, so that reasonable scheduling and use of shared resources reserved by the gateway are realized, and the corresponding service types and the resource statistical information of the gateway are recorded and updated in real time. Under the condition of ensuring that the throughput rate of the whole network is not affected, the principle of service first-in first-out is broken, and the resource quota of various services is dynamically regulated, so that various services can be processed relatively fairly, and the response speed and fluency of the system are improved as a whole.
Drawings
Fig. 1 is a flowchart of a gateway resource scheduling method for connection-oriented services provided in an embodiment of the present application.
Fig. 2 is a flowchart of an algorithm for a gateway server to perform resource scheduling and resource statistics update in response to a service request.
Fig. 3 is a flowchart of an algorithm for gateway server reclamation and resource statistics update.
Fig. 4 is a flowchart of a gateway resource scheduling method for connection-oriented services according to another embodiment of the present application.
Fig. 5 is a flowchart of an algorithm for updating resource statistics when a gateway server responds to a service request.
Fig. 6 is a flowchart of an algorithm for updating resource statistics when a gateway server recovers resources.
Fig. 7 is a flowchart of a gateway resource scheduling method for connection-oriented services according to another embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
References herein to "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. For ease of writing and memorization, the present application replaces some terms and noun chinese meanings with english abbreviations, as specifically described in table 1.
Table 1 list of abbreviations for system resources and business resources
Abbreviations (abbreviations) Meaning of
Global statistics of system resources
SYS_TOTAL Total quota of system resources
SYS_USED Total occupied resource quota
SYS_E_COMMITMENT Minimum guaranteed resource quota for each class of service
SYS_E_COUNT Occupied type of service amount
SYS_E_AVR Service average quota
SYS_SHARE_MAX Maximum shareable resource quota
SYS_SHARE_USED Consumed shared resource quota
SYS_RSV Remaining shared resource quota
Statistics item corresponding to each type of service
E_USED Occupied resource quota
E_BUDGET Temporary upper limit quota for resources
Fig. 1 is a flowchart of a gateway resource scheduling method for connection-oriented services provided in an embodiment of the present application. The method specifically comprises the following steps:
step 101, in response to receiving the service request, determining a target service type of the service request, first resource statistical information corresponding to the target service type, and second resource statistical information of the gateway server.
The scheme is suitable for the gateway server facing the connection type service, and the received service request is usually in accordance with the principle of first-service under the condition of certain gateway resources, but reasonable resource scheduling is needed for exerting the maximum utilization rate of the gateway resources under the condition of abundant gateway resources. When receiving a service request, the gateway server in the scheme preferably needs to determine a target service type corresponding to the service, and determines gateway resource usage information based on the target service type, namely first resource statistical information aiming at the target service type and second resource statistical information of the whole gateway system. The first resource statistical information comprises resource use information which is distributed and recorded by a gateway server aiming at all service requests of the same service type; the second resource statistics comprises resource usage information allocated and recorded by the gateway server for all service requests of all types. For example, if the request information for the audio data is received, the first resource statistics information is all resource usage conditions about the audio data in the gateway system, and the second resource statistics information is all resource usage conditions of types (such as audio, video, image, and file) of the gateway system.
Step 102, determining a temporary upper limit quota of resources of the target service type based on the occupied resource quota recorded by the first resource statistic information and the service average quota recorded by the second resource statistic information, allocating corresponding shared resources from the remaining shared resource quota of the gateway server, and updating the first resource statistic information and the second resource statistic information.
The occupied resource quota is the size of the resource used in the gateway system when the target service type is executed; the service average quota is the service average quota allocated to each service type by the gateway server according to the total quota size of the system resources, namely the rated resource size allocated to the audio data by the gateway server. And the temporary upper limit quota of the resource is a temporary set quota of the resource for the target service type by the gateway server. For example, user a has fewer processing requests for audio data and more processing requests for image data, so the gateway sets a relatively lower temporary upper limit quota for resources of user a for audio processing requests and sets a relatively higher temporary upper limit quota for resources of image processing requests.
Under the condition that the total quota of the system resources is fixed, after the temporary upper limit quota of the resources of all service types is removed, the remaining resource quota is the shared resource quota and is used as the shared resource quota to carry out temporary resource allocation, so that gateway resources and scheduling allocation can be better utilized, and the problem of uneven resource allocation is avoided. And the scheme aims at the resource scheduling method when the service volume exceeds the temporary upper limit quota. Since the shared resource does not need to be scheduled when the type of service request does not exceed the temporary resource allocation, the present scheme is not described in detail.
When the needed resources in response to a certain target service request exceed the temporary resource allocation in the current state, the temporary upper limit quota of the resources is adjusted according to the size relation between the occupied resource quota of the target service type and the service average quota, and corresponding shared resources are allocated from the residual shared resource quota SYS_RSV of the gateway server, so that the gateway processes the corresponding service for the service request, and the first resource statistical information and the second resource statistical information are updated.
As shown in fig. 2, an algorithm flow chart of the gateway server for resource scheduling and resource statistics updating in response to a service request is shown. And for the service request received by the gateway, acquiring an occupied resource quota E_USED, comparing the occupied resource quota E_USED with the SYS_E_AVR, and because the system resource quota is limited, the E_USED cannot exceed the maximum sharable resource quota SYS_SHARE_MAX allowed by the system, otherwise, the normal operation of the gateway system cannot be ensured. The service processing request is executed with the condition ensured to be satisfied, and the first resource statistical information and the second resource statistical information are updated with the resource consumed.
And step 103, releasing and returning the shared resource in response to the completion of processing the service request, updating the temporary upper limit quota of the resource based on the occupied resource quota of the target service type, and updating the second resource statistical information.
After the service is processed, the gateway needs to release the shared resource allocated before, and updates the temporary upper limit quota of the resource based on the occupied resource quota of the target service type, so as to facilitate reasonable scheduling of the resource. As shown in fig. 3, an algorithm flow chart of the gateway server for recovering resources and updating the statistical information of the resources is shown, and after the service processing is completed and the released resources are determined, the statistical information of the released first and second resources is updated.
In summary, for the connection-oriented service request received by the gateway, classifying and counting the first resource statistical information and the second resource statistical information of the system according to the service type, and determining the respective temporary upper limit quota of the resource according to each service type. When a service request occurs, the temporary upper limit quota of the resources is dynamically adjusted according to the occupied resource quota and the service average quota, so that reasonable scheduling and use of shared resources reserved by the gateway are realized, and the corresponding service types and the resource statistical information of the gateway are recorded and updated in real time. Under the condition of ensuring that the throughput rate of the whole network is not affected, the principle of service first-in first-out is broken, and the resource quota of various services is dynamically regulated, so that various services can be processed relatively fairly, and the response speed and fluency of the system are improved as a whole.
In some embodiments, to correlate the average quota of traffic with the amount of occupied traffic types without affecting or even optimizing throughput, it is set to a dynamic value. The first resource statistical information comprises occupied resource quota and temporary upper limit quota of resources, and the temporary upper limit quota of resources of different service types is different. The second resource statistical information at least comprises a total quota of system resources, a total occupied resource quota, an occupied service type amount, a service average quota, a shared resource quota, a residual shared resource quota, a consumed shared resource quota and the like; these are what the gateway server needs to update in response to processing and resource reclamation.
The service average quota is determined based on the ratio of the total quota of the system resources and the amount of the current service type of the system, and in one possible implementation, the ratio of a certain proportion of the total quota of the system resources and the amount of the occupied service type is taken as the service average quota. When the gateway system processes more service types, the service average quota amount is lower, and the corresponding shared resource quota is lower. The sum of the remaining shared resource quota and the consumed shared resource quota is the shared resource quota of the server.
Fig. 4 is a flowchart of a gateway resource scheduling method for connection-oriented services according to another embodiment of the present application. The method comprises the following steps:
in step 401, when the target service type indicated by the service request is an existing service type of the current gateway server, the occupied resource quota, the temporary upper limit quota and the second resource statistical information of the target service type are read.
In this case, the gateway system processes the current processing task and includes the target service type corresponding to the current service request, so that the first resource statistical information and the second resource statistical information of the existing target service type are directly obtained without updating the SYS_E_COUN in response to and execution of the service request.
Step 402, when the target service type indicated by the service request is a new service, a resource statistics table is built based on the new service type, and corresponding first resource statistics information is generated.
Step 403, determining the occupied service type amount and the service average quota of the second resource statistical information after the new service is added based on the service request update.
For newly added traffic types, SYS_E_COUN is automatically incremented by 1, and SYS_E_AVR is also decremented. And for the new service added by initialization, the temporary upper limit quota of the resource is defaulted to an initialization value, namely the lowest quota of the corresponding service resource, and the initial state and the newly added task type are both the lowest quota of the service resource.
The temporary upper limit quota of the resource in the scheme is increased based on the service request, is reduced based on the service end, and is positioned between the lowest quota of the corresponding service resource and the highest quota of the service resource. It should be noted that, the minimum service resource quota of different service types may be set differently according to actual situations, and the maximum service resource quota does not exceed the average service quota.
Step 404, calculating total occupied resource quota, occupied resource quota and consumed shared resource quota according to the resources required for processing the service request.
Before the resource scheduling is carried out, the gateway system initially calculates the TOTAL occupied resource quota SYS_TOTAL and the consumed shared resource quota SYS_SHARE_USED according to the resources required by the service request, and aims to determine that the resource scheduling can be carried out.
Step 405, when the occupied resource quota is smaller than the target service average quota and greater than the temporary upper limit quota of the resource, the temporary upper limit quota of the resource is increased according to a preset increasing function in response to the service request, and corresponding shared resources are allocated from the remaining shared resource quota of the gateway server.
As shown in fig. 5, an algorithm flow chart for updating resource statistics information when the gateway server responds to a service request is shown, when the occupied resource quota e_used is smaller than the target service average quota sys_e_avr and is greater than the temporary upper limit quota e_budgeting of the resource, the temporary upper limit quota e_budgeting of the resource is increased and adjusted according to a preset increasing function, which may specifically be a primary function, a step function, an exponential function, or other increasing functions. The purpose of increasing e_budgeting is to expand the target traffic type. In response to the service request, the gateway server allocates corresponding shared resources from the remaining shared resource quotas to process the corresponding service. The amount of change in E_BUDGET is consistent with the amount of change in the remaining shared resource quota and SYS_SHARE_USED.
Step 406, when the occupied resource quota is greater than the target service average quota and the consumed shared resource quota does not exceed the set threshold, updating the temporary upper limit quota of the resource to be the service average quota in response to the service request, and distributing the corresponding shared resource from the remaining shared resource quota of the gateway server.
When E_USED is greater than SYS_E_AVR, indicating that the normal quota for that class of traffic has been exceeded, and SYS_SHARE_USED has not exceeded the set threshold (maximum shareable resource quota SYS_SHARE_MAX), the value of SYS_E_AVR is further directly increased for E_BUDGET. And simultaneously, responding to the service request, and distributing corresponding shared resources from the residual shared resource quota of the gateway server for processing.
Step 407, when the occupied resource quota of the target service type exceeds the corresponding service average quota and the consumed shared resource quota reaches the set threshold, mounting the service request, and cancelling the updating of the first resource statistical information and the second resource statistical information.
When the E_USED of the target service type exceeds SYS_E_AVR and the SYS_SHARE_USED reaches SYS_SHARE_MAX, the system does not respond to the request any more and mounts the system, and processing is continued when the system resources are idle. The initial updates to the first resource statistics (sys_total) and the second resource statistics (sys_shared_used) are also revoked.
Step 408, determining to release and refund the occupied resource quota before the shared resource.
Step 409, releasing and refunding the shared resource when the occupied resource quota exceeds the service average quota.
Before releasing and retiring the shared resource, detecting whether E_USED is larger than SYS_E_AVR, and when the SYS_E_AVR is not exceeded, releasing and retiring the scheduled shared resource.
Step 410, updating the occupied resource quota, the total occupied resource quota, the occupied traffic type amount, the remaining shared resource quota, and the consumed shared resource quota according to the released shared resource size.
Post-release updates include e_used, total occupied resource quota sys_used, sys_rsv, and sys_share_used. The occupied traffic type amount sys_e_count is updated when all traffic of this type is processed.
In step 411, when the occupied resource quota does not exceed the service average quota and is lower than the service resource minimum quota, the shared resource is released and refunded.
When E_USED is lower than SYS_E_AVR and minimum guaranteed resource quota SYS_E_COMMITMENT, the resources of the service type existing in the gateway system are greatly reduced, and the shared resources can be directly released and returned at the moment.
Step 412, reducing the temporary upper limit quota of resources according to a preset decrementing function, and updating the occupied resource quota, the occupied traffic type amount, the remaining shared resource quota, and the consumed shared resource quota according to the released shared resource size.
Because the gateway system does not need to allocate more resources, the E_BUDGET is reduced by selecting a preset decreasing function, and the decreasing function is decreased in the forms of a primary function, an exponential function, a stepping function and the like. In addition, updates include e_used, sys_used, sys_rsv and sys_share_used, and sys_e_count is updated when all this type of traffic is processed.
In summary, the method and the device combine resource information scheduling and service types by setting first resource statistical information and second resource statistical information in the gateway, and update service average quota in real time according to the number of the service types. For a service request, according to the size relation among the service average quota, the temporary upper limit quota of the resource and the temporary upper limit quota of the current adjustment resource, adjusting the temporary upper limit quota of the current resource by adopting a preset increasing function, and simultaneously updating the first resource statistical information and the second resource statistical information; and when the occupied resource quota exceeds the service average quota and the consumed shared resource quota reaches a set threshold, the service request is mounted. For resource recovery, the gateway adjusts the temporary upper limit quota of the current resource by adopting a decreasing function according to the size relation of the occupied resource quota, the service average quota and the service resource minimum quota, and simultaneously updates the first resource statistical information and the second resource statistical information. By the method and the device, on the premise of ensuring the throughput rate of the gateway, the problem that some businesses occupy a large amount of resources and some businesses cannot be served due to insufficient resources is avoided, various business requests are effectively balanced, and the response speed and the fluency of the system are improved integrally.
In other embodiments, the amount of occupied traffic type sys_e_count recorded by the gateway changes as well after all of a particular type of traffic is completed, so that subsequent sys_e_avr changes as well, but in order to avoid frequent updates of sys_e_avr in case of more system traffic types and traffic requests. Alternatively, a certain waiting time may be set for the gateway to perform the selection update.
Fig. 7 is a flowchart of a gateway resource scheduling method for connection-oriented services according to another embodiment of the present application, which specifically includes the following steps:
in step 701, in response to receiving the service request, determining a target service type of the service request, first resource statistics corresponding to the target service type, and second resource statistics of the gateway server.
Step 702, determining a temporary upper limit quota of resources of the target service type based on the occupied resource quota recorded by the first resource statistics information and the service average quota recorded by the second resource statistics information, allocating corresponding shared resources from the remaining shared resource quota of the gateway server, and updating the first resource statistics information and the second resource statistics information.
Step 703, releasing and refunding the shared resource in response to the service request being processed, and updating the temporary upper limit quota of the resource based on the occupied resource quota of the target service type, and updating the second resource statistics information.
And step 704, responding to the last service request of the same service type, and reserving a first resource statistical table corresponding to the service type within the system reservation duration.
Illustratively, after the last data processing task for the audio data service is completed, the type of service is not present in the gateway system, and SYS_E_COUNT is automatically subtracted by 1. The gateway cannot guarantee that the service request for audio data processing is again received within a short time, at which point the timer can be started. And reserving a first resource statistical table (E_USED in the table is 0, and E_BUDGET is equal to SYS_E_COMMITMENT) corresponding to the service type in the system reservation duration time. The sys_e_avr is also temporarily not updated during this period.
Step 705, deleting the first resource statistics table and updating the occupied service type amount and the service average quota in response to not receiving the service request of the corresponding service type within the system reservation duration.
When the audio data processing service still does not exist after the countdown of the system reservation duration is finished, the first resource statistics table of the audio data service is deleted, and the SYS_E_AVR is updated at the same time.
The foregoing describes preferred embodiments of the present invention; it is to be understood that the invention is not limited to the specific embodiments described above, wherein devices and structures not described in detail are to be understood as being implemented in a manner common in the art; any person skilled in the art will make many possible variations and modifications, or adaptations to equivalent embodiments without departing from the technical solution of the present invention, which do not affect the essential content of the present invention; therefore, any simple modification, equivalent variation and modification of the above embodiments according to the technical substance of the present invention still fall within the scope of the technical solution of the present invention.

Claims (9)

1. A gateway resource scheduling method for connection-oriented service is characterized in that: the method comprises the following steps:
step 101, in response to receiving a service request, determining a target service type of the service request, first resource statistical information corresponding to the target service type and second resource statistical information of a gateway server; the first resource statistical information comprises resource use information which is distributed and recorded by the gateway server aiming at all service requests of the same service type; the second resource statistical information comprises resource use information which is distributed and recorded by the gateway server for all service requests of all types;
step 102, determining a temporary upper limit quota of the resources of the target service type based on the occupied resource quota recorded by the first resource statistical information and the service average quota recorded by the second resource statistical information, distributing corresponding shared resources from the residual shared resource quota of the gateway server, and updating the first resource statistical information and the second resource statistical information;
and step 103, releasing and returning the shared resource in response to the completion of processing the service request, updating the temporary upper limit quota of the resource based on the occupied resource quota of the target service type, and updating the second resource statistical information.
2. The gateway resource scheduling method for connection-oriented services according to claim 1, wherein: the first resource statistical information comprises the occupied resource quota and the temporary upper limit quota of the resource, and the temporary upper limit quota of the resource of different service types is different;
the second resource statistical information comprises at least one of a total quota of system resources, a total occupied resource quota, an occupied service type amount, the service average quota, the remaining shared resource quota and a consumed shared resource quota; the service average quota is determined based on the ratio of the total quota of the system resources to the amount of the current service type of the system, and the sum of the residual shared resource quota and the consumed shared resource quota is the shared resource quota of the server.
3. The gateway resource scheduling method for connection-oriented services according to claim 2, wherein: step 101 comprises:
when the target service type indicated by the service request is the current existing service type of the gateway server, reading the occupied resource quota, the temporary upper limit quota and the second resource statistical information of the target service type;
when the target service type indicated by the service request is a new service, establishing a resource statistical table based on the new service type, and generating corresponding first resource statistical information;
determining the second resource statistical information after the new service is added; the occupied traffic type amount and the traffic average quota of the second resource statistics are updated based on the traffic request.
4. The gateway resource scheduling method for connection-oriented services according to claim 3, wherein: step 102 comprises:
calculating total occupied resource quota, occupied resource quota and consumed shared resource quota according to resources required for processing the service request;
when the occupied resource quota is smaller than a target service average quota and larger than the temporary upper limit quota of the resource, responding to the service request, increasing the temporary upper limit quota of the resource according to a preset increasing function, and distributing corresponding shared resources from the residual shared resource quota of the gateway server;
and when the occupied resource quota is larger than the target service average quota and the consumed shared resource quota does not exceed a set threshold, responding to the service request, updating the temporary upper limit quota of the resource to be the service average quota, and distributing corresponding shared resources from the residual shared resource quota of the gateway server.
5. The gateway resource scheduling method for connection-oriented services according to claim 4, wherein: and when the occupied resource quota of the target service type exceeds the corresponding service average quota and the consumed shared resource quota reaches a set threshold, mounting the service request, and cancelling the updating of the first resource statistical information and the second resource statistical information.
6. The gateway resource scheduling method for connection-oriented services according to claim 2, wherein: the second resource statistical information also comprises the lowest quota of the service resource and the highest quota of the service resource of each service type;
the temporary upper limit quota of the resource is increased based on the service request, is decreased based on the service end, and is positioned between the lowest quota of the corresponding service resource and the highest quota of the service resource; the service resource minimum quota of different service types is different, the service resource maximum quota is the same as the service average quota, and the resource temporary upper limit quota of the initial state and the newly added task type is the same as the service resource minimum quota.
7. The gateway resource scheduling method for connection-oriented services according to any one of claims 5 or 6, wherein: the variable quantity of the temporary upper limit quota of the resource is consistent with the variable quantity of the residual shared resource quota and the consumed shared resource quota.
8. The gateway resource scheduling method for connection-oriented services according to claim 6, wherein: step 103 comprises:
determining to release and refund the occupied resource quota before the shared resource is released;
releasing and returning the shared resource when the occupied resource quota exceeds the service average quota; updating the occupied resource quota, the occupied service type amount, the residual shared resource quota and the consumed shared resource quota according to the released shared resource size;
releasing and returning the shared resource when the occupied resource quota does not exceed the service average quota and is lower than the service resource minimum quota; and reducing the temporary upper limit quota of the resource according to a preset decreasing function, and updating the occupied resource quota, the occupied service type amount, the residual shared resource quota and the consumed shared resource quota according to the released shared resource size.
9. The gateway resource scheduling method for connection-oriented services according to claim 3, wherein: the gateway server is provided with a system reservation time length of a resource statistical table;
responding to the last service request of the same service type, and reserving a first resource statistical table corresponding to the service type within the system reservation duration time;
and deleting the first resource statistical table and updating the occupied service type amount and the service average quota in response to the fact that the service request of the corresponding service type is not received within the system reservation duration.
CN202310012694.XA 2023-01-05 2023-01-05 Gateway resource scheduling method for connection-oriented service Active CN115834712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310012694.XA CN115834712B (en) 2023-01-05 2023-01-05 Gateway resource scheduling method for connection-oriented service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310012694.XA CN115834712B (en) 2023-01-05 2023-01-05 Gateway resource scheduling method for connection-oriented service

Publications (2)

Publication Number Publication Date
CN115834712A CN115834712A (en) 2023-03-21
CN115834712B true CN115834712B (en) 2023-05-02

Family

ID=85520191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310012694.XA Active CN115834712B (en) 2023-01-05 2023-01-05 Gateway resource scheduling method for connection-oriented service

Country Status (1)

Country Link
CN (1) CN115834712B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005051014A1 (en) * 2003-11-20 2005-06-02 Huawei Technologies Co., Ltd. A method of assigning bandwide resource of the abis interface
CN101594659A (en) * 2008-05-27 2009-12-02 大唐移动通信设备有限公司 A kind of acceptance controlling method, device, system and radio network controller
CN111988392A (en) * 2020-08-14 2020-11-24 腾讯科技(深圳)有限公司 Resource allocation method based on cloud service, related device, equipment and system
CN115002842A (en) * 2022-07-18 2022-09-02 荣耀终端有限公司 Data transmission method, electronic equipment and readable storage medium
CN115038090A (en) * 2022-04-14 2022-09-09 中国联合网络通信集团有限公司 Method, device, base station and storage medium for controlling load of shared carrier frequency

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2366401B (en) * 2000-08-25 2005-06-01 Mitel Corp Resource sharing with sliding constraints

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005051014A1 (en) * 2003-11-20 2005-06-02 Huawei Technologies Co., Ltd. A method of assigning bandwide resource of the abis interface
CN101594659A (en) * 2008-05-27 2009-12-02 大唐移动通信设备有限公司 A kind of acceptance controlling method, device, system and radio network controller
CN111988392A (en) * 2020-08-14 2020-11-24 腾讯科技(深圳)有限公司 Resource allocation method based on cloud service, related device, equipment and system
CN115038090A (en) * 2022-04-14 2022-09-09 中国联合网络通信集团有限公司 Method, device, base station and storage medium for controlling load of shared carrier frequency
CN115002842A (en) * 2022-07-18 2022-09-02 荣耀终端有限公司 Data transmission method, electronic equipment and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
任志军等.业务效用模型在移动业务管理中的应用.计算机工程与应用.2005,(第31期),第131-134页. *

Also Published As

Publication number Publication date
CN115834712A (en) 2023-03-21

Similar Documents

Publication Publication Date Title
CN108667748B (en) Method, device, equipment and storage medium for controlling bandwidth
US5711010A (en) Method of establishing access to secondary communication resources in a communication system
KR100426357B1 (en) Scheduling Method for QoS and Resource Management in Mobile Communication System
US20050055694A1 (en) Dynamic load balancing resource allocation
US20030084144A1 (en) Network bandwidth optimization method and system
US20170126583A1 (en) Method and electronic device for bandwidth allocation based on online media services
CN110971623B (en) Micro-service instance elastic scaling method and device and storage medium
US20070041401A1 (en) Priority control system and priority control method
EP1947897A2 (en) Wireless base station apparatus capable of effectivley using wireless resources according to sorts of data
CN112887228A (en) Cloud resource management method and device, electronic equipment and computer readable storage medium
CN107665143A (en) Method for managing resource, apparatus and system
CN114640630B (en) Flow control method, device, equipment and readable storage medium
CN114040504A (en) TDMA satellite communication system frame structure and resource allocation method
CN112003790B (en) Distribution method of network traffic used by intelligent school
CN115834712B (en) Gateway resource scheduling method for connection-oriented service
US6009473A (en) Using callbacks to effectively manage resources
US7086059B2 (en) Throttling queue
CN115766582A (en) Flow control method, device and system, medium and computer equipment
WO2020166617A1 (en) Resource-contention arbitration apparatus, resource-contention arbitration method, and program
CN102811154A (en) Resource acquisition method and network server system
CN114338562A (en) Priority scheduler, gateway and scheduling device
CN113271335A (en) System for managing and controlling operation of cloud computing terminal and cloud server
KR100447059B1 (en) Traffic Handling Processor Block Assignment Method of RNC in Wireless Communication System
CN114968507B (en) Image processing task scheduling method and device
CN118138925B (en) Bandwidth adjustment method, system and storage medium based on service priority

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
GR01 Patent grant
GR01 Patent grant