CN109862134B - Lease time configuration method and system of IP address and DHCP client - Google Patents

Lease time configuration method and system of IP address and DHCP client Download PDF

Info

Publication number
CN109862134B
CN109862134B CN201910204791.2A CN201910204791A CN109862134B CN 109862134 B CN109862134 B CN 109862134B CN 201910204791 A CN201910204791 A CN 201910204791A CN 109862134 B CN109862134 B CN 109862134B
Authority
CN
China
Prior art keywords
lease time
address
target
service type
time
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.)
Active
Application number
CN201910204791.2A
Other languages
Chinese (zh)
Other versions
CN109862134A (en
Inventor
张学茹
葛瑾
杨艳松
刘畅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910204791.2A priority Critical patent/CN109862134B/en
Publication of CN109862134A publication Critical patent/CN109862134A/en
Application granted granted Critical
Publication of CN109862134B publication Critical patent/CN109862134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a lease time configuration method and a lease time configuration system for an IP address, relates to the field of DHCP application, and can configure different lease times based on service difference. The method comprises the following steps: receiving a query message of a DHCP client, wherein the query message comprises an address allocation request and a custom option field indicating the service type; analyzing and obtaining the service type; allocating a target IP address for the DHCP client according to the address allocation request, and determining lease time of the target IP address according to a preset rule; packaging the target IP address and the lease time thereof in a response message and sending the response message to the DHCP client; receiving a request message sent by a DHCP client, and generating a confirmation message for requesting permission to use a target IP address and the lease time with the use time as the target IP address according to the request message; and sending the confirmation message to the DHCP client so that the DHCP client uses the target IP address according to the lease time of the target IP address.

Description

Lease time configuration method and system of IP address and DHCP client
Technical Field
The invention relates to the field of DHCP application, in particular to a lease time configuration method and a lease time configuration system for an IP address.
Background
With the continuous development of networks, the network scale is gradually enlarged and the types of bearer services are increasingly enriched. In an actual network environment, due to the mobility of terminal devices, the number of terminal devices, and the like, a dynamic IP Address (Internet Protocol Address) allocation mechanism is often required. The DHCP (Dynamic Host Configuration Protocol) is gradually and continuously developed to meet such demands. Currently, the DHCP protocol is widely used in operators and enterprise networking, mainly for dynamic allocation and management of IP addresses. The DHCP protocol participant comprises a DHCP Client, a DHCP Relay and a DHCP server, and the protocol implementation process usually comprises five steps: firstly, a DHCP Client sends a query message to search a DHCP set; secondly, the DHCP Server replies the received DHCP Client inquiry message through a response message; thirdly, the DHCP Client receives the replies of the plurality of DHCP servers and selects one DHCP server according to the strategy; fourthly, the DHCP Client sends a request message to the selected DHCP server; and fifthly, the DHCPSever sends a confirmation message to the DHCP Client. Thereby completing the east-dai allocation process of the address. The response message sent by the DHCP server to the DHCP Client in the second step is a pre-allocation message of the DHCP server, and usually includes information such as an IP address planned to be allocated and lease time. After the lease time expires, the DHCP Client needs to reinitiate the dynamic address allocation request.
Currently, in network implementation, lease time of an IP address is usually configured by default or by equipment in a unified manner. However, in network planning and application, an operator network is usually shared by multiple types of users and multiple services coexist. Different service types are different in the characteristics of address stability requirements, and if uniform IP address lease time limitation is adopted, the following defects exist: on one hand, for services with the requirement on address lease time parameters shorter than the configuration value, the IP address is not released in time, and the waste of the IP address is caused. On the other hand, for services with address lease time parameter requirements longer than the configuration value, the interaction times of IP application are additionally increased, and time delay brought by communication between the DHCP Client and the DHCP set is introduced.
Disclosure of Invention
Embodiments of the present invention provide a method and a system for lease time configuration of an IP address, which can allocate different lease times of IP addresses to a DHCP client based on different services.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, a lease time configuration method for an IP address is provided, which is applied to a DHCP server and includes:
receiving a query message of a DHCP client, wherein the query message comprises an address allocation request and a user-defined Option field, and the user-defined Option field is used for indicating the service type of a service used by the DHCP client;
analyzing the query message to acquire the service type and the address allocation request of the service used by the DHCP client;
allocating a target IP address for the DHCP client according to the address allocation request, and determining lease time of the target IP address according to the service type and a preset rule;
packaging the target IP address and lease time thereof in a response message corresponding to the query message and sending the response message to the DHCP client;
receiving a request message sent by a DHCP client, and generating a confirmation message according to the request message; the request message is at least used for requesting permission to use the target IP address and the use time is lease time of the target IP address;
and sending the confirmation message to the DHCP client so that the DHCP client uses the target IP address according to the lease time of the target IP address.
In the technical scheme provided by the embodiment, after receiving the query message of the DHCP client, the query message is analyzed to obtain the address allocation request of the DHCP client and the service type of the service used by the DHCP client, and then the lease time of the target IP address is determined according to the service type of the service used by the DHCP client and the preset rule except that the target IP address is allocated to the DHCP client according to the address allocation request; then packaging the target IP address and lease time thereof in a corresponding message and sending the message to the DHCP client; and finally, after receiving the request message of the DHCP client, sending a corresponding confirmation message to enable the DHCP client to use the target IP address according to the lease time of the target IP address. According to the technical scheme provided by the embodiment of the invention, the corresponding lease time can be set for the IP address allocated to the DHCP client according to the preset rule aiming at the service type, the lease time corresponding to different service types is different, and the problems that the lease time of the existing IP address is a uniform fixed value, some DHCP clients needing to use the IP address for a long time generate a plurality of interactive processes of IP address application because the lease time is not enough and some DHCP clients needing to use the IP address for a short time occupy a certain IP address but do not use the same are avoided. Thereby achieving the effect of improving the utilization efficiency of the IP address.
In a second aspect, a DHCP server is provided, including: the device comprises a receiving module, an analysis module, a processing module and a sending module;
the receiving module is used for receiving a query message of the DHCP client, wherein the query message comprises an address allocation request and a custom Option field, and the custom Option field is used for indicating the service type of a service used by the DHCP client;
the analysis module is used for analyzing the query message received by the receiving module to acquire the service type of the service used by the DHCP client;
the processing module is used for allocating a target IP address to the DHCP client according to the address allocation request analyzed by the analysis module and determining lease time of the target IP address according to the service type analyzed by the analysis module and a preset rule;
the processing module is also used for encapsulating the target IP address and the lease time thereof in a response message corresponding to the query message;
the sending module is used for sending the response message packaged by the processing module to the DHCP client;
the processing module is also used for generating a confirmation message according to the request message received by the receiving module after the receiving module receives the request message sent by the DHCP client; the request message is at least used for requesting permission to use the target IP address and the use time is lease time of the target IP address;
the sending module is further configured to send the confirmation message generated by the processing module to the DHCP client, so that the DHCP client uses the target IP address according to the lease time of the target IP address.
In a third aspect, a DHCP server is provided, which includes a memory, a processor, a bus, and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the device is operated, the processor executes the computer execution instructions stored in the memory, so that the DHCP server executes the lease time configuration method for the IP address as provided in the first aspect.
In a fourth aspect, there is provided a computer storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the lease time configuration method for an IP address as provided in the first aspect.
In a fifth aspect, a DHCP client is provided, including: the device comprises a sending module, a receiving module and a processing module;
the sending module is used for broadcasting a query message aiming at the DHCP server; the query message comprises an address allocation request and a custom Option field, wherein the custom Option field is used for indicating the service type of the service used by the DHCP client;
the receiving module is used for receiving a response message which is sent by the DHCP server and corresponds to the query message; the response message is packaged with a target IP address corresponding to the address allocation request and lease time thereof;
the processing module is used for selecting a target DHCP server from the DHCP servers corresponding to each response message received by the receiving module according to a preset strategy and generating a request message according to the response message; the request message is at least used for requesting permission to use the target IP address and the use time is lease time of the target IP address;
the sending module is also used for sending the request message generated by the processing module to a target DHCP server;
the receiving module is also used for receiving a confirmation message sent by the target DHCP server side;
the processing module is also used for controlling the DHCP client to use the target IP address according to the lease time of the target IP address according to the confirmation message received by the receiving module.
In a sixth aspect, a lease time configuration system for an IP address is provided, which includes the DHCP server provided in the second aspect and the DHCP client provided in the fifth aspect.
The lease time configuration method and system for IP address provided by the embodiment of the invention are applied to a DHCP server side, and comprise the following steps: receiving a query message of a DHCP client, wherein the query message comprises an address allocation request and a user-defined Option field, and the user-defined Option field is used for indicating the service type of a service used by the DHCP client; analyzing the query message to acquire the service type of the service used by the DHCP client; allocating a target IP address for the DHCP client according to the address allocation request, and determining lease time of the target IP address according to the service type and a preset rule; packaging the target IP address and lease time thereof in a response message corresponding to the query message and sending the response message to the DHCP client; receiving a request message sent by a DHCP client, and generating a confirmation message according to the request message; the request message is at least used for requesting permission to use the target IP address and the use time is lease time of the target IP address; and sending the confirmation message to the DHCP client so that the DHCP client uses the target IP address according to the lease time of the target IP address. According to the technical scheme provided by the embodiment of the invention, after receiving the query message of the DHCP client, the query message is analyzed to obtain the address allocation request of the DHCP client and the service type of the service used by the DHCP client, and then the lease time of the target IP address is determined according to the service type of the service used by the DHCP client and the preset rule except that the target IP address is allocated to the DHCP client according to the address allocation request; then packaging the target IP address and lease time thereof in a corresponding message and sending the message to the DHCP client; and finally, after receiving the request message of the DHCP client, sending a corresponding confirmation message to enable the DHCP client to use the target IP address according to the lease time of the target IP address. According to the technical scheme provided by the embodiment of the invention, the corresponding lease time can be set for the IP address allocated to the DHCP client according to the preset rule aiming at the service type, the lease time corresponding to different service types is different, and the problems that the lease time of the existing IP address is a uniform fixed value, some DHCP clients needing to use the IP address for a long time generate a plurality of interactive processes of IP address application because the lease time is not enough and some DHCP clients needing to use the IP address for a short time occupy a certain IP address but do not use the same are avoided. Thereby achieving the effect of improving the utilization efficiency of the IP address.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a lease time configuration method for an IP address according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a lease time configuration method for an IP address according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating a lease time configuration method for an IP address according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating a lease time configuration method for an IP address according to still another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a DHCP server according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a DHCP server according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a DHCP client according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a lease time configuration system for an IP address according to an embodiment of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
It should be noted that, in the embodiments of the present invention, "of", "corresponding" and "corresponding" may be sometimes used in combination, and it should be noted that, when the difference is not emphasized, the intended meaning is consistent.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used for distinguishing the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the words "first", "second", and the like are not limited in number or execution order.
Currently, in network implementations, lease time of an IP address is usually configured by default or by device in a unified manner. However, in network planning and application, an operator network is usually shared by multiple types of users and multiple services coexist. Different service types are different in the characteristics of address stability requirements, and if uniform IP address lease time limitation is adopted, the following defects exist: on one hand, for services with the requirement on address lease time parameters shorter than the configuration value, the IP address is not released in time, and the waste of the IP address is caused. On the other hand, for services with address lease time parameter requirements longer than configuration values, the number of interaction times of IP application is additionally increased, and time delay brought by communication between the Client of the DHCP Client and the server of the DHCP server is introduced.
To solve the above problem, referring to fig. 1, an embodiment of the present invention provides a lease time configuration method for an IP address, which is applied to a DHCP server and includes:
101. and receiving an inquiry message of the DHCP client.
The query message comprises an address allocation request and a custom Option field, wherein the custom Option field is used for indicating the service type of the service used by the DHCP client.
102. And analyzing the query message to acquire the service type and the address allocation request of the service used by the DHCP client.
103. And allocating a target IP address for the DHCP client according to the address allocation request.
104. And determining the lease time of the target IP address according to the service type and a preset rule.
Optionally, referring to fig. 2, the step 104 specifically includes:
1041. and searching a first target lease time corresponding to the service type from the first lease time table according to the service type, and determining the first target lease time as the lease time of the target IP address.
And the first lease time table comprises lease time corresponding to each service type.
Illustratively, when there are DHCP clients using services of the service type one and the service type two, a first IP address lease time and a second IP address lease time are respectively configured for the two DHCP clients according to the service types, the first IP address lease time is a lease time configured for an IP address allocated to the DHCP client using the service of the service type one, and the second IP address lease time is a lease time configured for an IP address allocated to the DHCP client using the service of the service type two.
10421. And selecting a first target lease time calculation formula corresponding to the service type from the first lease time calculation formula library according to the service type.
The first lease time calculation formula library comprises lease time calculation formulas corresponding to each service type.
Specifically, the first lease time calculation formula library includes at least two different lease time calculation formulas, for example:
the lease time calculation formula corresponding to the service type one is as follows:
Figure BDA0001998629820000071
wherein, the first IP address lease time is the lease time configured for the IP address allocated to the DHCP client terminal which uses the service and has the service type one, T11And T12Is a preset value, time is the current time, t1And t2The specific time is; t is t1And t2The specific time can be obtained according to the statistics of the service data of which the service type is the first service type, and the time period division in the specific formula can be specific to the DHCP of the service of which the use type is the first service type during busy time and idle timeThe client configures different IP address lease times; illustratively, assume that the current time is 13:00, t1Is 9:00, t2At 18:00, the lease time configured for the IP address assigned to the DHCP client using the service type one shall be T11
The lease time calculation formula corresponding to the service type one is as follows:
Figure BDA0001998629820000072
wherein, the second IP address lease time is the lease time configured for the IP address which needs to be allocated to the DHCP client terminal using the service with the service type of two, T21And T22Is a preset value, time is the current time, t3And t4The specific time is; t is t3And t4The specific time can be obtained according to the statistics of the service data of which the service type is the service type two, and the time period division in the specific formula can configure different IP address lease times for the service DHCP client side of which the use type is the service type two aiming at busy time and idle time; t is the same for different services because busy and idle times are not necessarily the same3And t1May be the same or different, t4And t2May be the same or different.
Specifically, the idle busy hour of a certain service may be different time periods of each day, may be different time periods of each month, or may be different time periods of each year, so the time may be for the time of each day, for example, 8:00, may be for the time of each month, for example, zero fifteen of this month, or may be for the time of each year, for example, zero of this month, seven months, and one day of this year; in addition, busy hours of a certain service are not only just divided into two sections in each unit time period (day, month, year, etc.) like the above formula, but also a plurality of busy hours and a plurality of idle hours exist, so that each lease time calculation formula can be divided into a plurality of situations in practice, not only into two situations as in the above formula; again, the lease time value, e.g., T, resulting from the above equation11The calculation formula is obtained according to actual statistics, or may be a specific calculation formula of lease time related to the current time, which is obtained through statistics, for example, the formula (1) may be:
the first IP address lease time is a time/b; (3)
wherein a and b are parameter values obtained by actual statistics, and the specific numerical value is determined according to the actual statistical result; it should be noted that, for example only, the formula obtained by actual statistics may be more complex, and the above formula (3) does not have an actual acceptance value.
10422. And calculating the lease time of the target IP address according to the current time and a first target lease time calculation formula.
Optionally, in multiple situations of services in practice, some services may directly determine lease time of a required IP address according to a service type, and other services further select a specific lease time calculation formula according to the service type and then determine lease time of the required IP address according to a current time and the lease time calculation formula, so as shown in fig. 3, the step 104 specifically includes:
10431. and when the service type is the first type of service type, searching a second target lease time corresponding to the service type from the second lease time table according to the service type.
And the second lease time table comprises lease time corresponding to each service type in the first type of service types.
10432. The second target lease time is determined as the lease time for the target IP address.
10441. And when the service type is the second service type, selecting a second target lease time calculation formula corresponding to the service type from a second lease time calculation formula library according to the service type.
The second lease time calculation formula library comprises lease time calculation formulas corresponding to each service type in the second service types; for the case of the specific lease time calculation formula, reference may be made to the foregoing specific description of step 10421 in fig. 2, and details are not repeated here.
10442. And calculating the lease time of the target IP address according to the current time and a second target lease time calculation formula.
Optionally, in practice, the lease time is determined not only by selecting different lease time calculation rules according to different service types in step 104 shown in fig. 3 (one is to determine the lease time directly according to the service type, and the other is to select different lease time calculation formulas according to the service type, and then determine the lease time according to the selected lease time calculation formula at the present moment); or, different lease time calculation rules may be selected according to the current time, specifically, as shown in fig. 4, the step 104 specifically includes:
10451. and when the current time is determined to be in the first time period, searching a third target lease time corresponding to the service type from the third lease time table according to the service type.
And the third lease time table comprises lease time corresponding to each service type.
10452. The third target lease time is determined as the lease time for the target IP address.
10461. And when the current moment is determined not to be in the first time period, selecting a third target lease time calculation formula corresponding to the service type from a third lease time calculation formula library according to the service type.
And the third lease time calculation formula library comprises lease time calculation formulas corresponding to each service type.
Specifically, the library of third lease time calculation formulas may refer to the specific description for step 10421 in fig. 2, except that the first period in step 10461 may be a continuous period, for example, the first period may be 8:00-19: 00; or may be discrete time periods, such as, for example, a unit time period of days, the first time period being 8:00-9:00, 10:00-12:00, and 14:00-16: 00; therefore, in each lease time calculation formula in the third lease time calculation formula library in 10461, for the time division, instead of dividing each unit time period (day, month, year) into two or more time periods which may form one unit time period, the time period other than the first time period in each unit time period is divided into two or more time periods, for example, taking formula (1) in 10421 as an example, if the unit time period is day and the first time period is 8:00-19:00, the formula in 10461 may be specifically:
Figure BDA0001998629820000101
wherein, t5Is 19:00, t6Is 00:00, t7Is 8:00, T31And T32The lease time value obtained for statistics.
10462. And calculating the lease time of the target IP address according to the current time and a third target lease time calculation formula.
It should be noted that the steps 104 shown in fig. 2, 3 and 4 can be combined within a reasonable range to generate a new lease time scheme for determining the target IP address;
for example, after the steps 10431 and 10441, a step may be added to determine the current time, if the current time is in the preset time period, the lease time is determined from the lease time table according to the service type, if the current time is not in the preset time period, the lease time is calculated after the formula is determined from the lease time calculation formula library according to the service type, where the formula in the lease time formula library may refer to the expression in the step 10461;
for another example, after the steps 10451 and 10461, a step of judging the service type may be added, if the service type is the first type, the lease time is determined from the lease time table according to the service type, if the service type is the second type, the lease time is calculated after the formula is determined from the lease time calculation formula library according to the service type, wherein the formula in the lease time formula library may refer to the expression in the step 10461; specific schemes can be obtained by referring to the foregoing description, and are not described in detail herein.
105. And encapsulating the target IP address and the lease time thereof in a response message corresponding to the query message and sending the response message to the DHCP client.
Illustratively, the response message is an offer message, and the lease time of the IP address is specifically encapsulated in an option51 field in the offer message.
106. And receiving a request message sent by the DHCP client, and generating a confirmation message according to the request message.
The request message is at least used for requesting permission to use the target IP address, and the use time is lease time of the target IP address.
107. And sending the confirmation message to the DHCP client so that the DHCP client uses the target IP address according to the lease time of the target IP address.
The lease time configuration method of the IP address provided by the embodiment of the invention is applied to a DHCP server side and comprises the following steps: receiving a query message of a DHCP client, wherein the query message comprises an address allocation request and a user-defined Option field, and the user-defined Option field is used for indicating the service type of a service used by the DHCP client; analyzing the query message to acquire the service type of the service used by the DHCP client; allocating a target IP address for the DHCP client according to the address allocation request, and determining lease time of the target IP address according to the service type and a preset rule; packaging the target IP address and lease time thereof in a response message corresponding to the query message and sending the response message to the DHCP client; receiving a request message sent by a DHCP client, and generating a confirmation message according to the request message; the request message is at least used for requesting permission to use the target IP address and the use time is lease time of the target IP address; and sending the confirmation message to the DHCP client so that the DHCP client uses the target IP address according to the lease time of the target IP address. According to the technical scheme provided by the embodiment of the invention, after receiving the query message of the DHCP client, the query message is analyzed to obtain the address allocation request of the DHCP client and the service type of the service used by the DHCP client, and then the lease time of the target IP address is determined according to the service type of the service used by the DHCP client and the preset rule except that the target IP address is allocated to the DHCP client according to the address allocation request; then packaging the target IP address and lease time thereof in a corresponding message and sending the message to the DHCP client; and finally, after receiving the request message of the DHCP client, sending a corresponding confirmation message to enable the DHCP client to use the target IP address according to the lease time of the target IP address. According to the technical scheme provided by the embodiment of the invention, the corresponding lease time can be set for the IP address allocated to the DHCP client according to the preset rule aiming at the service type, the lease time corresponding to different service types is different, and the problems that the lease time of the existing IP address is a uniform fixed value, some DHCP clients needing to use the IP address for a long time generate a plurality of interactive processes of IP address application because the lease time is not enough and some DHCP clients needing to use the IP address for a short time occupy a certain IP address but do not use the same are avoided. Thereby achieving the effect of improving the utilization efficiency of the IP address.
Referring to fig. 5, an embodiment of the present invention further provides a DHCP server 01, including: a receiving module 51, an analyzing module 52, a processing module 53 and a sending module 54;
the receiving module 51 is configured to receive an inquiry message of the DHCP client 02, where the inquiry message includes an address allocation request and a custom Option field, and the custom Option field is used to indicate a service type of a service used by the DHCP client 02;
the analyzing module 52 is configured to analyze the query message received by the receiving module 51 to obtain a service type and an address allocation request of a service used by the DHCP client 02;
the processing module 53 is configured to allocate a target IP address to the DHCP client 02 according to the address allocation request analyzed by the analysis module 52, and determine lease time of the target IP address according to a preset rule according to the service type analyzed by the analysis module 52;
the processing module 53 is further configured to encapsulate the target IP address and the lease time thereof in a response message corresponding to the query message;
a sending module 54, configured to send the response packet encapsulated by the processing module 53 to the DHCP client 02;
the processing module 53 is further configured to generate a confirmation message according to the request message received by the receiving module 51 after the receiving module 51 receives the request message sent by the DHCP client 02; the request message is at least used for requesting permission to use the target IP address and the use time is lease time of the target IP address;
the sending module 54 is further configured to send the confirmation message generated by the processing module 53 to the DHCP client 02, so that the DHCP client 02 uses the target IP address according to the lease time of the target IP address.
Optionally, the processing module 53 is specifically configured to: searching a first target lease time corresponding to the service type from the first lease time table according to the service type analyzed by the analyzing module 52, and determining the first target lease time as the lease time of the target IP address;
the first lease time table comprises lease time corresponding to each service type.
Optionally, the processing module 53 is specifically configured to: selecting a first target lease time calculation formula corresponding to the service type from the first lease time calculation formula library according to the service type analyzed by the analysis module 52; the first lease time calculation formula library comprises lease time calculation formulas corresponding to each service type;
and calculating the lease time of the target IP address according to the current time and a first target lease time calculation formula.
Optionally, the processing module 53 is specifically configured to: when the service type analyzed by the analysis module 52 is the first type of service type, searching a second target lease time corresponding to the service type from the second lease time table according to the service type, and determining the second target lease time as the lease time of the target IP address; the second lease time table comprises lease time corresponding to each service type in the first type of service types.
Optionally, the processing module 53 is further configured to: when the service type analyzed by the analysis module 52 is the second type of service type, selecting a second target lease time calculation formula corresponding to the service type from the second lease time calculation formula library according to the service type; the second lease time calculation formula library comprises lease time calculation formulas corresponding to each service type in the second type of service types;
and calculating the lease time of the target IP address according to the current time and a second target lease time calculation formula.
Optionally, the DHCP server 01 further includes a determining module 55;
a judging module 55, configured to judge whether the current time is in a first time period;
when the determining module 55 determines that the current time is in the first time period, the processing module 53 is configured to search, according to the service type analyzed by the analyzing module 52, a third target lease time corresponding to the service type from the third lease time table, and determine the third target lease time as a lease time of the target IP address; the third lease time table comprises lease time corresponding to each service type;
when the determining module 55 determines that the current time is not in the first time period, the processing module 53 is configured to select a third target lease time calculation formula corresponding to the service type from a third lease time calculation formula library according to the service type analyzed by the analyzing module 52; the third lease time calculation formula library comprises lease time calculation formulas corresponding to each service type;
the processing module 53 is further configured to calculate lease time of the target IP address according to the current time and a third target lease time calculation formula.
Referring to fig. 6, an embodiment of the present invention further provides another DHCP server, which includes a memory 61, a processor 62, a bus 63, and a communication interface 64; the memory 61 is used for storing computer execution instructions, and the processor 62 is connected with the memory 61 through a bus 63; when the DHCP server is running, the processor 62 executes the computer execution instructions stored in the memory 61 to make the DHCP server execute the lease time configuration method for the IP address as provided in the above-mentioned embodiments.
In particular implementations, processor 62(62-1 and 62-2) may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 6, for example, as one embodiment. And as an example, the DHCP server may include a plurality of processors 62, such as processor 62-1 and processor 62-2 shown in fig. 6. Each of the processors 62 may be a Single-Core Processor (CPU) or a Multi-Core Processor (CPU). Processor 62 may refer herein to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The Memory 61 may be a Read-Only Memory 61 (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic Disc storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory 61 may be self-contained and coupled to the processor 62 via a communication bus 63. The memory 61 may also be integrated with the processor 62.
In a specific implementation, the memory 61 is used for storing data in the present application and computer-executable instructions corresponding to software programs for executing the present application. The processor 62 may perform various functions of the DHCP server by running or executing software programs stored in the memory 61 and invoking data stored in the memory 61.
The communication interface 64 is any device such as a transceiver for communicating with other devices or communication Networks, such as a control system, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), and the like. The communication interface 64 may include a receiving unit to implement the receiving function and a transmitting unit to implement the transmitting function.
The bus 63 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (enhanced Industry Standard Architecture) bus, or the like. The bus 63 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The embodiment of the present invention further provides a computer storage medium, where the computer storage medium includes a computer execution instruction, and when the computer execution instruction runs on a computer, the computer is enabled to execute the lease time configuration method for an IP address provided in the foregoing embodiment.
The embodiment of the present invention further provides a computer program, where the computer program may be directly loaded into a memory and contains a software code, and the computer program is loaded and executed by a computer, and then can implement the lease time configuration method for an IP address provided in the above embodiment.
Referring to fig. 7, an embodiment of the present invention further provides a DHCP client 02, including: a transmitting module 71, a receiving module 72 and a processing module 73;
the sending module 71 is configured to broadcast an inquiry packet for the DHCP server 01; the query message includes an address allocation request and a custom Option field, and the custom Option field is used for indicating the service type of the service used by the DHCP client 02;
the receiving module 72 is configured to receive a response message corresponding to the query message sent by the DHCP server 01; the response message is packaged with a target IP address corresponding to the address allocation request and lease time thereof;
the processing module 73 is configured to select a target DHCP server 01 from the DHCP servers 01 corresponding to each response message received by the receiving module 72 according to a preset policy, and generate a request message according to the response message; the request message is at least used for requesting permission to use the target IP address and the use time is lease time of the target IP address;
the sending module 71 is further configured to send the request message generated by the processing module 73 to the target DHCP server 01;
the receiving module 72 is further configured to receive a confirmation message sent by the target DHCP server 01;
the processing module 73 is further configured to control the DHCP client 02 to use the target IP address according to the lease time of the target IP address according to the acknowledgement message received by the receiving module 72.
The embodiment of the invention also provides a lease time configuration system of the IP address, which comprises the DHCP server and the DHCP client.
Illustratively, referring to fig. 8, in practice, lease time of an IP address configures a system DHCP server 01, a DHCP relay 04, and at least two types of DHCP clients 02-1 and 02-2 using different services; wherein, the information interaction between the DHCP client 02(02-1 and 02-2) and the DHCP server 01 needs to be completed through the forwarding of the DHCP repeater.
The lease time configuration system for the IP address provided by the embodiment of the present invention includes the DHCP server and the DHCP client, so when configuring lease time for an IP address to be allocated by a certain DHCP client, the lease time configuration system for an IP address provided by the embodiment of the present invention first, after receiving an inquiry message of the DHCP client, analyzes the inquiry message to obtain an address allocation request of the DHCP client and a service type of a service used by the DHCP client, and then determines lease time for the target IP address according to a preset rule according to the service type of the service used by the DHCP client in addition to allocating the target IP address to the DHCP client according to the address allocation request; then packaging the target IP address and lease time thereof in a corresponding message and sending the message to the DHCP client; and finally, after receiving the request message of the DHCP client, sending a corresponding confirmation message to enable the DHCP client to use the target IP address according to the lease time of the target IP address. According to the technical scheme provided by the embodiment of the invention, the corresponding lease time can be set for the IP address allocated to the DHCP client according to the preset rule aiming at the service type, the lease time corresponding to different service types is different, and the problems that the lease time of the existing IP address is a uniform fixed value, some DHCP clients needing to use the IP address for a long time generate a plurality of interactive processes of IP address application because the lease time is not enough and some DHCP clients needing to use the IP address for a short time occupy a certain IP address but do not use the same are avoided. Thereby achieving the effect of improving the utilization efficiency of the IP address.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division ways in actual implementation. For example, various elements or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A lease time configuration method of an IP address is applied to a DHCP server side and is characterized by comprising the following steps:
receiving a query message of a DHCP client, wherein the query message comprises an address allocation request and a user-defined Option field, and the user-defined Option field is used for indicating the service type of a service used by the DHCP client;
analyzing the query message to acquire the service type and the address allocation request of the service used by the DHCP client;
allocating a target IP address to the DHCP client according to the address allocation request, and determining lease time of the target IP address according to the service type and a preset rule, wherein the method specifically comprises the following steps:
selecting a first target lease time calculation formula corresponding to the service type from a first lease time calculation formula library according to the service type; the first lease time calculation formula library comprises lease time calculation formulas corresponding to each service type;
the first lease time calculation formula corresponding to the first service type is as follows:
Figure FDA0003402839200000011
the first IP address lease time is lease time configured for an IP address which is required to be allocated to a DHCP client using a service with a service type one, T11 and T12 are preset values, time is the current time, and T1 and T2 are specific times;
the calculation formula of the second lease time corresponding to the service type two is as follows:
Figure FDA0003402839200000012
wherein, the second IP address lease time is the lease time configured for the IP address which needs to be allocated to the DHCP client terminal using the service with the service type of two, T21And T22Is a preset value, time is the current time, t3And t4The specific time is;
calculating lease time of the target IP address according to the current time and the first target lease time calculation formula;
packaging the target IP address and the lease time thereof in a response message corresponding to the query message and sending the response message to the DHCP client;
receiving a request message sent by the DHCP client, and generating a confirmation message according to the request message; the request message is at least used for requesting permission to use the target IP address, and the use time is lease time of the target IP address;
and sending the confirmation message to the DHCP client side so that the DHCP client side uses the target IP address according to the lease time of the target IP address.
2. The method of claim 1, wherein the determining the lease time of the target IP address according to the service type and a preset rule comprises:
searching a first target lease time corresponding to the service type from a first lease time table according to the service type, and determining the first target lease time as the lease time of the target IP address;
the first lease time table comprises lease time corresponding to each service type.
3. The method of claim 1, wherein the determining the lease time of the target IP address according to the service type and a preset rule comprises:
when the service type is a first type service type, searching a second target lease time corresponding to the service type from a second lease time table according to the service type, and determining the second target lease time as the lease time of the target IP address; the second lease time table comprises lease time corresponding to each service type in the first type of service types.
4. The method of claim 3, wherein the determining the lease time of the target IP address according to the service type and a preset rule further comprises:
when the service type is a second service type, selecting a second target lease time calculation formula corresponding to the service type from a second lease time calculation formula library according to the service type; the second lease time calculation formula library comprises lease time calculation formulas corresponding to each service type in the second service types;
and calculating the lease time of the target IP address according to the current time and the second target lease time calculation formula.
5. The method of claim 1, wherein the determining the lease time of the target IP address according to the service type and a preset rule comprises:
when the current time is determined to be in the first time period, searching third target lease time corresponding to the service type from a third lease time table according to the service type, and determining the third target lease time as the lease time of the target IP address; the third lease time table comprises lease time corresponding to each service type;
when the current moment is determined not to be in the first time period, selecting a third target lease time calculation formula corresponding to the service type from a third lease time calculation formula library according to the service type; the third lease time calculation formula library comprises lease time calculation formulas corresponding to each service type;
and calculating the lease time of the target IP address according to the current time and the third target lease time calculation formula.
6. A DHCP server, comprising: the device comprises a receiving module, an analysis module, a processing module and a sending module;
the receiving module is used for receiving a query message of a DHCP client, wherein the query message comprises an address allocation request and a custom Option field, and the custom Option field is used for indicating the service type of the service used by the DHCP client;
the analysis module is used for analyzing the query message received by the receiving module to acquire the service type and the address allocation request of the service used by the DHCP client;
the processing module is used for allocating a target IP address to the DHCP client according to the address allocation request analyzed by the analysis module and determining lease time of the target IP address according to the service type analyzed by the analysis module and a preset rule;
the processing module is further configured to encapsulate the target IP address and the lease time thereof in a response message corresponding to the query message;
the sending module is configured to send the response packet encapsulated by the processing module to the DHCP client;
the processing module is further configured to generate a confirmation message according to the request message received by the receiving module after the receiving module receives the request message sent by the DHCP client; the request message is at least used for requesting permission to use the target IP address, and the use time is lease time of the target IP address;
the processing module is further specifically configured to:
selecting a first target lease time calculation formula corresponding to the service type from a first lease time calculation formula library according to the service type analyzed by the analysis module; the first lease time calculation formula library comprises lease time calculation formulas corresponding to each service type;
the first lease time calculation formula corresponding to the first service type is as follows:
Figure FDA0003402839200000031
wherein, the first IP address lease time is the lease time configured for the IP address allocated to the DHCP client terminal which uses the service and has the service type one, T11And T12Is a preset value, time is the current time, t1And t2The specific time is;
the calculation formula of the second lease time corresponding to the service type two is as follows:
Figure FDA0003402839200000041
wherein, the second IP address lease time is the lease time configured for the IP address which needs to be allocated to the DHCP client terminal using the service with the service type of two, T21And T22Is a preset value, time is the current time, t3And t4The specific time is;
calculating lease time of the target IP address according to the current time and the first target lease time calculation formula;
the sending module is further configured to send the acknowledgement packet generated by the processing module to the DHCP client, so that the DHCP client uses the target IP address according to the lease time of the target IP address.
7. The DHCP server according to claim 6, wherein the processing module is specifically configured to:
searching a first target lease time corresponding to the service type from a first lease time table according to the service type analyzed by the analysis module, and determining the first target lease time as the lease time of the target IP address;
the first lease time table comprises lease time corresponding to each service type.
8. The DHCP server according to claim 6, wherein the processing module is specifically configured to:
when the service type analyzed by the analysis module is a first type of service type, searching a second target lease time corresponding to the service type from a second lease time table according to the service type, and determining the second target lease time as the lease time of the target IP address; the second lease time table comprises lease time corresponding to each service type in the first type of service types.
9. The DHCP server of claim 8, wherein the processing module is further configured to:
when the service type analyzed by the analysis module is a second service type, selecting a second target lease time calculation formula corresponding to the service type from a second lease time calculation formula library according to the service type; the second lease time calculation formula library comprises lease time calculation formulas corresponding to each service type in the second service types;
and calculating the lease time of the target IP address according to the current time and the second target lease time calculation formula.
10. The DHCP server of claim 6, further comprising a determining module;
the judging module is used for judging whether the current time is in a first time period;
when the judging module determines that the current time is in a first time period, the processing module is used for searching a third target lease time corresponding to the service type from a third lease time table according to the service type analyzed by the analyzing module, and determining the third target lease time as the lease time of the target IP address; the third lease time table comprises lease time corresponding to each service type;
when the judging module determines that the current time is not in the first time period, the processing module is used for selecting a third target lease time calculation formula corresponding to the service type from a third lease time calculation formula library according to the service type analyzed by the analyzing module; the third lease time calculation formula library comprises lease time calculation formulas corresponding to each service type;
the processing module is further configured to calculate lease time of the target IP address according to the current time and the third target lease time calculation formula.
11. The DHCP server side is characterized by comprising a memory, a processor, a bus and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through the bus; when the device is operated, the processor executes the computer-executable instructions stored in the memory to enable the DHCP server to execute the lease time configuration method for an IP address according to any one of claims 1 to 5.
12. A computer storage medium comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the method for lease time configuration of an IP address as claimed in any one of claims 1 to 5.
13. A DHCP client, comprising: the device comprises a sending module, a receiving module and a processing module;
the sending module is used for broadcasting a query message aiming at the DHCP server; the query message comprises an address allocation request and a custom Option field, wherein the custom Option field is used for indicating the service type of the service used by the DHCP client;
the receiving module is used for receiving a response message which is sent by the DHCP server and corresponds to the query message; the response message is packaged with a target IP address corresponding to the address allocation request and lease time thereof;
the processing module is used for selecting a target DHCP server from the DHCP servers corresponding to each response message received by the receiving module according to a preset strategy and generating a request message according to the response message; the request message is at least used for requesting permission to use the target IP address, and the use time is lease time of the target IP address;
the processing module is further specifically configured to:
selecting a first target lease time calculation formula corresponding to the service type from a first lease time calculation formula library according to the service type analyzed by the analysis module; the first lease time calculation formula library comprises lease time calculation formulas corresponding to each service type;
the first lease time calculation formula corresponding to the first service type is as follows:
Figure FDA0003402839200000061
wherein, the first IP address lease time is the lease time configured for the IP address allocated to the DHCP client terminal which uses the service and has the service type one, T11And T12Is a preset value, time is the current time, t1And t2The specific time is;
the calculation formula of the second lease time corresponding to the service type two is as follows:
Figure FDA0003402839200000062
wherein, the second IP address lease time is the lease time configured for the IP address which is required to be allocated to the DHCP client terminal of the service type two21And T22Is a preset value, time is the current time, t3And t4The specific time is;
calculating lease time of the target IP address according to the current time and the first target lease time calculation formula;
the sending module is further configured to send the request packet generated by the processing module to the target DHCP server;
the receiving module is further configured to receive a confirmation message sent by the target DHCP server;
the processing module is further configured to control the DHCP client to use the target IP address according to the lease time of the target IP address according to the acknowledgement packet received by the receiving module.
14. A lease time configuration system for IP addresses, comprising a DHCP server according to any one of claims 6 to 10 and a DHCP client according to claim 13.
CN201910204791.2A 2019-03-18 2019-03-18 Lease time configuration method and system of IP address and DHCP client Active CN109862134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910204791.2A CN109862134B (en) 2019-03-18 2019-03-18 Lease time configuration method and system of IP address and DHCP client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910204791.2A CN109862134B (en) 2019-03-18 2019-03-18 Lease time configuration method and system of IP address and DHCP client

Publications (2)

Publication Number Publication Date
CN109862134A CN109862134A (en) 2019-06-07
CN109862134B true CN109862134B (en) 2022-02-01

Family

ID=66900973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910204791.2A Active CN109862134B (en) 2019-03-18 2019-03-18 Lease time configuration method and system of IP address and DHCP client

Country Status (1)

Country Link
CN (1) CN109862134B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115296994B (en) * 2022-08-12 2023-07-14 浪潮(北京)电子信息产业有限公司 Starting configuration method, device and medium for pooled heterogeneous computing resources
CN116723175B (en) * 2023-08-04 2023-11-21 天津华来科技股份有限公司 MAC (media access control) automatic application method and device for test equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090309A (en) * 2007-07-18 2007-12-19 杭州华三通信技术有限公司 Method for implementing DHCP service redundant and DHCP server
US7894437B2 (en) * 2007-12-29 2011-02-22 Alcatel Lucent Determining transmission port in a GPON network
CN102710814B (en) * 2012-06-21 2016-03-30 北京奇虎科技有限公司 The control method of virtual machine IP address and device
US9203689B2 (en) * 2012-10-26 2015-12-01 International Business Machines Corporation Differential dynamic host configuration protocol lease allocation
CN103475751B (en) * 2013-09-18 2016-08-10 杭州华三通信技术有限公司 A kind of method and device of IP address switching
US9954816B2 (en) * 2015-11-02 2018-04-24 Nominum, Inc. Delegation of content delivery to a local service
CN106982241A (en) * 2016-01-18 2017-07-25 中兴通讯股份有限公司 Method for managing resource, device and system
CN105939405B (en) * 2016-06-12 2020-01-03 杭州迪普科技股份有限公司 DHCP service processing method and device
CN108023969A (en) * 2016-11-02 2018-05-11 华为技术有限公司 A kind of IP address re-rents method and device
CN106656596B (en) * 2016-12-21 2019-11-01 瑞斯康达科技发展股份有限公司 SNMP network management and device based on Dynamic Host Configuration Protocol server
CN108307002B (en) * 2018-05-09 2021-06-22 华为技术有限公司 DHCP message processing method and device

Also Published As

Publication number Publication date
CN109862134A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109561141B (en) CDN node selection method and equipment
CN109547286B (en) CDN node selection method, device and storage medium
CN111460460B (en) Task access method, device, proxy server and machine-readable storage medium
WO2020052605A1 (en) Network slice selection method and device
US11637889B2 (en) Configuration recommendation for a microservice architecture
CN110677405B (en) Data processing method and device, electronic equipment and storage medium
CN109451002B (en) CDN node selection method and equipment
CN108494891A (en) A kind of domain name analytic method, server and system
WO2015096681A1 (en) Method and device for processing service access
WO2021057607A1 (en) Method and apparatus for node speed limiting, electronic device, and storage medium
EP3531749B1 (en) Management method, management unit and system for network function
US11403009B2 (en) Storage system, and method and apparatus for allocating storage resources
CN111212134A (en) Request message processing method and device, edge computing system and electronic equipment
EP2998862A1 (en) Method, device, and system for memory management
CN109862134B (en) Lease time configuration method and system of IP address and DHCP client
US20210044984A1 (en) Spectrum management device, system and method, and computer-readable storage medium
CN108737591B (en) Service configuration method and device
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
CN111459676A (en) Node resource management method, device and storage medium
CN112688995B (en) System migration method and device
CN110636149B (en) Remote access method, device, router and storage medium
CN114173396B (en) Method and device for determining terminal networking time, electronic equipment and storage medium
CN112019451A (en) Bandwidth allocation method, debugging network element, local cache server and computing equipment
CN109104506B (en) Method and device for determining domain name resolution rule and computer readable storage medium
CN115396494A (en) Real-time monitoring method and system based on stream computing

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
GR01 Patent grant
GR01 Patent grant