WO2012116530A1 - Register method and system for terminals in coaxial network - Google Patents

Register method and system for terminals in coaxial network Download PDF

Info

Publication number
WO2012116530A1
WO2012116530A1 PCT/CN2011/076508 CN2011076508W WO2012116530A1 WO 2012116530 A1 WO2012116530 A1 WO 2012116530A1 CN 2011076508 W CN2011076508 W CN 2011076508W WO 2012116530 A1 WO2012116530 A1 WO 2012116530A1
Authority
WO
WIPO (PCT)
Prior art keywords
cnu
clt
registration request
request message
message
Prior art date
Application number
PCT/CN2011/076508
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 中兴通讯股份有限公司
Publication of WO2012116530A1 publication Critical patent/WO2012116530A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/826Involving periods of time

Definitions

  • the present invention relates to the field of communications, and in particular to a method and system for registering a terminal in a coaxial network.
  • a coaxial cable can carry a broadband access service like an optical fiber.
  • an Ethernet Coaxial Access Network (Ethernet Coaxial Access Network) has emerged.
  • ECAN Ethernet Coaxial Access Network
  • Figure 1 is a schematic diagram of the topology of the ECAN system. As shown in Figure 1, the ECAN system mainly includes a Coaxial Line Terminal (CLT), a coaxial distribution network, and a Coaxial Network Unit (referred to as Coaxial Network Unit). For CNU).
  • the ECAN system connects various Ethernet devices through the CLT, connects the user equipment through the CNU, and connects the CLT and the CNU through a coaxial distribution network.
  • the coaxial distribution network may include physical layer devices such as splitters, splitters, active amplifiers (partially not shown in Figure 1).
  • Each CNU in the Ethernet coaxial access network uses a time division multiplexing mechanism to share the network bandwidth on the coaxial medium, using the registration discovery mechanism described below: CLT loops back and forth in the network at regular intervals The CNU sends a broadcast message, which includes the device identification information of the CLT. After receiving the broadcast message, each CNU knows the existence of the CLT, and sends a registration request to the CLT when its own transmission data slot arrives.
  • the uplink and downlink data share the physical channel.
  • the congestion of the uplink data will also cause the packet processing.
  • Numerous CNUs may repeatedly send registration requests to CLT.
  • the impact of CNU's intensive registration on the system cannot be ignored.
  • the simple silent mechanism can only slow down the frequency of repeated CNU registration requests, and can not alleviate multiple CNU intensive Registration In the case, since the respective silent times are the same, the time of the next registration almost coincides, which repeatedly impacts the system, affecting the stability and security of the system. Repeated registration messages also occupy a certain system bandwidth, affecting system performance. .
  • the main purpose of the present invention is to provide a method and system for registering a terminal in a coaxial network to solve at least one of the above problems.
  • a method for registering a terminal in a coaxial network including: the coaxial line terminal CLT determines that the coaxial network unit CNU is invalid; the CLT sends a first quiet time value to the CNU, where the CLT is the same The number of the same first silent time value sent to different CNUs at a time does not exceed a preset threshold; the CNU receives the first quiet time value, and sends a first registration request message to the CLT when the time indicated by the first silent time value arrives .
  • the method further includes: the CNU sending a second registration request message to the CLT; and the CLT sending the first quiet time value to the CNU comprises: sending, by the CLT, a response message of the second registration request message to the CNU, the response The message is a refusal to register message, and the refusal registration message carries the first silent time value.
  • the method further includes: the CNU determines that the third registration request message needs to be sent; the CNU selects a random value from the second preset range as the second silent time value of the CNU; CNU When the time indicated by the second quiet time value arrives, the CNU sends a third registration request message to the CLT.
  • the method further includes: the CLT sending a response message of the second registration request message to the CNU, where the response message is a registration confirmation message; and before the CNU determines that the third registration request message needs to be sent, the CNU further includes: The response message of the second registration request message is not received within the predetermined time period after the second registration request message.
  • the method further includes: the CLT selecting a random value from the first preset range as the first silent time value.
  • a terminal registration system in a coaxial network including: a coaxial line terminal CLT and a coaxial network unit CNU, wherein the CLT includes: a determining module configured to determine whether the CNU is legal
  • the first sending module is connected to the determining module, and is configured to send a first quiet time value to the CNU when the output of the determining module is negative, wherein the first sending module sends the same first time to different CNUs at the same time.
  • the number of the silent time value does not exceed the preset threshold; the CNU includes: a receiving module, configured to receive the first quiet time value; and a second sending module, connected to the receiving module, configured to receive the first silent time value received by the receiving module
  • a first registration request message is sent to the CLT.
  • the second sending module is further configured to send a second registration request message to the CLT.
  • the first sending module is further configured to send a response message of the second registration request message to the CNU, where the response message is a reject registration message, and the registration message is rejected.
  • the first silent time value is carried in the middle.
  • the CNU further includes: a determining module, configured to determine that a third registration request message needs to be sent; the first selecting module is connected to the determining module, and is configured to select a random value from the second preset range as the second silent time value of the CNU.
  • the second sending module is connected to the first selecting module, and is further configured to send a third registration request message to the CLT when the time indicated by the second quiet time value arrives.
  • the first sending module is further configured to: when the output of the determining module is YES, send a response message of the second registration request message to the CNU, where the response message is a registration confirmation message; and the determining module is further configured to determine that the sending is performed.
  • the CLT further includes: a second selection module, connected to the first sending module, configured to select a random value from the first preset range as the first silent time value.
  • the first silent time value sent by the CLT is received by the CNU, and when the time indicated by the first silent time value arrives, the first registration request message is sent to the CLT, which solves the related art ECAN system.
  • the simple silent mechanism repeatedly impacts the system when multiple CNUs are intensively registered, which affects the stability and security of the system. At the same time, repeated registrations occupy a certain system bandwidth and affect the overall performance of the system, thus alleviating the problem.
  • FIG. 1 is a schematic diagram of a topology of an ECAN system according to the related art
  • FIG. 2 is a flowchart of a method for registering a terminal in a coaxial network according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a CNU processing flow in a CNU registration process according to an example of the present invention
  • FIG. 5 is a schematic diagram of a state machine inside a CNU according to an example of the present invention
  • 6 is a structural block diagram of a terminal registration system in a coaxial network according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a terminal registration system in a coaxial network according to a preferred embodiment of the present invention
  • FIG. 8 is a schematic diagram of a terminal according to an embodiment of the present invention. Schematic diagram of the structure of the terminal registration system in the coaxial network.
  • Step S202 The coaxial line terminal CLT determines that the coaxial network unit CNU is invalid.
  • step S204 the CLT sends a first quiet time value to the CNU, where the CLT sends the same time to different CNUs.
  • the number of the same first silent time value does not exceed the preset threshold; in actual application, the preset threshold may be set in the actual CLT processing capability, and the CLT is different at the same time when the processing capability of the CLT is allowed.
  • the CNU sends a different (mutually unequal) first silent time value respectively; in step S206, the CNU receives the first quiet time value, and sends a first registration request message to the CLT when the time indicated by the first silent time value arrives.
  • the foregoing embodiment solves the problem of protecting the terminal intensive registration in the coaxial network in the related art, in particular, the impact on the central office equipment when a large number of terminals initiate registration or access requests at the same time. Protection issues.
  • the above embodiment mainly utilizes a differentiated silent time setting mechanism to stagger the registration behavior of the terminal, thereby reducing system load, improving system stability and security, thereby alleviating CLT processing pressure, thereby reducing system load and improving system security. Effect.
  • the method may further include: the CNU sending a second registration request message to the CLT; and the CLT sending the first quiet time value to the CNU may include: sending, by the CLT, a response of the second registration request message to the CNU.
  • the message, the response message is a refusal registration message, and the refusal registration message carries the first silent time value.
  • the following processing may also be included:
  • the CNU determines that a third registration request message needs to be sent
  • the CNU selects a random value from the second preset range as the second silent time value of the CNU
  • the CNU sends a third registration request message to the CLT.
  • the method may further include: the CLT sending a response message of the second registration request message to the CNU, the response message is a registration confirmation message; and the CNU determines that the third registration request message needs to be sent before
  • the method may include: the CNU determining that the response message of the second registration request message is not received within a predetermined period of time after the second registration request message is transmitted.
  • the method before the CLT sends the first quiet time value to the CNU, the method further includes: the CLT selecting a random value from the first preset range as the first silent time value.
  • FIG. 3 is a schematic diagram of a CLT processing flow in a CNU registration process according to an example of the present invention.
  • the processing flow includes: Step S302: The CLT broadcasts a Discover Beacon message to all CNUs at intervals of a certain interval (for example, 10 seconds), and listens for the packets in the network.
  • the discovery beacon information carries the device identifier of the CLT.
  • Step S304 the CLT receives the registration request message of the CNU; Step S306, determining whether the CNU is a legal CNU (In actual application, the CNU legality judgment criterion can be determined according to actual needs, such as according to the CNU identification information, etc., and will not be mentioned here.) If it is legal, go to step S308, if it is not legal, then transfer to Step S312; Step S308, the CLT records the device registration information of the CNU, and proceeds to step S310; Step S310, returns an acknowledgement message (ACK) to the CNU, that is, responds to the ACK message, and the processing logic of the CLT in the CNU registration process ends, and the process proceeds.
  • ACK acknowledgement message
  • Step S302 Step S312, the CLT does not record the device registration information of the CNU, and generates a random silence time value, where the random silence time value is a random value within a reasonable range, such as a random time in the range of 1 - 300 seconds, proceeds to step S314; in step S314, the CLT directly replies to the CNU with a reject message (NACK), that is, a NACK message, wherein the NACK message
  • NACK reject message
  • the setting value of the CNU silent time that is, the above random silent time value is included in the text, and the process proceeds to step 4, S302.
  • the random silence time value in the embodiment shown in FIG. 3 is equivalent to the first silence time value in the above embodiment.
  • 4 is a schematic diagram of a CNU processing flow in a CNU registration process according to an example of the present invention, as shown in FIG.
  • Step S402 after the CNU power-on initialization is completed, start to listen to the message in the network; Step S404, the CNU receives the broadcast message from the CLT; Step S406, the CNU determines whether it has completed the registration. If it has been completed, the CNU does not repeat the registration, and proceeds to step S424. If the registration is not completed, the process goes to step S408; in step S408, the CNU issues a registration request message (Register REQ) to the CLT in its own transmission slot, which includes CNU device identifier information and MAC address information, etc.
  • a registration request message (Register REQ)
  • the CNU simultaneously starts the request waiting timer (Req_Timer), waits for the response message of the CLT, and sets the timeout time to the local variable T1, for example, 10 seconds.
  • the CNU determines whether the Req_Timer timer expires.
  • step S418 If it times out, the process goes to step S418; If there is no timeout, go to step 4 to gather S412; step 4 gathers S412, the CNU receives the response of the CLT, and closes the Req_Timer timer; step S414, judges the category of the message, and if it is the registration confirmation ACK message, the registration is successful, Go to step S424, if it is to refuse to register the NACK message, go to step S416; Step S416, the CNU obtains the silence time value carried in the NACK message and writes the local variable T2, and proceeds to step S420; Step S418, CNU will local variable T2 The value is set to a random value within a reasonable range (ie, randomly generating a silent time, and setting T2), such as a random time in the range of 1-300 seconds; Step S420, CNU starts the silent period timer (Sience_Timer), timeout time It is the value in the local variable T2; Step S422, the Silence_Timer close
  • the CNU When the broadcast message notification from the CLT is received for the first time in the waiting state, the CNU enters the registration state and sends a registration request.
  • the CNU After the timeout is judged by the silent period timer (Sience_Timer) in the waiting state, the CNU also re-initiates the registration request operation and enters the registration state.
  • the CLT gives
  • the CNU replies to the reject message with the random value setting information of the silent time, which makes the different CNU Try to resend the registration request with different silent time.
  • CNU registration request is not responded by CLT for various reasons (maybe network packet loss, maybe CLT processing, etc.), CNU itself provides random silence. Waiting mechanism for a while. In this way, CLT and CNU jointly ensure the differentiation of CNU repeated registration waiting time, and avoid the peak period of CNU intensive registration to the greatest extent, greatly reducing the processing pressure of CLT and enhancing the security of the system.
  • 6 is a structural block diagram of a terminal registration system in a coaxial network according to an embodiment of the present invention. As shown in FIG.
  • the system includes: a coaxial line terminal CLT 60 and a coaxial network unit CNU 62, wherein the CLT 60 includes: a determining module 602, configured to determine whether the CNU is legal; the first sending module 604, The method is connected to the determining module 602, and is configured to send a first quiet time value to the CNU if the determining module output result 602 is negative, wherein the first sending module 604 sends the same first silent time to different CNUs at the same time.
  • the CNU 62 includes: a receiving module 620 configured to receive a first quiet time value; a second sending module 622, coupled to the receiving module 620, configured to receive the first silence received at the receiving module 620 When the time indicated by the time value arrives, the first registration request message is sent to the CLT 60. It can be seen from the foregoing embodiment that the foregoing embodiment solves the problem of protecting the terminal intensive registration in the coaxial network in the related art, in particular, the impact on the central office equipment when a large number of terminals initiate registration or access requests at the same time. Protection issues.
  • the above embodiment mainly utilizes a differentiated silent time setting mechanism to stagger the registration behavior of the terminal, thereby reducing system load, improving system stability and security, thereby alleviating CLT processing pressure, thereby reducing system load and improving system security. Effect.
  • the foregoing second sending module 622 is further configured to send a second registration request message to the CLT 60.
  • the first sending module 604 is further configured to send a response message of the second registration request message to the CNU 62, where the response message is The registration message is rejected, and the first registration time value is carried in the rejection registration message.
  • the foregoing second sending module 622 is further configured to send a second registration request message to the CLT 60.
  • the first sending module 604 is further configured to send a response message of the second registration request message to the CNU 62, where the response message is The registration message is rejected, and the first registration time value is carried in the rejection registration message.
  • the CNU 62 may further include: a determining module 624, configured to determine that a third registration request message needs to be sent; the first selecting module 626 is connected to the determining module 624, and is set to be from the second preset. Selecting a random value as the second quiet time value of the CNU; the second sending module 622 is connected to the first selecting module 626, and is further configured to send to the CLT 60 when the time indicated by the second silent time value arrives.
  • the third registration request message is provided.
  • the first sending module 604 is further configured to: when the output of the determining module 602 is YES, send a response message of the second registration request message to the CNU, where the response message is a registration confirmation message; and the determining module 624 And determining to determine a response message that the second registration request message is not received within a predetermined period of time after the second registration request message is sent.
  • the CLT 60 may further include: a second selection module 606, connected to the first sending module 604, configured to select a random value from the first preset range as the first silent time value.
  • Example 2 This example provides a terminal registration system in a coaxial network to implement an improved silent mechanism. By differently setting the silent time, the terminal registration time is maximized, and the processing pressure of the CLT is alleviated.
  • the registration system includes: CLT 80 (corresponding to CLT 60 in the embodiment shown in FIG. 6) and CNU 82 (corresponding to CNU 62 in the embodiment shown in FIG. 6), wherein the above CLT 80
  • the method includes: an information sending module 802, configured to be a cyclic transmission of a broadcast message, and a transmission of an accept registration response information (ACK) or a reject registration (NACK) response message for the CNU registration information.
  • ACK accept registration response information
  • NACK reject registration
  • the information processing module 804 is connected to the information sending module 802, and is mainly configured to determine and process the CNU registration information, including the judgment of the CNU legality and the setting operation of the random silence time field in the reject registration message (NACK).
  • the above CNU 82 includes: an information receiving module 822, configured to receive a broadcast message sent by the CLT, and a CLT response message during the registration phase (accepting the registration ACK or rejecting the registration NACK)
  • the control module 824 maintains two timers, which are respectively set to control the timeout retransmission in the registration phase and the silent waiting time control before the registration request is re-initiated after the registration is rejected.
  • the CNU will wait for a random length of time before initiating the next registration request.
  • the only difference is that the random waiting time of the former is determined by the CNU itself, and the waiting time of the latter.
  • the control module 824 actually controls the normal operation of a state machine within the CNU, and the switching of the CNU between the registration state and the wait state is performed by the control module 824. It should be noted that the functions of the modules in this example include, but are not limited to, the functions implemented by the modules in the embodiments shown in FIG. 6 and FIG.
  • the hardware may include but not It is limited to the various modules of the embodiment shown in Figures 6 and 7. It should be noted that the preferred working manners of the related modules in the foregoing terminals may be specifically described in the foregoing method embodiments, and details are not described in J3 ⁇ 4.
  • the CLT when the CLT is registered for the illegal CNU, in response to the N ACK message, the request for the CNU silent time setting is brought in the message, and the time can be For a reasonable random value; for the CNU registration request that the CLT fails to process in time due to limited processing capability, the CNU side waits for a timeout, and provides a mechanism for adjusting the retransmission registration request interval, and the retransmission interval (ie, silence)
  • the value set by time can also be a random value. In this way, the intensive registration of the terminal is avoided to the greatest extent, the impact on the system is reduced, and the security and stability of the system are improved.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over 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 from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

A register method and system for terminals in a coaxial network are provided by the present invention, wherein the method includes: a Coaxial Line Terminal (CLT) determines a Coaxial Network Unit (CNU) is illegal (S202); the CLT transmits a first silent period value to the CNU, wherein the number of the same first silent period value transmitted to different CNUs at the same time by the CLT does not exceed a preset threshold (S204); the CNU receives the first silent period value, and transmits a first register request message to the CLT once the time indicated by the first silent period value arrives (S206). The technical solution provided by the invention releases the processing pressure of the CLT, and thus arrives at the effective of decreasing the system load and improving the system security.

Description

同轴网络中的终端注册方法及*** 技术领域 本发明涉及通信领域, 具体而言, 涉及一种同轴网络中的终端注册方法及 ***。 背景技术 同轴电缆作为一种广泛应用的传输介质, 和光纤一样可以承载宽带接入业 务,借鉴无源光网络***的网络结构,目前出现了以太网同轴接入网络( Ethernet Coaxial Access Network, 简称为 ECAN ) ***。 图 1是 ECAN***的拓朴结构 示意图,如图 1所示, ECAN***主要包括同轴线路终端( Coaxial Line Terminal, 简称为 CLT ), 同轴分配网络和同轴网络单元 ( Coaxial Network Unit, 简称为 CNU )。 ECAN***通过 CLT连接各种以太网设备, 通过 CNU连接用户设备, CLT和 CNU之间通过同轴分配网络连接。 同轴分配网络可以包括分支器、 分 配器、 有源放大器等物理层设备(部分在图 1中未标出)。 以太网同轴接入网络中的各个 CNU釆用时分复用的机制共享同轴介质上 的网络带宽, 釆用以下所述的注册发现机制: CLT以一定的时间间隔循环往复 的向网络中的 CNU发送广播消息, 其中包含 CLT的设备标识信息, 各个 CNU 在接收到该广播消息后获知 CLT的存在,便在自身的发送数据时隙到来的时候 向 CLT发送注册请求。 这些请求可能会被 CLT拒绝(因为该 CNU被视为非法 CNU ) 或者 CLT工作繁忙未能及时处理该请求导致超时。 未成功注册的 CNU 将持续的发送注册请求给 CLT, 直到注册成功为止。 需要注意的是, CLT一直 可以接收来自 CNU的注册请求。 因此, ECAN***中需要釆用静默机制以保证***的安全性。 尤其当大量 CNU同时上线的情形(比如一个用户小区停电后的电力恢复), 虽然各个 CNU 有各自的时隙, 但是对于 CLT来说, 在短时间内收到大量注册请求而来不及处 理的可能性是完全存在的, 由于同轴网络目前主要是工作在半双工模式下, 上 行和下行数据共享物理信道, 在下行数据流量较大的情况下, 上行数据的拥塞 也会造成报文处理的不及时甚至丢包。 众多的 CNU可能会重复发送注册请求 给 CLT, CNU 的密集注册给***造成的冲击是不容忽视的, 简单的静默机制 只能减緩单个 CNU重复发送注册请求的频率,并不能緩解多个 CNU密集注册 的情形, 由于各自的静默时间相同, 下一次注册的时间几乎又重合, 从而反复 给***造成冲击, 影响到***的稳定和安全, 重复的注册报文也会占用一定的 ***带宽, 影响***性能。 针对相关技术中的上述问题, 目前尚未提出有效的 解决方案。 发明内容 针对相关技术中, EC AN ***中, 简单的静默机制对于多个 CNU密集注 册时, 反复给***造成冲击, 影响到***的稳定和安全, 同时, 重复的注册 4艮 文也会占用一定的***带宽, 影响***整体性能等问题, 本发明的主要目的在 于提供一种同轴网络中的终端注册方法及***, 以解决上述问题至少之一。 根据本发明的一个方面, 提供了一种同轴网络中的终端注册方法, 包括: 同轴线路终端 CLT确定同轴网络单元 CNU不合法; CLT向 CNU发送第一静 默时间值, 其中, CLT同一时刻向不同 CNU发送的相同的第一静默时间值的 数量不超过预设阈值; CNU接收第一静默时间值, 并在第一静默时间值指示的 时间到达时, 向 CLT发送第一注册请求消息。 上述 CLT确定 CNU不合法之前, 该方法还包括: CNU向 CLT发送第二 注册请求消息; 则 CLT向 CNU发送第一静默时间值包括: CLT向 CNU发送 第二注册请求消息的响应消息, 该响应消息为拒绝注册消息, 拒绝注册消息中 携带第一静默时间值。 上述 CNU向 CLT发送的第二注册请求消息之后, 该方法还包括: CNU确 定需要发送第三注册请求消息; CNU 从第二预设范围内选择一随机值作为 CNU的第二静默时间值; CNU在第二静默时间值指示的时间到达时, CNU向 CLT发送第三注册请求消息。 如果 CLT确定 CNU合法, 该方法还包括: CLT向 CNU发送第二注册请 求消息的响应消息, 该响应消息为注册确认消息; CNU确定需要发送第三注册 请求消息之前,还包括: CNU确定在发送第二注册请求消息之后的预定时间段 内未接收到第二注册请求消息的响应消息。 上述 CLT向 CNU发送第一静默时间值之前, 该方法还包括: CLT从第一 预设范围内选择一个随机值作为第一静默时间值。 根据本发明的另一方面, 提供了一种同轴网络中的终端注册***, 包括: 同轴线路终端 CLT及同轴网络单元 CNU, 其中, 上述 CLT包括: 判断模块, 设置为判断 CNU是否合法; 第一发送模块, 与判断模块相连, 设置为在判断 模块输出结果为否的情况下, 向 CNU发送第一静默时间值, 其中, 该第一发 送模块同一时刻向不同 CNU发送的相同的第一静默时间值的数量不超过预设 阈值; 上述 CNU 包括: 接收模块, 设置为接收第一静默时间值; 第二发送模 块, 与接收模块相连, 设置为在接收模块接收的第一静默时间值指示的时间到 达时, 向 CLT发送第一注册请求消息。 上述第二发送模块, 还设置为向 CLT发送第二注册请求消息; 则第一发送 模块, 还设置为向 CNU发送第二注册请求消息的响应消息, 该响应消息为拒 绝注册消息, 拒绝注册消息中携带第一静默时间值。 上述 CNU还包括: 确定模块, 设置为确定需要发送第三注册请求消息; 第一选择模块, 与确定模块相连, 设置为从第二预设范围内选择一随机值作为 CNU的第二静默时间值; 第二发送模块, 与第一选择模块相连, 还设置为在第 二静默时间值指示的时间到达时, 向 CLT发送第三注册请求消息。 上述第一发送模块,还设置为在判断模块输出结果为是的情况下, 向 CNU 发送第二注册请求消息的响应消息, 该响应消息为注册确认消息; 确定模块, 还设置为确定在发送第二注册请求消息之后的预定时间段内未接收到第二注 册请求消息的响应消息。 上述 CLT还包括: 第二选择模块, 与第一发送模块相连, 设置为从第一预 设范围内选择一个随机值作为第一静默时间值。 通过本发明, 釆用 CNU通过接收 CLT发送过来的第一静默时间值, 并在 该第一静默时间值指示的时间到达时, 向 CLT发送第一注册请求消息, 解决了 相关技术中 ECAN***中, 简单的静默机制对于多个 CNU密集注册时, 反复 给***造成冲击, 影响***的稳定和安全, 同时, 重复的注册 4艮文占用一定的 ***带宽, 影响***整体性能等问题, 从而緩解了 CLT处理压力, 进而达到了 降低***负荷, 提高***安全性的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不 当限定。 在附图中: 图 1为才艮据相关技术的 ECAN***的拓朴结构示意图; 图 2为才艮据本发明实施例的一种同轴网络中的终端注册方法流程图; 图 3为才艮据本发明实例的 CNU注册过程中的 CLT处理流程示意图; 图 4为根据本发明实例的 CNU注册过程中的 CNU处理流程示意图; 图 5为根据本发明实例的 CNU内部的状态机示意图; 图 6为根据本发明实施例的同轴网络中的终端注册***结构框图; 图 7为根据本发明优选实施例的同轴网络中的终端注册***结构示意图; 图 8为才艮据本发明实例的同轴网络中的终端注册***结构示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不 冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 2为根据本发明实施例的一种同轴网络中的终端注册方法流程图。 如图 2所示, 该方法包括: 步骤 S202, 同轴线路终端 CLT确定同轴网络单元 CNU不合法; 步骤 S204 , CLT向 CNU发送第一静默时间值, 其中, CLT同一时刻向不 同 CNU发送的相同的第一静默时间值的数量不超过预设阈值; 在实际应用时, 上述预设阈值可以 居实际 CLT的处理能力设定, 在 CLT的处理能力允许的 情况下, CLT同一时刻向各个不同 CNU分别发送一个不同 (互不相等) 的第 一静默时间值; 步骤 S206, CNU接收第一静默时间值, 并在第一静默时间值指示的时间 到达时, 向 CLT发送第一注册请求消息。 从上述实施例可以得出, 上述实施例解决了相关技术中同轴网络中终端密 集注册的防护问题, 尤其是针对大量终端几乎在同一时刻发起注册或接入请求 时对局端设备造成冲击的防护问题。 上述实施例主要利用差别化的静默时间设 置机制将终端的注册行为错开, 以降低***负荷, 提高***稳定性和安全性, 从而緩解了 CLT处理压力,进而达到了降低***负荷,提高***安全性的效果。 优选地, CLT确定 CNU不合法之前, 上述方法还可以包括: CNU向 CLT 发送第二注册请求消息; 则 CLT向 CNU发送第一静默时间值可以包括: CLT 向 CNU发送第二注册请求消息的响应消息, 该响应消息为拒绝注册消息, 该 拒绝注册消息中携带第一静默时间值。 优选地, CNU向 CLT发送的第二注册请求消息之后, 还可以包括以下处 理: TECHNICAL FIELD The present invention relates to the field of communications, and in particular to a method and system for registering a terminal in a coaxial network. BACKGROUND As a widely used transmission medium, a coaxial cable can carry a broadband access service like an optical fiber. Referring to the network structure of a passive optical network system, an Ethernet Coaxial Access Network (Ethernet Coaxial Access Network) has emerged. Referred to as ECAN) system. Figure 1 is a schematic diagram of the topology of the ECAN system. As shown in Figure 1, the ECAN system mainly includes a Coaxial Line Terminal (CLT), a coaxial distribution network, and a Coaxial Network Unit (referred to as Coaxial Network Unit). For CNU). The ECAN system connects various Ethernet devices through the CLT, connects the user equipment through the CNU, and connects the CLT and the CNU through a coaxial distribution network. The coaxial distribution network may include physical layer devices such as splitters, splitters, active amplifiers (partially not shown in Figure 1). Each CNU in the Ethernet coaxial access network uses a time division multiplexing mechanism to share the network bandwidth on the coaxial medium, using the registration discovery mechanism described below: CLT loops back and forth in the network at regular intervals The CNU sends a broadcast message, which includes the device identification information of the CLT. After receiving the broadcast message, each CNU knows the existence of the CLT, and sends a registration request to the CLT when its own transmission data slot arrives. These requests may be rejected by the CLT (because the CNU is considered illegal CNU) or the CLT is busy and fails to process the request in time to cause a timeout. The unregistered CNU will continue to send registration requests to the CLT until the registration is successful. It should be noted that the CLT can always receive registration requests from the CNU. Therefore, the ECAN system needs to use a silent mechanism to ensure the security of the system. Especially when a large number of CNUs are online at the same time (such as power recovery after a user's cell power failure), although each CNU has its own time slot, for CLT, the possibility of receiving a large number of registration requests in a short time is too late to process. It is completely existing. Because the coaxial network is mainly working in the half-duplex mode, the uplink and downlink data share the physical channel. In the case of large downlink data traffic, the congestion of the uplink data will also cause the packet processing. Timely or even lost. Numerous CNUs may repeatedly send registration requests to CLT. The impact of CNU's intensive registration on the system cannot be ignored. The simple silent mechanism can only slow down the frequency of repeated CNU registration requests, and can not alleviate multiple CNU intensive Registration In the case, since the respective silent times are the same, the time of the next registration almost coincides, which repeatedly impacts the system, affecting the stability and security of the system. Repeated registration messages also occupy a certain system bandwidth, affecting system performance. . In view of the above problems in the related art, an effective solution has not yet been proposed. SUMMARY OF THE INVENTION In the related art, in the EC AN system, a simple silent mechanism repeatedly attacks the system when multiple CNUs are intensively registered, which affects the stability and security of the system. At the same time, the repeated registration of the message also takes up a certain amount of time. The main purpose of the present invention is to provide a method and system for registering a terminal in a coaxial network to solve at least one of the above problems. According to an aspect of the present invention, a method for registering a terminal in a coaxial network is provided, including: the coaxial line terminal CLT determines that the coaxial network unit CNU is invalid; the CLT sends a first quiet time value to the CNU, where the CLT is the same The number of the same first silent time value sent to different CNUs at a time does not exceed a preset threshold; the CNU receives the first quiet time value, and sends a first registration request message to the CLT when the time indicated by the first silent time value arrives . Before the CLT determines that the CNU is invalid, the method further includes: the CNU sending a second registration request message to the CLT; and the CLT sending the first quiet time value to the CNU comprises: sending, by the CLT, a response message of the second registration request message to the CNU, the response The message is a refusal to register message, and the refusal registration message carries the first silent time value. After the CNU sends the second registration request message to the CLT, the method further includes: the CNU determines that the third registration request message needs to be sent; the CNU selects a random value from the second preset range as the second silent time value of the CNU; CNU When the time indicated by the second quiet time value arrives, the CNU sends a third registration request message to the CLT. If the CLT determines that the CNU is legal, the method further includes: the CLT sending a response message of the second registration request message to the CNU, where the response message is a registration confirmation message; and before the CNU determines that the third registration request message needs to be sent, the CNU further includes: The response message of the second registration request message is not received within the predetermined time period after the second registration request message. Before the CLT sends the first quiet time value to the CNU, the method further includes: the CLT selecting a random value from the first preset range as the first silent time value. According to another aspect of the present invention, a terminal registration system in a coaxial network is provided, including: a coaxial line terminal CLT and a coaxial network unit CNU, wherein the CLT includes: a determining module configured to determine whether the CNU is legal The first sending module is connected to the determining module, and is configured to send a first quiet time value to the CNU when the output of the determining module is negative, wherein the first sending module sends the same first time to different CNUs at the same time. The number of the silent time value does not exceed the preset threshold; the CNU includes: a receiving module, configured to receive the first quiet time value; and a second sending module, connected to the receiving module, configured to receive the first silent time value received by the receiving module When the indicated time arrives, a first registration request message is sent to the CLT. The second sending module is further configured to send a second registration request message to the CLT. The first sending module is further configured to send a response message of the second registration request message to the CNU, where the response message is a reject registration message, and the registration message is rejected. The first silent time value is carried in the middle. The CNU further includes: a determining module, configured to determine that a third registration request message needs to be sent; the first selecting module is connected to the determining module, and is configured to select a random value from the second preset range as the second silent time value of the CNU The second sending module is connected to the first selecting module, and is further configured to send a third registration request message to the CLT when the time indicated by the second quiet time value arrives. The first sending module is further configured to: when the output of the determining module is YES, send a response message of the second registration request message to the CNU, where the response message is a registration confirmation message; and the determining module is further configured to determine that the sending is performed. The response message of the second registration request message is not received within the predetermined time period after the second registration request message. The CLT further includes: a second selection module, connected to the first sending module, configured to select a random value from the first preset range as the first silent time value. According to the present invention, the first silent time value sent by the CLT is received by the CNU, and when the time indicated by the first silent time value arrives, the first registration request message is sent to the CLT, which solves the related art ECAN system. The simple silent mechanism repeatedly impacts the system when multiple CNUs are intensively registered, which affects the stability and security of the system. At the same time, repeated registrations occupy a certain system bandwidth and affect the overall performance of the system, thus alleviating the problem. CLT handles pressure, which in turn reduces system load and improves system safety. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram of a topology of an ECAN system according to the related art; FIG. 2 is a flowchart of a method for registering a terminal in a coaxial network according to an embodiment of the present invention; FIG. 4 is a schematic diagram of a CNU processing flow in a CNU registration process according to an example of the present invention; FIG. 5 is a schematic diagram of a state machine inside a CNU according to an example of the present invention; 6 is a structural block diagram of a terminal registration system in a coaxial network according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of a terminal registration system in a coaxial network according to a preferred embodiment of the present invention; FIG. 8 is a schematic diagram of a terminal according to an embodiment of the present invention. Schematic diagram of the structure of the terminal registration system in the coaxial network. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. 2 is a flow chart of a method for registering a terminal in a coaxial network according to an embodiment of the present invention. As shown in FIG. 2, the method includes: Step S202: The coaxial line terminal CLT determines that the coaxial network unit CNU is invalid. In step S204, the CLT sends a first quiet time value to the CNU, where the CLT sends the same time to different CNUs. The number of the same first silent time value does not exceed the preset threshold; in actual application, the preset threshold may be set in the actual CLT processing capability, and the CLT is different at the same time when the processing capability of the CLT is allowed. The CNU sends a different (mutually unequal) first silent time value respectively; in step S206, the CNU receives the first quiet time value, and sends a first registration request message to the CLT when the time indicated by the first silent time value arrives. It can be seen from the foregoing embodiment that the foregoing embodiment solves the problem of protecting the terminal intensive registration in the coaxial network in the related art, in particular, the impact on the central office equipment when a large number of terminals initiate registration or access requests at the same time. Protection issues. The above embodiment mainly utilizes a differentiated silent time setting mechanism to stagger the registration behavior of the terminal, thereby reducing system load, improving system stability and security, thereby alleviating CLT processing pressure, thereby reducing system load and improving system security. Effect. Preferably, before the CLT determines that the CNU is invalid, the method may further include: the CNU sending a second registration request message to the CLT; and the CLT sending the first quiet time value to the CNU may include: sending, by the CLT, a response of the second registration request message to the CNU. The message, the response message is a refusal registration message, and the refusal registration message carries the first silent time value. Preferably, after the second registration request message sent by the CNU to the CLT, the following processing may also be included:
( 1 )、 CNU确定需要发送第三注册请求消息; (1), the CNU determines that a third registration request message needs to be sent;
( 2 )、 CNU从第二预设范围内选择一随机值作为 CNU的第二静默时间值; (2) The CNU selects a random value from the second preset range as the second silent time value of the CNU;
( 3 )、 CNU在第二静默时间值指示的时间到达时, CNU向 CLT发送第三 注册请求消息。 优选地, 如果 CLT确定 CNU合法, 则上述方法还可以包括: CLT向 CNU 发送第二注册请求消息的响应消息, 该响应消息为注册确认消息; 以及 CNU 确定需要发送第三注册请求消息之前,还可以包括: CNU确定在发送第二注册 请求消息之后的预定时间段内未接收到第二注册请求消息的响应消息。 优选地, CLT向 CNU发送第一静默时间值之前, 还可以包括: CLT从第 一预设范围内选择一个随机值作为第一静默时间值。 为了更好地理解上述实施例, 以下结合具体实例及相关附图详细说明。 实例 1 本实例中, 为便于理解, 对 CLT和 CNU的处理流程分别进行说明, 并且 在本实例中, 以 CLT在同一时刻向各个 CNU发送的每个静默时间值 (第一静 默时间值) 不同为例进行说明。 图 3为才艮据本发明实例的 CNU注册过程中的 CLT处理流程示意图, 如图 3所示, 该处理流程包括: 步骤 S302, CLT每隔一定间隔时间 (如 10秒) 向所有的 CNU广播一个 发现信标 ( Discover Beacon ) 消息, 并监听网络中的报文; 其中, 上述发现信 标信息携带了 CLT的设备标识符 ( Equipment Identification, 简称为 EI )、 媒体 接入控制 (Media Access Control, 简称为 MAC ) 地址等信息; 步骤 S304 , CLT收到 CNU的注册请求消息; 步骤 S306, 判断该 CNU是否为合法的 CNU (在实际应用时, CNU的合 法性判断基准可以根据实际需要具体确定如根据 CNU的标识信息等, 此处不 再赞述), 如果合法, 则转入步骤 S308, 如果不合法, 则转入步骤 S312; 步骤 S308, CLT记录 CNU的设备注册信息, 转入步骤 S310; 步骤 S310, 给 CNU回复一个确认消息 (ACK ) 即回应 ACK 4艮文, CNU 注册流程中 CLT的处理逻辑结束, 转入步 4聚 S302; 步骤 S312, CLT不记录 CNU的设备注册信息, 并生成一个随机静默时间 值, 其中, 该随机静默时间值为一个合理范围内的随机值, 比如 1 -300秒范围 内的一个随机时间, 转入步骤 S314; 步骤 S314 , CLT直接给 CNU回复一个拒绝消息( NACK )即 NACK 4艮文, 其中, 该 NACK报文中包含了对 CNU静默时间的设置值即上述随机静默时间 值, 转入步 4聚 S302。 需要指出的是, 图 3所示实施例中的随机静默时间值相当于上述实施例中 的第一静默时间值。 图 4为根据本发明实例的 CNU注册过程中的 CNU处理流程示意图,如图(3) When the CNU arrives at the time indicated by the second silent time value, the CNU sends a third registration request message to the CLT. Preferably, if the CLT determines that the CNU is legal, the method may further include: the CLT sending a response message of the second registration request message to the CNU, the response message is a registration confirmation message; and the CNU determines that the third registration request message needs to be sent before The method may include: the CNU determining that the response message of the second registration request message is not received within a predetermined period of time after the second registration request message is transmitted. Preferably, before the CLT sends the first quiet time value to the CNU, the method further includes: the CLT selecting a random value from the first preset range as the first silent time value. In order to better understand the above embodiments, the following detailed description will be made in conjunction with specific examples and related drawings. Example 1 In this example, the processing flow of CLT and CNU are separately described for ease of understanding, and in this example, each silent time value (first silent time value) sent by CLT to each CNU at the same time is different. Give an example for explanation. FIG. 3 is a schematic diagram of a CLT processing flow in a CNU registration process according to an example of the present invention. As shown in FIG. 3, the processing flow includes: Step S302: The CLT broadcasts a Discover Beacon message to all CNUs at intervals of a certain interval (for example, 10 seconds), and listens for the packets in the network. The discovery beacon information carries the device identifier of the CLT. (Device Identification, EI for short), Media Access Control (MAC) address, etc.; Step S304, the CLT receives the registration request message of the CNU; Step S306, determining whether the CNU is a legal CNU (In actual application, the CNU legality judgment criterion can be determined according to actual needs, such as according to the CNU identification information, etc., and will not be mentioned here.) If it is legal, go to step S308, if it is not legal, then transfer to Step S312; Step S308, the CLT records the device registration information of the CNU, and proceeds to step S310; Step S310, returns an acknowledgement message (ACK) to the CNU, that is, responds to the ACK message, and the processing logic of the CLT in the CNU registration process ends, and the process proceeds. Step S302: Step S312, the CLT does not record the device registration information of the CNU, and generates a random silence time value, where the random silence time value is a random value within a reasonable range, such as a random time in the range of 1 - 300 seconds, proceeds to step S314; in step S314, the CLT directly replies to the CNU with a reject message (NACK), that is, a NACK message, wherein the NACK message The setting value of the CNU silent time, that is, the above random silent time value is included in the text, and the process proceeds to step 4, S302. It should be noted that the random silence time value in the embodiment shown in FIG. 3 is equivalent to the first silence time value in the above embodiment. 4 is a schematic diagram of a CNU processing flow in a CNU registration process according to an example of the present invention, as shown in FIG.
4所示, 该流程包括: 步骤 S402, CNU上电初始化完成后, 开始监听网络中的报文; 步骤 S404, CNU收到来自 CLT的广播 4艮文; 步骤 S406, CNU判断自己是否已经完成注册, 如果已完成, CNU不再重 复注册, 转入步骤 S424, 如果没有完成注册, 转入步骤 S408; 步骤 S408 , CNU 在自 己的发送时隙中向 CLT 发出注册请求消息 ( Register REQ ), 其中包含了 CNU的设备标识符信息和 MAC地址信息等, CNU同时启动请求等待定时器 (Req_Timer ), 等待 CLT的回应报文, 超时时 间设置为本地变量 T1 , 例如 10秒; 步骤 S410, CNU判断 Req_Timer定时器是否超时, 如果超时, 转入步骤 S418; 如果未超时, 转入步 4聚 S412; 步 4聚 S412, CNU收到 CLT的回应 4艮文, 关闭 Req_Timer定时器; 步骤 S414, 判断 4艮文类别, 如果是注册确认 ACK消息, 表示注册成功, 转入步骤 S424, 如果是拒绝注册 NACK消息, 转入步骤 S416; 步骤 S416 , CNU获取 NACK消息中携带的静默时间值并写入本地变量 T2 , 转入步骤 S420; 步骤 S418 , CNU将本地变量 T2的值设置为一个合理范围内的随机值(即 随机生成静默时间, 并设置 T2 ), 比如 1-300秒范围内的一个随机时间; 步骤 S420 , CNU启动静默周期定时器( Silence_Timer ), 超时时间为本地 变量 T2中的值; 步骤 S422 , Silence_Timer超时后关闭该定时器, 并转入步骤 S408; 步骤 S424, 流程结束。 在图 4所示实施例的基础上, 图 5进一步说明了 CNU注册过程中的内部 状态机状态迁移条件和状态转换情况。 如图 5所示, 具体包括: 4, the process includes: Step S402, after the CNU power-on initialization is completed, start to listen to the message in the network; Step S404, the CNU receives the broadcast message from the CLT; Step S406, the CNU determines whether it has completed the registration. If it has been completed, the CNU does not repeat the registration, and proceeds to step S424. If the registration is not completed, the process goes to step S408; in step S408, the CNU issues a registration request message (Register REQ) to the CLT in its own transmission slot, which includes CNU device identifier information and MAC address information, etc. The CNU simultaneously starts the request waiting timer (Req_Timer), waits for the response message of the CLT, and sets the timeout time to the local variable T1, for example, 10 seconds. In step S410, the CNU determines whether the Req_Timer timer expires. If it times out, the process goes to step S418; If there is no timeout, go to step 4 to gather S412; step 4 gathers S412, the CNU receives the response of the CLT, and closes the Req_Timer timer; step S414, judges the category of the message, and if it is the registration confirmation ACK message, the registration is successful, Go to step S424, if it is to refuse to register the NACK message, go to step S416; Step S416, the CNU obtains the silence time value carried in the NACK message and writes the local variable T2, and proceeds to step S420; Step S418, CNU will local variable T2 The value is set to a random value within a reasonable range (ie, randomly generating a silent time, and setting T2), such as a random time in the range of 1-300 seconds; Step S420, CNU starts the silent period timer (Sience_Timer), timeout time It is the value in the local variable T2; Step S422, the Silence_Timer closes the timer after timeout, and proceeds to step S408; Step S424, the flow ends. Based on the embodiment shown in FIG. 4, FIG. 5 further illustrates internal state machine state transition conditions and state transitions during the CNU registration process. As shown in FIG. 5, the specific includes:
( 1 )、 当 CNU上电初始化完成后, 即进入等待状态; 当 CNU注册超时或 者发出注册请求后收到拒绝回应报文 (此处相当于拒绝注册 NACK消息) 时, 也会进入等待状态; (1) When the CNU power-on initialization is completed, it enters the waiting state; when the CNU registration expires or a registration request is received and a rejection response message is received (here, it is equivalent to rejecting the registration NACK message), it also enters a waiting state;
( 2 )、 在等待状态下首次收到来自于 CLT 的广播报文通知注册时, CNU 进入注册状态, 并发送注册请求 4艮文; (2) When the broadcast message notification from the CLT is received for the first time in the waiting state, the CNU enters the registration state and sends a registration request.
( 3 )、在等待状态下由静默周期定时器( Silence_Timer )判断超时后, CNU 也会重新发起注册请求操作而进入注册状态。 通过本实例可以看出, 相比现有的同轴网络接入技术, 本实例中, CLT给(3) After the timeout is judged by the silent period timer (Sience_Timer) in the waiting state, the CNU also re-initiates the registration request operation and enters the registration state. As can be seen from this example, compared to the existing coaxial network access technology, in this example, the CLT gives
CNU回复拒绝消息时同时附带静默时间的随机值设置信息, 使得不同的 CNU 尽量以不同的静默时间等待重发注册请求; 当 CNU的注册请求因为种种原因 (可能是网络丢包, 可能是 CLT处理不过来等情形)没有得到 CLT的回应时, CNU 自身也提供了随机静默一段时间的等待机制。这样就从 CLT和 CNU两方 面共同确保了 CNU重复注册等待时间的差异化,最大程度上避免 CNU密集注 册高峰期的出现, 极大的减轻了 CLT的处理压力, 增强***的安全性。 图 6为根据本发明实施例的同轴网络中的终端注册***结构框图。 如图 6 所示, 该***包括: 包括: 同轴线路终端 CLT 60及同轴网络单元 CNU 62 , 其 中, 上述 CLT 60包括: 判断模块 602 , 设置为判断 CNU是否合法; 第一发送模块 604 ,与判断模块 602相连,设置为在判断模块输出结果 602 为否的情况下, 向 CNU发送第一静默时间值, 其中, 该第一发送模块 604 同 一时刻向不同 CNU发送的相同的第一静默时间值的数量不超过预设阈值; 上述 CNU 62包括: 接收模块 620 , 设置为接收第一静默时间值; 第二发送模块 622 , 与接收模块 620相连, 设置为在接收模块 620接收的 第一静默时间值指示的时间到达时, 向 CLT 60发送第一注册请求消息。 从上述实施例可以得出, 上述实施例解决了相关技术中同轴网络中终端密 集注册的防护问题, 尤其是针对大量终端几乎在同一时刻发起注册或接入请求 时对局端设备造成冲击的防护问题。 上述实施例主要利用差别化的静默时间设 置机制将终端的注册行为错开, 以降低***负荷, 提高***稳定性和安全性, 从而緩解了 CLT处理压力,进而达到了降低***负荷,提高***安全性的效果。 优选地, 上述第二发送模块 622 , 还设置为向 CLT 60发送第二注册请求消 息; 则第一发送模块 604 , 还设置为向 CNU 62发送第二注册请求消息的响应 消息, 该响应消息为拒绝注册消息, 拒绝注册消息中携带第一静默时间值。 优选地, 如图 7所示, 上述 CNU 62还可以包括: 确定模块 624, 设置为 确定需要发送第三注册请求消息; 第一选择模块 626, 与确定模块 624相连, 设置为从第二预设范围内选择一随机值作为 CNU的第二静默时间值; 则上述第二发送模块 622 , 与第一选择模块 626相连, 还设置为在第二静 默时间值指示的时间到达时, 向 CLT 60发送第三注册请求消息。 优选地, 上述第一发送模块 604, 还设置为在判断模块 602输出结果为是 的情况下, 向 CNU发送第二注册请求消息的响应消息, 该响应消息为注册确 认消息; 以及上述确定模块 624, 还设置为确定在发送第二注册请求消息之后 的预定时间段内未接收到第二注册请求消息的响应消息。 优选地, 如图 7所示, 上述 CLT 60还可以包括: 第二选择模块 606, 与第 一发送模块 604相连, 设置为从第一预设范围内选择一个随机值作为第一静默 时间值。 为了更好地理解图 6和图 7所示实施例, 以下结合具体实例及相关附图详 细说明。 实例 2 本实例提供一种同轴网络中的终端注册***, 来实现一种改进型的静默机 制, 通过差异化的静默时间设置, 最大程度上错开终端注册的时间, 緩解 CLT 的处理压力。 如图 8所示, 该注册***包括: CLT 80 (相当于图 6所示实施例 中的 CLT 60 ) 及 CNU 82 (相当于图 6所示实施例中的 CNU 62 ), 其中, 上述 CLT 80包括: 信息发送模块 802 , 主要设置为广播消息的循环发送, 以及针对 CNU注册 信息的接受注册回应信息 (ACK ) 或拒绝注册 ( NACK ) 回应消息的发送。 信息处理模块 804 , 与信息发送模块 802相连, 主要设置为 CNU注册信息 的判断与处理, 包括 CNU合法性的判断以及拒绝注册消息 (NACK ) 中随机 静默时间字段的设置操作。 上述 CNU 82 , 包括: 信息接收模块 822 , 主要设置为接收 CLT发来的广播消息, 以及注册阶段 的 CLT回应消息 (接受注册 ACK或者拒绝注册 NACK ) 控制模块 824 , 维护两个定时器, 分别设置为控制注册阶段的超时重传以 及注册被拒绝后重新发起注册请求前的静默等待时间控制。 其中无论是注册中 的超时或者被拒绝, CNU都将进行一段随机时间长度的静默等待后才发起下一 次注册请求, 其中的区别仅在于前者的随机等待时间由 CNU 自己确定, 而后 者的等待时间来自于信息接收模块对于 CLT NACK消息的解析结果。控制模块 824实际控制了 CNU内部的一个状态机的正常运转, CNU的在注册状态和等 待状态之间的切换由控制模块 824完成。 需要指出的是, 本实例中的各个模块, 在实现的功能上包括但不限于图 6 和图 7所示实施例的各个模块所实现的功能, 相对应的, 在硬件上则可以包括 但不限于图 6和图 7所示实施例的各个模块。 需要注意的是, 上述终端中的各模块相关结合的优选工作方式具体可以上 述方法实施例的描述, J¾处不再赘述。 综上所述, 可以看出, 上述实施例中, CLT针对非法 CNU注册的情形, 在回应 N ACK消息的同时, 在该消息中带入了对于该 CNU静默时间设置的要 求, 且该时间可以为一个合理的随机值; 对于 CLT由于处理能力受限未能及时 处理的 CNU注册请求, CNU侧等待超时后, 自身提供了调整重发注册请求时 间间隔的机制, 重发间隔时间(也即静默时间)设置的值也可以为一个随机值。 这样就最大程度上避免了终端密集注册情形的发生, 降低了对***的冲击, 提 高了***的安全性和稳定性。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以 用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多 个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码 来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并且在某些 情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者将它们分别 制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单个集成电 路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件结合。 以上仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的 技术人员来说 ,本发明可以有各种更改和变化。凡在本发明的 ^"神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 The CNU replies to the reject message with the random value setting information of the silent time, which makes the different CNU Try to resend the registration request with different silent time. When the CNU registration request is not responded by CLT for various reasons (maybe network packet loss, maybe CLT processing, etc.), CNU itself provides random silence. Waiting mechanism for a while. In this way, CLT and CNU jointly ensure the differentiation of CNU repeated registration waiting time, and avoid the peak period of CNU intensive registration to the greatest extent, greatly reducing the processing pressure of CLT and enhancing the security of the system. 6 is a structural block diagram of a terminal registration system in a coaxial network according to an embodiment of the present invention. As shown in FIG. 6, the system includes: a coaxial line terminal CLT 60 and a coaxial network unit CNU 62, wherein the CLT 60 includes: a determining module 602, configured to determine whether the CNU is legal; the first sending module 604, The method is connected to the determining module 602, and is configured to send a first quiet time value to the CNU if the determining module output result 602 is negative, wherein the first sending module 604 sends the same first silent time to different CNUs at the same time. The number of values does not exceed the preset threshold; the CNU 62 includes: a receiving module 620 configured to receive a first quiet time value; a second sending module 622, coupled to the receiving module 620, configured to receive the first silence received at the receiving module 620 When the time indicated by the time value arrives, the first registration request message is sent to the CLT 60. It can be seen from the foregoing embodiment that the foregoing embodiment solves the problem of protecting the terminal intensive registration in the coaxial network in the related art, in particular, the impact on the central office equipment when a large number of terminals initiate registration or access requests at the same time. Protection issues. The above embodiment mainly utilizes a differentiated silent time setting mechanism to stagger the registration behavior of the terminal, thereby reducing system load, improving system stability and security, thereby alleviating CLT processing pressure, thereby reducing system load and improving system security. Effect. Preferably, the foregoing second sending module 622 is further configured to send a second registration request message to the CLT 60. The first sending module 604 is further configured to send a response message of the second registration request message to the CNU 62, where the response message is The registration message is rejected, and the first registration time value is carried in the rejection registration message. Preferably, as shown in FIG. 7, the CNU 62 may further include: a determining module 624, configured to determine that a third registration request message needs to be sent; the first selecting module 626 is connected to the determining module 624, and is set to be from the second preset. Selecting a random value as the second quiet time value of the CNU; the second sending module 622 is connected to the first selecting module 626, and is further configured to send to the CLT 60 when the time indicated by the second silent time value arrives. The third registration request message. Preferably, the first sending module 604 is further configured to: when the output of the determining module 602 is YES, send a response message of the second registration request message to the CNU, where the response message is a registration confirmation message; and the determining module 624 And determining to determine a response message that the second registration request message is not received within a predetermined period of time after the second registration request message is sent. Preferably, as shown in FIG. 7, the CLT 60 may further include: a second selection module 606, connected to the first sending module 604, configured to select a random value from the first preset range as the first silent time value. In order to better understand the embodiment shown in FIGS. 6 and 7, the following detailed description will be made in conjunction with specific examples and related drawings. Example 2 This example provides a terminal registration system in a coaxial network to implement an improved silent mechanism. By differently setting the silent time, the terminal registration time is maximized, and the processing pressure of the CLT is alleviated. As shown in FIG. 8, the registration system includes: CLT 80 (corresponding to CLT 60 in the embodiment shown in FIG. 6) and CNU 82 (corresponding to CNU 62 in the embodiment shown in FIG. 6), wherein the above CLT 80 The method includes: an information sending module 802, configured to be a cyclic transmission of a broadcast message, and a transmission of an accept registration response information (ACK) or a reject registration (NACK) response message for the CNU registration information. The information processing module 804 is connected to the information sending module 802, and is mainly configured to determine and process the CNU registration information, including the judgment of the CNU legality and the setting operation of the random silence time field in the reject registration message (NACK). The above CNU 82 includes: an information receiving module 822, configured to receive a broadcast message sent by the CLT, and a CLT response message during the registration phase (accepting the registration ACK or rejecting the registration NACK) The control module 824 maintains two timers, which are respectively set to control the timeout retransmission in the registration phase and the silent waiting time control before the registration request is re-initiated after the registration is rejected. Regardless of whether the timeout in the registration is denied or not, the CNU will wait for a random length of time before initiating the next registration request. The only difference is that the random waiting time of the former is determined by the CNU itself, and the waiting time of the latter. The result of parsing the CLT NACK message from the information receiving module. The control module 824 actually controls the normal operation of a state machine within the CNU, and the switching of the CNU between the registration state and the wait state is performed by the control module 824. It should be noted that the functions of the modules in this example include, but are not limited to, the functions implemented by the modules in the embodiments shown in FIG. 6 and FIG. 7, and correspondingly, the hardware may include but not It is limited to the various modules of the embodiment shown in Figures 6 and 7. It should be noted that the preferred working manners of the related modules in the foregoing terminals may be specifically described in the foregoing method embodiments, and details are not described in J3⁄4. In summary, it can be seen that, in the foregoing embodiment, when the CLT is registered for the illegal CNU, in response to the N ACK message, the request for the CNU silent time setting is brought in the message, and the time can be For a reasonable random value; for the CNU registration request that the CLT fails to process in time due to limited processing capability, the CNU side waits for a timeout, and provides a mechanism for adjusting the retransmission registration request interval, and the retransmission interval (ie, silence) The value set by time) can also be a random value. In this way, the intensive registration of the terminal is avoided to the greatest extent, the impact on the system is reduced, and the security and stability of the system are improved. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over 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 from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种同轴网络中的终端注册方法, 包括: A method for registering a terminal in a coaxial network, comprising:
同轴线路终端 CLT确定同轴网络单元 CNU不合法;  Coaxial line terminal CLT determines that the coaxial network unit CNU is not legal;
所述 CLT向所述 CNU发送第一静默时间值, 其中, 所述 CLT同一 时刻向不同 CNU 发送的相同的所述第一静默时间值的数量不超过预设 阈值;  The CLT sends a first quiet time value to the CNU, where the number of the same first silent time value sent by the CLT to different CNUs at the same time does not exceed a preset threshold;
所述 CNU接收所述第一静默时间值, 并在所述第一静默时间值指 示的时间到达时, 向所述 CLT发送第一注册请求消息。  The CNU receives the first quiet time value and sends a first registration request message to the CLT when the time indicated by the first quiet time value arrives.
2. 根据权利要求 1所述的方法, 其中, 所述 CLT确定 CNU不合法之前, 所述方法还包括: The method according to claim 1, wherein, before the CLT determines that the CNU is invalid, the method further includes:
所述 CNU向所述 CLT发送第二注册请求消息;  Sending, by the CNU, a second registration request message to the CLT;
则所述 CLT向所述 CNU发送第一静默时间值包括: 所述 CLT向所 述 CNU 发送所述第二注册请求消息的响应消息, 该响应消息为拒绝注 册消息, 所述拒绝注册消息中携带所述第一静默时间值。  The sending, by the CLT, the first quiet time value to the CNU includes: sending, by the CLT, a response message of the second registration request message to the CNU, where the response message is a refusal registration message, where the refusal registration message is carried The first silent time value.
3. 根据权利要求 2所述的方法, 其中, 所述 CNU向所述 CLT发送的第二 注册请求消息之后, 所述方法还包括: 所述 CNU确定需要发送第三注册请求消息; The method according to claim 2, wherein, after the second registration request message sent by the CNU to the CLT, the method further comprises: determining, by the CNU, that a third registration request message needs to be sent;
所述 CNU从第二预设范围内选择一随机值作为所述 CNU的第二静 默时间值;  The CNU selects a random value from the second preset range as the second silent time value of the CNU;
所述 CNU在所述第二静默时间值指示的时间到达时, 所述 CNU向 所述 CLT发送所述第三注册请求消息。  When the CNU arrives at the time indicated by the second quiet time value, the CNU sends the third registration request message to the CLT.
4. 根据权利要求 3所述的方法, 其中, 4. The method according to claim 3, wherein
如果所述 CLT确定所述 CNU合法, 所述方法还包括: 所述 CLT向 所述 CNU 发送所述第二注册请求消息的响应消息, 该响应消息为注册 确认消息; 所述 CNU 确定需要发送所述第三注册请求消息之前, 还包括: 所 述 CNU 确定在发送所述第二注册请求消息之后的预定时间段内未接收 到所述第二注册请求消息的响应消息。 If the CLT determines that the CNU is legal, the method further includes: sending, by the CLT, a response message of the second registration request message to the CNU, where the response message is a registration confirmation message; Before the CNU determines that the third registration request message needs to be sent, the method further includes: the CNU determining that the response message of the second registration request message is not received within a predetermined time period after sending the second registration request message .
5. 根据权利要求 1至 4任一项所述的方法, 其中, 所述 CLT向所述 CNU 发送第一静默时间值之前, 所述方法还包括: The method according to any one of claims 1 to 4, wherein, before the CLT sends the first quiet time value to the CNU, the method further includes:
所述 CLT从第一预设范围内选择一个随机值作为所述第一静默时间 值。  The CLT selects a random value from the first preset range as the first silent time value.
6. —种同轴网络中的终端注册***, 包括: 同轴线路终端 CLT及同轴网络 单元 CNU, 6. A terminal registration system in a coaxial network, comprising: a coaxial line terminal CLT and a coaxial network unit CNU,
所述 CLT包括:  The CLT includes:
判断模块, 设置为判断所述 CNU是否合法;  a judging module, configured to determine whether the CNU is legal;
第一发送模块, 与所述判断模块相连, 设置为在所述判断模块输出 结果为否的情况下, 向所述 CNU 发送第一静默时间值, 其中, 该第一 发送模块同一时刻向不同 CNU 发送的相同的所述第一静默时间值的数 量不超过预设阈值;  The first sending module is connected to the determining module, and is configured to send a first quiet time value to the CNU if the output of the determining module is negative, where the first sending module sends a different time to the CNU at the same time. The same number of the first silent time values sent is not more than a preset threshold;
所述 CNU包括:  The CNU includes:
接收模块, 设置为接收所述第一静默时间值;  a receiving module, configured to receive the first silent time value;
第二发送模块, 与所述接收模块相连, 设置为在所述接收模块接收 的所述第一静默时间值指示的时间到达时, 向所述 CLT发送第一注册请 求消息。  The second sending module is connected to the receiving module, and is configured to send a first registration request message to the CLT when the time indicated by the first quiet time value received by the receiving module arrives.
7. 根据权利要求 6所述的***, 其中, 7. The system according to claim 6, wherein
所述第二发送模块, 还设置为向所述 CLT发送第二注册请求消息; 则所述第一发送模块, 还设置为向所述 CNU 发送所述第二注册请 求消息的响应消息, 该响应消息为拒绝注册消息, 所述拒绝注册消息中 携带所述第一静默时间值。  The second sending module is further configured to send a second registration request message to the CLT; the first sending module is further configured to send a response message of the second registration request message to the CNU, the response The message is a refusal registration message, and the refusal registration message carries the first silent time value.
8. 根据权利要求 7所述的***, 其中, 8. The system according to claim 7, wherein
所述 CNU还包括:  The CNU also includes:
确定模块, 设置为确定需要发送第三注册请求消息; 第一选择模块, 与所述确定模块相连, 设置为从第二预设范围内选 择一随机值作为所述 CNU的第二静默时间值; Determining a module, configured to determine that a third registration request message needs to be sent; a first selection module, connected to the determining module, configured to select a random value from the second preset range as the second silent time value of the CNU;
所述第二发送模块, 与所述第一选择模块相连, 还设置为在所述第 二静默时间值指示的时间到达时, 向所述 CLT发送所述第三注册请求消 息。  The second sending module is connected to the first selecting module, and is further configured to send the third registration request message to the CLT when the time indicated by the second quiet time value arrives.
9. 根据权利要求 8所述的***, 其中, 9. The system of claim 8 wherein
所述第一发送模块, 还设置为在所述判断模块输出结果为是的情况 下, 向所述 CNU 发送所述第二注册请求消息的响应消息, 该响应消息 为注册确认消息;  The first sending module is further configured to: when the output of the determining module is YES, send a response message of the second registration request message to the CNU, where the response message is a registration confirmation message;
所述确定模块, 还设置为确定在发送所述第二注册请求消息之后的 预定时间段内未接收到所述第二注册请求消息的响应消息。  The determining module is further configured to determine that the response message of the second registration request message is not received within a predetermined time period after the sending of the second registration request message.
10. 根据权利要求 6至 9任一项所述的***, 其中, 所述 CLT还包括: 第二选择模块, 与所述第一发送模块相连, 设置为从第一预设范围 内选择一个随机值作为所述第一静默时间值。 The system according to any one of claims 6 to 9, wherein the CLT further comprises: a second selection module, connected to the first sending module, configured to select a random one from a first preset range The value is taken as the first silent time value.
PCT/CN2011/076508 2011-03-02 2011-06-28 Register method and system for terminals in coaxial network WO2012116530A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110050304.5 2011-03-02
CN201110050304.5A CN102130832B (en) 2011-03-02 2011-03-02 Terminal registration method in coaxial network and system

Publications (1)

Publication Number Publication Date
WO2012116530A1 true WO2012116530A1 (en) 2012-09-07

Family

ID=44268726

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076508 WO2012116530A1 (en) 2011-03-02 2011-06-28 Register method and system for terminals in coaxial network

Country Status (2)

Country Link
CN (1) CN102130832B (en)
WO (1) WO2012116530A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014036682A1 (en) * 2012-09-04 2014-03-13 华为技术有限公司 Method, device, and system for preventing registration conflict
CN102868537B (en) * 2012-09-29 2016-06-08 武汉长光科技有限公司 A kind of EOC power-economizing method based on EPOC
WO2014113955A1 (en) * 2013-01-24 2014-07-31 华为技术有限公司 Epoc system-based registration method, device and system
CN106789143B (en) * 2016-03-03 2021-03-26 新华三技术有限公司 Registration method and device in Ethernet Passive Optical Network (EPON)
CN111371656B (en) * 2018-12-25 2022-01-14 上海未来宽带技术股份有限公司 Coaxial cable network unit silencing method and device, readable storage medium and terminal
CN111988841B (en) * 2019-05-21 2023-02-07 海能达通信股份有限公司 Registration, registration request sending method, device, communication equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159620A (en) * 2007-11-26 2008-04-09 中国电信股份有限公司 Login method of optical network unit
WO2009150027A1 (en) * 2008-05-26 2009-12-17 Thomson Licensing Mac protocol for cable data network
CN101897152A (en) * 2007-11-12 2010-11-24 索拉尔弗拉雷通讯公司 Active idle communication system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1746857A1 (en) * 2005-07-20 2007-01-24 Siemens Aktiengesellschaft Method and apparatus enabling end-to-end resilience in PONs
CN101282177B (en) * 2007-04-06 2010-11-03 杭州华三通信技术有限公司 Data transmission method and terminal
CN101471836B (en) * 2007-12-26 2010-11-10 普然通讯技术(上海)有限公司 Registration method of slave equipment to main equipment of packet-switching network
CN101471851B (en) * 2007-12-26 2010-12-15 普然通讯技术(上海)有限公司 Registration method of slave equipment to main equipment of packet-switching network
CN101282273B (en) * 2008-05-27 2010-11-10 杭州华三通信技术有限公司 Method and equipment for distributing time slot in baseband EPCN system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101897152A (en) * 2007-11-12 2010-11-24 索拉尔弗拉雷通讯公司 Active idle communication system
CN101159620A (en) * 2007-11-26 2008-04-09 中国电信股份有限公司 Login method of optical network unit
WO2009150027A1 (en) * 2008-05-26 2009-12-17 Thomson Licensing Mac protocol for cable data network

Also Published As

Publication number Publication date
CN102130832B (en) 2015-09-16
CN102130832A (en) 2011-07-20

Similar Documents

Publication Publication Date Title
WO2012116530A1 (en) Register method and system for terminals in coaxial network
EP1228603B1 (en) Methods and apparatus for coordinating channel access to shared parallel data channels
RU2605437C2 (en) System and method for applying extended accessing barring in wireless communication system
TWI414199B (en) Method and apparatus for handling uplink grant
KR100984303B1 (en) Signaling for preamble used for random access
US8806573B2 (en) Authentication control in low-power lossy networks
KR20170129772A (en) Multicast scheduling between devices participating in a NAN data link
WO2007047757A1 (en) Method and apparatus for managing data flow through a mesh network
WO2008034362A1 (en) Method for managing network key and updating session key
TW200939851A (en) Method and apparatus for handling a contention-based random access procedure
WO2011160565A1 (en) Configuration method and system of cell public information
US9532380B2 (en) Wireless data exchange in a network comprising collaborative nodes
CN109152065A (en) A kind of safe method of network entry of industry wireless network multinode based on IPv6
WO2012024996A1 (en) Random access method and system thereof
WO2012171476A1 (en) Network joining method and apparatus thereof for relay node
WO2016188245A1 (en) Channel negotiation method, station and system
JP5815872B2 (en) Method for updating identifier of multicast service, terminal and base station employing the method
CN101977376A (en) Mobile node-based wireless sensor network energy-saving secure routing method and system thereof
WO2013010470A1 (en) Wireless network management message interaction method and device
WO2012041111A1 (en) Method, system, terminal and network-side equipment for terminal access time control
US9906426B2 (en) Method of accelerating control link loss detection
US11784723B2 (en) Method for implementing many-to-one concurrent transmission medium access control (MAC) protocol for underwater acoustic networks
Mišić et al. Performance limitations of the MAC layer in 802.15. 4 low rate WPAN
WO2011127724A1 (en) Method and system for controlling signaling or data transmission of machine type communication equipment
WO2014180286A1 (en) Method, cse, and system for transmitting m2m application request

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

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

Country of ref document: EP

Kind code of ref document: A1