[go: up one dir, main page]

CN119583320A - Bandwidth management method, device, computer equipment and storage medium - Google Patents

Bandwidth management method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN119583320A
CN119583320A CN202411791569.4A CN202411791569A CN119583320A CN 119583320 A CN119583320 A CN 119583320A CN 202411791569 A CN202411791569 A CN 202411791569A CN 119583320 A CN119583320 A CN 119583320A
Authority
CN
China
Prior art keywords
target
backup
bandwidth
information
service
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
CN202411791569.4A
Other languages
Chinese (zh)
Inventor
关雨晗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Cloud Technology Co Ltd
Original Assignee
China Telecom Cloud 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 China Telecom Cloud Technology Co Ltd filed Critical China Telecom Cloud Technology Co Ltd
Priority to CN202411791569.4A priority Critical patent/CN119583320A/en
Publication of CN119583320A publication Critical patent/CN119583320A/en
Pending legal-status Critical Current

Links

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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0859Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions
    • 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/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • 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/0889Techniques to speed-up the configuration process
    • 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)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请涉及一种带宽管理方法、装置、计算机设备和存储介质。所述方法包括:响应于请求端发送的数据备份请求,确定数据备份请求对应的目标备份链路,并向备份端发送查询请求;其中,查询请求用于查询备份端对备份链路中云专线的带宽服务,目标备份链路用于将请求端的生产节点产生的数据经云专线传输至备份端的备份节点进行备份;获取目标备份链路的目标配置信息和备份端根据查询请求发送的查询响应;根据目标配置信息和查询响应,对目标备份链路的目标带宽服务进行管理;其中,目标带宽服务用于对目标备份链路通过云专线传输数据的带宽进行管控。采用本方法能够对备份服务提供限速带宽服务,并实现对限速带宽服务的有效管理。

The present application relates to a bandwidth management method, device, computer equipment and storage medium. The method includes: responding to a data backup request sent by a requesting end, determining a target backup link corresponding to the data backup request, and sending a query request to the backup end; wherein the query request is used to query the backup end for the bandwidth service of the cloud dedicated line in the backup link, and the target backup link is used to transmit the data generated by the production node of the requesting end to the backup node of the backup end via the cloud dedicated line for backup; obtaining the target configuration information of the target backup link and the query response sent by the backup end according to the query request; managing the target bandwidth service of the target backup link according to the target configuration information and the query response; wherein the target bandwidth service is used to control the bandwidth of the target backup link to transmit data through the cloud dedicated line. This method can provide speed-limited bandwidth service for backup services and realize effective management of speed-limited bandwidth service.

Description

Bandwidth management method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a bandwidth management method, apparatus, computer device, and storage medium.
Background
With the development of database technology, database disaster recovery technology has emerged.
In the related art, a database disaster recovery technology generally provides a disaster recovery backup service (simply referred to as backup service) on a cloud for a user through a disaster recovery platform. The user can use the backup service to synchronize the data of the production database, the middleware and other services of the production node to the resource pool of the backup node for backup.
In the prior art, when a production node uses a backup service to perform database disaster recovery backup, the backup service can occupy resources of other services, so that the processing efficiency of the other services is reduced.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a bandwidth management method, apparatus, computer device, and storage medium that can provide a speed-limiting bandwidth service to a backup service and achieve effective management of the speed-limiting bandwidth service.
In a first aspect, the present application provides a bandwidth management method, the method comprising:
The method comprises the steps of responding to a data backup request sent by a request end, determining a target backup link corresponding to the data backup request, and sending a query request to a backup end, wherein the query request is used for querying bandwidth service of the backup end to a cloud private line in the backup link, and the target backup link is used for transmitting data generated by a production node of the request end to a backup node of the backup end for backup through the cloud private line;
acquiring target configuration information of the target backup link and query response sent by the backup terminal according to the query request;
and managing the target bandwidth service of the target backup link according to the target configuration information and the query response, wherein the target bandwidth service is used for managing and controlling the bandwidth of the target backup link for transmitting data through the cloud private line.
In one embodiment, the managing the target bandwidth service of the target backup link according to the target configuration information and the query response includes:
under the condition that the number of the historical bandwidth services included in the query response is 0, sending a creation instruction to the backup terminal to instruct the backup terminal to create the target bandwidth service and obtain target bandwidth identification information of the target bandwidth service sent by the backup terminal, wherein the creation instruction comprises the target configuration information;
Acquiring target bandwidth identification information of the target backup link according to the target configuration information and the history attribute information of each history bandwidth service under the condition that the query response comprises at least one history bandwidth service;
and managing the target bandwidth service according to the target bandwidth identification information.
In one embodiment, the target configuration information includes target tuple information, the history attribute information includes history tuple information, and the obtaining, according to the target configuration information and the history attribute information of each history bandwidth service, target bandwidth identification information of the target backup link includes:
Sending a creation instruction to the backup terminal to instruct the backup terminal to create the target bandwidth service under the condition that the target tuple information and the history tuple information are different, wherein the creation instruction comprises the target configuration information;
and acquiring the target bandwidth identification information sent by the backup terminal.
In one embodiment, the target configuration information includes target tuple information and target bandwidth speed limit information, the history attribute information includes history configuration information and history bandwidth identification information, the history configuration information includes history tuple information and history bandwidth speed limit information, and the obtaining the target bandwidth identification information of the target backup link according to the target configuration information and the history attribute information of each history bandwidth service includes:
Determining candidate bandwidth services from the historical bandwidth services according to the target tuple information and the historical tuple information, wherein the historical tuple information of the candidate bandwidth services is identical to the target tuple information;
and determining the historical bandwidth identification information of the candidate bandwidth service as the target bandwidth identification information.
In one embodiment, the managing the target bandwidth service according to the target bandwidth identification information includes:
Under the condition that the configuration information of the target backup link is detected to change, acquiring corresponding target configuration information from the backup end according to the target bandwidth identification information, and acquiring current configuration information of the target backup link;
And sending an adjustment instruction to the backup terminal to instruct the backup terminal to adjust the target bandwidth service under the condition that the current configuration information and the target configuration information are different, wherein the adjustment instruction comprises the current configuration information and the target bandwidth identification information.
In one embodiment, the target configuration information includes target tuple information and target bandwidth speed limit information, and the current configuration information includes current tuple information and current bandwidth speed limit information, where sending, when the current configuration information and the target configuration information are different, an adjustment instruction to the backup terminal includes:
under the condition that the target tuple information and the current tuple information are different, a first adjustment instruction is sent to the backup terminal to instruct the backup terminal to delete the target bandwidth service according to the target bandwidth identification information, and to create the current bandwidth service of the target backup link according to the current configuration information and to send the current bandwidth identification information of the current bandwidth service;
And under the condition that the target tuple information is the same as the current tuple information and the target bandwidth speed limit information is different from the current bandwidth speed limit information, sending a second adjustment instruction to the backup terminal to instruct the backup terminal to update the target bandwidth speed limit information of the target bandwidth service to the current bandwidth speed limit information, wherein the second adjustment instruction comprises the current bandwidth speed limit information and the target bandwidth identification information.
In one embodiment, the determining, in response to the data backup request sent by the request end, the target backup link corresponding to the data backup request, and sending a query request to the backup end includes:
controlling the backup node to open a backup database according to the backup subnet information in the data backup request;
Controlling the production node to store a data synchronization tool in the same subnet of a production database according to the data source subnet information in the data backup request;
And determining the target backup link according to the production database, the data synchronization tool and the backup database, wherein the target backup link represents a link from the production database to a local gateway through the data synchronization tool and sequentially from a private line gateway to a cloud gateway through the cloud private line.
In a second aspect, the present application provides a bandwidth management apparatus, the apparatus comprising:
The system comprises a request end, a query module, a backup end, a target backup link, a backup end and a backup end, wherein the request end is used for sending a request to the backup end, the request end is used for requesting the backup end to carry out the backup on the data generated by the production node of the request end;
the acquisition module is used for acquiring the target configuration information of the target backup link and the query response sent by the backup terminal according to the query request;
And the management module is used for managing the target bandwidth service of the target backup link according to the target configuration information and the query response, wherein the target bandwidth service is used for managing and controlling the bandwidth of the target backup link for transmitting data through the cloud private line.
In a third aspect, the present application provides a computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method described above.
According to the bandwidth management method, the device, the computer equipment and the storage medium, the data backup request sent by the request end is responded, the target backup link corresponding to the data backup request is determined, the query request is sent to the backup end, the target configuration information of the target backup link and the query response sent by the backup end according to the query request are obtained, and the target bandwidth service of the target backup link is managed according to the target configuration information and the query response, so that the bandwidth of the target backup link can be limited based on the target bandwidth service, the bandwidth limitation of the data backup link is realized, the influence on other network services sharing a cloud private line with the data backup service is avoided, and the stability and the reliability of network transmission are ensured. Compared with the method for controlling the data transmission speed by using the data synchronization tool, the method for controlling the data transmission speed in the cloud private line bandwidth in the data backup link achieves the limitation of the transmission speed from the network layer instead of the application layer, can control the bandwidth used for data synchronization more accurately, and expands the control range of the data bandwidth. In addition, the bandwidth management method provided by the embodiment of the application can automatically adjust and manage the corresponding target bandwidth service based on the data backup requests sent by the request terminals, thereby realizing the self-adaptive management of different data backup links corresponding to the data backup requests sent by different request terminals, and improving the effective management and control of the bandwidth service.
Drawings
FIG. 1 is an application environment diagram of a bandwidth management method in one embodiment;
FIG. 2 is a diagram of an application environment for a bandwidth management method in another embodiment;
FIG. 3 is a flow chart of a bandwidth management method according to one embodiment;
FIG. 4 is a second flowchart illustrating a bandwidth management method according to an embodiment;
FIG. 5 is a third flow chart of a bandwidth management method according to one embodiment;
FIG. 6 is a flow chart of a bandwidth management method according to one embodiment;
FIG. 7 is a flowchart of a bandwidth management method according to an embodiment;
FIG. 8 is a flowchart of a bandwidth management method according to an embodiment;
FIG. 9 is a flow chart of a bandwidth management method according to one embodiment;
FIG. 10 is a flowchart illustrating a bandwidth management method according to one embodiment;
FIG. 11 is a block diagram of a bandwidth management apparatus in one embodiment;
fig. 12 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The bandwidth management method provided by the embodiment of the application can be applied to an application environment shown in figure 1. As shown in fig. 1 and 2, the application environment includes a disaster recovery platform 10, a request end 20, and a backup end 30. The disaster recovery platform 10 is connected to the request end 20 and the backup end 30 through a network. The disaster recovery platform 10 is configured to determine a target backup link corresponding to the data backup request in response to the data backup request sent by the request end 20, send a query request to the backup end 30, obtain target configuration information of the target backup link and a query response sent by the backup end 30 according to the query request, and manage a target bandwidth service of the target backup link according to the target configuration information and the query response. The production node 21 may be understood as a node that generates source data to be backed up, for example, data generated by the production database 211, middleware, etc. in the production node 21 needs to be backed up. For example, the production node 21 may be a local machine room, private cloud, or other pool of resources where there is a need for data backup, etc. The request end 20 may be understood as a terminal or a server corresponding to the production node 21, where the request end 20 is configured to manage the production node 21. The backup node 31 is configured to backup source data, for example, the backup node 31 may be a cloud computer room, a private cloud, or other resource pool capable of backing up data, etc. The backup terminal 30 may be understood as a terminal, a server, or a platform corresponding to the backup node 31, where the backup terminal 30 is configured to manage the backup node 31.
It can be understood that the target backup link is used to transmit the data generated by the production node 21 of the request end 20 to the backup node 31 of the backup end 30 via the cloud dedicated line for backup. For example, as shown in fig. 2, taking a scenario in which data generated by the production database 211 of the production node 21 needs to be backed up to the backup database 313 of the backup node 31 as an example, the target backup link refers to a scenario from the production database 211 of the production node 21 to the local gateway 213 via the data synchronization tool 212, then to the dedicated line gateway 311 of the backup node 31 via the cloud dedicated line, and then to the backup database 313 via the cloud gateway 312.
Cloud private line is a connection service between a user's local data center and a VPC (Virtual Private Cloud ). The cloud private line product flexibly builds a dedicated connection channel with high speed, low time delay, stability and safety under the cloud by depending on the existing IT (Information Technology ) infrastructure. One end of the private line is connected with the local gateway 213 equipment, and the other end is connected with the private line gateway 311, so that the internal local area network of the user local data center is connected to the access point of the backup cloud end, and the internal network-level communication quality is realized. In the embodiment of the present application, the cloud private line may be understood as a private line gateway 311 for connecting the local gateway 213 of the production node 21 and the backup node 31.
In one embodiment, as shown in fig. 1 to 3, a bandwidth management method is provided, and the method is applied to the disaster recovery platform in fig. 1 for illustration, and includes the following steps S302 to S306.
S302, responding to a data backup request sent by a request end, determining a target backup link corresponding to the data backup request, and sending a query request to the backup end.
The data backup request is used to represent a request to backup data generated by a production node at the requesting end. Illustratively, the data backup request includes data source subnet information, backup subnet information, and target bandwidth limit information. The data source subnet information is used for representing subnet segment information of the production node, and can be represented by CIDR (CLASSLESS INTER-Domain Routing, class-free inter-Domain Routing) format. The backup subnet information is used to represent subnet segment information of the backup node, and may also be represented in CIDR format. The target bandwidth speed limit information is used for representing information related to bandwidth speed limit of the target backup link. Illustratively, the target bandwidth speed limit information includes a bandwidth speed limit value and a bandwidth packet ID (Identity). The bandwidth speed limit value can be the maximum transmission speed of a target backup link set by a user, wherein the unit is MB/s, the bandwidth packet identifier is used for identifying a bandwidth packet, and the bandwidth packet is the bandwidth packet acted by a special cloud line bandwidth speed limit product purchased by the user.
In the application, after receiving the data backup request, the disaster recovery platform can judge whether the bandwidth limit value in the data backup request is larger than the maximum value of the cloud private line bandwidth corresponding to the bandwidth packet ID according to the bandwidth packet ID, if so, the bandwidth limit value set by the user is adjusted, and the adjusted bandwidth limit value is smaller than or equal to the maximum value of the cloud private line bandwidth corresponding to the bandwidth packet ID.
The query request is used for querying the bandwidth service of the backup terminal to the cloud private line in the backup link. The query request is intended to query the bandwidth service created in the backup side. The bandwidth service is a service for managing and controlling the bandwidth of a cloud dedicated line of a backup link for data transmission between a production node and a backup node. The target backup link is used for transmitting the data generated by the production node of the request end to the backup node of the backup end for backup through the cloud private line. The bandwidth service created by the backup end may or may not include the target bandwidth service of the target backup link.
In the application, after receiving the data backup request sent by the request end for the first time, the disaster recovery platform can instruct the backup end to open the backup database at the backup node and instruct the request end to deploy the data synchronization tool at the production node, thereby determining the target backup link corresponding to the data backup request, that is, the target backup link is sequentially connected to the cloud private line from the production database of the production node through the data synchronization tool and the local gateway, and then sequentially connected to the backup database through the private line gateway and the cloud gateway of the backup node. And after receiving the data backup request, the disaster recovery platform can call an API (Application Program Interface ) to send a query request to the backup terminal so as to query whether the bandwidth service corresponding to the created cloud private line exists.
S304, acquiring target configuration information of a target backup link and query response sent by the backup terminal according to the query request.
The target configuration information is used to represent information related to the target backup link configuration. Illustratively, the target configuration information includes target tuple information and target bandwidth limit information. Wherein the target tuple information is used to identify a base element of the target backup link in the network communication. Illustratively, the destination tuple information includes source IP (Internet Protocol ) address information, source port information, destination IP address information, destination port information, and transport protocol information of the destination backup link. Wherein the source IP address, source port, destination IP address, destination port, and transport protocol are collectively referred to as a five-tuple. The target bandwidth speed limit information is used for indicating information for limiting the speed of the cloud private line bandwidth in the target backup link. Illustratively, the target bandwidth limit information includes a bandwidth limit value and a bandwidth packet ID.
The query response is generated and sent by the backup terminal according to the query request. The query response is used for indicating whether the backup terminal has the query result of the bandwidth service corresponding to the created cloud private line. In an exemplary case that the backup end has the created cloud private line bandwidth service, the query response includes history attribute information of the bandwidth service corresponding to the created cloud private line, or simply referred to as a history bandwidth service object, where the history attribute information is used to represent information related to the history bandwidth service. Still further exemplary, in the case that the backup end does not have the bandwidth service corresponding to the created cloud private line, the query response does not include the historical bandwidth service object.
And S306, managing the target bandwidth service of the target backup link according to the target configuration information and the query response.
The target bandwidth service is used for carrying out speed limiting management on the cloud private line bandwidth of the target backup link. The target bandwidth service is configured to perform speed limiting management on the cloud private line bandwidth of the target backup link according to the bandwidth speed limiting value, where the bandwidth speed limiting value can be described in the foregoing, and is not described herein. In the embodiment of the application, the bandwidth service can be understood as a service for limiting the speed of the special cloud bandwidth of the backup link in the backup service.
In the application, the disaster recovery platform can manage the target bandwidth service according to the target configuration information and the query response. The target bandwidth service is managed, which may be understood as instructing the backup end to create the target bandwidth service, update the target bandwidth service, delete the target bandwidth service, and so on, which will be described in detail below.
The backup terminal can provide the target bandwidth service for the request terminal, so that source data generated by the production node such as a production database is backed up to a backup database of the backup node under the bandwidth speed limit condition of the target bandwidth service, and thus, the data disaster recovery backup is realized.
According to the bandwidth management method, the target backup link corresponding to the data backup request is determined in response to the data backup request sent by the request end, the query request is sent to the backup end, the target configuration information of the target backup link and the query response sent by the backup end according to the query request are obtained, and the target bandwidth service of the target backup link is managed according to the target configuration information and the query response, so that the bandwidth of the target backup link can be limited based on the target bandwidth service, the bandwidth limitation of the data backup link is realized, the influence on other network services sharing a cloud private line with the data backup service is avoided, and the stability and the reliability of network transmission are ensured. Compared with the control of the data transmission speed by using the data synchronization tool (for example, setting the parallel synchronous process number, the single batch transmission number and the like), the embodiment of the application realizes the transmission speed limitation from the network layer instead of the application layer, can control the bandwidth used by the data synchronization more accurately, and expands the control range of the data bandwidth. In addition, the bandwidth management method provided by the embodiment of the application can automatically adjust and manage the corresponding target bandwidth service based on the data backup requests sent by the request terminals, thereby realizing the self-adaptive management of different data backup links corresponding to the data backup requests sent by different request terminals, and improving the effective management and control of the bandwidth service.
In one embodiment, as shown in fig. 4, step S306 manages the target bandwidth service of the target backup link according to the target configuration information and the query response, including the following steps S402 to S406.
And S402, under the condition that the number of the historical bandwidth services included in the query response is 0, sending a creation instruction to the backup terminal to instruct the backup terminal to create the target bandwidth service and obtain target bandwidth identification information of the target bandwidth service sent by the backup terminal, wherein the creation instruction comprises target configuration information.
If the number of the historical bandwidth services included in the query response is 0, the fact that the backup end does not have the bandwidth services corresponding to the created cloud private line is indicated, and in this case, the disaster recovery platform instructs the backup end to create the target bandwidth services corresponding to the target backup link according to the creation instruction by sending the creation instruction to the backup end.
The creation instruction includes target configuration information. Illustratively, the target configuration information includes target tuple information and target bandwidth speed limit information, wherein the target tuple information includes source IP address information, source port information, destination IP address information, destination port information, and transport protocol information of the target backup link, and the target bandwidth speed limit information includes a bandwidth speed limit value and a bandwidth packet ID. The target configuration information can be seen as shown in table 1 below.
TABLE 1
Where String represents a String type and intelger represents an Integer type. For example, the transport protocol information may include TCP (Transmission Control Protocol, transport control protocol).
In the application, after receiving the creation instruction, the backup terminal creates a target backup link and a target bandwidth service of the target backup link according to target configuration information in the creation instruction, and sends target bandwidth identification information of the target bandwidth service to the disaster recovery platform, so that the disaster recovery platform can manage and control the target bandwidth service according to the target bandwidth identification information. Wherein the target bandwidth identification information is used to identify the target bandwidth service.
And S404, acquiring target bandwidth identification information of the target backup link according to the target configuration information and the history attribute information of each history bandwidth service under the condition that the query response comprises at least one history bandwidth service.
If the query response includes at least one historical bandwidth service, it indicates that the backup end has the bandwidth service corresponding to the created cloud private line, that is, the historical bandwidth service, in this case, the disaster recovery platform may obtain, according to the target configuration information and the historical attribute information of each historical bandwidth service, the target bandwidth identification information of the target backup link, so as to manage the target bandwidth service according to the target bandwidth identification information.
The history attribute information is used to represent information related to the history bandwidth service. The history attribute information includes history configuration information and history bandwidth identification information, where the history configuration information is used to represent information related to the configuration of the history bandwidth service, and similar to the target configuration information of the target bandwidth service, reference may be made to the description of the target configuration information above, and details thereof are not repeated herein. The historical bandwidth identification information is used to identify historical bandwidth services.
And S406, managing the target bandwidth service according to the target bandwidth identification information.
In the application, the disaster recovery platform can manage the target bandwidth service provided by the backup terminal for the request terminal according to the target bandwidth identification information.
In the bandwidth management method, when the number of the historical bandwidth services included in the query response is 0, a creation instruction is sent to the backup terminal to instruct the backup terminal to create the target bandwidth services, target bandwidth identification information of the target bandwidth services sent by the backup terminal is obtained, and when the query response includes at least one historical bandwidth service, the target bandwidth identification information of the target backup link is obtained according to the target configuration information and the historical attribute information of each historical bandwidth service, and the target bandwidth services are managed according to the target bandwidth identification information.
In one embodiment, as shown in fig. 5, the target configuration information includes target tuple information, and the history attribute information includes history tuple information, where step S404 obtains target bandwidth identification information of the target backup link according to the target configuration information and the history attribute information of each history bandwidth service, including the following steps S502 and S504.
And S502, sending a creation instruction to the backup terminal to instruct the backup terminal to create the target bandwidth service under the condition that the target tuple information and the history tuple information are different, wherein the creation instruction comprises target configuration information.
S504, obtaining target bandwidth identification information sent by the backup terminal.
Illustratively, in the case that the query response includes at least one historical bandwidth service, the disaster recovery platform compares the target tuple information of the target backup link with the historical tuple information of each historical bandwidth service, and obtains a comparison result. The comparison result is used to indicate whether the target tuple information is identical to each history tuple information. Taking the tuple information including quintuple information, namely source IP address information, source port information, destination IP address information, destination port information and transmission protocol information as examples, the disaster recovery platform compares the target quintuple information with the history quintuple information one by one, and determines that the target quintuple information is different from the history quintuple information when at least one of the target quintuple information and the history quintuple information is different.
If the comparison result shows that the target tuple information is different from each history tuple information, the backup end does not have the history bandwidth service aiming at the target backup link, in this case, the disaster recovery platform sends a creation instruction to the backup end, so as to instruct the backup end to create the target backup link and the target bandwidth service of the target backup link according to the target configuration information in the creation instruction, and send target bandwidth identification information corresponding to the target bandwidth service to the disaster recovery platform, so that the disaster recovery platform manages the target bandwidth service according to the target bandwidth identification information.
According to the bandwidth management method, under the condition that the target tuple information and the historical tuple information are different, the creation instruction is sent to the backup terminal to instruct the backup terminal to create the target bandwidth service and acquire the target bandwidth identification information sent by the backup terminal, and under the condition that the historical bandwidth service meeting the data backup request does not exist, the new target bandwidth service is created, so that the backup service is provided, meanwhile, the speed limit can be carried out on the bandwidth of the cloud private line in the target backup link through the target bandwidth service, the influence of the backup service on the network transmission quality of other network services is reduced, and the reliability of the whole service of the system is improved.
In one embodiment, as shown in fig. 6, the target configuration information includes target tuple information and target bandwidth speed limit information, the history attribute information includes history configuration information and history bandwidth identification information, the history configuration information includes history tuple information and history bandwidth speed limit information, and step S404 includes the following steps S602 and S604, where the target bandwidth identification information of the target backup link is obtained according to the target configuration information and the history attribute information of each history bandwidth service.
And S602, determining candidate bandwidth services from the historical bandwidth services according to the target tuple information and the historical tuple information, wherein the historical tuple information of the candidate bandwidth services is identical to the target tuple information.
And S604, determining historical bandwidth identification information of the candidate bandwidth service as target bandwidth identification information.
If the comparison result is that the target tuple information is the same as the historical tuple information of at least one historical bandwidth service, the backup end has at least one historical bandwidth service (called as standby bandwidth service for short) aiming at the target backup link, in this case, a candidate bandwidth service is determined from at least one standby bandwidth service, and the historical bandwidth identification information of the candidate bandwidth service is determined as target bandwidth identification information.
The method for determining the candidate bandwidth service from at least one candidate bandwidth service includes the steps of comparing the candidate bandwidth service with target bandwidth speed limit information respectively, determining the candidate bandwidth service as the candidate bandwidth service if the candidate bandwidth service which is the same as the target bandwidth speed limit information exists, determining any one of the candidate bandwidth service as the candidate bandwidth service if the candidate bandwidth service which is the same as the target bandwidth speed limit information does not exist, determining historical bandwidth identification information of the candidate bandwidth service as the target bandwidth identification information by a disaster tolerant platform under the condition, and sending an update bandwidth instruction to a backup end to instruct the backup end to update the historical bandwidth speed limit information of the candidate bandwidth service as the target bandwidth speed limit information according to the update bandwidth instruction, wherein the update bandwidth instruction comprises the historical bandwidth identification information of the candidate bandwidth service and the target bandwidth speed limit information, and the embodiment can be seen in the following table 2.
TABLE 2
In the application, the backup terminal can call the API to update the historical bandwidth speed limit information of the candidate bandwidth service to the target bandwidth speed limit information according to the updated bandwidth instruction.
The bandwidth management method determines a candidate bandwidth service from among the history bandwidth services based on the target tuple information and the history tuple information, determines history bandwidth identification information of the candidate bandwidth service as the target bandwidth identification information, multiplexes the history bandwidth service of the candidate bandwidth service in the case that there is the same candidate bandwidth service as the target tuple information, the method can avoid creating excessive bandwidth service, reduce resource consumption, limit the speed of the bandwidth of the cloud private line in the target backup link through the multiplexed historical bandwidth service while providing backup service, reduce the influence of the backup service on the network transmission quality of other network services, and improve the reliability of the whole service of the system.
In one embodiment, as shown in fig. 7, step S406 manages the target bandwidth service according to the target bandwidth identification information, including the following steps S702 and S704.
S702, under the condition that the configuration information of the target backup link is detected to change, corresponding target configuration information is obtained from the backup terminal according to the target bandwidth identification information, and the current configuration information of the target backup link is obtained.
The current configuration information is used for representing information related to the current configuration of the target backup link. The current configuration information comprises current tuple information and current bandwidth speed limit information of the target backup link, wherein the current tuple information comprises current quintuple information, namely source IP address information, source port information, destination IP address information, destination port information and transmission protocol information, and the current bandwidth speed limit information comprises a current bandwidth speed limit value and a current bandwidth packet ID of the target backup link. The target configuration information is information related to configuration when the target backup link is created, and the target configuration information includes target tuple information and target bandwidth speed limit information of the target backup link, which can be specifically referred to the related description and will not be repeated herein.
Illustratively, the change in configuration information of the target backup link includes at least one of a change in a bandwidth limit value of the target backup link (e.g., the user modifies the bandwidth limit value at the disaster recovery platform via the request end), and a change in a synchronization port of a data synchronization tool in the target backup link.
In the application, the disaster recovery platform can acquire corresponding target configuration information from the backup end according to the target bandwidth identification information and acquire the current configuration information of the target backup link under the condition that the configuration information of the target backup link is detected to change. It should be noted that, the current configuration information does not need to depend on the target bandwidth identification information, and can be directly obtained.
And S704, under the condition that the current configuration information and the target configuration information are different, sending an adjustment instruction to the backup terminal to instruct the backup terminal to adjust the target bandwidth service, wherein the adjustment instruction comprises the current configuration information and the target bandwidth identification information.
Illustratively, the target configuration information includes target tuple information and target bandwidth speed limit information, the current configuration information includes current tuple information and current bandwidth speed limit information, and the current configuration information and the target configuration information are different from each other in that the target tuple information is different from the current tuple information and/or the target bandwidth speed limit information is different from the current bandwidth speed limit information.
Illustratively, taking the example that the target tuple information comprises target quintuple information and the current tuple information comprises current quintuple information, the target tuple information is different from the current tuple information by at least one tuple information in the target quintuple information and the current quintuple information.
Illustratively, taking the example that the target bandwidth speed limit information comprises a target bandwidth speed limit value and a target bandwidth packet ID, the current bandwidth speed limit information comprises a current bandwidth speed limit value and a current bandwidth packet ID, and the difference between the target bandwidth speed limit information and the current bandwidth speed limit information comprises that the target bandwidth speed limit value is different from the current bandwidth speed limit value and/or the target bandwidth packet ID is different from the current bandwidth packet ID.
In the application, the disaster recovery platform can call the API to acquire the target configuration information of the target backup link from the backup end according to the target bandwidth identification information, compare the current configuration information of the target backup link with the target configuration information, and send an adjustment instruction to the backup end under the condition that the difference between the current configuration information and the target configuration information is detected, so as to instruct the backup end to query the target bandwidth service according to the target bandwidth identification information in the adjustment instruction, and update the target bandwidth service according to the current configuration information in the adjustment instruction.
According to the bandwidth management method, when the configuration information of the target backup link is detected to change, corresponding target configuration information is obtained from the backup end according to the target bandwidth identification information, the current configuration information of the target backup link is obtained, and under the condition that the current configuration information and the target configuration information are different, an adjustment instruction is sent to the backup end to instruct the backup end to adjust the target bandwidth service, so that real-time monitoring of the target bandwidth service of the target backup link is realized, and when the configuration information of the target backup link is monitored to change, the backup end can be instructed to automatically adjust the corresponding target bandwidth service according to the target bandwidth identification information, synchronous updating of the target bandwidth service is realized, effective management of cloud dedicated bandwidth service corresponding to the backup service is realized, the data transmission speed limitation of the backup link can be continuously effective, and the reliability of the system is improved.
In one embodiment, as shown in fig. 8, the target configuration information includes target tuple information and target bandwidth speed limit information, and the current configuration information includes current tuple information and current bandwidth speed limit information, where step S704 sends an adjustment instruction to the backup terminal if the current configuration information and the target configuration information are different, including the following steps S802 and S804.
S802, under the condition that target tuple information and current tuple information are different, a first adjustment instruction is sent to a backup terminal to instruct the backup terminal to delete target bandwidth service according to target bandwidth identification information, and current bandwidth service of a target backup link is created according to current configuration information and current bandwidth identification information of the current bandwidth service is sent, wherein the first adjustment instruction comprises the current configuration information and the target bandwidth identification information.
In the application, after the disaster recovery platform acquires the target configuration information and the current configuration information, comparing the target tuple information with the current tuple information, and sending a first adjustment instruction to the backup terminal under the condition that the target tuple information and the current tuple information are different, correspondingly, after the backup terminal receives the first adjustment instruction, inquiring and deleting the target bandwidth service according to the target bandwidth identification information in the first adjustment instruction, creating the current bandwidth service of the target backup link according to the current configuration information in the first adjustment instruction, and sending the current bandwidth identification information of the current bandwidth service to the disaster recovery platform, so that the disaster recovery platform manages the current bandwidth service of the target backup link according to the current bandwidth identification information. The configuration information corresponding to the current bandwidth service is current configuration information. The target bandwidth identifier included in the first adjustment instruction may be referred to as table 3 below.
TABLE 3 Table 3
S804, under the condition that the target tuple information and the current tuple information are the same and the target bandwidth speed limit information and the current bandwidth speed limit information are different, sending a second adjustment instruction to the backup terminal to instruct the backup terminal to update the target bandwidth speed limit information of the target bandwidth service to the current bandwidth speed limit information, wherein the second adjustment instruction comprises the current bandwidth speed limit information and the target bandwidth identification information.
In the application, after the disaster recovery platform acquires the target configuration information and the current configuration information, comparing the target tuple information with the current tuple information, continuously comparing the target bandwidth speed limit information with the current bandwidth speed limit information under the condition that the target tuple information is the same as the current tuple information, and sending a second adjustment instruction to the backup terminal under the condition that the target bandwidth speed limit information is different from the current bandwidth speed limit information, and correspondingly, after the backup terminal receives the second adjustment instruction, inquiring the target bandwidth service according to the target bandwidth identification information in the second adjustment instruction, and updating the target bandwidth speed limit information in the target bandwidth service according to the current bandwidth speed limit information in the second adjustment instruction, wherein the updated bandwidth speed limit information of the target bandwidth service is the target bandwidth speed limit information.
According to the bandwidth management method, under the condition that the target tuple information and the current tuple information are different, a first adjustment instruction is sent to the backup terminal to instruct the backup terminal to delete the target bandwidth service according to the target bandwidth identification information, the current bandwidth service of the target backup link is created according to the current configuration information, the current bandwidth identification information of the current bandwidth service is sent, and under the condition that the target tuple information and the current tuple information are identical and the target bandwidth speed limit information and the current bandwidth speed limit information are different, a second adjustment instruction is sent to the backup terminal to instruct the backup terminal to update the target bandwidth speed limit information of the target bandwidth service into the current bandwidth speed limit information, so that real-time monitoring of the target backup link is realized. The method for managing the bandwidth provided by the embodiment of the application can enable the backup terminal to delete the invalid speed-limiting bandwidth service and reconfigure the new bandwidth service by sending the first adjustment instruction under the condition that the change of the tuple information of the target backup link is monitored, ensure that the bandwidth speed limit of the backup link can continuously take effect, avoid the influence of the backup service on other network services, and enable the backup terminal to synchronously update the speed-limiting bandwidth information of the speed-limiting bandwidth service by sending the second adjustment instruction under the condition that the change of the bandwidth speed-limiting information of the target backup link is monitored, thereby realizing the effective management and control of the speed-limiting bandwidth service of the backup link and improving the flexibility of bandwidth service configuration.
In one embodiment, step S302, in response to a data backup request sent by a request end, determines a target backup link corresponding to the data backup request and sends a query request to the backup end, and the method comprises the steps of controlling a backup node to open a backup database according to backup subnet information in the data backup request, controlling a production node to deploy a data synchronization tool in the same subnet of a production database according to data source subnet information in the data backup request, determining the target backup link according to the production database, the data synchronization tool and the backup database, wherein the target backup link represents a link from the production database to a local gateway through the data synchronization tool and sequentially from a dedicated cloud gateway to the backup database through a dedicated cloud gateway.
Illustratively, the data synchronization tool includes at least one of a data transmission service (Data Transmission Service, DTS) and a cross IDC (INTERNET DATA CENTER ) data synchronization component. The data synchronization tool may have a function of controlling a transmission speed, for example, setting a synchronous parallel line number, a data amount transmitted per batch, and the like.
According to the bandwidth management method, the backup node is controlled to open the backup database according to the backup subnet information in the data backup request, the production node is controlled to store the data synchronization tool in the same subnet of the production database according to the data source subnet information in the data backup request, and the target backup link is determined according to the production database, the data synchronization tool and the backup database, so that the deployment of the backup database and the data synchronization tool corresponding to the data backup request is realized, the target backup link can be determined based on the deployed backup database and the data synchronization tool, the target bandwidth service can be provided based on the target backup link, the source data generated by the production database is backed up to the backup database under the bandwidth limit of the target bandwidth service, the influence of the backup service on the network transmission quality of other network services is reduced while the data backup disaster recovery is realized, and the service quality of the whole system is improved.
In one embodiment, as shown in fig. 9 and fig. 10, a bandwidth management method is provided, and the method is applied to the database backup architecture shown in fig. 1 and fig. 2 for illustration.
As shown in fig. 2, the data synchronization tool is deployed at a production site, responsible for extracting data from the production database and synchronizing to the backup database. The network links of the backup data transmission are as shown in fig. 2, and finally imported to the backup database through a local gateway, a cloud private line, a private line gateway, a cloud gateway and the like. The cloud private line provides speed-limiting bandwidth service, and a user can specify a quintuple and limit the bandwidth of the network link identified by the quintuple.
And the cloud private line limits the speed of the database backup link of the disaster recovery platform through the speed-limiting bandwidth service. Mainly comprises the following functions:
(1) And configuring a backup link, namely designating related parameters of backup speed limit when a user configures a database backup task on the disaster recovery platform.
And the user configures a database backup task on the disaster recovery platform and fills in related parameters, wherein the parameters related to speed limit are described as follows.
A. and the data source subnet information, namely the subnet network segment to which the production database belongs, is expressed by using a CIDR format.
B. And the backup sub-network information is sub-networks used for deploying the backup database on the backup resource pool.
C. and the bandwidth speed limit value is the maximum transmission speed of the backup link set by a user, and the unit is MB/s.
D. And the bandwidth package ID is a cloud private line bandwidth package purchased by the user.
When the disaster recovery platform stores backup task configuration, whether the bandwidth speed limit value set by a user is larger than the bandwidth value corresponding to the cloud private line bandwidth packet ID needs to be checked, if so, the speed limit value needs to be reduced, otherwise, the subsequent establishment of the speed limit bandwidth fails.
(2) And when the database backup task is started, establishing a speed limiting bandwidth according to the backup speed limiting parameters configured by the user and five-tuple information of the backup link. As shown in particular in fig. 9.
S902, the disaster recovery platform receives a data backup request sent by a request end.
S904, the disaster recovery platform opens a backup database at a backup node of the backup end according to the data backup request, and a data synchronization tool is arranged in the same subnet of the production database of the production node.
S906, the disaster recovery platform acquires target configuration information of a target backup link corresponding to the data backup request.
The target configuration information comprises target quintuple information and target bandwidth speed limit information, wherein the target quintuple information comprises source IP address information, source port information, destination IP address information, destination port information and transmission protocol information. The target bandwidth limit information includes a bandwidth limit value and a bandwidth packet ID.
And S908, the disaster recovery platform sends a query request to the backup terminal and acquires a query response returned by the backup terminal to query whether the backup terminal has the established cloud private line corresponding bandwidth service. If not, step S910 is performed. If yes, go to step S912.
S910, the disaster recovery platform sends a creation instruction to the backup terminal to instruct the backup terminal to create the target bandwidth service of the target backup link, and sends target bandwidth identification information of the target bandwidth service to the disaster recovery platform. And performs step S918. Wherein, the related information carried by the creation instruction can be seen from the table 1.
S912, the disaster recovery platform judges whether the historical quintuple information of each historical bandwidth service in the query response is the same as the quintuple information of the target backup link. If not, step S910 is performed, and if yes, step S914 is performed.
S914, the disaster recovery platform judges whether the historical bandwidth limit value of each bandwidth service to be selected is the same as the target bandwidth limit value of the target backup link. If not, executing step S916, and if the historical bandwidth limit value of a candidate bandwidth service in the bandwidth service to be selected is the same as the target bandwidth limit value of the target backup link, taking the historical bandwidth identification information of the candidate bandwidth service as the target bandwidth identification information, and executing step S918.
S916, the disaster recovery platform sends an update bandwidth instruction to the backup terminal to instruct the backup terminal to update the historical bandwidth speed limit value of the bandwidth service to be selected to a target bandwidth speed limit value according to the update bandwidth instruction, and sends the bandwidth identification information of the bandwidth service to be selected to the disaster recovery platform as target bandwidth identification information. And performs step S918.
S918, recording target bandwidth identification information.
(3) And updating the backup speed limit, namely updating the speed limit bandwidth by the disaster recovery platform when a user modifies the speed limit parameter of the database backup link or the five-tuple is changed. As particularly shown in fig. 10.
S1002, the disaster recovery platform monitors the target backup link in real time.
S1004, the disaster recovery platform acquires current configuration information of the target backup link and acquires the target configuration information from the backup terminal according to the target bandwidth identification information under the condition that the disaster recovery platform monitors that the user modifies the bandwidth limit value of the target backup link and/or the synchronous port of the data synchronous tool is changed.
The current configuration information comprises current quintuple information and current bandwidth speed limit information, and the current bandwidth speed limit information comprises a current bandwidth speed limit value and a current bandwidth packet ID. The target configuration information includes target five-tuple information and target bandwidth speed limit information, and the target bandwidth speed limit information includes a target bandwidth speed limit value and a target bandwidth packet ID.
S1006, the disaster recovery platform judges whether the current quintuple information and the target quintuple information are the same. If yes, go to step S1008, and if no, go to step S1010.
S1008, judging whether the current bandwidth limit value and the target bandwidth limit value are the same by the disaster recovery platform. If yes, go back to step S1002. If not, step S1012 is performed.
S1010, the disaster recovery platform sends a first adjustment instruction to the backup terminal to instruct the backup terminal to delete the corresponding target bandwidth service according to the target bandwidth identification information in the first adjustment instruction, creates the current bandwidth service according to the current configuration information in the first adjustment instruction, and sends the current bandwidth identification information of the current bandwidth service to the disaster recovery platform.
And S1012, the disaster recovery platform sends a second adjustment instruction to the backup end so as to instruct the backup end to inquire the target bandwidth service according to the target bandwidth identification information in the second adjustment instruction, and updates the target bandwidth speed limit value of the target bandwidth service according to the current bandwidth speed limit value in the second adjustment instruction.
According to the bandwidth management method provided by the embodiment of the application, the synchronous speed of the database backup link can be limited within a certain range by limiting the special cloud line bandwidth used during database backup, and even in the peak period of database business writing production, the flow passing through the network link does not exceed the speed-limiting bandwidth. In this way, the too high bandwidth occupied by the database backup task can be avoided, and the network transmission quality of other services is affected. Compared with the speed control function of the data synchronization tool, the application limits the transmission speed at the network transmission layer instead of the application layer, and can control the bandwidth used for data synchronization more accurately. In addition, when the speed limit parameter or five-tuple of the backup link changes, the method can correspondingly adjust the speed limit bandwidth, for example, the invalid speed limit bandwidth can be deleted, the speed limit bandwidth is reconfigured, or the speed limit bandwidth is synchronously updated, so that the speed limit can be ensured to continuously take effect.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a bandwidth management device for realizing the above related bandwidth management method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in one or more embodiments of the bandwidth management device provided below may refer to the limitation of the bandwidth management method hereinabove, and will not be repeated herein.
In one embodiment, as shown in FIG. 11, a bandwidth management apparatus 1100 is provided, including a query module 1101, an acquisition module 1102, and a management module 1103. The query module 1101 is configured to determine a target backup link corresponding to the data backup request in response to the data backup request sent by the request end, and send a query request to the backup end, where the query request is configured to query the backup end for a bandwidth service of the cloud dedicated line in the backup link, and the target backup link is configured to transmit data generated by the production node of the request end to the backup node of the backup end for backup through the cloud dedicated line. The obtaining module 1102 is configured to obtain target configuration information of a target backup link and a query response sent by the backup end according to the query request. The management module 1103 is configured to manage, according to the target configuration information and the query response, a target bandwidth service of the target backup link, where the target bandwidth service is configured to manage and control a bandwidth of the target backup link for transmitting data through the cloud private line.
The bandwidth management device 1100, in response to a data backup request sent by a request end through the query module 1101, determines a target backup link corresponding to the data backup request, sends the query request to the backup end, acquires target configuration information of the target backup link and a query response sent by the backup end according to the query request through the acquisition module 1102, and manages a target bandwidth service of the target backup link through the management module 1103 according to the target configuration information and the query response, thereby limiting the bandwidth of the target backup link based on the target bandwidth service, realizing bandwidth limitation of the data backup link, avoiding influence on other network services sharing a cloud private line with the data backup service, and ensuring stability and reliability of network transmission. Compared with the control of the data transmission speed by using the data synchronization tool (for example, setting the parallel synchronous process number, the single batch transmission number and the like), the embodiment of the application realizes the transmission speed limitation from the network layer instead of the application layer, can control the bandwidth used by the data synchronization more accurately, and expands the control range of the data bandwidth. In addition, the bandwidth management method provided by the embodiment of the application can automatically adjust and manage the corresponding target bandwidth service based on the data backup requests sent by the request terminals, thereby realizing the self-adaptive management of different data backup links corresponding to the data backup requests sent by different request terminals, and improving the effective management and control of the bandwidth service.
In one embodiment, the management module is further configured to send a creation instruction to the backup end to instruct the backup end to create the target bandwidth service and obtain target bandwidth identification information of the target bandwidth service sent by the backup end when the number of historical bandwidth services included in the query response is 0, where the creation instruction includes target configuration information, obtain target bandwidth identification information of the target backup link according to the target configuration information and history attribute information of each historical bandwidth service when the query response includes at least one historical bandwidth service, and manage the target bandwidth service according to the target bandwidth identification information.
In one embodiment, the target configuration information includes target tuple information, the history attribute information includes history tuple information, and the obtaining module is further configured to send a creation instruction to the backup end to instruct the backup end to create the target bandwidth service if the target tuple information and each history tuple information are different, where the creation instruction includes the target configuration information, and obtain the target bandwidth identification information sent by the backup end.
In one embodiment, the target configuration information includes target tuple information and target bandwidth speed limit information, the history attribute information includes history configuration information and history bandwidth identification information, the history configuration information includes history tuple information and history bandwidth speed limit information, wherein the obtaining module is further configured to determine candidate bandwidth services from each of the history bandwidth services according to the target tuple information and each of the history tuple information, determine the history bandwidth identification information of the candidate bandwidth services as the target bandwidth identification information, and wherein the history tuple information of the candidate bandwidth services is the same as the target tuple information.
In one embodiment, the management module is further configured to obtain corresponding target configuration information from the backup end according to the target bandwidth identification information and obtain current configuration information of the target backup link when detecting that the configuration information of the target backup link changes, and send an adjustment instruction to the backup end to instruct the backup end to adjust the target bandwidth service when the current configuration information and the target configuration information are different, where the adjustment instruction includes the current configuration information and the target bandwidth identification information.
In one embodiment, the target configuration information includes target tuple information and target bandwidth speed limit information, the current configuration information includes current tuple information and current bandwidth speed limit information, and the management module is further configured to send a first adjustment instruction to the backup end to instruct the backup end to delete the target bandwidth service according to the target bandwidth identification information, create the current bandwidth service of the target backup link according to the current configuration information, and send the current bandwidth identification information of the current bandwidth service, where the first adjustment instruction includes the current configuration information and the target bandwidth identification information, if the target tuple information and the current tuple information are different.
The management module is further configured to send a second adjustment instruction to the backup terminal to instruct the backup terminal to update the target bandwidth speed limit information of the target bandwidth service to the current bandwidth speed limit information when the target tuple information is the same as the current tuple information and the target bandwidth speed limit information is different from the current bandwidth speed limit information, where the second adjustment instruction includes the current bandwidth speed limit information and the target bandwidth identification information.
In one embodiment, the query module is further configured to control the backup node to open the backup database according to backup subnet information in the data backup request, control the production node to store a data synchronization tool in the same subnet of the production database according to data source subnet information in the data backup request, determine a target backup link according to the production database, the data synchronization tool and the backup database, where the target backup link represents a link from the production database to the local gateway through the data synchronization tool and sequentially from the dedicated cloud gateway to the backup database through the dedicated cloud gateway and the cloud gateway.
The respective modules in the above bandwidth management apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 12. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a bandwidth management method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 12 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory having a computer program stored therein and a processor, which when executing the computer program performs the steps of the aforementioned method.
In one embodiment, a computer readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, implements the steps of the aforementioned method.
In an embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, implements the steps of the aforementioned method.
The user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method of bandwidth management, the method comprising:
The method comprises the steps of responding to a data backup request sent by a request end, determining a target backup link corresponding to the data backup request, and sending a query request to a backup end, wherein the query request is used for querying bandwidth service of the backup end to a cloud private line in the backup link, and the target backup link is used for transmitting data generated by a production node of the request end to a backup node of the backup end for backup through the cloud private line;
acquiring target configuration information of the target backup link and query response sent by the backup terminal according to the query request;
and managing the target bandwidth service of the target backup link according to the target configuration information and the query response, wherein the target bandwidth service is used for managing and controlling the bandwidth of the target backup link for transmitting data through the cloud private line.
2. The method of claim 1, wherein managing the target bandwidth service of the target backup link based on the target configuration information and the query response comprises:
under the condition that the number of the historical bandwidth services included in the query response is 0, sending a creation instruction to the backup terminal to instruct the backup terminal to create the target bandwidth service and obtain target bandwidth identification information of the target bandwidth service sent by the backup terminal, wherein the creation instruction comprises the target configuration information;
Acquiring target bandwidth identification information of the target backup link according to the target configuration information and the history attribute information of each history bandwidth service under the condition that the query response comprises at least one history bandwidth service;
and managing the target bandwidth service according to the target bandwidth identification information.
3. The method of claim 2, wherein the target configuration information includes target tuple information and the history attribute information includes history tuple information, wherein the obtaining target bandwidth identification information of the target backup link according to the target configuration information and the history attribute information of each of the history bandwidth services includes:
Sending a creation instruction to the backup terminal to instruct the backup terminal to create the target bandwidth service under the condition that the target tuple information and the history tuple information are different, wherein the creation instruction comprises the target configuration information;
and acquiring the target bandwidth identification information sent by the backup terminal.
4. The method of claim 2, wherein the target configuration information includes target tuple information and target bandwidth speed limit information, the history attribute information includes history configuration information and history bandwidth identification information, the history configuration information includes history tuple information and history bandwidth speed limit information, and wherein the obtaining the target bandwidth identification information of the target backup link according to the target configuration information and the history attribute information of each of the history bandwidth services includes:
Determining candidate bandwidth services from the historical bandwidth services according to the target tuple information and the historical tuple information, wherein the historical tuple information of the candidate bandwidth services is identical to the target tuple information;
and determining the historical bandwidth identification information of the candidate bandwidth service as the target bandwidth identification information.
5. The method according to any one of claims 2-4, wherein said managing said target bandwidth service according to said target bandwidth identification information comprises:
Under the condition that the configuration information of the target backup link is detected to change, acquiring corresponding target configuration information from the backup end according to the target bandwidth identification information, and acquiring current configuration information of the target backup link;
And sending an adjustment instruction to the backup terminal to instruct the backup terminal to adjust the target bandwidth service under the condition that the current configuration information and the target configuration information are different, wherein the adjustment instruction comprises the current configuration information and the target bandwidth identification information.
6. The method according to claim 5, wherein the target configuration information includes target tuple information and target bandwidth speed limit information, the current configuration information includes current tuple information and current bandwidth speed limit information, and wherein the sending an adjustment instruction to the backup side if the current configuration information and the target configuration information are different includes:
under the condition that the target tuple information and the current tuple information are different, a first adjustment instruction is sent to the backup terminal to instruct the backup terminal to delete the target bandwidth service according to the target bandwidth identification information, and to create the current bandwidth service of the target backup link according to the current configuration information and to send the current bandwidth identification information of the current bandwidth service;
And under the condition that the target tuple information is the same as the current tuple information and the target bandwidth speed limit information is different from the current bandwidth speed limit information, sending a second adjustment instruction to the backup terminal to instruct the backup terminal to update the target bandwidth speed limit information of the target bandwidth service to the current bandwidth speed limit information, wherein the second adjustment instruction comprises the current bandwidth speed limit information and the target bandwidth identification information.
7. The method according to any one of claims 1-4, wherein the determining, in response to the data backup request sent by the request end, a target backup link corresponding to the data backup request, and sending a query request to the backup end, includes:
controlling the backup node to open a backup database according to the backup subnet information in the data backup request;
Controlling the production node to store a data synchronization tool in the same subnet of a production database according to the data source subnet information in the data backup request;
And determining the target backup link according to the production database, the data synchronization tool and the backup database, wherein the target backup link represents a link from the production database to a local gateway through the data synchronization tool and sequentially from a private line gateway to a cloud gateway through the cloud private line.
8. A bandwidth management apparatus, the apparatus comprising:
The system comprises a request end, a query module, a backup end, a target backup link, a backup end and a backup end, wherein the request end is used for sending a request to the backup end, the request end is used for requesting the backup end to carry out the backup on the data generated by the production node of the request end;
the acquisition module is used for acquiring the target configuration information of the target backup link and the query response sent by the backup terminal according to the query request;
And the management module is used for managing the target bandwidth service of the target backup link according to the target configuration information and the query response, wherein the target bandwidth service is used for managing and controlling the bandwidth of the target backup link for transmitting data through the cloud private line.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202411791569.4A 2024-12-06 2024-12-06 Bandwidth management method, device, computer equipment and storage medium Pending CN119583320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411791569.4A CN119583320A (en) 2024-12-06 2024-12-06 Bandwidth management method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411791569.4A CN119583320A (en) 2024-12-06 2024-12-06 Bandwidth management method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN119583320A true CN119583320A (en) 2025-03-07

Family

ID=94810649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411791569.4A Pending CN119583320A (en) 2024-12-06 2024-12-06 Bandwidth management method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN119583320A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020136239A1 (en) * 2001-03-22 2002-09-26 Akira Nakanishi Bandwidth management apparatus, address resolution assistance apparatus, method for managing bandwidth, and method for assisting address resolution
CN1466832A (en) * 2002-01-02 2004-01-07 ƽ Implicit shared bandwidth protection for fast rerouting
CN111193664A (en) * 2020-01-16 2020-05-22 郑州轻工业大学 Link backup method and device for computer network
CN116455885A (en) * 2022-01-07 2023-07-18 腾讯科技(深圳)有限公司 Network resource downloading method, device, equipment and storage medium
CN118101593A (en) * 2024-03-29 2024-05-28 北京百度网讯科技有限公司 Traffic management method, traffic management device, electronic device, storage medium, and program product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020136239A1 (en) * 2001-03-22 2002-09-26 Akira Nakanishi Bandwidth management apparatus, address resolution assistance apparatus, method for managing bandwidth, and method for assisting address resolution
CN1466832A (en) * 2002-01-02 2004-01-07 ƽ Implicit shared bandwidth protection for fast rerouting
CN111193664A (en) * 2020-01-16 2020-05-22 郑州轻工业大学 Link backup method and device for computer network
CN116455885A (en) * 2022-01-07 2023-07-18 腾讯科技(深圳)有限公司 Network resource downloading method, device, equipment and storage medium
CN118101593A (en) * 2024-03-29 2024-05-28 北京百度网讯科技有限公司 Traffic management method, traffic management device, electronic device, storage medium, and program product

Similar Documents

Publication Publication Date Title
US7978631B1 (en) Method and apparatus for encoding and mapping of virtual addresses for clusters
CN111459749B (en) Prometheus-based private cloud monitoring method and device, computer equipment and storage medium
CN106789526B (en) method and device for connecting multiple system networks
CN111277628B (en) Server configuration method and device and service server
CN108881034B (en) A request-response method, device and system applied to a BT system
CN113364741A (en) Application access method and proxy server
JP2019057905A (en) Role-based automatic configuration system and method for an Ethernet switch
CN113839882A (en) Message flow splitting method and device
CN112910704B (en) Local area network system, method and device supporting dynamic self-adaptive network configuration
WO2017012471A1 (en) Load balance processing method and apparatus
WO2021248466A1 (en) File distribution method and apparatus, and electronic device and computer readable storage medium
US11907253B2 (en) Secure cluster pairing for business continuity and disaster recovery
CN119484404A (en) Data flow forwarding method and system
CN114422519B (en) Data request processing method and device, electronic equipment and storage medium
CN110290163A (en) A kind of data processing method and device
CN119583320A (en) Bandwidth management method, device, computer equipment and storage medium
CN114363331B (en) Communication method, system, computer device and storage medium
CN112732775A (en) Method and device for processing block node data, computer equipment and storage medium
CN115002195B (en) Service registration discovery method, system and medium of self-adaptive peer-to-peer mode
TW201947911A (en) Method of automatically building cloud services thereof
Aguilar-Gonzalez et al. Characterisation, design and simulation of an efficient peer-to-peer content distribution system for enterprise networks
CN115277544A (en) Path construction method based on cloud service and related equipment thereof
CN114050960A (en) Distributed server cluster node management method and device
CN114048270B (en) Method and computer-readable storage medium for blockchain data synchronization
CN115865782B (en) Data transmission system, method, device, computer equipment and storage medium

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