Device address management method, device and server

By managing the address information of the broadband access server in the IPOE environment, the packet loss problem of the client when switching the BRAS device is solved, and the correct distribution of packets is achieved, and business failures are avoided.

CN115604230BActive Publication Date: 2025-04-18NEW H3C TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211194998.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2025-04-18
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

In an IP over Ethernet (IPOE) environment, when a client switches from one BRAS device to another BRAS device, the original BRAS device no longer establishes a communication connection with the client, resulting in packet loss and client service failure.

Method used

By receiving the address application request sent by the first broadband access server, it is determined whether the client has assigned the address information and obtains the identification information of the second broadband access server. If the two are not the same broadband access server, the newly allocated address information is fed back to the first broadband access server, and a control command is sent to the second broadband access server to delete the address route with the client.

Benefits of technology

It avoids the egress router to distribute the messages fed back from the public network to different BRAS devices separately, ensuring that the messages are fed back to the client through the correct BRAS devices, and avoiding business failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115604230B_ABST
    Figure CN115604230B_ABST
Patent Text Reader

Abstract

The present invention discloses a device address management method, apparatus and server, the method comprising: receiving an address application request sent by a first broadband access server; when it is determined that the first address information has been previously allocated to a client according to first identification information, obtaining second identification information of a second broadband access server; when it is determined 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, feeding back the newly allocated second address information to the first broadband access server, and sending a control instruction to the second broadband access server. Thus, the egress router can only find the first broadband access device according to the address routing, and then feed back the message fed back by the public network to the client through the first broadband access server, thereby avoiding the occurrence of a failure in the client's service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of communication technology, and in particular to a device address management method, apparatus, and server. Background Art

[0002] IP over Ethernet (IPOE) is a common broadband access server (BRAS) access method. In the user access process of IPOE of Internet Protocol Version 4 (IPV4), if there is a situation where one BRAS device switches to another BRAS device (such as wireless roaming, priority location sending changes, etc.), then the client will request a new IP address from the Dynamic Host Configuration Protocol (DHCP) server through the new BRAS device. At this time, the original BRAS device has already requested an IP address, and the new BRAS device has also requested a new IP address. The two BRAS devices will publish these two addresses to the egress router at the same time. Then, when it is necessary to distribute messages to the client, the egress router will distribute the messages fed back from the public network to different BRAS devices respectively, so that they can be fed back to the client through different BRAS devices.

[0003] However, in actual applications, the original BRAS equipment no longer establishes a communication connection with the client, and naturally will not forward the messages distributed to itself to the client, which will inevitably cause the service on the client side to fail due to the loss of messages. Summary of the invention

[0004] The present application provides a device address management method, apparatus and server to solve all or part of the above-mentioned technical problems in the prior art.

[0005] In a first aspect, the present application provides a device address management method, the method comprising:

[0006] receiving an address application request sent by the first broadband access server, the address application request being used to instruct an application for address information for a client that establishes a communication connection with the first broadband access server, the address application request including first identification information of the client;

[0007] When it is determined according to the first identification information that the first address information has been previously allocated to the client, second identification information of a second broadband access server is acquired, wherein the second broadband access server is a broadband access server that has previously applied for an address for the client;

[0008] When it is determined, based on the second identification information and the third identification information of the first broadband access server, that the first broadband access server and the second broadband access server are not the same broadband access server, the newly allocated second address information is fed back to the first broadband access server so that the third address information is allocated to the client through the first broadband access server, and a control instruction is sent to the second broadband access server, wherein the control instruction is used to instruct the second broadband access server to delete the address route corresponding to the client, and the third address information is address information generated based on the second address information and the first identification information.

[0009] In a second aspect, a device address management apparatus is provided, the apparatus comprising:

[0010] A receiving module, configured to receive an address application request sent by the first broadband access server, wherein the address application request is used to indicate an application for address information for a client that establishes a communication connection with the first broadband access server, and the address application request includes first identification information of the client;

[0011] The processing module is used to determine whether the first address information has been previously allocated to the client according to the first identification information; when it is determined that the first address information has been previously allocated to the client according to the first identification information, obtain the second identification information of the second broadband access server, wherein the second broadband access server is a broadband access server that has previously applied for an address for the client; and, according to the second identification information and the third identification information of the first broadband access server, determine whether the first broadband access server and the second broadband access server are the same broadband access server;

[0012] A sending module is used for feeding back the newly allocated second address information to the first broadband access server when the processing module determines, based on the second identification information and the third identification information of the first broadband access server, that the first broadband access server and the second broadband access server are not the same broadband access server, so as to allocate the 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 to instruct the second broadband access server to delete the address route corresponding to the client, and the third address information is address information generated based on the second address information and the first identification information.

[0013] In a third aspect, a dynamic host configuration protocol server is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0014] Memory, used to store computer programs;

[0015] The processor is used to implement the steps of the device address management method of any embodiment of the first aspect when executing the program stored in the memory.

[0016] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the device address management method as in any embodiment of the first aspect are implemented.

[0017] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:

[0018] The method provided by the embodiment of the present application, after receiving the address application request sent by the first broadband access server, first determines whether the first address information has been allocated to the client before according to the first identification information carried in the address application request. If the first address information has been allocated, it is necessary to obtain the second identification information of the second broadband access server that has applied for the first address information for the client. And by comparing the second identification information with the third identification information of the first broadband access server, it is determined whether the second broadband access server is the first broadband access server. If the two belong to different broadband access servers, the newly allocated second address information is fed back to the first broadband access server, so that the first broadband access server generates the third identification information according to the second address information and the first identification information and then feeds it back to the client, so as to facilitate the client's subsequent network access.

[0019] At the same time, in order to prevent the egress router from distributing the message fed back from the public network to the first broadband access device and the second broadband access device respectively, a control instruction needs to be sent to the second broadband access device, and the control instruction is used to instruct the second broadband access device to delete the address route corresponding to the client. Therefore, the egress router can only find the first broadband access device according to the address route, and then feed back the message fed back from the public network to the client through the first broadband access server, thereby avoiding the occurrence of service failure of the client. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A typical IPOE networking system architecture diagram provided by the present invention;

[0021] Figure 2 A schematic diagram of a simple signaling process for implementing device address management provided by the present invention;

[0022] Figure 3 A schematic diagram of a device address management method flow provided by an embodiment of the present invention;

[0023] Figure 4 A schematic diagram of another device address management method flow chart provided by an embodiment of the present invention;

[0024] Figure 5 A schematic diagram of another device address management method provided by the present invention;

[0025] Figure 6 A schematic diagram of the structure of a device address management apparatus provided by an embodiment of the present invention;

[0026] Figure 7 A schematic diagram of a server structure is provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.

[0029] In view of the technical problems mentioned in the background technology, the embodiment of the present application provides a device address management method. Specifically, before introducing the steps of the device address management method provided by the embodiment of the present application, a system architecture diagram to which the embodiment of the present application can be applied is first described. Figure 1 As shown, Figure 1 A typical IPOE networking system architecture diagram provided by the present invention includes a client, a BRAS device, an egress router, an Internet public network, an authentication, authorization, and accounting (AAA) server, and a DHCP server.

[0030] Among them, the DHCP server is used to dynamically allocate network configuration parameters such as IP addresses to network devices. The DHCP server adopts the client / server communication mode. The client submits an application to the DHCP server for the allocation of network configuration parameters, and the DHCP server returns the configuration information such as the IP address allocated to the client to realize the dynamic configuration of information such as the IP address.

[0031] AAA server is a management mechanism for network security, providing three security functions: authentication, authorization, and accounting.

[0032] Authentication function: confirm the identity of remote users accessing the network and determine whether the visitor is a legitimate network user.

[0033] Authorization function: grant different permissions to different users and limit the services they can use. For example, the administrator authorizes office users to access and print files on the server, while other temporary visitors do not have this permission.

[0034] Billing function: records all operations performed by users during the use of network services, including the type of service used, start time, data traffic, etc. It is used to collect and record the user's use of network resources, and can realize billing requirements based on time and traffic, and also monitor the network.

[0035] exist Figure 1 It can be seen that the client can include multiple, BRAS equipment can also include multiple, Figure 1 Multiple clients and two BRAS devices are shown in FIG.

[0036] When executing the specific access process, you can refer to Figure 2 shown. Figure 2 A simple signaling flow diagram for implementing device address management is shown in FIG.

[0037] First, Figure 1 For example, client 1 sends a request to the first BRAS device ( Figure 1 The BRAS device 1) sends a DHCP message, which is an address application request. The address application request carries the first identification information corresponding to the client. The first BRAS device creates an IPEO temporary session according to the DHCP message. In addition, the first BRAS device sends an authentication request to the AAA authentication server. The user name in the authentication request message contains user information, such as the first identification information, etc., to complete the network security authentication of the client, including the verification services of the three security functions mentioned above, such as authentication, authorization and billing.

[0038] Specific authentication methods may include IPEO authentication.

[0039] IPOE authentication includes two methods: binding authentication and web authentication.

[0040] Binding authentication refers to an authentication method in which the BRAS device automatically generates a username and password for identity authentication based on the user's access location information, without the user having to enter a username and password.

[0041] Web authentication refers to an authentication method in which users visit the authentication page of a Web authentication server and interactively enter their username and password for identity authentication.

[0042] IPOE authentication is a flexible access control technology that can implement access control at the access layer and at the entrance of key data that needs to be protected. It has the following advantages: no client software needs to be installed, and it is easy to use. It can provide operators with convenient management functions and business development functions. For example, operators can carry out personalized services such as advertising, community services, and information release on the page.

[0043] After the AAA server generates the authentication result, if the AAA server verifies that the client has passed, it will send an authentication acceptance message with authorization information to the first BRAS device. Otherwise, it will send an authentication rejection message to the DHCP server and feedback the authentication failure result to the first BRAS device.

[0044] After the first BRAS device obtains the authentication and authorization results of the client, it will update the authentication status of the IPEO session to pass or fail. After determining that the client authentication is passed, it sends a DHCP Discover data packet to the DHCP server, which includes an address application request.

[0045] After receiving the address application request, the DHCP server first determines whether address information has been allocated to the client before, that is, whether the first address information has been allocated, according to the first identification information in the address application request.

[0046] If it is determined that the first address information has been allocated, obtaining the second BRAS device ( Figure 1 According to the second identification information and the third identification information of the first broadband access server, it is determined whether the first BRAS device and the second BRAS device are the same BRAS device.

[0047] If they are not the same BRAS device, you need to perform the following steps:

[0048] Feedback the newly allocated second address information to the first BRAS device, and send a control instruction to the second broadband access server.

[0049] The first BRAS device allocates third address information to the client, where the third address information is address information generated according to the second address information and the first identification information.

[0050] The control instruction is used to instruct the second BRAS device to delete the address route corresponding to the client.

[0051] The second BRAS device deletes the address route corresponding to the client according to the control instruction.

[0052] In another case, when it is determined based on the first identification information that the first address information has not been allocated to the client before, it means that the client is applying for address information for the first time, and it is the first time to apply for an address through a BRAS device, that is, the first BRAS device. Therefore, the second address information can be directly fed back to the first broadband access server.

[0053] Alternatively, if the first BRAS device and the second BRAS device belong to the same device, the second address information will be directly allocated to the first (second) BRAS device.

[0054] It should be noted that the embodiments of the present application are not only applicable to the IPOE scenario of IPV4, but also to scenarios such as IPOE+WEB and PPPOE. At the same time, the IPV6 scenario can also refer to the IPV4 scenario and perform similar operations.

[0055] For details on the implementation process of this method, please refer to Figure 3 As shown, Figure 3 A schematic diagram of a device address management method provided by an embodiment of the present invention. The method steps are to be executed by a DHCP server, and the method includes:

[0056] Step 310: Receive an address application request sent by a first broadband access server.

[0057] Specifically, as described above, the address application request is used to indicate the application of address information for the client that establishes 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 the first broadband access server (for example, the first BRAS device) to the DHCP server, and the first BRAS device receives the client (for example, the address application request sent by the client 1 in the above text).

[0058] Step 320: When it is determined that the first address information has been previously allocated to the client according to the first identification information, second identification information of the second broadband access server is obtained.

[0059] Specifically, the DHCP server may determine, according to the first identification information, whether address information, such as the first address information, has been allocated to the client before.

[0060] If it is determined that the first address information has been allocated before, second identification information of a second broadband access server, such as a second BRAS device, is acquired.

[0061] Optionally, determining whether the first address information has been allocated before can be obtained by any of the following methods.

[0062] In a specific example, for example, according to the first identification information, it is checked whether there is address information that has a mapping relationship or a binding relationship with the first identification information. If there is, it means that the first address information has been allocated before, otherwise, it is determined that the first address information has not been allocated before.

[0063] In another specific example, it is also possible to determine whether the first address information has been previously allocated to the client 1 by querying the operation record (or operation log). Of course, the first identification information also needs to be used as a search index to query the corresponding operation record (or operation log).

[0064] As described above, the operation object for applying for the first address information for the client is the BRAS device. Therefore, when it is determined that the first address information has been allocated to the client, it is necessary to find the second BRAS device and then obtain the second identification information of the second BRAS device. Further, according to the second identification information and the third identification information corresponding to the first BRAS device, it is determined whether the first BRAS device and the second BRAS device are the same BRAS device, that is, step 330 is executed.

[0065] Step 330: Determine the first broadband access server and the second broadband access server according to the second identification information and the third identification information of the first broadband access server.

[0066] Specifically, the second identification information is directly compared with the third identification information, and when the two are the same, 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.

[0067] Step 340: when it is determined based on the second identification information and the third identification information of the first broadband access server that the first broadband access server and the second broadband access server are not the same broadband access server, the newly allocated second address information is fed back to the first broadband access server.

[0068] Step 350: Send a control instruction to the second broadband access server.

[0069] Specifically, when the first BRAS device and the second BRAS device are not the same BRAS device, it means that for some reason, it is necessary to switch from the first BRAS device to the second BRAS device. Then, the client applies for address information through the first BRAS device. Then, the subsequent egress router will not distribute the message fed back from the public network to the first BRAS device and the second BRAS device respectively.

[0070] Therefore, the newly allocated second address information needs to be fed back to the first broadband access server so that the first broadband access server can allocate 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.

[0071] At the same time, a control instruction needs to be sent to the second broadband access server, where the control instruction is used to instruct the second broadband access server to delete the address route corresponding to the client.

[0072] In an optional example, the address routing includes a customer flow table corresponding to the client, and fourth address information corresponding to the client, where the fourth address information is generated based on the first identification information and the first address information.

[0073] Specifically, the customer flow table may include the user's authority to use traffic, the user's network access authority, the type of service to access the network, the start time, data flow, etc., as well as the user's use of network resources, etc. The BRAS device can implement network security supervision of users through the customer flow table, and at the same time, it can also ensure the management and control of users' services, preventing users from occupying network resources such as network bandwidth and IP addresses without any constraints and control, thereby enabling various services to run finely.

[0074] Therefore, after receiving the second address information, the first BRAS device can create a new client flow table according to the first identification information of the client, the second address information, and the authorization information fed back by the AAA server.

[0075] At the same time, the third address information needs to be sent to the egress router so that the subsequent egress router can send the message obtained from the public network to the first BRAS device according to the third address information, so as to be fed back to the client through the first BRAS device.

[0076] The first BRAS device needs to delete the fourth address information and the customer flow table.

[0077] In another optional specific example, the first identification information is the IP address information corresponding to the second broadband access server, the second identification information is the MAC address information corresponding to the client, and the third identification information is the IP address information corresponding to the first broadband access server. In a specific example, the third address information is the IPV4 address information generated by the MAC address information corresponding to the client and the 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.

[0078] The device address management method provided by the embodiment of the present invention, after receiving the address application request sent by the first broadband access server, first determines whether the first address information has been allocated to the client before according to the first identification information carried in the address application request. If the first address information has been allocated, it is necessary to obtain the second identification information of the second broadband access server that has applied for the first address information for the client. And by comparing the second identification information with the third identification information of the first broadband access server, it is determined whether the second broadband access server is the first broadband access server. If the two belong to different broadband access servers, the newly allocated second address information is fed back to the first broadband access server, so that the first broadband access server generates the third identification information according to the second address information and the first identification information and then feeds it back to the client, so as to facilitate the client's subsequent network access.

[0079] At the same time, in order to prevent the egress router from distributing the message fed back from the public network to the first broadband access device and the second broadband access device respectively, a control instruction needs to be sent to the second broadband access device, and the control instruction is used to instruct the second broadband access device to delete the address route corresponding to the client. Therefore, the egress router can only find the first broadband access device according to the address route, and then feed back the message fed back from the public network to the client through the first broadband access server, thereby avoiding the occurrence of service failure of the client.

[0080] Optionally, in another specific embodiment of the present application, when it is determined based on the first identification information that the first address information has not been allocated to the client before, it means that the client is applying for address information for the first time, and it is the first time to apply for an address through a BRAS device, that is, the first BRAS device, so the second address information can be directly fed back to the first broadband access server.

[0081] In another case, when it is determined based on the second identification information and the third identification information that the first broadband access server and the second broadband access server are the same broadband access server, it means that there is no BRAS device switching, so the second address information can also be directly fed back to the first broadband access server.

[0082] Optionally, in another optional example, the method may further include: establishing a mapping relationship between the first identification information and the second address information.

[0083] Similar to the mapping relationship between the first identification information and the first address information established above, the mapping relationship between the first identification information and the second address information is established to facilitate subsequent querying of whether address information has been allocated to the client before.

[0084] It should also be 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 also be deleted to avoid querying the second BRAS device again and performing unnecessary operations.

[0085] Optionally, of course, if an operation record (operation log) similar to that described above is generated in this embodiment, then the operation record (operation log) can be updated, and the operation content with the "latest" time (closest to the current time) can be directly queried to query the first BRAS device.

[0086] Optionally, in accordance with any of the above embodiments, an embodiment of the present invention further provides another device address management method, which is executed by a BRAS device. The BRAS device in this embodiment may be a first BRAS device or a second BRAS device, or may be applicable to other BRAS devices. The method steps specifically include the following contents, see specifically Figure 4 As shown, the method steps include:

[0087] Step 410: receiving an address application request sent by a first client.

[0088] The address application request includes the first identification information of the first client.

[0089] Step 420: Feedback the first identification information to the authentication server for authentication.

[0090] Step 430: After the authentication is passed, an address application request is sent to the dynamic host configuration protocol server.

[0091] Step 440: after receiving the first address information fed back by the dynamic host configuration protocol server, generate the second address information according to the first address information and the first identification information.

[0092] The first address information is the address information generated by the dynamic host configuration protocol server according to the address application request;

[0093] The second address information is fed back to the first client and the egress router respectively.

[0094] Optionally, based on the above embodiment, the method further includes the following method steps, see Figure 5 As shown, the method includes:

[0095] Step 510: When receiving a control instruction fed back by the dynamic host configuration protocol server, determine a second client to establish a communication connection with itself according to the control instruction.

[0096] Step 520: Delete the routing information corresponding to the second client.

[0097] Optional, in the above Figure 4 or Figure 5 In any corresponding embodiment, the routing information includes a customer flow table corresponding to the second client, and third address information corresponding to the second client, the third address information is address information generated based on the second identification information of the second client and fourth address information, wherein the fourth address information is address information previously applied for from the dynamic host configuration protocol server for the second client.

[0098] Figures 4 to 5 The method steps in the illustrated example have been described in detail above, and therefore no further explanation will be given here.

[0099] The above are several method embodiments of device address management provided by the present application. The following describes other embodiments of device address management provided by the present application. Please refer to the following for details.

[0100] Figure 6 An embodiment of the present invention provides a device address management apparatus, which includes: a receiving module 601, a processing module 602, and a sending module 603.

[0101] The receiving module 601 is used to receive an address application request sent by the first broadband access server, where the address application request is used to indicate application for address information for a client that establishes a communication connection with the first broadband access server, and the address application request includes first identification information of the client;

[0102] The processing module 602 is used to determine whether the first address information has been previously allocated to the client according to the first identification information; when it is determined according to the first identification information that the first address information has been previously allocated to the client, obtain the second identification information of the second broadband access server, wherein the second broadband access server is a broadband access server that has previously applied for an address for the client; and, according to the second identification information and the third identification information of the first broadband access server, determine whether the first broadband access server and the second broadband access server are the same broadband access server;

[0103] The sending module 603 is used to feed back the newly allocated second address information to the first broadband access server when the processing module 602 determines, based on the second identification information and the third identification information of the first broadband access server, that the first broadband access server and the second broadband access server are not the same broadband access server, so as to allocate the third address information to the client through the first broadband access server, and to send a control instruction to the second broadband access server, wherein the control instruction is used to instruct the second broadband access server to delete the address route corresponding to the client, and the third address information is address information generated based on the second address information and the first identification information.

[0104] Optionally, the address routing includes a customer flow table corresponding to the client, and fourth address information corresponding to the client, where the fourth address information is generated based on the first identification information and the first address information.

[0105] Optionally, the sending module 603 is also used to directly feed back the second address information to the first broadband access server when the processing module 602 determines, based on the first identification information, that the first address information has not been previously allocated to the client, or when it is determined, based on the second identification information and the third identification information, that the first broadband access server and the second broadband access server are the same broadband access server.

[0106] Optionally, the processing module 602 is specifically used to query whether there is address information that has a mapping relationship with the first identification information;

[0107] When it is determined that there is address information that has a mapping relationship with the first identification information, it is determined that the first address information has been previously allocated to the client.

[0108] Optionally, the processing module 602 is further configured to establish a mapping relationship between the first identification information and the second address information.

[0109] 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.

[0110] The functions performed by each component in the device address management device provided by the embodiment of the present invention are all in Figure 3 The corresponding method embodiments are described in detail, so they will not be repeated here.

[0111] A device address management device provided by an embodiment of the present invention, after receiving an address application request sent by a first broadband access server, first determines whether the first address information has been allocated to the client before according to the first identification information carried in the address application request. If the first address information has been allocated, it is necessary to obtain the second identification information of the second broadband access server that has applied for the first address information for the client. And by comparing the second identification information with the third identification information of the first broadband access server, it is determined whether the second broadband access server is the first broadband access server. If the two belong to different broadband access servers, the newly allocated second address information is fed back to the first broadband access server, so that the first broadband access server generates the third identification information according to the second address information and the first identification information and then feeds it back to the client, so as to facilitate the client's subsequent network access.

[0112] At the same time, in order to prevent the egress router from distributing the message fed back from the public network to the first broadband access device and the second broadband access device respectively, a control instruction needs to be sent to the second broadband access device, and the control instruction is used to instruct the second broadband access device to delete the address route corresponding to the client. Therefore, the egress router can only find the first broadband access device according to the address route, and then feed back the message fed back from the public network to the client through the first broadband access server, thereby avoiding the occurrence of service failure of the client.

[0113] like Figure 7 As shown, an embodiment of the present application provides a server, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.

[0114] Memory 113, used for storing computer programs;

[0115] In one embodiment of the present application, the processor 111 is used to implement the device address management method provided by any one of the aforementioned method embodiments when executing the program stored in the memory 113, including:

[0116] receiving an address application request sent by the first broadband access server, the address application request being used to instruct a client to apply for address information for establishing a communication connection with the first broadband access server, the address application request including first identification information of the client;

[0117] When it is determined according to the first identification information that the first address information has been previously allocated to the client, second identification information of a second broadband access server is acquired, wherein the second broadband access server is a broadband access server that has previously applied for an address for the client;

[0118] When it is determined, based on the second identification information and the third identification information of the first broadband access server, that the first broadband access server and the second broadband access server are not the same broadband access server, the newly allocated second address information is fed back to the first broadband access server so that the third address information is allocated to the client through the first broadband access server, and a control instruction is sent to the second broadband access server, wherein the control instruction is used to instruct the second broadband access server to delete the address route corresponding to the client, and the third address information is address information generated based on the second address information and the first identification information.

[0119] Optionally, the address routing includes a customer flow table corresponding to the client, and fourth address information corresponding to the client, where the fourth address information is generated based on the first identification information and the first address information.

[0120] Optionally, when it is determined based on the first identification information that the first address information has not been allocated to the client before, or when it is determined based on the second identification information and the third identification information that the first broadband access server and the second broadband access server are the same broadband access server, the second address information is directly fed back to the first broadband access server.

[0121] Optionally, determining, according to the first identification information, whether the first address information has been previously allocated to the client specifically includes:

[0122] Query whether there is address information that has a mapping relationship established with the first identification information;

[0123] When it is determined that there is address information that has a mapping relationship with the first identification information, it is determined that the first address information has been previously allocated to the client.

[0124] Optionally, the method further includes: establishing a mapping relationship between the first identification information and the second address information.

[0125] 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.

[0126] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the device address management method provided in any of the aforementioned method embodiments are implemented.

[0127] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0128] The above is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features applied herein.

Claims

1. A device address management method, characterized in that: The method comprises: receiving an address application request sent by a first broadband access server, wherein the address application request is used to indicate application for address information for a client that establishes a communication connection with the first broadband access server, and the address application request includes first identification information of the client; Query whether there is address information that has a mapping relationship established with the first identification information; When it is determined that there is address information having a mapping relationship with the first identification information, determining that the first address information has been previously allocated to the client; When it is determined that the first address information has been previously allocated to the client, obtaining second identification information of a second broadband access server, wherein the second broadband access server is a broadband access server that has previously applied for an address for the client; The second identification information is compared with the third identification information of the first broadband access server. When the second identification information is different from the third identification information of the first broadband access server, it is determined that the first broadband access server and the second broadband access server are not the same broadband access server. The newly allocated second address information is fed back to the first broadband access server so that the third address information is allocated to the client through the first broadband access server, and a control instruction is sent to the second broadband access server, wherein the control instruction is used to instruct the second broadband access server to delete the address route corresponding to the client, the third address information is address information generated according to the second address information and the first identification information; 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.

2. The method according to claim 1, characterized in that The address routing 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.

3. The method according to claim 1, characterized in that: When it is determined based on the first identification information that the first address information has not been allocated to the client before, or when it is determined based on the second identification information and the third identification information that the first broadband access server and the second broadband access server are the same broadband access server, 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, characterized in that: The method further comprises: A mapping relationship between the first identification information and the second address information is established.

5. A device address management device, characterized in that: The device comprises: A receiving module, configured to receive an address application request sent by a first broadband access server, wherein the address application request is used to indicate an application for address information for a client that establishes a communication connection with the first broadband access server, and the address application request includes first identification information of the client; A processing module, used for querying whether there is address information with which a mapping relationship is established with the first identification information; when it is determined that there is address information with which a mapping relationship is established with the first identification information, determining that the first address information has been previously allocated to the client; when it is determined that the first address information has been previously allocated to the client, obtaining second identification information of a second broadband access server, wherein the second broadband access server is a broadband access server for which an address has been previously applied for the client; and comparing the second identification information with the third identification information of the first broadband access server to determine whether the first broadband access server and the second broadband access server are the same broadband access server; a sending module, configured to feed back the 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 based on the second identification information and the third identification information of the first broadband access server being different, so as to allocate the third address information to the client through the first broadband access server, and to send a control instruction to the second broadband access server, wherein the control instruction is used to instruct the second broadband access server to delete the address route corresponding to the client, the third address information is address information generated based on the second address information and the first identification information; 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.

6. The device according to claim 5, characterized in that The processing module is further used to establish a mapping relationship between the first identification information and the second address information.

7. A dynamic host configuration protocol server, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, used to implement the steps of the device address management method described in any one of claims 1 to 4 when executing a program stored in a memory.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the device address management method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Authentication processing method and system for automatic login as well as server

    CN101764808A

  • Access method and device for network users

    CN106357486A