WO2018214112A1 - Method and system for maintaining ip address in network link - Google Patents

Method and system for maintaining ip address in network link Download PDF

Info

Publication number
WO2018214112A1
WO2018214112A1 PCT/CN2017/085970 CN2017085970W WO2018214112A1 WO 2018214112 A1 WO2018214112 A1 WO 2018214112A1 CN 2017085970 W CN2017085970 W CN 2017085970W WO 2018214112 A1 WO2018214112 A1 WO 2018214112A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
message
change
response message
network link
Prior art date
Application number
PCT/CN2017/085970
Other languages
French (fr)
Chinese (zh)
Inventor
李炜
Original Assignee
深圳市伊特利网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市伊特利网络科技有限公司 filed Critical 深圳市伊特利网络科技有限公司
Priority to PCT/CN2017/085970 priority Critical patent/WO2018214112A1/en
Publication of WO2018214112A1 publication Critical patent/WO2018214112A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and system for maintaining an IP address in a network link.
  • the network link is the link for sending data in the network.
  • the addressing of the existing link is based on the IP address.
  • the IP address of the existing device is generally fixed. This technical solution is prone to security problems, which in turn affects the customer experience.
  • a method for maintaining an IP address in a network link is provided, which solves the disadvantages of poor customer experience in the prior art.
  • a method for maintaining an IP address in a network link includes the following steps:
  • the startup counter is configured to send an IP address change message to the first device when the counter exceeds the first time threshold, where the change message includes a change policy of the IP address;
  • the method further includes:
  • the method further includes:
  • a second aspect provides a system for maintaining an IP address in a network link, where the method includes:
  • a transceiver unit configured to receive a message sent by the first device, where the message includes a first IP address of the first device
  • a timing unit configured to start a counter, and send an IP address change message to the first device when the counter exceeds the first time threshold, where the change message includes a change policy of the IP address;
  • the control unit is configured to receive another message sent by the first device, identify a second IP address of the another message, and determine that the IP address of the first device is successfully changed.
  • system further includes:
  • the control unit is configured to: if another message sent by the first device is received, where the IP address of the other message is the first IP address, determining that the IP address of the first device fails to be changed.
  • system further includes:
  • control unit configured to send a first detection message and a second detection message to the first device, where the destination address of the first detection message is a first IP address, and the destination address of the second detection message is a second IP address, and the first
  • the response message returned by the device if the response message is the first response message, determines that the IP address has become more failed. If the response message is the second response message, it is determined that the IP address is more successful.
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method of maintaining an IP address in the network link.
  • a terminal comprising one or more processors, a memory, a transceiver, and one or more programs, the one or more programs being stored in the memory and configured by the Executed by one or more processors, the program including instructions for performing the steps in the method of maintaining an IP address in the network link described above.
  • the technical solution provided by the specific embodiment of the present invention receives a message sent by the first device, where the message includes a first IP address of the first device, starts a counter, and sends an IP address change message to the first device when the counter exceeds the first time threshold.
  • the change message includes a change policy of the IP address, receives another message sent by the first device, identifies a second IP address of the another message, determines that the IP address of the first device is successfully changed, and therefore has an automatic change IP address. To improve the user experience.
  • FIG. 1 is a flowchart of a method for maintaining an IP address in a network link according to the present invention.
  • FIG. 2 is a structural diagram of a system for maintaining an IP address in a network link according to the present invention.
  • FIG. 3 is a schematic structural diagram of hardware of a terminal provided by the present invention.
  • FIG. 1 is a flowchart of a method for maintaining an IP address in a network link according to a first preferred embodiment of the present invention.
  • the method is implemented by a node.
  • the method is as shown in FIG. step:
  • Step S101 Receive a message sent by the first device, where the message includes a first IP address of the first device.
  • Step S102 Start a counter, and send an IP address change message to the first device when the counter exceeds the first time threshold, where the change message includes a change policy of the IP address;
  • Step S103 Receive another message sent by the first device, identify a second IP address of the another message, and determine that the IP address of the first device is successfully changed.
  • the technical solution provided by the specific embodiment of the present invention receives a message sent by the first device, where the message includes a first IP address of the first device, starts a counter, and sends an IP address change message to the first device when the counter exceeds the first time threshold.
  • the change message includes a change policy of the IP address, receives another message sent by the first device, identifies a second IP address of the another message, determines that the IP address of the first device is successfully changed, and therefore has an automatic change IP address. To improve the user experience.
  • the method may further include:
  • the method may further include:
  • FIG. 2 is a schematic diagram of a system for maintaining an IP address in a network link according to a second preferred embodiment of the present invention. As shown in FIG. 2, the system includes:
  • the transceiver unit 201 is configured to receive a message sent by the first device, where the message includes a first IP address of the first device;
  • the timing unit 202 is configured to start a counter, and when the counter exceeds the first time threshold, send an IP address change message to the first device, where the change message includes a change policy of the IP address;
  • the control unit 203 is configured to receive another message sent by the first device, identify a second IP address of the another message, and determine that the IP address of the first device is successfully changed.
  • the technical solution provided by the specific embodiment of the present invention receives a message sent by the first device, where the message includes a first IP address of the first device, starts a counter, and sends an IP address change message to the first device when the counter exceeds the first time threshold.
  • the change message includes a change policy of the IP address, receives another message sent by the first device, identifies a second IP address of the another message, determines that the IP address of the first device is successfully changed, and therefore has an automatic change IP address. To improve the user experience.
  • the above system may further include:
  • the control unit 203 is configured to: if another message sent by the first device is received, where the IP address of the other message is the first IP address, determining that the IP address change of the first device fails.
  • the above system may further include:
  • the control unit 203 is configured to send a first detection message and a second detection message to the first device, where the destination address of the first detection message is a first IP address, and the destination address of the second detection message is a second IP address, and the receiving The response message returned by the device, if the response message is the first response message, determines that the IP address has become more failed. If the response message is the second response message, it is determined that the IP address is more successful.
  • Embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method of maintaining an IP address in the network link.
  • a specific embodiment of the present invention further provides a node, as shown in FIG. 3, including one or more processors 302, a memory 301, a transceiver 303, and one or more programs, the one or more programs being stored in The memory is, and is configured to be executed by, the one or more processors, the program comprising instructions for performing the steps in a method of maintaining an IP address in the network link described above.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • the computer readable medium may include random access memory (Random) Access Memory, RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), Compact Disc Read-Only Memory, CD-ROM, or other optical disc storage, magnetic 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. Also. Any connection may suitably be a computer readable medium.
  • a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Provided are a method and system for maintaining an IP address in a network link. The method comprises the following steps: receiving a message sent by a first device, the message including a first IP address of the first device; adding the number of data packets to packet header fields of the data packets; and receiving another message sent by the first device, identifying a second IP address of the other message, and determining that an IP address of the first device is successfully changed. The technical solution provided in the present invention has the advantage of good user experience.

Description

网络链路中IP地址的维护方法及系统  Method and system for maintaining IP address in network link 技术领域Technical field
本发明涉及通信领域,尤其涉及一种网络链路中IP地址的维护方法及系统。The present invention relates to the field of communications, and in particular, to a method and system for maintaining an IP address in a network link.
背景技术Background technique
网络链接是网络中发送数据的链路,现有的链路的寻址基于IP地址,现有的设备的IP地址一般固定,此技术方案容易出现安全问题,进而影响客户体验度。The network link is the link for sending data in the network. The addressing of the existing link is based on the IP address. The IP address of the existing device is generally fixed. This technical solution is prone to security problems, which in turn affects the customer experience.
技术问题technical problem
提供一种网络链路中IP地址的维护方法,其解决了现有技术的客户体验度差的缺点。A method for maintaining an IP address in a network link is provided, which solves the disadvantages of poor customer experience in the prior art.
技术解决方案Technical solution
一方面,提供一种网络链路中IP地址的维护方法,所述方法包括如下步骤:In one aspect, a method for maintaining an IP address in a network link is provided, and the method includes the following steps:
接收第一设备发送的消息,该消息包含第一设备的第一IP地址;Receiving a message sent by the first device, where the message includes a first IP address of the first device;
启动计数器,在计数器超过第一时间阈值时,向第一设备发送IP地址变更消息,该变更消息包含该IP地址的变更策略;The startup counter is configured to send an IP address change message to the first device when the counter exceeds the first time threshold, where the change message includes a change policy of the IP address;
接收第一设备发送的另一消息,识别该另一消息的第二IP地址,确定第一设备的IP地址变更成功。Receiving another message sent by the first device, identifying a second IP address of the another message, and determining that the IP address of the first device is successfully changed.
可选的,所述方法还包括:Optionally, the method further includes:
如接收到第一设备发送的另一消息,该另一消息的IP地址为第一IP地址,则确定第一设备的IP地址变更失败。If another message sent by the first device is received, and the IP address of the other message is the first IP address, it is determined that the IP address change of the first device fails.
可选的,所述方法还包括:Optionally, the method further includes:
向第一设备发送第一检测消息和第二检测消息,该第一检测消息的目的地址为第一IP地址,第二检测消息的目的地址为第二IP地址,接收第一设备返回的响应消息,如该响应消息为第一响应消息,则确定IP地址更变失败,如该响应消息为第二响应消息,则确定IP地址更变成功。Sending a first detection message and a second detection message to the first device, where the destination address of the first detection message is a first IP address, and the destination address of the second detection message is a second IP address, and receiving a response message returned by the first device If the response message is the first response message, it is determined that the IP address is more changed. If the response message is the second response message, it is determined that the IP address is more successful.
第二方面,提供一种网络链路中IP地址的维护系统,所述方法包括:A second aspect provides a system for maintaining an IP address in a network link, where the method includes:
收发单元,用于接收第一设备发送的消息,该消息包含第一设备的第一IP地址;a transceiver unit, configured to receive a message sent by the first device, where the message includes a first IP address of the first device;
计时单元,用于启动计数器,在计数器超过第一时间阈值时,向第一设备发送IP地址变更消息,该变更消息包含该IP地址的变更策略;a timing unit, configured to start a counter, and send an IP address change message to the first device when the counter exceeds the first time threshold, where the change message includes a change policy of the IP address;
控制单元,用于接收第一设备发送的另一消息,识别该另一消息的第二IP地址,确定第一设备的IP地址变更成功。The control unit is configured to receive another message sent by the first device, identify a second IP address of the another message, and determine that the IP address of the first device is successfully changed.
可选的,所述系统还包括:Optionally, the system further includes:
控制单元,用于如接收到第一设备发送的另一消息,该另一消息的IP地址为第一IP地址,则确定第一设备的IP地址变更失败。The control unit is configured to: if another message sent by the first device is received, where the IP address of the other message is the first IP address, determining that the IP address of the first device fails to be changed.
可选的,所述系统还包括:Optionally, the system further includes:
控制单元,用于向第一设备发送第一检测消息和第二检测消息,该第一检测消息的目的地址为第一IP地址,第二检测消息的目的地址为第二IP地址,接收第一设备返回的响应消息,如该响应消息为第一响应消息,则确定IP地址更变失败,如该响应消息为第二响应消息,则确定IP地址更变成功。a control unit, configured to send a first detection message and a second detection message to the first device, where the destination address of the first detection message is a first IP address, and the destination address of the second detection message is a second IP address, and the first The response message returned by the device, if the response message is the first response message, determines that the IP address has become more failed. If the response message is the second response message, it is determined that the IP address is more successful.
第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述网络链路中IP地址的维护方法。In a third aspect, a computer readable storage medium is provided having stored thereon a computer program that, when executed by a processor, implements a method of maintaining an IP address in the network link.
第四方面,提供一种终端,包括一个或多个处理器、存储器、收发器,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述一个或多个处理器执行,所述程序包括用于执行上述网络链路中IP地址的维护方法中的步骤的指令。In a fourth aspect, a terminal is provided, comprising one or more processors, a memory, a transceiver, and one or more programs, the one or more programs being stored in the memory and configured by the Executed by one or more processors, the program including instructions for performing the steps in the method of maintaining an IP address in the network link described above.
有益效果Beneficial effect
本发明具体实施方式提供的技术方案接收第一设备发送的消息,该消息包含第一设备的第一IP地址,启动计数器,在计数器超过第一时间阈值时,向第一设备发送IP地址变更消息,该变更消息包含该IP地址的变更策略,接收第一设备发送的另一消息,识别该另一消息的第二IP地址,确定第一设备的IP地址变更成功,所以其具有自动变更IP地址,提高用户体验度的优点。The technical solution provided by the specific embodiment of the present invention receives a message sent by the first device, where the message includes a first IP address of the first device, starts a counter, and sends an IP address change message to the first device when the counter exceeds the first time threshold. The change message includes a change policy of the IP address, receives another message sent by the first device, identifies a second IP address of the another message, determines that the IP address of the first device is successfully changed, and therefore has an automatic change IP address. To improve the user experience.
附图说明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 embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明提供的一种网络链路中IP地址的维护方法的流程图。FIG. 1 is a flowchart of a method for maintaining an IP address in a network link according to the present invention.
图2为本发明提供的一种网络链路中IP地址的维护系统的结构图。2 is a structural diagram of a system for maintaining an IP address in a network link according to the present invention.
图3为本发明提供的一种终端的硬件结构示意图。FIG. 3 is a schematic structural diagram of hardware of a terminal provided by the present invention.
本发明的实施方式Embodiments of the invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参阅图1,图1为本发明第一较佳实施方式提供的一种网络链路中IP地址的维护方法的流程图,该方法由一个节点来完成,该方法如图1所示,包括如下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a method for maintaining an IP address in a network link according to a first preferred embodiment of the present invention. The method is implemented by a node. The method is as shown in FIG. step:
步骤S101、接收第一设备发送的消息,该消息包含第一设备的第一IP地址;Step S101: Receive a message sent by the first device, where the message includes a first IP address of the first device.
步骤S102、启动计数器,在计数器超过第一时间阈值时,向第一设备发送IP地址变更消息,该变更消息包含该IP地址的变更策略;Step S102: Start a counter, and send an IP address change message to the first device when the counter exceeds the first time threshold, where the change message includes a change policy of the IP address;
步骤S103、接收第一设备发送的另一消息,识别该另一消息的第二IP地址,确定第一设备的IP地址变更成功。Step S103: Receive another message sent by the first device, identify a second IP address of the another message, and determine that the IP address of the first device is successfully changed.
本发明具体实施方式提供的技术方案接收第一设备发送的消息,该消息包含第一设备的第一IP地址,启动计数器,在计数器超过第一时间阈值时,向第一设备发送IP地址变更消息,该变更消息包含该IP地址的变更策略,接收第一设备发送的另一消息,识别该另一消息的第二IP地址,确定第一设备的IP地址变更成功,所以其具有自动变更IP地址,提高用户体验度的优点。The technical solution provided by the specific embodiment of the present invention receives a message sent by the first device, where the message includes a first IP address of the first device, starts a counter, and sends an IP address change message to the first device when the counter exceeds the first time threshold. The change message includes a change policy of the IP address, receives another message sent by the first device, identifies a second IP address of the another message, determines that the IP address of the first device is successfully changed, and therefore has an automatic change IP address. To improve the user experience.
可选的,上述步骤S103之后还可以包括:Optionally, after the step S103, the method may further include:
如接收到第一设备发送的另一消息,该另一消息的IP地址为第一IP地址,则确定第一设备的IP地址变更失败。If another message sent by the first device is received, and the IP address of the other message is the first IP address, it is determined that the IP address change of the first device fails.
可选的,上述步骤S103之后还可以包括:Optionally, after the step S103, the method may further include:
向第一设备发送第一检测消息和第二检测消息,该第一检测消息的目的地址为第一IP地址,第二检测消息的目的地址为第二IP地址,接收第一设备返回的响应消息,如该响应消息为第一响应消息,则确定IP地址更变失败,如该响应消息为第二响应消息,则确定IP地址更变成功。Sending a first detection message and a second detection message to the first device, where the destination address of the first detection message is a first IP address, and the destination address of the second detection message is a second IP address, and receiving a response message returned by the first device If the response message is the first response message, it is determined that the IP address is more changed. If the response message is the second response message, it is determined that the IP address is more successful.
参阅图2,图2为本发明第二较佳实施方式提供的一种网络链路中IP地址的维护系统,该系统如图2所示,包括:Referring to FIG. 2, FIG. 2 is a schematic diagram of a system for maintaining an IP address in a network link according to a second preferred embodiment of the present invention. As shown in FIG. 2, the system includes:
收发单元201,用于接收第一设备发送的消息,该消息包含第一设备的第一IP地址;The transceiver unit 201 is configured to receive a message sent by the first device, where the message includes a first IP address of the first device;
计时单元202,用于启动计数器,在计数器超过第一时间阈值时,向第一设备发送IP地址变更消息,该变更消息包含该IP地址的变更策略;The timing unit 202 is configured to start a counter, and when the counter exceeds the first time threshold, send an IP address change message to the first device, where the change message includes a change policy of the IP address;
控制单元203,用于接收第一设备发送的另一消息,识别该另一消息的第二IP地址,确定第一设备的IP地址变更成功。The control unit 203 is configured to receive another message sent by the first device, identify a second IP address of the another message, and determine that the IP address of the first device is successfully changed.
本发明具体实施方式提供的技术方案接收第一设备发送的消息,该消息包含第一设备的第一IP地址,启动计数器,在计数器超过第一时间阈值时,向第一设备发送IP地址变更消息,该变更消息包含该IP地址的变更策略,接收第一设备发送的另一消息,识别该另一消息的第二IP地址,确定第一设备的IP地址变更成功,所以其具有自动变更IP地址,提高用户体验度的优点。The technical solution provided by the specific embodiment of the present invention receives a message sent by the first device, where the message includes a first IP address of the first device, starts a counter, and sends an IP address change message to the first device when the counter exceeds the first time threshold. The change message includes a change policy of the IP address, receives another message sent by the first device, identifies a second IP address of the another message, determines that the IP address of the first device is successfully changed, and therefore has an automatic change IP address. To improve the user experience.
可选的,上述系统还可以包括:Optionally, the above system may further include:
控制单元203,用于如接收到第一设备发送的另一消息,该另一消息的IP地址为第一IP地址,则确定第一设备的IP地址变更失败。The control unit 203 is configured to: if another message sent by the first device is received, where the IP address of the other message is the first IP address, determining that the IP address change of the first device fails.
可选的,上述系统还可以包括:Optionally, the above system may further include:
控制单元203,用于向第一设备发送第一检测消息和第二检测消息,该第一检测消息的目的地址为第一IP地址,第二检测消息的目的地址为第二IP地址,接收第一设备返回的响应消息,如该响应消息为第一响应消息,则确定IP地址更变失败,如该响应消息为第二响应消息,则确定IP地址更变成功。The control unit 203 is configured to send a first detection message and a second detection message to the first device, where the destination address of the first detection message is a first IP address, and the destination address of the second detection message is a second IP address, and the receiving The response message returned by the device, if the response message is the first response message, determines that the IP address has become more failed. If the response message is the second response message, it is determined that the IP address is more successful.
需要说明的是,对于前述的各方法实施方式或实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为根据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述实施方式或实施例均属于优选实施例,所涉及的动作和单元并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments or embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not subject to the described action sequence. Limitations, as certain steps may be performed in other sequences or concurrently in accordance with the present invention. In the following, those skilled in the art should also understand that the embodiments or examples described in the specification are preferred embodiments, and the actions and units involved are not necessarily required by the present invention.
本发明具体实施方式还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述网络链路中IP地址的维护方法。Embodiments of the present invention also provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method of maintaining an IP address in the network link.
本发明具体实施方式还提供一种节点,如图3所示,包括一个或多个处理器302、存储器301、收发器303,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述一个或多个处理器执行,所述程序包括用于执行上述网络链路中IP地址的维护方法中的步骤的指令。A specific embodiment of the present invention further provides a node, as shown in FIG. 3, including one or more processors 302, a memory 301, a transceiver 303, and one or more programs, the one or more programs being stored in The memory is, and is configured to be executed by, the one or more processors, the program comprising instructions for performing the steps in a method of maintaining an IP address in the network link described above.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。本领域的技术人员可以将本说明书中描述的不同实施例以及不同实施例的特征进行结合或组合。The units in the apparatus of the embodiment of the present invention may be combined, divided, and deleted according to actual needs. Those skilled in the art can combine or combine the different embodiments described in the specification and the features of the different embodiments.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(Digital Subscriber Line,DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented in hardware, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted 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 location to another. A storage medium may be any available media that can be accessed by a computer. Taking this as an example, but not limited to: the computer readable medium may include random access memory (Random) Access Memory, RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), Compact Disc Read-Only Memory, CD-ROM, or other optical disc storage, magnetic 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. Also. Any connection may suitably be a computer readable medium. For example, if the software is using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (Digital Subscriber Line, DSL) or wireless technology such as infrared, radio and microwave transmission from a website, server or other remote source, then coaxial cable, fiber optic cable, twisted pair, DSL or such as infrared, wireless and microwave Wireless technology is included in the fixing of the associated medium. As used in the present invention, a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
总之,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 In summary, the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (8)

  1. 一种网络链路中IP地址的维护方法,其特征在于,所述方法包括如下步骤: A method for maintaining an IP address in a network link, characterized in that the method comprises the following steps:
    接收第一设备发送的消息,该消息包含第一设备的第一IP地址;Receiving a message sent by the first device, where the message includes a first IP address of the first device;
    启动计数器,在计数器超过第一时间阈值时,向第一设备发送IP地址变更消息,该变更消息包含该IP地址的变更策略;The startup counter is configured to send an IP address change message to the first device when the counter exceeds the first time threshold, where the change message includes a change policy of the IP address;
    接收第一设备发送的另一消息,识别该另一消息的第二IP地址,确定第一设备的IP地址变更成功。Receiving another message sent by the first device, identifying a second IP address of the another message, and determining that the IP address of the first device is successfully changed.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    如接收到第一设备发送的另一消息,该另一消息的IP地址为第一IP地址,则确定第一设备的IP地址变更失败。If another message sent by the first device is received, and the IP address of the other message is the first IP address, it is determined that the IP address change of the first device fails.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    向第一设备发送第一检测消息和第二检测消息,该第一检测消息的目的地址为第一IP地址,第二检测消息的目的地址为第二IP地址,接收第一设备返回的响应消息,如该响应消息为第一响应消息,则确定IP地址更变失败,如该响应消息为第二响应消息,则确定IP地址更变成功。Sending a first detection message and a second detection message to the first device, where the destination address of the first detection message is a first IP address, and the destination address of the second detection message is a second IP address, and receiving a response message returned by the first device If the response message is the first response message, it is determined that the IP address is more changed. If the response message is the second response message, it is determined that the IP address is more successful.
  4. 一种网络链路中IP地址的维护系统,其特征在于,所述方法包括:A system for maintaining an IP address in a network link, the method comprising:
    收发单元,用于接收第一设备发送的消息,该消息包含第一设备的第一IP地址;a transceiver unit, configured to receive a message sent by the first device, where the message includes a first IP address of the first device;
    计时单元,用于启动计数器,在计数器超过第一时间阈值时,向第一设备发送IP地址变更消息,该变更消息包含该IP地址的变更策略,;a timing unit, configured to start a counter, and send an IP address change message to the first device when the counter exceeds the first time threshold, where the change message includes a change policy of the IP address;
    控制单元,用于接收第一设备发送的另一消息,识别该另一消息的第二IP地址,确定第一设备的IP地址变更成功。The control unit is configured to receive another message sent by the first device, identify a second IP address of the another message, and determine that the IP address of the first device is successfully changed.
  5. 根据权利要求4所述的系统,其特征在于,The system of claim 4 wherein:
    所述控制单元,用于如接收到第一设备发送的另一消息,该另一消息的IP地址为第一IP地址,则确定第一设备的IP地址变更失败。The control unit is configured to: if another message sent by the first device is received, where the IP address of the other message is the first IP address, determining that the IP address change of the first device fails.
  6. 根据权利要求4所述的系统,其特征在于, The system of claim 4 wherein:
    所述控制单元,用于向第一设备发送第一检测消息和第二检测消息,该第一检测消息的目的地址为第一IP地址,第二检测消息的目的地址为第二IP地址,接收第一设备返回的响应消息,如该响应消息为第一响应消息,则确定IP地址更变失败,如该响应消息为第二响应消息,则确定IP地址更变成功。The control unit is configured to send a first detection message and a second detection message to the first device, where the destination address of the first detection message is a first IP address, and the destination address of the second detection message is a second IP address, and the receiving The response message returned by the first device, if the response message is the first response message, determines that the IP address has become more failed. If the response message is the second response message, it is determined that the IP address is more successful.
  7. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-3任意一项所述的网络链路中IP地址的维护方法。A computer readable storage medium having stored thereon a computer program for performing a method of maintaining an IP address in a network link according to any one of claims 1-3 when executed by a processor.
  8. 一种终端,其特征在于,包括一个或多个处理器、存储器、收发器,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述一个或多个处理器执行,所述程序包括用于执行1-3任意一项所述的网络链路中IP地址的维护方法中的步骤的指令。 A terminal, comprising: one or more processors, a memory, a transceiver, and one or more programs, the one or more programs being stored in the memory and configured by the one Executing by a plurality of processors, the program comprising instructions for performing the steps in the maintenance method of the IP address in the network link of any of 1-3.
PCT/CN2017/085970 2017-05-25 2017-05-25 Method and system for maintaining ip address in network link WO2018214112A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/085970 WO2018214112A1 (en) 2017-05-25 2017-05-25 Method and system for maintaining ip address in network link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/085970 WO2018214112A1 (en) 2017-05-25 2017-05-25 Method and system for maintaining ip address in network link

Publications (1)

Publication Number Publication Date
WO2018214112A1 true WO2018214112A1 (en) 2018-11-29

Family

ID=64396052

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/085970 WO2018214112A1 (en) 2017-05-25 2017-05-25 Method and system for maintaining ip address in network link

Country Status (1)

Country Link
WO (1) WO2018214112A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1835702A2 (en) * 2006-03-17 2007-09-19 Oki Data Corporation Image processing device
CN101127778A (en) * 2007-09-11 2008-02-20 中兴通讯股份有限公司 A method for dynamic update of flow control transmission protocol address list
CN101277257A (en) * 2007-03-26 2008-10-01 华为技术有限公司 Method, apparatus and system for dynamically updating DNS
CN102685264A (en) * 2012-05-08 2012-09-19 北京星网锐捷网络技术有限公司 Dynamic host configuration protocol address allocation method, relay equipment and server
US20160182386A1 (en) * 2014-12-23 2016-06-23 Jordan University Of Science And Technology A Method For Seamless Multi-Link Network Connectivity
CN106953944A (en) * 2017-05-25 2017-07-14 深圳市伊特利网络科技有限公司 The maintaining method and system of IP address in network link

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1835702A2 (en) * 2006-03-17 2007-09-19 Oki Data Corporation Image processing device
CN101277257A (en) * 2007-03-26 2008-10-01 华为技术有限公司 Method, apparatus and system for dynamically updating DNS
CN101127778A (en) * 2007-09-11 2008-02-20 中兴通讯股份有限公司 A method for dynamic update of flow control transmission protocol address list
CN102685264A (en) * 2012-05-08 2012-09-19 北京星网锐捷网络技术有限公司 Dynamic host configuration protocol address allocation method, relay equipment and server
US20160182386A1 (en) * 2014-12-23 2016-06-23 Jordan University Of Science And Technology A Method For Seamless Multi-Link Network Connectivity
CN106953944A (en) * 2017-05-25 2017-07-14 深圳市伊特利网络科技有限公司 The maintaining method and system of IP address in network link

Similar Documents

Publication Publication Date Title
WO2018223553A1 (en) Terminal wifi access control method and system
WO2018214059A1 (en) Method and system for selecting data link in network
WO2018209644A1 (en) Data encryption method and system for smart household
WO2018218808A1 (en) Short message information reading method and system
WO2018214112A1 (en) Method and system for maintaining ip address in network link
WO2018218807A1 (en) Information reading method and system of wechat
WO2018223550A1 (en) Terminal alarm clock setting method and system
WO2018227334A1 (en) Housing source recommendation method and system for second-hand house app
WO2018214108A1 (en) Secure implementation method and system for network link
WO2018223552A1 (en) Terminal app rapid exiting method and system
WO2018214057A1 (en) Calculation method and system for packet loss in network link
WO2018214111A1 (en) Method and system for remote maintenance after network link fault
WO2018214106A1 (en) Update method and system for network connection list
WO2018214056A1 (en) Method and system for verifying delay in network link
WO2018214107A1 (en) Network link fault detection method and system
WO2018214058A1 (en) Method and system for establishing network link for face-to-face terminals
WO2018214113A1 (en) Method and system for applying virtual network addresses in network link
WO2018227364A1 (en) Method and system for establishing terminal multicast group
WO2018214110A1 (en) Link selection method and system based on access point
WO2018214061A1 (en) Terminal-based network link encryption method and system
WO2018227370A1 (en) Method and system for selecting terminal network connection
WO2018205110A1 (en) Method and system for monitoring working state of winding machine
WO2018214021A1 (en) Method and system for sharing cross-platform destination
WO2018227333A1 (en) Positioning-based terminal app recommendation method and system
WO2018227365A1 (en) Method and system for selecting main device in network link

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17910780

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17910780

Country of ref document: EP

Kind code of ref document: A1