CN117319353B - Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode - Google Patents

Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode Download PDF

Info

Publication number
CN117319353B
CN117319353B CN202311606561.1A CN202311606561A CN117319353B CN 117319353 B CN117319353 B CN 117319353B CN 202311606561 A CN202311606561 A CN 202311606561A CN 117319353 B CN117319353 B CN 117319353B
Authority
CN
China
Prior art keywords
fttr
cat
sub
address
optical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311606561.1A
Other languages
Chinese (zh)
Other versions
CN117319353A (en
Inventor
许飞虎
吴庆军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Excellent Spectrum Information Technology Co ltd
Original Assignee
Xi'an Excellent Spectrum Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Excellent Spectrum Information Technology Co ltd filed Critical Xi'an Excellent Spectrum Information Technology Co ltd
Priority to CN202311606561.1A priority Critical patent/CN117319353B/en
Publication of CN117319353A publication Critical patent/CN117319353A/en
Application granted granted Critical
Publication of CN117319353B publication Critical patent/CN117319353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses an address allocation method and system for an on-hook terminal in an FTTR sub-cat bridge mode, and relates to the technical field of computer communication. Comprising the following steps: detecting whether an upper light connection port, a WAN port and a WIFI MESH of the FTTR sub-light cat are not connected with an upper FTTR main cat in real time; when the upper-level FTTR main cat is not connected with the upper-level light connection port, the WAN port and the WIFI MESH of the FTTR sub-light cat: starting the DHCP service of the FTTR sub-optical cat equipment to allocate an address to the lower hanging terminal, and forcedly refreshing the lower hanging terminal to enable the lower hanging terminal to acquire the address allocated by the FTTR sub-optical cat; if the upper optical port or the WAN port of the FTTR sub optical cat or the WIFI MESH is connected with the FTTR main cat in any mode, the FTTR sub optical cat bridge port obtains the distribution IP of the main cat and closes the DHCP service of the main cat, and forcibly refreshing the lower hanging terminal to enable the lower hanging terminal to obtain the IP address from the FTTR main cat again. The invention can judge whether the FTTR sub-optical cat automatically distributes corresponding different addresses to the lower hanging terminal through the self DHCP service or the FTTR main cat DHCP service, thereby achieving the purpose of self-controllable FTTR sub-optical cat.

Description

Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode
Technical Field
The invention relates to the technical field of computer communication, in particular to an address allocation method and an address allocation system for a hanging terminal in a Fiber To The Room (FTTR) sub-cat bridge mode.
Background
The FTTR sub-cat bridge mode is: the wired WAN port of the FTTR sub-optical cat is connected with the LAN port of the FTTR main cat through an Ethernet network cable, or the upper optical port of the FTTR sub-optical cat is connected with the FTTR main cat through an optical fiber, or the FTTR sub-optical cat is connected with the FTTR main cat through a WIFI MESH; the FTTR sub-optical cat is also connected with a plurality of down-hanging terminals (such as a PC, a smart phone and the like).
When the FTTR sub-optical cat works in the FTTR bridging mode (namely in the non-routing mode), a wired WAN port or an upper optical port of the FTTR sub-optical cat is connected with the FTTR main cat or is connected with the FTTR main cat through a WIFI MESH, the lower hanging terminal and the FTTR sub-optical cat bridging port automatically acquire addresses to be distributed by the FTTR main cat, and at the moment, the addresses obtained by the FTTR sub-optical cat bridging port and the lower hanging terminal are in the same network segment with the FTTR main cat.
However, when the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat are not connected to the FTTR main cat, the lower hanging terminal and the FTTR sub optical cat bridge port cannot automatically obtain the address. Because the address of the hanging terminal must be allocated by the FTTR master cat in the bridge mode, the purpose that the FTTR sub-cat itself can be controlled cannot be achieved.
Disclosure of Invention
Based on the background technology, the technical problem that when the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are not connected to the FTTR main cat, the lower hanging terminal cannot automatically acquire the address is solved, and the embodiment of the invention provides the following technical scheme:
the embodiment of the invention provides a method for allocating addresses of hanging terminals in an FTTR sub-cat bridge mode, which comprises the following steps:
when the FTTR sub-optical cat works in the FTTR bridging mode and the wired WAN port, the uplink optical port and the WIFI MESH hot plug event occur, the following steps are executed:
detecting whether the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are accessed to the FTTR main cat in real time;
when the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat are not connected to the FTTR main cat, starting the DHCP service of the FTTR sub optical cat to allocate an address to the lower hanging terminal, and forcedly refreshing the lower hanging terminal to enable the lower hanging terminal to acquire the address allocated by the FTTR sub optical cat.
The address allocation method for the down-hanging terminal in the FTTR sub-cat bridge mode provided by the embodiment of the invention further comprises the following steps:
when address allocation of the down-hanging terminal is carried out through the DHCP service of the FTTR sub-optical cat, the address allocated by the down-hanging terminal and the FTTR sub-optical cat are in the same network segment, and configuration management of the FTTR sub-optical cat is carried out through the allocated address.
Further, the forced refreshing of the lower hanging terminal makes the lower hanging terminal obtain the address allocated by the FTTR sub-cat, including:
the forced Down/Up operates the wired LAN PHY interface and the WiFi interface to cause the drop terminal to release the old IP address and re-acquire the new IP address from the FTTR subcat.
The address allocation method for the down-hanging terminal in the FTTR sub-cat bridge mode provided by the embodiment of the invention further comprises the following steps:
when one of the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat is accessed to the FTTR main cat, the FTTR sub optical cat bridge port obtains the allocation address of the FTTR main cat, closes the DHCP service of the FTTR sub optical cat, allocates the address to the lower hanging terminal through the DHCP service of the FTTR main cat, and forcibly refreshes the lower hanging terminal to enable the lower hanging terminal to obtain the address allocated by the FTTR main cat.
The address allocation method for the down-hanging terminal in the FTTR sub-cat bridge mode provided by the embodiment of the invention further comprises the following steps:
when address allocation of the down-hanging terminal is carried out through DHCP service of the FTTR master cat, the bridge port of the FTTR sub-optical cat and the address allocated by the down-hanging terminal are in the same network segment with the FTTR master cat, and configuration management of the FTTR sub-optical cat is carried out by accessing the bridge port address of the FTTR sub-optical cat.
Further, the forced refreshing of the down-hanging terminal enables the down-hanging terminal to obtain an address allocated by the FTTR master cat, including:
the forced Down/Up operates the wired LAN PHY interface and the WiFi interface to cause the drop-Down terminal to release the old IP address and retrieve the new IP address from the FTTR master cat again.
The embodiment of the invention provides an address distribution system of a down-hanging terminal in an FTTR sub-cat bridge mode, which comprises: FTTR main cat, FTTR sub light cat and down hanging terminal; the FTTR sub-optical cat works in an FTTR bridging mode, and the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are in a hot plug event detection state;
the FTTR sub-optical cat is used for detecting whether the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are accessed to the FTTR main cat in real time;
when the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat are not connected to the FTTR main cat, the FTTR sub optical cat is further used for starting the DHCP service of the FTTR sub optical cat to allocate an address to the lower hanging terminal, and forcedly refreshing the lower hanging terminal to enable the lower hanging terminal to acquire the address allocated by the FTTR sub optical cat.
Further, the FTTR sub-optical cat is connected with a PC;
when the address of the down-hanging terminal is allocated through the DHCP service of the FTTR sub-optical cat, the address allocated by the down-hanging terminal and the FTTR sub-optical cat are in the same network segment, and the PC machine performs configuration management on the FTTR sub-optical cat through the allocated address.
The address allocation system for the down-hanging terminal in the FTTR sub-cat bridge mode provided by the embodiment of the invention further comprises:
when one of the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat is accessed to the FTTR main cat, the FTTR sub optical cat is also used for closing the DHCP service of the FTTR sub optical cat, distributing addresses to the lower hanging terminal through the DHCP service of the FTTR main cat, and forcedly refreshing the lower hanging terminal to enable the lower hanging terminal to obtain the addresses distributed by the FTTR main cat.
Further, the FTTR sub-optical cat is connected with a PC;
when the address of the down-hanging terminal is allocated through the DHCP service of the main cat of the FTTR, the bridge port of the sub-optical cat of the FTTR and the address allocated by the down-hanging terminal are in the same network segment with the main cat of the FTTR, and the PC machine performs configuration management on the sub-optical cat of the FTTR by accessing the bridge port address of the sub-optical cat.
Compared with the prior art, the address allocation method and the address allocation system for the down-hanging terminal in the FTTR sub-cat bridge mode provided by the embodiment of the invention have the following beneficial effects:
the address allocation mechanism provided by the embodiment of the invention can solve the problem that the down-hanging terminal cannot automatically acquire the address when the FTTR sub-cat works in the FTTR bridging mode and the wired WAN port, the uplink optical port and the WIFI MESH are not connected to the FTTR main cat. Namely, the embodiment of the invention automatically allocates corresponding different addresses to the down-hanging terminal through the DHCP service of the FTTR sub-cat, thereby achieving the purpose of self-controllable FTTR sub-cat.
And moreover, according to the conditions that the wired WAN port, the uplink light port and the WIFI MESH of the FTTR sub-light cat are connected to the FTTR main cat: when the wired WAN port, the uplink optical port and the WIFI MESH are not accessed in the bridge mode, the FTTR sub-optical cat provides an address allocation service and allocates an address to the down-hanging terminal; when one of a wired WAN port, an uplink optical port and a WIFI MESH is accessed in a bridging mode, the FTTR sub optical cat is closed to provide address allocation service, and the FTTR main cat takes over allocation; and the networking states of the wired WAN port, the uplink optical port line and the WIFI MESH are dynamically detected in the bridging mode, so that the automatic acquisition of the address of the down-hanging terminal can be realized, and the address can be automatically switched and refreshed to a correct mode. In a word, according to the connection conditions of the wired WAN port, the uplink optical port, the WIFI MESH and the FTTR master cat of the FTTR sub optical cat, the address is automatically allocated to the lower hanging terminal, so that the purpose that the FTTR sub optical cat can be comprehensively controlled is achieved.
Drawings
Fig. 1 is a flow chart of an address allocation method of an on-hook terminal in FTTR sub-cat bridge mode according to an embodiment;
fig. 2 is a schematic diagram of an address allocation system of an on-hook terminal in FTTR sub-cat bridge mode according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Example 1
The method aims to solve the problem of automatic address allocation according to the access conditions of a wired WAN port, an uplink optical port and a WIFI MESH in a bridge mode. For the condition that the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat are not accessed, the embodiment of the invention provides the following core technical scheme:
step 101, detecting whether the FTTR sub-optical cat wired WAN port, the uplink optical port and the WIFI MESH are connected to the FTTR main cat in real time.
Step 102, when the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat are not connected to the FTTR main cat, the FTTR sub optical cat starts a DHCP service of the FTTR sub optical cat and distributes addresses for the down-hanging PC; and forces Down/Up (off-first-on operation) wired LAN PHY and WiFi interfaces to cause the Down terminal release/re (release-first-acquisition operation) to reacquire IP.
Step 103, the address allocated by the down-hanging terminal and the FTTR sub-cat are in the same network segment, and at this time, the configuration management of the device can be performed by using the allocated address.
Example 2
The method aims to solve the problem of automatic address allocation according to the access conditions of a wired WAN port, an uplink optical port and a WIFI MESH in a bridge mode. Whether the wired WAN port, the uplink optical port and the WIFI MESH are connected or not, the corresponding different addresses can be automatically allocated according to the access conditions of the wired WAN port, the uplink optical port and the WIFI MESH, and the technical scheme is as follows:
referring to fig. 1, a specific implementation procedure of embodiment 2 of the present invention is shown.
When a user uses a specific FTTR sub-cat, a PC is prepared to be connected to the LAN port of the FTTR sub-cat for configuration management. The device is powered on, and the FTTR sub-cat is operated in the bridge mode.
Step 201: and detecting whether the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat are accessed to the FTTR main cat in real time.
Step 202: if the FTTR sub-optical cat is not connected with the wired WAN port, the uplink optical port and the WIFI MESH and is not networked, the FTTR sub-optical cat starts the DHCP service of the FTTR sub-optical cat to distribute addresses to the Down-hanging PC, forces the Down/Up wired LAN PHY and the WiFi interface, and prompts the Down-hanging terminal release/release to acquire the IP again. The address allocated by the down-hanging terminal is in the same network segment with the FTTR sub-modem, and the user PC can use the allocated address to perform configuration management on equipment.
Step 203: if the wired WAN port or the uplink optical port or the WIFI MESH of the FTTR sub optical cat is accessed to the FTTR main cat, the FTTR sub optical cat can close the DHCP service of the FTTR sub optical cat, the equipment does not provide any DHCP service, the FTTR main cat takes over the allocation address, and releases the address originally acquired by the lower hanging terminal, so that the lower hanging terminal requests the FTTR main cat for new address allocation again, namely, the Down/Up wired LAN PHY and the WiFi interface are forced, and the lower hanging terminal release/update is prompted to acquire IP from the FTTR main cat again. The FTTR sub-optical cat bridge interface also acquires the main cat IP, at the moment, the addresses distributed by the FTTR sub-optical cat bridge interface and the lower hanging terminal are in the same network segment with the FTTR main cat, the configuration management of the FTTR sub-optical cat is carried out by accessing the address of the FTTR sub-optical cat bridge interface, and the internet surfing can also be carried out.
Step 204: when the wired WAN port or the uplink optical port or the WIFI MESH is accessed, the network cable or the optical fiber is dialed or the WIFI MESH networking is disconnected, and the system detects that the wired WAN port or the uplink optical port and the WIFI MESH are not connected in any mode and can acquire a DHCP OFFER or a DHCP ACK packet, at the moment, the FTTR sub optical cat equipment is started to provide an address allocation service for the down-hanging terminal, and the original acquired FTTR main cat address of the down-hanging terminal is released, so that the down-hanging terminal requests new address allocation to the FTTR sub optical cat again.
Step 205: when the hot plug of the wired WAN port or the uplink optical port of the device or the WIFI MESH networking fails or succeeds, the networking conditions of the wired WAN port, the uplink optical port and the WIFI MESH are automatically detected, and the actions of step 202 and step 203 are repeated to realize an automatic allocation switching mechanism.
For embodiment 1 and/or embodiment 2 above, the DHCP service centrally manages all IP network configuration data and is responsible for DHCP requests for the down-hanging terminals, but the IP network generally provides only an IP address auto-configuration function in the routing mode, and does not provide an IP address auto-configuration function in the bridging mode.
In this regard, the present application uses the PC as a bridge between the DHCP service in the FTTR main cat and the FTTR sub-cat and the down-hanging terminal (i.e., the PC receives the DHCP request of the down-hanging terminal, sends the DHCP request to the DHCP server in the FTTR main cat or the FTTR sub-cat, and sends the IP address allocation information corresponding to the DHCP server to the down-hanging terminal), thereby implementing accurate and rapid automatic allocation of the IP address.
For the above embodiment 1 and/or embodiment 2, when the DHCP server allocates an IP address to the down-hanging terminal, the allocation time is limited, and beyond this time, the DHCP server will withdraw the IP address, and if the DHCP server needs to continue to allocate the IP address, the IP address may change, thereby affecting the efficiency of receiving the address by the down-hanging terminal, and possibly causing other problems of confusion and discomfort to the user; also, in embodiment 2, the down-hanging terminal may receive the address allocated by any DHCP server from the FTTR main cat or the FTTR sub-cat, but if the addresses allocated by the two servers are inconsistent, the efficiency of receiving the address by the down-hanging terminal is also affected, which may also cause a problem of discomfort to the user.
In contrast, the address recognition module and the address synchronization module are arranged in the PC, and the address recognition module is used for recognizing and recording the IP addresses allocated to each lower hanging terminal for the first time when the FTTR sub-cat is in the bridge mode; and the address synchronization module is used for modifying the IP address content distributed by the DHCP server to enable the IP address content corresponding to each down-hanging terminal recorded by the address identification module to be consistent when any DHCP server of the FTTR main cat or the FTTR sub-cat distributes an address, and sending the synchronized IP address to the corresponding down-hanging terminal, thereby solving the problem that the IP address is possibly changed for the same down-hanging terminal.
Example 3
Based on the same inventive concept as embodiment 1, the embodiment of the present invention further provides an address allocation system of an on-hook terminal in FTTR sub-cat bridge mode, which includes: the system comprises an FTTR main cat, an FTTR sub-photo cat, a down-hanging terminal and a PC. The wired WAN port or the optical fiber or the WIFI MESH network of the FTTR sub-optical cat is connected with the FTTR main cat, the FTTR sub-optical cat is connected with a plurality of lower hanging terminals, and the LAN port of the FTTR sub-optical cat is connected with a PC. The FTTR sub-optical cat works in an FTTR bridging mode, and the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are in a hot plug event detection state. See fig. 2.
The FTTR sub-optical cat is used for detecting whether the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are accessed to the FTTR main cat in real time.
When the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat are not connected to the FTTR main cat, the FTTR sub optical cat is further used for starting the DHCP service of the FTTR sub optical cat to allocate an address to the lower hanging terminal, and forcedly refreshing the lower hanging terminal to enable the lower hanging terminal to acquire the address allocated by the FTTR sub optical cat.
At this time, when address allocation of the down-hanging terminal is performed through DHCP service of the FTTR sub-cat, the address allocated by the down-hanging terminal and the FTTR sub-cat are in the same network segment, and the PC is used for performing configuration management on the FTTR sub-cat through the allocated address.
Example 4
Based on the same inventive concept as embodiment 2, the embodiment of the present invention further provides an address allocation system of an on-hook terminal in FTTR sub-cat bridge mode, which includes: the system comprises an FTTR main cat, an FTTR sub-photo cat, a down-hanging terminal and a PC. The wired WAN port or the optical fiber or the WIFI MESH network of the FTTR sub-optical cat is connected with the FTTR main cat, the FTTR sub-optical cat is connected with a plurality of lower hanging terminals, and the LAN port of the FTTR sub-optical cat is connected with a PC.
The FTTR sub-optical cat works in an FTTR bridging mode, and the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are in a hot plug event detection state. See fig. 2.
The FTTR sub-optical cat is used for detecting whether the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are accessed to the FTTR main cat in real time.
First case:
when the wired WAN port or the uplink optical port of the FTTR sub optical cat and the WIFI MESH are not connected to the FTTR main cat, the FTTR sub optical cat is further used for starting the DHCP service of the FTTR sub optical cat to allocate an address to the lower hanging terminal, and forcedly refreshing the lower hanging terminal to enable the lower hanging terminal to acquire the address allocated by the FTTR sub optical cat.
At this time, when address allocation of the down-hanging terminal is performed through DHCP service of the FTTR sub-cat, the address allocated by the down-hanging terminal and the FTTR sub-cat are in the same network segment, and the PC is used for performing configuration management on the FTTR sub-cat through the allocated address.
Second case:
when one of the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat is accessed to the FTTR main cat, the FTTR sub optical cat is also used for closing the DHCP service of the FTTR sub optical cat, distributing an address to the lower hanging terminal through the DHCP service of the FTTR main cat, and forcedly refreshing the lower hanging terminal to enable the lower hanging terminal to acquire the address distributed by the FTTR main cat; and simultaneously, the FTTR sub-optical cat bridge port acquires the FTTR main cat IP.
At this time, when address allocation of the down-hanging terminal is performed through DHCP service of the FTTR master cat, the address allocated by the FTTR sub-optical cat bridge interface and the down-hanging terminal is in the same network segment as that of the FTTR master cat, and the PC is used for performing configuration management on the FTTR sub-optical cat by accessing the bridge interface address of the FTTR sub-optical cat.
The specific description is as follows: the DHCP dynamic host configuration protocol according to embodiments 1 to 4 of the present invention is a protocol for obtaining configuration information, and can automatically allocate addresses according to the access conditions of the WAN and the uplink optical port in the bridge mode.
In summary, compared with the prior art, the invention has the following advantages:
(1) When the FTTR sub-optical cat works in the bridge mode, the wired WAN port, the uplink optical port and the WIFI MESH are not connected to the FTTR main cat, the lower hanging terminal can still acquire the address from the equipment, and the management equipment can be realized.
(2) When one of the wired WAN port, the uplink optical port or the WIFI MESH is accessed to the FTTR master cat, the address acquired from the equipment before the lower hanging terminal is released, and the lower hanging terminal and the FTTR bridge interface acquire the address from the FTTR master cat.
(3) When the site debugging is carried out and the FTTR sub-optical cat works in the bridge mode, a wired WAN port, an uplink optical port line and a WIFI MESH are not connected, address management equipment can be obtained, and therefore the working efficiency is greatly improved.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.

Claims (4)

1. An address allocation method for an on-hook terminal in an FTTR sub-cat bridge mode is characterized by comprising the following steps: when the FTTR sub-optical cat works in the FTTR bridging mode and the wired WAN port, the uplink optical port and the WIFI MESH hot plug event occur, the following steps are executed:
detecting whether the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are accessed to the FTTR main cat in real time;
when the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat are not connected to the FTTR main cat, starting the DHCP service of the FTTR sub optical cat to allocate an address to the lower hanging terminal, and forcedly refreshing the lower hanging terminal to enable the lower hanging terminal to acquire the address allocated by the FTTR sub optical cat;
when address allocation of the down-hanging terminal is carried out through the DHCP service of the FTTR sub-optical cat, the address allocated by the down-hanging terminal and the FTTR sub-optical cat are in the same network segment, and configuration management of the FTTR sub-optical cat is carried out through the allocated address;
when one of a wired WAN port, an uplink optical port and a WIFI MESH of the FTTR sub optical cat is accessed to the FTTR main cat, the FTTR sub optical cat bridge port acquires an allocation address of the FTTR main cat, and closes a DHCP service of the FTTR sub optical cat, allocates an address to the lower hanging terminal through the DHCP service of the FTTR main cat, and forcedly refreshes the lower hanging terminal to enable the lower hanging terminal to acquire the address allocated by the FTTR main cat;
when address allocation of the down-hanging terminal is carried out through DHCP service of the FTTR master cat, the bridge port of the FTTR sub-optical cat and the address allocated by the down-hanging terminal are in the same network segment with the FTTR master cat, and configuration management of the FTTR sub-optical cat is carried out by accessing the bridge port address of the FTTR sub-optical cat;
the PC is used as a bridge between a DHCP service in the FTTR main cat and the FTTR sub-cat and a DHCP request of the down-hanging terminal, the PC receives the DHCP request of the down-hanging terminal, sends the DHCP request to a DHCP server in the FTTR main cat or the FTTR sub-cat, and sends IP address allocation information of the corresponding DHCP server to the down-hanging terminal;
an address identification module and an address synchronization module are arranged in the PC, and the address identification module is used for identifying and recording the IP address which is allocated to each down-hanging terminal for the first time when the FTTR sub-cat is in the bridge mode; and the address synchronization module is used for modifying the IP address content distributed by the DHCP server to enable the IP address content corresponding to each down-hanging terminal recorded by the address identification module to be consistent when any DHCP server of the FTTR main cat or the FTTR sub-cat distributes an address, and sending the synchronized IP address to the corresponding down-hanging terminal.
2. The method for allocating addresses of the down-hanging terminal in the FTTR sub-cat bridge mode according to claim 1, wherein the forced refreshing of the down-hanging terminal causes the down-hanging terminal to obtain the addresses allocated by the FTTR sub-cat comprises:
the forced Down/Up operates the wired LAN PHY interface and the WiFi interface to cause the drop terminal to release the old IP address and re-acquire the new IP address from the FTTR subcat.
3. The method for allocating addresses of the down-hanging terminal in the FTTR sub-cat bridge mode according to claim 1, wherein the forced refreshing of the down-hanging terminal causes the down-hanging terminal to obtain the addresses allocated by the FTTR main cat comprises:
the forced Down/Up operates the wired LAN PHY interface and the WiFi interface to cause the drop-Down terminal to release the old IP address and retrieve the new IP address from the FTTR master cat again.
4. An address allocation system for an on-hook terminal in FTTR sub-cat bridge mode, comprising: FTTR main cat, FTTR sub light cat and down hanging terminal; the FTTR sub-optical cat works in an FTTR bridging mode, and the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are in a hot plug event detection state;
the FTTR sub-optical cat is used for detecting whether the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub-optical cat are accessed to the FTTR main cat in real time;
when the wired WAN port, the uplink optical port and the WIFI MESH of the FTTR sub optical cat are not connected to the FTTR main cat, the FTTR sub optical cat is also used for starting the DHCP service of the FTTR sub optical cat to allocate an address to the lower hanging terminal, and forcedly refreshing the lower hanging terminal to enable the lower hanging terminal to acquire the address allocated by the FTTR sub optical cat;
the FTTR sub-optical cat is connected with a PC; when address allocation of the down-hanging terminal is carried out through the DHCP service of the FTTR sub-optical cat, the address allocated by the down-hanging terminal and the FTTR sub-optical cat are in the same network segment, and the PC carries out configuration management on the FTTR sub-optical cat through the allocated address;
when one of a wired WAN port, an uplink optical port and a WIFI MESH of the FTTR sub optical cat is accessed to the FTTR main cat, the FTTR sub optical cat is also used for closing the DHCP service of the FTTR sub optical cat, distributing an address to the lower hanging terminal through the DHCP service of the FTTR main cat, and forcedly refreshing the lower hanging terminal to enable the lower hanging terminal to acquire the address distributed by the FTTR main cat;
the FTTR sub-optical cat is connected with a PC; when address allocation of the down-hanging terminal is carried out through DHCP service of the main cat of the FTTR, a bridge port of the sub-optical cat of the FTTR and the address allocated by the down-hanging terminal are in the same network segment with the main cat of the FTTR, and the PC carries out configuration management on the sub-optical cat of the FTTR by accessing the bridge port address of the sub-optical cat;
the PC is used as a bridge between a DHCP service in the FTTR main cat and the FTTR sub-cat and a DHCP request of the down-hanging terminal, the PC receives the DHCP request of the down-hanging terminal, sends the DHCP request to a DHCP server in the FTTR main cat or the FTTR sub-cat, and sends IP address allocation information of the corresponding DHCP server to the down-hanging terminal;
an address identification module and an address synchronization module are arranged in the PC, and the address identification module is used for identifying and recording the IP address which is allocated to each down-hanging terminal for the first time when the FTTR sub-cat is in the bridge mode; and the address synchronization module is used for modifying the IP address content distributed by the DHCP server to enable the IP address content corresponding to each down-hanging terminal recorded by the address identification module to be consistent when any DHCP server of the FTTR main cat or the FTTR sub-cat distributes an address, and sending the synchronized IP address to the corresponding down-hanging terminal.
CN202311606561.1A 2023-11-29 2023-11-29 Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode Active CN117319353B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311606561.1A CN117319353B (en) 2023-11-29 2023-11-29 Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311606561.1A CN117319353B (en) 2023-11-29 2023-11-29 Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode

Publications (2)

Publication Number Publication Date
CN117319353A CN117319353A (en) 2023-12-29
CN117319353B true CN117319353B (en) 2024-03-08

Family

ID=89286970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311606561.1A Active CN117319353B (en) 2023-11-29 2023-11-29 Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode

Country Status (1)

Country Link
CN (1) CN117319353B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767657A (en) * 2015-04-14 2015-07-08 四川天邑康和通信股份有限公司 Optical modem registration and testing system and method
CN115226169A (en) * 2021-04-19 2022-10-21 华为技术有限公司 Data transmission method and data transmission device
CN115278373A (en) * 2021-04-29 2022-11-01 中国移动通信集团江苏有限公司 Internet television networking method and system
CN115733829A (en) * 2022-11-14 2023-03-03 四川长虹网络科技有限责任公司 Method for realizing control of optical modem by set top box on fusion type gateway
WO2023142907A1 (en) * 2022-01-26 2023-08-03 中兴通讯股份有限公司 All-optical network service testing method and apparatus, computer device and readable medium
CN116707638A (en) * 2023-06-29 2023-09-05 浪潮通信技术有限公司 Optical port communication test method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8125915B2 (en) * 2005-08-01 2012-02-28 Cisco Technology, Inc. Remote management of a bridge device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767657A (en) * 2015-04-14 2015-07-08 四川天邑康和通信股份有限公司 Optical modem registration and testing system and method
CN115226169A (en) * 2021-04-19 2022-10-21 华为技术有限公司 Data transmission method and data transmission device
WO2022222811A1 (en) * 2021-04-19 2022-10-27 华为技术有限公司 Data transmission method and data transmission apparatus
CN115278373A (en) * 2021-04-29 2022-11-01 中国移动通信集团江苏有限公司 Internet television networking method and system
WO2023142907A1 (en) * 2022-01-26 2023-08-03 中兴通讯股份有限公司 All-optical network service testing method and apparatus, computer device and readable medium
CN115733829A (en) * 2022-11-14 2023-03-03 四川长虹网络科技有限责任公司 Method for realizing control of optical modem by set top box on fusion type gateway
CN116707638A (en) * 2023-06-29 2023-09-05 浪潮通信技术有限公司 Optical port communication test method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WIFI家庭网络中TCP业务优化研究;刘渺;中国优秀硕士学位论文全文数据库 (信息科技辑);20230115;I136-842 *
实现动态IP域名解析;王择;网络安全和信息化;第59-62页 *

Also Published As

Publication number Publication date
CN117319353A (en) 2023-12-29

Similar Documents

Publication Publication Date Title
CN102025798B (en) Address allocation processing method, device and system
CN106789153B (en) Multi-channel self-adaptive log recording and outputting method and system for terminal equipment of Internet of things system
CN102098354B (en) Method and server for allocating dynamic host configuration protocol (DHCP) addresses
EP3041279A1 (en) Terminal and wireless networking method
WO2015062228A1 (en) Method and device for accessing shared memory
CN113037737B (en) Method for external network card application of user terminal equipment
US20100049841A1 (en) Method and system for automatically commissioning network device
CN103257941A (en) Multi-protocol storage controller and system
CN203368502U (en) Remote access running log record and circuit testing apparatus
CN105592134B (en) A kind of method and apparatus of load balancing
CN117319353B (en) Address allocation method and system for down-hanging terminal in FTTR sub-optical cat bridge mode
US20100031069A1 (en) Method for Managing the Power Transmitted from a Central Network Component to a Decentralized Network Component via a Line
CN105450679A (en) Method and system for performing data cloud storage
CN111209125A (en) Multi-process command line implementation method
CN106899429B (en) SNMP-based equipment management method and device
CN109857465A (en) A kind of automatic installation method and system of cloud desktop usb driving
CN110838966B (en) Equipment connection control method and device
CN1609819B (en) Test method for computer external equipment interface
CN112152942B (en) ZTP backup method and equipment
CN103490913A (en) Pre-boot execution environment testing device, method and system
CN102420731A (en) Network access control method and system
CN105740180A (en) Virtual machine access method and apparatus for USB device
WO2018121715A1 (en) Control method and device for network resource allocation
CN112988180B (en) Control method and device of embedded equipment
CN111385367B (en) Method and device for keeping access equipment on line

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant