CN116016442A - IP address resource management method, cloud gateway, electronic device and storage medium - Google Patents
IP address resource management method, cloud gateway, electronic device and storage medium Download PDFInfo
- Publication number
- CN116016442A CN116016442A CN202211714808.7A CN202211714808A CN116016442A CN 116016442 A CN116016442 A CN 116016442A CN 202211714808 A CN202211714808 A CN 202211714808A CN 116016442 A CN116016442 A CN 116016442A
- Authority
- CN
- China
- Prior art keywords
- time
- target terminal
- period
- address resource
- difference
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请提供一种ip地址资源管理方法、云网关、电子设备及存储介质,该方法应用于云网关,通过对目标终端的实时流量数据进行分析,计算出目标终端访问网络的最新时间与当前时间的时间差,如果时间差大于预设差值,则表示在较长时间内目标终端未访问网络,可能处于下线状态,然后再向目标终端发送可达性探测报文,如果目标终端没有返回响应报文,则可以判定其已经下线,此时将目标终端的ip地址资源回收,回收时机较为准确,因此既不会影响目标终端的正常使用,又节省了网络资源,最大程度地提高了网络资源的使用率,减少了资源不足、资源浪费的情况。
This application provides an ip address resource management method, cloud gateway, electronic equipment, and storage medium. The method is applied to the cloud gateway. By analyzing the real-time traffic data of the target terminal, the latest time and the current time when the target terminal accesses the network are calculated. If the time difference is greater than the preset difference, it means that the target terminal has not accessed the network for a long time and may be offline, and then send a reachability detection message to the target terminal. If the target terminal does not return a response message text, it can be judged that it has been offline, and the ip address resource of the target terminal is recovered at this time, and the recovery timing is relatively accurate, so it will not affect the normal use of the target terminal, save network resources, and maximize network resources. The utilization rate of the system reduces the shortage of resources and the waste of resources.
Description
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种ip地址资源管理方法、云网关、电子设备及存储介质。The present application relates to the field of computer technology, and in particular to an ip address resource management method, a cloud gateway, electronic equipment and a storage medium.
背景技术Background technique
在当前网络地址资源的管理中,主要使用子局域网,即终端设备接入光猫/路由器,终端申请的ip地址由路由器提供,属于私网地址,私网地址目前有动态ip地址和静态ip地址两种类型,动态ip地址是临时的,可能会在重新启动系统或路由器时更改,静态ip地址不会改变,是由终端自主配置,它可以保持数周、数月甚至数年不变。目前动态ip地址是由租期机制来维持,即在dhcp服务器端配置一个固定租期,终端租借ip成功后,可在租期内使用该ip。静态ip地址是由终端自行配置,终端可直接使用该ip访问网络。In the current management of network address resources, sub-LAN is mainly used, that is, the terminal equipment is connected to the optical modem/router, and the ip address applied by the terminal is provided by the router, which belongs to the private network address. The private network address currently has dynamic ip address and static ip address Two types, the dynamic ip address is temporary and may change when the system or router is restarted, the static ip address does not change, it is configured by the terminal itself, it can remain unchanged for weeks, months or even years. At present, the dynamic ip address is maintained by the lease mechanism, that is, a fixed lease period is configured on the dhcp server. After the terminal successfully leases the ip, it can use the ip within the lease period. The static ip address is configured by the terminal itself, and the terminal can directly use this ip to access the network.
在当前ip地址资源释放方案中,动态ip地址的释放时机取决于ip地址的租期配置,若终端在租期未结束之前下线,则动态ip地址资源仍然会被占用一段时间,其他想接入网络的用户则会由于资源不足而接入失败,不能正常访问网络。静态ip地址的主要释放方案为定时清理、流量统计,但由于静态ip地址是用户自主配置,采用定时清理会造成用户短期性网络波动甚至断网的风险,而采用流量统计的误差会较大,原因是当前无流量产生可能是用户已下线,也可能是用户处于待机状态,如果直接将静态ip地址资源回收可能会影响待机用户的正常使用。In the current ip address resource release scheme, the release timing of the dynamic ip address depends on the lease configuration of the ip address. If the terminal goes offline before the lease expires, the dynamic ip address resource will still be occupied for a period of time. Users who access the network will fail to access the network due to insufficient resources, and cannot access the network normally. The main release schemes for static ip addresses are timing clearing and traffic statistics. However, since static ip addresses are configured by users independently, using regular clearing will cause short-term network fluctuations or even disconnection risks for users, while using traffic statistics will cause large errors. The reason is that there is currently no traffic generation. It may be that the user is offline, or the user is in the standby state. If the static IP address resource is recycled directly, the normal use of the standby user may be affected.
综上,当前网络资源管理方法存在ip地址资源回收时机不准确的技术问题,需要改进。To sum up, the current network resource management method has the technical problem of inaccurate recovery timing of ip address resources, which needs to be improved.
发明内容Contents of the invention
本申请实施例提供一种ip地址资源管理方法、云网关、电子设备及存储介质,用以缓解当前ip地址资源回收时机不准确的技术问题。The embodiment of the present application provides an ip address resource management method, a cloud gateway, an electronic device, and a storage medium, so as to alleviate the current technical problem of inaccurate recycling timing of ip address resources.
为解决上述技术问题,本申请实施例提供以下技术方案:In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:
本申请提供一种ip地址资源管理方法,应用于云网关,所述方法包括:The present application provides an ip address resource management method, which is applied to a cloud gateway, and the method includes:
获取目标终端的实时流量数据;Obtain real-time traffic data of the target terminal;
根据所述实时流量数据,确定所述目标终端访问网络的最新时间,并得到所述最新时间与当前时间的时间差;According to the real-time traffic data, determine the latest time when the target terminal accesses the network, and obtain the time difference between the latest time and the current time;
在所述时间差大于预设差值时,向所述目标终端发送可达性探测报文;When the time difference is greater than a preset difference, sending a reachability detection message to the target terminal;
若在预设条件下未接收到所述目标终端返回的响应报文,将所述目标终端的ip地址资源回收。If the response message returned by the target terminal is not received under the preset condition, recycle the ip address resource of the target terminal.
同时,本申请实施例还提供了一种云网关,包括:At the same time, the embodiment of the present application also provides a cloud gateway, including:
获取模块,用于获取目标终端的实时流量数据;An acquisition module, configured to acquire real-time traffic data of the target terminal;
得到模块,用于根据所述实时流量数据,确定所述目标终端访问网络的最新时间,并得到所述最新时间与当前时间的时间差;An obtaining module, configured to determine the latest time when the target terminal accesses the network according to the real-time traffic data, and obtain a time difference between the latest time and the current time;
发送模块,用于在所述时间差大于预设差值时,向所述目标终端发送可达性探测报文;A sending module, configured to send a reachability detection message to the target terminal when the time difference is greater than a preset difference;
回收模块,用于若在预设条件下未接收到所述目标终端返回的响应报文,将所述目标终端的ip地址资源回收。A recycling module, configured to recycle the ip address resources of the target terminal if the response message returned by the target terminal is not received under preset conditions.
本申请还提供一种电子设备,包括存储器和处理器;所述存储器存储有应用程序,所述处理器用于运行所述存储器内的应用程序,以执行上述任一项所述的ip地址资源管理方法中的步骤。The present application also provides an electronic device, including a memory and a processor; the memory stores an application program, and the processor is used to run the application program in the memory to perform the ip address resource management described in any one of the above steps in the method.
本申请实施例提供一种计算机可读存储介质,计算机可读存储介质存储有多条指令,指令适于处理器进行加载,以执行上述ip地址资源管理方法中的步骤。An embodiment of the present application provides a computer-readable storage medium, where a plurality of instructions are stored in the computer-readable storage medium, and the instructions are suitable for being loaded by a processor, so as to execute the steps in the above ip address resource management method.
有益效果:本申请提供一种ip地址资源管理方法、云网关、电子设备及存储介质,该方法应用于云网关,具体为先获取目标终端的实时流量数据,然后根据所述实时流量数据确定所述目标终端访问网络的最新时间,并得到所述最新时间与当前时间的时间差,在所述时间差大于预设差值时,向所述目标终端发送可达性探测报文,若在预设条件下未接收到所述目标终端返回的响应报文,将所述目标终端的ip地址资源回收。本申请通过对目标终端的实时流量数据进行分析,计算出目标终端访问网络的最新时间与当前时间的时间差,如果时间差大于预设差值,则表示在较长时间内目标终端未访问网络,可能处于下线状态,然后再向目标终端发送可达性探测报文,如果目标终端没有返回响应报文,则可以判定其已经下线,此时将目标终端的ip地址资源回收,回收时机较为准确,因此既不会影响目标终端的正常使用,又节省了网络资源,最大程度地提高了网络资源的使用率,减少了资源不足、资源浪费的情况。Beneficial effects: the application provides an ip address resource management method, cloud gateway, electronic equipment and storage medium. The method is applied to the cloud gateway, and specifically, first obtains the real-time traffic data of the target terminal, and then determines the target terminal according to the real-time traffic data. The latest time when the target terminal accesses the network, and obtain the time difference between the latest time and the current time, when the time difference is greater than the preset difference, send a reachability detection message to the target terminal, if the preset condition If the response message returned by the target terminal is not received, the ip address resource of the target terminal is recovered. This application analyzes the real-time traffic data of the target terminal to calculate the time difference between the latest time when the target terminal accesses the network and the current time. If the time difference is greater than the preset difference, it means that the target terminal has not accessed the network for a long time. In the offline state, then send a reachability detection message to the target terminal. If the target terminal does not return a response message, it can be judged that it has gone offline. At this time, the ip address resource of the target terminal is recycled, and the recovery timing is more accurate , so it will not affect the normal use of the target terminal, but also saves network resources, improves the utilization rate of network resources to the greatest extent, and reduces the situation of resource shortage and resource waste.
附图说明Description of drawings
下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其它有益效果显而易见。The technical solutions and other beneficial effects of the present application will be apparent through the detailed description of the specific embodiments of the present application below in conjunction with the accompanying drawings.
图1是本申请实施例提供的ip地址资源管理方法的场景示意图。FIG. 1 is a schematic diagram of a scene of an ip address resource management method provided by an embodiment of the present application.
图2为本申请实施例提供的ip地址资源管理方法的流程示意图。FIG. 2 is a schematic flow chart of an ip address resource management method provided by an embodiment of the present application.
图3为本申请实施例中终端和云网关的交互过程示意图。FIG. 3 is a schematic diagram of an interaction process between a terminal and a cloud gateway in an embodiment of the present application.
图4为本申请实施例提供的云网关的结构示意图。FIG. 4 is a schematic structural diagram of a cloud gateway provided by an embodiment of the present application.
图5为本申请实施例提供的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.
请参阅图1,图1为本申请实施例所提供的ip地址资源管理方法应用的场景示意图,该场景可以包括多个终端以及云网关,终端可以是手机、电脑等各类终端设备,云网关是终端与云端服务器之间的连通设备,其中:Please refer to FIG. 1. FIG. 1 is a schematic diagram of the application scenario of the ip address resource management method provided by the embodiment of the present application. The scenario may include multiple terminals and cloud gateways. The terminals may be various terminal devices such as mobile phones and computers, and the cloud gateway It is the connecting device between the terminal and the cloud server, where:
终端可以向云网关申请动态ip地址,或者自行配置静态ip地址,然后使用该ip地址访问网络,在访问时会产生实时流量数据。云网关先获取目标终端的实时流量数据,然后根据实时流量数据确定目标终端访问网络的最新时间,并得到最新时间与当前时间的时间差,在时间差大于预设差值时,向目标终端发送可达性探测报文,若在预设条件下未接收到目标终端返回的响应报文,则判定其已经下线,可以将目标终端的ip地址资源回收并分配给其他终端进行再利用,若在预设条件下接收到了目标终端返回的响应报文,则判定其为待机状态,继续进行上述检测过程。通过上述方法计算得到的ip地址资源回收时机较为准确,在此刻回收因此既不会影响目标终端的正常使用,又节省了网络资源,提高了资源利用率。The terminal can apply for a dynamic ip address from the cloud gateway, or configure a static ip address by itself, and then use this ip address to access the network, and real-time traffic data will be generated during the access. The cloud gateway first obtains the real-time traffic data of the target terminal, and then determines the latest time when the target terminal accesses the network according to the real-time traffic data, and obtains the time difference between the latest time and the current time. When the time difference is greater than the preset difference, it sends a reachable If the response message returned by the target terminal is not received under the preset conditions, it is determined that it has gone offline, and the ip address resources of the target terminal can be recovered and distributed to other terminals for reuse. Assuming that the response message returned by the target terminal is received under the condition, it is determined that it is in the standby state, and the above detection process is continued. The recovery timing of the ip address resource calculated by the above method is relatively accurate, and the recovery at this moment will not affect the normal use of the target terminal, save network resources, and improve resource utilization.
需要说明的是,图1所示的系统场景示意图仅仅是一个示例,本申请实施例描述的服务器以及场景是为了更加清楚地说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着系统的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。以下分别进行详细说明。需说明的是,以下实施例的描述顺序不作为对实施例优选顺序的限定。It should be noted that the schematic diagram of the system scenario shown in Figure 1 is only an example, and the server and the scenario described in the embodiment of the application are for more clearly illustrating the technical solution of the embodiment of the application, and do not constitute a provision for the embodiment of the application. Those skilled in the art know that, with the evolution of the system and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems. Each will be described in detail below. It should be noted that the description sequence of the following embodiments is not intended to limit the preferred sequence of the embodiments.
请参阅图2,图2是本申请实施例提供的ip地址资源管理方法的流程示意图,该方法具体包括:Please refer to FIG. 2. FIG. 2 is a schematic flow diagram of an ip address resource management method provided in the embodiment of the present application. The method specifically includes:
S1:获取目标终端的实时流量数据。S1: Obtain real-time traffic data of the target terminal.
本申请的ip地址资源管理方法应用于云网关,云网关是一种用作本地和云端业务之间互通桥梁的设备。目标终端是指通过云网关访问网络的任意一个终端,目标终端在进行网络访问之前,需要先获取自身的ip地址,ip地址可以是静态ip地址或者动态ip地址,具体根据目标终端的需求来定。其中,如果是静态ip地址,由云网关为目标终端分配,并配置一固定租期,目标终端租借动态ip地址成功后,在租期内可以使用该ip地址,如果是静态ip地址,则由目标终端自己自行配置。为便于说明,本实施例中以动态ip地址为例。The ip address resource management method of the present application is applied to a cloud gateway, which is a device used as a bridge between local and cloud services. The target terminal refers to any terminal that accesses the network through the cloud gateway. The target terminal needs to obtain its own ip address before accessing the network. The ip address can be a static ip address or a dynamic ip address, which is determined according to the needs of the target terminal. . Among them, if it is a static ip address, the cloud gateway will assign it to the target terminal and configure a fixed lease period. After the target terminal successfully leases the dynamic ip address, it can use the ip address within the lease period. If it is a static ip address, it will be assigned by The target terminal configures itself. For ease of description, a dynamic IP address is used as an example in this embodiment.
如图3所示,本申请中云网关包括网络资源管理模块、流量统计分析模块和资源检测回收模块,目标终端向云网关发送dhcp报文来申请动态ip地址,云网关的网络资源管理模型响应该报文的请求,从地址池中分配一个未被占用的ip地址给目标终端,则目标终端可以正常使用该ip地址来访问网络。目标终端在访问网络时会产生实时流量数据,在停止访问网络时则不会产生实时流量数据,实时流量数据的获取、统计和分析等工作由云网关的流量统计分析模块负责。As shown in Figure 3, the cloud gateway in this application includes a network resource management module, a traffic statistics analysis module, and a resource detection and recovery module. The target terminal sends a dhcp message to the cloud gateway to apply for a dynamic IP address. The network resource management model of the cloud gateway responds In response to the request of the message, an unoccupied ip address is allocated to the target terminal from the address pool, and the target terminal can normally use the ip address to access the network. The target terminal will generate real-time traffic data when accessing the network, and will not generate real-time traffic data when it stops accessing the network. The acquisition, statistics and analysis of real-time traffic data are handled by the traffic statistics analysis module of the cloud gateway.
S2:根据实时流量数据,确定目标终端访问网络的最新时间,并得到最新时间与当前时间的时间差。S2: According to the real-time traffic data, determine the latest time when the target terminal accesses the network, and obtain the time difference between the latest time and the current time.
如图3所示,流量统计分析模块对实时流量数据进行获取和统计,如果始终能统计到实时流量数据,则表示目标终端一直在访问网络,流量统计分析模块只需继续保持统计状态,而如果在固定周期内未统计到实时流量数据,则流量统计分析模块需要计算目标终端停止访问网络的超时时间,并根据该超时时间来决定是否需要通知资源检测回收模块进行后续工作。As shown in Figure 3, the traffic statistics and analysis module acquires and counts real-time traffic data. If the real-time traffic data can always be counted, it means that the target terminal has been accessing the network, and the traffic statistics and analysis module only needs to continue to maintain the statistics state. If the real-time traffic data is not counted within a fixed period, the traffic statistics analysis module needs to calculate the timeout period for the target terminal to stop accessing the network, and decide whether to notify the resource detection and recovery module to perform follow-up work according to the timeout period.
具体地,流量统计分析模块统计实时流量数据,可以得到目标终端访问网络的最新时间,也即最后访问时间,并计算最新时间T1与当前时间T2的时间差△T,也即超时时间。如果目标终端一直在访问网络,则最新时间T1会一直在变化,且时间差△T为0,如果目标终端在某一时刻停止访问网络,则从此刻起就不会产生实时流量数据,直至其重新开始访问网络,才会再次产生实时流量数据,最新时间T1为停止访问的时刻,时间差△T的数值会随着当前时间T的推移逐渐增大。Specifically, the traffic statistics analysis module collects real-time traffic data to obtain the latest time when the target terminal accesses the network, that is, the last access time, and calculates the time difference ΔT between the latest time T1 and the current time T2, that is, the timeout time. If the target terminal has been accessing the network, the latest time T1 will always change, and the time difference △T is 0. If the target terminal stops accessing the network at a certain moment, no real-time traffic data will be generated from this moment until it restarts. The real-time traffic data will be generated again when you start to access the network. The latest time T1 is the moment when the access is stopped, and the value of the time difference △T will gradually increase with the current time T.
在一种实施例中,S2具体包括:获取目标终端的流量监测周期;基于流量监测周期,定时计算最新时间与当前时间的时间差。在计算时间差时,可以采用定时计算方法,则在计算时间差之前需要先设定目标终端的流量监测周期,如10秒为一个周期,将该数值预先进行存储,同时云网关内维护一个定时器,在获取该数值后,基于该数值在每个流量监测周期的固定时刻进行一次计算。In one embodiment, S2 specifically includes: acquiring a traffic monitoring period of the target terminal; and periodically calculating a time difference between the latest time and the current time based on the traffic monitoring period. When calculating the time difference, you can use the timing calculation method. Before calculating the time difference, you need to set the flow monitoring cycle of the target terminal. For example, 10 seconds is a cycle, and the value is stored in advance. At the same time, a timer is maintained in the cloud gateway. After the value is obtained, a calculation is performed at a fixed time in each flow monitoring cycle based on the value.
在一种实施例中,获取目标终端的流量监测周期的步骤具体包括:根据目标终端的历史流量数据,确定目标终端的第一访问时间段和第二访问时间段,第一访问时间段内目标终端的下线率高于阈值,第二访问时间段内目标终端的下线率不高于阈值;分别获取目标终端在第一访问时间段内的第一流量监测周期和在第二访问时间段内的第二流量监测周期,第一流量监测周期小于第二流量监测周期。基于流量监测周期,定时计算最新时间与当前时间的时间差的步骤具体包括:在第一访问时间段内,基于第一流量监测周期定时计算最新时间与当前时间的时间差,在第二访问时间段内,基于第二流量监测周期定时计算最新时间与当前时间的时间差。In one embodiment, the step of obtaining the traffic monitoring period of the target terminal specifically includes: determining the first access time period and the second access time period of the target terminal according to the historical traffic data of the target terminal, and the target terminal within the first access time period The offline rate of the terminal is higher than the threshold, and the offline rate of the target terminal in the second access time period is not higher than the threshold; respectively obtain the first traffic monitoring cycle of the target terminal in the first access time period and the second access time period Within the second flow monitoring period, the first flow monitoring period is shorter than the second flow monitoring period. The step of regularly calculating the time difference between the latest time and the current time based on the flow monitoring cycle specifically includes: within the first access time period, regularly calculating the time difference between the latest time and the current time based on the first flow monitoring cycle, and during the second access time period , calculating the time difference between the latest time and the current time based on the timing of the second flow monitoring period.
在设定目标终端的流量监测周期时,可以设置一个固定值如10秒,也可以对目标终端在历史时间段内的网络访问情况进行分析,并根据分析结果,在不同时段设置不同周期进行定时计算,以实现既能迅速得知目标终端是否下线,又能节省计算资源。具体地,获取目标终端在历史时间段内的历史流量数据,历史时间段可以是过去的一周,一个月或者其他时长,具体可以根据需要选取。对历史流量数据进行分析,可以得到目标终端在历史时间段内,在一天中哪些时间段的下线率较高,哪些时间段的下线率When setting the traffic monitoring period of the target terminal, you can set a fixed value such as 10 seconds, or analyze the network access situation of the target terminal in the historical time period, and set different periods in different periods for timing according to the analysis results Calculation, so as to quickly know whether the target terminal is offline, and save computing resources. Specifically, the historical traffic data of the target terminal in a historical time period is acquired, and the historical time period may be the past week, month or other time periods, which may be selected according to needs. Analyzing the historical traffic data, you can get the target terminal in the historical time period, which time period of the day has a higher offline rate, and which time period has a higher offline rate
较低,将下线率较高的时间段作为第一访问时间段,下线率较低的时间段5作为第二访问时间段,然后为第一访问时间段设置第一流量监测周期,为The time period with a higher offline rate is set as the first visit time period, and the time period 5 with a lower offline rate is used as the second visit time period, and then the first traffic monitoring period is set for the first visit time period, which is
第二访问时间段设置第二流量监测周期。其中,第一流量监测周期的时长小于第二流量监测周期的时长,如第一流量监测周期为10秒,第二流量监测周期为20秒等。在后续计算时,如果当前位于一天中的第一访问时间段The second access period sets a second traffic monitoring cycle. Wherein, the duration of the first flow monitoring period is shorter than the duration of the second flow monitoring period, for example, the first flow monitoring period is 10 seconds, the second flow monitoring period is 20 seconds, and so on. In subsequent calculations, if the current is in the first access time period of the day
内,则基于第一流量监测周期较为频繁地进行时间差的定时计算,如果当0前位于一天中的第二访问时间段内,则基于第二流量监测周期相对没那么within the first traffic monitoring cycle, the timing calculation of the time difference is performed more frequently, and if the current 0 is within the second access time period of the day, then based on the second traffic monitoring cycle, it is relatively infrequent
频繁地进行时间差的定时计算。Timing calculations of time differences are performed frequently.
由于目标终端在过去一段时间内在第一访问时间段的下线率较高,则在该时间段ip地址资源的可回收概率也会较大,因此可以将每次计算时间Since the offline rate of the target terminal in the first access time period in the past period of time is relatively high, the recyclable probability of the ip address resource in this time period will also be relatively high, so the calculation time of each time can be calculated as
差的周期设置得更短,以保证在目标终端下线后可以迅速将ip地址资源回5收。而由于目标终端在过去一段时间内在第二访问时间段的下线率较低,The poor cycle is set shorter to ensure that the ip address resources can be recovered quickly after the target terminal goes offline. However, due to the low offline rate of the target terminal in the second access time period in the past period of time,
则在该时间段ip地址资源不需要回收的概率也会较大,因此可以将每次计算时间差的周期设置长一些,在准确计算ip地址资源回收时机和节省计算资源两者之前实现平衡。Then the probability that the ip address resources do not need to be recycled during this time period will be greater, so the cycle of each calculation time difference can be set longer to achieve a balance between accurately calculating the timing of ip address resource recovery and saving computing resources.
S3:在时间差大于预设差值时,向目标终端发送可达性探测报文。S3: When the time difference is greater than the preset difference, send a reachability detection message to the target terminal.
0当流量统计分析模块计算得到的时间差△T大于预设差值T0时,表示0 When the time difference ΔT calculated by the flow statistical analysis module is greater than the preset difference T0, it means
目标终端停止访问网络的时间较长,可能已经下线,此时,触发资源检测回收模块向目标终端发送可达性探测报文,以探测目标终端是否还在线。The target terminal has stopped accessing the network for a long time, and may have gone offline. At this time, the resource detection and recovery module is triggered to send a reachability detection message to the target terminal to detect whether the target terminal is still online.
在一种实施例中,S3具体包括:若目标终端为IPV4终端,向目标终In one embodiment, S3 specifically includes: if the target terminal is an IPV4 terminal, sending
端发送arp单播报文;若目标终端为IPV6终端,向目标终端发送ns单播报5文。如图3所示,与云网关连接的目标终端可能是IPV4终端,也可能是IPV6终端,IPV4和IPV6为IP协议的不同版本,arp报文和ns报文为不同协议的报文,但均为国际通用协议,针对两种类型的目标终端,分别采用各类型终端最适合的报文进行可达性探测。在本申请实施例中使用的可达性探The terminal sends an arp unicast message; if the target terminal is an IPV6 terminal, it sends an ns unicast message to the target terminal. As shown in Figure 3, the target terminal connected to the cloud gateway may be an IPV4 terminal or an IPV6 terminal. IPV4 and IPV6 are different versions of the IP protocol. It is an international common protocol. For two types of target terminals, the most suitable packets of each type of terminal are used for reachability detection. The reachability probe used in the examples of this application
测报文均采用国际通用标准的协议,因此避免了自定义标准的不通用性,0节省了开发时间,提高了开发效率。The test messages all adopt the international general standard protocol, thus avoiding the incompatibility of self-defined standards, saving development time and improving development efficiency.
S4:若在预设条件下未接收到目标终端返回的响应报文,将目标终端的ip地址资源回收。S4: If the response message returned by the target terminal is not received under the preset condition, recycle the ip address resource of the target terminal.
如图3所示,如果目标终端在接收到可达性探测报文后返回响应报文,资源检测回收模块在接收到响应报文后,判定目标终端处于待机状态,在该状态下虽然当前没有访问网络,但仍然需要保留其ip地址资源,则不会对ip地址资源进行回收。如果在预设条件下没有接收到目标终端返回的响应报文,则资源检测回收模块判定目标终端当前已经下线,则直接将其ip地址资源释放,并回收至空闲地址池中,当网络资源管理模块接收到新的ip地址申请时,可以视情况将本次回收的ip地址资源重新分配给其他终端,以提高ip地址资源的利用率。其中,预设条件可以是单次成功发送可达性探测报文且经过了一定时长,或者多次成功发送可达性探测报文且经过一定时长等。As shown in Figure 3, if the target terminal returns a response message after receiving the reachability detection message, the resource detection and recycling module determines that the target terminal is in the standby state after receiving the response message. Access to the network, but still need to reserve its ip address resources, the ip address resources will not be recycled. If the response message returned by the target terminal is not received under the preset conditions, the resource detection and recycling module determines that the target terminal is currently offline, and then directly releases its ip address resource and recycles it to the free address pool. When the management module receives an application for a new ip address, it can redistribute the ip address resources recovered this time to other terminals according to the situation, so as to improve the utilization rate of ip address resources. Wherein, the preset condition may be that the reachability detection message is successfully sent once and a certain period of time has elapsed, or the reachability detection message has been successfully sent multiple times and a certain period of time has elapsed.
在一种实施例中,S43具体包括:在时间差大于预设差值时,以预设时间间隔向目标终端发送预设数量的可达性探测报文。S4具体包括:若在最后一个可达性探测报文发出后,经过预设时间段未接收到目标终端返回的响应报文,将目标终端的ip地址资源回收。In an embodiment, S43 specifically includes: when the time difference is greater than a preset difference, sending a preset number of reachability detection messages to the target terminal at a preset time interval. S4 specifically includes: reclaiming the ip address resources of the target terminal if no response message returned by the target terminal is received within a preset period of time after the last reachability detection message is sent.
在发送可达性探测报文时,如果仅发送一次,可能会由于发送异常或接收异常导致目标终端没有下线但却没有收到响应报文,造成对目标终端的误判断。因此,本申请以预设时间间隔向目标终端发送预设数量的可达性探测报文,如每间隔0.5秒发送1次,共发送3次,在第3次发送完且经过预设时间段(如过了1秒)仍然没有收到响应报文,则误判断的可能性已经很小,可以判定目标终端下线,将其ip地址资源回收。上述预设时间间隔、预设数量和预设时间段的具体数值均可根据实际场景进行设置和调整,通过此方式,可以降低误判断的概率,提高对回收时机判定的准确性。When sending the reachability detection message, if it is sent only once, the target terminal may not go offline but does not receive the response message due to abnormal sending or receiving, resulting in misjudgment of the target terminal. Therefore, this application sends a preset number of reachability detection messages to the target terminal at a preset time interval, such as sending once every 0.5 seconds, and sending a total of 3 times. After the third sending is completed and the preset time period passes (such as after 1 second) still does not receive the response message, then the possibility of misjudgment is very small, it can be determined that the target terminal is offline, and its ip address resource is recycled. The specific values of the above-mentioned preset time interval, preset quantity and preset time period can be set and adjusted according to the actual scene. In this way, the probability of misjudgment can be reduced, and the accuracy of judging the recovery timing can be improved.
在一种实施例中,在S3之后还包括:根据连续接收到响应报文的次数,判断目标终端是否处于长期待机状态;若是,调整当前流量监测周期,并基于新的流量监测周期定时计算最新时间与当前时间的时间差。In one embodiment, after S3, it also includes: judging whether the target terminal is in the long-term standby state according to the number of times the response message is received continuously; The time difference from the current time.
如果目标终端长期处于待机状态,则定时计算时间差时每次时间差均会大于预设差值,则每次均会触发资源检测回收模块向目标终端发送可达性探测报文,且每次发送可达性探测报文之后也均会收到响应报文,但长期处于待机状态时不能将ip地址资源回收,则频繁计算、发送报文和响应报文的操作会造成相关资源的浪费。因此,可以根据连续接收到响应报文的次数来判断目标终端是否处于长期待机状态,然后根据状态来确定是否维持当前计算模式还是需要进行调整。If the target terminal is in the standby state for a long time, the time difference will be greater than the preset difference each time when the time difference is calculated regularly, and the resource detection and recovery module will be triggered to send a reachability detection message to the target terminal each time, and each time it can be sent Response messages will also be received after reachability detection messages, but the ip address resources cannot be recovered when the device is in the standby state for a long time, and the operations of frequently calculating, sending messages, and responding messages will cause waste of related resources. Therefore, whether the target terminal is in the long-term standby state can be judged according to the number of times the response message is received continuously, and then whether to maintain the current computing mode or need to be adjusted according to the state.
具体地,连续接收到响应报文的次数需要满足预先设定的数量,如10次,且任意两个相邻响应报文的时间间隔需要不大于预先设定的时间差值才作为连续响应报文,该时间差值可以参考流量监测周期的时间,如流量监测周期为10秒,则该时间差值也可以是10秒,前一响应报文与后一响应报文的接收时间差需要不大于10秒才能作为连续响应报文。当连续接收到响应报文的次数超过10次时,判定目标终端此时处于长期待机状态,则可以从此刻起对当前流量监测周期进行调整,使周期变长,并基于新的流量监测周期定时计算最新时间与当前时间的时间差Specifically, the number of consecutively received response messages needs to meet the preset number, such as 10 times, and the time interval between any two adjacent response messages needs to be no greater than the preset time difference before it can be regarded as a continuous response message. In this document, the time difference can refer to the time of the flow monitoring cycle. For example, if the flow monitoring cycle is 10 seconds, the time difference can also be 10 seconds. 10 seconds can be used as a continuous response message. When the number of response messages received in a row exceeds 10 times, it is determined that the target terminal is in a long-term standby state at this time, and the current flow monitoring cycle can be adjusted from this moment to make the cycle longer, and based on the new flow monitoring cycle timing Calculate the time difference between the latest time and the current time
在一种实施例中,上述步骤之后还包括:根据实时流量数据,判断所述目标终端是否恢复至正常访问状态;若是,将调整后的流量监测周期还原,并基于还原后的流量监测周期定时计算最新时间与当前时间的时间差。In one embodiment, after the above steps, it also includes: according to the real-time traffic data, judging whether the target terminal has returned to the normal access state; if so, restoring the adjusted traffic monitoring cycle, and timing based on the restored traffic monitoring cycle Calculates the time difference between the latest time and the current time.
如果实时流量数据显示目标终端访问网络的最新时间已经更新,则表示目标终端已经从长期待机状态转为正常访问状态,则可以再次对当前流量监测周期进行调整,使其数值还原为之前的数值,并基于还原后的流量监测周期继续定时计算时间差。If the real-time traffic data shows that the latest time for the target terminal to access the network has been updated, it means that the target terminal has changed from the long-term standby state to the normal access state, and the current traffic monitoring period can be adjusted again to restore the value to the previous value. And continue to regularly calculate the time difference based on the restored flow monitoring cycle.
上述调整和还原的步骤可根据对目标终端状态的判定结果进行实时切换,实现以较小的计算成本来计算出较为合理的回收时机。The above steps of adjusting and restoring can be switched in real time according to the determination result of the state of the target terminal, so as to calculate a more reasonable recovery timing with a relatively small calculation cost.
通过上述实施例可知,本申请提供的ip地址资源管理方法,通过对目标终端的实时流量数据进行分析,计算出目标终端访问网络的最新时间与当前时间的时间差,如果时间差大于预设差值,则表示在较长时间内目标终端未访问网络,可能处于待机或下线状态,然后再向目标终端发送可达性探测报文,如果目标终端没有返回响应报文,则可以判定其已经下线,此时将目标终端的ip地址资源回收,回收时机较为准确,因此既不会影响目标终端的正常使用,又节省了网络资源,最大程度地提高了网络资源的使用率,减少了资源不足、资源浪费的情况。It can be seen from the above embodiments that the ip address resource management method provided by the present application calculates the time difference between the latest time when the target terminal accesses the network and the current time by analyzing the real-time traffic data of the target terminal. If the time difference is greater than the preset difference, It means that the target terminal has not accessed the network for a long time, and may be in standby or offline state, and then send a reachability detection message to the target terminal. If the target terminal does not return a response message, it can be determined that it has gone offline , at this time, the ip address resource of the target terminal is recovered, and the recovery timing is more accurate, so it will not affect the normal use of the target terminal, but also save network resources, improve the utilization rate of network resources to the greatest extent, reduce the shortage of resources, Situations where resources are wasted.
如图4所示,在上述实施例所述方法的基础上,本实施例将从云网关的角度进一步进行描述,云网关可以包括:As shown in Figure 4, on the basis of the methods described in the above embodiments, this embodiment will further describe from the perspective of the cloud gateway, which may include:
获取模块10,用于获取目标终端的实时流量数据;Obtaining
得到模块20,用于根据所述实时流量数据,确定所述目标终端访问网络的最新时间,并得到所述最新时间与当前时间的时间差;Obtaining
发送模块30,用于在所述时间差大于预设差值时,向所述目标终端发送可达性探测报文;A sending
回收模块40,用于若在预设条件下未接收到所述目标终端返回的响应报文,将所述目标终端的ip地址资源回收。The
需要说明的是,将图3和图4进行结合,云网关中的网络资源管理模块包括获取模块10,流量统计分析模块包括得到模块20,资源检测回收模块包括发送模块30和回收模块40。It should be noted that, combining FIG. 3 and FIG. 4 , the network resource management module in the cloud gateway includes an
在一种实施例中,得到模块20包括:In one embodiment, obtaining
获取子模块,用于获取所述目标终端的流量监测周期;An acquisition submodule, configured to acquire the flow monitoring cycle of the target terminal;
计算子模块,用于基于所述流量监测周期,定时计算所述最新时间与当前时间的时间差。The calculation sub-module is used to regularly calculate the time difference between the latest time and the current time based on the flow monitoring cycle.
在一种实施例中,获取子模块用于,根据所述目标终端的历史流量数据,确定所述目标终端的第一访问时间段和第二访问时间段,所述第一访问时间段内所述目标终端的下线率高于阈值,所述第二访问时间段内所述目标终端的下线率不高于所述阈值;分别获取所述目标终端在所述第一访问时间段内的第一流量监测周期和在所述第二访问时间段内的第二流量监测周期,所述第一流量监测周期小于所述第二流量监测周期;计算子模块用于,在所述第一访问时间段内,基于所述第一流量监测周期定时计算所述最新时间与当前时间的时间差,在所述第二访问时间段内,基于所述第二流量监测周期定时计算所述最新时间与当前时间的时间差。In one embodiment, the obtaining submodule is used to determine the first access time period and the second access time period of the target terminal according to the historical traffic data of the target terminal, and the The offline rate of the target terminal is higher than the threshold, and the offline rate of the target terminal in the second access time period is not higher than the threshold; obtain the target terminal in the first access time period respectively The first flow monitoring cycle and the second flow monitoring cycle within the second access time period, the first flow monitoring cycle is shorter than the second flow monitoring cycle; the calculation sub-module is used to, during the first access In the time period, the time difference between the latest time and the current time is calculated based on the first traffic monitoring period, and in the second access time period, the latest time and the current time are calculated based on the second traffic monitoring period. time difference.
在一种实施例中,发送模块30用于,在所述时间差大于预设差值时,以预设时间间隔向所述目标终端发送预设数量的可达性探测报文;回收模块40用于,若在最后一个可达性探测报文发出后,经过预设时间段未接收到所述目标终端返回的响应报文,将所述目标终端的ip地址资源回收。In one embodiment, the sending
在一种实施例中,发送模块30包括:In one embodiment, the sending
第一发送子模块,用于若所述目标终端为IPV4终端,向所述目标终端发送arp单播报文;The first sending submodule is configured to send an arp unicast message to the target terminal if the target terminal is an IPV4 terminal;
第二发送子模块,用于若所述目标终端为IPV6终端,向所述目标终端发送ns单播报文。The second sending submodule is configured to send an ns unicast message to the target terminal if the target terminal is an IPV6 terminal.
在一种实施例中,云网关还包括:In one embodiment, the cloud gateway also includes:
第一判断模块,用于根据连续接收到响应报文的次数,判断所述目标终端是否处于长期待机状态;A first judging module, configured to judge whether the target terminal is in a long-term standby state according to the number of times the response message is received continuously;
调整模块,用于若是,调整当前流量监测周期,并基于新的流量监测周期定时计算所述最新时间与当前时间的时间差。The adjustment module is configured to, if yes, adjust the current flow monitoring cycle, and regularly calculate the time difference between the latest time and the current time based on the new flow monitoring cycle.
在一种实施例中,云网关还包括:In one embodiment, the cloud gateway also includes:
第二判断模块,用于根据所述实时流量数据,判断所述目标终端是否恢复至正常访问状态;A second judging module, configured to judge whether the target terminal returns to a normal access state according to the real-time traffic data;
还原模块,用于若是,将调整后的流量监测周期还原,并基于还原后的流量监测周期定时计算最新时间与当前时间的时间差。The restore module is configured to restore the adjusted flow monitoring cycle if yes, and regularly calculate the time difference between the latest time and the current time based on the restored flow monitoring cycle.
区别于现有技术,本申请提供的云网关,通过对目标终端的实时流量数据进行分析,计算出目标终端访问网络的最新时间与当前时间的时间差,如果时间差大于预设差值,则表示在较长时间内目标终端未访问网络,可能处于下线状态,然后再向目标终端发送可达性探测报文,如果目标终端没有返回响应报文,则可以判定其已经下线,此时将目标终端的ip地址资源回收,回收时机较为准确,因此既不会影响目标终端的正常使用,又节省了网络资源,最大程度地提高了网络资源的使用率,减少了资源不足、资源浪费的情况。Different from the prior art, the cloud gateway provided by this application calculates the time difference between the latest time when the target terminal accesses the network and the current time by analyzing the real-time traffic data of the target terminal. If the time difference is greater than the preset difference, it means that If the target terminal has not accessed the network for a long time, it may be offline, and then send a reachability detection message to the target terminal. If the target terminal does not return a response message, it can be determined that it has gone offline. The terminal ip address resources are recycled, and the recycling timing is more accurate, so it will not affect the normal use of the target terminal, but also save network resources, maximize the utilization of network resources, and reduce resource shortage and resource waste.
相应的,本申请实施例还提供一种电子设备,如图5所示,该电子设备可以包括射频(RF,Radio Frequency)电路101、包括有一个或一个以上计算机可读存储介质的存储器102、输入单元103、显示单元104、传感器105、音频电路106、WiFi模块107、包括有一个或者一个以上处理核心的处理器108、以及电源109等部件。本领域技术人员可以理解,图5中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:Correspondingly, the embodiment of the present application also provides an electronic device. As shown in FIG. 5, the electronic device may include a radio frequency (RF, Radio Frequency)
射频电路101可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器108处理;另外,将涉及上行的数据发送给基站。存储器102可用于存储软件程序以及模块,处理器108通过运行存储在存储器102的软件程序以及模块,从而执行各种功能应用以及ip地址资源管理。输入单元103可用于接收输入的数字或字符信息,以及产生与客户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The
显示单元104可用于显示由客户输入的信息或提供给客户的信息以及服务器的各种图形客户接口,这些图形客户接口可以由图形、文本、图标、视频和其任意组合来构成。The
电子设备还可包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。音频电路106包括扬声器,扬声器可提供客户与电子设备之间的音频接口。The electronic device may also include at least one
WiFi属于短距离无线传输技术,电子设备通过WiFi模块107可以帮助客户收发电子邮件、浏览网页和随访流式媒体等,它为客户提供了无线的宽带互联网随访。虽然图5示出了WiFi模块107,但是可以理解的是,其并不属于电子设备的必须构成,完全可以根据需要在不改变申请的本质的范围内而省略。WiFi belongs to the short-distance wireless transmission technology. The electronic device can help customers send and receive emails, browse webpages and follow-up streaming media through the
处理器108是电子设备的控制中心,利用各种接口和线路连接整个手机的各部分,通过运行或执行存储在存储器102内的软件程序和/或模块,以及调用存储在存储器102内的数据,执行电子设备的各种功能和处理数据,从而对手机进行整体监控。The
电子设备还包括给各部件供电的电源109(比如电池),优选的,电源可以通过电源管理系统与处理器108逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device also includes a power supply 109 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the
尽管未示出,电子设备还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,服务器中的处理器108会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器102中,并由处理器108来运行存储在存储器102中的应用程序,从而实现以下功能:Although not shown, the electronic device may also include a camera, a Bluetooth module, etc., which will not be repeated here. Specifically, in this embodiment, the
获取目标终端的实时流量数据;Obtain real-time traffic data of the target terminal;
根据所述实时流量数据,确定所述目标终端访问网络的最新时间,并得到所述最新时间与当前时间的时间差;According to the real-time traffic data, determine the latest time when the target terminal accesses the network, and obtain the time difference between the latest time and the current time;
在所述时间差大于预设差值时,向所述目标终端发送可达性探测报文;When the time difference is greater than a preset difference, sending a reachability detection message to the target terminal;
若在预设条件下未接收到所述目标终端返回的响应报文,将所述目标终端的ip地址资源回收。If the response message returned by the target terminal is not received under the preset condition, recycle the ip address resource of the target terminal.
在上述实施例中,对各实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文的详细描述,此处不再赘述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases. For the part not described in detail in a certain embodiment, refer to the detailed description above, and will not be repeated here.
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by instructions controlling related hardware, and the instructions can be stored in a computer-readable storage medium, and is loaded and executed by the processor.
为此,本申请实施例提供一种计算机可读存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以实现以下功能:To this end, an embodiment of the present application provides a computer-readable storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to implement the following functions:
获取目标终端的实时流量数据;Obtain real-time traffic data of the target terminal;
根据所述实时流量数据,确定所述目标终端访问网络的最新时间,并得到所述最新时间与当前时间的时间差;According to the real-time traffic data, determine the latest time when the target terminal accesses the network, and obtain the time difference between the latest time and the current time;
在所述时间差大于预设差值时,向所述目标终端发送可达性探测报文;When the time difference is greater than a preset difference, sending a reachability detection message to the target terminal;
若在预设条件下未接收到所述目标终端返回的响应报文,将所述目标终端的ip地址资源回收。If the response message returned by the target terminal is not received under the preset condition, recycle the ip address resource of the target terminal.
以上对本申请实施例所提供的一种ip地址资源管理方法、云网关、电子设备和计算机可读存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的技术方案及其核心思想;本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例的技术方案的范围。A method for managing ip address resources, a cloud gateway, an electronic device, and a computer-readable storage medium provided in the embodiments of the present application have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of the present application. The descriptions of the above embodiments are only used to help understand the technical solutions and core ideas of the present application; those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or modify some of the technical solutions. Features are replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211714808.7A CN116016442A (en) | 2022-12-29 | 2022-12-29 | IP address resource management method, cloud gateway, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211714808.7A CN116016442A (en) | 2022-12-29 | 2022-12-29 | IP address resource management method, cloud gateway, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116016442A true CN116016442A (en) | 2023-04-25 |
Family
ID=86020493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211714808.7A Pending CN116016442A (en) | 2022-12-29 | 2022-12-29 | IP address resource management method, cloud gateway, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116016442A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060101026A1 (en) * | 2002-12-24 | 2006-05-11 | Hajime Fukushima | Communication model, signal, method, and device for confirming reachability in network where host reachability is accomplished by relating static identifier to dynamic address |
WO2006056123A1 (en) * | 2004-11-26 | 2006-06-01 | Huawei Technologies Co., Ltd. | Method for processing the delay context in the media gateway |
CN1874355A (en) * | 2005-05-31 | 2006-12-06 | 华为技术有限公司 | Method for dynamic distributing address of medium access control in Ethernet |
CN101242417A (en) * | 2008-03-03 | 2008-08-13 | 中兴通讯股份有限公司 | An IP reservation method and access server for access users |
CN101355593A (en) * | 2008-09-23 | 2009-01-28 | 中国电信股份有限公司 | Method for distributing IP address in wireless LAN and access equipment thereof |
CN103327130A (en) * | 2012-03-22 | 2013-09-25 | 中兴通讯股份有限公司 | Method, terminal and system for reusing MAC address |
CN103535015A (en) * | 2013-05-24 | 2014-01-22 | 华为技术有限公司 | Management method of public network address resource, terminal control protocol server and client |
CN104519145A (en) * | 2013-09-26 | 2015-04-15 | 华为技术有限公司 | An address resource managing method, system and DHCP server |
CN105959432A (en) * | 2016-06-13 | 2016-09-21 | 杭州迪普科技有限公司 | Processing method and device of IP address negotiate message |
CN115065664A (en) * | 2022-06-17 | 2022-09-16 | 北京天融信网络安全技术有限公司 | Internet protocol address recovery method, electronic equipment and storage medium |
-
2022
- 2022-12-29 CN CN202211714808.7A patent/CN116016442A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060101026A1 (en) * | 2002-12-24 | 2006-05-11 | Hajime Fukushima | Communication model, signal, method, and device for confirming reachability in network where host reachability is accomplished by relating static identifier to dynamic address |
WO2006056123A1 (en) * | 2004-11-26 | 2006-06-01 | Huawei Technologies Co., Ltd. | Method for processing the delay context in the media gateway |
CN1874355A (en) * | 2005-05-31 | 2006-12-06 | 华为技术有限公司 | Method for dynamic distributing address of medium access control in Ethernet |
CN101242417A (en) * | 2008-03-03 | 2008-08-13 | 中兴通讯股份有限公司 | An IP reservation method and access server for access users |
CN101355593A (en) * | 2008-09-23 | 2009-01-28 | 中国电信股份有限公司 | Method for distributing IP address in wireless LAN and access equipment thereof |
CN103327130A (en) * | 2012-03-22 | 2013-09-25 | 中兴通讯股份有限公司 | Method, terminal and system for reusing MAC address |
CN103535015A (en) * | 2013-05-24 | 2014-01-22 | 华为技术有限公司 | Management method of public network address resource, terminal control protocol server and client |
CN104519145A (en) * | 2013-09-26 | 2015-04-15 | 华为技术有限公司 | An address resource managing method, system and DHCP server |
CN105959432A (en) * | 2016-06-13 | 2016-09-21 | 杭州迪普科技有限公司 | Processing method and device of IP address negotiate message |
CN115065664A (en) * | 2022-06-17 | 2022-09-16 | 北京天融信网络安全技术有限公司 | Internet protocol address recovery method, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
毛燕琴;刘洪霞;: "一种移动终端双标识管理方案的设计和实现", 计算机时代, no. 09, 15 September 2015 (2015-09-15) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107645529B (en) | Heartbeat packet sending method and device | |
CN107749797B (en) | Computing equipment and implementation method thereof | |
CN110474975B (en) | Heartbeat processing method and device of application program, electronic equipment and storage medium | |
CN108924274B (en) | Domain name system DNS processing method and device, storage medium and electronic equipment | |
CN110708696B (en) | Network data recovery method and device, storage medium and electronic equipment | |
CN113709048A (en) | Routing information sending and receiving method, network element and node equipment | |
WO2022127504A1 (en) | Network element management method and apparatus, and storage medium | |
US20210048956A1 (en) | Storage system, and method and apparatus for allocating storage resources | |
CN111258851A (en) | Cluster alarm method, device, setting and storage medium | |
CN102012836B (en) | Process survival control method and device | |
CN113612866B (en) | Address detection method and device, computer equipment and storage medium | |
CN110311979B (en) | A kind of task migration method of MEC server and related device | |
CN107678918A (en) | The OSD heartbeat mechanisms method to set up and device of a kind of distributed file system | |
CN113285884A (en) | Flow control method and system | |
CN114531373A (en) | Node state detection method, node state detection device, equipment and medium | |
CN115002117B (en) | Content distribution network dynamic scheduling method, system, device and storage medium | |
CN116016442A (en) | IP address resource management method, cloud gateway, electronic device and storage medium | |
CN111064639A (en) | Service state announcement method, device, equipment and storage medium | |
CN113542424B (en) | Data processing method, device, equipment and readable storage medium | |
CN112242937B (en) | Network speed measuring method and device, electronic equipment and computer readable medium | |
CN113840313B (en) | Network mode control method, device and computer equipment for mobile terminal | |
CN116962395A (en) | Cloud node determining method, device, equipment and computer readable storage medium | |
CN109818870B (en) | Multicast routing method, device, service board and machine readable storage medium | |
CN109947630B (en) | Fault notification method, device and storage medium | |
US20240214123A1 (en) | Dynamically configuring retry policies of network functions |
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 | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 430074 Wuhan East Lake New Technology Development Zone, Wuhan City, Hubei Province, China. Room 01, 4th floor, 5th floor, and 6th floor, Building 2, Phase 6, Optics Valley Software Park, No. 4 Software Park Middle Road Applicant after: Wuhan Green Network Co.,Ltd. Address before: 430074 room 01, 4 / F, room 01, 5 / F, room 01, 6 / F, building 2, phase 6, optical valley software park, No. 4, Software Park Middle Road, Donghu New Technology Development Zone, Wuhan City, Hubei Province Applicant before: WUHAN GREENET INFORMATION SERVICE Co.,Ltd. Country or region before: China |
|
CB02 | Change of applicant information |