CN114826922A - Bandwidth adjusting method, device, server and storage medium - Google Patents

Bandwidth adjusting method, device, server and storage medium Download PDF

Info

Publication number
CN114826922A
CN114826922A CN202110110370.0A CN202110110370A CN114826922A CN 114826922 A CN114826922 A CN 114826922A CN 202110110370 A CN202110110370 A CN 202110110370A CN 114826922 A CN114826922 A CN 114826922A
Authority
CN
China
Prior art keywords
trigger event
target
event
bandwidth
trigger
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
CN202110110370.0A
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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network 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 Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202110110370.0A priority Critical patent/CN114826922A/en
Publication of CN114826922A publication Critical patent/CN114826922A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the disclosure discloses a bandwidth adjusting method, a bandwidth adjusting device, a server and a storage medium. The method comprises the following steps: under the condition that at least one trigger event in preset trigger events is triggered, acquiring a target trigger event from the at least one trigger event; and adjusting the bandwidth of the target flexible IP provided for the target service according to the bandwidth adjustment parameter corresponding to the target trigger event. The bandwidth adjusting method can automatically adjust the bandwidth according to the set triggering event, and is more efficient compared with a manual adjusting mode.

Description

Bandwidth adjusting method, device, server and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a bandwidth adjusting method, a bandwidth adjusting apparatus, a server, and a computer-readable storage medium.
Background
In the current cloud computing environment, a fixed public network bandwidth value is usually set, and when user traffic suddenly increases, problems such as network request delay and slow return are easily caused.
In the related art, considering that a user has a requirement for bandwidth adjustment within a certain time, a bandwidth adjustment window is provided, and the user can adjust the bandwidth through the bandwidth adjustment window according to the requirement of the user.
Disclosure of Invention
It is an object of the present disclosure to provide a new solution for bandwidth adjustment.
According to a first aspect of the present disclosure, there is provided a bandwidth adjustment method, comprising:
under the condition that at least one trigger event in preset trigger events is triggered, acquiring a target trigger event from the at least one trigger event;
and adjusting the bandwidth of the target flexible IP provided for the target service according to the bandwidth adjustment parameter corresponding to the target trigger event.
Optionally, the preset trigger event includes that the access amount of the target service exceeds a first set threshold, and/or that the access amount of the target service is lower than a second set threshold.
Optionally, when at least one trigger event in the preset trigger events is triggered, before acquiring a target trigger event from the at least one trigger event, the method further includes:
providing a configuration interface for the target resilient IP;
receiving and storing the preset trigger events of the target resilient IP configured by the configuration interface, bandwidth adjustment parameters of each trigger event, and event grades of each trigger event.
Optionally, the method further comprises:
and forbidding to readjust the bandwidth within a set time period after the bandwidth of the target elastic IP is adjusted according to the bandwidth adjustment parameter of the target trigger event.
Optionally, when at least one trigger event in the preset trigger events is triggered, acquiring a target trigger event from the at least one trigger event, including:
taking the unique trigger event as the target trigger event under the condition that the unique trigger event is triggered at the same time; or the like, or, alternatively,
under the condition that a plurality of trigger events are triggered at the same time in a preset trigger event, acquiring a target trigger event from the plurality of trigger events according to bandwidth adjustment parameters respectively corresponding to the plurality of trigger events.
Optionally, the obtaining a target trigger event from the multiple trigger events according to the bandwidth adjustment parameters respectively corresponding to the multiple trigger events includes:
acquiring event levels of the plurality of trigger events;
and taking the trigger event with the high event grade as the target trigger event.
The preset trigger event comprises any one or more of an alarm trigger event, a timing trigger event and a periodic trigger event,
the alarm triggering event is an event triggered when an alarm index meets a set alarm index threshold, the timing triggering event is an event triggered when set time arrives, and the periodic triggering event is an event triggered when set period time arrives.
Optionally, the adjusting the bandwidth of the target flexible IP according to the bandwidth adjustment parameter of the trigger event includes:
and adjusting the bandwidth of the elastic public network IP provided for exclusive share of the target service according to the bandwidth adjustment parameter corresponding to the target trigger event.
According to a second aspect of the present disclosure, there is provided a bandwidth adjusting apparatus, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a target trigger event from at least one trigger event under the condition that the at least one trigger event in preset trigger events is triggered;
and the adjusting module is used for adjusting the bandwidth of the target flexible IP provided for the target service according to the bandwidth adjusting parameter corresponding to the target trigger event.
According to a third aspect of the present disclosure, there is provided a server to which a target resilient IP is bound, comprising:
a memory for storing executable instructions;
a processor configured to execute the server to perform the method according to the first aspect.
According to a fourth aspect of the present disclosure, there is provided a computer readable storage medium storing a computer program readable and executable by a computer, the computer program being adapted to perform the method according to the first aspect above when read and executed by the computer.
According to the bandwidth adjusting method provided by the embodiment of the disclosure, for the elastic IP specified under the account, the bandwidth can be automatically adjusted through the set triggering event, and the method is more efficient compared with a manual adjusting mode; meanwhile, at least one trigger event is set for the elastic IP, so that the adjustment and monitoring of the bandwidth are more flexible; in addition, in the preset trigger event, the bandwidth of the target flexible IP is adjusted only according to the bandwidth adjustment parameter of the target trigger event, so that adjustment conflicts caused by different bandwidth adjustment parameters of different trigger events are avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram of a hardware configuration of a server cluster that may be used to implement embodiments of the present disclosure.
Fig. 2 is a schematic flow diagram of a bandwidth adjustment method according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow diagram of a bandwidth adjustment method according to one example of the present disclosure;
FIG. 4 is a functional block diagram of a bandwidth adjustment apparatus according to an embodiment of the present disclosure;
fig. 5 is a functional block diagram of a server according to an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a block diagram of a hardware configuration of a server cluster implementing an embodiment of the present disclosure.
As shown in fig. 1, the server cluster of this embodiment includes at least one server, and the server may be, for example, a server 1000a, a server 1000b, and a server 1000 c.
The server 1000 may be, for example, a monolithic server. In one example, server 1000 may be a computer.
In another example, the server may include the processor 1110, the memory 1120, the interface device 1130, the communication device 1140, the display device 1150, and the input device 1160 as shown in FIG. 1. The processor 1100 may be, for example, a central processing unit CPU or the like. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a serial interface, and the like. Communication device 1400 is capable of wired or wireless communication, for example. The display device 1500 is, for example, a liquid crystal display panel. The input device 1600 may include, for example, a touch screen, a keyboard, and the like.
It should be understood by those skilled in the art that although a plurality of devices of the server 1000 are shown in fig. 1, the server 1000 of the embodiments of the present disclosure may refer to only some of the devices therein, for example, only the processor 1100 and the memory 1200. This is well known in the art and will not be described in further detail herein.
As applied to this embodiment, the memory 1200 is used to store computer program instructions for controlling the processor 1100 to operate to perform a bandwidth adjustment method according to any embodiment of the present disclosure. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor 1100 is well known in the art and will not be described in detail herein.
In another example, the server 1000 may include a bandwidth adjusting apparatus 4000 according to any embodiment of the present disclosure, for implementing the bandwidth adjusting method of any embodiment of the present disclosure.
The scenario involved in this embodiment is that a user purchases an Elastic public Network IP (EIP), which is an Elastic IP based on a Network Address Translation (NAT) technology and is located in a public Network gateway provided by a cloud service provider, the Elastic public Network IP is associated with a cloud account and is unrelated to a created service instance, and the Elastic public Network IP does not join a shared bandwidth. The elastic public network IP is a public network IP address resource which can be independently purchased and held, and the bandwidth of the elastic public network IP refers to the bandwidth used when the elastic cloud service accesses the public network through the elastic public network IP. The service condition of the network can be displayed through the bandwidth of the elastic public network IP as the basis of charging. The shared bandwidth is the IP multiplexing bandwidth of all the elastic public networks in the target region. In this embodiment, in order to avoid affecting the bandwidth usage of other users in the target area after adjusting the bandwidth of the elastic public network IP purchased by the user, the elastic public network IP is required not to join the shared bandwidth.
Typically, a user may provide a variety of services, which may be, for example, an order service, a payment service, an evaluation service, and so forth. One of the services may be running on a cloud server, such as an order service running on server 1000a, a payment service running on server 1000b, and an evaluation service running on server 1000 c. The method comprises the steps that a public network elastic IP can be bound to each cloud server, and the public network elastic IP is not added with a shared bandwidth. Taking a target service as a payment service as an example, the target service is provided with a fixed public network bandwidth for the payment service, and meanwhile, a window for manually adjusting the bandwidth is opened, so that a user can adjust the bandwidth through the window according to the self demand, when the user traffic suddenly increases, the problems of network request delay, slow return and the like are easily caused, and the manual adjustment efficiency is low. In this embodiment, a new bandwidth adjustment method is provided, where a user configures preset trigger events for the flexible public network IP, and when at least one trigger event in the preset trigger events is triggered, a target trigger event is obtained from the at least one trigger event, and a bandwidth of the flexible public network IP is adjusted according to a bandwidth adjustment parameter of the target trigger event.
< method examples >
Fig. 2 is a schematic flow chart of a bandwidth adjusting method implemented by the bandwidth adjusting apparatus 5000 according to an embodiment of the present disclosure.
As shown in fig. 2, the method may include the following steps S2100 to S2200:
in step S2100, when at least one trigger event in the preset trigger events is triggered, a target trigger event is obtained from the at least one trigger event.
The target elastic IP may be an elastic public network IP above, that is, the target elastic IP may be an elastic public network IP bound by a cloud server deployed by a service that a user needs to perform bandwidth adjustment according to a demand, and the service may be referred to as a target service.
In this embodiment, the preset trigger event is a trigger event of a target service configured by a user through a configuration interface. For example, for the target resilient IP, only one configuration interface may be provided to configure the preset trigger event of the target resilient IP through the one configuration interface by the user. For another example, for the target resilient IP, a plurality of configuration interfaces may be configured, so that a user configures a preset trigger event of the target resilient IP through the plurality of configuration interfaces.
In one example, the preset trigger event includes that the access amount of the target service exceeds a first set threshold, and/or that the access amount of the target service is lower than a second set threshold.
The first set threshold and the second set threshold may be values set according to an actual application scenario and an actual requirement, and this embodiment is not limited herein.
Taking the practical application scenario as an example, starting at 10 pm on a preset date, the access amount for the payment service exceeds the first set threshold, and at this time, the subsequent step may be triggered to increase the bandwidth of the target flexible IP provided for the payment service.
In one example, the preset trigger event may include an alarm trigger event, a timing trigger event, and a periodic trigger event, so that the bandwidth is adjusted in a more flexible trigger manner, so that the bandwidth monitoring for the target resilient IP is more flexible. For example, only one configuration interface may be configured for alarm trigger events, timing trigger events, and periodic trigger events to configure the alarm trigger events, timing trigger events, and periodic trigger events through the one configuration interface. For another example, the corresponding configuration interfaces may be provided for the alarm trigger event, the timing trigger event, and the periodic trigger event, respectively, that is, three configuration interfaces are provided in total.
The alarm triggering event is an event triggered when the alarm index meets the set alarm index threshold.
The alarm indicator may include, for example, any one of or a combination of an outgoing traffic, an incoming traffic, an outgoing traffic usage, and an outgoing traffic usage. In this embodiment, for a target resilient IP, a plurality of alarm trigger events may be configured, for example, but not limited to, alarm trigger event 1, alarm trigger event 2, and alarm trigger event 3, where different alarm trigger events are represented based on different alarm indicators.
The alarm index threshold value can be set by a user according to an actual application scene and an actual application requirement, wherein different alarm indexes in the same target elastic IP can correspond to different alarm index threshold values and can also correspond to the same alarm index threshold value, and the same alarm index can correspond to only one alarm index threshold value and can also correspond to a plurality of alarm index threshold values.
Exemplarily, when the outgoing network flow of the flexible IP where the target service is located meets the first set flow, an alarm 1 is triggered; and triggering an alarm 2 when the outgoing network flow of the elastic IP where the target service is located meets the second set flow.
The above timing trigger event is an event triggered when a set time arrives. The set time may be a numerical value set by the user according to a specific application scenario and a specific application requirement, for example, the set time may be 10 pm at a preset date, or may be other numerical values, which is not limited herein.
The above cycle trigger event is an event triggered when a set cycle time arrives. The set cycle time may be a value set by the user according to a specific application scenario and a specific application requirement, for example, the set cycle time may be a certain day of each week, a certain day of each month, or the like, or may be other values, which is not described herein again.
In this embodiment, when at least one trigger event in the preset trigger events is triggered, the bandwidth adjustment parameter corresponding to the at least one trigger event may also be obtained.
In this embodiment, through the configuration interface provided above, the user may also configure corresponding bandwidth adjustment parameters for the configured preset trigger events, where the bandwidth adjustment parameters configured for each trigger event may be the same or different. For example, in a case that only one configuration interface exists, the configuration interface may configure a corresponding bandwidth adjustment parameter for a preset trigger event. For another example, when there are multiple configuration interfaces, the configuration interface corresponding to the configuration trigger event may configure the corresponding bandwidth adjustment parameter for the trigger event.
The above bandwidth adjustment parameter may include any one or more of an event name of a trigger event, an IP address, a cooling time, a target adjustment value, and an adjustment step size of a bandwidth. The cooling time is understood to be the duration of the deactivation adjustment.
Taking the target service as the order service as an example, the same bandwidth adjustment parameter may be set for a preset trigger event of the target flexible IP bound to the cloud server where the order service is located.
Continuing to take the target service as an order service as an example, a corresponding bandwidth adjustment parameter may also be set for each trigger event, for example, the bandwidth adjustment parameter corresponding to the alarm trigger event 1 is an event name, an IP address is a, a cooling time is 10ms, and a target adjustment value is B of a target flexible IP bound to a cloud server where the order service is located; the bandwidth adjustment parameter corresponding to the timing trigger event 1 is an event name, an IP address a, cooling time 20ms, and a target adjustment value C of a target flexible IP bound to a cloud server where the order service is located.
In an example, in the present step S2100, in a case that at least one trigger event in the preset trigger events is triggered, acquiring the target trigger event from the at least one trigger event may further include:
and taking the unique trigger event as a target trigger event under the condition that the unique trigger event is triggered at the same time.
For example, only one alarm triggering event 1 is triggered at the same time, which may be understood as triggering an alarm 1 alarm when the alarm index of the alarm 1 meets the set alarm index threshold, for example, in the case that the outgoing traffic of the resilient IP where the target service is located meets the first set traffic.
As another example, only one timed trigger event 1 is triggered at the same time, which may be understood as a set time, such as 10 pm on a preset date, has been reached.
As another example, only one periodic trigger event 1 is triggered at the same time, which may be understood as a set periodic time, e.g., a day of every month or a day of a week, is reached.
In an example, in this step S2100, when at least one trigger event in the preset trigger events is triggered, acquiring the target trigger event from the at least one trigger event may further include: and under the condition that a plurality of trigger events are triggered simultaneously at the same moment in the preset trigger events, acquiring a target trigger event from the plurality of trigger events according to bandwidth adjustment parameters respectively corresponding to the plurality of trigger events.
The obtaining of the target trigger event from the multiple trigger events according to the bandwidth adjustment parameters corresponding to the multiple trigger events may be specifically divided into two cases:
in the first case: and under the condition that the bandwidth adjustment parameters corresponding to the multiple trigger events are the same, taking any one of the multiple trigger events as a target trigger event.
For example, an alarm trigger event 1 and a timer trigger event 1 are triggered at the same time, and the alarm trigger event 1 and the timer trigger event 1 have the same bandwidth adjustment parameter, where the alarm trigger event 1 or the timer trigger event 1 may be used as the target trigger event.
For another example, an alarm trigger event 1 and a periodic trigger event 1 are triggered at the same time, and the alarm trigger event 1 and the periodic trigger event 1 have the same bandwidth adjustment parameter, where the alarm trigger event 1 or the periodic trigger event 1 may be used as the target trigger event.
In the second case: and under the condition that any two of the bandwidth adjustment parameters respectively corresponding to the multiple trigger events are different, acquiring the event grades of the multiple trigger events, and taking the trigger event with the highest event grade as a target trigger event.
In this case, through the configuration interface provided above, the user may also configure the corresponding event level for the configured preset trigger event. For example, in a case where only one configuration interface exists, a corresponding event level may be configured for a preset trigger event through the configuration interface. For another example, when there are a plurality of configuration interfaces, a corresponding event level may be configured for a trigger event through a configuration interface corresponding to the configuration trigger event.
It will be appreciated that the higher the event rating, the easier it is to respond. For example, the alarm trigger event has an event level of 1, the timing trigger event has an event level of 2, and the periodic trigger event has an event level of 3.
For example, an alarm trigger event 1 is triggered, a timing trigger event 1 and a periodic trigger event 1 are triggered at the same time, and since the bandwidth adjustment parameter of the alarm trigger event 1, the bandwidth adjustment parameter of the timing trigger event 1 and the bandwidth adjustment parameter of the periodic trigger event 1 are different, here, the event level of the alarm trigger event 1, the event level of the timing trigger event 1 and the trigger level of the periodic trigger event 1 may be obtained first, and since the event level of the alarm trigger event 1 is higher than the event level of the timing trigger event 1 and the event level of the periodic trigger event 1, the alarm trigger event 1 is used as a target trigger event.
It can be understood that, for the same elastic IP, the same time may be that a timing event and an alarm event are triggered, or that a cycle time and an alarm event are triggered, taking the timing event and the alarm event as an example, for example, the bandwidth adjustment of the elastic IP corresponding to the alarm event may be performed first, and then the bandwidth adjustment of the elastic IP corresponding to the alarm event is performed continuously, or, according to an actual situation, only the bandwidth adjustment of the elastic IP corresponding to the timing event may be performed, and then the bandwidth adjustment of the elastic IP corresponding to the alarm event is not performed, which is not limited in this embodiment.
Under the condition that at least one trigger event in preset trigger events is triggered, after a target trigger event is acquired from the at least one trigger event, entering:
step S2200 is performed to adjust the bandwidth of the target flexible IP provided for the target service according to the bandwidth adjustment parameter corresponding to the target trigger event.
In this embodiment, since the bandwidth adjustment parameter of the target trigger event is already acquired when step S2100 is executed, after the target trigger event is determined, the bandwidth of the target flexible IP may be adjusted according to the bandwidth adjustment parameter of the target trigger event.
In this embodiment, in step S2200, adjusting the bandwidth of the target flexible IP provided for the target service according to the bandwidth adjustment parameter corresponding to the target trigger event may further include: and adjusting the bandwidth of the elastic public network IP provided for exclusive share of the target service according to the bandwidth adjustment parameter corresponding to the target trigger event.
Since the bandwidth adjustment parameter of the target trigger event includes at least one of the adjustment target value of the bandwidth and the adjustment step length of the bandwidth, the bandwidth provided to the flexible public network IP shared exclusively by the target service may be adjusted according to the adjustment target value of the target trigger event or the adjustment step length of the bandwidth.
In one example, when the target trigger event is one trigger event, the bandwidth provided to the flexible public network IP shared exclusively by the target service may be adjusted directly according to the bandwidth adjustment parameter corresponding to the one trigger event.
For example, the target trigger event is an alarm trigger event 1, and the bandwidth adjustment parameter of the alarm trigger event 1 is an event name, an IP address a, cooling time 10ms, and a target adjustment value B of a target flexible IP bound to a cloud server where the order service is located, that is, when the alarm 1 gives an alarm, the bandwidth provided to the flexible public network IP shared by the order service is adjusted to a target bandwidth value B.
For another example, the target trigger event is a timing trigger event 1, and the bandwidth adjustment parameter of the timing trigger event 1 is an event name, an IP address a, cooling time 20ms, and a target adjustment value C of a target flexible IP bound to a cloud server where the order service is located, that is, when the cloud server arrives at 10 pm on a preset date, the bandwidth provided to the flexible public network IP shared by the order service is adjusted to the target bandwidth value C.
In one example, when the target trigger event is a plurality of trigger events, since the plurality of trigger events all have the same bandwidth adjustment parameter, the bandwidth of the target service may be adjusted according to the same bandwidth adjustment parameter.
For example, the target trigger event is an alarm trigger event 1 and a timing trigger event 1, and the alarm trigger event 1 and the timing trigger event 1 have the same bandwidth adjustment parameter, where the bandwidth adjustment parameter is an event name, an IP address a, a cooling time 10ms, and a target adjustment value B of a target flexible IP bound to a cloud server where the order service is located, that is, the target flexible IP may arrive at 10 pm on a preset date, and when the alarm 1 alarms at this time, the bandwidth provided to the flexible public network IP shared by the order service may be adjusted to a target bandwidth value B.
For another example, the target trigger event is an alarm trigger event 1 and a periodic trigger event 1, and the alarm trigger event 1 and the periodic trigger event 1 have the same bandwidth adjustment parameter, where the bandwidth adjustment parameter is an event name, an IP address a, a cooling time 10ms, and a target adjustment value B of a target flexible IP bound to a cloud server where the order service is located, that is, the target flexible IP may arrive at a certain day of each month, and when the alarm 1 alarms at that time, the bandwidth provided to the flexible public network IP shared by the order service may be adjusted to a target bandwidth value B.
According to the embodiment of the disclosure, the bandwidth of the elastic IP specified under the account can be automatically adjusted through the set trigger event, and the method is more efficient compared with a manual adjustment mode; meanwhile, at least one trigger event is set for the target service, so that the bandwidth adjustment and monitoring are more flexible; in addition, in the preset trigger event, the bandwidth of the target flexible IP is adjusted only according to the bandwidth adjustment parameter of the target trigger event, so that adjustment conflicts caused by different bandwidth adjustment parameters of different trigger events are avoided.
In an embodiment, in the case that at least one trigger event is triggered in the preset trigger events according to the above step S2100, before the target trigger event is obtained from the at least one trigger event, a configuration interface may also be provided for the target flexible IP; and receiving and storing preset trigger events of the target elastic IP configured through the configuration interface, bandwidth adjustment parameters of each trigger event and event grades of each trigger event.
In one example, as described in the above embodiment, only one configuration interface may be provided for the target resilient IP, so that the user configures the preset trigger events, the bandwidth adjustment parameters of each trigger event, and the event levels of each trigger event of the target resilient IP through the one configuration interface.
For example, the alarm triggering event of the target flexible IP, the bandwidth adjustment parameter corresponding to the alarm triggering event, and the event level of the alarm triggering event may be configured through the configuration interface; configuring a timing trigger event of a target flexible IP, a bandwidth adjustment parameter corresponding to the timing trigger event and an event grade of an alarm trigger event; and configuring a periodic trigger event of the target resilient IP, a bandwidth adjustment parameter corresponding to the periodic trigger event and an event grade of the periodic trigger event.
In one example, as described in the above embodiment, for the target resilient IP, a plurality of configuration interfaces may also be provided, so that the user configures the preset trigger event of the target resilient IP, the bandwidth adjustment parameter of each trigger event, and the event level of each trigger event through the plurality of configuration interfaces.
For example, an alarm triggering event of the target resilient IP, a bandwidth adjustment parameter corresponding to the alarm triggering event, and an event level of the alarm triggering event may be configured through one of the configuration interfaces.
For another example, the timing trigger event of the target resilient IP, the bandwidth adjustment parameter corresponding to the timing trigger event, and the event level of the alarm trigger event may be configured through another configuration interface.
For another example, the period trigger event of the target resilient IP, the bandwidth adjustment parameter corresponding to the period trigger event, and the event level of the period trigger event may be configured through the third configuration interface.
It can be understood that the bandwidth adjustment parameters corresponding to the different trigger events may be the same or different, and in the case that the same bandwidth adjustment parameters are configured for different trigger events, it can also be understood that only one bandwidth adjustment parameter is configured for the target resilient IP.
According to the embodiment, a man-machine interaction interface is provided to support an operator to set a trigger event of the target flexible IP according to the current actual requirement, so that customized design is realized.
In one embodiment, the bandwidth is prohibited from being readjusted within a set time period after the bandwidth of the target resilient IP is adjusted according to the bandwidth adjustment parameter of the target trigger event according to the above step S2200.
In this embodiment, the set time period is the cooling time in the above embodiment, and according to the above embodiment, the preset trigger events may all have the same cooling time, or a corresponding cooling time may be set for each trigger event, and the cooling times corresponding to different trigger events may be the same or different.
For example, the target trigger event is an alarm trigger event 1, and the bandwidth adjustment parameter of the alarm trigger event 1 is an event name, an IP address a, a cooling time 10ms, and a target adjustment value B of a target flexible IP bound to a cloud server where the order service is located, that is, when the alarm 1 alarms, the bandwidth provided to the flexible public network IP shared by the order service is adjusted to a target bandwidth value B, and at the same time, after the bandwidth of the flexible public network IP shared by the order service is adjusted to 10ms after the target bandwidth value B, the bandwidth provided to the flexible public network IP shared by the order service is prohibited from being adjusted again.
According to the embodiment, the bandwidth is prohibited from being readjusted within the set time period after the bandwidth of the target service is adjusted according to the bandwidth adjustment parameter of the target trigger event, so that the adjustment efficiency is prevented from being low due to frequent adjustment of the bandwidth within a short time.
< example >
Fig. 3 illustrates a method for adjusting a corresponding bandwidth by taking a target service as an example of an order service, where in this example, the method for adjusting a corresponding bandwidth may include the following steps:
step S3100, providing a configuration interface for the target resilient IP bound to the cloud server where the order service is located.
Step S3200, receiving and storing preset trigger events of the target resilient IP configured through the configuration interface, bandwidth adjustment parameters of each trigger event, and event levels of each trigger event.
The preset trigger events may include alarm trigger events, timing trigger events, and periodic trigger events. The alarm trigger event, the timing trigger event, and the periodic trigger event may all be IP address a, cooling time 10ms, and target adjustment value B, that is, only one bandwidth adjustment parameter is configured for the preset trigger event.
In step S3300, when the unique trigger event is triggered at the same time, the unique trigger event is set as a target trigger event.
For example, the target trigger event is a timed trigger event 1, and the timed trigger event 1 is a set time, for example, 10 pm of a preset date.
And step S3400, adjusting the bandwidth of the elastic public network IP provided for exclusive sharing of order service according to the bandwidth adjustment parameter corresponding to the target trigger event.
For example, the bandwidth of the flexible public network sharing IP provided to the order service exclusive sharing is adjusted to the target bandwidth value B when the preset date is reached at 10 pm.
< apparatus embodiment >
In this embodiment, a storage control apparatus is further provided, and as shown in fig. 4, the apparatus 4000 may include an obtaining module 4100 and an adjusting module 4200.
An obtaining module 4100, configured to obtain a target trigger event from at least one trigger event in preset trigger events when the at least one trigger event is triggered;
and adjusting the bandwidth of the target flexible IP provided for the target service according to the bandwidth adjustment parameter corresponding to the target trigger event.
In one embodiment, the preset trigger event includes that the visit volume of the target service exceeds a first set threshold value, and/or the visit volume of the target service is lower than a second set threshold value.
In one embodiment, the apparatus 4000 further comprises a configuration module (not shown).
The configuration module is used for providing a configuration interface aiming at the target flexible IP;
receiving and storing the preset trigger events of the target resilient IP configured by the configuration interface, bandwidth adjustment parameters of each trigger event, and event grades of each trigger event.
In an embodiment, the adjusting module 4200 is further configured to prohibit re-adjustment of the bandwidth within a set time period after the bandwidth of the target resilient IP is adjusted according to the bandwidth adjustment parameter of the target trigger event.
In an embodiment, the obtaining module 4100 is specifically configured to, when a unique trigger event is triggered at the same time, take the unique trigger event as the target trigger event; or the like, or, alternatively,
under the condition that a plurality of trigger events are triggered at the same time in a preset trigger event, acquiring a target trigger event from the plurality of trigger events according to bandwidth adjustment parameters respectively corresponding to the plurality of trigger events.
In an embodiment, the obtaining module 4100 is specifically configured to obtain event levels of the multiple trigger events; and taking the trigger event with the high event grade as the target trigger event.
In one embodiment, the preset trigger event comprises any one or more of an alarm trigger event, a timing trigger event and a periodic trigger event,
the alarm triggering event is an event triggered when an alarm index meets a set alarm index threshold, the timing triggering event is an event triggered when set time arrives, and the periodic triggering event is an event triggered when set period time arrives.
In an embodiment, the adjusting module 4200 is specifically configured to adjust a bandwidth provided to a flexible public network IP that is exclusively shared by a target service according to a bandwidth adjustment parameter corresponding to the target trigger event.
< apparatus embodiment >
In this embodiment, a server 5000 is further provided, where the server 5000 is bound with a target flexible IP, and may include a bandwidth adjusting apparatus 4000 according to any embodiment of the present invention, configured to implement the bandwidth adjusting method according to any embodiment of the present invention.
Referring to fig. 5, the server 5000 may further include a processor 5100 and a memory 5200 for storing executable instructions; the processor 5100 is configured to operate the server 1000 to perform a bandwidth adjustment method according to any embodiment of the present disclosure according to a control of the instruction.
< media examples >
In this embodiment, a computer-readable storage medium is further provided, which stores a computer program that can be read and executed by a computer, and when the computer program is read and executed by the computer, the computer program is configured to perform the method according to any of the above embodiments of the present disclosure.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the disclosure are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.

Claims (11)

1. A bandwidth adjusting method is characterized in that,
under the condition that at least one trigger event in preset trigger events is triggered, acquiring a target trigger event from the at least one trigger event;
and adjusting the bandwidth of the target flexible IP provided for the target service according to the bandwidth adjustment parameter corresponding to the target trigger event.
2. The method according to claim 1, wherein the preset trigger event comprises that the access amount of the target service exceeds a first set threshold, and/or that the access amount of the target service is lower than a second set threshold.
3. The method according to claim 1, wherein before acquiring a target trigger event from at least one trigger event in a case where the at least one trigger event is triggered in the preset trigger events, the method further comprises:
providing a configuration interface for the target resilient IP;
and receiving and storing the preset trigger events of the target flexible IP, the bandwidth adjustment parameters of each trigger event and the event grade of each trigger event, which are configured through the configuration interface.
4. The method of claim 1, further comprising:
and forbidding to readjust the bandwidth within a set time period after the bandwidth of the target elastic IP is adjusted according to the bandwidth adjustment parameter of the target trigger event.
5. The method according to claim 3, wherein in a case that at least one trigger event in the preset trigger events is triggered, acquiring a target trigger event from the at least one trigger event comprises:
taking the unique trigger event as the target trigger event under the condition that the unique trigger event is triggered at the same time; or the like, or, alternatively,
under the condition that a plurality of trigger events are triggered at the same time in a preset trigger event, acquiring a target trigger event from the plurality of trigger events according to bandwidth adjustment parameters respectively corresponding to the plurality of trigger events.
6. The method according to claim 5, wherein the obtaining a target trigger event from the plurality of trigger events according to the bandwidth adjustment parameters corresponding to the plurality of trigger events respectively comprises:
acquiring event levels of the plurality of trigger events;
and taking the trigger event with the high event grade as the target trigger event.
7. The method of claim 1, wherein the preset trigger event comprises any one or more of an alarm trigger event, a timing trigger event and a periodic trigger event,
the alarm triggering event is an event triggered when an alarm index meets a set alarm index threshold, the timing triggering event is an event triggered when set time arrives, and the periodic triggering event is an event triggered when set period time arrives.
8. The method according to claim 1, wherein the adjusting the bandwidth of the target resilient IP provided for the target service according to the bandwidth adjustment parameter corresponding to the trigger event comprises:
and adjusting the bandwidth of the elastic public network IP provided for exclusive share of the target service according to the bandwidth adjustment parameter corresponding to the target trigger event.
9. A bandwidth adjustment apparatus, comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a target trigger event from at least one trigger event under the condition that the at least one trigger event in preset trigger events is triggered;
and the adjusting module is used for adjusting the bandwidth of the target flexible IP provided for the target service according to the bandwidth adjusting parameter corresponding to the target trigger event.
10. A server bound with a target resilient IP, comprising:
a memory for storing executable instructions;
a processor for operating the server to perform the method according to the control of the instruction, wherein the method is as claimed in any one of claims 1 to 8.
11. A computer-readable storage medium, in which a computer program is stored which is readable and executable by a computer, and which, when read by the computer, is adapted to perform the method according to any one of claims 1 to 8.
CN202110110370.0A 2021-01-27 2021-01-27 Bandwidth adjusting method, device, server and storage medium Pending CN114826922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110110370.0A CN114826922A (en) 2021-01-27 2021-01-27 Bandwidth adjusting method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110110370.0A CN114826922A (en) 2021-01-27 2021-01-27 Bandwidth adjusting method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN114826922A true CN114826922A (en) 2022-07-29

Family

ID=82524324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110110370.0A Pending CN114826922A (en) 2021-01-27 2021-01-27 Bandwidth adjusting method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN114826922A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771661B1 (en) * 1999-07-21 2004-08-03 Cisco Technology, Inc. Apparatus and methods for providing event-based data communications device configuration
CN101237391A (en) * 2007-02-01 2008-08-06 中兴通讯股份有限公司 Channel bandwidth dynamic adjusting device and method
CN101374010A (en) * 2007-08-20 2009-02-25 中兴通讯股份有限公司 Triggering method for requesting bandwidth of relay station
CN101557644A (en) * 2008-04-11 2009-10-14 中兴通讯股份有限公司 Adjusting method for wireless signal-path band width
WO2017166164A1 (en) * 2016-03-31 2017-10-05 华为技术有限公司 Downlink physical channel sending method, ue, and base station
CN107294748A (en) * 2016-04-01 2017-10-24 中兴通讯股份有限公司 A kind of bandwidth adjusting method and device
CN107888428A (en) * 2017-12-04 2018-04-06 郑州云海信息技术有限公司 A kind of bandwidth adjusting method, device, equipment and readable storage medium storing program for executing
CN110290530A (en) * 2018-03-19 2019-09-27 维沃移动通信有限公司 Method, source node and the destination node of wireless communication
CN110880991A (en) * 2019-12-06 2020-03-13 北京金山云网络技术有限公司 Bandwidth limiting method, device and system
CN111211915A (en) * 2018-11-21 2020-05-29 中国科学院深圳先进技术研究院 Method for adjusting network bandwidth of container, computer device and readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771661B1 (en) * 1999-07-21 2004-08-03 Cisco Technology, Inc. Apparatus and methods for providing event-based data communications device configuration
CN101237391A (en) * 2007-02-01 2008-08-06 中兴通讯股份有限公司 Channel bandwidth dynamic adjusting device and method
CN101374010A (en) * 2007-08-20 2009-02-25 中兴通讯股份有限公司 Triggering method for requesting bandwidth of relay station
CN101557644A (en) * 2008-04-11 2009-10-14 中兴通讯股份有限公司 Adjusting method for wireless signal-path band width
WO2017166164A1 (en) * 2016-03-31 2017-10-05 华为技术有限公司 Downlink physical channel sending method, ue, and base station
CN107294748A (en) * 2016-04-01 2017-10-24 中兴通讯股份有限公司 A kind of bandwidth adjusting method and device
CN107888428A (en) * 2017-12-04 2018-04-06 郑州云海信息技术有限公司 A kind of bandwidth adjusting method, device, equipment and readable storage medium storing program for executing
CN110290530A (en) * 2018-03-19 2019-09-27 维沃移动通信有限公司 Method, source node and the destination node of wireless communication
CN111211915A (en) * 2018-11-21 2020-05-29 中国科学院深圳先进技术研究院 Method for adjusting network bandwidth of container, computer device and readable storage medium
CN110880991A (en) * 2019-12-06 2020-03-13 北京金山云网络技术有限公司 Bandwidth limiting method, device and system

Similar Documents

Publication Publication Date Title
CN108156205B (en) Message pushing method, client, server and programmable device
US9747286B2 (en) Acquiring information dynamically regarding a hardware component in the cloud computing system while on the floor of the data center
US20160349944A1 (en) Dynamic tidy correlated icon depending on the favorite
CN104009892A (en) Monitoring method and device for traffic of mobile terminal and client side
CN111708557B (en) Method, device and storage medium for updating configuration file
US10044837B2 (en) Generation and distribution of named, definable, serialized tokens
US11073970B2 (en) Dashboard generation based on user interaction
US20170013460A1 (en) Controlling application access to applications and resources via graphical representation and manipulation
CN111988355A (en) Current limiting method and device, server and server cluster
US10680953B2 (en) Controlling incoming traffic
WO2018017315A1 (en) Systems and methods for event aggregation to reduce network bandwidth and improve network and activity feed server efficiency
WO2018145609A1 (en) Advertisement display control method and device, server, and client
CN109688094A (en) Suspicious IP configuration method, device, equipment and storage medium based on network security
US20200379743A1 (en) Usb-based method and device for upgrading electronic apparatus, and electronic apparatus
RU2621603C2 (en) Method and device for information filtration
CN112445588A (en) Application task processing method, device and equipment and readable storage medium
CN112243024B (en) Service control method, device, server and storage medium
US10069913B2 (en) Maintaining state synchronization of an application between computing devices as well as maintaining state synchronization of common information between different applications without requiring periodic synchronization
CN114826922A (en) Bandwidth adjusting method, device, server and storage medium
CN112631497A (en) Data configuration method, data input method, data configuration device, data input device and electronic equipment
CN112817701B (en) Timer processing method, device, electronic equipment and computer readable medium
CN112995254B (en) Method, equipment, system, device and component for transmitting heartbeat information
US20210117287A1 (en) Method, device, and computer program product for backing up data
CN111914148A (en) Switching method and device of search engine and electronic equipment
CN113326169A (en) Data monitoring method and device and electronic equipment

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