[go: up one dir, main page]

WO2018036137A1 - Gtm apparatus operation and maintenance management method, terminal, computer readable storage medium, and management device - Google Patents

Gtm apparatus operation and maintenance management method, terminal, computer readable storage medium, and management device Download PDF

Info

Publication number
WO2018036137A1
WO2018036137A1 PCT/CN2017/076520 CN2017076520W WO2018036137A1 WO 2018036137 A1 WO2018036137 A1 WO 2018036137A1 CN 2017076520 W CN2017076520 W CN 2017076520W WO 2018036137 A1 WO2018036137 A1 WO 2018036137A1
Authority
WO
WIPO (PCT)
Prior art keywords
request
domain name
gtm
modification
record
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.)
Ceased
Application number
PCT/CN2017/076520
Other languages
French (fr)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2018036137A1 publication Critical patent/WO2018036137A1/en
Anticipated expiration legal-status Critical
Ceased 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/04Network management architectures or arrangements
    • 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

Definitions

  • the present invention relates to the field of operation and maintenance management technologies, and in particular, to a GTM device operation and maintenance management method, a terminal, a computer readable storage medium, and a management device.
  • GTM Global Traffic Manager Global Traffic Management ()
  • GTM Global Traffic Manager Global Traffic Management
  • the embodiment of the invention provides a GTM device operation and maintenance management method, a terminal, a computer readable storage medium and a management device, which can implement automatic operation and maintenance management, improve efficiency, and improve user experience of the GTM device.
  • an embodiment of the present invention provides a GTM device operation and maintenance management method, where the method includes: if an operation request input by a user is received, determining whether the operation request is an increase request, a delete request, or a modification request; The operation request is an add request, and a record is added to the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address; if the operation request is a delete request, the record is deleted on the GTM device; The operation request is a modification request, and the configuration information is modified on the GTM device, and the configuration information corresponds to the domain name.
  • the embodiment of the present invention provides a terminal, where the terminal includes: a first determining unit, configured to: if receiving an operation request input by a user, determine whether the operation request is an increase request, a delete request, or a modify request Adding a unit, if the operation request is an increase request, adding a record on the GTM device, the record is used to identify a mapping relationship between a domain name and an IP address; and the deleting unit is configured to: if the operation request is a deletion request, Deleting the record on the GTM device; modifying the unit, if the operation request is a modification request, modifying the configuration information on the GTM device, where the configuration information corresponds to the domain name.
  • an embodiment of the present invention provides a computer readable storage medium having one or more programs, the one or more programs being executable by one or more processors to implement the following steps If the operation request input by the user is received, determining whether the operation request is an increase request, a delete request, or a modification request; if the operation request is an increase request, adding a record on the GTM device, where the record is used to identify the domain name a mapping relationship with the IP address; if the operation request is a deletion request, deleting the record on the GTM device; if the operation request is a modification request, modifying the configuration information on the GTM device, where the configuration information corresponds to the domain name .
  • an embodiment of the present invention provides a GTM operation and maintenance device management apparatus, where the memory includes a memory and a processor, the memory is used to store an instruction, and the processor reads an instruction in the memory and according to the The instruction performs the following operations: if an operation request input by the user is received, determining whether the operation request is an increase request, a delete request, or a modification request; if the operation request is an increase request, adding a record on the GTM device, Recording a mapping relationship between the domain name and the IP address; if the operation request is a deletion request, deleting the record on the GTM device; if the operation request is a modification request, modifying the configuration information on the GTM device, the configuration The information corresponds to the domain name.
  • the embodiment of the present invention determines whether the operation request is an increase request, a delete request, or a modification request, and if the operation request is an increase request, adding a record on the GTM device, if the operation request is deleted Request to delete the record on the GTM device. If the operation request is a modification request, modify the configuration information corresponding to the domain name on the GTM device.
  • the embodiment of the present invention divides an operation request into an increase request, a delete request, or a modify request, and performs corresponding processing operations on different operation requests, thereby implementing automatic operation and maintenance management, improving efficiency, and improving user experience of the GTM device. .
  • FIG. 1 is a schematic flowchart of a GTM device operation and maintenance management method according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart corresponding to step S102 when the operation request in FIG. 1 is an increase request;
  • step S103 is a schematic flow chart corresponding to step S103 when the operation request in FIG. 1 is a deletion request;
  • step S104 is a schematic flow chart corresponding to step S104 when the operation request in FIG. 1 is a modification request;
  • FIG. 5 is a schematic flowchart of a GTM device operation and maintenance management method according to another embodiment of the present invention.
  • FIG. 6 is a schematic block diagram of a terminal according to an embodiment of the present disclosure.
  • Figure 7 is a schematic block diagram of the adding unit of Figure 6;
  • Figure 8 is a schematic block diagram of the deleting unit of Figure 6;
  • Figure 9 is a schematic block diagram of the modification unit of Figure 6;
  • FIG. 10 is a schematic block diagram of a terminal according to another embodiment of the present invention.
  • FIG. 11 is a schematic block diagram of a management apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a GTM device operation and maintenance management method according to an embodiment of the present invention.
  • the GTM Global Traffic Manager Global Traffic Management ()
  • the GTM device operation and maintenance management method in the embodiment of the present invention can be used in a terminal such as a PC to process operations such as adding, modifying, and deleting domain name records.
  • the GTM device operation and maintenance management method includes steps S101 to S104.
  • the operation request includes an increase request, a delete request, and a modification request.
  • the user is requested to input the request information corresponding to the operation request through the human-computer interaction interface for different operations.
  • the add request is used to add a record on the GTM device
  • the delete request is used to delete the record on the GTM device
  • the modify request is used to modify the configuration information on the GTM device, the configuration information corresponding to the domain name.
  • the record is used to identify the mapping between the domain name and the IP address.
  • a GTM cluster is usually formed by multiple GTM devices to provide services.
  • the GTM cluster is configured with a primary GTM device and multiple subordinate GTM devices. After the operation and maintenance configuration is performed on the primary GTM device, the operation and maintenance configuration information on the primary GTM device and the operation and maintenance configuration information on the secondary GTM device are implemented. Synchronize backups. Since the synchronous backup technology between GTM devices belongs to the prior art, it will not be described here.
  • the database is usually set in the database independently of the GTM device.
  • the database is used to store the operation and maintenance configuration information on the GTM device.
  • the domain name or IP address query operation is performed through the database.
  • the operation request is an increase request, add a record on the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address.
  • FIG. 1 is a schematic flow chart corresponding to step S102 when the operation request is an increase request. As shown in the figure, step S102 specifically steps S201 to S207.
  • S201 Determine whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least one IP address corresponding to the domain name, and the static increase request includes a domain name, and the domain name A corresponding IP address, and record type.
  • the dynamic record and the static record are formed according to the mapping relationship between the domain name and the IP address corresponding to the domain name, and the dynamic record corresponds to the dynamic operation request, and the static record corresponds to the static operation request.
  • the request for the increase of the user input it is necessary to determine whether the request for the increase is a dynamic increase request or a static request, because the operation request of the dynamic operation request and the static operation request are different on the GTM device. Increase the request.
  • the increase request is a dynamic increase request, determine whether the domain name exists on the GTM device.
  • the dynamic increase request is set by the user.
  • the dynamic increase request includes at least a domain name and a plurality of IP addresses corresponding to the domain name.
  • the dynamic increase request may further include increasing the type of the request, the port number corresponding to the IP address, and the like.
  • increasing the type of the request such as dynamic increase/static increase, can also be selected by the user through the human-computer interaction interface, for example, a drop-down box can be set on the human-computer interaction interface for the user to make a type selection of the increase request.
  • the comparison can be made one by one, the domain name on the GTM device and the IP address corresponding to each domain name are listed to form a mapping relationship between the domain name and the IP address, and the domain name in the request and the mapping are dynamically added.
  • the domain names in the relationship table are compared one by one to determine whether the domain name should exist on the GTM device. It is to be understood that the manner of determining whether the domain name already exists on the GTM device is not limited thereto, and is not limited herein.
  • the GTM device Adding the domain name and the record formed by the IP address corresponding to the domain name, so as to perform domain name resolution according to the access request of the visitor and find the network resource corresponding to the domain name.
  • a domain name can correspond to multiple IP addresses
  • the domain name in the dynamic increase request already exists on the GTM device, it indicates that the domain name and its corresponding IP address already exist on the GTM device, in order to prevent the GTM.
  • the same IP address is added to the same domain name on the device, you need to determine whether the IP address corresponding to the domain name in the dynamic request is already on the GTM device.
  • the IP address can be compared with the IP address in the mapping table between the domain name and the IP address on the GTM device. It is to be understood that the manner of determining whether the IP address corresponding to the domain name in the dynamic increase request is already present on the GTM device is not limited thereto, and is not limited herein.
  • the domain name in the dynamic increase request corresponds to multiple IP addresses, it is necessary to determine whether each IP address exists on the GTM device one by one, thereby avoiding repeatedly adding the same IP address to the same domain name on the GTM device. .
  • whether the multiple IP addresses corresponding to the domain name exist on the GTM device include the following three situations: (1) the IP addresses corresponding to the domain name all exist on the GTM device, and (2) The IP address corresponding to the domain name does not exist on the GTM device. (3) A part of the IP address corresponding to the domain name already exists on the GTM device, and another part does not exist on the GTM device. After determining, according to step S204, whether each IP address corresponding to the domain name already exists on the GTM device, adding the record formed by the IP address corresponding to the domain name not existing on the GTM device to the GTM device, thereby dynamically adding the domain name record. .
  • the increase request is a static increase request, determine whether the domain name in the static increase request exists on the GTM device.
  • the static increase request is set by the user.
  • the static increase request includes at least a domain name, an IP address corresponding to the domain name, and a record type.
  • the record type refers to the resources related to each domain name.
  • the static increase request may further include increasing the type of the request, the port number corresponding to the IP address, and TTL (Time). To Live Retention time) and so on.
  • TTL Time To Live Retention time
  • the domain name on the GTM device and the IP address corresponding to each domain name are listed to form a mapping relationship between the domain name and the IP address.
  • the domain name in the static addition request is compared with the domain name in the mapping relationship table to determine whether the domain name should exist on the GTM device. It is to be understood that the manner of determining whether the domain name already exists on the GTM device is not limited thereto, and is not limited herein.
  • the record type includes an A record and a CNAME record
  • the A (Address) record is a record for specifying an IP address corresponding to the domain name.
  • a CNAME record is an alias record that is used to record multiple domain names to the same computer. Since the static addition operation corresponding to the A record and the CNAME record is different, if the domain name does not exist on the GTM device, the record formed by the domain name and the corresponding IP address is added to the GTM device according to the corresponding record type.
  • the domain name already exists on the GTM device it is necessary to further determine whether the IP address corresponding to the domain name in the static increase request already exists on the GTM device, and if the IP address already exists, there is no need to repeatedly add, if If the IP address does not exist on the GTM device, the record formed by adding the corresponding IP address to the domain name on the GTM device is required, so that the static addition of the domain name record is implemented.
  • the dynamic/static increase completion prompt is displayed to facilitate the user. Understand the completion status of the operation and maintenance configuration operations on the GTM device. It can be understood that, in order to facilitate the user to grasp the real-time progress of the dynamic/static increase operation, a progress bar, a percentage of completion, and the like may be set on the human-computer interaction interface to prompt the user to complete the progress.
  • step S103 it is a schematic flowchart corresponding to step S103 when the operation request in FIG. 1 is a deletion request. As shown in the figure, step S103 specifically steps S301 to S303.
  • S301 Determine whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name, and at least one IP address corresponding to the domain name, where the static deletion request includes a domain name, and the The IP address of the domain name one by one.
  • the domain name may be confirmed by querying whether the domain name exists on the GTM device. If the domain name exists on the GTM device, the configuration information corresponding to the query result may be selected. The IP address corresponding to the domain name is selected, or a pull-down menu is set in the configuration information corresponding to the query result for the user to select the type of the deletion request, etc., thereby forming a deletion request.
  • the deletion request is a dynamic deletion request and a static deletion request.
  • deletion request is a dynamic deletion request, clear the record formed by the domain name and the IP address on the GTM device.
  • the dynamic deletion request is set by the user.
  • the dynamic deletion request includes a domain name, an IP address corresponding to the domain name, and a record type.
  • the IP address corresponding to the domain name may be multiple.
  • the mapping between the domain name and the IP address forms a record. Therefore, according to the mapping relationship between the domain name and the IP address, the record corresponding to a domain name can include static records and dynamic records, and dynamic records are generated at the same time, so static records are generated.
  • the deletion request is a dynamic deletion request, it is required to determine whether the record corresponding to the domain name contains a static record.
  • the static record in the record corresponding to the domain name needs to be dynamically recorded on the GTM device.
  • the static record can be separated from the dynamic record by the record type.
  • the domain name on the GTM device and the IP address corresponding to each domain name are listed to form a mapping relationship between the domain name and the IP address, and the domain name and IP address in the request and the domain name and IP in the mapping relationship table are dynamically deleted. The addresses are compared one by one, thereby separating the static record from the dynamic record, and deleting the separated static record and dynamic record.
  • the dynamic deletion request includes three records corresponding to the domain name A, and the three records respectively correspond to the three IP addresses B, C, and D of the domain name A.
  • the mapping relationship between the domain name A and the IP addresses B and C forms a dynamic record
  • the mapping relationship between the domain name A and the IP address D forms a static record.
  • the IP address B and C corresponding to the domain name A on the GTM device are separated from the IP address D corresponding to the domain name A by the mapping between the domain name and the IP address on the GTM device, so that the dynamic record includes the domain name A and the corresponding IP address.
  • Addresses B, C, and make the static record include the domain name A and the corresponding IP address D, and delete the domain name A and the corresponding IP address D from the GTM device, and the domain name A and the corresponding IP address B, C from the GTM device Delete on.
  • the record corresponding to the domain name in the dynamic deletion request may also be only in the dynamic record.
  • the dynamic deletion request includes only the domain name A and the two IP addresses B and C corresponding to the domain name A, and the domain name A and the IP address B and C. The mapping relationship between them forms a dynamic record. At this time, the dynamic deletion request does not contain static records, so there is no need to separate.
  • the number of IP addresses corresponding to the domain name A on the GTM device is usually greater than or equal to the number of IP addresses in the dynamic record.
  • the dynamic record corresponding to the domain name A in the dynamic deletion request input by the user includes the IP address B.
  • C and the dynamic record corresponding to the domain name A on the GTM device includes the IP address B, C, and E.
  • the dynamic deletion request input by the user needs to be partially deleted from the GTM device, that is, the IP address B corresponding to the domain name A is deleted.
  • C the IP address E corresponding to the domain name A is reserved.
  • the dynamic deletion request is to delete the IP addresses B, C, and E in all the dynamic records corresponding to the domain name A
  • the overall deletion is required according to the dynamic deletion request input by the user, that is, the IP address B corresponding to the domain name A is deleted. C, E.
  • deletion request is a static deletion request, clear the record formed by the domain name and the IP address on the GTM device.
  • the deletion request corresponds to the static record
  • the dynamic record generation process does not generate the dynamic record
  • the deletion request is a static deletion request
  • the static record and the corresponding The record formed by the IP address is directly deleted from the GTM device, and the IP address D corresponding to the domain name A is deleted from the GTM device.
  • the dynamic/static deletion completion prompt is displayed to facilitate the user. Understand the completion status of the operation and maintenance configuration operations on the GTM device. It can be understood that, in order to facilitate the user to grasp the real-time progress of the dynamic/static deletion operation, a progress bar, a percentage of completion, and the like may be set on the human-computer interaction interface to prompt the user to complete the progress.
  • the operation request is a modification request, modify configuration information on the GTM device, where the configuration information corresponds to a domain name.
  • step S104 it is a schematic flowchart corresponding to step S104 when the operation request in FIG. 1 is a modification request. As shown in the figure, step S104 specifically steps S401 to S403.
  • the domain name may be confirmed by querying whether the domain name exists on the GTM device. If the domain name exists on the GTM device, the query result may be selected by querying the query result. Corresponding to the domain name configuration item to select, or in the configuration information corresponding to the query result setting drop-down menu for the user to select the type of the modification request, etc. to form a modification request.
  • the modification request is a dynamic modification request and a static modification request.
  • the domain name or the IP address is confirmed to exist on the GTM device.
  • the query result includes configuration information corresponding to the domain name, and the configuration information includes a plurality of configuration items and modification information of the corresponding configuration item.
  • the configuration item includes a plurality of IP addresses corresponding to the domain name, a record type, an analysis algorithm, and the like.
  • each configuration item is followed by a check box for the user to select.
  • the configuration information further includes modification information of the corresponding configuration item, so as to modify the configuration item in the domain name corresponding configuration information on the GTM device according to the modification information.
  • the configuration item includes the IP address B and C, and the modification information is to modify the IP address B to the IP address D and the IP address C to the IP address E, thereby completing the dynamic modification of the configuration information corresponding to the domain name.
  • the modification request is a static modification request
  • the configuration item corresponding to the domain name is modified on the GTM according to the modification item and the modification information in the static modification request, so as to complete the static modification of the configuration information corresponding to the domain name.
  • the configuration item that needs to be modified by the domain name is found on the GTM device according to the static modification request input by the user, and then the configuration item of the domain name on the GTM device is modified according to the modification information.
  • the dynamic/static modification completion prompt is displayed to facilitate the user. Understand the completion status of the operation and maintenance configuration operations on the GTM device. It can be understood that, in order to facilitate the user to grasp the real-time progress of the dynamic/static modification operation, a progress bar, a percentage of completion, and the like may be set on the human-computer interaction interface to prompt the user to complete the progress.
  • the embodiment of the present invention determines whether the operation request is an increase request, a delete request, or a modification request, and if the operation request is an increase request, adding a record on the GTM device, if the operation request is deleted Request to delete the record on the GTM device. If the operation request is a modification request, modify the configuration information corresponding to the domain name on the GTM device.
  • the embodiment of the present invention divides an operation request into an increase request, a delete request, or a modify request, and performs corresponding processing operations on different operation requests, thereby implementing automatic operation and maintenance management, improving efficiency, and improving user experience of the GTM device. .
  • FIG. 5 is a schematic flowchart of a GTM device operation and maintenance management method according to another embodiment of the present invention. As shown, the method includes steps S501-S506.
  • the query In order to facilitate the user to perform a domain name query operation on the GTM device, not only can the query be performed in a database other than the GTM device as described above, but the user can also query from the GTM device by inputting a query request. If the user can input a query request on the human-computer interaction interface, the query request may include key search information such as a domain name or an IP address, which is not limited herein. After receiving the query request input by the user, detecting whether the domain name in the query request exists on the GTM device to obtain a query result.
  • key search information such as a domain name or an IP address
  • the query result displays configuration information such as several IP addresses, parsing algorithms, and record types corresponding to the domain name for the user to view. It can be understood that if the domain name does not exist on the GTM device, the query result is blank. Further, in order to perform related operations such as adding, deleting, or modifying the domain name record, the user may perform related configurations of the IP address, the parsing algorithm, and the record type corresponding to the domain name in the query result. The item is set to a tick option for the user to select to generate an operation request to facilitate related operation and maintenance management operations on the GTM device.
  • the operation request is an increase request, add a record on the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address.
  • the operation request is a modification request, modify configuration information on the GTM device, where the configuration information corresponds to a domain name.
  • Steps S503 to S506 are as described above, and are not described herein again.
  • the query result is obtained according to the query request input by the user, and the query result is used for the user to operate to generate an operation request, and the query is performed on the GTM device according to the domain name in the query request to obtain the query result.
  • the configuration result of the domain name corresponding to the IP address, the resolution algorithm, and the record type will be displayed. For example, before the operation is added, the user can intuitively see whether the domain name of the added request and the IP address corresponding to the domain name already exist. On the GTM device, it can save the judgment process in the increased operation. For example, before deleting or modifying the operation, it is necessary to pre-query that the domain name exists on the GTM device for subsequent deletion or modification operations.
  • FIG. 6 is a schematic block diagram of a terminal according to an embodiment of the present invention.
  • the terminal 60 in this embodiment as shown in the figure includes a first judging unit 61, an adding unit 62, a deleting unit 63, and a modifying unit 64.
  • the first determining unit 61 is configured to determine, according to an operation request input by the user, a type of the operation request, where the type of the operation request includes a dynamic operation request and a static operation request.
  • the adding unit 62 is configured to: if receiving an operation request input by the user, determine whether the operation request is an increase request, a delete request, or a modification request;
  • the deleting unit 63 is configured to delete the record on the GTM device if the operation request is a deletion request;
  • the modifying unit 64 is configured to modify configuration information on the GTM device if the operation request is a modification request, where the configuration information corresponds to a domain name.
  • the adding unit 62 includes a second determining unit 621 and an adding unit 622.
  • the second determining unit 621 is configured to determine whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least one IP address corresponding to the domain name, and the static increase request includes a domain name And an IP address corresponding to the domain name, and a record type, and if the increase request is a dynamic increase request, determining whether the domain name exists on the GTM device;
  • the adding unit 622 is configured to add a record formed by the domain name and the corresponding IP address on the GTM device if the domain name does not exist on the GTM device;
  • the second determining unit 621 is further configured to: if the domain name exists on the GTM device, determine whether each of the IP addresses exists on the GTM device;
  • the adding unit 622 is further configured to add, on the GTM device, a record formed by the domain name and an IP address that is not present on the GTM device;
  • the second determining unit 621 is further configured to: if the add request is a static add request, determine whether the domain name in the static increase request exists on the GTM device;
  • the adding unit 622 is further configured to: if the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device according to the record type.
  • the deletion unit 63 includes a third determination unit 631, and a cleaning unit 632.
  • the third determining unit 631 is configured to determine whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name, and at least one IP address corresponding to the domain name, where the static deletion request includes a domain name, and an IP address corresponding to the domain name;
  • the cleaning unit 632 is configured to: if the deletion request is a dynamic deletion request, clear the record formed by the domain name and the IP address on the GTM device, and clean the GTM device if the deletion request is a static deletion request a record formed by the domain name and the IP address, if the deletion request is a static deletion request, the deleting unit is further configured to: use an IP address corresponding to the domain name in the static record from the GTM device delete.
  • the modification unit 64 includes a fourth determination unit 641 and a revision unit 642.
  • the fourth determining unit 641 is configured to determine whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request includes a modification item in the configuration information and a modification corresponding to the modification item. information;
  • the revising unit 642 is configured to, if the request is a dynamic modification, modify the configuration information corresponding to the domain name on the GTM device according to the modification item and the modification information, and if the request is a static modification, according to the modification item Modifying the configuration information corresponding to the domain name on the GTM device with the modification information.
  • the first determining unit 61 determines whether the operation request is an increase request, a delete request, or a modification request, and if the operation request is an increase request, the GTM device is added by the adding unit 62. The record is added. If the operation request is a deletion request, the deletion unit 63 deletes the record on the GTM device. If the operation request is a modification request, the modification unit 64 modifies the configuration information corresponding to the domain name on the GTM device.
  • the embodiment of the present invention divides an operation request into an increase request, a delete request, or a modify request, and performs corresponding processing operations on different operation requests, thereby implementing automatic operation and maintenance management, improving efficiency, and improving user experience of the GTM device. .
  • FIG. 10 is a schematic block diagram of a terminal according to another embodiment of the present invention.
  • the terminal 70 in this embodiment as shown in the figure includes a detecting unit 71, a display unit 72, a first judging unit 73, an adding unit 74, a deleting unit 75, and a modifying unit 76.
  • the detecting unit 71 is configured to: if receiving a query request input by the user, detecting whether a domain name in the query request exists on the GTM device to obtain a query result.
  • the displaying unit 72 is configured to display the query result for the user to operate to generate the operation request, and the query result includes configuration information corresponding to the domain name.
  • the first determining unit 73 is configured to: if receiving an operation request input by the user, determine whether the operation request is an increase request, a delete request, or a modification request;
  • the adding unit 74 is configured to add a record on the GTM device, where the operation request is an increase request, and the record is used to identify a mapping relationship between a domain name and an IP address;
  • the deleting unit 75 is configured to delete the record on the GTM device if the operation request is a deletion request;
  • the modifying unit 76 is configured to modify configuration information on the GTM device if the operation request is a modification request, where the configuration information corresponds to a domain name.
  • the query result obtained by the query unit 71 is obtained in advance according to the query request input by the user, and the query result is used for the user to operate to generate an operation request, and the query is performed on the GTM device according to the domain name in the query request.
  • the query result is obtained, and the configuration item and the configuration information such as the IP address, the parsing algorithm, and the record type of the domain name are displayed by the display unit 72 in the query result.
  • the user can intuitively see the domain name and the domain name of the added request. Whether the corresponding IP address already exists on the GTM device, thereby saving the judgment process in the increased operation. For example, before deleting or modifying the operation, it is necessary to pre-query that the domain name exists on the GTM device for subsequent deletion or modification operations.
  • the units described in the embodiments of the present invention may also be stored in a computer readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the storage medium includes a USB flash drive, a removable hard disk, a read-only memory (ROM), and a random access memory (RAM, Random). Access Memory)
  • RAM random access memory
  • embodiments of the present invention also describe a computer readable storage medium having one or more programs, the one or more programs being executable by one or more processors to implement the following steps: Receiving an operation request input by the user, determining whether the operation request is an increase request, a delete request, or a modification request; if the operation request is an increase request, adding a record on the GTM device, where the record is used to identify a domain name and an IP address. The mapping relationship of the address; if the operation request is a deletion request, the record is deleted on the GTM device; if the operation request is a modification request, the configuration information is modified on the GTM device, and the configuration information corresponds to the domain name.
  • the adding a record on the GTM device includes the following steps: determining whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least An IP address corresponding to the domain name, the static increase request includes a domain name, an IP address corresponding to the domain name, and a record type; if the increase request is a dynamic increase request, determining whether the domain name exists On the GTM device; if the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device; if the domain name exists on the GTM device, determine each of the Whether the IP address exists on the GTM device; the record formed by the domain name and the IP address not existing on the GTM device is added to the GTM device; if the increase request is a static increase request, determining the static Adding whether the domain name in the request exists on the GTM device; if the domain name does not exist on the GTM
  • the deleting the record on the GTM device includes the following steps: determining whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name And at least one IP address corresponding to the domain name, the static deletion request includes a domain name, and an IP address corresponding to the domain name; if the deletion request is a dynamic deletion request, the device is cleaned on the GTM device. Recording the domain name and the IP address; if the deletion request is a static deletion request, clear the record formed by the domain name and the IP address on the GTM device.
  • the modifying the configuration information on the GTM device includes the following steps: determining whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request is And the modification information in the configuration information, and the modification information corresponding to the modification item; if the request is a dynamic modification, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information. And if it is a static modification request, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information.
  • the one or more programs are further executable by the one or more processors to implement the step of detecting whether a domain name in the query request exists in a GTM device if a query request input by a user is received Up to obtain a query result; displaying the query result for a user operation to generate the operation request, the query result including configuration information corresponding to the domain name.
  • FIG. 11 is a schematic block diagram of a GTM device operation and maintenance management apparatus according to an embodiment of the present invention.
  • the management device 80 includes a memory 81, one or several processors 82, one or several input devices 83, one or several output devices 84.
  • the processor 82, the input device 83, the output device 84, and the memory 81 are connected by a bus 85.
  • the memory 81 is used to store program data with various functions.
  • the data stored in the memory 81 in the embodiment of the present invention includes program data that can be called and run.
  • the memory 81 of the embodiment of the present invention may be a system memory such as volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.), or a combination of the two.
  • the memory 66 of the embodiment of the present invention may also be an external memory outside the system, such as a magnetic disk, an optical disk, a magnetic tape, or the like.
  • the input device 83 is for the user to input an operation request or a query request.
  • the input device 83 of the embodiment of the present invention may include a keyboard, a mouse, a photoelectric input device, a sound input device, a touch input device, and the like.
  • Output device 84 is used to display the results of the query, which may include a display, a display screen, a touch screen, and the like.
  • the processor 82 reads an instruction in the memory 81 and performs an operation according to the instruction: if an operation request input by a user is received, determining whether the operation request is an increase request, a delete request, or a modification request;
  • the operation request is an add request, and a record is added to the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address; if the operation request is a delete request, the record is deleted on the GTM device;
  • the operation request is a modification request, and the configuration information is modified on the GTM device, and the configuration information corresponds to the domain name.
  • adding the record on the GTM device includes: determining whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least one The IP address corresponding to the domain name, the static increase request includes a domain name, an IP address corresponding to the domain name, and a record type; if the increase request is a dynamic increase request, determining whether the domain name exists in the GTM If the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device; if the domain name exists on the GTM device, determine each of the IP addresses.
  • the deleting the record on the GTM device includes: determining whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name, and At least one IP address corresponding to the domain name, the static deletion request includes a domain name, and an IP address corresponding to the domain name; if the deletion request is a dynamic deletion request, the domain name is cleared on the GTM device And the record formed by the IP address; if the deletion request is a static deletion request, the record formed by the domain name and the IP address is cleared on the GTM device.
  • the modifying the configuration information on the GTM device includes: determining whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request includes a modification item in the configuration information and a modification information corresponding to the modification item; if the request is a dynamic modification, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information; For the static modification request, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information.
  • the processor 82 further performs the following operations: if a query request input by the user is received, detecting whether the domain name in the query request exists on the GTM device to obtain a query result; displaying the query result for the user to operate The operation request is thus generated, and the query result includes configuration information corresponding to the domain name.
  • the disclosed terminal and method may be implemented in other manners.
  • the device device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device device or unit, or an electrical, mechanical or other form of connection.
  • the units in the terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: U Disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access
  • RAM Random Access

Landscapes

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

Abstract

Disclosed in embodiments of the present invention is a GTM apparatus operation and maintenance management method, the method comprising: upon receiving an operation request inputted by a user, determining whether the operation request is an addition request, deletion request, or modification request; if the operation request is an addition request, then adding, on a GTM apparatus, a record used to identify a mapping relationship between a domain name and an IP address; if the operation request is a deletion request, then deleting the record on the GTM apparatus; and if the operation request is a modification request, then modifying, on the GTM apparatus, configuration information corresponding to the domain name. Also disclosed in the embodiments of the present invention are a terminal, computer readable storage medium, and management device. By categorizing operation requests into addition requests, deletion requests, and modification requests, and performing processing operations corresponding to different operation requests, the embodiments of the invention enable automated operation and maintenance management, efficiency improvement, and enhanced user experience of a GTM apparatus.

Description

一种GTM设备运维管理方法、终端、计算机可读存储介质及管理装置  GTM device operation and maintenance management method, terminal, computer readable storage medium and management device

技术领域Technical field

本发明涉及运维管理技术领域,尤其涉及一种GTM设备运维管理方法、终端、计算机可读存储介质及管理装置。The present invention relates to the field of operation and maintenance management technologies, and in particular, to a GTM device operation and maintenance management method, a terminal, a computer readable storage medium, and a management device.

背景技术Background technique

GTM(Global Traffic Manager全局流量管理)设备是一种广域网负载均衡设备,以域名解析为主要工作,可处理多个数据中心的流量分配。目前GTM设备的运维管理没有统一的配置标准,其运维配置如域名记录的增加、修改、删除等操作均通过人工来进行。由于需要人工进行多次重复操作,从而致使GTM设备运维管理用时长、效率低下,严重影响了用户的使用体验。GTM (Global Traffic Manager Global Traffic Management ()) is a WAN load balancing device that uses domain name resolution as its primary task to handle traffic distribution across multiple data centers. Currently, there is no unified configuration standard for operation and maintenance management of GTM devices. Operations such as adding, modifying, and deleting domain name records are manually performed. Due to the need to manually perform multiple repetitive operations, the operation and maintenance of the GTM equipment is time-consuming and inefficient, which seriously affects the user experience.

发明内容Summary of the invention

本发明实施例提供一种GTM设备运维管理方法、终端、计算机可读存储介质及管理装置,其能够实现GTM设备的自动化运维管理、提升效率、且提高用户使用体验。The embodiment of the invention provides a GTM device operation and maintenance management method, a terminal, a computer readable storage medium and a management device, which can implement automatic operation and maintenance management, improve efficiency, and improve user experience of the GTM device.

第一方面,本发明实施例提供了一种GTM设备运维管理方法,该方法包括:若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;若所述操作请求为删除请求,在GTM设备上删除所述记录;若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。In a first aspect, an embodiment of the present invention provides a GTM device operation and maintenance management method, where the method includes: if an operation request input by a user is received, determining whether the operation request is an increase request, a delete request, or a modification request; The operation request is an add request, and a record is added to the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address; if the operation request is a delete request, the record is deleted on the GTM device; The operation request is a modification request, and the configuration information is modified on the GTM device, and the configuration information corresponds to the domain name.

第二方面,本发明实施例提供了一种终端,该终端包括:第一判断单元,用于若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;添加单元,用于若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;删除单元,用于若所述操作请求为删除请求,在GTM设备上删除所述记录;修改单元,用于若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。In a second aspect, the embodiment of the present invention provides a terminal, where the terminal includes: a first determining unit, configured to: if receiving an operation request input by a user, determine whether the operation request is an increase request, a delete request, or a modify request Adding a unit, if the operation request is an increase request, adding a record on the GTM device, the record is used to identify a mapping relationship between a domain name and an IP address; and the deleting unit is configured to: if the operation request is a deletion request, Deleting the record on the GTM device; modifying the unit, if the operation request is a modification request, modifying the configuration information on the GTM device, where the configuration information corresponds to the domain name.

第三方面,本发明实施例提供了一种计算机可读存储介质,所述存储介质有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行以实现以下步骤:若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;若所述操作请求为删除请求,在GTM设备上删除所述记录;若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。In a third aspect, an embodiment of the present invention provides a computer readable storage medium having one or more programs, the one or more programs being executable by one or more processors to implement the following steps If the operation request input by the user is received, determining whether the operation request is an increase request, a delete request, or a modification request; if the operation request is an increase request, adding a record on the GTM device, where the record is used to identify the domain name a mapping relationship with the IP address; if the operation request is a deletion request, deleting the record on the GTM device; if the operation request is a modification request, modifying the configuration information on the GTM device, where the configuration information corresponds to the domain name .

第四方面,本发明实施例提供了一种GTM运维设备管理装置,所述包括存储器及处理器;所述存储器用于存储指令;所述处理器读取所述存储器中的指令并根据所述指令执行以下操作:若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;若所述操作请求为删除请求,在GTM设备上删除所述记录;若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。In a fourth aspect, an embodiment of the present invention provides a GTM operation and maintenance device management apparatus, where the memory includes a memory and a processor, the memory is used to store an instruction, and the processor reads an instruction in the memory and according to the The instruction performs the following operations: if an operation request input by the user is received, determining whether the operation request is an increase request, a delete request, or a modification request; if the operation request is an increase request, adding a record on the GTM device, Recording a mapping relationship between the domain name and the IP address; if the operation request is a deletion request, deleting the record on the GTM device; if the operation request is a modification request, modifying the configuration information on the GTM device, the configuration The information corresponds to the domain name.

本发明实施例根据接收到的用户输入的操作请求,判断操作请求是否为增加请求、删除请求、或修改请求,若该操作请求为增加请求,在GTM设备上添加记录,若该操作请求为删除请求,在GTM设备上删除记录,若操作请求为修改请求,在GTM设备上域名对应的修改配置信息。本发明实施例通过将操作请求划分为增加请求、删除请求、或修改请求,并对不同的操作请求执行相应的处理操作,从而实现GTM设备的自动化运维管理、提升效率、且提高用户使用体验。According to the received operation request of the user, the embodiment of the present invention determines whether the operation request is an increase request, a delete request, or a modification request, and if the operation request is an increase request, adding a record on the GTM device, if the operation request is deleted Request to delete the record on the GTM device. If the operation request is a modification request, modify the configuration information corresponding to the domain name on the GTM device. The embodiment of the present invention divides an operation request into an increase request, a delete request, or a modify request, and performs corresponding processing operations on different operation requests, thereby implementing automatic operation and maintenance management, improving efficiency, and improving user experience of the GTM device. .

附图说明DRAWINGS

为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. For the ordinary technicians, other drawings can be obtained based on these drawings without any creative work.

图1是本发明实施例提供的一种GTM设备运维管理方法的示意流程图;1 is a schematic flowchart of a GTM device operation and maintenance management method according to an embodiment of the present invention;

图2是图1中操作请求为增加请求时步骤S102对应的示意流程图;2 is a schematic flow chart corresponding to step S102 when the operation request in FIG. 1 is an increase request;

图3是图1中操作请求为删除请求时步骤S103对应的示意流程图;3 is a schematic flow chart corresponding to step S103 when the operation request in FIG. 1 is a deletion request;

图4是图1中操作请求为修改请求时步骤S104对应的示意流程图;4 is a schematic flow chart corresponding to step S104 when the operation request in FIG. 1 is a modification request;

图5是本发明另一实施例提供的一种GTM设备运维管理方法的示意流程图;FIG. 5 is a schematic flowchart of a GTM device operation and maintenance management method according to another embodiment of the present invention; FIG.

图6是本发明实施例提供的一种终端的示意性框图;FIG. 6 is a schematic block diagram of a terminal according to an embodiment of the present disclosure;

图7是图6中添加单元的示意性框图;Figure 7 is a schematic block diagram of the adding unit of Figure 6;

图8是图6中删除单元的示意性框图;Figure 8 is a schematic block diagram of the deleting unit of Figure 6;

图9是图6中修改单元的示意性框图;Figure 9 is a schematic block diagram of the modification unit of Figure 6;

图10是本发明另一实施例提供的一种终端的示意性框图;FIG. 10 is a schematic block diagram of a terminal according to another embodiment of the present invention; FIG.

图11是本发明实施例提供的一种管理装置的示意性框图FIG. 11 is a schematic block diagram of a management apparatus according to an embodiment of the present invention;

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和 “包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It will be understood that the terms "comprise" and "the" when used in the specification and the appended claims "Comprising" indicates the existence of the described features, integers, steps, operations, elements and/or components, but does not exclude the presence of one or more other features, integers, steps, operations, elements, components and/or combinations thereof Add to.

参见图1,是本发明实施例提供的一种GTM设备运维管理方法的示意流程图。该GTM(Global Traffic Manager全局流量管理)设备是一种广域网负载均衡设备,以域名解析为主要工作,可处理多个数据中心的流量分配。本发明实施例的GTM设备运维管理方法可以运行PC等终端中,用于对运维配置操作如域名记录的增加、修改、删除等进行处理。如图所示,该GTM设备运维管理方法包括步骤S101~S104。FIG. 1 is a schematic flowchart of a GTM device operation and maintenance management method according to an embodiment of the present invention. The GTM (Global Traffic Manager Global Traffic Management ()) is a WAN load balancing device that uses domain name resolution as its primary task to handle traffic distribution across multiple data centers. The GTM device operation and maintenance management method in the embodiment of the present invention can be used in a terminal such as a PC to process operations such as adding, modifying, and deleting domain name records. As shown in the figure, the GTM device operation and maintenance management method includes steps S101 to S104.

S101,若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求。S101. If an operation request input by the user is received, determine whether the operation request is an increase request, a delete request, or a modification request.

具体地,在本发明实施例中,操作请求包括增加请求、删除请求、及修改请求。在实际应用时,针对不同操作请求用户需通过人机交互界面输入与该操作请求相对应的请求信息。其中,增加请求用于在GTM设备上添加记录,删除请求用于在GTM设备上删除记录,修改请求用于在GTM设备上修改配置信息,该配置信息与域名相对应。其中,记录用于标识域名和IP地址的映射关系。Specifically, in the embodiment of the present invention, the operation request includes an increase request, a delete request, and a modification request. In actual application, the user is requested to input the request information corresponding to the operation request through the human-computer interaction interface for different operations. The add request is used to add a record on the GTM device, the delete request is used to delete the record on the GTM device, and the modify request is used to modify the configuration information on the GTM device, the configuration information corresponding to the domain name. The record is used to identify the mapping between the domain name and the IP address.

需要说明的是,实际应用时,为了加快域名解析速度以及实现GTM设备的安全备份,通常由多个GTM设备形成GTM集群来提供服务。GTM集群中设置有一个主GTM设备和多个从属GTM设备,用户在主GTM设备上完成运维配置操作后,将主GTM设备上的运维配置信息与从属GTM设备上的运维配置信息实现同步备份即可。由于GTM设备之间的同步备份技术属于现有的公知技术,此处不再赘述。It should be noted that, in actual application, in order to speed up the domain name resolution and realize the secure backup of the GTM device, a GTM cluster is usually formed by multiple GTM devices to provide services. The GTM cluster is configured with a primary GTM device and multiple subordinate GTM devices. After the operation and maintenance configuration is performed on the primary GTM device, the operation and maintenance configuration information on the primary GTM device and the operation and maintenance configuration information on the secondary GTM device are implemented. Synchronize backups. Since the synchronous backup technology between GTM devices belongs to the prior art, it will not be described here.

为了方便用户在GTM设备上进行域名或IP地址的查询操作,通常会在独立于GTM设备之外的主机上设置于数据库,该数据库同步用于存放GTM设备上的运维配置信息等,用户可通过该数据库进行域名或IP地址的查询操作。In order to facilitate the user to perform the query of the domain name or the IP address on the GTM device, the database is usually set in the database independently of the GTM device. The database is used to store the operation and maintenance configuration information on the GTM device. The domain name or IP address query operation is performed through the database.

S102,若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系。S102. If the operation request is an increase request, add a record on the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address.

参照图2,是图1是操作请求为增加请求时步骤S102对应的示意流程图。如图所示,步骤S102具体步骤S201~S207。Referring to FIG. 2, FIG. 1 is a schematic flow chart corresponding to step S102 when the operation request is an increase request. As shown in the figure, step S102 specifically steps S201 to S207.

S201,判断所述增加请求是否为动态增加请求或静态增加请求,所述动态增加请求包括域名、至少一个与所述域名相对应的IP地址,所述静态增加请求包括域名、与所述域名一一对应的IP地址、及记录类型。S201: Determine whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least one IP address corresponding to the domain name, and the static increase request includes a domain name, and the domain name A corresponding IP address, and record type.

具体地,在发明实施例中,按照域名与该域名对应的IP地址的映射关系形成了动态记录和静态记录,且动态记录与动态操作请求相对应,静态记录与静态操作请求相对应。由于动态操作请求与静态操作请求在GTM设备上各自对应的运维管理操作不同,因此,在本发明实施例中,若接收到用户输入的增加请求,需要判断该增加请求为动态增加请求还是静态增加请求。Specifically, in the embodiment of the present invention, the dynamic record and the static record are formed according to the mapping relationship between the domain name and the IP address corresponding to the domain name, and the dynamic record corresponds to the dynamic operation request, and the static record corresponds to the static operation request. In the embodiment of the present invention, if the request for the increase of the user input is received, it is necessary to determine whether the request for the increase is a dynamic increase request or a static request, because the operation request of the dynamic operation request and the static operation request are different on the GTM device. Increase the request.

S202,若所述增加请求为动态增加请求,判断所述域名是否存在于GTM设备上。S202. If the increase request is a dynamic increase request, determine whether the domain name exists on the GTM device.

具体地,动态增加请求由用户进行设定。在本发明实施例中,该动态增加请求至少包括域名及与该域名相对应的若干IP地址,可以理解地,该动态增加请求还可以包括增加请求的类型、IP地址所对应的端口号等,且增加请求的类型如动态增加/静态增加也可由用户通过人机交互界面进行选定,如可以在人机交互界面上设置下拉框以供用户进行增加请求的类型选择。为了避免在GTM设备上重复添加同一个域名记录,在本发明实施例中,需要判断该域名是否已经存在于GTM设备上。如可以采用逐一比对的方式进行判断,即将GTM设备上的域名及与每一个域名相对应的IP地址进行罗列以形成域名与IP地址的映射关系表,将动态增加请求中的域名与该映射关系表中的域名进行逐一比对,从而判断该域名是否应存在于GTM设备上。可以理解地,判断该域名是否已经存在于GTM设备上的方式并不局限此,此处不作限定。Specifically, the dynamic increase request is set by the user. In the embodiment of the present invention, the dynamic increase request includes at least a domain name and a plurality of IP addresses corresponding to the domain name. The dynamic increase request may further include increasing the type of the request, the port number corresponding to the IP address, and the like. And increasing the type of the request, such as dynamic increase/static increase, can also be selected by the user through the human-computer interaction interface, for example, a drop-down box can be set on the human-computer interaction interface for the user to make a type selection of the increase request. In order to avoid the repeated addition of the same domain name record on the GTM device, in the embodiment of the present invention, it is necessary to determine whether the domain name already exists on the GTM device. If the comparison can be made one by one, the domain name on the GTM device and the IP address corresponding to each domain name are listed to form a mapping relationship between the domain name and the IP address, and the domain name in the request and the mapping are dynamically added. The domain names in the relationship table are compared one by one to determine whether the domain name should exist on the GTM device. It is to be understood that the manner of determining whether the domain name already exists on the GTM device is not limited thereto, and is not limited herein.

S203,若所述域名不存在GTM设备上,在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录。S203. If the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address to the GTM device.

具体地,若该域名没有存在于GTM设备上,即GTM设备上还没有存储与该域名相关的域名记录,为了将该域名对应的网络资源能够被访问,在本发明实施例中,在GTM设备上添加该域名以及与该域名相对应的IP地址所形成的记录,以便后续根据访问者的访问请求进行域名解析并查找到该域名对应的网络资源。Specifically, if the domain name does not exist on the GTM device, that is, the domain name record related to the domain name is not stored on the GTM device, in order to enable the network resource corresponding to the domain name to be accessed, in the embodiment of the present invention, the GTM device Adding the domain name and the record formed by the IP address corresponding to the domain name, so as to perform domain name resolution according to the access request of the visitor and find the network resource corresponding to the domain name.

S204,若所述域名存在GTM设备上,判断每一个所述IP地址是否存在于GTM设备上。S204. If the domain name exists on the GTM device, determine whether each of the IP addresses exists on the GTM device.

具体地,由于一个域名可以对应多个IP地址,若该动态增加请求中的域名已经存在于GTM设备上了,则表明该域名与其对应的若干IP地址已经存在于GTM设备上,为了防止在GTM设备上对应同一个域名重复添加相同的IP地址,需要进一步判断该动态增加请求中的域名所对应的IP地址是否已经存在于GTM设备上。如可以采用将该IP地址与GTM设备上域名与IP地址的映射关系表中的IP地址进行逐一比对来判断。可以理解地,判断该动态增加请求中的域名所对应的IP地址是否已经存在于GTM设备上的方式并不局限此,此处不作限定。Specifically, since a domain name can correspond to multiple IP addresses, if the domain name in the dynamic increase request already exists on the GTM device, it indicates that the domain name and its corresponding IP address already exist on the GTM device, in order to prevent the GTM. If the same IP address is added to the same domain name on the device, you need to determine whether the IP address corresponding to the domain name in the dynamic request is already on the GTM device. For example, the IP address can be compared with the IP address in the mapping table between the domain name and the IP address on the GTM device. It is to be understood that the manner of determining whether the IP address corresponding to the domain name in the dynamic increase request is already present on the GTM device is not limited thereto, and is not limited herein.

需要说明的是,若该动态增加请求中的域名对应多个IP地址,则需要逐一判断每一个IP地址是否存在于GTM设备上,从而避免在GTM设备上对应同一个域名重复添加相同的IP地址。It should be noted that if the domain name in the dynamic increase request corresponds to multiple IP addresses, it is necessary to determine whether each IP address exists on the GTM device one by one, thereby avoiding repeatedly adding the same IP address to the same domain name on the GTM device. .

S205,在所述GTM设备上增设所述域名与不存在于所述GTM设备上的IP地址所形成的记录。S205. Add, on the GTM device, a record formed by the domain name and an IP address that does not exist on the GTM device.

具体地,在本发明实施例中,该域名对应的多个IP地址是否存在于GTM设备上包括以下三种情形:(一)、该域名对应的IP地址全部存在于GTM设备上,(二)、该域名对应的IP地址全部不存在于GTM设备上,(三)、该域名对应的IP地址中的一部分已经存在于GTM设备上,另一部分不存在于GTM设备上。根据步骤S204判断域名对应的每一个IP地址是否已经存在于GTM设备上后,将不存在于GTM设备上的IP地址对应该域名所形成的记录添加到GTM设备上,从而实现域名记录的动态添加。Specifically, in the embodiment of the present invention, whether the multiple IP addresses corresponding to the domain name exist on the GTM device include the following three situations: (1) the IP addresses corresponding to the domain name all exist on the GTM device, and (2) The IP address corresponding to the domain name does not exist on the GTM device. (3) A part of the IP address corresponding to the domain name already exists on the GTM device, and another part does not exist on the GTM device. After determining, according to step S204, whether each IP address corresponding to the domain name already exists on the GTM device, adding the record formed by the IP address corresponding to the domain name not existing on the GTM device to the GTM device, thereby dynamically adding the domain name record. .

S206,若所述增加请求为静态增加请求,判断所述静态增加请求中的域名是否存在于GTM设备上。S206. If the increase request is a static increase request, determine whether the domain name in the static increase request exists on the GTM device.

具体地,静态增加请求由用户进行设定。该静态增加请求至少包括域名、与域名一一对应的IP地址、及记录类型。其中,记录类型是指每个域名所包含的与之相关的资源。可以理解地,该静态增加请求中还可以包括增加请求的类型、IP地址所对应的端口号、TTL(Time To Live 留存时间)等。为了避免在GTM设备上重复添加同一个域名记录,在本发明实施例中需要判断该域名是否已经存在于GTM设备上。如可以采用逐一比对的方式进行判断该域名是否已经存在于GTM设备上,即将GTM设备上的域名及与每一个域名相对应的IP地址进行罗列以形成域名与IP地址的映射关系表,将静态增加请求中的域名与该映射关系表中的域名进行逐一比对,从而判断该域名是否应存在于GTM设备上。可以理解地,判断该域名是否已经存在于GTM设备上的方式并不局限此,此处不作限定。Specifically, the static increase request is set by the user. The static increase request includes at least a domain name, an IP address corresponding to the domain name, and a record type. Among them, the record type refers to the resources related to each domain name. It can be understood that the static increase request may further include increasing the type of the request, the port number corresponding to the IP address, and TTL (Time). To Live Retention time) and so on. In order to avoid the repeated addition of the same domain name record on the GTM device, in the embodiment of the present invention, it is required to determine whether the domain name already exists on the GTM device. If the domain name can be used to determine whether the domain name already exists on the GTM device, the domain name on the GTM device and the IP address corresponding to each domain name are listed to form a mapping relationship between the domain name and the IP address. The domain name in the static addition request is compared with the domain name in the mapping relationship table to determine whether the domain name should exist on the GTM device. It is to be understood that the manner of determining whether the domain name already exists on the GTM device is not limited thereto, and is not limited herein.

S207,若所述域名不存在于GTM设备上,根据所述记录类型在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录。S207. If the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device according to the record type.

具体地,在本发明实施例中,记录类型包括A记录和CNAME记录,A(Address)记录是用来指定域名对应的IP地址的记录。CNAME记录为别名记录,用于记录将多个域名映射到同一台计算机。由于A记录和CNAME记录对应的静态增加操作不同,若该域名不存在于GTM设备上,则根据对应的记录类型在GTM设备上添加域名以及相对应的IP地址所形成的记录。Specifically, in the embodiment of the present invention, the record type includes an A record and a CNAME record, and the A (Address) record is a record for specifying an IP address corresponding to the domain name. A CNAME record is an alias record that is used to record multiple domain names to the same computer. Since the static addition operation corresponding to the A record and the CNAME record is different, if the domain name does not exist on the GTM device, the record formed by the domain name and the corresponding IP address is added to the GTM device according to the corresponding record type.

需要说明的是,若该域名已经存在于GTM设备上,需要进一步判断该静态增加请求中与该域名相对应的IP地址是否已经存在于GTM设备上,若IP地址已经存在则不用重复添加,若该IP地址没有存在于GTM设备上,则需要在GTM设备上对应该域名添加对应的IP地址所形成的记录,从而实现域名激记录的静态添加。It should be noted that if the domain name already exists on the GTM device, it is necessary to further determine whether the IP address corresponding to the domain name in the static increase request already exists on the GTM device, and if the IP address already exists, there is no need to repeatedly add, if If the IP address does not exist on the GTM device, the record formed by adding the corresponding IP address to the domain name on the GTM device is required, so that the static addition of the domain name record is implemented.

在一些实施例中,为了便于用户了解动态/静态增加请求的完成情况,在本发明实施例中,当在GTM设备上完成动态/静态增加操作后,显示动态/静态增加完成提示,以便于用户了解GTM设备上运维配置操作的完成状态。可以理解地,为了便于用户掌握动态/静态增加操作的实时进度,可以在人机交互界面上设置进度条、完成百分比等提示用户当前完成进度。In some embodiments, in order to facilitate the user to understand the completion status of the dynamic/static increase request, in the embodiment of the present invention, after the dynamic/static increase operation is completed on the GTM device, the dynamic/static increase completion prompt is displayed to facilitate the user. Understand the completion status of the operation and maintenance configuration operations on the GTM device. It can be understood that, in order to facilitate the user to grasp the real-time progress of the dynamic/static increase operation, a progress bar, a percentage of completion, and the like may be set on the human-computer interaction interface to prompt the user to complete the progress.

S103,若所述操作请求为删除请求,在GTM设备上删除所述记录。S103. If the operation request is a deletion request, delete the record on the GTM device.

参见图3,是图1中操作请求为删除请求时步骤S103对应的示意流程图。如图所示,步骤S103具体步骤S301~S303。Referring to FIG. 3, it is a schematic flowchart corresponding to step S103 when the operation request in FIG. 1 is a deletion request. As shown in the figure, step S103 specifically steps S301 to S303.

S301,判断所述删除请求是否为动态删除请求或静态删除请求,所述动态删除请求包括域名、及至少一个与所述域名相对应的IP地址,所述静态删除请求包括域名、及与所述域名一一对应的IP地址。S301. Determine whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name, and at least one IP address corresponding to the domain name, where the static deletion request includes a domain name, and the The IP address of the domain name one by one.

具体地,实际应用时,在删除域名所对应的记录之前,可通过查询来确认域名是否存在于该GTM设备上,若该域名存在于GTM设备上,可通过在查询结果对应的配置信息勾选与域名相对应的IP地址来进行选择,或者在查询结果对应的配置信息设置下拉菜单供用户选择删除请求的类型等从而形成删除请求。如上所述,由于动态删除请求和静态删除请求在GTM设备上对应的删除操作不同,因此,在发明实施例中,需要判断删除请求为动态删除请求和静态删除请求。Specifically, in the actual application, before deleting the record corresponding to the domain name, the domain name may be confirmed by querying whether the domain name exists on the GTM device. If the domain name exists on the GTM device, the configuration information corresponding to the query result may be selected. The IP address corresponding to the domain name is selected, or a pull-down menu is set in the configuration information corresponding to the query result for the user to select the type of the deletion request, etc., thereby forming a deletion request. As described above, since the dynamic deletion request and the static deletion request are different in the corresponding deletion operation on the GTM device, in the embodiment of the invention, it is necessary to determine that the deletion request is a dynamic deletion request and a static deletion request.

S302,若所述删除请求为动态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录。S302. If the deletion request is a dynamic deletion request, clear the record formed by the domain name and the IP address on the GTM device.

具体地,动态删除请求由用户进行设定。该动态删除请求包括域名、该域名对应的IP地址、以及记录类型等。其中,该域名对应的IP地址可以是多个。由于域名与IP地址的映射关系形成记录,因此根据域名与IP地址的映射关系可知一个域名所对应的记录中可以包括静态记录和动态记录,生成动态记录的同时也会生成静态记录,因此,在本发明实施例中当删除请求为动态删除请求时,需要判断该域名对应的记录中是否包含有静态记录。Specifically, the dynamic deletion request is set by the user. The dynamic deletion request includes a domain name, an IP address corresponding to the domain name, and a record type. The IP address corresponding to the domain name may be multiple. The mapping between the domain name and the IP address forms a record. Therefore, according to the mapping relationship between the domain name and the IP address, the record corresponding to a domain name can include static records and dynamic records, and dynamic records are generated at the same time, so static records are generated. In the embodiment of the present invention, when the deletion request is a dynamic deletion request, it is required to determine whether the record corresponding to the domain name contains a static record.

具体地,若包含,则表明该域名所对应的记录中同时包含有静态记录和动态记录,在发明实施例中需要将该域名所对应的记录中的静态记录与动态记录在GTM设备上进行分离。由于用户输入的动态删除请求中已经设置有记录类型,可以通过该记录类型将静态记录与动态记录进行分离。如将GTM设备上的域名及与每一个域名相对应的IP地址进行罗列以形成域名与IP地址的映射关系表,将动态删除请求中的域名及IP地址与该映射关系表中的域名及IP地址进行逐一比对,从而将静态记录与动态记录进行分离,并将分离后的静态记录和动态记录进行删除。Specifically, if it is included, it indicates that the record corresponding to the domain name includes both the static record and the dynamic record. In the embodiment of the present invention, the static record in the record corresponding to the domain name needs to be dynamically recorded on the GTM device. . Since the record type is already set in the dynamic delete request input by the user, the static record can be separated from the dynamic record by the record type. For example, the domain name on the GTM device and the IP address corresponding to each domain name are listed to form a mapping relationship between the domain name and the IP address, and the domain name and IP address in the request and the domain name and IP in the mapping relationship table are dynamically deleted. The addresses are compared one by one, thereby separating the static record from the dynamic record, and deleting the separated static record and dynamic record.

举例说明,动态删除请求中包括域名A所对应的三个记录,该三个记录分别为及域名A对应三个IP地址B、C、D。其中,域名A与IP地址B、C之间的映射关系形成动态记录,域名A与IP地址D之间的映射关系形成静态记录。通过GTM设备上域名与IP地址的映射关系表以及记录类型将GTM设备上域名A对应的IP地址B、C与域名A对应的IP地址D进行分离,从而使动态记录包括域名A及对应的IP地址B、C,以及使静态记录包括域名A及对应的IP地址D,并将域名A以及对应的IP地址D从GTM设备上删除,及将域名A以及对应的IP地址B、C从GTM设备上删除。动态删除请求中该域名所对应的记录也可以只有动态记录中,如该动态删除请求只包括域名A及与该域名A对应的两个IP地址B、C、且域名A与IP地址B、C之间的映射关系均形成动态记录。此时,该动态删除请求中不包含静态记录,则无需进行分离。For example, the dynamic deletion request includes three records corresponding to the domain name A, and the three records respectively correspond to the three IP addresses B, C, and D of the domain name A. The mapping relationship between the domain name A and the IP addresses B and C forms a dynamic record, and the mapping relationship between the domain name A and the IP address D forms a static record. The IP address B and C corresponding to the domain name A on the GTM device are separated from the IP address D corresponding to the domain name A by the mapping between the domain name and the IP address on the GTM device, so that the dynamic record includes the domain name A and the corresponding IP address. Addresses B, C, and make the static record include the domain name A and the corresponding IP address D, and delete the domain name A and the corresponding IP address D from the GTM device, and the domain name A and the corresponding IP address B, C from the GTM device Delete on. The record corresponding to the domain name in the dynamic deletion request may also be only in the dynamic record. For example, the dynamic deletion request includes only the domain name A and the two IP addresses B and C corresponding to the domain name A, and the domain name A and the IP address B and C. The mapping relationship between them forms a dynamic record. At this time, the dynamic deletion request does not contain static records, so there is no need to separate.

需要说明的是,由于GTM设备上域名A所对应的的IP地址数量通常会大于或等于动态记录中IP地址数量,如用户输入的动态删除请求中的域名A所对应的动态记录包括IP地址B、C,而GTM设备上域名A所对应的动态记录包括IP地址B、C、E,按照用户输入的动态删除请求需要从GTM设备上进行部分删除,即删除域名A所对应的IP地址B、C,保留域名A所对应的IP地址E。若该动态删除请求为删除域名A所对应的全部动态记录中的IP地址B、C、E,这时按照用户输入的动态删除请求需要进行整体删除,即删除域名A所对应的IP地址B、C、E。It should be noted that the number of IP addresses corresponding to the domain name A on the GTM device is usually greater than or equal to the number of IP addresses in the dynamic record. For example, the dynamic record corresponding to the domain name A in the dynamic deletion request input by the user includes the IP address B. And C, and the dynamic record corresponding to the domain name A on the GTM device includes the IP address B, C, and E. The dynamic deletion request input by the user needs to be partially deleted from the GTM device, that is, the IP address B corresponding to the domain name A is deleted. C, the IP address E corresponding to the domain name A is reserved. If the dynamic deletion request is to delete the IP addresses B, C, and E in all the dynamic records corresponding to the domain name A, the overall deletion is required according to the dynamic deletion request input by the user, that is, the IP address B corresponding to the domain name A is deleted. C, E.

S303,若所述删除请求为静态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录。S303. If the deletion request is a static deletion request, clear the record formed by the domain name and the IP address on the GTM device.

具体地,在本发明实施例中,由于静态删除请求与静态记录相对应,且在静态记录生成过程不会生成动态记录,若该删除请求为静态删除请求,则将静态记录中及相对应的IP地址形成的记录从GTM设备上直接进行删除,即将从GTM设备上将域名A对应的IP地址D进行删除。Specifically, in the embodiment of the present invention, since the static deletion request corresponds to the static record, and the dynamic record generation process does not generate the dynamic record, if the deletion request is a static deletion request, the static record and the corresponding The record formed by the IP address is directly deleted from the GTM device, and the IP address D corresponding to the domain name A is deleted from the GTM device.

在一些实施例中,为了便于用户了解动态/静态删除请求的完成情况,在本发明实施例中,当在GTM设备上完成动态/静态删除操作后,显示动态/静态删除完成提示,以便于用户了解GTM设备上运维配置操作的完成状态。可以理解地,为了便于用户掌握动态/静态删除操作的实时进度,可以在人机交互界面上设置进度条、完成百分比等提示用户当前完成进度。In some embodiments, in order to facilitate the user to understand the completion status of the dynamic/static deletion request, in the embodiment of the present invention, after the dynamic/static deletion operation is completed on the GTM device, the dynamic/static deletion completion prompt is displayed to facilitate the user. Understand the completion status of the operation and maintenance configuration operations on the GTM device. It can be understood that, in order to facilitate the user to grasp the real-time progress of the dynamic/static deletion operation, a progress bar, a percentage of completion, and the like may be set on the human-computer interaction interface to prompt the user to complete the progress.

S104,若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。S104. If the operation request is a modification request, modify configuration information on the GTM device, where the configuration information corresponds to a domain name.

参见图4,是图1中操作请求为修改请求时步骤S104对应的示意流程图。如图所示,步骤S104具体步骤S401~S403。Referring to FIG. 4, it is a schematic flowchart corresponding to step S104 when the operation request in FIG. 1 is a modification request. As shown in the figure, step S104 specifically steps S401 to S403.

S401,判断所述修改请求是否为动态修改请求或静态修改请求,所述动态修改请求或静态修改请求均包括所述配置信息中的修改项以及对应所述修改项的修改信息。S401. Determine whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request includes a modification item in the configuration information and modification information corresponding to the modification item.

具体地,实际应用时,在修改域名所对应的配置信息之前,可通过查询来确认域名是否存在于该GTM设备上,若该域名存在于GTM设备上,可通过查询请求对应的查询结果勾选与域名相对应配置项来进行选择,或者在查询结果对应的配置信息设置下拉菜单供用户选择修改请求的类型等从而形成修改请求。如上所述,由于动态修改请求和静态修改请求在GTM设备上对应的修改操作不同,因此,在发明实施例中,需要判断修改请求为动态修改请求和静态修改请求。Specifically, in actual application, before the configuration information corresponding to the domain name is modified, the domain name may be confirmed by querying whether the domain name exists on the GTM device. If the domain name exists on the GTM device, the query result may be selected by querying the query result. Corresponding to the domain name configuration item to select, or in the configuration information corresponding to the query result setting drop-down menu for the user to select the type of the modification request, etc. to form a modification request. As described above, since the dynamic modification request and the static modification request are different in the corresponding modification operation on the GTM device, in the embodiment of the invention, it is necessary to determine that the modification request is a dynamic modification request and a static modification request.

S402,若为动态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息S402. If the request is a dynamic modification, modify, according to the modification item and the modification information, configuration information corresponding to the domain name on the GTM device.

具体地,在本发明实施例中,通过查询域名或IP地址确认该域名存在于GTM设备上。查询结果包括与域名对应的配置信息,该配置信息包括若干配置项以及对应配置项的修改信息。其中配置项如该域名对应的若干IP地址、记录类型、解析算法等,优选每一个配置项后设置有勾选框以供用户选择。此外,配置信息中还包括对应配置项的修改信息,以便根据修改信息在GTM设备上修改域名对应配置信息中的配置项。如配置项包括IP地址B、C,修改信息为将IP地址B修改为IP地址D、将IP地址C修改为IP地址E等,从而完成域名所对应的配置信息的动态修改。Specifically, in the embodiment of the present invention, the domain name or the IP address is confirmed to exist on the GTM device. The query result includes configuration information corresponding to the domain name, and the configuration information includes a plurality of configuration items and modification information of the corresponding configuration item. The configuration item includes a plurality of IP addresses corresponding to the domain name, a record type, an analysis algorithm, and the like. Preferably, each configuration item is followed by a check box for the user to select. In addition, the configuration information further includes modification information of the corresponding configuration item, so as to modify the configuration item in the domain name corresponding configuration information on the GTM device according to the modification information. For example, the configuration item includes the IP address B and C, and the modification information is to modify the IP address B to the IP address D and the IP address C to the IP address E, thereby completing the dynamic modification of the configuration information corresponding to the domain name.

S403,若为静态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息。S403. If the request is a static modification, modify the configuration information corresponding to the domain name on the GTM device according to the modification item and the modification information.

具体地,若该修改请求为静态修改请求,根据该静态修改请求中的修改项和修改信息在GTM上修改该域名对应的配置项,以完成域名所对应的配置信息的静态修改。具体地,修改之前需要根据用户输入的静态修改请求在GTM设备上找到该域名需要修改的配置项,然后根据修改信息将GTM设备上该域名的配置项进行修改。Specifically, if the modification request is a static modification request, the configuration item corresponding to the domain name is modified on the GTM according to the modification item and the modification information in the static modification request, so as to complete the static modification of the configuration information corresponding to the domain name. Specifically, before the modification, the configuration item that needs to be modified by the domain name is found on the GTM device according to the static modification request input by the user, and then the configuration item of the domain name on the GTM device is modified according to the modification information.

在一些实施例中,为了便于用户了解动态/静态修改请求的完成情况,在本发明实施例中,当在GTM设备上完成动态/静态修改操作后,显示动态/静态修改完成提示,以便于用户了解GTM设备上运维配置操作的完成状态。可以理解地,为了便于用户掌握动态/静态修改操作的实时进度,可以在人机交互界面上设置进度条、完成百分比等提示用户当前完成进度。In some embodiments, in order to facilitate the user to understand the completion status of the dynamic/static modification request, in the embodiment of the present invention, after the dynamic/static modification operation is completed on the GTM device, the dynamic/static modification completion prompt is displayed to facilitate the user. Understand the completion status of the operation and maintenance configuration operations on the GTM device. It can be understood that, in order to facilitate the user to grasp the real-time progress of the dynamic/static modification operation, a progress bar, a percentage of completion, and the like may be set on the human-computer interaction interface to prompt the user to complete the progress.

本发明实施例根据接收到的用户输入的操作请求,判断操作请求是否为增加请求、删除请求、或修改请求,若该操作请求为增加请求,在GTM设备上添加记录,若该操作请求为删除请求,在GTM设备上删除记录,若操作请求为修改请求,在GTM设备上域名对应的修改配置信息。本发明实施例通过将操作请求划分为增加请求、删除请求、或修改请求,并对不同的操作请求执行相应的处理操作,从而实现GTM设备的自动化运维管理、提升效率、且提高用户使用体验。According to the received operation request of the user, the embodiment of the present invention determines whether the operation request is an increase request, a delete request, or a modification request, and if the operation request is an increase request, adding a record on the GTM device, if the operation request is deleted Request to delete the record on the GTM device. If the operation request is a modification request, modify the configuration information corresponding to the domain name on the GTM device. The embodiment of the present invention divides an operation request into an increase request, a delete request, or a modify request, and performs corresponding processing operations on different operation requests, thereby implementing automatic operation and maintenance management, improving efficiency, and improving user experience of the GTM device. .

参见图5,是本发明另一实施例提供的一种GTM设备运维管理方法的示意流程图。如图所示,该方法包括步骤S501~S506。FIG. 5 is a schematic flowchart of a GTM device operation and maintenance management method according to another embodiment of the present invention. As shown, the method includes steps S501-S506.

S501,若接收到用户输入的查询请求,检测所述查询请求中的域名是否存在于GTM设备上以得到查询结果。S501. If a query request input by the user is received, detecting whether the domain name in the query request exists on the GTM device to obtain a query result.

为了方便用户在GTM设备上进行域名查询操作,不仅可以在如上所述的在独立于GTM设备之外的数据库中进行查询,用户还可以通过输入查询请求从GTM设备上进行查询。如用户可以在人机交互界面上输入查询请求,该查询请求中可以包括域名或IP地址等关键检索信息,此处不作限定。当接收到用户输入的查询请求后,检测该查询请求中的域名是否存在于GTM设备上以得到查询结果。In order to facilitate the user to perform a domain name query operation on the GTM device, not only can the query be performed in a database other than the GTM device as described above, but the user can also query from the GTM device by inputting a query request. If the user can input a query request on the human-computer interaction interface, the query request may include key search information such as a domain name or an IP address, which is not limited herein. After receiving the query request input by the user, detecting whether the domain name in the query request exists on the GTM device to obtain a query result.

S502,展示所述查询结果以供用户操作从而产生所述操作请求,所述查询结果包括与所述域名相对应的配置信息。S502. Display the query result for the user to operate to generate the operation request, where the query result includes configuration information corresponding to the domain name.

具体地,若该域名存在于GTM设备上,该查询结果将显示与该域名相对应的若干IP地址、解析算法、记录类型等配置信息以供用户查看。可以理解地,若该域名不存在于GTM设备上,则查询结果为显示为空。进一步地,为了用户根据该查询结果进行相关操作如域名记录的增加、删除、或修改等,在一些实施例中,将查询结果中与域名相对应的IP地址、解析算法、记录类型等相关配置项设置成可勾选项,以供用户进行选择从而产生操作请求,以方便在GTM设备上进行相关的运维管理操作。Specifically, if the domain name exists on the GTM device, the query result displays configuration information such as several IP addresses, parsing algorithms, and record types corresponding to the domain name for the user to view. It can be understood that if the domain name does not exist on the GTM device, the query result is blank. Further, in order to perform related operations such as adding, deleting, or modifying the domain name record, the user may perform related configurations of the IP address, the parsing algorithm, and the record type corresponding to the domain name in the query result. The item is set to a tick option for the user to select to generate an operation request to facilitate related operation and maintenance management operations on the GTM device.

S503,若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求。S503. If an operation request input by the user is received, determine whether the operation request is an increase request, a delete request, or a modification request.

S504,若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系。S504. If the operation request is an increase request, add a record on the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address.

S505,若所述操作请求为删除请求,在GTM设备上删除所述记录。S505. If the operation request is a deletion request, deleting the record on the GTM device.

S506,若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。S506. If the operation request is a modification request, modify configuration information on the GTM device, where the configuration information corresponds to a domain name.

步骤S503~S506如上所述,此处不再赘述。Steps S503 to S506 are as described above, and are not described herein again.

在本发明实施例预先根据用户输入的查询请求进行查询并得到的查询结果,该查询结果用于供用户操作从而产生操作请求,根据查询请求中的域名在GTM设备上进行查询以得到查询结果,该查询结果中将会显示域名对应IP地址、解析算法、记录类型等配置项及配置信息,如在增加操作之前,用户可以直观的看到增加请求的域名及该域名对应的IP地址是否已经存在于GTM设备上,从而可以节约增加操作中的判断过程。又如在删除操作或修改操作之前,均需要预先查询该域名存在于GTM设备上以便进行后续删除或修改操作。In the embodiment of the present invention, the query result is obtained according to the query request input by the user, and the query result is used for the user to operate to generate an operation request, and the query is performed on the GTM device according to the domain name in the query request to obtain the query result. The configuration result of the domain name corresponding to the IP address, the resolution algorithm, and the record type will be displayed. For example, before the operation is added, the user can intuitively see whether the domain name of the added request and the IP address corresponding to the domain name already exist. On the GTM device, it can save the judgment process in the increased operation. For example, before deleting or modifying the operation, it is necessary to pre-query that the domain name exists on the GTM device for subsequent deletion or modification operations.

参照图6,是本发明实施例提供的一种终端的示意框图。如图所示的本实施例中的终端60包括第一判断单元61、添加单元62、删除单元63、及修改单元64。FIG. 6 is a schematic block diagram of a terminal according to an embodiment of the present invention. The terminal 60 in this embodiment as shown in the figure includes a first judging unit 61, an adding unit 62, a deleting unit 63, and a modifying unit 64.

第一判断单元61,用于若接收到用户输入的操作请求,判断所述操作请求的类型,所述操作请求的类型包括动态操作请求和静态操作请求。The first determining unit 61 is configured to determine, according to an operation request input by the user, a type of the operation request, where the type of the operation request includes a dynamic operation request and a static operation request.

添加单元62,用于若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;The adding unit 62 is configured to: if receiving an operation request input by the user, determine whether the operation request is an increase request, a delete request, or a modification request;

删除单元63,用于若所述操作请求为删除请求,在GTM设备上删除所述记录;The deleting unit 63 is configured to delete the record on the GTM device if the operation request is a deletion request;

修改单元64,用于若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。The modifying unit 64 is configured to modify configuration information on the GTM device if the operation request is a modification request, where the configuration information corresponds to a domain name.

进一步地,参照图7,添加单元的示意性框图。如图所示,添加单元62包括第二判断单元621、及增设单元622。Further, referring to Figure 7, a schematic block diagram of the unit is added. As shown, the adding unit 62 includes a second determining unit 621 and an adding unit 622.

第二判断单元621,用于判断所述增加请求是否为动态增加请求或静态增加请求,所述动态增加请求包括域名、至少一个与所述域名相对应的IP地址,所述静态增加请求包括域名、与所述域名一一对应的IP地址、及记录类型,以及若所述增加请求为动态增加请求,判断所述域名是否存在于GTM设备上;The second determining unit 621 is configured to determine whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least one IP address corresponding to the domain name, and the static increase request includes a domain name And an IP address corresponding to the domain name, and a record type, and if the increase request is a dynamic increase request, determining whether the domain name exists on the GTM device;

增设单元622,用于若所述域名不存在GTM设备上,在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录;The adding unit 622 is configured to add a record formed by the domain name and the corresponding IP address on the GTM device if the domain name does not exist on the GTM device;

所述第二判断单元621还用于若所述域名存在GTM设备上,判断每一个所述IP地址是否存在于GTM设备上;The second determining unit 621 is further configured to: if the domain name exists on the GTM device, determine whether each of the IP addresses exists on the GTM device;

所述增设单元622还用于在所述GTM设备上增设所述域名与不存在于所述GTM设备上的IP地址所形成的记录;The adding unit 622 is further configured to add, on the GTM device, a record formed by the domain name and an IP address that is not present on the GTM device;

所述第二判断单元621还用于若所述增加请求为静态增加请求,判断所述静态增加请求中的域名是否存在于GTM设备上;The second determining unit 621 is further configured to: if the add request is a static add request, determine whether the domain name in the static increase request exists on the GTM device;

所述增设单元622还用于若所述域名不存在于GTM设备上,根据所述记录类型在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录。The adding unit 622 is further configured to: if the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device according to the record type.

进一步地,参照图8,删除单元的示意性框图。如图所示,删除单元63包括第三判断单元631、及清理单元632。Further, referring to FIG. 8, a schematic block diagram of the deleting unit is shown. As shown, the deletion unit 63 includes a third determination unit 631, and a cleaning unit 632.

第三判断单元631,用于判断所述删除请求是否为动态删除请求或静态删除请求,所述动态删除请求包括域名、及至少一个与所述域名相对应的IP地址,所述静态删除请求包括域名、及与所述域名一一对应的IP地址;The third determining unit 631 is configured to determine whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name, and at least one IP address corresponding to the domain name, where the static deletion request includes a domain name, and an IP address corresponding to the domain name;

清理单元632,用于若所述删除请求为动态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录,以及若所述删除请求为静态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录若所述删除请求为静态删除请求,所述删除单元还用于将所述静态记录中与所述域名相对应的IP地址从所述GTM设备上删除。The cleaning unit 632 is configured to: if the deletion request is a dynamic deletion request, clear the record formed by the domain name and the IP address on the GTM device, and clean the GTM device if the deletion request is a static deletion request a record formed by the domain name and the IP address, if the deletion request is a static deletion request, the deleting unit is further configured to: use an IP address corresponding to the domain name in the static record from the GTM device delete.

进一步地,参照图9,修改单元的示意性框图。如图所示,修改单元64包括第四判断单元641、及修订单元642。Further, referring to Figure 9, a schematic block diagram of the unit is modified. As shown, the modification unit 64 includes a fourth determination unit 641 and a revision unit 642.

第四判断单元641,用于判断所述修改请求是否为动态修改请求或静态修改请求,所述动态修改请求或静态修改请求均包括所述配置信息中的修改项以及对应所述修改项的修改信息;The fourth determining unit 641 is configured to determine whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request includes a modification item in the configuration information and a modification corresponding to the modification item. information;

修订单元642,用于若为动态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息,以及若为静态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息。The revising unit 642 is configured to, if the request is a dynamic modification, modify the configuration information corresponding to the domain name on the GTM device according to the modification item and the modification information, and if the request is a static modification, according to the modification item Modifying the configuration information corresponding to the domain name on the GTM device with the modification information.

本发明实施例根据接收到的用户输入的操作请求,通过第一判断单元61判断操作请求是否为增加请求、删除请求、或修改请求,若该操作请求为增加请求,通过添加单元62在GTM设备上添加记录,若该操作请求为删除请求,通过删除单元63在GTM设备上删除记录,若操作请求为修改请求,通过修改单元64在GTM设备上域名对应的修改配置信息。本发明实施例通过将操作请求划分为增加请求、删除请求、或修改请求,并对不同的操作请求执行相应的处理操作,从而实现GTM设备的自动化运维管理、提升效率、且提高用户使用体验。According to the received operation request input by the user, the first determining unit 61 determines whether the operation request is an increase request, a delete request, or a modification request, and if the operation request is an increase request, the GTM device is added by the adding unit 62. The record is added. If the operation request is a deletion request, the deletion unit 63 deletes the record on the GTM device. If the operation request is a modification request, the modification unit 64 modifies the configuration information corresponding to the domain name on the GTM device. The embodiment of the present invention divides an operation request into an increase request, a delete request, or a modify request, and performs corresponding processing operations on different operation requests, thereby implementing automatic operation and maintenance management, improving efficiency, and improving user experience of the GTM device. .

参照图10,是本发明另一实施例提供的一种终端的示意框图。如图所示的本实施例中的终端70包括检测单元71、展示单元72、第一判断单元73、添加单元74、删除单元75、及修改单元76。FIG. 10 is a schematic block diagram of a terminal according to another embodiment of the present invention. The terminal 70 in this embodiment as shown in the figure includes a detecting unit 71, a display unit 72, a first judging unit 73, an adding unit 74, a deleting unit 75, and a modifying unit 76.

检测单元71,用于若接收到用户输入的查询请求,检测所述查询请求中的域名是否存在于GTM设备上以得到查询结果。The detecting unit 71 is configured to: if receiving a query request input by the user, detecting whether a domain name in the query request exists on the GTM device to obtain a query result.

展示单元72,用于展示所述查询结果以供用户操作从而产生所述操作请求,所述查询结果包括与所述域名相对应的配置信息。The displaying unit 72 is configured to display the query result for the user to operate to generate the operation request, and the query result includes configuration information corresponding to the domain name.

第一判断单元73,用于若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;The first determining unit 73 is configured to: if receiving an operation request input by the user, determine whether the operation request is an increase request, a delete request, or a modification request;

添加单元74,用于若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;The adding unit 74 is configured to add a record on the GTM device, where the operation request is an increase request, and the record is used to identify a mapping relationship between a domain name and an IP address;

删除单元75,用于若所述操作请求为删除请求,在GTM设备上删除所述记录;The deleting unit 75 is configured to delete the record on the GTM device if the operation request is a deletion request;

修改单元76,用于若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。The modifying unit 76 is configured to modify configuration information on the GTM device if the operation request is a modification request, where the configuration information corresponds to a domain name.

在本发明实施例预先根据用户输入的查询请求通过查询单元71进行查询并得到的查询结果,该查询结果用于供用户操作从而产生操作请求,根据查询请求中的域名在GTM设备上进行查询以得到查询结果,并该查询结果中通过展示单元72显示域名对应IP地址、解析算法、记录类型等配置项及配置信息,如在增加操作之前,用户可以直观的看到增加请求的域名及该域名对应的IP地址是否已经存在于GTM设备上,从而可以节约增加操作中的判断过程。又如在删除操作或修改操作之前,均需要预先查询该域名存在于GTM设备上以便进行后续删除或修改操作。In the embodiment of the present invention, the query result obtained by the query unit 71 is obtained in advance according to the query request input by the user, and the query result is used for the user to operate to generate an operation request, and the query is performed on the GTM device according to the domain name in the query request. The query result is obtained, and the configuration item and the configuration information such as the IP address, the parsing algorithm, and the record type of the domain name are displayed by the display unit 72 in the query result. For example, before the adding operation, the user can intuitively see the domain name and the domain name of the added request. Whether the corresponding IP address already exists on the GTM device, thereby saving the judgment process in the increased operation. For example, before deleting or modifying the operation, it is necessary to pre-query that the domain name exists on the GTM device for subsequent deletion or modification operations.

本发明实施例中所述的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而该存储介质包括U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory),磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。The units described in the embodiments of the present invention may also be stored in a computer readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The storage medium includes a USB flash drive, a removable hard disk, a read-only memory (ROM), and a random access memory (RAM, Random). Access Memory) A variety of media that can store program code, such as a disk or a disc. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.

相应的,本发明实施例还记载了一种计算机可读存储介质,该存储介质有一个或者一个以上程序,该一个或者一个以上程序可被一个或者一个以上的处理器执行以实现以下步骤:若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;若所述操作请求为删除请求,在GTM设备上删除所述记录;若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。Correspondingly, embodiments of the present invention also describe a computer readable storage medium having one or more programs, the one or more programs being executable by one or more processors to implement the following steps: Receiving an operation request input by the user, determining whether the operation request is an increase request, a delete request, or a modification request; if the operation request is an increase request, adding a record on the GTM device, where the record is used to identify a domain name and an IP address. The mapping relationship of the address; if the operation request is a deletion request, the record is deleted on the GTM device; if the operation request is a modification request, the configuration information is modified on the GTM device, and the configuration information corresponds to the domain name.

优选地,所述若所述操作请求为增加请求,所述在GTM设备上添加记录包括以下步骤:判断所述增加请求是否为动态增加请求或静态增加请求,所述动态增加请求包括域名、至少一个与所述域名相对应的IP地址,所述静态增加请求包括域名、与所述域名一一对应的IP地址、及记录类型;若所述增加请求为动态增加请求,判断所述域名是否存在于GTM设备上;若所述域名不存在GTM设备上,在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录;若所述域名存在GTM设备上,判断每一个所述IP地址是否存在于GTM设备上;在所述GTM设备上增设所述域名与不存在于所述GTM设备上的IP地址所形成的记录;若所述增加请求为静态增加请求,判断所述静态增加请求中的域名是否存在于GTM设备上;若所述域名不存在于GTM设备上,根据所述记录类型在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录。Preferably, if the operation request is an increase request, the adding a record on the GTM device includes the following steps: determining whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least An IP address corresponding to the domain name, the static increase request includes a domain name, an IP address corresponding to the domain name, and a record type; if the increase request is a dynamic increase request, determining whether the domain name exists On the GTM device; if the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device; if the domain name exists on the GTM device, determine each of the Whether the IP address exists on the GTM device; the record formed by the domain name and the IP address not existing on the GTM device is added to the GTM device; if the increase request is a static increase request, determining the static Adding whether the domain name in the request exists on the GTM device; if the domain name does not exist on the GTM device, adding the GTM device according to the record type The record formed by the domain name and the corresponding IP address.

优选地,所述若所述操作请求为删除请求,所述在GTM设备上删除所述记录包括以下步骤:判断所述删除请求是否为动态删除请求或静态删除请求,所述动态删除请求包括域名、及至少一个与所述域名相对应的IP地址,所述静态删除请求包括域名、及与所述域名一一对应的IP地址;若所述删除请求为动态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录;若所述删除请求为静态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录。Preferably, if the operation request is a deletion request, the deleting the record on the GTM device includes the following steps: determining whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name And at least one IP address corresponding to the domain name, the static deletion request includes a domain name, and an IP address corresponding to the domain name; if the deletion request is a dynamic deletion request, the device is cleaned on the GTM device. Recording the domain name and the IP address; if the deletion request is a static deletion request, clear the record formed by the domain name and the IP address on the GTM device.

优选地,若所述操作请求为修改请求,所述在GTM设备上修改配置信息包括以下步骤:判断所述修改请求是否为动态修改请求或静态修改请求,所述动态修改请求或静态修改请求均包括所述配置信息中的修改项以及对应所述修改项的修改信息;若为动态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息;若为静态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息。Preferably, if the operation request is a modification request, the modifying the configuration information on the GTM device includes the following steps: determining whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request is And the modification information in the configuration information, and the modification information corresponding to the modification item; if the request is a dynamic modification, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information. And if it is a static modification request, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information.

优选地,所述一个或者一个以上程序还可被所述一个或者一个以上的处理器执行以实现以下步骤:若接收到用户输入的查询请求,检测所述查询请求中的域名是否存在于GTM设备上以得到查询结果;展示所述查询结果以供用户操作从而产生所述操作请求,所述查询结果包括与所述域名相对应的配置信息。Preferably, the one or more programs are further executable by the one or more processors to implement the step of detecting whether a domain name in the query request exists in a GTM device if a query request input by a user is received Up to obtain a query result; displaying the query result for a user operation to generate the operation request, the query result including configuration information corresponding to the domain name.

参照图11,是本发明实施例提供的一种GTM设备运维管理装置的示意性框图。如图所示,该管理装置80包括存储器81、一个或者若干个处理器82、一个或者若干个输入装置83、一个或者若干个输出装置84。上述处理器82、输入装置83、输出装置84以及存储器81通过总线85连接。FIG. 11 is a schematic block diagram of a GTM device operation and maintenance management apparatus according to an embodiment of the present invention. As shown, the management device 80 includes a memory 81, one or several processors 82, one or several input devices 83, one or several output devices 84. The processor 82, the input device 83, the output device 84, and the memory 81 are connected by a bus 85.

存储器81用于存储带有各种功能的程序数据。本发明实施例中存储器81存储的数据包括可调用并运行的程序数据。具体实现中,本发明实施例的存储器81可以是系统存储器,比如,挥发性的(诸如RAM),非易失性的(诸如ROM,闪存等),或者两者的结合。具体实现中,本发明实施例的存储器66还可以是系统之外的外部存储器,比如,磁盘、光盘、磁带等。The memory 81 is used to store program data with various functions. The data stored in the memory 81 in the embodiment of the present invention includes program data that can be called and run. In a specific implementation, the memory 81 of the embodiment of the present invention may be a system memory such as volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.), or a combination of the two. In a specific implementation, the memory 66 of the embodiment of the present invention may also be an external memory outside the system, such as a magnetic disk, an optical disk, a magnetic tape, or the like.

输入装置83用于供用户输入操作请求或查询请求。具体实现中,本发明实施例的输入装置83可包括键盘、鼠标、光电输入装置、声音输入装置、触摸式输入装置等。The input device 83 is for the user to input an operation request or a query request. In a specific implementation, the input device 83 of the embodiment of the present invention may include a keyboard, a mouse, a photoelectric input device, a sound input device, a touch input device, and the like.

输出装置84用于展示查询结果,该输出装置84可以是括显示器、显示屏、触摸屏等。Output device 84 is used to display the results of the query, which may include a display, a display screen, a touch screen, and the like.

所述处理器82读取所述存储器81中的指令并根据所述指令执行以下操作:若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;若所述操作请求为删除请求,在GTM设备上删除所述记录;若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。The processor 82 reads an instruction in the memory 81 and performs an operation according to the instruction: if an operation request input by a user is received, determining whether the operation request is an increase request, a delete request, or a modification request; The operation request is an add request, and a record is added to the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address; if the operation request is a delete request, the record is deleted on the GTM device; The operation request is a modification request, and the configuration information is modified on the GTM device, and the configuration information corresponds to the domain name.

进一步地,所述若所述操作请求为增加请求,所述在GTM设备上添加记录包括:判断所述增加请求是否为动态增加请求或静态增加请求,所述动态增加请求包括域名、至少一个与所述域名相对应的IP地址,所述静态增加请求包括域名、与所述域名一一对应的IP地址、及记录类型;若所述增加请求为动态增加请求,判断所述域名是否存在于GTM设备上;若所述域名不存在GTM设备上,在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录;若所述域名存在GTM设备上,判断每一个所述IP地址是否存在于GTM设备上;在所述GTM设备上增设所述域名与不存在于所述GTM设备上的IP地址所形成的记录;若所述增加请求为静态增加请求,判断所述静态增加请求中的域名是否存在于GTM设备上;若所述域名不存在于GTM设备上,根据所述记录类型在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录。Further, if the operation request is an increase request, adding the record on the GTM device includes: determining whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least one The IP address corresponding to the domain name, the static increase request includes a domain name, an IP address corresponding to the domain name, and a record type; if the increase request is a dynamic increase request, determining whether the domain name exists in the GTM If the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device; if the domain name exists on the GTM device, determine each of the IP addresses. Whether it exists on the GTM device; adding, on the GTM device, a record formed by the domain name and an IP address not existing on the GTM device; if the increase request is a static increase request, determining the static increase request Whether the domain name exists on the GTM device; if the domain name does not exist on the GTM device, adding the domain to the GTM device according to the record type The record formed by the name and the corresponding IP address.

进一步地,所述若所述操作请求为删除请求,所述在GTM设备上删除所述记录包括:判断所述删除请求是否为动态删除请求或静态删除请求,所述动态删除请求包括域名、及至少一个与所述域名相对应的IP地址,所述静态删除请求包括域名、及与所述域名一一对应的IP地址;若所述删除请求为动态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录;若所述删除请求为静态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录。Further, if the operation request is a deletion request, the deleting the record on the GTM device includes: determining whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name, and At least one IP address corresponding to the domain name, the static deletion request includes a domain name, and an IP address corresponding to the domain name; if the deletion request is a dynamic deletion request, the domain name is cleared on the GTM device And the record formed by the IP address; if the deletion request is a static deletion request, the record formed by the domain name and the IP address is cleared on the GTM device.

进一步地,若所述操作请求为修改请求,所述在GTM设备上修改配置信息包括:判断所述修改请求是否为动态修改请求或静态修改请求,所述动态修改请求或静态修改请求均包括所述配置信息中的修改项以及对应所述修改项的修改信息;若为动态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息;若为静态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息。Further, if the operation request is a modification request, the modifying the configuration information on the GTM device includes: determining whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request includes a modification item in the configuration information and a modification information corresponding to the modification item; if the request is a dynamic modification, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information; For the static modification request, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information.

进一步地,所述处理器82还执行以下操作:若接收到用户输入的查询请求,检测所述查询请求中的域名是否存在于GTM设备上以得到查询结果;展示所述查询结果以供用户操作从而产生所述操作请求,所述查询结果包括与所述域名相对应的配置信息。Further, the processor 82 further performs the following operations: if a query request input by the user is received, detecting whether the domain name in the query request exists on the GTM device to obtain a query result; displaying the query result for the user to operate The operation request is thus generated, and the query result includes configuration information corresponding to the domain name.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的终端和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the terminal and the unit described above can be referred to the corresponding process in the foregoing method embodiment, and details are not described herein again.

在本申请所提供的几个实施例中,应该理解到,所揭露的终端和方法,可以通过其它的方式实现。例如,以上所描述的装置设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置设备或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided by the present application, it should be understood that the disclosed terminal and method may be implemented in other manners. For example, the device device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device device or unit, or an electrical, mechanical or other form of connection.

本领域普通技术人员可以理解实现上述实施例的方法的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。并且,本发明上述实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。A person skilled in the art can understand that all or part of the steps of implementing the method of the foregoing embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned above may be a read only memory, a magnetic disk or an optical disk or the like. Moreover, the steps in the method of the foregoing embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.

本发明实施例终端中的单元可以根据实际需要进行合并、划分和删减。The units in the terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,终端,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U 盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: U Disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access A variety of media that can store program code, such as a memory, a disk, or an optical disk.

以上为发明的优选实施例,而非对发明做任何形式上的限制。本领域的技术人员可在上述实施例的基础上施以各种等同的更改和改进,凡在权利要求范围内所做的等同变化或修饰,均应落入发明的包含范围之内。The above is a preferred embodiment of the invention, and is not intended to limit the invention in any way. A person skilled in the art can make various equivalent modifications and improvements to the above-described embodiments, and equivalent changes or modifications made within the scope of the claims should fall within the scope of the invention.

Claims (20)

一种GTM设备运维管理方法,其特征在于,包括: A GTM device operation and maintenance management method, characterized in that: 若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;If the operation request input by the user is received, determining whether the operation request is an increase request, a delete request, or a modification request; 若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;And if the operation request is an increase request, adding a record on the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address; 若所述操作请求为删除请求,在GTM设备上删除所述记录;If the operation request is a deletion request, deleting the record on the GTM device; 若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。 If the operation request is a modification request, the configuration information is modified on the GTM device, and the configuration information corresponds to the domain name. 如权利要求1所述的方法,其特征在于,所述若所述操作请求为增加请求,在GTM设备上添加记录包括:The method of claim 1, wherein if the operation request is an increase request, adding a record on the GTM device comprises: 判断所述增加请求是否为动态增加请求或静态增加请求,所述动态增加请求包括域名、至少一个与所述域名相对应的IP地址,所述静态增加请求包括域名、与所述域名一一对应的IP地址、及记录类型;Determining whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least one IP address corresponding to the domain name, and the static increase request includes a domain name and a one-to-one correspondence with the domain name IP address, and record type; 若所述增加请求为动态增加请求,判断所述域名是否存在于GTM设备上;If the request for adding is a dynamic increase request, determining whether the domain name exists on the GTM device; 若所述域名不存在GTM设备上,在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录;If the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device; 若所述域名存在GTM设备上,判断每一个所述IP地址是否存在于GTM设备上;If the domain name exists on the GTM device, determine whether each of the IP addresses exists on the GTM device; 在所述GTM设备上增设所述域名与不存在于所述GTM设备上的IP地址所形成的记录;Adding a record formed by the domain name and an IP address not existing on the GTM device on the GTM device; 若所述增加请求为静态增加请求,判断所述静态增加请求中的域名是否存在于GTM设备上;If the request for adding is a static increase request, determining whether the domain name in the static increase request exists on the GTM device; 若所述域名不存在于GTM设备上,根据所述记录类型在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录。If the domain name does not exist on the GTM device, the record formed by the domain name and the corresponding IP address is added to the GTM device according to the record type. 如权利要求1所述的方法,其特征在于,所述若所述操作请求为删除请求,在GTM设备上删除所述记录包括:The method of claim 1, wherein if the operation request is a deletion request, deleting the record on the GTM device comprises: 判断所述删除请求是否为动态删除请求或静态删除请求,所述动态删除请求包括域名、及至少一个与所述域名相对应的IP地址,所述静态删除请求包括域名、及与所述域名一一对应的IP地址;Determining whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name and at least one IP address corresponding to the domain name, and the static deletion request includes a domain name and a domain name a corresponding IP address; 若所述删除请求为动态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录;If the deletion request is a dynamic deletion request, clear the record formed by the domain name and the IP address on the GTM device; 若所述删除请求为静态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录。If the deletion request is a static deletion request, the record formed by the domain name and the IP address is cleared on the GTM device. 如权利要求1所述的方法,其特征在于,若所述操作请求为修改请求,在GTM设备上修改配置信息包括:The method of claim 1, wherein if the operation request is a modification request, modifying the configuration information on the GTM device comprises: 判断所述修改请求是否为动态修改请求或静态修改请求,所述动态修改请求或静态修改请求均包括所述配置信息中的修改项以及对应所述修改项的修改信息;Determining whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request includes a modification item in the configuration information and modification information corresponding to the modification item; 若为动态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息;If the request is dynamically modified, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information; 若为静态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息。If it is a static modification request, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises: 若接收到用户输入的查询请求,检测所述查询请求中的域名是否存在于GTM设备上以得到查询结果;If the query request input by the user is received, detecting whether the domain name in the query request exists on the GTM device to obtain a query result; 展示所述查询结果以供用户操作从而产生所述操作请求,所述查询结果包括与所述域名相对应的配置信息。The query result is presented for operation by a user to generate the operation request, the query result including configuration information corresponding to the domain name. 一种终端,其特征在于,包括:A terminal, comprising: 第一判断单元,用于若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;a first determining unit, configured to determine whether the operation request is an increase request, a delete request, or a modify request, if receiving an operation request input by the user; 添加单元,用于若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;Adding a unit, if the operation request is an increase request, adding a record on the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address; 删除单元,用于若所述操作请求为删除请求,在GTM设备上删除所述记录;a deleting unit, configured to delete the record on the GTM device if the operation request is a deletion request; 修改单元,用于若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。And a modifying unit, configured to modify the configuration information on the GTM device if the operation request is a modification request, where the configuration information corresponds to a domain name. 如权利要求6所述的终端,其特征在于,所述添加单元包括:The terminal according to claim 6, wherein the adding unit comprises: 第二判断单元,用于判断所述增加请求是否为动态增加请求或静态增加请求,所述动态增加请求包括域名、至少一个与所述域名相对应的IP地址,所述静态增加请求包括域名、与所述域名一一对应的IP地址、及记录类型,以及若所述增加请求为动态增加请求,判断所述域名是否存在于GTM设备上;a second determining unit, configured to determine whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least one IP address corresponding to the domain name, and the static increase request includes a domain name, An IP address and a record type corresponding to the domain name, and if the increase request is a dynamic increase request, determining whether the domain name exists on the GTM device; 增设单元,用于若所述域名不存在GTM设备上,在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录;And an adding unit, configured to add a record formed by the domain name and the corresponding IP address on the GTM device if the domain name does not exist on the GTM device; 所述第二判断单元还用于若所述域名存在GTM设备上,判断每一个所述IP地址是否存在于GTM设备上;The second determining unit is further configured to: if the domain name exists on the GTM device, determine whether each of the IP addresses exists on the GTM device; 所述增设单元还用于在所述GTM设备上增设所述域名与不存在于所述GTM设备上的IP地址所形成的记录;The add-on unit is further configured to add, on the GTM device, a record formed by the domain name and an IP address that is not present on the GTM device; 所述第二判断单元还用于若所述增加请求为静态增加请求,判断所述静态增加请求中的域名是否存在于GTM设备上;The second determining unit is further configured to: if the add request is a static add request, determine whether the domain name in the static increase request exists on the GTM device; 所述增设单元还用于若所述域名不存在于GTM设备上,根据所述记录类型在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录。The add-on unit is further configured to: if the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device according to the record type. 如权利要求6所述的终端,其特征在于,所述删除单元包括:The terminal according to claim 6, wherein the deleting unit comprises: 第三判断单元,用于判断所述删除请求是否为动态删除请求或静态删除请求,所述动态删除请求包括域名、及至少一个与所述域名相对应的IP地址,所述静态删除请求包括域名、及与所述域名一一对应的IP地址;a third determining unit, configured to determine whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name, and at least one IP address corresponding to the domain name, where the static deletion request includes a domain name And an IP address corresponding to the domain name one by one; 清理单元,用于若所述删除请求为动态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录,以及若所述删除请求为静态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录若所述删除请求为静态删除请求,所述删除单元还用于将所述静态记录中与所述域名相对应的IP地址从所述GTM设备上删除。a clearing unit, configured to: if the deletion request is a dynamic deletion request, clear a record formed by the domain name and the IP address on the GTM device, and if the deletion request is a static deletion request, clean up the GTM device The deletion of the domain name and the IP address, if the deletion request is a static deletion request, the deleting unit is further configured to delete an IP address corresponding to the domain name in the static record from the GTM device. . 如权利要求6所述的终端,其特征在于,所述修改单元包括:The terminal according to claim 6, wherein the modifying unit comprises: 第四判断单元,用于判断所述修改请求是否为动态修改请求或静态修改请求,所述动态修改请求或静态修改请求均包括所述配置信息中的修改项以及对应所述修改项的修改信息;The fourth determining unit is configured to determine whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request includes a modification item in the configuration information and a modification information corresponding to the modification item. ; 修订单元,用于若为动态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息,以及若为静态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息。a revision unit, configured to modify, according to the modification item and the modification information, configuration information corresponding to the domain name on the GTM device according to the modification item and the modification information, and if the request is a static modification, according to the modification item and The modification information modifies configuration information corresponding to the domain name on the GTM device. 如权利要求6所述的终端,其特征在于,所述终端还包括:The terminal according to claim 6, wherein the terminal further comprises: 检测单元,用于若接收到用户输入的查询请求,检测所述查询请求中的域名是否存在于GTM设备上以得到查询结果;a detecting unit, configured to: if a query request input by the user is received, detect whether a domain name in the query request exists on the GTM device to obtain a query result; 展示单元,用于展示所述查询结果以供用户操作从而产生所述操作请求,所述查询结果包括与所述域名相对应的配置信息。a display unit, configured to display the query result for a user to generate the operation request, where the query result includes configuration information corresponding to the domain name. 一种计算机可读存储介质,其特征在于,所述存储介质有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行以实现以下步骤:A computer readable storage medium, characterized in that the storage medium has one or more programs, and the one or more programs can be executed by one or more processors to implement the following steps: 若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;If the operation request input by the user is received, determining whether the operation request is an increase request, a delete request, or a modification request; 若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;And if the operation request is an increase request, adding a record on the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address; 若所述操作请求为删除请求,在GTM设备上删除所述记录;If the operation request is a deletion request, deleting the record on the GTM device; 若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。If the operation request is a modification request, the configuration information is modified on the GTM device, and the configuration information corresponds to the domain name. 如权利要求11所述的计算机可读存储介质,其特征在于,所述若所述操作请求为增加请求,所述在GTM设备上添加记录包括以下步骤:The computer readable storage medium according to claim 11, wherein said adding said record on said GTM device comprises the following steps if said operation request is an increase request: 判断所述增加请求是否为动态增加请求或静态增加请求,所述动态增加请求包括域名、至少一个与所述域名相对应的IP地址,所述静态增加请求包括域名、与所述域名一一对应的IP地址、及记录类型;Determining whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least one IP address corresponding to the domain name, and the static increase request includes a domain name and a one-to-one correspondence with the domain name IP address, and record type; 若所述增加请求为动态增加请求,判断所述域名是否存在于GTM设备上;If the request for adding is a dynamic increase request, determining whether the domain name exists on the GTM device; 若所述域名不存在GTM设备上,在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录;If the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device; 若所述域名存在GTM设备上,判断每一个所述IP地址是否存在于GTM设备上;If the domain name exists on the GTM device, determine whether each of the IP addresses exists on the GTM device; 在所述GTM设备上增设所述域名与不存在于所述GTM设备上的IP地址所形成的记录;Adding a record formed by the domain name and an IP address not existing on the GTM device on the GTM device; 若所述增加请求为静态增加请求,判断所述静态增加请求中的域名是否存在于GTM设备上;If the request for adding is a static increase request, determining whether the domain name in the static increase request exists on the GTM device; 若所述域名不存在于GTM设备上,根据所述记录类型在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录。If the domain name does not exist on the GTM device, the record formed by the domain name and the corresponding IP address is added to the GTM device according to the record type. 如权利要求11所述的计算机可读存储介质,其特征在于,所述若所述操作请求为删除请求,所述在GTM设备上删除所述记录包括以下步骤:The computer readable storage medium according to claim 11, wherein said deleting said record on said GTM device comprises the following steps if said operation request is a delete request: 判断所述删除请求是否为动态删除请求或静态删除请求,所述动态删除请求包括域名、及至少一个与所述域名相对应的IP地址,所述静态删除请求包括域名、及与所述域名一一对应的IP地址;Determining whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name and at least one IP address corresponding to the domain name, and the static deletion request includes a domain name and a domain name a corresponding IP address; 若所述删除请求为动态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录;If the deletion request is a dynamic deletion request, clear the record formed by the domain name and the IP address on the GTM device; 若所述删除请求为静态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录。If the deletion request is a static deletion request, the record formed by the domain name and the IP address is cleared on the GTM device. 如权利要求11所述的计算机可读存储介质,其特征在于,若所述操作请求为修改请求,所述在GTM设备上修改配置信息包括以下步骤:The computer readable storage medium according to claim 11, wherein if the operation request is a modification request, the modifying the configuration information on the GTM device comprises the following steps: 判断所述修改请求是否为动态修改请求或静态修改请求,所述动态修改请求或静态修改请求均包括所述配置信息中的修改项以及对应所述修改项的修改信息;Determining whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request includes a modification item in the configuration information and modification information corresponding to the modification item; 若为动态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息;If the request is dynamically modified, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information; 若为静态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息。If it is a static modification request, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information. 如权利要求11所述的计算机可读存储介质,其特征在于,所述一个或者一个以上程序还可被所述一个或者一个以上的处理器执行以实现以下步骤:The computer readable storage medium of claim 11 wherein the one or more programs are further executable by the one or more processors to implement the steps of: 若接收到用户输入的查询请求,检测所述查询请求 中的域名是否存在于GTM设备上以得到查询结果;If the query request input by the user is received, detecting whether the domain name in the query request exists on the GTM device to obtain a query result; 展示所述查询结果以供用户操作从而产生所述操作请求,所述查询结果包括与所述域名相对应的配置信息。The query result is presented for operation by a user to generate the operation request, the query result including configuration information corresponding to the domain name. 一种GTM设备运维管理装置,其特征在于,包括存储器及处理器;A GTM device operation and maintenance management device, comprising: a memory and a processor; 所述存储器用于存储指令;The memory is for storing instructions; 所述处理器读取所述存储器中的指令并根据所述指令执行以下操作:The processor reads an instruction in the memory and performs the following operations in accordance with the instruction: 若接收到用户输入的操作请求,判断所述操作请求是否为增加请求、删除请求、或修改请求;If the operation request input by the user is received, determining whether the operation request is an increase request, a delete request, or a modification request; 若所述操作请求为增加请求,在GTM设备上添加记录,所述记录用于标识域名和IP地址的映射关系;And if the operation request is an increase request, adding a record on the GTM device, where the record is used to identify a mapping relationship between a domain name and an IP address; 若所述操作请求为删除请求,在GTM设备上删除所述记录;If the operation request is a deletion request, deleting the record on the GTM device; 若所述操作请求为修改请求,在GTM设备上修改配置信息,所述配置信息与域名相对应。If the operation request is a modification request, the configuration information is modified on the GTM device, and the configuration information corresponds to the domain name. 如权利要求16所述的管理装置,其特征在于,所述若所述操作请求为增加请求,在GTM设备上添加记录包括:The management apparatus according to claim 16, wherein if the operation request is an increase request, adding a record on the GTM device comprises: 判断所述增加请求是否为动态增加请求或静态增加请求,所述动态增加请求包括域名、至少一个与所述域名相对应的IP地址,所述静态增加请求包括域名、与所述域名一一对应的IP地址、及记录类型;Determining whether the increase request is a dynamic increase request or a static increase request, where the dynamic increase request includes a domain name, at least one IP address corresponding to the domain name, and the static increase request includes a domain name and a one-to-one correspondence with the domain name IP address, and record type; 若所述增加请求为动态增加请求,判断所述域名是否存在于GTM设备上;If the request for adding is a dynamic increase request, determining whether the domain name exists on the GTM device; 若所述域名不存在GTM设备上,在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录;If the domain name does not exist on the GTM device, add a record formed by the domain name and the corresponding IP address on the GTM device; 若所述域名存在GTM设备上,判断每一个所述IP地址是否存在于GTM设备上;If the domain name exists on the GTM device, determine whether each of the IP addresses exists on the GTM device; 在所述GTM设备上增设所述域名与不存在于所述GTM设备上的IP地址所形成的记录;Adding a record formed by the domain name and an IP address not existing on the GTM device on the GTM device; 若所述增加请求为静态增加请求,判断所述静态增加请求中的域名是否存在于GTM设备上;If the request for adding is a static increase request, determining whether the domain name in the static increase request exists on the GTM device; 若所述域名不存在于GTM设备上,根据所述记录类型在所述GTM设备上增设所述域名以及相对应的IP地址所形成的记录。If the domain name does not exist on the GTM device, the record formed by the domain name and the corresponding IP address is added to the GTM device according to the record type. 如权利要求16所述的管理装置,其特征在于,所述若所述操作请求为删除请求,在GTM设备上删除所述记录包括:The management apparatus according to claim 16, wherein if the operation request is a deletion request, deleting the record on the GTM device comprises: 判断所述删除请求是否为动态删除请求或静态删除请求,所述动态删除请求包括域名、及至少一个与所述域名相对应的IP地址,所述静态删除请求包括域名、及与所述域名一一对应的IP地址;Determining whether the deletion request is a dynamic deletion request or a static deletion request, where the dynamic deletion request includes a domain name and at least one IP address corresponding to the domain name, and the static deletion request includes a domain name and a domain name a corresponding IP address; 若所述删除请求为动态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录;If the deletion request is a dynamic deletion request, clear the record formed by the domain name and the IP address on the GTM device; 若所述删除请求为静态删除请求,在GTM设备上清理所述域名及所述IP地址所形成的记录。If the deletion request is a static deletion request, the record formed by the domain name and the IP address is cleared on the GTM device. 如权利要求16所述的管理装置,其特征在于,若所述操作请求为修改请求,在GTM设备上修改配置信息包括:The management apparatus according to claim 16, wherein if the operation request is a modification request, modifying the configuration information on the GTM device comprises: 判断所述修改请求是否为动态修改请求或静态修改请求,所述动态修改请求或静态修改请求均包括所述配置信息中的修改项以及对应所述修改项的修改信息;Determining whether the modification request is a dynamic modification request or a static modification request, where the dynamic modification request or the static modification request includes a modification item in the configuration information and modification information corresponding to the modification item; 若为动态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息;If the request is dynamically modified, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information; 若为静态修改请求,根据所述修改项和所述修改信息在所述GTM设备上修订所述域名相对应的配置信息。If it is a static modification request, the configuration information corresponding to the domain name is revised on the GTM device according to the modification item and the modification information. 如权利要求16所述的管理装置,其特征在于,所述处理器还执行以下操作:The management device according to claim 16, wherein said processor further performs the following operations: 若接收到用户输入的查询请求,检测所述查询请求中的域名是否存在于GTM设备上以得到查询结果;If the query request input by the user is received, detecting whether the domain name in the query request exists on the GTM device to obtain a query result; 展示所述查询结果以供用户操作从而产生所述操作请求,所述查询结果包括与所述域名相对应的配置信息。The query result is presented for operation by a user to generate the operation request, the query result including configuration information corresponding to the domain name.
PCT/CN2017/076520 2016-08-25 2017-03-14 Gtm apparatus operation and maintenance management method, terminal, computer readable storage medium, and management device Ceased WO2018036137A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610727301.3 2016-08-25
CN201610727301.3A CN106452831A (en) 2016-08-25 2016-08-25 Operation and maintenance management method for GTM equipment, and terminal

Publications (1)

Publication Number Publication Date
WO2018036137A1 true WO2018036137A1 (en) 2018-03-01

Family

ID=58181984

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/076520 Ceased WO2018036137A1 (en) 2016-08-25 2017-03-14 Gtm apparatus operation and maintenance management method, terminal, computer readable storage medium, and management device

Country Status (2)

Country Link
CN (1) CN106452831A (en)
WO (1) WO2018036137A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452831A (en) * 2016-08-25 2017-02-22 平安科技(深圳)有限公司 Operation and maintenance management method for GTM equipment, and terminal
CN113660359B (en) * 2021-08-25 2024-01-19 北京搜房科技发展有限公司 Domain name resolution record management method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164661A1 (en) * 2007-12-21 2009-06-25 Hostway Corporation System and method for selecting an optimal authoritive name server
CN105354671A (en) * 2015-11-06 2016-02-24 中国南方电网有限责任公司 Universal configuration management system and enterprise-level information system comprising same
CN105635345A (en) * 2016-02-23 2016-06-01 华为技术有限公司 Domain name resource records management method and device
CN106452831A (en) * 2016-08-25 2017-02-22 平安科技(深圳)有限公司 Operation and maintenance management method for GTM equipment, and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9864755B2 (en) * 2013-03-08 2018-01-09 Go Daddy Operating Company, LLC Systems for associating an online file folder with a uniform resource locator
CN104468575A (en) * 2014-12-10 2015-03-25 深圳市共进电子股份有限公司 Method and device for achieving domain name registration in local area network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090164661A1 (en) * 2007-12-21 2009-06-25 Hostway Corporation System and method for selecting an optimal authoritive name server
CN105354671A (en) * 2015-11-06 2016-02-24 中国南方电网有限责任公司 Universal configuration management system and enterprise-level information system comprising same
CN105635345A (en) * 2016-02-23 2016-06-01 华为技术有限公司 Domain name resource records management method and device
CN106452831A (en) * 2016-08-25 2017-02-22 平安科技(深圳)有限公司 Operation and maintenance management method for GTM equipment, and terminal

Also Published As

Publication number Publication date
CN106452831A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
WO2018107610A1 (en) Service data processing method, system and device, and computer-readable storage medium
WO2018205376A1 (en) Association information querying method, terminal, server management system, and computer readable storage medium
WO2019100638A1 (en) Data synchronization method, device and equipment, and storage medium
WO2019037396A1 (en) Account settlement method, device, device and storage medium
WO2018014567A1 (en) Method for improving performance of virtual machine, and terminal, device and computer-readable storage medium
WO2017143692A1 (en) Smart television and voice control method therefor
WO2018120430A1 (en) Page construction method, terminal, computer-readable storage medium and page construction device
WO2019104876A1 (en) Insurance product pushing method and system, terminal, client terminal, and storage medium
WO2020224247A1 (en) Blockchain–based data provenance method, apparatus and device, and readable storage medium
WO2015144089A1 (en) Application recommending method and apparatus
WO2018149300A1 (en) Disease probability detection method, apparatus and device, and computer readable storage medium
WO2019109521A1 (en) Identity approval method, apparatus and device for video interview, and readable storage medium
WO2015103864A1 (en) Method for memory management and linux terminal
WO2019169814A1 (en) Method, apparatus and device for automatically generating chinese annotation, and storage medium
WO2017215298A1 (en) Web graphic deployment method, apparatus, system and computer readable storage medium
WO2019024219A1 (en) Automatic document generation method and apparatus, automatic document generator and medium
WO2017054592A1 (en) Interface display method and terminal
WO2016032021A1 (en) Apparatus and method for recognizing voice commands
WO2018166314A1 (en) Limit approval method, apparatus and device, and computer-readable storage medium
WO2018233301A1 (en) Product recommendation method, device, device, and computer readable storage medium
WO2019056733A1 (en) Concurrent volume control method, application server, system and storage medium
WO2018188196A1 (en) Data version control method, data version controller, device and computer-readable storage medium
WO2018090585A1 (en) Data virtualization storage method and apparatus, and server and storage medium
WO2018214599A1 (en) Scalable data reporting method and system, and storage medium
WO2014048231A1 (en) Word processing method and apparatus for touchscreen intelligent device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17842563

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25.6.19).

122 Ep: pct application non-entry in european phase

Ref document number: 17842563

Country of ref document: EP

Kind code of ref document: A1