WO2017215465A1 - 修正地址获取来源的方法、装置及网关设备 - Google Patents

修正地址获取来源的方法、装置及网关设备 Download PDF

Info

Publication number
WO2017215465A1
WO2017215465A1 PCT/CN2017/087090 CN2017087090W WO2017215465A1 WO 2017215465 A1 WO2017215465 A1 WO 2017215465A1 CN 2017087090 W CN2017087090 W CN 2017087090W WO 2017215465 A1 WO2017215465 A1 WO 2017215465A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
lease
target station
external device
allocated
Prior art date
Application number
PCT/CN2017/087090
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Publication of WO2017215465A1 publication Critical patent/WO2017215465A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5046Resolving address allocation conflicts; Testing of addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects

Definitions

  • the present disclosure relates to the field of communications, and in particular, to a method, an apparatus, and a gateway device for correcting an address acquisition source.
  • a network device deploys a gateway device to the user's home.
  • a local area network (LAN) port is configured to mount different devices.
  • LAN local area network
  • some ports can only forward Layer 2 forwarding data streams, and some can only route and forward data streams.
  • the device mounted on the port can only forward the data through the Internet to forward data. If the home gateway assigns a home gateway address to the device, the data cannot be sent or received normally.
  • the device mounted on the port can only obtain the address from the home gateway to forward data. If the device obtains the address from the Internet, the device may not be able to send and receive data.
  • a device connected to a LAN port whether it is obtained from the home gateway or from the Internet, it can be configured through the medium (tr069, web, omci).
  • the configuration delivered to the gateway by the tr069 and the web can be saved in the device; the configuration delivered by the ONU Management and Control Interface (omci) is not saved in the device. After the device is restarted, you need to re-distribute the configuration.
  • the configuration can be delivered after the gateway is restarted. If a LAN port can only take Layer 2 data flow, then this happens: before the omci sends the command, the attached device has been obtained from the home gateway. When the address is reached, the address is no longer obtained from the internet, and the connected device uses the gateway address consistently and cannot access the Internet.
  • the embodiments of the present disclosure provide a method, an apparatus, and a gateway device for correcting an address acquisition source, so as to at least solve the problem that the device cannot properly send and receive data due to the failure to allocate a wrong source address to the device connected to each port in the related art.
  • a method for modifying a source of address acquisition including: determining, in case of restarting a gateway device, whether an address acquired by an external device is allocated by a target station; if the determination result is negative, Discards the packets sent by the non-target station according to the preset filtering rules; obtains the address assigned by the target station.
  • determining whether the address obtained by the external device is allocated by the target station includes: listening for the current port configuration type; acquiring the omci control type when the configuration type is the optical network unit management control interface omci; determining the omci control type In order to control the external device to obtain an address from the target site, it is determined whether the address acquired by the external device is allocated by the target site.
  • discarding the packet sent by the non-target station according to the preset filtering rule includes: discarding the packet sent by the non-target station if the control type is to control the external device to obtain the address by the target station.
  • the method before determining whether the address obtained by the external device is allocated by the target site, the method further includes: modifying the first lease period of the address assigned by the gateway device to the second lease period, where the second lease period is less than the first lease The second lease period is used to ensure that the external device renews the lease of the address within the preset time.
  • the method further includes: configuring a timer; and after the timer is completed, resuming the lease of the address assigned by the gateway device from the second lease to the first lease.
  • the timer timing includes: countdown or cumulative timing.
  • an apparatus for modifying an address acquisition source including: a determining module, configured to determine, when the gateway device is restarted, whether an address acquired by the external device is allocated by the target station; and the operation execution module And, in the case that the judgment result is negative, the packet sent by the non-target station is discarded according to the preset filtering rule; and the obtaining module is configured to obtain the address allocated by the target station.
  • the determining module includes: a listening unit, configured to monitor a current port configuration type, and an acquiring unit, configured to acquire an omci control type when the configuration type is an optical network unit management control interface omci; the determining unit is configured to: When it is determined that the control type of the omci is to control the external device to obtain an address by the target station, it is determined whether the address acquired by the external device is allocated by the target station.
  • the operation execution module includes: an operation execution unit, configured to discard the message sent by the non-target station if the control type is to control the external device to obtain the address by the target station.
  • the device further includes: a lease modification module, configured to: before determining whether the address obtained by the external device is allocated by the target station, modifying the first lease period of the address assigned by the gateway device to the second lease period, where the second The lease period is less than the first lease period, and the second lease period is used to ensure that the external device renews the address lease period within the preset time.
  • a lease modification module configured to: before determining whether the address obtained by the external device is allocated by the target station, modifying the first lease period of the address assigned by the gateway device to the second lease period, where the second The lease period is less than the first lease period, and the second lease period is used to ensure that the external device renews the address lease period within the preset time.
  • the device further includes: a configuration module, configured to configure a timer; and a lease recovery module, configured to restore the lease term of the address assigned by the gateway device from the second lease period to the first time after the timer is completed A rental period.
  • a configuration module configured to configure a timer
  • a lease recovery module configured to restore the lease term of the address assigned by the gateway device from the second lease period to the first time after the timer is completed A rental period.
  • the timer timing includes: countdown or cumulative timing.
  • a gateway device including: a data processor and a communication bus, wherein the data processor is connected to a communication bus, wherein the data processor is configured to determine when the gateway device is restarted Whether the address obtained by the external device is allocated by the target station; the data processor is further configured to discard the message sent by the non-target station according to the preset filtering rule if the judgment result is negative; the communication bus is used to obtain the target station allocation The address device; wherein the gateway device includes the above-mentioned device for correcting the source of the address acquisition.
  • a storage medium is also provided.
  • the storage medium is configured to store program code for performing the following steps: determining whether an address acquired by the external device is allocated by the target station when the gateway device is restarted; and discarding according to the preset filtering rule if the determination result is negative The message sent by the non-target station; the address assigned by the target site.
  • the storage medium is further configured to store program code for performing the following steps: determining whether the address acquired by the external device is allocated by the target station includes: listening for the current port configuration type; and configuring the type of the optical network unit management In the case of the interface omci, the omci control type is obtained; when it is determined that the omci control type is to control the external device to obtain the address from the target site, it is determined whether the address acquired by the external device is allocated by the target site.
  • the storage medium is further configured to store program code for performing the following steps: discarding the message sent by the non-target station according to the preset filtering rule comprises: obtaining the address by the target site in the control type of controlling the external device In this case, the packets sent by the non-target station are discarded.
  • the storage medium is further configured to store program code for performing the following steps: before determining whether the address acquired by the external device is allocated by the target station, the method further comprises: modifying the first lease of the gateway device to assign the address to The second lease period, wherein the second lease period is less than the first lease period, and the second lease period is used to ensure that the external device renews the address lease period within a preset time.
  • the storage medium is further configured to store program code for performing the following steps: configuring the timer; recovering the lease of the gateway device assigned address from the second lease to the first after the timer is completed Lease period.
  • the gateway device in the case that the gateway device is restarted, it is determined whether the address acquired by the external device is allocated by the target station; if the determination result is negative, the packet sent by the non-target station is discarded according to the preset filtering rule;
  • the address assigned by the site therefore, can solve the problem that the device cannot send and receive data correctly by assigning the wrong source address to the device connected to each port in the related art, and the device can obtain and send the data by obtaining the correct source address.
  • FIG. 1 is a block diagram showing a hardware structure of a gateway device for modifying a source of address acquisition according to an embodiment of the present disclosure
  • FIG. 2 is a flow chart of a method of modifying an address acquisition source in accordance with an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a system architecture in a method for modifying an address acquisition source according to an embodiment of the present disclosure
  • FIG. 4 is a flow chart of a method of modifying an address acquisition source, in accordance with an embodiment of the present disclosure
  • FIG. 5 is a flow chart of another method of modifying an address acquisition source, in accordance with an embodiment of the present disclosure.
  • FIG. 6 is a structural block diagram of an apparatus for correcting an address acquisition source according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of a gateway device according to an embodiment of the present disclosure.
  • FIG. 1 is a hardware structural block diagram of a gateway device for modifying a source of address acquisition according to an embodiment of the present disclosure.
  • gateway device 10 may include one or more (only one shown) processor 102 (processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA)
  • processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA)
  • a memory 104 for storing data
  • a transmission device 106 for communication functions.
  • gateway device 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 104 can be used to store software programs and modules of the application software, such as program instructions/modules corresponding to the method for correcting the address acquisition source in the embodiment of the present disclosure, and the processor 102 runs the software program and the module stored in the memory 104, thereby The above methods are implemented by performing various functional applications and data processing.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be connected to gateway device 10 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is for receiving or transmitting data via a network.
  • the network example described above may include a wireless network provided by a communication provider of the gateway device 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • FIG. 2 is a flowchart of a method for modifying an address obtaining source according to an embodiment of the present disclosure. As shown in FIG. 2, the process includes the following steps:
  • Step S202 When the gateway device is restarted, determine whether the address acquired by the external device is allocated by the target station.
  • Step S204 If the determination result is negative, discarding the packet sent by the non-target station according to the preset filtering rule
  • Step S206 obtaining an address assigned by the target station.
  • the method for modifying the address acquisition source provided by the embodiment of the present application can be applied to the communication network where the gateway device is deployed, where the gateway device can be a home gateway in the embodiment of the present application.
  • the device (Home Gateway, HG for short), the external device in the embodiment of the present application may be any mobile terminal, where the mobile terminal may be: a smart phone, a notebook computer, a personal computer (PC), a palm. Business, tablet or smart wearables.
  • the gateway device takes the HG as an example, and the external device takes the PC as an example for description.
  • the HG restart it is determined whether the address acquired by the PC is allocated by the target site, that is, due to the configuration process issued by the omci. You can only send the configuration after the gateway (here HG) can be restarted. If a LAN port can only go through the Layer 2 data stream, then this happens: Before the omci sends the command, the external device (here can For PC) already from After the HG obtains the dynamic host configuration protocol (DHCP) address, the IP address is not obtained from the Internet.
  • DHCP dynamic host configuration protocol
  • the address obtained by the current PC is an Internet-assigned address (that is, the external connection is determined in the embodiment of the present application. Whether the address obtained by the device is allocated by the target site. If the result of the judgment is no, the address obtained by the current PC is not the address assigned by the Internet. Therefore, the non-Internet packet needs to be discarded according to the preset filtering rule. All the packets that need to be sent to the home gateway address are discarded. The address request packets that need to be forwarded to the Internet are all released. In this way, the leased device will not be successfully renewed, resulting in re-acquiring the address. The address obtained at this time is the address assigned by the internet, and the Internet can be accessed normally. Based on the above, the device that is connected to the LAN port that can only take the Layer 2 data stream is solved. When the address is assigned to the gateway, the source address of the device is modified to be the Internet.
  • the gateway device if the gateway device is restarted, it is determined whether the address acquired by the external device is allocated by the target station; if the determination result is negative, the device discards according to the preset filtering rule. A packet sent by a non-target station; the address assigned by the target site is obtained. Therefore, the problem that the device cannot send and receive data correctly due to the failure to allocate the wrong source address to the device connected to each port can be solved. Source address, the effect of sending and receiving data.
  • determining whether the address acquired by the external device is allocated by the target station in step S202 includes:
  • Step1 listening to the current port configuration type
  • Step 2 in the case that the configuration type is the optical network unit management control interface omci, obtain the control type of the omci;
  • Step 3 When it is determined that the control type of the omci is to control the external device to obtain an address by the target station, it is determined whether the address acquired by the external device is allocated by the target station.
  • Step 3 in the method for implementing the modified address acquisition source provided by the embodiment of the present application, it may be first determined whether the control type of the omci is to control the external device to obtain an address from the target site, and further determine whether the address obtained by the external device is from the target. Site assignment.
  • the discarding the packet sent by the non-target station according to the preset filtering rule in step S204 includes:
  • Step 1 If the control type is to control the external device to obtain an address from the target site, discard the packet sent by the non-target station.
  • the method for modifying the source of the address provided by the embodiment of the present application further includes:
  • the first lease period of the address assigned by the gateway device is changed to the second lease period, where the second lease period is smaller than the first lease period, and the second lease period is used to ensure that the external device is continued in the preset time. Rent address rental period.
  • the method for modifying the address obtaining source provided by the embodiment of the present application further includes:
  • Step S201 configuring a timer
  • Step S203 After the timer is completed, the lease period of the address assigned by the gateway device is restored from the second lease period to the first lease period.
  • the timer timing includes: countdown or cumulative timing.
  • the method for correcting the address acquisition source provided by the embodiment of the present application is as follows, in combination with the step S202 to the step S206.
  • FIG. 3 is a schematic structural diagram of a system architecture in a method for modifying an address acquisition source according to an embodiment of the present disclosure.
  • the method for implementing a modified address acquisition source provided by the embodiment of the present application may include: hanging in a gateway The hang-up device 32 of the device 31 and the Internet server 33 connected to the gateway device 31, wherein, as shown in FIG. 3, the hang-up device 32 provided by the embodiment of the present application may be a PC, and the gateway device 31 may be a home gateway device.
  • HG based on FIG. 3, obtains a local area network LAN in a network composed of HG and PC, and the HG is connected to the Internet server so that the PC connected to the HG can access the Internet server through the HG.
  • FIG. 4 is a flowchart of a method for modifying an address acquisition source according to an embodiment of the present disclosure.
  • the HG provided by the embodiment of the present application is described by taking a Linux kernel as an example.
  • the device address request message (S401) is attached to the HG, and the target station of the device address request message is determined.
  • the target site is an HG, that is, whether the address request packet of the device is determined is Sending to the HG (S401), if yes, sending the device address request message to the HG (S403), if not, discarding (S406); if the target site is an Internet server, that is, determining the Whether the device address request message is sent to the Internet server (S404), and if so, the device address request message is sent to the Internet server via the HG (S405), and if not, the message is discarded (S406).
  • FIG. 5 is a flowchart of another method for modifying an address acquisition source according to an embodiment of the present disclosure.
  • a method for correcting an address acquisition source provided by an embodiment of the present application is adopted.
  • the obtained address (S504) determines whether the configuration is delivered by the omci (S505). If yes, the filtering rule is preset, the packet of the non-Internet server is filtered (S506), and the packet is discarded, so that the device is disconnected.
  • the device will re-acquire the address assigned by the Internet server (S508), so that the device is connected to the Internet (S509); if the device connected to the HG is connected to the address obtained by the gateway from the HG If the configuration is not issued by the omci, it is determined whether the attached device needs to renew the lease of the address (S510), and if so, obtain the address from the gateway (S504).
  • a device for correcting the address acquisition source is provided.
  • the device is used to implement the foregoing embodiments and the preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the device described in the following embodiments is preferably implemented in software, It is hardware, or an implementation of a combination of software and hardware, is also possible and conceived.
  • FIG. 6 is a structural block diagram of an apparatus for modifying an address obtaining source according to an embodiment of the present disclosure. As shown in FIG. 6, the apparatus includes: a determining module 62, an operation executing module 64, and an obtaining module 66, where
  • the determining module 62 is configured to determine, when the gateway device is restarted, whether the address acquired by the external device is allocated by the target station;
  • the operation execution module 64 is configured to discard the message sent by the non-target station according to the preset filtering rule if the determination result is negative.
  • the obtaining module 66 is configured to obtain an address assigned by the target station.
  • the gateway device In the device for correcting the address acquisition source provided by the embodiment of the present application, if the gateway device is restarted, it is determined whether the address acquired by the external device is allocated by the target station; if the determination result is negative, the device discards according to the preset filtering rule. A packet sent by a non-target station; the address assigned by the target site is obtained. Therefore, the problem that the device cannot send and receive data correctly due to the failure to allocate the wrong source address to the device connected to each port can be solved. Source address, the effect of sending and receiving data.
  • the determining module 62 includes: a listening unit, an obtaining unit, and a determining unit, where
  • An obtaining unit configured to acquire an omci control type when the configuration type is an optical network unit management control interface omci;
  • the determining unit is configured to determine whether the address acquired by the external device is allocated by the target station if the control type of the omci is determined to be that the external device obtains the address by the target station.
  • the operation execution module 64 includes: an operation execution unit, where
  • the operation execution unit is configured to discard the message sent by the non-target station if the control type is to control the external device to obtain the address from the target station.
  • the device for modifying the address obtaining source provided by the embodiment of the present application further includes:
  • the lease modification module is configured to modify the first lease period of the address assigned by the gateway device to the second lease period, where the second lease period is less than the first lease period, before determining whether the address obtained by the external device is allocated by the target station. And the second lease period is used to ensure that the external device renews the address lease period within a preset time.
  • the apparatus for correcting the address obtaining source provided by the embodiment of the present application further includes:
  • a configuration module configured to configure a timer
  • the lease recovery module is configured to restore the lease period of the address assigned by the gateway device from the second lease period to the first lease period after the timer is completed.
  • the timer timing includes: countdown or cumulative timing.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • FIG. 7 is a schematic structural diagram of a gateway device according to an embodiment of the present disclosure. As shown in FIG. 7, the data processor 72 and the communication bus 74, the data processor 72 and the communication bus are included. 74 connections, of which
  • the data processor 72 is configured to determine, when the gateway device is restarted, whether the address acquired by the external device is allocated by the target station;
  • the data processor 72 is further configured to: when the determination result is negative, discard the packet sent by the non-target station according to the preset filtering rule;
  • a communication bus 74 configured to acquire an address assigned by the target station
  • the gateway device provided by the embodiment of the present application includes the device for correcting the address acquisition source shown in FIG. 6.
  • Embodiments of the present disclosure also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • control type of the omci is to control the external device to obtain an address by the target station, determine whether the address acquired by the external device is allocated by the target station.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs, according to the stored program code in the storage medium, discarding the packet sent by the non-target station if the control type is to control the external device to obtain the address by the target station.
  • the method for modifying the address obtaining source provided by the embodiment of the present application further includes: before the determining, by the processor, that the address obtained by the external device is allocated by the target site, according to the stored program code in the storage medium, The first lease is configured to change the first lease of the gateway device to the second lease.
  • the second lease is smaller than the first lease, and the second lease is used to ensure that the external device renews the lease at the preset time. period.
  • the processor executes a configuration timer according to the stored program code in the storage medium; after the timer is completed, the lease of the gateway device assigned address is restored from the second lease to the first Lease period.
  • modules or steps of the present disclosure can be implemented by a general computing device, which can be concentrated on a single computing device, or distributed in a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different than The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. As such, the disclosure is not limited to any specific combination of hardware and software.
  • the method for correcting the address acquisition source provided by the embodiment of the present disclosure, in the case that the gateway device is restarted, determines whether the address acquired by the external device is allocated by the target station; if the determination result is negative, discarding the non-distribution according to the preset filtering rule
  • the packet sent by the target site is obtained.
  • the device can obtain the address assigned by the target site. Therefore, the device cannot correctly send and receive data due to the failure to allocate the wrong source address to the device.
  • Source address the effect of sending and receiving data.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

本公开提供了一种修正地址获取来源的方法、装置及网关设备,通过本公开在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;获取目标站点分配的地址,解决相关技术中由于无法在对各个端口下挂设备在分配错来源地址,造成设备无法正常收发数据问题,达到设备通过获取正确的来源地址,收发数据的效果。

Description

修正地址获取来源的方法、装置及网关设备 技术领域
本公开涉及通信领域,具体而言,涉及一种修正地址获取来源的方法、装置及网关设备。
背景技术
网络运营商部署到用户家庭的网关设备,会配置多个局域网(Local Area Network,简称LAN)侧端口挂载不同的设备。而家庭网关在出厂配置时,有的端口只能走二层转发数据流,有的只能走路由转发数据流。
对于只能走二层转发的端口,该端口挂载的设备只能通过internet获取地址才能正常转发数据;如果家庭网关给该设备分配了家庭网关地址,则就无法正常收发数据。
对于只能走路由转发的端口,该端口挂载的设备只能从家庭网关获取地址才能正常转发数据;如果设备从internet获取了地址,则可能就无法正常收发数据。
对于某个LAN口下挂的设备,是从家庭网关获取地址,还是从internet获取地址,是可以通过媒介(tr069,web,omci)配置的。通过tr069和web下发给网关的配置,是可以在设备中保存的;而对于光网络单元管理控制接口(ONU Management and Control Interface,简称omci)下发的配置,是不在设备中保存的,在设备重启后需要重新下发配置。
对于omci而言,在网关完成重启后才能下发配置,如果某一LAN口只能走二层数据流,那么就出现这种情况:在omci下发命令前,下挂设备已经从家庭网关获取到了地址,就不再从internet获取地址了,导致下挂设备一致使用的是网关地址,不能上网。
针对相关技术中由于无法在对各个端口下挂设备在分配错来源地址,造成设备无法正常收发数据的问题,目前尚未提出有效的解决方案。
发明内容
本公开实施例提供了一种修正地址获取来源的方法、装置及网关设备,以至少解决相关技术中由于无法在对各个端口下挂设备在分配错来源地址,造成设备无法正常收发数据的问题。
根据本公开的一个实施例,提供了一种修正地址获取来源的方法,包括:在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;获取目标站点分配的地址。
可选地,判断外接设备获取的地址是否由目标站点分配包括:监听当前端口配置类型;在配置类型为光网络单元管理控制接口omci的情况下,获取omci的控制类型;在判断omci的控制类型为控制外接设备由目标站点获取地址的情况下,判断外接设备获取的地址是否由目标站点分配。
进一步地,可选的,依据预设过滤规则丢弃非目标站点发送的报文包括:在控制类型为控制外接设备由目标站点获取地址的情况下,丢弃非目标站点发送的报文。
可选的,在判断外接设备获取的地址是否由目标站点分配之前,该方法还包括:将网关设备分配地址的第一租期修改为第二租期,其中,第二租期小于第一租期,且第二租期,用于确保外接设备在预设时间内续租地址租期。
进一步的,可选的,该方法还包括:配置定时器;在定时器计时完成后,将网关设备分配地址的租期由第二租期恢复至第一租期。
可选的,定时器计时包括:倒数计时或累计计时。
根据本公开的另一个实施例,提供了一种修正地址获取来源的装置,包括:判断模块,用于在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;操作执行模块,用于在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;获取模块,用于获取目标站点分配的地址。
可选的,判断模块包括:监听单元,用于监听当前端口配置类型;获取单元,用于在配置类型为光网络单元管理控制接口omci的情况下,获取omci的控制类型;判断单元,用于在判断omci的控制类型为控制外接设备由目标站点获取地址的情况下,判断外接设备获取的地址是否由目标站点分配。
进一步地,可选的,操作执行模块包括:操作执行单元,用于在控制类型为控制外接设备由目标站点获取地址的情况下,丢弃非目标站点发送的报文。
可选的,装置还包括:租期修改模块,用于在判断外接设备获取的地址是否由目标站点分配之前,将网关设备分配地址的第一租期修改为第二租期,其中,第二租期小于第一租期,且第二租期,用于确保外接设备在预设时间内续租地址租期。
进一步地,可选的,装置还包括:配置模块,用于配置定时器;租期恢复模块,用于在定时器计时完成后,将网关设备分配地址的租期由第二租期恢复至第一租期。
可选的,定时器计时包括:倒数计时或累计计时。
根据本公开的又一个实施例,提供了一种网关设备,包括:数据处理器和通信总线,数据处理器与通信总线连接,其中,数据处理器,用于在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;数据处理器,还用于在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;通信总线,用于获取目标站点分配的地址;其中,网关设备包括上述一种修正地址获取来源的装置。
根据本公开的再一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;获取目标站点分配的地址。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:判断外接设备获取的地址是否由目标站点分配包括:监听当前端口配置类型;在配置类型为光网络单元管理控 制接口omci的情况下,获取omci的控制类型;在判断omci的控制类型为控制外接设备由目标站点获取地址的情况下,判断外接设备获取的地址是否由目标站点分配。
进一步地,可选的,存储介质还设置为存储用于执行以下步骤的程序代码:依据预设过滤规则丢弃非目标站点发送的报文包括:在控制类型为控制外接设备由目标站点获取地址的情况下,丢弃非目标站点发送的报文。
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:在判断外接设备获取的地址是否由目标站点分配之前,该方法还包括:将网关设备分配地址的第一租期修改为第二租期,其中,第二租期小于第一租期,且第二租期,用于确保外接设备在预设时间内续租地址租期。
进一步地,可选地,存储介质还设置为存储用于执行以下步骤的程序代码:配置定时器;在定时器计时完成后,将网关设备分配地址的租期由第二租期恢复至第一租期。
通过本公开,由于在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;获取目标站点分配的地址,因此,可以解决相关技术中由于无法在对各个端口下挂设备在分配错来源地址,造成设备无法正常收发数据问题,达到设备通过获取正确的来源地址,收发数据的效果。
附图说明
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
图1是本公开实施例的一种修正地址获取来源的方法的网关设备的硬件结构框图;
图2是根据本公开实施例的修正地址获取来源的方法的流程图;
图3是根据本公开实施例的修正地址获取来源的方法中系统架构的结构示意图;
图4是根据本公开实施例的一种修正地址获取来源的方法的流程图;
图5是根据本公开实施例的另一种修正地址获取来源的方法的流程图;
图6是根据本公开实施例的修正地址获取来源的装置的结构框图;
图7是根据本公开实施例的网关设备的结构示意图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本申请实施例1所提供的方法实施例可以在网关设备、计算机终端或者类似的运算装 置中执行。以运行在网关设备上为例,图1是本公开实施例的一种修正地址获取来源的方法的网关设备的硬件结构框图。如图1所示,网关设备10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,网关设备10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器104可用于存储应用软件的软件程序以及模块,如本公开实施例中的修正地址获取来源的方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些示例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至网关设备10。上述网络的示例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106用于经由一个网络接收或者发送数据。上述的网络示例可包括网关设备10的通信供应商提供的无线网络。在一个示例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个示例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
在本实施例中提供了一种运行于上述网关设备的方法,图2是根据本公开实施例的修正地址获取来源的方法的流程图,如图2所示,该流程包括如下步骤:
步骤S202,在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;
步骤S204,在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;
步骤S206,获取目标站点分配的地址。
由上可知,结合步骤S202至步骤S206中,本申请实施例提供的修正地址获取来源的方法可以适用于部署有网关设备的通信网络,其中,在本申请实施例中该网关设备可以为家庭网关设备(Home Gateway,简称HG),这里本申请实施例中的外接设备可以为任一移动终端,其中,该移动终端可以为:智能手机、笔记本电脑、个人电脑(Personal Computer,简称PC)、掌上商务、平板电脑或智能穿戴设备。
示例性的,网关设备以HG为例,外接设备以PC为例进行说明,在HG重启的情况下,判断PC获取的地址是否由目标站点分配,即,由于在omci下发的配置过程中,只能在网关(这里可以为HG)完成重启后才能下发配置,如果某一LAN口只能走二层数据流,那么就出现这种情况:在omci下发命令前,外接设备(这里可以为PC)已经从 HG获取到了动态主机配置协议(Dynamic Host Configuration Protocol,简称DHCP)地址,就不在从internet获取地址了,因此需要判断当前PC获取的地址是否为Internet分配的地址(即,本申请实施例中判断外接设备获取的地址是否由目标站点分配);在判断结果为否的情况下,说明当前PC获取的地址不是Internet分配的地址,因此需要依据预设过滤规则丢弃非Internet往来的报文,即,对于需要发送给家庭网关地址续租报文全部丢弃,对于需要转发给internet的地址请求报文,全部放行。这样下挂设备续租地址将会不成功,导致重新获取地址,此时获取的地址便是internet分配的地址,能正常上网。基于上述,解决了只能走二层数据流的LAN口下挂设备,在先获取到网关分配地址的情况下,修正下挂设备的地址来源为internet,保证下挂设备正常上网。
本申请实施例提供的修正地址获取来源的方法中,由于在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;获取目标站点分配的地址,因此,可以解决相关技术中由于无法在对各个端口下挂设备在分配错来源地址,造成设备无法正常收发数据问题,达到设备通过获取正确的来源地址,收发数据的效果。
可选地,步骤S202中判断外接设备获取的地址是否由目标站点分配包括:
Step1,监听当前端口配置类型;
Step2,在配置类型为光网络单元管理控制接口omci的情况下,获取omci的控制类型;
Step3,在判断omci的控制类型为控制外接设备由目标站点获取地址的情况下,判断外接设备获取的地址是否由目标站点分配。
这里Step3中,在实现本申请实施例提供的修正地址获取来源的方法中,可以先判断omci的控制类型是否为控制外接设备由目标站点获取地址,进一步的判断该外接设备获取的地址是否由目标站点分配。
进一步地,可选的,步骤S204中依据预设过滤规则丢弃非目标站点发送的报文包括:
Step1,在控制类型为控制外接设备由目标站点获取地址的情况下,丢弃非目标站点发送的报文。
可选的,在步骤S202中判断外接设备获取的地址是否由目标站点分配之前,本申请实施例提供的修正地址获取来源的方法还包括:
步骤S200中,将网关设备分配地址的第一租期修改为第二租期,其中,第二租期小于第一租期,且第二租期,用于确保外接设备在预设时间内续租地址租期。
进一步的,可选的,本申请实施例提供的修正地址获取来源的方法还包括:
步骤S201,配置定时器;
步骤S203,在定时器计时完成后,将网关设备分配地址的租期由第二租期恢复至第一租期。
可选的,定时器计时包括:倒数计时或累计计时。
综上,结合步骤S202至步骤S206,本申请实施例提供的修正地址获取来源的方法示例如下。
图3是根据本公开实施例的修正地址获取来源的方法中系统架构的结构示意图,如图3所示,在实现本申请实施例提供的修正地址获取来源的方法中可以包括:下挂在网关设备31下的下挂设备32,以及与网关设备31连接的Internet服务器33,其中,如图3所示,本申请实施例提供的下挂设备32可以为PC,网关设备31可以为家庭网关设备HG,基于图3,在由HG和PC组成的网络中得到一个局域网LAN,HG与Internet服务器连接使得连接于该HG的PC可以通过该HG接入Internet服务器。
图4是根据本公开实施例的一种修正地址获取来源的方法的流程图,如图4所示,本申请实施例提供的HG以携带有Linux内核为例进行说明,基于图4,HG接收下挂于该HG的设备地址请求报文(S401),判断该下挂设备地址请求报文的目标站点,在该目标站点为HG的情况下,即,判断该下挂设备地址请求报文是否发送至HG(S401),若是,则将该下挂设备地址请求报文发送至HG(S403),若否,则丢弃(S406);在该目标站点为Internet服务器的情况下,即,判断该下挂设备地址请求报文是否发送至Internet服务器(S404),若是,则将该下挂设备地址请求报文经由HG发送至Internet服务器(S405),若否,则丢弃(S406)。
图5是根据本公开实施例的另一种修正地址获取来源的方法的流程图,如图5所示,基于图4,在图5中,本申请实施例提供的修正地址获取来源的方法通过修改分配地址的租期(S502),缩短每个地址的租期,并在HG重启(S501)后开启预先配置的定时器(S503),同时,检测下挂于该HG的下挂设备从网关获取的地址(S504),判断是否为omci下发的配置(S505),若是,则已经预设过滤规则,过滤非Internet服务器的报文(S506),并丢弃该报文,以使得下挂设备续租地址失败(S507),进而下挂设备将重新获取由Internet服务器分配的地址(S508),从而下挂设备正常上网(S509);若下挂于该HG的下挂设备从网关获取的地址并非omci下发的配置,则判断下挂设备是否需要续租地址的租期(S510),若是,从网关获取地址(S504)。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例所述的方法。
实施例2
在本实施例中还提供了一种修正地址获取来源的装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但 是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图6是根据本公开实施例的修正地址获取来源的装置的结构框图,如图6所示,该装置包括:判断模块62、操作执行模块64和获取模块66,其中,
判断模块62,用于在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;
操作执行模块64,用于在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;
获取模块66,用于获取目标站点分配的地址。
本申请实施例提供的修正地址获取来源的装置中,由于在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;获取目标站点分配的地址,因此,可以解决相关技术中由于无法在对各个端口下挂设备在分配错来源地址,造成设备无法正常收发数据问题,达到设备通过获取正确的来源地址,收发数据的效果。
可选的,判断模块62包括:监听单元、获取单元和判断单元,其中,
监听单元,用于监听当前端口配置类型;
获取单元,用于在配置类型为光网络单元管理控制接口omci的情况下,获取omci的控制类型;
判断单元,用于在判断omci的控制类型为控制外接设备由目标站点获取地址的情况下,判断外接设备获取的地址是否由目标站点分配。
进一步地,可选的,操作执行模块64包括:操作执行单元,其中,
操作执行单元,用于在控制类型为控制外接设备由目标站点获取地址的情况下,丢弃非目标站点发送的报文。
可选的,本申请实施例提供的修正地址获取来源的装置还包括:
租期修改模块,用于在判断外接设备获取的地址是否由目标站点分配之前,将网关设备分配地址的第一租期修改为第二租期,其中,第二租期小于第一租期,且第二租期,用于确保外接设备在预设时间内续租地址租期。
进一步地,可选的,本申请实施例提供的修正地址获取来源的装置还包括:
配置模块,用于配置定时器;
租期恢复模块,用于在定时器计时完成后,将网关设备分配地址的租期由第二租期恢复至第一租期。
可选的,定时器计时包括:倒数计时或累计计时。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。
实施例3
本申请实施例提供了一种网关设备,图7是根据本公开实施例的网关设备的结构示意图,如图7所示,包括:数据处理器72和通信总线74,数据处理器72与通信总线74连接,其中,
数据处理器72,用于在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;
数据处理器72,还用于在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;
通信总线74,用于获取目标站点分配的地址;
其中,本申请实施例提供的网关设备包括图6所示的修正地址获取来源的装置。
实施例4
本公开的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;
S2,在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;
S3,获取目标站点分配的地址。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
S1,监听当前端口配置类型;
S2,在配置类型为光网络单元管理控制接口omci的情况下,获取omci的控制类型;
S3,在判断omci的控制类型为控制外接设备由目标站点获取地址的情况下,判断外接设备获取的地址是否由目标站点分配。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在控制类型为控制外接设备由目标站点获取地址的情况下,丢弃非目标站点发送的报文。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在判断外接设备获取的地址是否由目标站点分配之前,本申请实施例提供的修正地址获取来源的方法还包括:将网关设备分配地址的第一租期修改为第二租期,其中,第二租期小于第一租期,且第二租期,用于确保外接设备在预设时间内续租地址租期。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行配置定时器;在定时器计时完成后,将网关设备分配地址的租期由第二租期恢复至第一租期。
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网 络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。
工业实用性
本公开实施例提供的修正地址获取来源的方法,在网关设备重启的情况下,通过判断外接设备获取的地址是否由目标站点分配;在判断结果为否的情况下,依据预设过滤规则丢弃非目标站点发送的报文;获取目标站点分配的地址,因此,可以解决相关技术中由于无法在对各个端口下挂设备在分配错来源地址,造成设备无法正常收发数据问题,达到设备通过获取正确的来源地址,收发数据的效果。

Claims (14)

  1. 一种修正地址获取来源的方法,包括:
    在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;
    在判断结果为否的情况下,依据预设过滤规则丢弃非所述目标站点发送的报文;
    获取所述目标站点分配的地址。
  2. 根据权利要求1所述的方法,其中,判断外接设备获取的地址是否由目标站点分配包括:
    监听当前端口配置类型;
    在所述配置类型为光网络单元管理控制接口omci的情况下,获取所述omci的控制类型;
    在判断所述omci的控制类型为控制所述外接设备由所述目标站点获取所述地址的情况下,判断所述外接设备获取的所述地址是否由所述目标站点分配。
  3. 根据权利要求2所述的方法,其中,依据预设过滤规则丢弃非所述目标站点发送的报文包括:
    在所述控制类型为控制所述外接设备由所述目标站点获取所述地址的情况下,丢弃非所述目标站点发送的报文。
  4. 根据权利要求1所述的方法,其中,在所述判断外接设备获取的地址是否由目标站点分配之前,所述方法还包括:
    将所述网关设备分配地址的第一租期修改为第二租期,其中,所述第二租期小于所述第一租期,且所述第二租期用于确保所述外接设备在预设时间内续租地址租期。
  5. 根据权利要求4所述的方法,其中,所述方法还包括:
    配置定时器;
    在所述定时器计时完成后,将所述网关设备分配地址的租期由所述第二租期恢复至所述第一租期。
  6. 根据权利要求5所述的方法,其中,所述定时器计时包括:倒数计时或累计计时。
  7. 一种修正地址获取来源的装置,包括:
    判断模块,设置为在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;
    操作执行模块,设置为在判断结果为否的情况下,依据预设过滤规则丢弃非所述目标站点发送的报文;
    获取模块,设置为获取所述目标站点分配的地址。
  8. 根据权利要求7所述的装置,其中,所述判断模块包括:
    监听单元,设置为监听当前端口配置类型;
    获取单元,设置为在所述配置类型为光网络单元管理控制接口omci的情况下,获取所述omci的控制类型;
    判断单元,设置为在判断所述omci的控制类型为控制所述外接设备由所述目标站点获取所述地址的情况下,判断所述外接设备获取的所述地址是否由所述目标站点分配。
  9. 根据权利要求8所述的装置,其中,所述操作执行模块包括:
    操作执行单元,设置为在所述控制类型为控制所述外接设备由所述目标站点获取所述地址的情况下,丢弃非所述目标站点发送的报文。
  10. 根据权利要求7所述的装置,其中,所述装置还包括:
    租期修改模块,设置为在所述判断外接设备获取的地址是否由目标站点分配之前,将所述网关设备分配地址的第一租期修改为第二租期,其中,所述第二租期小于所述第一租期,且所述第二租期用于确保所述外接设备在预设时间内续租地址租期。
  11. 根据权利要求10所述的装置,其中,所述装置还包括:
    配置模块,设置为配置定时器;
    租期恢复模块,设置为在所述定时器计时完成后,将所述网关设备分配地址的租期由所述第二租期恢复至所述第一租期。
  12. 根据权利要求11所述的装置,其中,所述定时器计时包括:倒数计时或累计计时。
  13. 一种网关设备,包括:数据处理器和通信总线,所述数据处理器与所述通信总线连接,其中,
    所述数据处理器,设置为在网关设备重启的情况下,判断外接设备获取的地址是否由目标站点分配;
    所述数据处理器,还设置为在判断结果为否的情况下,依据预设过滤规则丢弃非所述目标站点发送的报文;
    所述通信总线,设置为获取所述目标站点分配的地址;
    其中,所述网关设备包括权利要求7至12中任一项所述的修正地址获取来源的装置。
  14. 一种存储介质,设置为存储程序代码,所述程序代码用于执行权利要求1至6中任一项所述的修正地址获取来源的方法。
PCT/CN2017/087090 2016-06-16 2017-06-02 修正地址获取来源的方法、装置及网关设备 WO2017215465A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610430931.4A CN107517281A (zh) 2016-06-16 2016-06-16 修正地址获取来源的方法、装置及网关设备
CN201610430931.4 2016-06-16

Publications (1)

Publication Number Publication Date
WO2017215465A1 true WO2017215465A1 (zh) 2017-12-21

Family

ID=60664318

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/087090 WO2017215465A1 (zh) 2016-06-16 2017-06-02 修正地址获取来源的方法、装置及网关设备

Country Status (2)

Country Link
CN (1) CN107517281A (zh)
WO (1) WO2017215465A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150363A (zh) * 2022-06-27 2022-10-04 中兴通讯股份有限公司 Ip地址更新方法、网关设备、网关下挂设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621406A (zh) * 2009-07-28 2010-01-06 中兴通讯股份有限公司 一种批量配置家庭网关的方法、配置设备及家庭网关
CN101719927A (zh) * 2009-11-18 2010-06-02 中兴通讯股份有限公司 对网关下挂的设备实行远程管理的方法及其系统
WO2011150620A1 (zh) * 2010-06-02 2011-12-08 中兴通讯股份有限公司 家庭网关识别入网的方法及系统
CN103701628A (zh) * 2013-10-12 2014-04-02 华为技术有限公司 家庭网关的配置管理方法、虚拟家庭网关和光网络终端
CN103795584A (zh) * 2012-10-30 2014-05-14 华为技术有限公司 客户端身份检测方法及网关

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621406A (zh) * 2009-07-28 2010-01-06 中兴通讯股份有限公司 一种批量配置家庭网关的方法、配置设备及家庭网关
CN101719927A (zh) * 2009-11-18 2010-06-02 中兴通讯股份有限公司 对网关下挂的设备实行远程管理的方法及其系统
WO2011150620A1 (zh) * 2010-06-02 2011-12-08 中兴通讯股份有限公司 家庭网关识别入网的方法及系统
CN103795584A (zh) * 2012-10-30 2014-05-14 华为技术有限公司 客户端身份检测方法及网关
CN103701628A (zh) * 2013-10-12 2014-04-02 华为技术有限公司 家庭网关的配置管理方法、虚拟家庭网关和光网络终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150363A (zh) * 2022-06-27 2022-10-04 中兴通讯股份有限公司 Ip地址更新方法、网关设备、网关下挂设备和存储介质
CN115150363B (zh) * 2022-06-27 2024-05-10 中兴通讯股份有限公司 Ip地址更新方法、网关设备、网关下挂设备和存储介质

Also Published As

Publication number Publication date
CN107517281A (zh) 2017-12-26

Similar Documents

Publication Publication Date Title
US10122679B2 (en) Method, relay agent, and system for acquiring internet protocol address in network
US8862865B2 (en) Rebooting infiniband clusters
CN104283983B (zh) 一种软件定义网络中虚拟机ip地址分配方法及装置
EP2654268B1 (en) Address allocation processing method and apparatus
CN104378455B (zh) Ip地址分配方法以及装置
CN104320345B (zh) Sdn网络中拓扑信息收集的方法及装置
JP2014535228A (ja) ポート設定方法、ルーティングデバイス、およびコンピュータプログラム製品
WO2012163007A1 (zh) 解决网际协议地址分配冲突的方法及相关设备和系统
JP5854138B2 (ja) 情報処理システム,情報処理方法,通信装置
JP2006217094A (ja) ネットワーク、ネットワーク端末装置及びそれらに用いるipアドレス管理方法並びにそのプログラム
EP2704403A1 (en) Method and device for controlling address configuration manner
CN104468368A (zh) 配置bgp邻居的方法及装置
WO2015054882A1 (zh) 网络设备通信方法及网络设备
EP2822221B1 (en) Processing method and processing device for automatically setting network access mode
US10505890B2 (en) Network access method, system and terminal device, and computer storage medium
WO2018161795A1 (zh) 一种路由优先级配置方法、设备以及控制器
CN112667293B (zh) 一种部署操作系统的方法、装置及存储介质
WO2017215465A1 (zh) 修正地址获取来源的方法、装置及网关设备
CN101917458B (zh) 一种向客户机发送网络引导程序的方法及装置
CN107528788B (zh) 实现网络设备之间自动堆叠的方法和装置
WO2016177185A1 (zh) 媒体访问控制mac地址的处理方法及装置
WO2015123947A1 (zh) 局域网信息的下发方法及装置
US20140215034A1 (en) Processing Method and Processing Device for Automatically Setting Internet Access Mode
WO2015085558A1 (zh) 一种动态分配ip地址的方法、装置和系统
WO2014000550A1 (zh) 微波传输设备及其数据处理方法和装置

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: 17812576

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: 17812576

Country of ref document: EP

Kind code of ref document: A1