CN115604230A - Equipment address management method and device and server - Google Patents
Equipment address management method and device and server Download PDFInfo
- Publication number
- CN115604230A CN115604230A CN202211194998.4A CN202211194998A CN115604230A CN 115604230 A CN115604230 A CN 115604230A CN 202211194998 A CN202211194998 A CN 202211194998A CN 115604230 A CN115604230 A CN 115604230A
- Authority
- CN
- China
- Prior art keywords
- broadband access
- access server
- address
- identification information
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
- H04L12/2869—Operational details of access network equipments
- H04L12/287—Remote access server, e.g. BRAS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0892—Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method, a device and a server for managing equipment addresses, wherein the method comprises the following steps: receiving an address application request sent by a first broadband access server; when determining that the first address information is allocated to the client before according to the first identification information, acquiring second identification information of a second broadband access server; and when the first broadband access server and the second broadband access server are determined not to be the same broadband access server according to the second identification information and the third identification information of the first broadband access server, feeding back newly distributed second address information to the first broadband access server, and sending a control instruction to the second broadband access server. Therefore, the exit router can only find the first broadband access device according to the address route, and then feeds back the message fed back by the public network to the client through the first broadband access server, so that the condition that the service of the client breaks down is avoided.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and a device for managing an equipment address and a server.
Background
IP over Ethernet (IPOE) is a common Broadband Access Server (BRAS) Access method. In a user access flow of an IPOE of Internet Protocol Version 4 (IPV 4), if there is a case where one BRAS device is handed over to another BRAS device (such as wireless roaming or a change in priority location), the client requests a new IP address from a Dynamic Host Configuration Protocol (DHCP) server through the new BRAS device. At this time, the existing BRAS device already requests an IP address, and the new BRAS device also requests a new IP address at present. Two BRAS devices will issue both addresses to the egress router at the same time. Then, when a message needs to be distributed to the client, the egress router distributes the message fed back from the public network to different BRAS devices respectively, so as to feed back the message to the client through the different BRAS devices.
However, in the actual application process, the original BRAS device is not already establishing communication connection with the client, and naturally, the message distributed to the BRAS device is not forwarded to the client. Therefore, the service on the client side is inevitably failed due to the loss of the message.
Disclosure of Invention
The application provides a device address management method, a device and a server, which are used for solving all or part of technical problems in the prior art.
In a first aspect, the present application provides a device address management method, including:
receiving an address application request sent by a first broadband access server, wherein the address application request is used for indicating client application address information for establishing communication connection with the first broadband access server, and the address application request comprises first identification information of a client;
when determining that the first address information is allocated to the client before according to the first identification information, acquiring second identification information of a second broadband access server, wherein the second broadband access server is a broadband access server which applies for an address for the client before;
and when the first broadband access server and the second broadband access server are determined not to be the same broadband access server according to the second identification information and the third identification information of the first broadband access server, feeding back newly allocated second address information to the first broadband access server so as to allocate third address information to the client through the first broadband access server, and sending a control instruction to the second broadband access server, wherein the control instruction is used for indicating the second broadband access server to delete an address route corresponding to the client, and the third address information is address information generated according to the second address information and the first identification information.
In a second aspect, an apparatus for device address management is provided, the apparatus comprising:
the receiving module is used for receiving an address application request sent by a first broadband access server, wherein the address application request is used for indicating client application address information for establishing communication connection with the first broadband access server, and the address application request comprises first identification information of a client;
the processing module is used for determining whether first address information is allocated to the client or not before according to the first identification information; when determining that first address information is allocated to the client before according to the first identification information, acquiring second identification information of a second broadband access server, wherein the second broadband access server is a broadband access server which applies for an address for the client before; determining whether the first broadband access server and the second broadband access server are the same broadband access server or not according to the second identification information and the third identification information of the first broadband access server;
and the sending module is used for feeding back newly allocated second address information to the first broadband access server when the processing module determines that the first broadband access server and the second broadband access server are not the same broadband access server according to the second identification information and third identification information of the first broadband access server, so as to allocate third address information to the client through the first broadband access server, and sending a control instruction to the second broadband access server, wherein the control instruction is used for indicating the second broadband access server to delete an address route corresponding to the client, and the third address information is address information generated according to the second address information and the first identification information.
In a third aspect, a dynamic host configuration protocol server is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the steps of the device address management method according to any one of the embodiments of the first aspect when executing a program stored in a memory.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the device address management method as defined in any one of the embodiments of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, after the address application request sent by the first broadband access server is received, whether the first address information is allocated to the client before is determined according to the first identification information carried in the address application request. If the first address information is already allocated, second identification information of a second broadband access server applying for the first address information for the client needs to be acquired. And determining whether the second broadband access server is the first broadband access server by comparing the second identification information with the third identification information of the first broadband access server. And if the first broadband access server and the second broadband access server belong to different broadband access servers, the newly distributed second address information is fed back to the first broadband access server, so that the first broadband access server generates third identification information according to the second address information and the first identification information and feeds the third identification information back to the client, and subsequent network access of the client is facilitated.
Meanwhile, in order to prevent the egress router from distributing the messages fed back from the public network to the first broadband access device and the second broadband access device, a control instruction needs to be sent to the second broadband access device, and the control instruction is used for instructing the second broadband access device to delete the address route corresponding to the client. Therefore, the exit router can only find the first broadband access device according to the address route, and then feeds back the message fed back by the public network to the client through the first broadband access server, so that the condition that the service of the client breaks down is avoided.
Drawings
FIG. 1 is a diagram of a typical IPOE networking system architecture provided by the present invention;
fig. 2 is a schematic diagram of a simple signaling flow for implementing device address management according to the present invention;
fig. 3 is a schematic flowchart of a device address management method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of another device address management method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of another device address management method according to the present invention;
fig. 6 is a schematic structural diagram of an apparatus address management device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a server structure according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the convenience of understanding the embodiments of the present invention, the following detailed description will be given with reference to the accompanying drawings, which are not intended to limit the embodiments of the present invention.
In view of the technical problems mentioned in the background art, embodiments of the present application provide a device address management method. Specifically, before describing the steps of the device address management method provided in the embodiment of the present invention, a system architecture diagram applicable to the embodiment of the present invention is first described. Referring specifically to fig. 1, fig. 1 is a diagram illustrating an exemplary architecture of an IPOE networking system according to the present invention. The system architecture diagram comprises a client, a BRAS device, an exit router, an Internet public network, an Authentication, authorization and Accounting (AAA) server and a DHCP server.
The DHCP server is used for dynamically allocating network configuration parameters such as IP addresses and the like for the network equipment. The DHCP server adopts a client/server communication mode, the client sends an application for requesting to distribute network configuration parameters to the DHCP server, and the DHCP server returns configuration information such as an IP address distributed for the client so as to realize dynamic configuration of the information such as the IP address.
The AAA server is a management mechanism of network security, and provides three security functions of authentication, authorization and accounting.
An authentication function: and confirming the identity of the remote user accessing the network, and judging whether the visitor is a legal network user.
The authorization function: different authorities are given to different users, and the services which can be used by the users are limited. For example, an administrator authorizes office users to access and print files on the server, while other temporary visitors do not have this permission.
And (4) charging function: all operations of the user in the process of using the network service are recorded, including the type of the used service, the starting time, the data flow and the like, so that the use condition of the user on the network resource is collected and recorded, the charging requirement for the time and the flow can be realized, and the network is also monitored.
It can be seen in fig. 1 that the client may comprise a plurality of clients, and the BRAS device may likewise comprise a plurality of clients, and two BRAS devices are shown in fig. 1.
When a specific access flow is executed, see fig. 2. A simplified signaling flow diagram for implementing device address management is illustrated in fig. 2.
First, taking the client 1 in fig. 1 as an example for explanation, the client 1 sends a DHCP message, that is, an address application request, to a first BRAS device (BRAS device 1 in fig. 1). And the address application request carries first identification information corresponding to the client. And the first BRAS equipment creates an IPOE temporary session according to the DHCP message. And the first BRAS device sends an authentication request to the AAA authentication server, where the user name in the authentication request message includes user information, such as first identification information, and the like, to complete network security authentication for the client, including authentication, authorization, and authentication services with three security functions, such as accounting, and the like, as mentioned above.
The specific authentication method may include IPOE authentication.
The IPOE authentication comprises two modes of binding authentication and web authentication.
The binding authentication is an authentication mode that the BRAS equipment automatically generates a user name and a password for identity authentication according to the position information accessed by the user, and the user does not need to input the user name and the password.
The Web authentication is an authentication mode for performing identity authentication by interactively inputting a user name and a password by accessing an authentication page of a Web authentication server.
IPOE authentication is a flexible access control technique, which can be implemented at the access layer and the critical data entry to be protected, and has the following advantages: client software can not be installed, and the use is convenient. The system can provide convenient management function and business expansion function for operators, for example, the operators can develop personalized business such as advertisement, community service, information publishing and the like on pages.
After the AAA server generates an authentication result, if the AAA server verifies that the client passes, the AAA server sends an authentication acceptance message and carries authorization information to the first BRAS equipment. Otherwise, sending an authentication refusing message to the DHCP server, and simultaneously feeding back an authentication failure result to the first BRAS equipment.
After the first BRAS device obtains the authentication and authorization result of the client, the authentication state of the IPOE session is updated to pass or fail. And after the client passes the authentication, sending a DHCP Discover data packet to a DHCP server, wherein the data packet comprises an address application request.
After receiving the address application request, the DHCP server first determines whether address information has been previously allocated to the client, that is, whether first address information has been allocated to the client, according to the first identification information in the address application request.
If the first address information is determined to be allocated, second identification information of a second BRAS device (BRAS device 2 in fig. 1) is acquired. And determining whether the first BRAS equipment and the second BRAS equipment are the same BRAS equipment or not according to the second identification information and the third identification information of the first broadband access server.
If the BRAS equipment is not the same BRAS equipment, the following steps are required to be executed:
and feeding back the newly allocated second address information to the first BRAS equipment, and sending a control instruction to the second broadband access server.
The first BRAS equipment distributes third address information to the client, wherein the third address information is address information generated according to the second address information and the first identification information.
And the control instruction is used for instructing the second BRAS equipment to delete the address route corresponding to the client.
And the second BRAS equipment deletes the address route corresponding to the client according to the control instruction.
In another case, when it is determined that the first address information is not allocated to the client before according to the first identification information, it indicates that the client applies for the address information for the first time, and the address is applied for the first time through one BRAS device, that is, the first BRAS device, so that the second address information can be directly fed back to the first broadband access server.
Or, if the first BRAS device and the second BRAS device belong to the same device, the second address information is directly distributed to the first (second) BRAS device.
It should be noted that the embodiment of the present application is not only applicable to the IPOE scenario of IPV4, but also applicable to scenarios such as IPOE + WEB and PPPOE, and meanwhile, the IPV6 scenario may refer to the ipo 4 scenario to perform similar operations.
Specifically, the implementation process of the method may be as shown in fig. 3, and fig. 3 is a schematic flow chart of a device address management method provided in the embodiment of the present invention. The method steps are to be performed by a DHCP server, the method comprising:
Specifically, as described above, the address application request is used to indicate that the client applies for address information for establishing a communication connection with the first broadband access server, and the address application request includes the first identification information of the client. The address application request is an address application request sent by a first broadband access server (e.g. a first BRAS device) to a DHCP server, and the first BRAS device receives an address application request sent by a client (e.g. the address application request sent by the client 1 above).
Specifically, the DHCP server may determine whether the client has been previously allocated with address information, for example, the first address information, according to the first identification information.
If it is determined that the first address information has been previously allocated, second identification information of a second broadband access server, e.g., a second BRAS device, is obtained.
Alternatively, the determination as to whether the first address information has been allocated before may be obtained in any one of the following manners.
In a specific example, for example, according to the first identification information, it is searched whether there is address information having a mapping relationship or a binding relationship with the first identification information. If the first address information exists, the first address information is assigned, otherwise, the first address information is determined not to be assigned before.
In another specific example, it can also be determined whether the first address information has been previously allocated to the client 1 by querying the operation record (or operation log). Of course, when querying, the first identification information also needs to be used as a search index to query a corresponding operation record (or operation log) and the like.
As described above, the operation object applying for the first address information for the client is the BRAS device, and therefore, when it is determined that the first address information is allocated to the client, the second BRAS device needs to be searched, and then the second identification information of the second BRAS device is obtained. Further, it is determined whether the first BRAS device and the second BRAS device are the same BRAS device according to the second identification information and the third identification information corresponding to the first BRAS device, that is, step 330 is performed.
Specifically, the second identification information is directly compared with the third identification information, and when the second identification information is the same as the third identification information, it can be determined that the first BRAS device and the second BRAS device belong to the same BRAS device. Otherwise, the two belong to different BRAS devices.
Specifically, when the first BRAS device and the second BRAS device are not the same BRAS device, it is said that for some reason, it is necessary to switch from the first BRAS device to the second BRAS device. And then, the client applies for address information through the first BRAS equipment. Then, the router will not distribute the message fed back from the public network to the first BRAS device and the second BRAS device respectively for the subsequent egress.
Therefore, it is necessary to feed back the newly allocated second address information to the first broadband access server, so as to allocate third address information to the client through the first broadband access server, where the third address information is address information generated according to the second address information and the first identification information.
Meanwhile, a control instruction needs to be sent to the second broadband access server, and the control instruction is used for instructing the second broadband access server to delete the address route corresponding to the client.
In an optional example, the address route includes a customer flow table corresponding to the client, and fourth address information corresponding to the client, the fourth address information being generated according to the first identification information and the first address information.
Specifically, the client flow table may include the authority of the user to use the flow, the authority of the user to access the network, the service type of the access network, the start time, the data flow, and the like, and also includes the use condition of the user on the network resource, and the like. The BRAS equipment can realize and supervise the network security of the user through the client flow meter, and simultaneously can ensure the service management and control of the user, prevent the occupation of network resources such as network bandwidth, IP address and the like by the user from being not restricted and controlled, and further enable various services to be operated finely.
Therefore, after the first BRAS device receives the second address information, a new client flow table can be created according to the first identification information and the second address information of the client and the authorization information fed back by the AAA server.
Meanwhile, the third address information needs to be sent to the egress router, so that the subsequent egress router can send the packet acquired from the public network to the first BRAS device according to the third address information, and feed back the packet to the client through the first BRAS device.
And the first BRAS device needs to delete the fourth address information and the customer flow table.
In another optional specific example, the first identification information is IP address information corresponding to the second broadband access server, the second identification information is MAC address information corresponding to the client, and the third identification information is IP address information corresponding to the first broadband access server. In a specific example, the third address information is IPV4 address information generated by MAC address information corresponding to the client and IP address information corresponding to the first broadband access server. Similarly, the fourth address information is another IPV4 address information generated by the MAC address information corresponding to the client and the IP address information corresponding to the second broadband access server.
After receiving an address application request sent by a first broadband access server, the device address management method provided by the embodiment of the invention first determines whether first address information has been allocated to a client before according to first identification information carried in the address application request. If the first address information is already allocated, second identification information of a second broadband access server applying for the first address information for the client needs to be acquired. And determining whether the second broadband access server is the first broadband access server by comparing the second identification information with the third identification information of the first broadband access server. And if the first broadband access server and the second broadband access server belong to different broadband access servers, the newly distributed second address information is fed back to the first broadband access server, so that the first broadband access server generates third identification information according to the second address information and the first identification information and feeds the third identification information back to the client, and subsequent network access of the client is facilitated.
Meanwhile, in order to prevent the egress router from distributing the messages fed back from the public network to the first broadband access device and the second broadband access device, a control instruction needs to be sent to the second broadband access device, and the control instruction is used for instructing the second broadband access device to delete the address route corresponding to the client. Therefore, the exit router can only find the first broadband access device according to the address route, and then feeds back the message fed back by the public network to the client through the first broadband access server, so that the condition that the service of the client breaks down is avoided.
Optionally, in another specific embodiment of the present application, when it is determined that the first address information is not allocated to the client before according to the first identification information, it indicates that the client applies for the address information for the first time, and the address is applied by a BRAS device for the first time, that is, the first BRAS device, so that the second address information may be directly fed back to the first broadband access server.
In another case, when it is determined that the first broadband access server and the second broadband access server are the same broadband access server according to the second identification information and the third identification information, it indicates that the BRAS device handover does not exist, and therefore, the second address information may also be directly fed back to the first broadband access server.
Optionally, in another optional example, the method may further include: and establishing a mapping relation between the first identification information and the second address information.
Similar to the above-mentioned establishment of the mapping relationship between the first identification information and the first address information, the establishment of the mapping relationship between the first identification information and the second address information is to establish whether address information has been allocated to the client before a subsequent convenient query.
It should be further noted that, after the mapping relationship between the first identification information and the second address information is established, the mapping relationship between the first identification information and the first address information may be deleted. To avoid subsequent re-querying of the second BRAS device to perform unnecessary operations.
Alternatively, if operation records (operation logs) similar to those described above are generated in this embodiment, then the operation records (operation logs) may be updated, and the operation content with the time "latest" (closest to the current time) may be directly queried to query the first BRAS device.
Optionally, adapted to any of the foregoing embodiments, an embodiment of the present invention further provides another device address management method, where the method is executed by a BRAS device, and the BRAS device in this embodiment may be a first BRAS device, a second BRAS device, or the method is also applicable to other BRAS devices, where the method specifically includes the following steps, and refer to fig. 4 specifically, and the method includes:
The address application request comprises first identification information of the first client.
The first address information is address information generated by the dynamic host configuration protocol server according to the address application request;
and feeding back the second address information to the first client and the egress router respectively.
Optionally, on the basis of the above embodiment, the method further includes the following method steps, specifically referring to fig. 5, the method includes:
and step 510, when receiving the control instruction fed back by the dhcp server, determining a second client that establishes a communication connection with the second client according to the control instruction.
Optionally, in any embodiment corresponding to fig. 4 or fig. 5, the routing information includes a customer flow table corresponding to the second client, and third address information corresponding to the second client, where the third address information is address information generated according to second identification information of the second client and fourth address information, and the fourth address information is address information that has been previously applied to the dynamic host configuration protocol server by the second client.
The method steps in the examples shown in fig. 4 to 5 have been described in detail above and are therefore not explained in greater detail here.
In the above, for several embodiments of the method for device address management provided by the present application, other embodiments of the device address management provided by the present application are described below, and specific reference is made to the following.
Fig. 6 is a device address management apparatus according to an embodiment of the present invention, where the apparatus includes: a receiving module 601, a processing module 602, and a sending module 603.
A receiving module 601, configured to receive an address application request sent by a first broadband access server, where the address application request is used to indicate that a client applies for address information for establishing a communication connection with the first broadband access server, and the address application request includes first identification information of the client;
a processing module 602, configured to determine, according to the first identification information, whether first address information has been previously allocated to the client; when determining that the first address information is allocated to the client before according to the first identification information, acquiring second identification information of a second broadband access server, wherein the second broadband access server is a broadband access server which applies for an address for the client before; determining whether the first broadband access server and the second broadband access server are the same broadband access server or not according to the second identification information and the third identification information of the first broadband access server;
a sending module 603, configured to, when the processing module 602 determines that the first broadband access server and the second broadband access server are not the same broadband access server according to the second identification information and third identification information of the first broadband access server, feed back newly allocated second address information to the first broadband access server, so as to allocate third address information to the client through the first broadband access server, and send a control instruction to the second broadband access server, where the control instruction is used to instruct the second broadband access server to delete an address route corresponding to the client, and the third address information is address information generated according to the second address information and the first identification information.
Optionally, the address route includes a customer flow table corresponding to the client and fourth address information corresponding to the client, and the fourth address information is generated according to the first identification information and the first address information.
Optionally, the sending module 603 is further configured to, when the processing module 602 determines that the first address information is not allocated to the client before according to the first identifier information, or when it is determined that the first broadband access server and the second broadband access server are the same broadband access server according to the second identifier information and the third identifier information, directly feed back the second address information to the first broadband access server.
Optionally, the processing module 602 is specifically configured to query whether there is address information that establishes a mapping relationship with the first identifier;
when determining that the address information which is in mapping relation with the first identification information exists, determining that the first address information is allocated to the client before.
Optionally, the processing module 602 is further configured to establish a mapping relationship between the first identification information and the second address information.
Optionally, the first identification information is IP address information corresponding to the second broadband access server, the second identification information is MAC address information corresponding to the client, and the third identification information is IP address information corresponding to the first broadband access server.
The functions executed by each component in the device address management apparatus provided in the embodiment of the present invention have been described in detail in the method embodiment corresponding to fig. 3, and therefore are not described herein again.
After receiving an address application request sent by a first broadband access server, an apparatus address management device according to an embodiment of the present invention first determines whether first address information has been previously allocated to a client according to first identification information carried in the address application request. If the first address information is already allocated, second identification information of a second broadband access server applying for the first address information for the client needs to be acquired. And determining whether the second broadband access server is the first broadband access server by comparing the second identification information with the third identification information of the first broadband access server. And if the two belong to different broadband access servers, the newly distributed second address information is fed back to the first broadband access server, so that the first broadband access server generates third identification information according to the second address information and the first identification information and feeds the third identification information back to the client, and subsequent network access of the client is facilitated.
Meanwhile, in order to prevent the egress router from distributing the messages fed back from the public network to the first broadband access device and the second broadband access device, a control instruction needs to be sent to the second broadband access device, and the control instruction is used for instructing the second broadband access device to delete the address route corresponding to the client. Therefore, the exit router can only find the first broadband access device according to the address route, and then feeds back the message fed back by the public network to the client through the first broadband access server, so that the condition that the service of the client breaks down is avoided.
As shown in fig. 7, the embodiment of the present application provides a server, which includes a processor 111, a communication interface 112, a memory 113, and a communication bus 114, where the processor 111, the communication interface 112, and the memory 113 complete communication with each other through the communication bus 114.
A memory 113 for storing a computer program;
in an embodiment of the present application, when the processor 111 is configured to execute a program stored in the memory 113, the method for managing a device address provided in any one of the foregoing method embodiments is implemented, including:
receiving an address application request sent by a first broadband access server, wherein the address application request is used for indicating client application address information for establishing communication connection with the first broadband access server, and the address application request comprises first identification information of the client;
when determining that first address information is allocated to the client before according to the first identification information, acquiring second identification information of a second broadband access server, wherein the second broadband access server is a broadband access server which applies for an address for the client before;
and when the first broadband access server and the second broadband access server are determined not to be the same broadband access server according to the second identification information and the third identification information of the first broadband access server, feeding back newly allocated second address information to the first broadband access server so as to allocate third address information to the client through the first broadband access server, and sending a control instruction to the second broadband access server, wherein the control instruction is used for indicating the second broadband access server to delete an address route corresponding to the client, and the third address information is address information generated according to the second address information and the first identification information.
Optionally, the address route includes a customer flow table corresponding to the client and fourth address information corresponding to the client, and the fourth address information is generated according to the first identification information and the first address information.
Optionally, when it is determined that the first address information is not allocated to the client before according to the first identifier information, or when it is determined that the first broadband access server and the second broadband access server are the same broadband access server according to the second identifier information and the third identifier information, the second address information is directly fed back to the first broadband access server.
Optionally, determining, according to the first identifier information, whether the first address information has been previously allocated to the client, specifically including:
inquiring whether address information with a mapping relation established with the first identification information exists or not;
when determining that the address information which is in mapping relation with the first identification information exists, determining that the first address information is allocated to the client before.
Optionally, the method further comprises: and establishing a mapping relation between the first identification information and the second address information.
Optionally, the first identification information is IP address information corresponding to the second broadband access server, the second identification information is MAC address information corresponding to the client, and the third identification information is IP address information corresponding to the first broadband access server.
The present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the device address management method provided in any one of the foregoing method embodiments.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for device address management, the method comprising:
receiving an address application request sent by a first broadband access server, wherein the address application request is used for indicating a client side applying address information for establishing communication connection with the first broadband access server, and the address application request comprises first identification information of the client side;
when determining that first address information is allocated to the client before according to the first identification information, acquiring second identification information of a second broadband access server, wherein the second broadband access server is a broadband access server which applies for an address for the client before;
when the first broadband access server and the second broadband access server are determined not to be the same broadband access server according to the second identification information and third identification information of the first broadband access server, feeding back newly distributed second address information to the first broadband access server so as to distribute third address information for the client through the first broadband access server, and sending a control instruction to the second broadband access server, wherein the control instruction is used for instructing the second broadband access server to delete an address route corresponding to the client, and the third address information is generated according to the second address information and the first identification information.
2. The method of claim 1, wherein the address route comprises a customer flow table corresponding to the client and fourth address information corresponding to the client, the fourth address information being generated based on the first identification information and the first address information.
3. The method of claim 1, wherein when it is determined that the first address information has not been previously allocated to the client according to the first identification information, or when it is determined that the first broadband access server and the second broadband access server are the same broadband access server according to the second identification information and the third identification information, the second address information is directly fed back to the first broadband access server.
4. The method according to any one of claims 1 to 3, wherein determining, according to the first identification information, whether first address information has been previously allocated to the client, specifically includes:
inquiring whether the address information which is in mapping relation with the first identification information exists or not;
when determining that address information with a mapping relation established with the first identification information exists, determining that the first address information is allocated to the client before.
5. The method according to any one of claims 1-3, further comprising:
and establishing a mapping relation between the first identification information and the second address information.
6. The method of any of claims 1-3, wherein the first identification information is IP address information corresponding to the second broadband access server, the second identification information is MAC address information corresponding to the client, and the third identification information is IP address information corresponding to the first broadband access server.
7. An apparatus for device address management, the apparatus comprising:
the system comprises a receiving module, a first broadband access server and a second broadband access server, wherein the receiving module is used for receiving an address application request sent by the first broadband access server, the address application request is used for indicating a client side which establishes communication connection with the first broadband access server to apply for address information, and the address application request comprises first identification information of the client side;
the processing module is used for determining whether first address information is allocated to the client before according to the first identification information; when determining that first address information is allocated to the client before according to the first identification information, acquiring second identification information of a second broadband access server, wherein the second broadband access server is a broadband access server which applies for an address for the client before; determining whether the first broadband access server and the second broadband access server are the same broadband access server or not according to the second identification information and third identification information of the first broadband access server;
a sending module, configured to, when the processing module determines that the first broadband access server and the second broadband access server are not the same broadband access server according to the second identification information and third identification information of the first broadband access server, feed back newly allocated second address information to the first broadband access server so as to allocate third address information to the client through the first broadband access server, and send a control instruction to the second broadband access server, where the control instruction is used to instruct the second broadband access server to delete an address route corresponding to the client, and the third address information is address information generated according to the second address information and the first identification information.
8. The apparatus of claim 7, wherein the processing module is further configured to establish a mapping relationship between the first identification information and the second address information.
9. A dynamic host configuration protocol server is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the steps of the device address management method of any one of claims 1 to 6 when executing a program stored in the memory.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the device address management method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211194998.4A CN115604230A (en) | 2022-09-27 | 2022-09-27 | Equipment address management method and device and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211194998.4A CN115604230A (en) | 2022-09-27 | 2022-09-27 | Equipment address management method and device and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115604230A true CN115604230A (en) | 2023-01-13 |
Family
ID=84845784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211194998.4A Pending CN115604230A (en) | 2022-09-27 | 2022-09-27 | Equipment address management method and device and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115604230A (en) |
-
2022
- 2022-09-27 CN CN202211194998.4A patent/CN115604230A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6603758B1 (en) | System for supporting multiple internet service providers on a single network | |
US7590733B2 (en) | Dynamic address assignment for access control on DHCP networks | |
US7752653B1 (en) | Method and apparatus for registering auto-configured network addresses based on connection authentication | |
US8125980B2 (en) | User terminal connection control method and apparatus | |
US8166538B2 (en) | Unified architecture for remote network access | |
US8605582B2 (en) | IP network system and its access control method, IP address distributing device, and IP address distributing method | |
US7991856B2 (en) | Network system | |
CA2321396C (en) | Mobile communications service system, mobile communications service method, authentication apparatus, and home agent apparatus | |
US10142159B2 (en) | IP address allocation | |
US20060173977A1 (en) | A process for dynamic user control on always-on ip network | |
CN102055816A (en) | Communication method, business server, intermediate equipment, terminal and communication system | |
US20080155678A1 (en) | Computer system for controlling communication to/from terminal | |
EP1830520B1 (en) | Method and system for redirecting of the client | |
JP2022501879A (en) | Access authentication | |
CN112367666A (en) | Method, device and system for allowing pNF in 5G core network to pass NRF authentication cNF | |
EP1906588B1 (en) | Method and system for correlating information associated with a user in a nass | |
CN102480403B (en) | Method for providing virtual private network service, device and system | |
KR102359070B1 (en) | A portal aggregation service that maps subcarrier device identifiers to portal addresses to which access and authentication requests are redirected and facilitates mass subscriber device setup. | |
CN109120738B (en) | DHCP server and method for managing network internal equipment | |
US20080201477A1 (en) | Client side replacement of DNS addresses | |
CN1798158A (en) | Method for distributing second level address | |
CN115604230A (en) | Equipment address management method and device and server | |
JP7383145B2 (en) | Network service processing methods, systems and gateway devices | |
JP2003318939A (en) | Communication system and control method thereof | |
CN113556337A (en) | Terminal address identification method, network system, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |