WO2013170613A1 - Ip address management method, device, and system - Google Patents

Ip address management method, device, and system Download PDF

Info

Publication number
WO2013170613A1
WO2013170613A1 PCT/CN2012/087761 CN2012087761W WO2013170613A1 WO 2013170613 A1 WO2013170613 A1 WO 2013170613A1 CN 2012087761 W CN2012087761 W CN 2012087761W WO 2013170613 A1 WO2013170613 A1 WO 2013170613A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
command
query
address management
management client
Prior art date
Application number
PCT/CN2012/087761
Other languages
French (fr)
Chinese (zh)
Inventor
刘阳
王利明
耿光刚
Original Assignee
中国科学院计算机网络信息中心
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 中国科学院计算机网络信息中心 filed Critical 中国科学院计算机网络信息中心
Publication of WO2013170613A1 publication Critical patent/WO2013170613A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Definitions

  • IP address management method IP address management method, device and system
  • the present invention relates to information processing technologies, and in particular, to an IP address management method, device, and system, and belongs to the technical field of network security. Background technique
  • IP Internet Protocol
  • ICANN Internet Corporation for Assigned Names and Numbers
  • IANA Internet Digital Assignment Authority
  • CN IC Internet Information Center
  • JPNIC Japan Internet Network Information Center
  • K NIC Korea Internet Network Information Center
  • ISPs can directly query APNIC for information about IP addresses (such as applying for
  • IP address IP address
  • CNNIC IP address
  • APNIC IP address
  • the superior organization responds after approval, and still informs the lower level by means of e-mail.
  • IPv6 Internet Protocol
  • IPv6 the workload of IP address management will multiply geometrically.
  • This IP address management operation relying on manual mail cannot meet the demand.
  • the mail templates used by IP address management agencies and agents for IP address registration applications are often different, the requirements and records for registration related information are not Consistently, the WH0IS database used to store IP address registration information has many shortcomings such as incomplete, inconsistent, and untrustworthy data.
  • the present invention provides an IP address management method, device, and system for implementing reliable and efficient automated IP address management.
  • an embodiment of the present invention provides an IP address management method, including:
  • the IP address management client generates an IP address query command or an IP address change command according to the preset command template.
  • IP address management client Sending, by the IP address management client, the IP address query command or the IP address change command to the IP address management server, so that the IP address management server performs an inquiry of the IP address object according to the IP address query command, or according to The IP address change command performs a change of the IP address object.
  • the IP address query command includes: an availability query command, configured to query whether an IP address object is available; and an attribute information query command, configured to query attribute information of the IP address object; Or a transfer status query command for querying the transfer status of the IP address object;
  • the IP address change command includes: a create command for creating a new IP address object; a delete command for deleting an existing IP address object; a validity period extension command for extending an expiration date of the IP address object; The transfer IP address object; or an update command for updating the attribute information of the IP address object.
  • the embodiment of the present invention further provides another IP address management method, including: the IP address management server receives an IP address query command or an IP address change command sent by the IP address management client, where the IP address query command or IP address The address change command is generated by the IP address management client according to a preset command template;
  • the IP address management server performs an inquiry of an IP address object according to the IP address query command, and returns a query response message to the IP address management client; or performs an IP address object change according to the IP address change command, and Returning a change response message to the IP address management client.
  • the IP address query command includes an availability query command, an attribute information query command, or a transfer status query command;
  • the IP address management server performs an IP address query according to the IP address query command, and returns a query response message to the IP address management client, including:
  • the IP address management server queries whether the IP address object to be queried is available according to the name of the IP address to be queried, and returns the IP address object to be queried to the IP address management client. Whether the query result is available;
  • the IP address management server queries the name of the IP address object to be queried according to the attribute information query command, queries the attribute information of the IP address object to be queried, and returns the IP to be queried to the IP address management client. Attribute information of the address object; or
  • the IP address management server queries the transfer status of the IP address object to be queried according to the name of the IP address object to be queried carried in the transfer status query command, and returns the IP to be queried to the IP address management client.
  • the transfer status of the address object
  • the IP address change command includes a create command, a delete command, a validity extension command, a transfer command, or an update command;
  • performing the change of the IP address object according to the IP address change command, and returning the change response information to the IP address management client specifically includes:
  • the IP address management server creates an IP address object according to the validity period of the IP address object to be created and the address length of the IP address object to be created carried in the creation command, and returns the created IP address to the IP address management client. Attribute information of an IP address object;
  • the IP address management server deletes the to-be-deleted IP address object from the existing IP address object according to the name of the IP address object to be deleted carried in the deletion command, and returns a deletion response to the IP address management client.
  • the IP address management server changes the to-be-renewed IP address according to the name of the to-be-renewed IP address object carried in the validity period extension command, the current expiration time of the object to be renewed, and the duration to be renewed.
  • the validity period of the object and returning the changed validity period to the IP address management client;
  • the IP address management server transfers the ownership of the IP address object to be transferred according to the name of the IP address object to be transferred carried by the transfer command, and returns a transfer response message to the IP address management client; or
  • the IP address management server updates the attribute information of the IP address object to be updated according to the name of the IP address object to be updated carried by the update command and the attribute value of the to-be-updated IP address object to be updated, and Returning an update response message to the IP address management client.
  • an embodiment of the present invention provides an IP address management client, including: a command generation module, configured to generate an IP address query command or an IP address change command according to a preset command template;
  • a command sending module configured to send the IP address query command or an IP address change command to the IP address management server, so that the IP address management server performs an IP address object query according to the IP address query command, or according to the The IP address change command performs a change of the IP address object.
  • the IP address query command includes: an availability query command for querying whether an IP address object is available; and an attribute information query command for querying attribute information of the IP address object. Or transfer status query command to query the transfer status of the IP address object;
  • the IP address change command includes: a create command for creating a new IP address object; a delete command for deleting an existing IP address object; a validity period extension command for extending an expiration date of the IP address object; The transfer IP address object; or an update command for updating the attribute information of the IP address object.
  • an embodiment of the present invention provides an IP address management server, including: a command receiving module, configured to receive an IP address query command or an IP address change command sent by an IP address management client, where the IP address query command or IP The address change command is generated by the IP address management client according to a preset command template;
  • a command execution module configured to perform an inquiry of an IP address object according to the IP address query command, and return a query response message to the IP address management client; or perform an IP address object change according to the IP address change command, and Returning a change response message to the IP address management client.
  • the IP address query command includes an availability query command, an attribute information query command, or a transfer status query command;
  • the IP address change command includes a create command, a delete command, and an expiration date.
  • the command execution module specifically includes any one or more of the following execution units:
  • a first execution unit configured to query, according to the name of the IP address object to be queried carried in the availability query command, whether the IP address object to be queried is available, and return the IP address to be queried to the IP address management client The result of the query that the object is available;
  • a second execution unit configured to query, according to the name of the IP address object to be queried, the attribute information of the IP address object to be queried, and return the attribute information to the IP address management client Attribute information of an IP address object;
  • a third execution unit configured to query, according to the name of the IP address object to be queried carried in the transfer status query command, the transfer status of the IP address object to be queried, and return the query to the IP address management client The transfer status of the IP address object;
  • a fourth execution unit configured to create an IP address object according to the validity period of the IP address object to be created and the address length of the IP address object to be created, and return the created to the IP address management client. Attribute information of the IP address object;
  • a fifth execution unit configured to delete the to-be-deleted IP address object from the existing IP address object according to the name of the IP address object to be deleted carried in the deletion command, and return the deletion to the IP address management client Response message
  • a sixth execution unit configured to change the to-be-renewed IP according to the name of the to-be-renewed IP address object carried in the validity period extension command, the current expiration time of the to-be-renewed IP address object, and the duration to be renewed The validity period of the address object, and returning the changed validity period to the IP address management client;
  • a seventh executing unit configured to transfer, according to the name of the IP address object to be transferred carried by the transfer command, the ownership right of the object to be transferred, and return a transfer response message to the IP address management client;
  • An eighth execution unit configured to update, according to the name of the IP address object to be updated that is carried by the update command, and the attribute value of the to-be-updated IP address object to be updated, to update the attribute information of the IP address object to be updated, And returning an update response message to the IP address management client.
  • the embodiment of the present invention provides an IP address management system, including an IP address management client according to an embodiment of the present invention, and an IP address management server according to an embodiment of the present invention.
  • the IP address management client is connected to the IP address management server.
  • an IP address management method, device, and system are provided.
  • the IP address management client generates an IP address query command or an IP address change command according to a preset command template, and sends the command to the IP address management server to enable the IP address management.
  • the server performs an IP address object query according to the IP address query command, or performs an IP address object change according to the IP address change command, thereby realizing automatic management of the IP address, thereby avoiding inefficiency caused by relying on manual mail operations. , accuracy and low reliability issues.
  • the IP address management client since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side manages the specification and the complete IP address related information. Therefore, a reliable and efficient automated IP address management scheme is implemented.
  • FIG. 1 is a system architecture diagram of an IP address management method used in an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart diagram of an IP address management method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart diagram of an IP address management method according to another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an IP address management client according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an IP address management server according to an embodiment of the present invention.
  • 1 is a system architecture diagram of an IP address management method used in an embodiment of the present invention.
  • the IP address management client and the IP address management server are included.
  • the IP address management client and the IP address management server can be deployed as needed. For example, if the IP address is still hierarchically managed, the direct communication can be performed separately.
  • the national registration authority configures an IP address management client and configures an IP address management server for the regional RIR.
  • IP addresses can be centrally managed by configuring IP address management clients for ISPs and common users in each country, and configuring IP address management servers directly at ICANN to enable direct IP address management by ICANN.
  • Embodiment 1 The IP address management method in this embodiment is executed by the IP address management client in FIG. 1.
  • the IP address management method in this embodiment will be described in detail below with reference to the system shown in FIG.
  • FIG. 2 is a schematic flowchart diagram of an IP address management method according to an embodiment of the present invention. As shown in FIG. 2, the IP address management method includes the following steps:
  • Step S201 The IP address management client generates an IP address query command or an IP address change command according to the preset command template.
  • Step S202 the IP address management client sends the IP address query command or the IP address change command to the IP address management server, so that the IP address management server performs the query of the IP address object according to the IP address query command. Or perform a change of the IP address object according to the IP address change command.
  • the IP address management client and the IP address management server interact with each other in a "request-response" manner, and the message is described by an Extensible Markup Language (XML).
  • XML Extensible Markup Language
  • the IP address management client and the IP address management server can provide security support through any existing transmission protocol, complete the identification, authentication, and other information exchange of the IP address management client by the IP address management server, and execute on this basis. Communication interaction.
  • the following is an example of implementing the C/S architecture shown in FIG. 1 based on the Extensible Provisioning Protocol (EPP).
  • EPP Extensible Provisioning Protocol
  • the EPP common object is mapped to an IP address object.
  • the IP address object includes, for example, an IP address management server and an IP address management client for communication, parsing, and tampering with the following six types of attributes:
  • IP address segment name IP Addresses
  • contact and client identification (Contact and Client Identifiers);
  • all contacts have a unique identifier for an IP address management server.
  • the identifier consists of a string that conforms to a certain format identifier and defines its minimum length and maximum length. This flag is indicated, for example, by using "clIDType".
  • each IP address object must have at least one associated state value.
  • the status value can be set by the provider of the IP address object (ie, the IP address management client) or by the server where the IP address object is located (ie, the IP address management server). Set by the IP address management server
  • the state value of the IP address object cannot be modified by the IP address management client; and the IP address management server can modify the state value of the IP address object set by the client according to the local server policy.
  • the status value of the IP address object can be the result of modifying the modification command sent by the client, or it can be the result obtained by the server administrator.
  • the state of the IP address object set by the client, preceded by the status value, carries the prefix
  • client The state of the IP address object set by the server, preceded by the status value, carries the prefix "server”; if there is no prefix before the status value, it also indicates that this status value is managed by the server.
  • the status values of the IP address object include, for example, the prohibition of deletion status (including clientDeleteProhibited and serverDeleteProhibited), the extension of the validity period (including clientRenewProhibited and serverRenewProhibited), the prohibition of updating the object (including clientUpdateProhibited ⁇ serverUpdateProhibited ), and the prohibition of transferring the object (including clientTransferProhibited and serverTransferProhibited), normal state (ok), being created (pendingCreate), being deleted (pendingDelete), extending expiration (pendingRenew), being modified (pendingUpdate), and being transferred (endingTransfer) .
  • Greenwich Mean Time including the time when the IP address object was created, and the time when the IP address object was last updated
  • the validity period is assigned when an IP address object is created, and can be extended by the IP address change command.
  • the validity period is measured, for example, by the year (y) or the month (m), and the range of the period is, for example, [1, 99].
  • the authorization information is assigned when the IP address object is created, and can be changed.
  • the IP address management client sends a "hello" command to the IP address management server.
  • the IP address management server listens to the port. After receiving the "hello” command, it prepares to establish a connection and returns "greeting" to the IP address management client.
  • the IP address management client Login verification is performed by "login”. If the verification is successful, various commands can be sent to the IP address management server and corresponding response messages can be received.
  • One or more IP address object operation command templates are preset in the IP address management client, and various command templates are used to implement different IP address object operations.
  • the operation commands of the IP address object include two types, one is an IP address query command, which does not change the attribute value of the IP address object, and the other is an IP address change command, which changes the attribute value of the IP address object.
  • IP address management client When the user needs to send an IP address query command or an IP address change command to the IP address management server through the IP address management client, the corresponding IP address query command template and the IP address change command template are retrieved, and the corresponding information is set according to the template, thereby The IP address management client generates a unified, standardized IP address query command or IP address change command according to the information set by the user, and sends it to the IP address management server.
  • the IP address management server performs a query according to the query condition in the IP address query command. If the query succeeds, the corresponding query result is returned to the IP address management client. If the query fails, the query message indicating the query failure is returned.
  • the IP address management server operates the corresponding IP address object according to the IP address change command. If the operation is successful, the corresponding operation response message is returned. If the operation fails, the operation failure prompt message is returned.
  • the IP address management client generates an IP address query command or an IP address change command according to the preset command template, and sends the IP address query command to the IP address management server, so that the IP address management server is configured according to the IP address management server.
  • the IP address query command performs an inquiry of an IP address object, or performs an IP address object change according to the IP address change command, and implements automatic management of an IP address, thereby avoiding inefficiency and accuracy caused by relying on manual mail operations. Problems such as low sex and reliability.
  • the IP address management client since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side manages the specification and the complete IP address related information.
  • the IP address query command includes: an availability query command for querying whether an IP address object is available; an attribute information query command for querying attribute information of an IP address object; or a transfer status query command, for Querying the transfer status of the IP address object;
  • the IP address change command includes: a create command for creating a new IP address object; a delete command for deleting an existing IP address object; a validity period extension command for extending the IP address The validity period of the address object; the transfer command, used to transfer the IP address object; or the update command, used to update the attribute information of the IP address object.
  • the availability query command ( ⁇ check> command) is used to query whether an IP address object is available, that is, whether the service provider can provide the IP address object.
  • ⁇ (;;1 ⁇ 010 command in addition to the standard EPP command element also includes ⁇ :(;1 ⁇ 010 element, which identifies the IP namespace, where
  • the ⁇ IP:check> element contains one or more ⁇ 1? :1 ⁇ 111 ⁇ 2> elements that identify the name of the IP address object to be queried.
  • the name of the IP address object includes, for example, the IP address prefix and the IP address prefix length. .
  • the address prefix has a length of 32.
  • the ⁇ check> command template preset in the IP address management client includes, for example, a standard EPP command element, and an ⁇ IP:name> element to which the corresponding data needs to be added by the user equipment.
  • the IP address management server If the IP address management server successfully executes the ⁇ check> command, it returns a response message including the ⁇ resData> element to the IP address management client.
  • the ⁇ resData> element includes the ⁇ IP: ( ⁇ 1 ⁇ 1&> element for identifying the IP namespace, and the ⁇ IP:.1 ⁇ 0&1&> element includes the following child elements:
  • this child element is mandatory and contains the name of the IP address object being queried.
  • This child element includes an "avail” attribute to indicate whether the object is available when the ⁇ check> command completes (ie, whether the service provider can provide it). If the value is "1" or "true”, the object is available. If the value is "0" or "false", the object is not available.
  • Child element which is optional and is used to explain why the object is not available, ie the service provider cannot provide the queried IP address object.
  • the attribute information query command ( ⁇ info> command) is used to query the attribute information of the IP address object, and the attribute information included in the specific query result returned by the server is, for example, any one of the six types of attribute information in the foregoing embodiment or A variety of combinations, specific information may vary due to the client, authorization or server policy initiating the query.
  • the 1 ⁇ 0> command also includes a ⁇ 0 ⁇ 1 ⁇ )> element for identifying the IP namespace, where the ⁇ IP:info> element also includes the following child elements: ⁇ : 1 ⁇ 111 ⁇ 2> child element, this child element is mandatory and contains the name of the IP address object to be queried;
  • this child element is optional and contains the authorization information of the client that initiated the query.
  • the ⁇ info> command template preset in the IP address management client includes, for example, a standard EPP command element, and an ⁇ IP:1 ⁇ 111 ⁇ 2> sub-element and an optional ⁇ 1? ⁇ 1111 to be added by the user equipment. ⁇ 0> child element. User enters ⁇ IP:name> child element (or also enters
  • the ⁇ resData> element includes the ⁇ IP: 0 ⁇ 1&> element for identifying the IP namespace, and the ⁇ IP: 0 ⁇ 1&> element includes the following child elements:
  • this child element is mandatory and contains the name of the IP address object being queried;
  • 1 ⁇ (1> child element, this child element is mandatory, and contains the identifier for storage when the IP address object is created;
  • One or more ⁇ ⁇ & ⁇ !8> child elements which are optional and are used to describe the state of the current object
  • Child element is optional, and contains the authorization information associated with the object to be queried;
  • the child element is mandatory, including the name of the upper-level IP address object
  • IP:prefix— ⁇ 1 child element, which is mandatory and contains the length of the prefix of the IP address
  • ⁇ IP:clID> child element which is mandatory and contains the identity (ID) of the originating client;
  • this child element is optional, including the time when the IP address object was created; ⁇ 1? 0&16> child element, the child element is optional, and includes the registration validity period of the IP address object;
  • ⁇ :11 10> child element which is optional and contains the ID of the client that last updated the IP address object;
  • the child element is optional, and contains the authentication information related to the IP address object;
  • the server supports it, there is an optional ⁇ : ⁇ 18 &1 ⁇ > child element and one or more optional ⁇ 0 ⁇ 0 &( ⁇ > child elements, which are associated with the IP address object (registered, used , technically responsible, financially responsible) the identity of the person or organization.
  • IP address management server fails to execute the ⁇ info> command for any reason, the IP address management server returns an error response to the IP address management client.
  • server return response message is only used as an example, and is not intended to limit the present invention, and the server side may return different information according to different policies.
  • the transfer status query command ( ⁇ transfer> command) is used to query the transfer status of the IP address object. ⁇ 3 ⁇ 4&1 8 61">In addition to the standard EPP command element, the command also contains the "op" attribute with the value "query” and the ⁇ : transfer > element that identifies the IP namespace.
  • the : transfer > element contains the following child elements:
  • ⁇ :1 ⁇ 111 ⁇ 2> child element which is mandatory and contains the name of the IP address object to be queried
  • this child element is optional and contains the authorization information of the client that initiated the query.
  • the ⁇ transfer> command template preset in the IP address management client includes, for example, a standard EPP command element, and a ⁇ :1 ⁇ 111 ⁇ 2> sub-element and an optional ⁇ 1111111 ⁇ to be added by the user device. 0> child element.
  • the user can be sent to the IP address management server by inputting the ⁇ 1?:1 ⁇ 111 ⁇ 2> sub-element (or also inputting the ⁇ IP:authInfo> sub-element), or by the IP address management client to automatically generate the canonical ⁇ transfer> command. If the IP address management server successfully executes the ⁇ transfer> command, the response message including the ⁇ resData> element is returned to the IP address management client.
  • the ⁇ resData> element includes the ⁇ 0 ⁇ 11 0&1&> element for identifying the IP namespace
  • the ⁇ : trnData> element includes the following child elements:
  • ⁇ :1 ⁇ 1116> child element which is mandatory and contains the name of the IP address object being queried
  • ⁇ IP:reID> child element this child element is mandatory, including the client ID that initiates the query request; ⁇ : 0&16> child element, which is mandatory and contains the time when the query request is initiated;
  • ⁇ 00&16> child element which is mandatory and contains the expected completion time of the unprocessed transfer request or the completion time of the completed transfer request;
  • IP address management server fails to execute the ⁇ tranfer> command for any reason, the IP address management server returns an error response to the IP address management client.
  • create a command ( ⁇ create> command), used to create a new IP address object.
  • the ⁇ create> command includes the standard EPP command element, which also identifies the IP namespace.
  • ⁇ :1 ⁇ 111 ⁇ 2> child element which is mandatory and contains the name of the IP address object to be created; where the name is the name created by the client request, not necessarily the name of the IP object actually allocated by the server the same;
  • this child element is optional, including the validity period of the client application. If the client does not specify, the child element is set to null, the server can define a default validity period;
  • ⁇ : ⁇ : ⁇ ! ⁇ child element the child element is mandatory, including the address length of the client application; ⁇ IP: & ⁇ 1111 ⁇ 0> child element, this child element is mandatory, and contains the authorization information of the client requesting to create an IP address object. ; If the server supports it, there is also an optional ⁇ : ⁇ 18 &1 ⁇ > child element and one or more optional ⁇ 0 ⁇ 01 ⁇ &( ⁇ > child elements, which are associated with the IP address object (registered , use, technical responsibility, financial responsibility) of the person or organization's logo.
  • the ⁇ resData> element includes ⁇ IP: 0&1& for identifying the IP namespace. > element, and ⁇ IP: ( ⁇ 0&1&> element includes the following child elements: ⁇ :1 ⁇ 111 ⁇ 2> child element, which is mandatory and contains the name of the assigned IP address object;
  • the child element is mandatory, and contains the name of the upper level of the assigned IP address object
  • the IP address management server If the IP address management server performs the ⁇ ( ⁇ &16> command failure for any reason, the IP address management server returns an error response to the IP address management client.
  • the delete command ( ⁇ delete> command) is used to delete an existing IP address object.
  • the ⁇ delete> command also includes a ⁇ :(16 ⁇ 16> element for identifying the IP namespace, where the ⁇ IP:delete> element also includes the following child elements:
  • ⁇ :1 ⁇ 111 ⁇ 2> child element which is mandatory and contains the name of the IP address object to be deleted.
  • IP address management server If the IP address management server successfully executes the ⁇ delete> command, it returns a response message not including ⁇ resData>it" : to the IP address management client.
  • IP address management server fails to execute the ⁇ delete> command for any reason, the IP address management server returns an error response to the IP address management client.
  • Validity extension command used to extend the validity of the IP address object Period, that is, the customer's lease time for the IP address object.
  • the ⁇ renew> command also includes a ⁇ : 11 ⁇ 2 ⁇ > element for identifying the IP namespace, where the ⁇ IP:renew> element also includes the following child elements:
  • this child element is mandatory and contains the name of the IP address object to be renewed;
  • this child element is mandatory and contains the number of time units to be renewed, that is, the length of the renewal.
  • the IP address management server If the IP address management server successfully executes the ⁇ 3 ⁇ 41 ⁇ > command, it returns a response message including the ⁇ resData> element to the IP address management client.
  • the ⁇ resData> element includes the ⁇ : 1 0&1&> element for identifying the IP namespace, and the ⁇ : 1 0&1&> element includes the following sub-elements:
  • IP:name> child element which is mandatory and contains the name of the IP address object to be renewed;
  • this child element is mandatory and contains the expiration time after renewal. If the IP address management server fails to execute the ⁇ 11 ⁇ 2 ⁇ > command for any reason, the IP address management server returns an error response to the IP address management client.
  • the transfer order ( ⁇ transfer> command), used to transfer the IP address object, that is, the transfer customer's ownership of the IP address object.
  • ⁇ (16 ⁇ 16> In addition to the standard EPP command element, the command also contains the "op" attribute with the value "request” and the ⁇ IP: transfer> element used to identify the IP namespace. Among them, ⁇ IP The : transfer > element contains the following child elements:
  • this child element is mandatory and contains the name of the IP address object to be transferred;
  • this child element is optional, and contains the number of time units of the validity period to be extended when changing the affiliation of the IP address object;
  • ⁇ IP: & ⁇ 1111 ⁇ 0> child element which is optional and contains the authorization information of the client to which the IP address object is to be transferred.
  • the response message including the ⁇ resData> element is returned to the IP address management client.
  • the ⁇ resData> element is included for the target Know the ⁇ 0 ⁇ 11 0&1&> element of the IP namespace, the format of the ⁇ IP: trnData> element
  • the ⁇ transfer> command has the same response format when used as a transfer status query command.
  • IP address management server fails to execute the ⁇ tranfer> command for any reason, the IP address management server returns an error response to the IP address management client.
  • update command used to update the attribute information of the IP address object, that is, modify the relevant attribute value of the existing IP address object.
  • the ⁇ update> command also includes a ⁇ : (1&16> element for identifying the IP namespace, where the ⁇ IP:update> element also includes the following child elements:
  • ⁇ :1 ⁇ 111 ⁇ 2> child element which is mandatory and contains the name of the IP address object to be updated
  • the child element is optional, and includes authorization information of the client that updates the IP address object;
  • the ⁇ IP:add> child element further includes:
  • One or more ⁇ IP:contact> containing the contacts to be added or deleted
  • One or more ⁇ & ⁇ 1 8> containing the object state values to be added or deleted.
  • ⁇ IP: (;1 ⁇ > child elements further include:
  • ⁇ IP registrant , which contains the registrant to be modified
  • One or more ⁇ IP:authInfo> containing the authorization information to be modified One or more ⁇ IP:authInfo> containing the authorization information to be modified.
  • IP address management server If the IP address management server successfully executes the ⁇ (1&16> command, it returns a response message not including the ⁇ 80&1&> element to the IP address management client.
  • IP address management server performs ⁇ 1 1 (1&16> command fails for any reason, the address management server returns an error response to the IP address management client.
  • the change command is usually processed and completed in real time.
  • the server administrator can postpone the change request after receiving and processing the change command. This situation Next, the server can return a message with a response code of 1001 to the client stating that the change request has been received and is being processed. Once processing is complete, the server notifies the client that the change command is complete and the state of the related object has changed.
  • the IP address management method in this embodiment is executed by the IP address management server in FIG. 1.
  • the IP address management method in this embodiment will be described in detail below with reference to the system shown in FIG.
  • FIG. 3 is a schematic flowchart diagram of an IP address management method according to another embodiment of the present invention. As shown in FIG. 3, the IP address management method includes the following steps:
  • Step S301 The IP address management server receives an IP address query command or an IP address change command sent by the IP address management client, where the IP address query command or the IP address change command is used by the IP address management client according to the preset command template.
  • Step S302 the IP address management server performs an inquiry of an IP address object according to the IP address query command, and returns a query response message to the IP address management client; or executes an IP address object according to the IP address change command. Change and return a change response message to the IP address management client.
  • the specific procedure of the IP address management method in this embodiment is the same as the operation procedure of the IP address management server in the foregoing embodiment, and therefore is not described here.
  • the IP address management client generates an IP address query command or an IP address change command according to the preset command template, and sends the command to the IP address management server, so that the IP address management server
  • the IP address query command performs an inquiry of an IP address object, or performs an IP address object change according to the IP address change command, and implements automatic management of an IP address, thereby avoiding inefficiency and accuracy caused by relying on manual mail operations. And low reliability issues.
  • the IP address management client since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side manages the specification and the complete IP address related information. Therefore, a reliable and effective automated IP address management scheme is implemented.
  • the IP address query command includes an availability query command, an attribute information query command, or a transfer status query command;
  • the IP address management server performs an IP address query according to the IP address query command, and returns a query response message to the IP address management client, including:
  • the IP address management server queries whether the IP address object to be queried is available according to the name of the IP address to be queried, and returns the IP address object to be queried to the IP address management client. Whether the query result is available;
  • the IP address management server queries the name of the IP address object to be queried according to the attribute information query command, queries the attribute information of the IP address object to be queried, and returns the IP to be queried to the IP address management client. Attribute information of the address object; or
  • the IP address management server queries the transfer status of the IP address object to be queried according to the name of the IP address object to be queried carried in the transfer status query command, and returns the IP to be queried to the IP address management client.
  • the transfer status of the address object
  • the IP address change command includes a create command, a delete command, a validity extension command, a transfer command, or an update command;
  • performing the change of the IP address object according to the IP address change command, and returning the change response information to the IP address management client specifically includes:
  • the IP address management server creates an IP address object according to the validity period of the IP address object to be created and the address length of the IP address object to be created carried in the creation command, and returns the created IP address to the IP address management client. Attribute information of an IP address object;
  • the IP address management server deletes the to-be-deleted IP address object from the existing IP address object according to the name of the IP address object to be deleted carried in the deletion command, and returns a deletion response to the IP address management client.
  • the IP address management server changes the to-be-renewed IP address according to the name of the to-be-renewed IP address object carried in the validity period extension command, the current expiration time of the object to be renewed, and the duration to be renewed.
  • the validity period of the object and returning the changed validity period to the IP address management client;
  • the IP address management server transfers the ownership right of the to-be-transferred IP address object according to the name of the IP address object to be transferred carried by the transfer command, and returns a transfer response message to the IP address management client;
  • the IP address management server updates the attribute information of the IP address object to be updated according to the name of the IP address object to be updated carried by the update command and the attribute value of the to-be-updated IP address object to be updated, and Returning an update response message to the IP address management client.
  • FIG. 4 is a schematic structural diagram of an IP address management client according to an embodiment of the present invention. As shown in Figure 4, the IP address management client includes:
  • the command generating module 41 is configured to generate an IP address query command or an IP address change command according to the preset command template.
  • the command sending module 42 is configured to send the IP address query command or an IP address change command to the IP address management server, so that the IP address management server performs an inquiry of the IP address object according to the IP address query command, or according to The IP address change command performs a change of the IP address object.
  • IP address management process of the IP address management client in this embodiment is the same as the IP address management method in the first or second embodiment, and is not described here.
  • the IP address query command or the IP address change command is generated according to the preset command template, and sent to the IP address management server, so that the IP address management server queries according to the IP address.
  • the command performs the query of the IP address object, or performs the IP address object change according to the IP address change command, realizes the automatic management of the IP address, and avoids the inefficiency, accuracy, and reliability caused by relying on the manual mail operation. And other issues.
  • the IP address management client since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side manages the specification and the complete IP address related information. Therefore, a reliable and efficient automated IP address management scheme is implemented.
  • the IP address query command includes: an availability query command for querying whether an IP address object is available; an attribute information query command for querying attribute information of an IP address object; or a transfer status query command for querying an IP address The transfer status of the object;
  • the IP address change command includes: a create command for creating a new IP address object; a delete command for deleting an existing IP address object; a validity period extension command for extending an expiration date of the IP address object; The transfer IP address object; or an update command for updating the attribute information of the IP address object.
  • FIG. 5 is a schematic structural diagram of an IP address management server according to an embodiment of the present invention.
  • the IP address management server includes:
  • the command receiving module 51 is configured to receive an IP address query command or an IP address change command sent by the IP address management client, where the IP address query command or the IP address change command is used by the IP address management client according to the preset command template. generate;
  • the command execution module 52 is configured to perform an inquiry of an IP address object according to the IP address query command, and return a query response message to the IP address management client; or perform an IP address object change according to the IP address change command, And returning a change response message to the IP address management client.
  • IP address management process of the IP address management server in this embodiment is the same as the IP address management method in the third embodiment, and therefore is not described here.
  • the IP address query command or the IP address change command generated by the receiving IP address management client according to the preset command template is executed, the query of the IP address object is performed, or the command is executed according to the IP address change command.
  • the change of the IP address object realizes the automatic management of the IP address, avoiding the problems of inefficiency, accuracy and low reliability caused by relying on the manual mail operation.
  • the IP address management client since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side manages the specification and the complete IP address related information. Therefore, a reliable and efficient automated IP address management scheme is implemented.
  • the IP address query command includes an availability query command, an attribute information query command, or a transfer status query command
  • the IP address change command includes a create command, a delete command, a validity extension command, a transfer command, or an update command
  • the command execution module specifically includes any one or more of the following execution units:
  • a first execution unit configured to query, according to the name of the IP address object to be queried carried in the availability query command, whether the IP address object to be queried is available, and return the IP address to be queried to the IP address management client The result of the query that the object is available;
  • a second execution unit configured to query, according to the name of the IP address object to be queried, the attribute information of the IP address object to be queried, and return the attribute information to the IP address management client Attribute information of an IP address object;
  • a third execution unit configured to query, according to the name of the IP address object to be queried carried in the transfer status query command, the transfer status of the IP address object to be queried, and return the query to the IP address management client The transfer status of the IP address object;
  • a fourth execution unit configured to create an IP address object according to the validity period of the IP address object to be created and the address length of the IP address object to be created, and return the created to the IP address management client. Attribute information of the IP address object;
  • a fifth execution unit configured to delete the to-be-deleted IP address object from the existing IP address object according to the name of the IP address object to be deleted carried in the deletion command, and return the deletion to the IP address management client Response message
  • a sixth execution unit configured to change the to-be-renewed IP according to the name of the to-be-renewed IP address object carried in the validity period extension command, the current expiration time of the to-be-renewed IP address object, and the duration to be renewed The validity period of the address object, and returning the changed validity period to the IP address management client;
  • a seventh executing unit configured to transfer, according to the name of the IP address object to be transferred carried by the transfer command, the ownership right of the object to be transferred, and return a transfer response message to the IP address management client;
  • An eighth execution unit configured to update, according to the name of the IP address object to be updated that is carried by the update command, and the attribute value of the to-be-updated IP address object to be updated, to update the attribute information of the IP address object to be updated, And returning an update response message to the IP address management client.
  • the embodiment provides an IP address management system, which includes the IP address management client of the foregoing embodiment, and the IP address management server of the foregoing embodiment, where the IP address management client is connected to the IP address management server.
  • the IP address management server executes the IP address object according to the IP address query command or the IP address change command generated by the IP address management client according to the preset command template, and sends the IP address management command to the IP address management server.
  • the query, or the change of the IP address object according to the IP address change command realizes automatic management of the IP address, avoiding problems such as inefficiency, accuracy, and low reliability caused by relying on manual mail operations.
  • the IP address management client since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side implements the specification and the complete IP address. Management of address related information. Therefore, a reliable and efficient automated IP address management scheme is realized.

Abstract

The present invention provides an IP address management method, device, and system. The method comprises: an IP address management client generating an IP address query command or an IP address change command according to a preset command template; and the IP address management client sending the IP address query command or the IP address change command to an IP address management server, so that the IP address management server queries for an IP address object according to the IP address query command, or changes an IP address object according to the IP address change command. The IP address management method, device, and system provided by the present invention implement reliable and effective automatic IP address management.

Description

IP地址管理方法、 设备及系统  IP address management method, device and system
技术领域 Technical field
本发明涉及信息处理技术,尤其涉及一种 IP地址管理方法、设备及系统, 属于网络安全技术领域。 背景技术  The present invention relates to information processing technologies, and in particular, to an IP address management method, device, and system, and belongs to the technical field of network security. Background technique
互联网协议(IP )地址的管理通常是分级进行的。 互联网名称与数字地址 分配机构 (ICANN )授权互联网数字分配机构 (IANA ) 来管理全球 IP地址 的分配工作, 而 IANA又将 IP地址分配给亚太地区 (APNIC ) 、 北美地区 ( ARIN )、 南美地区(LACNIC )、 欧洲地区(RIPE )和非洲地区(AFRNIC ) 这五个地区级的互联网注册管理机构 (RIR ) 。 在 APNIC管辖的亚太地区, 由于其文化和语言的复杂性, 进一步设立了国家级注册机构 (NIR )来负责 管理和分配 IP地址给所在国家或地区的运营商 ( ISP )和普通用户, 如中国 互联网络信息中心 (CN IC ) 、 日本互联网络信息中心 (JPNIC )和韩国互 联网络信息中心 ( K NIC )等。 以中国为例, 大多数 ISP都是通过 CN IC申 请 IP地址,但由于国内互联网络发展早期, 没有成立统一的 IP地址及 AS号 码资源管理机构 , 所以部分运营商直接从 APNIC申请地址。  The management of Internet Protocol (IP) addresses is usually done hierarchically. The Internet Corporation for Assigned Names and Numbers (ICANN) authorizes the Internet Digital Assignment Authority (IANA) to manage the allocation of global IP addresses, while IANA assigns IP addresses to Asia Pacific (APNIC), North America (ARIN), and South America ( LACNIC), Europe (RIPE) and Africa (AFRNIC) are five regional Internet Registries (RIRs). In the Asia-Pacific region under the jurisdiction of APNIC, due to its cultural and linguistic complexity, a National Registration Authority (NIR) has been established to manage and assign IP addresses to operators (ISPs) and ordinary users in the country or region, such as China. Internet Information Center (CN IC), Japan Internet Network Information Center (JPNIC) and Korea Internet Network Information Center (K NIC). In China, for example, most ISPs apply for IP addresses through CN ICs. However, due to the early development of the domestic Internet, there is no unified IP address and AS number resource management organization. Therefore, some operators directly apply for addresses from APNIC.
目前, 无论 ISP直接向 APNIC查询或更改 IP地址相关信息 (例如申请 Currently, ISPs can directly query APNIC for information about IP addresses (such as applying for
IP地址),还是通过 CNNIC作为代理向 APNIC查询或更改 IP地址相关信息, 都是由网络管理员人工操作, 以电子邮件的形式向上级管理机构提交相应需 求。 然后经过复杂的工单流程, 上级机构审批后予以响应, 且仍通过电子邮 件的形式通知下级。 IP address), or through CNNIC as a proxy to query or change the IP address related information to APNIC, all of which are manually operated by the network administrator to submit the corresponding requirements to the higher-level management organization in the form of e-mail. Then, after a complicated work order process, the superior organization responds after approval, and still informs the lower level by means of e-mail.
这种方式过多的依赖于人工操作, 效率低下, 难以保证上下级间为 IP地 址分配和管理所进行的通信能够准时完成。 同时由于人为管理容易产生错误, 也难以保证通信的准确性和可靠性。 随着互联网协议第六版(IPv6 ) 的逐步 应用, IP地址管理的工作量将发生几何级数的倍增, 这种依赖人工邮件往来 的 IP地址管理操作无法满足需求。 另外, 由于各 IP地址管理机构和代理用 于 IP地址注册申请的邮件模板往往不同,对注册相关信息的要求和记录也不 尽一致, 导致用于保存 IP地址注册信息的 WH0IS数据库存在数据不完整、 不一致、 不可信的诸多缺点。 This method relies too much on manual operations and is inefficient. It is difficult to ensure that the communication between the upper and lower levels for IP address allocation and management can be completed on time. At the same time, it is easy to generate errors due to human management, and it is difficult to ensure the accuracy and reliability of communication. With the gradual application of the sixth edition of the Internet Protocol (IPv6), the workload of IP address management will multiply geometrically. This IP address management operation relying on manual mail cannot meet the demand. In addition, since the mail templates used by IP address management agencies and agents for IP address registration applications are often different, the requirements and records for registration related information are not Consistently, the WH0IS database used to store IP address registration information has many shortcomings such as incomplete, inconsistent, and untrustworthy data.
目前并没有一种可靠、 有效的自动化 IP地址管理方案。 发明内容 针对现有技术中的缺陷, 本发明提供 IP地址管理方法、 设备及系统, 用以实现可靠、 有效的自动化 IP地址管理。  There is currently no reliable and effective automated IP address management solution. SUMMARY OF THE INVENTION In view of the deficiencies in the prior art, the present invention provides an IP address management method, device, and system for implementing reliable and efficient automated IP address management.
一方面, 本发明实施例提供一种 IP地址管理方法, 包括:  In one aspect, an embodiment of the present invention provides an IP address management method, including:
IP地址管理客户端根据预设命令模板生成 IP地址查询命令或 IP地址 更改命令;  The IP address management client generates an IP address query command or an IP address change command according to the preset command template.
所述 IP地址管理客户端将所述 IP地址查询命令或 IP地址更改命令发 送至 IP地址管理服务器,以使所述 IP地址管理服务器根据所述 IP地址查 询命令执行 IP地址对象的查询,或者根据所述 IP地址更改命令执行 IP地 址对象的更改。  Sending, by the IP address management client, the IP address query command or the IP address change command to the IP address management server, so that the IP address management server performs an inquiry of the IP address object according to the IP address query command, or according to The IP address change command performs a change of the IP address object.
进一步地, 在上述实施例的 IP地址管理方法中, 所述 IP地址查询命 令包括: 可用性查询命令, 用于查询 IP地址对象是否可用; 属性信息查 询命令, 用于查询 IP地址对象的属性信息; 或转让状态查询命令, 用于 查询 IP地址对象的转让状态;  Further, in the IP address management method of the foregoing embodiment, the IP address query command includes: an availability query command, configured to query whether an IP address object is available; and an attribute information query command, configured to query attribute information of the IP address object; Or a transfer status query command for querying the transfer status of the IP address object;
所述 IP地址更改命令包括: 创建命令, 用于创建新的 IP地址对象; 删除命令, 用于删除已有的 IP地址对象; 有效期延长命令, 用于延长 IP 地址对象的有效期; 转让命令, 用于转让 IP地址对象; 或更新命令, 用 于更新 IP地址对象的属性信息。  The IP address change command includes: a create command for creating a new IP address object; a delete command for deleting an existing IP address object; a validity period extension command for extending an expiration date of the IP address object; The transfer IP address object; or an update command for updating the attribute information of the IP address object.
一方面, 本发明实施例还提供另一种 IP地址管理方法, 包括: IP地址管理服务器接收 IP地址管理客户端发送的 IP地址查询命令或 IP地址更改命令, 其中所述 IP地址查询命令或 IP地址更改命令由所述 IP 地址管理客户端根据预设命令模板生成;  On the one hand, the embodiment of the present invention further provides another IP address management method, including: the IP address management server receives an IP address query command or an IP address change command sent by the IP address management client, where the IP address query command or IP address The address change command is generated by the IP address management client according to a preset command template;
所述 IP地址管理服务器根据所述 IP地址查询命令执行 IP地址对象的 查询, 并向所述 IP地址管理客户端返回查询响应消息; 或者根据所述 IP 地址更改命令执行 IP地址对象的更改, 并向所述 IP地址管理客户端返回 更改响应消息。 进一步地, 在上述实施例的 IP地址管理方法中, 所述 IP地址查询命 令包括可用性查询命令、 属性信息查询命令或转让状态查询命令; The IP address management server performs an inquiry of an IP address object according to the IP address query command, and returns a query response message to the IP address management client; or performs an IP address object change according to the IP address change command, and Returning a change response message to the IP address management client. Further, in the IP address management method of the foregoing embodiment, the IP address query command includes an availability query command, an attribute information query command, or a transfer status query command;
相应地,所述 IP地址管理服务器根据所述 IP地址查询命令执行 IP地 址查询, 并向所述 IP地址管理客户端返回查询响应消息包括:  Correspondingly, the IP address management server performs an IP address query according to the IP address query command, and returns a query response message to the IP address management client, including:
所述 IP地址管理服务器根据所述可用性查询命令携带的待查询 IP地 址对象的名称, 查询所述待查询 IP地址对象是否可用, 并向所述 IP地址 管理客户端返回所述待查询 IP地址对象是否可用的查询结果;  The IP address management server queries whether the IP address object to be queried is available according to the name of the IP address to be queried, and returns the IP address object to be queried to the IP address management client. Whether the query result is available;
所述 IP地址管理服务器根据所述属性信息查询命令携带的待查询 IP 地址对象的名称, 查询所述待查询 IP地址对象的属性信息, 并向所述 IP 地址管理客户端返回所述待查询 IP地址对象的属性信息; 或者  The IP address management server queries the name of the IP address object to be queried according to the attribute information query command, queries the attribute information of the IP address object to be queried, and returns the IP to be queried to the IP address management client. Attribute information of the address object; or
所述 IP地址管理服务器根据所述转让状态查询命令携带的待查询 IP 地址对象的名称, 查询所述待查询 IP地址对象的转让状态, 并向所述 IP 地址管理客户端返回所述待查询 IP地址对象的转让状态;  The IP address management server queries the transfer status of the IP address object to be queried according to the name of the IP address object to be queried carried in the transfer status query command, and returns the IP to be queried to the IP address management client. The transfer status of the address object;
所述 IP地址更改命令包括创建命令、 删除命令、 有效期延长命令、 转让命令或更新命令;  The IP address change command includes a create command, a delete command, a validity extension command, a transfer command, or an update command;
相应地, 根据所述 IP地址更改命令执行 IP地址对象的更改, 并向所 述 IP地址管理客户端返回更改响应信息具体包括:  Correspondingly, performing the change of the IP address object according to the IP address change command, and returning the change response information to the IP address management client, specifically includes:
所述 IP地址管理服务器根据所述创建命令携带的待创建 IP地址对象 的有效期和所述待创建 IP地址对象的地址长度, 创建 IP地址对象, 并向 所述 IP地址管理客户端返回所创建的 IP地址对象的属性信息;  The IP address management server creates an IP address object according to the validity period of the IP address object to be created and the address length of the IP address object to be created carried in the creation command, and returns the created IP address to the IP address management client. Attribute information of an IP address object;
所述 IP地址管理服务器根据所述删除命令携带的待删除 IP地址对象 的名称, 从已有 IP地址对象中将所述待删除 IP地址对象删除, 并向所述 IP地址管理客户端返回删除响应消息;  The IP address management server deletes the to-be-deleted IP address object from the existing IP address object according to the name of the IP address object to be deleted carried in the deletion command, and returns a deletion response to the IP address management client. Message
所述 IP地址管理服务器根据所述有效期延长命令携带的待续约 IP地 址对象的名称、 所述待续约 IP地址对象的当前到期时间以及待续约时长, 更改所述待续约 IP地址对象的有效期, 并向所述 IP地址管理客户端返回 更改后的有效期;  The IP address management server changes the to-be-renewed IP address according to the name of the to-be-renewed IP address object carried in the validity period extension command, the current expiration time of the object to be renewed, and the duration to be renewed. The validity period of the object, and returning the changed validity period to the IP address management client;
所述 IP地址管理服务器根据所述转让命令携带的待转让 IP地址对象 的名称, 转让所述待转让 IP地址对象的归属权, 并向所述 IP地址管理客 户端返回转让响应消息; 或者 所述 IP地址管理服务器根据所述更新命令携带的待更新 IP地址对象 的名称, 和所述待更新 IP地址对象的待更新属性值, 对所述待更新 IP地 址对象的属性信息进行更新, 并向所述 IP地址管理客户端返回更新响应 消息。 The IP address management server transfers the ownership of the IP address object to be transferred according to the name of the IP address object to be transferred carried by the transfer command, and returns a transfer response message to the IP address management client; or The IP address management server updates the attribute information of the IP address object to be updated according to the name of the IP address object to be updated carried by the update command and the attribute value of the to-be-updated IP address object to be updated, and Returning an update response message to the IP address management client.
一方面, 本发明实施例提供一种 IP地址管理客户端, 包括: 命令生成模块, 用于根据预设命令模板生成 IP地址查询命令或 IP地 址更改命令;  In one aspect, an embodiment of the present invention provides an IP address management client, including: a command generation module, configured to generate an IP address query command or an IP address change command according to a preset command template;
命令发送模块, 用于将所述 IP地址查询命令或 IP地址更改命令发送 至 IP地址管理服务器,以使所述 IP地址管理服务器根据所述 IP地址查询 命令执行 IP地址对象的查询,或者根据所述 IP地址更改命令执行 IP地址 对象的更改。  a command sending module, configured to send the IP address query command or an IP address change command to the IP address management server, so that the IP address management server performs an IP address object query according to the IP address query command, or according to the The IP address change command performs a change of the IP address object.
进一步地, 在上述实施例的 IP地址管理客户端中, 所述 IP地址查询 命令包括: 可用性查询命令, 用于查询 IP地址对象是否可用; 属性信息 查询命令, 用于查询 IP地址对象的属性信息; 或转让状态查询命令, 用 于查询 IP地址对象的转让状态;  Further, in the IP address management client of the foregoing embodiment, the IP address query command includes: an availability query command for querying whether an IP address object is available; and an attribute information query command for querying attribute information of the IP address object. Or transfer status query command to query the transfer status of the IP address object;
所述 IP地址更改命令包括: 创建命令, 用于创建新的 IP地址对象; 删除命令, 用于删除已有的 IP地址对象; 有效期延长命令, 用于延长 IP 地址对象的有效期; 转让命令, 用于转让 IP地址对象; 或更新命令, 用 于更新 IP地址对象的属性信息。  The IP address change command includes: a create command for creating a new IP address object; a delete command for deleting an existing IP address object; a validity period extension command for extending an expiration date of the IP address object; The transfer IP address object; or an update command for updating the attribute information of the IP address object.
一方面, 本发明实施例提供一种 IP地址管理服务器, 包括: 命令接收模块, 用于接收 IP地址管理客户端发送的 IP地址查询命令 或 IP地址更改命令,其中所述 IP地址查询命令或 IP地址更改命令由所述 IP地址管理客户端根据预设命令模板生成;  In one aspect, an embodiment of the present invention provides an IP address management server, including: a command receiving module, configured to receive an IP address query command or an IP address change command sent by an IP address management client, where the IP address query command or IP The address change command is generated by the IP address management client according to a preset command template;
命令执行模块, 用于根据所述 IP地址查询命令执行 IP地址对象的查 询, 并向所述 IP地址管理客户端返回查询响应消息; 或者根据所述 IP地 址更改命令执行 IP地址对象的更改, 并向所述 IP地址管理客户端返回更 改响应消息。  a command execution module, configured to perform an inquiry of an IP address object according to the IP address query command, and return a query response message to the IP address management client; or perform an IP address object change according to the IP address change command, and Returning a change response message to the IP address management client.
进一步地, 在上述实施例的 IP地址管理服务器中, 所述 IP地址查询 命令包括可用性查询命令、 属性信息查询命令或转让状态查询命令; 所述 IP地址更改命令包括创建命令、 删除命令、 有效期延长命令、 转让命令或 更新命令; 相应地, 所述命令执行模块具体包括以下执行单元中的任意一 个或多个: Further, in the IP address management server of the foregoing embodiment, the IP address query command includes an availability query command, an attribute information query command, or a transfer status query command; the IP address change command includes a create command, a delete command, and an expiration date. Order, transfer order or Correspondingly, the command execution module specifically includes any one or more of the following execution units:
第一执行单元, 用于根据所述可用性查询命令携带的待查询 IP地址 对象的名称, 查询所述待查询 IP地址对象是否可用, 并向所述 IP地址管 理客户端返回所述待查询 IP地址对象是否可用的查询结果;  a first execution unit, configured to query, according to the name of the IP address object to be queried carried in the availability query command, whether the IP address object to be queried is available, and return the IP address to be queried to the IP address management client The result of the query that the object is available;
第二执行单元, 用于根据所述属性信息查询命令携带的待查询 IP地 址对象的名称, 查询所述待查询 IP地址对象的属性信息, 并向所述 IP地 址管理客户端返回所述待查询 IP地址对象的属性信息;  a second execution unit, configured to query, according to the name of the IP address object to be queried, the attribute information of the IP address object to be queried, and return the attribute information to the IP address management client Attribute information of an IP address object;
第三执行单元, 用于根据所述转让状态查询命令携带的待查询 IP地 址对象的名称, 查询所述待查询 IP地址对象的转让状态, 并向所述 IP地 址管理客户端返回所述待查询 I P地址对象的转让状态;  a third execution unit, configured to query, according to the name of the IP address object to be queried carried in the transfer status query command, the transfer status of the IP address object to be queried, and return the query to the IP address management client The transfer status of the IP address object;
第四执行单元, 用于根据所述创建命令携带的待创建 IP地址对象的 有效期和所述待创建 IP地址对象的地址长度, 创建 IP地址对象, 并向所 述 IP地址管理客户端返回所创建的 IP地址对象的属性信息;  a fourth execution unit, configured to create an IP address object according to the validity period of the IP address object to be created and the address length of the IP address object to be created, and return the created to the IP address management client. Attribute information of the IP address object;
第五执行单元, 用于根据所述删除命令携带的待删除 IP地址对象的 名称, 从已有 IP地址对象中将所述待删除 IP地址对象删除, 并向所述 IP 地址管理客户端返回删除响应消息;  a fifth execution unit, configured to delete the to-be-deleted IP address object from the existing IP address object according to the name of the IP address object to be deleted carried in the deletion command, and return the deletion to the IP address management client Response message
第六执行单元, 用于根据所述有效期延长命令携带的待续约 IP地址 对象的名称、 所述待续约 IP地址对象的当前到期时间以及待续约时长, 更改所述待续约 IP地址对象的有效期, 并向所述 IP地址管理客户端返回 更改后的有效期;  a sixth execution unit, configured to change the to-be-renewed IP according to the name of the to-be-renewed IP address object carried in the validity period extension command, the current expiration time of the to-be-renewed IP address object, and the duration to be renewed The validity period of the address object, and returning the changed validity period to the IP address management client;
第七执行单元, 用于根据所述转让命令携带的待转让 IP地址对象的 名称, 转让所述待转让 IP地址对象的归属权, 并向所述 IP地址管理客户 端返回转让响应消息;  a seventh executing unit, configured to transfer, according to the name of the IP address object to be transferred carried by the transfer command, the ownership right of the object to be transferred, and return a transfer response message to the IP address management client;
第八执行单元, 用于根据所述更新命令携带的待更新 IP地址对象的 名称, 和所述待更新 IP地址对象的待更新属性值, 对所述待更新 IP地址 对象的属性信息进行更新, 并向所述 IP地址管理客户端返回更新响应消 息。  An eighth execution unit, configured to update, according to the name of the IP address object to be updated that is carried by the update command, and the attribute value of the to-be-updated IP address object to be updated, to update the attribute information of the IP address object to be updated, And returning an update response message to the IP address management client.
一方面, 本发明实施例提供一种 IP地址管理系统, 包括本发明实施 例的 IP地址管理客户端, 以及本发明实施例的 IP地址管理服务器, 所述 IP地址管理客户端与所述 IP地址管理服务器连接。 In one aspect, the embodiment of the present invention provides an IP address management system, including an IP address management client according to an embodiment of the present invention, and an IP address management server according to an embodiment of the present invention. The IP address management client is connected to the IP address management server.
根据本发明提供 IP地址管理方法、 设备及系统, 由于 IP地址管理客 户端根据预设命令模板生成 IP地址查询命令或 IP地址更改命令, 并发送 至 IP地址管理服务器,以使所述 IP地址管理服务器根据所述 IP地址查询 命令执行 IP地址对象的查询 ,或者根据所述 IP地址更改命令执行 IP地址 对象的更改, 实现了 IP 地址的自动管理, 避免了因依赖于人工邮件操作 导致的效率低下、 准确性和可靠性低等问题。 而且, 由于 IP 地址管理客 户端根据预设命令模板生成 IP地址查询命令或 IP地址更改命令, 实现了 IP地址管理服务器侧对规范、 完整的 IP地址相关信息的管理。 因此, 实 现了可靠、 有效的自动化 IP地址管理方案。 附图说明  According to the present invention, an IP address management method, device, and system are provided. The IP address management client generates an IP address query command or an IP address change command according to a preset command template, and sends the command to the IP address management server to enable the IP address management. The server performs an IP address object query according to the IP address query command, or performs an IP address object change according to the IP address change command, thereby realizing automatic management of the IP address, thereby avoiding inefficiency caused by relying on manual mail operations. , accuracy and low reliability issues. Moreover, since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side manages the specification and the complete IP address related information. Therefore, a reliable and efficient automated IP address management scheme is implemented. DRAWINGS
图 1为用于本发明实施例的 IP地址管理方法的系统架构图。  FIG. 1 is a system architecture diagram of an IP address management method used in an embodiment of the present invention.
图 2为本发明一个实施例的 IP地址管理方法的流程示意图。  FIG. 2 is a schematic flowchart diagram of an IP address management method according to an embodiment of the present invention.
图 3为本发明另一实施例的 IP地址管理方法的流程示意图。  FIG. 3 is a schematic flowchart diagram of an IP address management method according to another embodiment of the present invention.
图 4为本发明一个实施例的 IP地址管理客户端的结构示意图。  FIG. 4 is a schematic structural diagram of an IP address management client according to an embodiment of the present invention.
图 5为本发明一个实施例的 IP地址管理服务器的结构示意图。 具体实施方式 图 1为用于本发明实施例的 IP地址管理方法的系统架构图。 如图 1 所示, 包括 IP地址管理客户端和 IP地址管理服务器, 其中, 可根据需要 部署 IP地址管理客户端和 IP地址管理服务器,例如仍对 IP地址进行分级 管理, 则可分别在直接通信的两级之间配置 IP地址管理客户端和 IP地址 管理服务器,例如为各国家或地区的 ISP和普通用户配置 IP地址管理客户 端, 并为国家级注册机构配置一个 IP地址管理服务器, 还为国家级注册 机构配置一个 IP地址管理客户端, 并为地区级的 RIR配置一个 IP地址管 理服务器等。 此外, 也可对 IP地址进行集中管理, 即为各国家或地区的 ISP和普通用户配置 IP地址管理客户端,并直接在 ICANN配置 IP地址管 理服务器, 从而实现由 ICANN直接进行 IP地址管理。  FIG. 5 is a schematic structural diagram of an IP address management server according to an embodiment of the present invention. 1 is a system architecture diagram of an IP address management method used in an embodiment of the present invention. As shown in Figure 1, the IP address management client and the IP address management server are included. The IP address management client and the IP address management server can be deployed as needed. For example, if the IP address is still hierarchically managed, the direct communication can be performed separately. Configure an IP address management client and an IP address management server between the two levels. For example, configure an IP address management client for ISPs and common users in each country, and configure an IP address management server for the national registration authority. The national registration authority configures an IP address management client and configures an IP address management server for the regional RIR. In addition, IP addresses can be centrally managed by configuring IP address management clients for ISPs and common users in each country, and configuring IP address management servers directly at ICANN to enable direct IP address management by ICANN.
实施例一 本实施例的 IP地址管理方法由图 1中的 IP地址管理客户端来执行 , 下面结合图 1所示系统对本实施例的 IP地址管理方法进行详细说明。 Embodiment 1 The IP address management method in this embodiment is executed by the IP address management client in FIG. 1. The IP address management method in this embodiment will be described in detail below with reference to the system shown in FIG.
图 2为本发明一个实施例的 IP地址管理方法的流程示意图。 如图 2 所示, 该 IP地址管理方法包括以下步骤:  FIG. 2 is a schematic flowchart diagram of an IP address management method according to an embodiment of the present invention. As shown in FIG. 2, the IP address management method includes the following steps:
步骤 S201 , IP地址管理客户端根据预设命令模板生成 IP地址查询命 令或 IP地址更改命令;  Step S201: The IP address management client generates an IP address query command or an IP address change command according to the preset command template.
步骤 S202, 所述 IP地址管理客户端将所述 IP地址查询命令或 IP地 址更改命令发送至 IP地址管理服务器, 以使所述 IP地址管理服务器根据 所述 IP地址查询命令执行 IP地址对象的查询 ,或者根据所述 IP地址更改 命令执行 IP地址对象的更改。  Step S202, the IP address management client sends the IP address query command or the IP address change command to the IP address management server, so that the IP address management server performs the query of the IP address object according to the IP address query command. Or perform a change of the IP address object according to the IP address change command.
具体地, IP地址管理客户端和 IP地址管理服务器之间釆用 "请求一 响应" 的方式进行交互, 消息釆用可扩展标记语言 ( Extensible Markup Language, XML )描述。 IP地址管理客户端和 IP地址管理服务器之间可通 过任意现有的传输协议提供安全支持, 完成 IP地址管理服务器对 IP地址 管理客户端的识别、 认证以及其它信息的交换, 并在此基础上执行通信交 互。 下面以基于可扩展供应十办议 ( Extensible Provisioning Protocol, EPP ) 来实现图 1所示的 C/S架构为例进行说明。  Specifically, the IP address management client and the IP address management server interact with each other in a "request-response" manner, and the message is described by an Extensible Markup Language (XML). The IP address management client and the IP address management server can provide security support through any existing transmission protocol, complete the identification, authentication, and other information exchange of the IP address management client by the IP address management server, and execute on this basis. Communication interaction. The following is an example of implementing the C/S architecture shown in FIG. 1 based on the Extensible Provisioning Protocol (EPP).
在基于 EPP协议的 IP地址管理服务器和 IP地址管理客户端中, 将 EPP通用对象映射到 IP地址对象。 更为具体地, IP地址对象例如包括以 下六类属性供通信的 IP地址管理服务器和 IP地址管理客户端进行解析、 查询和爹改:  In the EPP-based IP address management server and IP address management client, the EPP common object is mapped to an IP address object. More specifically, the IP address object includes, for example, an IP address management server and an IP address management client for communication, parsing, and tampering with the following six types of attributes:
一、 IP地址段名称 ( IP Addresses ) ;  First, the IP address segment name (IP Addresses);
二、 联系人和客户端标识 ( Contact and Client Identifiers ) ;  Second, contact and client identification (Contact and Client Identifiers);
具体地, 所有的联系人都具有一个 IP地址管理服务器的唯一标识。 该标识由一个字符串组成, 这个字符串符合一定的格式标识, 并限定其最 小长度和最大长度。 该标识例如使用 "clIDType" 来标明。  Specifically, all contacts have a unique identifier for an IP address management server. The identifier consists of a string that conforms to a certain format identifier and defines its minimum length and maximum length. This flag is indicated, for example, by using "clIDType".
三、 状态值 ( Status Values ) ;  Third, the status value (Status Values );
具体地, 每一个 IP地址对象必须至少有一个关联的状态值。 状态值 可以由 IP地址对象的供应商(即 IP地址管理客户端)或者由 IP地址对象 所在的服务器 (即 IP地址管理服务器)设定。 IP地址管理服务器设定的 IP地址对象的状态值, IP地址管理客户端不能修改; 而 IP地址管理服务 器可以根据本地服务器策略,修改客户端设定的 IP地址对象的状态值。 IP 地址对象的状态值可以是客户端发送的修改命令修改得到的结果, 也可以 是服务器管理员操作得到的结果。 Specifically, each IP address object must have at least one associated state value. The status value can be set by the provider of the IP address object (ie, the IP address management client) or by the server where the IP address object is located (ie, the IP address management server). Set by the IP address management server The state value of the IP address object cannot be modified by the IP address management client; and the IP address management server can modify the state value of the IP address object set by the client according to the local server policy. The status value of the IP address object can be the result of modifying the modification command sent by the client, or it can be the result obtained by the server administrator.
客户端设定的 IP地址对象的状态, 在状态值前面, 携带有前缀  The state of the IP address object set by the client, preceded by the status value, carries the prefix
"client" ; 服务器设定的 IP地址对象的状态, 在状态值前面, 携带有前 缀 "server" ; 如果状态值前没有任何前缀, 也表明此状态值由服务器管 理。  "client" ; The state of the IP address object set by the server, preceded by the status value, carries the prefix "server"; if there is no prefix before the status value, it also indicates that this status value is managed by the server.
更为具体地, IP地址对象的状态值例如包括禁止删除状态 (包括 clientDeleteProhibited和 serverDeleteProhibited ) 、 禁止延长有效期 (包括 clientRenewProhibited和 serverRenewProhibited ) 、 禁止更新该对象 (包括 clientUpdateProhibited ^ serverUpdateProhibited ) 、 禁止转让该对象 (包 括 clientTransferProhibited和 serverTransferProhibited ) 、 正常状态 ( ok ) 、 正在被创建状态 ( pendingCreate ) 、 正在被删除状态 ( pendingDelete ) 、 正在延长有效期( pendingRenew ) 、 正在被修改状态 ( pendingUpdate )和 正在被转让状态 ( endingTransfer ) 等。  More specifically, the status values of the IP address object include, for example, the prohibition of deletion status (including clientDeleteProhibited and serverDeleteProhibited), the extension of the validity period (including clientRenewProhibited and serverRenewProhibited), the prohibition of updating the object (including clientUpdateProhibited ^ serverUpdateProhibited ), and the prohibition of transferring the object (including clientTransferProhibited and serverTransferProhibited), normal state (ok), being created (pendingCreate), being deleted (pendingDelete), extending expiration (pendingRenew), being modified (pendingUpdate), and being transferred (endingTransfer) .
四、 日期和时间 ( Dates Times ) ;  Fourth, date and time ( Dates Times ) ;
具体地, 例如使用格林威治时间, 包括创建该 IP地址对象的时间, 和最近一次更新该 IP地址对象的时间等;  Specifically, for example, using Greenwich Mean Time, including the time when the IP address object was created, and the time when the IP address object was last updated;
五、 有效期 ( Validity Periods ) ;  V. Validity Periods ;
具体地, 有效期在 IP地址对象被创建时赋值, 并可通过 IP地址更改 命令进行延长。 有效期例如釆用年(y )或月 (m )来度量, 该期限的取值 范围例如为 [1 , 99]。  Specifically, the validity period is assigned when an IP address object is created, and can be extended by the IP address change command. The validity period is measured, for example, by the year (y) or the month (m), and the range of the period is, for example, [1, 99].
六、 授权信息 ( Authorization Information ) 。  6. Authorization Information (Authorization Information).
具体地, 授权信息在 IP地址对象被创建时赋值, 并且可更改。  Specifically, the authorization information is assigned when the IP address object is created, and can be changed.
IP地址管理客户端向 IP地址管理服务器发送 "hello" 命令, IP地址 管理服务器监听端口, 收到 "hello"命令后准备建立连接并返回 "greeting" 给 IP地址管理客户端, IP地址管理客户端通过 "login" 进行登录验证, 若通过验证, 则可以向 IP地址管理服务器发送各种命令并接收相应的响 应报文。 IP地址管理客户端中预置有一种或多种 IP地址对象操作命令模板, 各种命令模板分别用于实现不同的 IP地址对象操作。 IP地址对象的操作 命令包括两类, 一类是 IP地址查询命令, 其不会改变 IP地址对象的属性 值, 另一类是 IP地址更改命令, 其改变 IP地址对象的属性值。 当用户需 要通过 IP地址管理客户端向 IP地址管理服务器发送 IP地址查询命令或 IP 地址更改命令时, 调取相应的 IP地址查询命令模板和 IP地址更改命令模 板, 按照模板设置相应信息, 从而由 IP地址管理客户端根据用户设置的 信息生成统一的、 标准化的 IP地址查询命令或 IP地址更改命令, 并发送 至 IP地址管理服务器。 The IP address management client sends a "hello" command to the IP address management server. The IP address management server listens to the port. After receiving the "hello" command, it prepares to establish a connection and returns "greeting" to the IP address management client. The IP address management client Login verification is performed by "login". If the verification is successful, various commands can be sent to the IP address management server and corresponding response messages can be received. One or more IP address object operation command templates are preset in the IP address management client, and various command templates are used to implement different IP address object operations. The operation commands of the IP address object include two types, one is an IP address query command, which does not change the attribute value of the IP address object, and the other is an IP address change command, which changes the attribute value of the IP address object. When the user needs to send an IP address query command or an IP address change command to the IP address management server through the IP address management client, the corresponding IP address query command template and the IP address change command template are retrieved, and the corresponding information is set according to the template, thereby The IP address management client generates a unified, standardized IP address query command or IP address change command according to the information set by the user, and sends it to the IP address management server.
IP地址管理服务器根据 IP地址查询命令中的查询条件执行查询, 若 查询成功, 则向 IP地址管理客户端返回相应的查询结果; 若查询失败, 则返回查询失败的提示消息。 IP地址管理服务器根据 IP地址更改命令对 相应的 IP地址对象进行操作, 若操作成功, 则返回相应的操作响应消息; 若操作失败, 则返回操作失败的提示消息。  The IP address management server performs a query according to the query condition in the IP address query command. If the query succeeds, the corresponding query result is returned to the IP address management client. If the query fails, the query message indicating the query failure is returned. The IP address management server operates the corresponding IP address object according to the IP address change command. If the operation is successful, the corresponding operation response message is returned. If the operation fails, the operation failure prompt message is returned.
根据本发明实施例的 IP地址管理方法, 由于 IP地址管理客户端根据 预设命令模板生成 IP地址查询命令或 IP地址更改命令,并发送至 IP地址 管理服务器, 以使所述 IP地址管理服务器根据所述 IP地址查询命令执行 IP地址对象的查询, 或者根据所述 IP地址更改命令执行 IP地址对象的更 改, 实现了 IP地址的自动管理, 避免了因依赖于人工邮件操作导致的效 率低下、 准确性和可靠性低等问题。 而且, 由于 IP地址管理客户端根据 预设命令模板生成 IP地址查询命令或 IP地址更改命令,实现了 IP地址管 理服务器侧对规范、 完整的 IP地址相关信息的管理。 因此, 实现了可靠、 有效的自动化 IP地址管理方案。 实施例二 在上述实施例的基础上, 对 IP地址查询命令和 IP地址更改命令进行 扩展说明。 在本实施例中, 所述 IP地址查询命令包括: 可用性查询命令, 用于查询 IP地址对象是否可用; 属性信息查询命令, 用于查询 IP地址对 象的属性信息; 或转让状态查询命令, 用于查询 IP地址对象的转让状态; 所述 IP地址更改命令包括: 创建命令, 用于创建新的 IP地址对象; 删除命令, 用于删除已有的 IP地址对象; 有效期延长命令, 用于延长 IP 地址对象的有效期; 转让命令, 用于转让 IP地址对象; 或更新命令, 用 于更新 IP地址对象的属性信息。 According to the IP address management method of the embodiment of the present invention, the IP address management client generates an IP address query command or an IP address change command according to the preset command template, and sends the IP address query command to the IP address management server, so that the IP address management server is configured according to the IP address management server. The IP address query command performs an inquiry of an IP address object, or performs an IP address object change according to the IP address change command, and implements automatic management of an IP address, thereby avoiding inefficiency and accuracy caused by relying on manual mail operations. Problems such as low sex and reliability. Moreover, since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side manages the specification and the complete IP address related information. Therefore, a reliable and efficient automated IP address management scheme is realized. The second embodiment expands the IP address query command and the IP address change command based on the foregoing embodiment. In this embodiment, the IP address query command includes: an availability query command for querying whether an IP address object is available; an attribute information query command for querying attribute information of an IP address object; or a transfer status query command, for Querying the transfer status of the IP address object; the IP address change command includes: a create command for creating a new IP address object; a delete command for deleting an existing IP address object; a validity period extension command for extending the IP address The validity period of the address object; the transfer command, used to transfer the IP address object; or the update command, used to update the attribute information of the IP address object.
下面分别对以上八种 IP地址操作命令进行详细说明。  The following eight IP address operation commands are described in detail below.
一、 可用性查询命令 ( <check>命令) , 用于查询 IP地址对象是否可 用,即服务供应商是否能提供该 IP地址对象。 <(;1^010命令中除标准的 EPP 命令元素, 还包括用于标识 IP名字空间的<^:(;1^010元素, 其中,  1. The availability query command (<check> command) is used to query whether an IP address object is available, that is, whether the service provider can provide the IP address object. <(;;1^010 command in addition to the standard EPP command element, also includes <^:(;1^010 element, which identifies the IP namespace, where
<IP:check>元素包含了一个或多个<1? :1^11½>元素, 用于标识要查询的 IP 地址对象的名称,该 IP地址对象的名称例如包括 IP地址前缀及 IP地址前 缀长度。 例如: "<IP:name>2001 :F88::/32</IP:name>" , 其中, "32" 为 IP地址前缀长度, "2001 :F88::,,为查询的 IP地址对象的 IP地址前缀, 长 度为 32。 The <IP:check> element contains one or more <1? :1^111⁄2> elements that identify the name of the IP address object to be queried. The name of the IP address object includes, for example, the IP address prefix and the IP address prefix length. . For example: "<IP:name>2001 :F88::/32</IP:name>" , where "32" is the IP address prefix length, "2001:F88::,, is the IP address of the queried IP address object. The address prefix has a length of 32.
IP地址管理客户端中预设的 <check>命令模板例如包括标准的 EPP命 令元素, 以及需由用户设备添加相应数据的 <IP:name>元素。 用户通过输 入 IP地址前缀及 IP地址前缀长度,即可由 IP地址管理客户端自动生成规 范的 <check>命令, 发送至 IP地址管理服务器。  The <check> command template preset in the IP address management client includes, for example, a standard EPP command element, and an <IP:name> element to which the corresponding data needs to be added by the user equipment. By inputting the IP address prefix and the IP address prefix length, the user can automatically generate a standard <check> command by the IP address management client and send it to the IP address management server.
若 IP地址管理服务器成功执行 <check>命令,则向 IP地址管理客户端 返回包括 <resData>元素的响应消息。 其中, <resData>元素包括用于标识 IP名字空间的 <IP: (^1^^1&>元素, 而 <IP:。1^0&1&>元素又包括以下子元素: If the IP address management server successfully executes the <check> command, it returns a response message including the <resData> element to the IP address management client. The <resData> element includes the <IP: (^1^^1&> element for identifying the IP namespace, and the <IP:.1^0&1&> element includes the following child elements:
<1? :1^1116>子元素, 该子元素为必选项, 包含被查询的 IP地址对象的 名称。 该子元素包括一个 "avail" 属性来表明 <check>命令完成时, 对象 是否可用 (即服务供应商是否能够提供) 。 若值为 " 1 " 或 "true" , 则表 明对象可用, 若值为 "0" 或 "false" , 则表明对象不可用; <1? : 1^1116> child element, this child element is mandatory and contains the name of the IP address object being queried. This child element includes an "avail" attribute to indicate whether the object is available when the <check> command completes (ie, whether the service provider can provide it). If the value is "1" or "true", the object is available. If the value is "0" or "false", the object is not available.
<1? :^&801 >子元素, 该子元素为可选项, 用于在对象不可用, 即服务 供应商不能提供被查询 IP地址对象时用来解释原因。  <1? :^&801 > Child element, which is optional and is used to explain why the object is not available, ie the service provider cannot provide the queried IP address object.
二、 属性信息查询命令(<info>命令) , 用于查询 IP地址对象的属性 信息, 服务器返回的具体查询结果中包含的属性信息例如为上述实施例中 六类属性信息中的任意一种或多种的结合, 具体信息可因发起查询的客户 端、 授权或服务器策略的不同而存在差异。 1^0>命令中除标准的 EPP命 令元素, 还包括用于标识 IP名字空间的<0^1 ^)>元素, 其中, <IP:info> 元素还包括以下子元素: <^ :1^11½>子元素, 该子元素为必选项, 包含了要查询的 IP地址对象 的名称; The attribute information query command (<info> command) is used to query the attribute information of the IP address object, and the attribute information included in the specific query result returned by the server is, for example, any one of the six types of attribute information in the foregoing embodiment or A variety of combinations, specific information may vary due to the client, authorization or server policy initiating the query. In addition to the standard EPP command element, the 1^0> command also includes a <0^1 ^)> element for identifying the IP namespace, where the <IP:info> element also includes the following child elements: <^ : 1^111⁄2> child element, this child element is mandatory and contains the name of the IP address object to be queried;
<^^^1111^0>子元素, 该子元素为可选项, 包含发起查询的客户端的 授权信息。  <^^^1111^0> child element, this child element is optional and contains the authorization information of the client that initiated the query.
IP地址管理客户端中预设的 <info>命令模板例如包括标准的 EPP命令 元素, 以及需由用户设备添加相应数据的 <IP :1^11½>子元素和可选填的 <1?^ 1111^0>子元素。 用户通过输入 <IP:name>子元素 (或者还输入  The <info> command template preset in the IP address management client includes, for example, a standard EPP command element, and an <IP:1^111⁄2> sub-element and an optional <1?^1111 to be added by the user equipment. ^0> child element. User enters <IP:name> child element (or also enters
<IP:authInfo>子元素),或即可由 IP地址管理客户端自动生成规范的 <info> 命令, 发送至 IP地址管理服务器。 <IP:authInfo> child element), or the <info> command that can be automatically generated by the IP address management client and sent to the IP address management server.
若 IP地址管理服务器成功执行 1^0>命令, 则向 IP地址管理客户端 返回包括 <resData>元素的响应消息。 其中, <resData>元素包括用于标识 IP名字空间的 <IP: 0^1&>元素, 而 <IP: 0^1&>元素又包括以下子元素: If the IP address management server successfully executes the 1^0> command, the response message including the <resData> element is returned to the IP address management client. The <resData> element includes the <IP: 0^1&> element for identifying the IP namespace, and the <IP: 0^1&> element includes the following child elements:
<1? :1^1116>子元素, 该子元素为必选项, 包含被查询的 IP地址对象的 名称; <1? :1^1116> child element, this child element is mandatory and contains the name of the IP address object being queried;
<^ :1^(1>子元素,该子元素为必选项, 包含了创建 IP地址对象时分配 的用于存储的标识;  <^ : 1^(1> child element, this child element is mandatory, and contains the identifier for storage when the IP address object is created;
一个或多个 <^ ^&^!8>子元素, 该子元素为可选项, 用于描述当前对 象的状态;  One or more <^ ^&^!8> child elements, which are optional and are used to describe the state of the current object;
<^^^1111^0>子元素, 该子元素为可选项, 包含被查询对象关联的授 权信息; <^^^1111^0> child element, the child element is optional, and contains the authorization information associated with the object to be queried;
Figure imgf000012_0001
, 该子元素为必选项, 包含了上一级 IP地址对象 的名称;
Figure imgf000012_0001
, the child element is mandatory, including the name of the upper-level IP address object;
<1?^ 1 >子元素, 该子元素为必选项, 包含了 IP地址的前缀;  <1?^ 1 > child element, which is mandatory and contains the prefix of the IP address;
<IP:prefix— ^1 >子元素, 该子元素为必选项, 包含了 IP地址的前缀的 长度;  <IP:prefix— ^1 > child element, which is mandatory and contains the length of the prefix of the IP address;
<IP:clID>子元素,该子元素为必选项,包含发起的客户端的标识( ID ); <1?:(^10>子元素, 该子元素为可选项, 包含创建该 IP地址对象的客 户端的 ID;  <IP:clID> child element, which is mandatory and contains the identity (ID) of the originating client; <1?:(^10> child element, which is optional, including the object that created the IP address Client ID;
<1?:(^0&16>子元素, 该子元素为可选项, 包含创建该 IP地址对象的 时间; <1? 0&16>子元素, 该子元素为可选项, 包含该 IP地址对象的注册 有效期; <1?:(^0&16> child element, this child element is optional, including the time when the IP address object was created; <1? 0&16> child element, the child element is optional, and includes the registration validity period of the IP address object;
<^:11 10>子元素, 该子元素为可选项, 包含最近一次更新该 IP地址 对象的客户端的 ID;  <^:11 10> child element, which is optional and contains the ID of the client that last updated the IP address object;
<^:11 0&16>子元素, 该子元素为可选项, 包含最近一次更新该 IP地 址对象的时间;  <^:11 0&16> child element, which is optional and contains the time when the IP address object was last updated;
<1?: 0&16>子元素, 该子元素为可选项, 包含最近一次转让该 IP地址 对象请求成功完成的时间;  <1?: 0&16> child element, which is optional and contains the time when the last time the IP address object request was successfully completed;
<^:&1111111^0>子元素, 该子元素为可选项, 包含该 IP地址对象相关的 认证信息;  <^:&1111111^0> child element, the child element is optional, and contains the authentication information related to the IP address object;
若服务器支持,还有一个可选的<^: §18 &1^>子元素和一个或多个可 选的<0^0 &(^>子元素, 包含与 IP地址对象相关联(注册、 使用、 技术 负责、 财务负责) 的人或组织的标识。  If the server supports it, there is an optional <^: §18 &1^> child element and one or more optional <0^0 &(^> child elements, which are associated with the IP address object (registered, used , technically responsible, financially responsible) the identity of the person or organization.
若因任何原因导致 IP地址管理服务器执行 <info>命令失败, IP地址管 理服务器向 IP地址管理客户端返回错误响应。  If the IP address management server fails to execute the <info> command for any reason, the IP address management server returns an error response to the IP address management client.
上述服务器返回响应消息的说明仅用作示例, 并非用于对本发明的限 定, 服务器端可根据不同的策略返回不同的信息。  The description of the above server return response message is only used as an example, and is not intended to limit the present invention, and the server side may return different information according to different policies.
三、 转让状态查询命令(<transfer>命令) , 用于查询 IP地址对象的 转让状态。 <¾&1 8 61">命令中除标准的 EPP命令元素, 还包含值为 "查询 ( query ) " 的 "op" 属性, 以及用于标识 IP名字空间的<^: transfer >元 素。 其中, <IP: transfer >元素包含以下子元素:  3. The transfer status query command (<transfer> command) is used to query the transfer status of the IP address object. <3⁄4&1 8 61">In addition to the standard EPP command element, the command also contains the "op" attribute with the value "query" and the <^: transfer > element that identifies the IP namespace. The : transfer > element contains the following child elements:
<^:1^11½>子元素, 该子元素为必选项, 包含了要查询的 IP地址对象 的名称;  <^:1^111⁄2> child element, which is mandatory and contains the name of the IP address object to be queried;
<^^1111111^0>子元素, 该子元素为可选项, 包含发起查询的客户端的 授权信息。  <^^1111111^0> child element, this child element is optional and contains the authorization information of the client that initiated the query.
IP地址管理客户端中预设的 < transfer >命令模板例如包括标准的 EPP 命令元素, 以及需由用户设备添加相应数据的<^:1^11½>子元素和可选填 的<^^1111111^0>子元素。 用户通过输入<1?:1^11½>子元素 (或者还输入 <IP:authInfo>子元素) , 或即可由 IP地址管理客户端自动生成规范的 < transfer >命令, 发送至 IP地址管理服务器。 若 IP地址管理服务器成功执行< transfer>命令,则向 IP地址管理客户 端返回包括 <resData>元素的响应消息。 其中, <resData>元素包括用于标 识 IP名字空间的<0^11 0&1&>元素, 而<^: trnData>元素又包括以下子元 素: The <transfer> command template preset in the IP address management client includes, for example, a standard EPP command element, and a <^:1^111⁄2> sub-element and an optional <^^1111111^ to be added by the user device. 0> child element. The user can be sent to the IP address management server by inputting the <1?:1^111⁄2> sub-element (or also inputting the <IP:authInfo> sub-element), or by the IP address management client to automatically generate the canonical <transfer> command. If the IP address management server successfully executes the <transfer> command, the response message including the <resData> element is returned to the IP address management client. The <resData> element includes the <0^11 0&1&> element for identifying the IP namespace, and the <^: trnData> element includes the following child elements:
<^:1^1116>子元素, 该子元素为必选项, 包含被查询的 IP地址对象的 名称;  <^:1^1116> child element, which is mandatory and contains the name of the IP address object being queried;
<1? 81&^18>子元素, 该子元素为必选项, 包含被查询的 IP地址对象 的最近转让请求的状态;  <1? 81&^18> child element, which is mandatory and contains the status of the most recent transfer request of the queried IP address object;
<IP:reID>子元素,该子元素为必选项,包含发起查询请求的客户端 ID; <^ : 0&16>子元素,该子元素为必选项, 包含了发起查询请求的时间; <IP:reID> child element, this child element is mandatory, including the client ID that initiates the query request; <^ : 0&16> child element, which is mandatory and contains the time when the query request is initiated;
<^^ 10>子元素, 该子元素为必选项, 包含了应对此转让请求做出响 应的客户端 ID; <^^ 10> child element, which is mandatory and contains the client ID that should respond to this transfer request;
<^^00&16>子元素, 该子元素为必选项, 包含了对尚未处理的转让请 求的期望完成时间或已经完成的转让请求的完成时间;  <^^00&16> child element, which is mandatory and contains the expected completion time of the unprocessed transfer request or the completion time of the completed transfer request;
<0^ 0&16>子元素, 该子元素为可选项, 包含由于转让引起可能的有 效期变化。  <0^ 0&16> child element, which is optional and contains possible valid period changes due to the transfer.
若因任何原因导致 IP地址管理服务器执行 <tranfer>命令失败, IP地 址管理服务器向 IP地址管理客户端返回错误响应。  If the IP address management server fails to execute the <tranfer> command for any reason, the IP address management server returns an error response to the IP address management client.
四、 创建命令(<create>命令) , 用于创建新的 IP地址对象。 < create >命令中除标准的 EPP命令元素, 还包括用于标识 IP名字空间的  Fourth, create a command (<create> command), used to create a new IP address object. The <create> command includes the standard EPP command element, which also identifies the IP namespace.
<IP: create>it素, 其中, <IP: create>it素还包括以下子元素: <IP: create>it, where <IP: create>it also includes the following child elements:
<^:1^11½>子元素, 该子元素为必选项, 包含了要创建的 IP地址对象 的名称; 其中, 该名称为客户端请求创建的名称, 未必与服务器实际分配 的 IP对象的名称相同;  <^:1^111⁄2> child element, which is mandatory and contains the name of the IP address object to be created; where the name is the name created by the client request, not necessarily the name of the IP object actually allocated by the server the same;
<^^6 0(1>子元素,该子元素为可选项, 包含了客户端申请的有效期。 如果客户端没有说明, 即将该子元素置空, 则服务器可定义一个默认的有 效期;  <^^6 0 (1> child element, this child element is optional, including the validity period of the client application. If the client does not specify, the child element is set to null, the server can define a default validity period;
〈:^:^!^子元素, 该子元素为必选项, 包含了客户端申请的地址长度; <IP: &^1111^0>子元素, 该子元素为必选项, 包含申请创建 IP地址对象 的客户端的授权信息; 如果服务器支持,还可有一个可选的<^: §18 &1^>子元素和一个或多 个可选的<0^01^&(^>子元素, 包含与 IP地址对象相关联 (注册、 使用、 技术负责、 财务负责) 的人或组织的标识。 <:^:^! ^ child element, the child element is mandatory, including the address length of the client application; <IP: &^1111^0> child element, this child element is mandatory, and contains the authorization information of the client requesting to create an IP address object. ; If the server supports it, there is also an optional <^: §18 &1^> child element and one or more optional <0^01^&(^> child elements, which are associated with the IP address object (registered , use, technical responsibility, financial responsibility) of the person or organization's logo.
若 IP地址管理服务器成功执行<(^&16>命令,则向 IP地址管理客户端 返回包括 <resData>元素的响应消息。 其中, <resData>元素包括用于标识 IP名字空间的 <IP: 0&1&>元素, 而 <IP: (^0&1&>元素又包括以下子元素: <^ :1^11½>子元素, 该子元素为必选项, 包含分配的 IP地址对象的名 称; If the IP address management server successfully executes the <(^&1 6 > command, the response message including the <resData> element is returned to the IP address management client. The <resData> element includes <IP: 0&1& for identifying the IP namespace. > element, and <IP: (^0&1&> element includes the following child elements: <^ :1^111⁄2> child element, which is mandatory and contains the name of the assigned IP address object;
<1?^ 1 >子元素, 该子元素为必选项, 包含分配的 IP地址对象的地 址前缀;  <1?^ 1 > child element, which is mandatory and contains the address prefix of the assigned IP address object;
<IP: prefix— ^1 >子元素, 该子元素为必选项, 包含分配的 IP地址对象 的地址前缀长度; <IP: prefix— ^1 > child element, which is mandatory and contains the address prefix length of the assigned IP address object;
Figure imgf000015_0001
, 该子元素为必选项, 包含了分配的 IP地址对象 上一级的名称;
Figure imgf000015_0001
, the child element is mandatory, and contains the name of the upper level of the assigned IP address object;
<^:(^0&16>子元素, 该子元素为必选项, 包含了创建该 IP地址对象 的时间;  <^: (^0&16> child element, this child element is mandatory, including the time when the IP address object was created;
<1? 0&16>子元素, 该子元素为必选项, 包含了分配该 IP地址对象 给客户端的实际有效期。  <1? 0&16> child element, which is mandatory and contains the actual validity period of the IP address object assigned to the client.
若因任何原因导致 IP地址管理服务器执行<(^&16>命令失败, IP地址 管理服务器向 IP地址管理客户端返回错误响应。  If the IP address management server performs the <(^&16> command failure for any reason, the IP address management server returns an error response to the IP address management client.
五、删除命令( <delete>命令 ) ,用于删除已有的 IP地址对象。 <delete> 命令中除标准的 EPP命令元素,还包括用于标识 IP名字空间的<^:(16^16> 元素, 其中, <IP:delete>元素还包括以下子元素:  5. The delete command ( <delete> command) is used to delete an existing IP address object. In addition to the standard EPP command elements, the <delete> command also includes a <^:(16^16> element for identifying the IP namespace, where the <IP:delete> element also includes the following child elements:
<^ :1^11½>子元素, 该子元素为必选项, 包含了要删除的 IP地址对象 的名称。  <^ :1^111⁄2> child element, which is mandatory and contains the name of the IP address object to be deleted.
若 IP地址管理服务器成功执行 <delete>命令,则向 IP地址管理客户端 返回不包括 <resData>it" :的响应消息。  If the IP address management server successfully executes the <delete> command, it returns a response message not including <resData>it" : to the IP address management client.
若因任何原因导致 IP地址管理服务器执行 <delete>命令失败, IP地址 管理服务器向 IP地址管理客户端返回错误响应。  If the IP address management server fails to execute the <delete> command for any reason, the IP address management server returns an error response to the IP address management client.
六、 有效期延长命令(<renew>命令) , 用于延长 IP地址对象的有效 期, 即客户对 IP地址对象的租约时间。 <renew>命令中除标准的 EPP命令 元素, 还包括用于标识 IP名字空间的<^: 1½\¥>元素, 其中, <IP:renew> 元素还包括以下子元素: 6. Validity extension command (<renew> command), used to extend the validity of the IP address object Period, that is, the customer's lease time for the IP address object. In addition to the standard EPP command element, the <renew> command also includes a <^: 11⁄2\¥> element for identifying the IP namespace, where the <IP:renew> element also includes the following child elements:
<^ :1^11½>子元素, 该子元素为必选项, 包含了要续租的 IP地址对象 的名称;  <^ : 1^111⁄2> child element, this child element is mandatory and contains the name of the IP address object to be renewed;
<1? : 01 0&16>子元素, 该子元素为必选项, 包含了要续租的 IP地 址对象现在到期的时间;  <1? : 01 0&16> child element, which is mandatory and contains the time when the IP address object to be renewed is now expired;
<^^6 0(1>子元素, 该子元素为必选项, 包含了要续租的时间单元的 数量, 即续租时长。  <^^6 0 (1> child element, this child element is mandatory and contains the number of time units to be renewed, that is, the length of the renewal.
若 IP地址管理服务器成功执行<¾1^\¥>命令, 则向 IP地址管理客户 端返回包括 <resData>元素的响应消息。 其中, <resData>元素包括用于标 识 IP名字空间的<^: 1 0&1&>元素, 而<^: 1 0&1&>元素又包括以下子元 素:  If the IP address management server successfully executes the <3⁄41^\¥> command, it returns a response message including the <resData> element to the IP address management client. The <resData> element includes the <^: 1 0&1&> element for identifying the IP namespace, and the <^: 1 0&1&> element includes the following sub-elements:
<IP:name>子元素, 该子元素为必选项, 包含了续租的 IP地址对象的 名称;  <IP:name> child element, which is mandatory and contains the name of the IP address object to be renewed;
<^^ 0&1&>子元素, 该子元素为必选项, 包含了续租后的到期时间。 若因任何原因导致 IP地址管理服务器执行<^1½\¥>命令失败, IP地址 管理服务器向 IP地址管理客户端返回错误响应。  <^^ 0&1&> child element, this child element is mandatory and contains the expiration time after renewal. If the IP address management server fails to execute the <^11⁄2\¥> command for any reason, the IP address management server returns an error response to the IP address management client.
七、 转让命令( <transfer>命令) , 用于转让 IP地址对象, 即转让客 户对 IP地址对象的归属权。 <(16^16>命令中除标准的 EPP命令元素, 还包 含值为 "请求 (request ) " 的 "op" 属性, 以及用于标识 IP名字空间的 <IP: transfer >元素。 其中, <IP: transfer >元素包含以下子元素:  7. The transfer order (<transfer> command), used to transfer the IP address object, that is, the transfer customer's ownership of the IP address object. < (16^16> In addition to the standard EPP command element, the command also contains the "op" attribute with the value "request" and the <IP: transfer> element used to identify the IP namespace. Among them, <IP The : transfer > element contains the following child elements:
<^ :1^11½>子元素, 该子元素为必选项, 包含了要转让的 IP地址对象 的名称;  <^ : 1^111⁄2> child element, this child element is mandatory and contains the name of the IP address object to be transferred;
<^^6 0(1>子元素, 该子元素为可选项, 包含了改变 IP地址对象的从 属关系时, 所要延长的有效期的时间单元的数量;  <^^6 0 (1> child element, this child element is optional, and contains the number of time units of the validity period to be extended when changing the affiliation of the IP address object;
<IP: &^1111^0>子元素, 该子元素为可选项, 包含了要转让 IP地址对象 的客户端的授权信息。  <IP: &^1111^0> child element, which is optional and contains the authorization information of the client to which the IP address object is to be transferred.
若 IP地址管理服务器成功执行< transfer>命令,则向 IP地址管理客户 端返回包括 <resData>元素的响应消息。 其中, <resData>元素包括用于标 识 IP名字空间的<0^11 0&1&>元素, 该 <IP: trnData>元素的格式与 If the IP address management server successfully executes the <transfer> command, the response message including the <resData> element is returned to the IP address management client. Where the <resData> element is included for the target Know the <0^11 0&1&> element of the IP namespace, the format of the <IP: trnData> element
<transfer>命令用作转让状态查询命令时的响应格式相同。 The <transfer> command has the same response format when used as a transfer status query command.
若因任何原因导致 IP地址管理服务器执行 <tranfer>命令失败, IP地 址管理服务器向 IP地址管理客户端返回错误响应。  If the IP address management server fails to execute the <tranfer> command for any reason, the IP address management server returns an error response to the IP address management client.
八、 更新命令( <update>命令) , 用于更新 IP地址对象的属性信息, 即修改已有 IP地址对象的相关属性值。 <update>命令中除标准的 EPP命 令元素,还包括用于标识 IP名字空间的<^: (1&16>元素,其中, <IP:update> 元素还包括以下子元素:  Eight, update command (<update> command), used to update the attribute information of the IP address object, that is, modify the relevant attribute value of the existing IP address object. In addition to the standard EPP command element, the <update> command also includes a <^: (1&16> element for identifying the IP namespace, where the <IP:update> element also includes the following child elements:
<^:1^11½>子元素, 该子元素为必选项, 包含了要更新的 IP地址对象 的名称;  <^:1^111⁄2> child element, which is mandatory and contains the name of the IP address object to be updated;
<^^(1(1>子元素, 包含了要为 IP地址对象新增的属性域;  <^^(1(1> child element, which contains the attribute field to be added for the IP address object;
〈:^:^!!^子元素, 包含了要为 IP地址对象删除的属性域;  <:^:^! ! ^ child element, which contains the attribute field to be deleted for the IP address object;
<^:(;1^>子元素, 包含了要为 IP地址对象修改的属性域;  <^:(;1^> child element, which contains the attribute field to be modified for the IP address object;
<^^1111111^0>子元素, 该子元素为可选项, 包含更新 IP地址对象的客 户端的授权信息;  <^^1111111^0> child element, the child element is optional, and includes authorization information of the client that updates the IP address object;
其中, 至少包括上i<IP:add>子元素、 <IP:rem>子元素和<1?:。1^>子 元素中的一个。  Among them, at least the upper i<IP:add> child element, the <IP:rem> child element, and <1?:. 1^> One of the child elements.
<IP:add>子元素 <IP:rem>子元素又进一步包括:  <IP:add> child element The <IP:rem> child element further includes:
一个或多个 <IP:contact> , 包含了要增加或删除的联系人; 和  One or more <IP:contact> containing the contacts to be added or deleted; and
—个或多个<^^&^18> , 包含了要增加或删除的对象状态值。 One or more <^^&^ 1 8> , containing the object state values to be added or deleted.
<IP: (;1^>子元素又进一步包括:  <IP: (;1^> child elements further include:
<IP: registrant , 包含了要修改的注册人; 和  <IP: registrant , which contains the registrant to be modified; and
一个或多个 <IP:authInfo> , 包含了要修改的授权信息。  One or more <IP:authInfo> containing the authorization information to be modified.
若 IP地址管理服务器成功执行< (1&16>命令, 则向 IP地址管理客户 端返回不包括< 80&1&>元素的响应消息。  If the IP address management server successfully executes the < (1&16> command, it returns a response message not including the <80&1&> element to the IP address management client.
若因任何原因导致 IP地址管理服务器执行<11 (1&16>命令失败,ΙΡ地址 管理服务器向 IP地址管理客户端返回错误响应。 If the IP address management server performs <1 1 (1&16> command fails for any reason, the address management server returns an error response to the IP address management client.
进一步地, 在上述实施例的 IP地址管理方法中, 更改命令通常是实 时处理和完成的。 但如果在更改完成之前需要人为或第三方的审核, 则服 务器的管理者可以在收到和处理更改命令后推迟完成更改请求。 这种情况 下, 服务器可返回响应码为 1001的消息给客户端说明更改请求已收到并 正在被处理。 一旦处理完成, 服务器会通知涉及更改命令的客户端更改命 令已经完成并且相关对象的状态已经改变。 Further, in the IP address management method of the above embodiment, the change command is usually processed and completed in real time. However, if an artificial or third-party audit is required before the change is completed, the server administrator can postpone the change request after receiving and processing the change command. This situation Next, the server can return a message with a response code of 1001 to the client stating that the change request has been received and is being processed. Once processing is complete, the server notifies the client that the change command is complete and the state of the related object has changed.
实施例三  Embodiment 3
本实施例的 IP地址管理方法由图 1中的 IP地址管理服务器来执行, 下面结合图 1所示系统对本实施例的 IP地址管理方法进行详细说明。  The IP address management method in this embodiment is executed by the IP address management server in FIG. 1. The IP address management method in this embodiment will be described in detail below with reference to the system shown in FIG.
图 3为本发明另一实施例的 IP地址管理方法的流程示意图。 如图 3 所示, 该 IP地址管理方法包括以下步骤:  FIG. 3 is a schematic flowchart diagram of an IP address management method according to another embodiment of the present invention. As shown in FIG. 3, the IP address management method includes the following steps:
步骤 S301 , IP地址管理服务器接收 IP地址管理客户端发送的 IP地址 查询命令或 IP地址更改命令,其中所述 IP地址查询命令或 IP地址更改命 令由所述 IP地址管理客户端根据预设命令模板生成;  Step S301: The IP address management server receives an IP address query command or an IP address change command sent by the IP address management client, where the IP address query command or the IP address change command is used by the IP address management client according to the preset command template. Generate
步骤 S302,所述 IP地址管理服务器根据所述 IP地址查询命令执行 IP 地址对象的查询, 并向所述 IP地址管理客户端返回查询响应消息; 或者 根据所述 IP地址更改命令执行 IP地址对象的更改,并向所述 IP地址管理 客户端返回更改响应消息。  Step S302, the IP address management server performs an inquiry of an IP address object according to the IP address query command, and returns a query response message to the IP address management client; or executes an IP address object according to the IP address change command. Change and return a change response message to the IP address management client.
本实施例的 IP地址管理方法的具体流程与上述实施例中 IP地址管理 月良务器的操作流程相同, 故此处不再赘述。  The specific procedure of the IP address management method in this embodiment is the same as the operation procedure of the IP address management server in the foregoing embodiment, and therefore is not described here.
根据本实施例的 IP地址管理方法, 由于 IP地址管理客户端根据预设 命令模板生成 IP地址查询命令或 IP地址更改命令,并发送至 IP地址管理 服务器,以使所述 IP地址管理服务器根据所述 IP地址查询命令执行 IP地 址对象的查询, 或者根据所述 IP地址更改命令执行 IP地址对象的更改, 实现了 IP地址的自动管理, 避免了因依赖于人工邮件操作导致的效率低 下、 准确性和可靠性低等问题。 而且, 由于 IP地址管理客户端根据预设 命令模板生成 IP地址查询命令或 IP地址更改命令,实现了 IP地址管理服 务器侧对规范、 完整的 IP地址相关信息的管理。 因此, 实现了可靠、 有 效的自动化 IP地址管理方案。 进一步地, 在上述实施例的 IP地址管理方法中, 所述 IP地址查询命 令包括可用性查询命令、 属性信息查询命令或转让状态查询命令;  According to the IP address management method of the embodiment, the IP address management client generates an IP address query command or an IP address change command according to the preset command template, and sends the command to the IP address management server, so that the IP address management server The IP address query command performs an inquiry of an IP address object, or performs an IP address object change according to the IP address change command, and implements automatic management of an IP address, thereby avoiding inefficiency and accuracy caused by relying on manual mail operations. And low reliability issues. Moreover, since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side manages the specification and the complete IP address related information. Therefore, a reliable and effective automated IP address management scheme is implemented. Further, in the IP address management method of the foregoing embodiment, the IP address query command includes an availability query command, an attribute information query command, or a transfer status query command;
相应地,所述 IP地址管理服务器根据所述 IP地址查询命令执行 IP地 址查询, 并向所述 IP地址管理客户端返回查询响应消息包括: 所述 IP地址管理服务器根据所述可用性查询命令携带的待查询 IP地 址对象的名称, 查询所述待查询 IP地址对象是否可用, 并向所述 IP地址 管理客户端返回所述待查询 IP地址对象是否可用的查询结果; Correspondingly, the IP address management server performs an IP address query according to the IP address query command, and returns a query response message to the IP address management client, including: The IP address management server queries whether the IP address object to be queried is available according to the name of the IP address to be queried, and returns the IP address object to be queried to the IP address management client. Whether the query result is available;
所述 IP地址管理服务器根据所述属性信息查询命令携带的待查询 IP 地址对象的名称, 查询所述待查询 IP地址对象的属性信息, 并向所述 IP 地址管理客户端返回所述待查询 IP地址对象的属性信息; 或者  The IP address management server queries the name of the IP address object to be queried according to the attribute information query command, queries the attribute information of the IP address object to be queried, and returns the IP to be queried to the IP address management client. Attribute information of the address object; or
所述 IP地址管理服务器根据所述转让状态查询命令携带的待查询 IP 地址对象的名称, 查询所述待查询 IP地址对象的转让状态, 并向所述 IP 地址管理客户端返回所述待查询 IP地址对象的转让状态;  The IP address management server queries the transfer status of the IP address object to be queried according to the name of the IP address object to be queried carried in the transfer status query command, and returns the IP to be queried to the IP address management client. The transfer status of the address object;
所述 IP地址更改命令包括创建命令、 删除命令、 有效期延长命令、 转让命令或更新命令;  The IP address change command includes a create command, a delete command, a validity extension command, a transfer command, or an update command;
相应地, 根据所述 IP地址更改命令执行 IP地址对象的更改, 并向所 述 IP地址管理客户端返回更改响应信息具体包括:  Correspondingly, performing the change of the IP address object according to the IP address change command, and returning the change response information to the IP address management client, specifically includes:
所述 IP地址管理服务器根据所述创建命令携带的待创建 IP地址对象 的有效期和所述待创建 IP地址对象的地址长度, 创建 IP地址对象, 并向 所述 I P地址管理客户端返回所创建的 I P地址对象的属性信息;  The IP address management server creates an IP address object according to the validity period of the IP address object to be created and the address length of the IP address object to be created carried in the creation command, and returns the created IP address to the IP address management client. Attribute information of an IP address object;
所述 IP地址管理服务器根据所述删除命令携带的待删除 IP地址对象 的名称, 从已有 IP地址对象中将所述待删除 IP地址对象删除, 并向所述 IP地址管理客户端返回删除响应消息;  The IP address management server deletes the to-be-deleted IP address object from the existing IP address object according to the name of the IP address object to be deleted carried in the deletion command, and returns a deletion response to the IP address management client. Message
所述 IP地址管理服务器根据所述有效期延长命令携带的待续约 IP地 址对象的名称、 所述待续约 IP地址对象的当前到期时间以及待续约时长, 更改所述待续约 IP地址对象的有效期, 并向所述 IP地址管理客户端返回 更改后的有效期;  The IP address management server changes the to-be-renewed IP address according to the name of the to-be-renewed IP address object carried in the validity period extension command, the current expiration time of the object to be renewed, and the duration to be renewed. The validity period of the object, and returning the changed validity period to the IP address management client;
所述 IP地址管理服务器根据所述转让命令携带的待转让 IP地址对象 的名称, 转让所述待转让 IP地址对象的归属权, 并向所述 IP地址管理客 户端返回转让响应消息; 或者  And the IP address management server transfers the ownership right of the to-be-transferred IP address object according to the name of the IP address object to be transferred carried by the transfer command, and returns a transfer response message to the IP address management client; or
所述 IP地址管理服务器根据所述更新命令携带的待更新 IP地址对象 的名称, 和所述待更新 IP地址对象的待更新属性值, 对所述待更新 IP地 址对象的属性信息进行更新, 并向所述 IP地址管理客户端返回更新响应 消息。 实施例四 The IP address management server updates the attribute information of the IP address object to be updated according to the name of the IP address object to be updated carried by the update command and the attribute value of the to-be-updated IP address object to be updated, and Returning an update response message to the IP address management client. Embodiment 4
图 4为本发明一个实施例的 IP地址管理客户端的结构示意图。如图 4 所示, 该 IP地址管理客户端包括:  FIG. 4 is a schematic structural diagram of an IP address management client according to an embodiment of the present invention. As shown in Figure 4, the IP address management client includes:
命令生成模块 41 , 用于根据预设命令模板生成 IP地址查询命令或 IP 地址更改命令;  The command generating module 41 is configured to generate an IP address query command or an IP address change command according to the preset command template.
命令发送模块 42, 用于将所述 IP地址查询命令或 IP地址更改命令发 送至 IP地址管理服务器,以使所述 IP地址管理服务器根据所述 IP地址查 询命令执行 IP地址对象的查询,或者根据所述 IP地址更改命令执行 IP地 址对象的更改。  The command sending module 42 is configured to send the IP address query command or an IP address change command to the IP address management server, so that the IP address management server performs an inquiry of the IP address object according to the IP address query command, or according to The IP address change command performs a change of the IP address object.
本实施例的 IP地址管理客户端执行 IP地址管理的流程与实施例一或 二的 IP地址管理方法相同, 故此处不再赘述。  The IP address management process of the IP address management client in this embodiment is the same as the IP address management method in the first or second embodiment, and is not described here.
根据本实施例的 IP地址管理客户端, 由于根据预设命令模板生成 IP 地址查询命令或 IP地址更改命令, 并发送至 IP地址管理服务器, 以使所 述 IP地址管理服务器根据所述 IP地址查询命令执行 IP地址对象的查询 , 或者根据所述 IP地址更改命令执行 IP地址对象的更改,实现了 IP地址的 自动管理, 避免了因依赖于人工邮件操作导致的效率低下、 准确性和可靠 性低等问题。 而且, 由于 IP地址管理客户端根据预设命令模板生成 IP地 址查询命令或 IP地址更改命令, 实现了 IP地址管理服务器侧对规范、 完 整的 IP地址相关信息的管理。 因此, 实现了可靠、 有效的自动化 IP地址 管理方案。  According to the IP address management client of the embodiment, the IP address query command or the IP address change command is generated according to the preset command template, and sent to the IP address management server, so that the IP address management server queries according to the IP address. The command performs the query of the IP address object, or performs the IP address object change according to the IP address change command, realizes the automatic management of the IP address, and avoids the inefficiency, accuracy, and reliability caused by relying on the manual mail operation. And other issues. Moreover, since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side manages the specification and the complete IP address related information. Therefore, a reliable and efficient automated IP address management scheme is implemented.
进一步地, 所述 IP地址查询命令包括: 可用性查询命令, 用于查询 IP地址对象是否可用; 属性信息查询命令, 用于查询 IP地址对象的属性 信息; 或转让状态查询命令, 用于查询 IP地址对象的转让状态;  Further, the IP address query command includes: an availability query command for querying whether an IP address object is available; an attribute information query command for querying attribute information of an IP address object; or a transfer status query command for querying an IP address The transfer status of the object;
所述 IP地址更改命令包括: 创建命令, 用于创建新的 IP地址对象; 删除命令, 用于删除已有的 IP地址对象; 有效期延长命令, 用于延长 IP 地址对象的有效期; 转让命令, 用于转让 IP地址对象; 或更新命令, 用 于更新 IP地址对象的属性信息。  The IP address change command includes: a create command for creating a new IP address object; a delete command for deleting an existing IP address object; a validity period extension command for extending an expiration date of the IP address object; The transfer IP address object; or an update command for updating the attribute information of the IP address object.
实施例五  Embodiment 5
图 5为本发明一个实施例的 IP地址管理服务器的结构示意图。如图 5 所示, 该 IP地址管理服务器包括: 命令接收模块 51 , 用于接收 IP地址管理客户端发送的 IP地址查询命 令或 IP地址更改命令,其中所述 IP地址查询命令或 IP地址更改命令由所 述 IP地址管理客户端根据预设命令模板生成; FIG. 5 is a schematic structural diagram of an IP address management server according to an embodiment of the present invention. As shown in Figure 5, the IP address management server includes: The command receiving module 51 is configured to receive an IP address query command or an IP address change command sent by the IP address management client, where the IP address query command or the IP address change command is used by the IP address management client according to the preset command template. generate;
命令执行模块 52, 用于根据所述 IP地址查询命令执行 IP地址对象的 查询, 并向所述 IP地址管理客户端返回查询响应消息; 或者根据所述 IP 地址更改命令执行 IP地址对象的更改, 并向所述 IP地址管理客户端返回 更改响应消息。  The command execution module 52 is configured to perform an inquiry of an IP address object according to the IP address query command, and return a query response message to the IP address management client; or perform an IP address object change according to the IP address change command, And returning a change response message to the IP address management client.
本实施例的 IP地址管理服务器执行 IP地址管理的流程与实施例三的 IP地址管理方法相同, 故此处不再赘述。  The IP address management process of the IP address management server in this embodiment is the same as the IP address management method in the third embodiment, and therefore is not described here.
根据本实施例的 IP地址管理服务器, 由于接收 IP地址管理客户端根 据预设命令模板生成的 IP地址查询命令或 IP地址更改命令,执行 IP地址 对象的查询, 或者根据所述 IP地址更改命令执行 IP地址对象的更改, 实 现了 IP地址的自动管理, 避免了因依赖于人工邮件操作导致的效率低下、 准确性和可靠性低等问题。 而且, 由于 IP地址管理客户端根据预设命令 模板生成 IP地址查询命令或 IP地址更改命令,实现了 IP地址管理服务器 侧对规范、 完整的 IP地址相关信息的管理。 因此, 实现了可靠、 有效的 自动化 IP地址管理方案。  According to the IP address management server of the embodiment, the IP address query command or the IP address change command generated by the receiving IP address management client according to the preset command template is executed, the query of the IP address object is performed, or the command is executed according to the IP address change command. The change of the IP address object realizes the automatic management of the IP address, avoiding the problems of inefficiency, accuracy and low reliability caused by relying on the manual mail operation. Moreover, since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side manages the specification and the complete IP address related information. Therefore, a reliable and efficient automated IP address management scheme is implemented.
进一步地, 所述 IP地址查询命令包括可用性查询命令、 属性信息查 询命令或转让状态查询命令; 所述 IP地址更改命令包括创建命令、 删除 命令、 有效期延长命令、 转让命令或更新命令; 相应地, 所述命令执行模 块具体包括以下执行单元中的任意一个或多个:  Further, the IP address query command includes an availability query command, an attribute information query command, or a transfer status query command; the IP address change command includes a create command, a delete command, a validity extension command, a transfer command, or an update command; The command execution module specifically includes any one or more of the following execution units:
第一执行单元, 用于根据所述可用性查询命令携带的待查询 IP地址 对象的名称, 查询所述待查询 IP地址对象是否可用, 并向所述 IP地址管 理客户端返回所述待查询 IP地址对象是否可用的查询结果;  a first execution unit, configured to query, according to the name of the IP address object to be queried carried in the availability query command, whether the IP address object to be queried is available, and return the IP address to be queried to the IP address management client The result of the query that the object is available;
第二执行单元, 用于根据所述属性信息查询命令携带的待查询 IP地 址对象的名称, 查询所述待查询 IP地址对象的属性信息, 并向所述 IP地 址管理客户端返回所述待查询 IP地址对象的属性信息;  a second execution unit, configured to query, according to the name of the IP address object to be queried, the attribute information of the IP address object to be queried, and return the attribute information to the IP address management client Attribute information of an IP address object;
第三执行单元, 用于根据所述转让状态查询命令携带的待查询 IP地 址对象的名称, 查询所述待查询 IP地址对象的转让状态, 并向所述 IP地 址管理客户端返回所述待查询 IP地址对象的转让状态; 第四执行单元, 用于根据所述创建命令携带的待创建 IP地址对象的 有效期和所述待创建 IP地址对象的地址长度, 创建 IP地址对象, 并向所 述 IP地址管理客户端返回所创建的 IP地址对象的属性信息; a third execution unit, configured to query, according to the name of the IP address object to be queried carried in the transfer status query command, the transfer status of the IP address object to be queried, and return the query to the IP address management client The transfer status of the IP address object; a fourth execution unit, configured to create an IP address object according to the validity period of the IP address object to be created and the address length of the IP address object to be created, and return the created to the IP address management client. Attribute information of the IP address object;
第五执行单元, 用于根据所述删除命令携带的待删除 IP地址对象的 名称, 从已有 IP地址对象中将所述待删除 IP地址对象删除, 并向所述 IP 地址管理客户端返回删除响应消息;  a fifth execution unit, configured to delete the to-be-deleted IP address object from the existing IP address object according to the name of the IP address object to be deleted carried in the deletion command, and return the deletion to the IP address management client Response message
第六执行单元, 用于根据所述有效期延长命令携带的待续约 IP地址 对象的名称、 所述待续约 IP地址对象的当前到期时间以及待续约时长, 更改所述待续约 IP地址对象的有效期, 并向所述 IP地址管理客户端返回 更改后的有效期;  a sixth execution unit, configured to change the to-be-renewed IP according to the name of the to-be-renewed IP address object carried in the validity period extension command, the current expiration time of the to-be-renewed IP address object, and the duration to be renewed The validity period of the address object, and returning the changed validity period to the IP address management client;
第七执行单元, 用于根据所述转让命令携带的待转让 IP地址对象的 名称, 转让所述待转让 IP地址对象的归属权, 并向所述 IP地址管理客户 端返回转让响应消息;  a seventh executing unit, configured to transfer, according to the name of the IP address object to be transferred carried by the transfer command, the ownership right of the object to be transferred, and return a transfer response message to the IP address management client;
第八执行单元, 用于根据所述更新命令携带的待更新 IP地址对象的 名称, 和所述待更新 IP地址对象的待更新属性值, 对所述待更新 IP地址 对象的属性信息进行更新, 并向所述 IP地址管理客户端返回更新响应消 息。  An eighth execution unit, configured to update, according to the name of the IP address object to be updated that is carried by the update command, and the attribute value of the to-be-updated IP address object to be updated, to update the attribute information of the IP address object to be updated, And returning an update response message to the IP address management client.
实施例六  Embodiment 6
本实施例提供一种 IP地址管理系统, 包括上述实施例的 IP地址管理 客户端, 以及上述实施例的 IP地址管理服务器, 所述 IP地址管理客户端 与所述 IP地址管理服务器连接。  The embodiment provides an IP address management system, which includes the IP address management client of the foregoing embodiment, and the IP address management server of the foregoing embodiment, where the IP address management client is connected to the IP address management server.
本实施例的 IP地址管理系统执行 IP地址管理的流程与上述任一实施 例的 IP地址管理方法相同, 故此处不再赘述。  The process of performing IP address management in the IP address management system of this embodiment is the same as the IP address management method in any of the foregoing embodiments, and details are not described herein again.
根据本实施例的 IP地址管理系统, 由于 IP地址管理客户端根据预设 命令模板生成的 IP地址查询命令或 IP地址更改命令,并发送至 IP地址管 理服务器, 使得 IP地址管理服务器执行 IP地址对象的查询, 或者根据所 述 IP地址更改命令执行 IP地址对象的更改, 实现了 IP地址的自动管理, 避免了因依赖于人工邮件操作导致的效率低下、 准确性和可靠性低等问 题。 而且, 由于 IP地址管理客户端根据预设命令模板生成 IP地址查询命 令或 IP地址更改命令, 实现了 IP地址管理服务器侧对规范、 完整的 IP地 址相关信息的管理。 因此, 实现了可靠、 有效的自动化 IP地址管理方案。 最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非 对其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的 普通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进 行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或 者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的范 围。 According to the IP address management system of the present embodiment, the IP address management server executes the IP address object according to the IP address query command or the IP address change command generated by the IP address management client according to the preset command template, and sends the IP address management command to the IP address management server. The query, or the change of the IP address object according to the IP address change command, realizes automatic management of the IP address, avoiding problems such as inefficiency, accuracy, and low reliability caused by relying on manual mail operations. Moreover, since the IP address management client generates an IP address query command or an IP address change command according to the preset command template, the IP address management server side implements the specification and the complete IP address. Management of address related information. Therefore, a reliable and efficient automated IP address management scheme is realized. It should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims

权 利 要 求 书 claims
1、 一种互联网协议 IP地址管理方法, 其特征在于, 包括: 1. An Internet Protocol IP address management method, characterized by including:
IP地址管理客户端根据预设命令模板生成 IP地址查询命令或 IP地址 更改命令; The IP address management client generates IP address query commands or IP address change commands based on the preset command template;
所述 IP地址管理客户端将所述 IP地址查询命令或 IP地址更改命令发 送至 IP地址管理服务器,以使所述 IP地址管理服务器根据所述 IP地址查 询命令执行 IP地址对象的查询,或者根据所述 IP地址更改命令执行 IP地 址对象的更改。 The IP address management client sends the IP address query command or IP address change command to the IP address management server, so that the IP address management server performs the query of the IP address object according to the IP address query command, or according to The IP address change command performs changes to the IP address object.
2、 根据权利要求 1所述的 IP地址管理方法, 其特征在于, 所述 IP 地址查询命令包括: 可用性查询命令, 用于查询 IP地址对象是否可用; 属性信息查询命令, 用于查询 IP地址对象的属性信息; 或转让状态查询 命令, 用于查询 IP地址对象的转让状态; 2. The IP address management method according to claim 1, characterized in that the IP address query command includes: an availability query command, used to query whether the IP address object is available; an attribute information query command, used to query the IP address object Attribute information; or transfer status query command, used to query the transfer status of the IP address object;
所述 IP地址更改命令包括: 创建命令, 用于创建新的 IP地址对象; 删除命令, 用于删除已有的 IP地址对象; 有效期延长命令, 用于延长 IP 地址对象的有效期; 转让命令, 用于转让 IP地址对象; 或更新命令, 用 于更新 IP地址对象的属性信息。 The IP address change commands include: a create command, used to create a new IP address object; a delete command, used to delete an existing IP address object; a validity extension command, used to extend the validity period of the IP address object; a transfer command, used Used to transfer IP address objects; or update commands, used to update attribute information of IP address objects.
3、 一种 IP地址管理方法, 其特征在于, 包括: 3. An IP address management method, characterized by including:
IP地址管理服务器接收 IP地址管理客户端发送的 IP地址查询命令或 IP地址更改命令, 其中所述 IP地址查询命令或 IP地址更改命令由所述 IP 地址管理客户端根据预设命令模板生成; The IP address management server receives an IP address query command or an IP address change command sent by the IP address management client, where the IP address query command or IP address change command is generated by the IP address management client according to a preset command template;
所述 IP地址管理服务器根据所述 IP地址查询命令执行 IP地址对象的 查询, 并向所述 IP地址管理客户端返回查询响应消息; 或者根据所述 IP 地址更改命令执行 IP地址对象的更改, 并向所述 IP地址管理客户端返回 更改响应消息。 The IP address management server performs a query of the IP address object according to the IP address query command, and returns a query response message to the IP address management client; or performs a change of the IP address object according to the IP address change command, and Return a change response message to the IP address management client.
4、 根据权利要求 3所述的 IP地址管理方法, 其特征在于, 所述 IP 地址查询命令包括可用性查询命令、 属性信息查询命令或转让状态查询命 令; 4. The IP address management method according to claim 3, wherein the IP address query command includes an availability query command, an attribute information query command or a transfer status query command;
相应地,所述 IP地址管理服务器根据所述 IP地址查询命令执行 IP地 址查询, 并向所述 IP地址管理客户端返回查询响应消息包括: Correspondingly, the IP address management server performs an IP address query according to the IP address query command, and returns a query response message to the IP address management client, including:
所述 IP地址管理服务器根据所述可用性查询命令携带的待查询 IP地 址对象的名称, 查询所述待查询 IP地址对象是否可用, 并向所述 IP地址 管理客户端返回所述待查询 IP地址对象是否可用的查询结果; The IP address management server determines the IP address to be queried based on the availability query command. The name of the address object, query whether the IP address object to be queried is available, and return the query result of whether the IP address object to be queried is available to the IP address management client;
所述 IP地址管理服务器根据所述属性信息查询命令携带的待查询 IP 地址对象的名称, 查询所述待查询 IP地址对象的属性信息, 并向所述 IP 地址管理客户端返回所述待查询 IP地址对象的属性信息; 或者 The IP address management server queries the attribute information of the IP address object to be queried according to the name of the IP address object to be queried carried in the attribute information query command, and returns the IP address to be queried to the IP address management client. Attribute information of the address object; or
所述 IP地址管理服务器根据所述转让状态查询命令携带的待查询 IP 地址对象的名称, 查询所述待查询 IP地址对象的转让状态, 并向所述 IP 地址管理客户端返回所述待查询 IP地址对象的转让状态; The IP address management server queries the transfer status of the IP address object to be queried based on the name of the IP address object to be queried carried in the transfer status query command, and returns the IP address to be queried to the IP address management client. The transfer status of the address object;
所述 IP地址更改命令包括创建命令、 删除命令、 有效期延长命令、 转让命令或更新命令; The IP address change command includes a creation command, a deletion command, a validity extension command, a transfer command or an update command;
相应地, 根据所述 IP地址更改命令执行 IP地址对象的更改, 并向所 述 IP地址管理客户端返回更改响应信息具体包括: Correspondingly, performing changes to the IP address object according to the IP address change command, and returning change response information to the IP address management client specifically includes:
所述 IP地址管理服务器根据所述创建命令携带的待创建 IP地址对象 的有效期和所述待创建 IP地址对象的地址长度, 创建 IP地址对象, 并向 所述 IP地址管理客户端返回所创建的 IP地址对象的属性信息; The IP address management server creates an IP address object based on the validity period of the IP address object to be created and the address length of the IP address object to be created carried in the creation command, and returns the created IP address object to the IP address management client. Attribute information of the IP address object;
所述 IP地址管理服务器根据所述删除命令携带的待删除 IP地址对象 的名称, 从已有 IP地址对象中将所述待删除 IP地址对象删除, 并向所述 IP地址管理客户端返回删除响应消息; The IP address management server deletes the IP address object to be deleted from the existing IP address objects according to the name of the IP address object to be deleted carried in the deletion command, and returns a deletion response to the IP address management client. information;
所述 IP地址管理服务器根据所述有效期延长命令携带的待续约 IP地 址对象的名称、 所述待续约 IP地址对象的当前到期时间以及待续约时长, 更改所述待续约 IP地址对象的有效期, 并向所述 IP地址管理客户端返回 更改后的有效期; The IP address management server changes the IP address to be renewed based on the name of the IP address object to be renewed carried in the validity extension command, the current expiration time of the IP address object to be renewed, and the duration to be renewed. The validity period of the object, and returns the changed validity period to the IP address management client;
所述 IP地址管理服务器根据所述转让命令携带的待转让 IP地址对象 的名称, 转让所述待转让 IP地址对象的归属权, 并向所述 IP地址管理客 户端返回转让响应消息; 或者 The IP address management server transfers the ownership of the IP address object to be transferred based on the name of the IP address object to be transferred carried in the transfer command, and returns a transfer response message to the IP address management client; or
所述 IP地址管理服务器根据所述更新命令携带的待更新 IP地址对象 的名称, 和所述待更新 IP地址对象的待更新属性值, 对所述待更新 IP地 址对象的属性信息进行更新, 并向所述 IP地址管理客户端返回更新响应 消息。 The IP address management server updates the attribute information of the IP address object to be updated based on the name of the IP address object to be updated carried in the update command and the attribute value of the IP address object to be updated, and Return an update response message to the IP address management client.
5、 一种 IP地址管理客户端, 其特征在于, 包括: 命令生成模块, 用于根据预设命令模板生成 IP地址查询命令或 IP地 址更改命令; 5. An IP address management client, characterized by including: The command generation module is used to generate IP address query commands or IP address change commands according to the preset command template;
命令发送模块, 用于将所述 IP地址查询命令或 IP地址更改命令发送 至 IP地址管理服务器,以使所述 IP地址管理服务器根据所述 IP地址查询 命令执行 IP地址对象的查询 ,或者根据所述 IP地址更改命令执行 IP地址 对象的更改。 A command sending module, configured to send the IP address query command or IP address change command to the IP address management server, so that the IP address management server executes the query of the IP address object according to the IP address query command, or according to the The above IP address change command performs changes to the IP address object.
6、 根据权利要求 5所述的 IP地址管理客户端, 其特征在于, 所述 IP 地址查询命令包括: 可用性查询命令, 用于查询 IP地址对象是否可用; 属性信息查询命令, 用于查询 IP地址对象的属性信息; 或转让状态查询 命令, 用于查询 IP地址对象的转让状态; 6. The IP address management client according to claim 5, characterized in that the IP address query command includes: an availability query command, used to query whether the IP address object is available; an attribute information query command, used to query the IP address Attribute information of the object; or transfer status query command, used to query the transfer status of the IP address object;
所述 IP地址更改命令包括: 创建命令, 用于创建新的 IP地址对象; 删除命令, 用于删除已有的 IP地址对象; 有效期延长命令, 用于延长 IP 地址对象的有效期; 转让命令, 用于转让 IP地址对象; 或更新命令, 用 于更新 IP地址对象的属性信息。 The IP address change commands include: a create command, used to create a new IP address object; a delete command, used to delete an existing IP address object; a validity extension command, used to extend the validity period of the IP address object; a transfer command, used Used to transfer IP address objects; or update commands, used to update attribute information of IP address objects.
7、 一种 IP地址管理服务器, 其特征在于, 包括: 7. An IP address management server, characterized by including:
命令接收模块, 用于接收 IP地址管理客户端发送的 IP地址查询命令 或 IP地址更改命令,其中所述 IP地址查询命令或 IP地址更改命令由所述 IP地址管理客户端根据预设命令模板生成; A command receiving module, configured to receive an IP address query command or an IP address change command sent by an IP address management client, wherein the IP address query command or IP address change command is generated by the IP address management client according to a preset command template. ;
命令执行模块, 用于根据所述 IP地址查询命令执行 IP地址对象的查 询, 并向所述 IP地址管理客户端返回查询响应消息; 或者根据所述 IP地 址更改命令执行 IP地址对象的更改, 并向所述 IP地址管理客户端返回更 改响应消息。 a command execution module, configured to perform a query of the IP address object according to the IP address query command, and return a query response message to the IP address management client; or to perform changes to the IP address object according to the IP address change command, and Return a change response message to the IP address management client.
8、 根据权利要求 7所述的 IP地址管理服务器, 其特征在于, 所述 IP 地址查询命令包括可用性查询命令、 属性信息查询命令或转让状态查询命 令; 所述 IP地址更改命令包括创建命令、 删除命令、 有效期延长命令、 转让命令或更新命令; 相应地, 所述命令执行模块具体包括以下执行单元 中的任意一个或多个: 8. The IP address management server according to claim 7, characterized in that, the IP address query command includes an availability query command, an attribute information query command or a transfer status query command; the IP address change command includes a create command, delete command command, validity extension command, transfer command or update command; accordingly, the command execution module specifically includes any one or more of the following execution units:
第一执行单元, 用于根据所述可用性查询命令携带的待查询 IP地址 对象的名称, 查询所述待查询 IP地址对象是否可用, 并向所述 IP地址管 理客户端返回所述待查询 IP地址对象是否可用的查询结果; 第二执行单元, 用于根据所述属性信息查询命令携带的待查询 IP地 址对象的名称, 查询所述待查询 IP地址对象的属性信息, 并向所述 IP地 址管理客户端返回所述待查询 IP地址对象的属性信息; The first execution unit is configured to query whether the IP address object to be queried is available according to the name of the IP address object to be queried carried in the availability query command, and return the IP address to be queried to the IP address management client. Query results of whether the object is available; The second execution unit is configured to query the attribute information of the IP address object to be queried based on the name of the IP address object to be queried carried in the attribute information query command, and return the queried IP address object to the IP address management client. Attribute information of the IP address object;
第三执行单元, 用于根据所述转让状态查询命令携带的待查询 IP地 址对象的名称, 查询所述待查询 IP地址对象的转让状态, 并向所述 IP地 址管理客户端返回所述待查询 I P地址对象的转让状态; The third execution unit is configured to query the transfer status of the IP address object to be queried according to the name of the IP address object to be queried carried in the transfer status query command, and return the to-be-queried IP address object to the IP address management client. The transfer status of the IP address object;
第四执行单元, 用于根据所述创建命令携带的待创建 IP地址对象的 有效期和所述待创建 IP地址对象的地址长度, 创建 IP地址对象, 并向所 述 IP地址管理客户端返回所创建的 IP地址对象的属性信息; The fourth execution unit is configured to create an IP address object according to the validity period of the IP address object to be created and the address length of the IP address object to be created carried in the creation command, and return the created IP address object to the IP address management client. Attribute information of the IP address object;
第五执行单元, 用于根据所述删除命令携带的待删除 IP地址对象的 名称, 从已有 IP地址对象中将所述待删除 IP地址对象删除, 并向所述 IP 地址管理客户端返回删除响应消息; The fifth execution unit is configured to delete the IP address object to be deleted from the existing IP address objects according to the name of the IP address object to be deleted carried in the deletion command, and return the deletion to the IP address management client. response message;
第六执行单元, 用于根据所述有效期延长命令携带的待续约 IP地址 对象的名称、 所述待续约 IP地址对象的当前到期时间以及待续约时长, 更改所述待续约 IP地址对象的有效期, 并向所述 IP地址管理客户端返回 更改后的有效期; The sixth execution unit is configured to change the IP address to be renewed based on the name of the IP address object to be renewed carried in the validity period extension command, the current expiration time of the IP address object to be renewed, and the duration of the contract to be renewed. The validity period of the address object, and returns the changed validity period to the IP address management client;
第七执行单元, 用于根据所述转让命令携带的待转让 IP地址对象的 名称, 转让所述待转让 IP地址对象的归属权, 并向所述 IP地址管理客户 端返回转让响应消息; The seventh execution unit is configured to transfer the ownership of the IP address object to be transferred based on the name of the IP address object to be transferred carried in the transfer command, and return a transfer response message to the IP address management client;
第八执行单元, 用于根据所述更新命令携带的待更新 IP地址对象的 名称, 和所述待更新 IP地址对象的待更新属性值, 对所述待更新 IP地址 对象的属性信息进行更新, 并向所述 IP地址管理客户端返回更新响应消 息。 The eighth execution unit is configured to update the attribute information of the IP address object to be updated based on the name of the IP address object to be updated carried in the update command and the attribute value of the IP address object to be updated. and returns an update response message to the IP address management client.
9、 一种 IP地址管理系统, 其特征在于, 包括权利要求 5或 6所述的 IP地址管理客户端, 以及权利要求 7或 8所述的 IP地址管理服务器, 所 述 IP地址管理客户端与所述 IP地址管理服务器连接。 9. An IP address management system, characterized in that it includes the IP address management client according to claim 5 or 6, and the IP address management server according to claim 7 or 8, the IP address management client and The IP address manages the server connection.
PCT/CN2012/087761 2012-05-14 2012-12-28 Ip address management method, device, and system WO2013170613A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012101487415A CN102685265A (en) 2012-05-14 2012-05-14 IP (Internet Protocol) address managing method, equipment and system
CN201210148741.5 2012-05-14

Publications (1)

Publication Number Publication Date
WO2013170613A1 true WO2013170613A1 (en) 2013-11-21

Family

ID=46816617

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087761 WO2013170613A1 (en) 2012-05-14 2012-12-28 Ip address management method, device, and system

Country Status (2)

Country Link
CN (1) CN102685265A (en)
WO (1) WO2013170613A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937277A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 Address renewing method and device
WO2018103400A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Wireless fidelity wifi connection method and related product

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685265A (en) * 2012-05-14 2012-09-19 中国科学院计算机网络信息中心 IP (Internet Protocol) address managing method, equipment and system
CN104010048B (en) * 2014-03-18 2018-09-11 秦超 Device and method for IP address management
CN104104589B (en) * 2014-06-23 2017-07-21 新浪网技术(中国)有限公司 A kind of E-mail sending method and system
CN104462426B (en) * 2014-12-12 2018-09-18 北京国双科技有限公司 The method and device of the site information of internet information query service
CN108023970A (en) * 2016-11-02 2018-05-11 阿里巴巴集团控股有限公司 Information acquisition method and device, server

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738269A (en) * 2004-08-17 2006-02-22 杭州华为三康技术有限公司 Method to allocate protocol relay address table and server address pool for synchronization dynamic host machine
CN102685265A (en) * 2012-05-14 2012-09-19 中国科学院计算机网络信息中心 IP (Internet Protocol) address managing method, equipment and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1738269A (en) * 2004-08-17 2006-02-22 杭州华为三康技术有限公司 Method to allocate protocol relay address table and server address pool for synchronization dynamic host machine
CN102685265A (en) * 2012-05-14 2012-09-19 中国科学院计算机网络信息中心 IP (Internet Protocol) address managing method, equipment and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HOLLENBECK, S., RFC5730: EXTENSIBLE PROVISIONING PROTOCOL (EPP), 31 August 2009 (2009-08-31) *
LIU, YANG ET AL., EPP-IP: A FLEXIBLE AND AUTOMATIC IP ADDRESS REGISTRATION MECHANISM, 2012 FOURTH INTERNATIONAL CONFERENCE ON UBIQUITOUS AND FUTURE NETWORKS (ICUFN), 6 July 2012 (2012-07-06) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937277A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 Address renewing method and device
WO2018103400A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Wireless fidelity wifi connection method and related product

Also Published As

Publication number Publication date
CN102685265A (en) 2012-09-19

Similar Documents

Publication Publication Date Title
WO2013170613A1 (en) Ip address management method, device, and system
EP1760950B1 (en) A method for distributing the service according to the type of the terminal
US7600042B2 (en) Dynamic IP address update
US7743093B2 (en) Message based network configuration of domain name purchase
US9485147B2 (en) Method and device thereof for automatically finding and configuring virtual network
US7673021B2 (en) Automated provisioning of phones in packet voice networks
CN105228121B (en) Subscriber management using REST-like interface
CN103078877B (en) Based on the user authentication of DNS and domain name access control method and system
US20060088026A1 (en) Message based network configuration of domain name services
WO2007068167A1 (en) A method and network device for configuring the domain name in ipv6 access network
WO2014089872A1 (en) Method and system for supporting dns resolution of domain name group
US20040068566A1 (en) Method and apparatus for judging coincidence of addresses, and service provision method and service provision apparatus
CN107995321A (en) A kind of VPN client acts on behalf of the method and device of DNS
JP2003316742A (en) Anonymous communication method and device having single sign-on function
CN106789905A (en) A kind of network access equipment and method
WO2010148741A1 (en) Method and apparatus for media access control (mac) address filtering in broadband access system
JP4272928B2 (en) Network device and device setting device
CN104168290B (en) A kind of terminal registration method and registrar
WO2015035776A1 (en) Management method and system for domain name system server
JP7338070B2 (en) Information processing method and related network equipment
TWM588928U (en) System for remotely waking network user device
CN115766662A (en) Registration method and server of cloud equipment
JP2003174449A (en) Communication control system
JP2005092600A (en) Method and device for determining address matching, and method and device for providing service
CN104052718B (en) Data center and its method that Virtual Service is provided for client

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: 12876952

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12876952

Country of ref document: EP

Kind code of ref document: A1