Registration method, communication device and system

By determining and indicating the random delay threshold of the network device in the registered device, the problem of the inability to flexibly adjust the CPE random delay threshold in the prior art is solved, and a more efficient registration process is achieved.

CN119497219APending Publication Date: 2025-02-21HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311048557.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-17
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

In the prior art, the random delay threshold of wireless terminal access equipment (CPE) cannot be flexibly adjusted, resulting in too long or too short registration time window, affecting the device registration success rate.

Method used

The random delay threshold of the network device is determined and indicated by the registration device, and it is flexibly adjusted according to the current actual registration situation to meet the needs of different quantities and registration efficiency.

Benefits of technology

It realizes the flexibly adjusting the random delay threshold of CPE, optimizes the registration time window, and improves the registration success rate and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119497219A_ABST
    Figure CN119497219A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a registration method, a communication device and a system, relates to the technical field of communication, and solves the problem that the random time delay threshold of CPE cannot be flexibly adjusted, and the method comprises the following steps: determining a first random time delay threshold, the first random time delay threshold is a random time delay threshold for one or more network devices to register in the first registration time window; and sending first indication information, wherein the first indication information is used for indicating the first random time delay threshold. The embodiment of the invention is used in a network equipment registration process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a registration method, a communication device and a system. Background Art

[0002] The current random delay threshold of wireless terminal access equipment (customer premise equipment, CPE) is pre-configured and cannot be flexibly adjusted. However, if the random delay threshold is too large, the registration time window will be too long, affecting the subsequent device to send data. If the random delay threshold is too small, the probability of collision of registration messages sent by CPE will increase, affecting the registration success rate of CPE. Therefore, how to flexibly adjust the random delay threshold of CPE is a technical problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application provide a registration method, a communication device, and a system, which can flexibly adjust the random delay threshold of a CPE.

[0004] In order to achieve the above objectives, this application provides the following technical solutions:

[0005] In a first aspect, a registration method is provided, which can be executed by a registration device, or by a component of the registration device, such as a processor, a chip, or a chip system of the registration device, or by a logic module or software that can implement all or part of the registration device. The following is an example of the method being executed by a registration device. The registration method includes: determining a first random delay threshold, the first random delay threshold being a random delay threshold for one or more network devices to register within a first registration time window; sending a first indication message, the first indication message being used to indicate the first random delay threshold.

[0006] In the embodiment of the present application, the registration device determines the first random delay threshold and indicates the first random delay threshold to the network device. Compared with the prior art solution of pre-configuring the random delay threshold in the network device, the registration device of the present application can flexibly adjust the random delay threshold of the network device according to the current actual registration situation, solving the problem that the random delay threshold of the CPE cannot be flexibly adjusted in the prior art.

[0007] In combination with the above first aspect, in a possible implementation manner, the first random delay threshold is determined based on a preset number.

[0008] Based on this, the registration device can determine the first random delay threshold based on a preset number, so that the first random delay threshold can meet the registration requirements under different numbers.

[0009] In combination with the first aspect above, in a possible implementation manner, the preset number is the number of idle ports, or the preset number is the number of network devices to be registered.

[0010] Based on this, the registration device can determine the first random delay threshold based on the number of idle port books or network devices to be registered. In this way, the first random delay requirement can be determined based on the actual registration requirements in the current registration process, so that the determined first random delay threshold can be more in line with the current registration requirements.

[0011] In combination with the above first aspect, in a possible implementation manner, the first random delay threshold is determined based on a registration efficiency of the network device to be registered.

[0012] Based on this, the registering device may determine the first random delay threshold based on the registration efficiency of the network device to be registered, so that the determined first random delay threshold can optimize the registration efficiency of the network device.

[0013] In combination with the above-mentioned first aspect, in a possible implementation manner, the first indication information is carried in a downlink broadcast frame.

[0014] Based on this, the network device may send the first indication information to the network device via a downlink broadcast frame, thereby indicating the first random delay threshold to the network device without perceiving the network device.

[0015] In combination with the above-mentioned first aspect, in a possible implementation manner, the first indication information is carried in a field of a frame header of a downlink broadcast frame.

[0016] Based on this, the network device may indicate the first random delay threshold to the network device through the overhead field in the frame header, so that the network device can better parse out the first random delay threshold.

[0017] In combination with the above-mentioned first aspect, in a possible implementation manner, the field carrying the first indication information is a newly added field in the frame header of the downlink broadcast frame.

[0018] Based on this, the network device may indicate the first random delay threshold to the network device through a newly added field.

[0019] In combination with the above first aspect, in a possible implementation manner, the first indication information is carried in an operation, maintenance and management (OAM) entry in a frame header of a downlink broadcast frame.

[0020] In combination with the above first aspect, in a possible implementation manner, the OAM entry carrying the first indication information is a newly added OAM entry.

[0021] Based on this, the network device may indicate the first random delay threshold to the network device by adding a new OAM entry.

[0022] In combination with the first aspect above, in a possible implementation, the newly added OAM entry further includes at least one of the following: an identifier of a network device receiving the newly added OAM entry; an identifier of the newly added OAM entry; a serial number of the newly added OAM entry; and integrity verification information of the newly added OAM entry.

[0023] Based on this, the newly added OAM entry may also include information related to the newly added OAM entry, so that the network device can more accurately identify the newly added OAM entry.

[0024] In combination with the above-mentioned first aspect, in a possible implementation, the method also includes: determining a second random delay threshold when a preset condition is met, the second random delay threshold being a random delay threshold for registering one or more network devices within a second registration time window; sending a second indication information; the second indication information is used to indicate the second random delay threshold.

[0025] Based on this, the registering device can open the next registration time window after one registration time window, so that more network devices can register with the registering device, thereby increasing the number of network devices registered by the registering device.

[0026] In combination with the above first aspect, in a possible implementation manner, the preset condition includes: there is an idle port.

[0027] Based on this, the registering device opens the next registration time window when there is an idle port, which can improve the utilization rate of its own port and increase the number of network devices registered by the registering device.

[0028] In a second aspect, a registration method is provided, which can be executed by a network device, or by a component of the network device, such as a processor, chip, or chip system of the network device, or by a logic module or software that can implement all or part of the network device. The following is an example of the method being executed by a network device. The method includes: receiving first indication information, the first indication information is used to indicate a first random delay threshold, the first random delay threshold is a random delay threshold for one or more network devices to register within a first registration time window; sending a registration message based on the first random delay, wherein the first random delay is determined based on the first random delay threshold.

[0029] In combination with the above second aspect, in a possible implementation manner, the first random delay threshold is determined based on a preset number.

[0030] In combination with the second aspect above, in a possible implementation manner, the preset number is the number of idle ports, or the preset number is the number of network devices to be registered.

[0031] In combination with the second aspect above, in a possible implementation manner, the first random delay threshold is determined based on a registration efficiency of the network device to be registered.

[0032] In combination with the above second aspect, in a possible implementation manner, the first indication information is carried in a downlink broadcast frame.

[0033] In combination with the above second aspect, in a possible implementation manner, the first indication information is carried in a field of a frame header of a downlink broadcast frame.

[0034] In combination with the above second aspect, in a possible implementation manner, the field carrying the first indication information is a newly added field in the frame header of the downlink broadcast frame.

[0035] In combination with the above second aspect, in a possible implementation manner, the first indication information is carried in an operation, maintenance and management (OAM) entry in a frame header of a downlink broadcast frame.

[0036] In combination with the above second aspect, in a possible implementation manner, the OAM entry carrying the first indication information is a newly added OAM entry.

[0037] In combination with the above second aspect, in a possible implementation, the newly added OAM entry further includes at least one of the following: an identifier of a network device receiving the newly added OAM entry; an identifier of the newly added OAM entry; a serial number of the newly added OAM entry; and integrity verification information of the newly added OAM entry.

[0038] In combination with the above-mentioned second aspect, in a possible implementation, the method also includes: receiving second indication information, the second indication information is used to indicate a second random delay threshold, the second random delay threshold is a random delay threshold for registering one or more network devices within a second registration time window; sending a registration message based on the second random delay, wherein the second random delay is determined according to the second random delay threshold.

[0039] In a third aspect, a communication device is provided for implementing the various methods described above. The communication device may be the registration device described in the first aspect or any implementation of the first aspect, or a device including the registration device, or a device included in the registration device, such as a chip; or, the communication device may be the network device described in the second aspect or any implementation of the second aspect, or a device including the network device, or a device included in the network device, such as a chip. The communication device includes a module, unit, or means corresponding to the implementation of the above method, and the module, unit, or means may be implemented by hardware, software, or by executing the corresponding software implementation by hardware. The hardware or software includes one or more modules or units corresponding to the above functions.

[0040] In some possible designs, the communication device may include a processing module and a transceiver module. The transceiver module, which may also be referred to as a transceiver unit, is used to implement the sending and / or receiving functions in any of the above aspects and any possible implementations thereof. The transceiver module may be composed of a transceiver circuit, a transceiver, a transceiver or a communication interface. The processing module may be used to implement the processing functions in any of the above aspects and any possible implementations thereof.

[0041] In some possible designs, the transceiver module includes a sending module and a receiving module, which are respectively used to implement the sending and receiving functions in any of the above aspects and any possible implementation methods thereof.

[0042] In a fourth aspect, a communication device is provided, comprising: at least one processor; the processor is used to execute a computer program or instruction stored in a memory so that the communication device performs the method of any of the above aspects. The memory may be coupled to the processor, or may be independent of the processor. The communication device may be the registration device in the above first aspect, or any implementation of the first aspect, or a device including the above registration device, or a device included in the above registration device, such as a chip; or the communication device may be the above second aspect, or any implementation of the second aspect, or a device including the above network device, or a device included in the above network device, such as a chip.

[0043] In some possible designs, the communication device includes a memory for storing necessary program instructions and data.

[0044] In a possible implementation, the processor includes a logic circuit and an input interface and / or an output interface, wherein the output interface is used to execute the sending action in the corresponding method, and the input interface is used to execute the receiving action in the corresponding method.

[0045] In a possible implementation, the communication device further includes a communication interface and a communication bus, and the processor, the memory, and the communication interface are connected via the communication bus. The communication interface is used to perform the sending and receiving actions in the corresponding method. The communication interface may also be referred to as a transceiver. Optionally, the communication interface includes a transmitter and a receiver, in which case the transmitter is used to perform the sending action in the corresponding method, and the receiver is used to perform the receiving action in the corresponding method.

[0046] In some possible designs, when the communication device is a chip system, it can be composed of a chip, or it can include a chip and other discrete devices.

[0047] It can be understood that when the communication device provided in any one of the third to fourth aspects is a chip, the above-mentioned sending action / function can be understood as output, and the above-mentioned receiving action / function can be understood as input.

[0048] In a fifth aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer-readable storage medium is run on a communication device, the communication device can execute any of the above aspects or any of its implementation methods.

[0049] In a sixth aspect, a computer program product comprising instructions is provided, which, when executed on a communication device, enables the communication device to execute any of the above-mentioned aspects or any of its implementation methods.

[0050] In a seventh aspect, a communication system is provided, comprising: a registration device for executing the registration method described in the first aspect, and a network device for executing the registration method described in the second aspect.

[0051] The technical effects brought about by any implementation method of the second to seventh aspects can refer to the technical effects brought about by the corresponding implementation method of the first aspect, and will not be repeated here.

[0052] It should be noted that various possible implementation methods of any one of the above aspects can be combined under the premise that there is no contradiction between the solutions. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A system architecture diagram of a communication system provided in an embodiment of the present application;

[0054] Figure 2 A system architecture diagram of a P2MP FlexE private line system provided in an embodiment of the present application;

[0055] Figure 3 A schematic diagram of a registration process in a TDMA scenario provided in an embodiment of the present application;

[0056] Figure 4 A schematic diagram of a registration process in a TWDM scenario provided in an embodiment of the present application;

[0057] Figure 5 A schematic diagram of a registration process provided in an embodiment of the present application;

[0058] Figure 6 A flowchart of a registration method provided in an embodiment of the present application;

[0059] Figure 7 A schematic diagram of a centralized access scenario and a distributed access scenario of a P2MP FlexE private line system provided in an embodiment of the present application;

[0060] Figure 8A schematic diagram of the simulation relationship between the total duration of all registration time windows and the random delay threshold under different numbers of CPEs to be registered in a centralized access scenario provided by an embodiment of the present application;

[0061] Fig. 9 A schematic diagram of simulation of registration efficiency of different types of registration time windows in a centralized access scenario provided by an embodiment of the present application;

[0062] Fig.10 A schematic diagram of the simulation relationship between the total duration of all registration time windows and the random delay threshold under different numbers of CPEs to be registered in a distributed access scenario provided by an embodiment of the present application;

[0063] Fig.11 A schematic diagram of simulation of registration efficiency of different types of registration time windows in a distributed access scenario provided by an embodiment of the present application;

[0064] Fig.12 A schematic diagram of adding a new field in a frame header field of a downlink broadcast frame to carry first indication information provided by an embodiment of the present application;

[0065] Fig.13 A schematic diagram of adding a new OAM entry in a frame header field of a downlink broadcast frame to carry first indication information provided by an embodiment of the present application;

[0066] Fig.14 A flowchart of another registration method provided in an embodiment of the present application;

[0067] Fig.15 A schematic diagram of the composition of a communication device provided in an embodiment of the present application;

[0068] Fig.16 A schematic diagram of the hardware structure of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0069] In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is merely a description of the association relationship between associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.

[0070] In the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0071] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.

[0072] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.

[0073] It is understood that the "embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It is understood that in various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0074] It can be understood that in the present application, "when" and "if" both mean that corresponding processing will be carried out under certain objective circumstances, and do not limit the time, nor do they require any judgment action when implementing, nor do they mean the existence of other limitations.

[0075] It can be understood that some optional features in the embodiments of the present application may be implemented independently in certain scenarios without relying on other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects, or may be combined with other features according to needs in certain scenarios. Accordingly, the devices provided in the embodiments of the present application may also realize these features or functions accordingly, which will not be elaborated here.

[0076] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In the various embodiments in this application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The implementation methods of this application described below do not constitute a limitation on the scope of protection of this application.

[0077] The technical solution provided in the embodiment of the present application can be used for various communication systems, and the communication system can be a third generation partnership project (3GPP) communication system, for example, a fourth generation (4G) long term evolution (LTE) system, a fifth generation (5G) new radio (NR) system, a vehicle to everything (V2X) system, a system of LTE and NR hybrid networking, or a device to device (D2D) system, a machine to machine (M2M) communication system, an Internet of Things (IoT), and other next generation communication systems. Alternatively, the communication system may also be a non-3GPP communication system, without limitation.

[0078] Among them, the above-mentioned communication system applicable to the present application is only an example, and the communication system applicable to the present application is not limited to this. It is uniformly explained here and will not be repeated below.

[0079] Figure 1 The system architecture diagram of the communication system provided in the embodiment of the present application is as follows: Figure 1 As shown, the communication system includes a registration device 101 and a network device 102 .

[0080] The registration device 101 is used to determine a first random delay threshold, which is a random delay threshold used for one or more network devices to register within a first registration time window; and send first indication information, which is used to indicate the first random delay threshold.

[0081] The network device 102 is used to receive first indication information, where the first indication information is used to indicate a first random delay threshold, where the first random delay threshold is a random delay threshold for one or more network devices to register within a first registration time window; and send a registration message based on the first random delay, where the first random delay is determined based on the first random delay threshold.

[0082] It can be understood that the communication system in the embodiment of the present application may include multiple registration devices and multiple network devices. The embodiment of the present application only takes one registration device 101 and three network devices 102 as an example for illustration, and the embodiment of the present application does not limit this.

[0083] As an example, when the communication system provided in the embodiment of the present application is a point-to-multipoint (P2MP) flexible Ethernet (FlexE) dedicated line system, Figure 2 As shown, the system includes a Secret Private Network (SPN)-edge device (provider edge, PE) 201 and a customer premise equipment (customer premise equipment, CPE) 202.

[0084] SPN-PE201 corresponds to the above Figure 1 Registered devices in the Figure 1 Register the relevant functions performed by the device in Figure 2 In the P2MP FlexE private line system shown, the registration activation message sent by SPN-PE 201 may specifically be a serial number grant (SN Grant) (also referred to as an activation license).

[0085] CPE 202 corresponds to the above Figure 1 The network device in is used to perform the above Figure 1 Related functions performed by network devices in the network.

[0086] Optionally, the system further includes an SPN-core device (provider, P) 203, and SPN-P 203 is used to provide network services related to the SPN bearer network for CPE 202.

[0087] In the P2MP FlexE private line system, SPN-PE201 is connected to one or more CPE202 through an optical distribution network (ODN) splitter, so that the one or more CPE202 are connected to the SPN bearer network. Before CPE202 is connected to the SPN bearer network and works normally, CPE202 needs to register and measure the distance first.

[0088] The current CPE registration methods include time division multiple access (TDMA) registration method and time and wavelength division multiplexed (TWDM) registration method. The following describes the two registration methods respectively:

[0089] 1. TDMA registration method

[0090] The TDMA registration method refers to the SPN-PE registering and managing the CPE through a single-wavelength management channel. The CP and E send registration messages to the SPN-PE at different times to achieve the effect of time division multiplexing.

[0091] The specific process is: SPN-PE starts the registration process regularly. After starting the registration process, SPN-PE broadcasts the SN Grant through the single-wavelength management channel, and opens the registration time window after sending the SN Grant (the registration time window can also be called the silent window, Quiet Window in the embodiment of the present application, and the embodiment of the present application does not limit this), and listens to the registration message of the CPE within the registration time window. After receiving and parsing the SN Grant, the CPE generates a random delay according to the pre-configured random delay threshold, and sends a registration message to the SPN-PE through the single-wavelength management channel after waiting for the random delay. After receiving the registration message, the SPN-PE registers the CPE.

[0092] Figure 3 A schematic diagram of the CPE registration process in a TDMA scenario is given. Figure 3 As shown in the figure, SPN-PE broadcasts SN Grant to CPE#1, CPE#2 and CPE#3. SN Grant reaches CPE#1 after μ1 time, reaches CPE#2 after μ2 time, and reaches CPE#3 after μ3 time. CPE#1, CPE#2 and CPE#3 generate their own random delays after receiving SN Grant, and send registration messages after waiting for the random delay.

[0093] The registration message REQ#1 sent by CPE#1 does not collide with the registration messages sent by other CPEs, and is successfully received by SPN-PE. CPE#1 is successfully registered.

[0094] The registration message REQ#2 sent by CPE#2 collides with the registration message REQ#3 sent by CPE#3. SPN-PE cannot identify the colliding registration messages. SPN-PE discards the registration messages REQ#2 and REQ#3 sent by CPE#2 and CPE#3, and the registration of CPE#2 and CPE#3 fails.

[0095] 2. TWDM registration method

[0096] The TWDM registration method refers to SPN-PE registering and managing CPE through a multi-wavelength (generally 4-wavelength) management channel. CPE sends registration messages to SPN-PE through management channels of different wavelengths at different times to achieve the effect of time division and wavelength division multiplexing.

[0097] The specific process is: SPN-PE starts the registration process regularly. After starting the registration process, SPN-PE broadcasts the SN Grant through the multi-wavelength management channel, and opens the registration time window after sending the SN Grant (the registration time window can also be called the silent window, Quiet Window in the embodiment of the present application, and the embodiment of the present application does not limit this), and listens to the registration message of the CPE within the registration time window. The CPE receives the SN Grant in the management channel of the corresponding wavelength and parses the SN Grant. After that, the CPE generates a random delay according to the pre-configured random delay threshold, and sends a registration message to the SPN-PE through the management channel of the corresponding wavelength after waiting for the random delay. After receiving the registration message, the SPN-PE registers the CPE. After receiving the registration message, the SPN-PE registers the CPE.

[0098] It should be pointed out that in the TWDM scenario, different CPEs can communicate with SPN-PE using the management channel of the same wavelength, or can communicate with SPN-PE through management channels of different wavelengths. This embodiment of the present application does not limit this.

[0099] Figure 4 A schematic diagram of the CPE registration process in a TWDM scenario is given. Figure 4As shown, SPN-PE broadcasts SN Grant to CPE#1, CPE#2, and CPE#3 through management channels of different wavelengths. SN Grant reaches CPE#1 after μ1 time, reaches CPE#2 after μ2 time, and reaches CPE#3 after μ3 time. CPE#1 receives SNGrant in the management channel of the first wavelength, and CPE#2 and CPE#3 receive SN Grant in the management channel of the third wavelength. CPE#1, CPE#2, and CPE#3 generate their own random delays after receiving SN Grant, and send registration messages after waiting for the random delay.

[0100] Among them, CPE#1 sends a registration message REQ#1 in the management channel of the first wavelength. The registration message REQ#1 sent by CPE#1 does not collide with the registration messages sent by other CPEs, is successfully received by SPN-PE, and CPE#1 is successfully registered.

[0101] CPE#2 and CPE#3 both send registration messages in the management channel of the third wavelength. The registration message REQ#2 sent by CPE#2 collides with the registration message REQ#3 sent by CPE#3 in the management channel of the third wavelength. SPN-PE cannot identify the colliding registration messages. SPN-PE discards the registration messages REQ#2 and REQ#3 sent by CPE#2 and CPE#3, and the registration of CPE#2 and CPE#3 fails.

[0102] Compared with the TDMA registration method, the TWDM registration method uses multiple wavelength management channels, and the number of CPE registration messages in the same management channel is reduced. Therefore, the probability of collision between registration messages sent by CPE and SPN-PE is reduced, thereby improving registration efficiency and reducing registration delay. However, since the TWDM registration method requires the device to support multiple wavelength management channels, the equipment cost of the TWDM registration method is higher than that of the TDMA registration method.

[0103] The registration process of the TWDM registration method is similar to that of the TDMA registration method. Figure 5 , the registration process involved in the TWDM registration method and the TDMA registration method is described in detail. Figure 5 As shown, within a registration cycle, the registration process mainly includes the following steps 1-8.

[0104] Step 1: SPN-PE starts the registration process regularly.

[0105] In some embodiments, when the CPE has not completed registration, the SPN-PE starts the registration process every 2 seconds to activate the CPE for registration. When the CPE has completed registration, the registration process will no longer be started periodically.

[0106] It should be pointed out that, in the embodiment of the present application, the fact that all CPEs have not completed registration may mean that all CPEs managed by the current SPN-PE have not completed registration; it may also mean that all ports of the SPN-PE have not been allocated to the CPE, in which case the SPN-PE has idle ports that can be allocated to the newly registered CPE.

[0107] Step 2: SPN-PE broadcasts SN Grant to CPE.

[0108] In the TDMA registration method, the SPN-PE broadcasts the SN Grant to the CPE via a single wavelength management channel. In the TWDM registration method, the SPN-PE broadcasts the SN Grant to the CPE via a multi-wavelength management channel.

[0109] Step 3: SPN-PE opens the registration time window.

[0110] In the embodiment of the present application, after the SN Grant arrives at the CPE, the time for the CPE to receive and parse the SN Grant is usually fixed (usually 35μs±1μs), and the CPE needs to wait until a fixed start time to start sending a registration message to the SPN-PE. Therefore, the time when the SPN-PE receives the registration message is generally after the registration message time plus the start time. Figure 5 In the registration process shown, SPN-PE opens the registration time window after the registration message time plus the start time after broadcasting SN Grant. This can reduce the length of the registration time window, thereby improving bandwidth utilization and reducing data transmission delay.

[0111] Step 4: CPE receives and processes the SN Grant.

[0112] Step 5: CPE generates a random delay.

[0113] In some embodiments, the CPE generates a random delay that is no greater than a preconfigured random delay threshold.

[0114] Step 6: CPE sends an SN message at the specified time.

[0115] Optionally, the CPE sends an SN message after waiting for the random delay, where the SN message is a registration message. It should be noted that the CPE sends the registration message after waiting for the random delay in order to reduce the probability of collision of the registration messages.

[0116] Specifically, in a scenario where CPEs are geographically concentrated (for example, there are multiple CPEs that need to be registered on the same floor), the distances between multiple CPEs and SPN-PE are close. At this time, the time when the SN Grant sent by SPN-PE reaches the multiple CPEs is close, the time when the multiple CPEs receive and process the SN Grant message is the same, and the time when the registration messages sent by the multiple CPEs to SPN-PE after generating the registration messages reaches SPN-PE is close. If the multiple CPEs directly send registration messages to SPN-PE after generating the registration messages, the time when these registration messages arrive at SPN-PE will be relatively close, and there is a greater probability that these registration messages will collide, resulting in the registration failure of these CPEs.

[0117] Therefore, the CPE generates a random delay according to the random delay threshold and sends a registration message after waiting for the random delay threshold. This can solve the problem that in the scenario where the CPEs are geographically concentrated, the registration messages sent by the CPEs concentrate on reaching the SPN-PE, resulting in a high probability of registration message collision and CPE registration failure.

[0118] In a possible implementation, the registration message includes a physical layer operations, administration and maintenance (PLOAM) field.

[0119] Step 7: SPN-PE receives the registration message from CPE.

[0120] It is understandable that after receiving the registration message from the CPE, the SPN-PE registers the CPE, which is not elaborated in the embodiment of the present application.

[0121] Step 8: SPN-PE starts the registration process for the next cycle.

[0122] It should be noted that SPN-PE starts the next registration process if CPE has not completed registration. If CPE has completed registration, SPN-PE will not start the next registration process, but directly end the registration process and start the next phase of CPE ranging process.

[0123] Based on the above Figure 3-Figure 5 From the CPE registration process recorded in , it can be seen that during the registration process, SPN-PE needs to open a registration time window to listen to the registration message from CPE after broadcasting SNGrant. The registration time window is introduced below.

[0124] 3. Registration time window

[0125] The registration time window refers to the time window in which the SPN-PE listens to the registration message from the CPE during the broadcast SN Grant window. Since the SPN-PE needs to receive all the registration messages from the CPE within the registration time window, and the SPN-PE cannot sense the CPE before the CPE registers, the SPN-PE needs to determine the registration time window according to the latest time when the registration message from the CPE reaches the SPN-PE.

[0126] The latest time that the registration message reaches the SPN-PE is determined. The registration time window is usually determined by the following: the time it takes the CPE to process the information from the SPN-PE, the round-trip time of the message between the SPN-PE and the CPE, the maximum random delay (that is, the random delay threshold), and the time it takes the SPN-PE to receive the registration message.

[0127] Among them, the time for CPE to process information from SPN-PE is fixed, usually 35μs±1μs. Since CPE cannot send a registration message to SPN-PE before processing information from SPN-PE, SPN-PE can open the registration time window after waiting for CPE to process information from SPN-PE after sending SN Grant. Therefore, the registration time window only considers the deviation time 2μs (±1μs), and there is no need to calculate the time for CPE to process information from SPN-PE.

[0128] Since the maximum access distance of the ODN splitter is certain, usually 20km or 40km. Therefore, the maximum round-trip delay of the registration message between SPN-PE is also certain, that is, the ratio of the maximum access distance to the signal propagation speed (speed of light). Therefore, when the maximum coverage distance of the ODN splitter is 40KM, the maximum round-trip time of the message between SPN-PE and CPE is 400μs; when the maximum coverage distance of the ODN splitter is 20KM, the maximum round-trip time of the message between SPN-PE and CPE is 200μs.

[0129] Currently, the random delay threshold of the CPE is pre-configured in the CPE, and the configured random delay threshold is usually 48 μs.

[0130] The time it takes for SPN-PE to receive a registration message is related to the length of the registration message, which is usually the ratio of the length of the registration message to the speed at which SPN-PE can receive messages (that is, the length of the message that SPN-PE can receive per unit time). Since the length of the registration message is constant and the ratio of the length of the message that SPN-PE can receive per unit time is constant, the time it takes for SPN-PE to receive a registration message is constant, usually 0.3μs. Since the length of the registration time window is usually more than 250μs, the time it takes for SPN-PE to receive a registration message can be ignored.

[0131] Based on the above content, it can be known that in the embodiment of the present application, the size of the registration time window QWΔ is determined based on the following formula 1:

[0132] QWΔ=ΔRspTime+RTT+Randmax+L Formula 1

[0133] Among them, ΔRspTime is the deviation value of the time it takes for CPE to process information from SPN-PE (usually 2μs); round trip time (RTT) is the round-trip time between SPN-PE and CPE (RTT at 40km is 400μs, and RTT at 20km is 200μs), n1577 is the distance between SPN-PE and CPE, n1270 is the distance between CPE and SPN-PE, c is the speed of light; Randmax is the random time threshold of CPE (48μs); L is the time for SPN-PE to receive the registration message (usually 0.3μs), BurstSize is the byte length of the registration message, and Rnom is the speed at which SPN-PE receives byte messages.

[0134] In the related art, the random delay threshold is pre-configured in the CPE with a fixed value, usually 48μs. Correspondingly, the size of the registration time window is also fixed. For example, in combination with the above description, when the maximum access distance of the ODN connected to the SPN-PE is 20km, the size of the registration time window is 250μs, and when the maximum access distance of the ODN connected to the SPN-PE is 40km, the size of the registration time window is 450μs.

[0135] When the number of CPEs that need to be registered is small, the random delay threshold is large, and CPE does not need a large random delay threshold to generate random delay, and can also reduce the collision probability of registration messages. At this time, the fixed configuration of the random delay threshold will cause the registration time window to be too long. Since SPN-PE can only receive registration messages but not CPE's uplink messages within the registration time window, a long registration time window will occupy the uplink bandwidth, increase the uplink delay, and affect the uplink transmission efficiency.

[0136] When there are a large number of CPEs that need to be registered, the random delay generated by the CPE based on the fixed configured 48μs random delay threshold may cause the random delays generated by multiple CPEs to be similar in size. This may cause the registration messages of these CPEs to arrive at the SPN-PE at a similar time, increasing the probability of CPE registration failure due to registration message collision. At this time, the random delay threshold of 48μs cannot meet the registration requirements of the CPE.

[0137] In summary, the random delay threshold with a fixed value currently pre-configured for CPE can no longer meet the registration requirements of CPE in different scenarios. Therefore, how to flexibly adjust the random delay threshold of CPE is a technical problem that needs to be solved urgently.

[0138] To solve the above technical problems, the present application embodiment provides a registration method, such as Figure 6 As shown, the method includes:

[0139] S601: A registration device determines a first random delay threshold.

[0140] The first random delay threshold is a random delay threshold used for one or more network devices to register within the first registration time window.

[0141] S602: The registration device sends first indication information. Correspondingly, the network device receives the first indication information.

[0142] The first indication information is used to indicate a first random delay threshold.

[0143] S603: The network device sends a registration message based on the first random delay.

[0144] The first random delay is determined according to a first random delay threshold.

[0145] Based on the above technical solution, in the present application, the registration device determines the first random delay threshold and indicates the first random delay threshold to the network device. Compared with the prior art solution of pre-configuring the random delay threshold in the network device, the registration device of the present application can flexibly adjust the random delay threshold of the network device according to the current actual registration situation and indicate the adjusted random delay threshold to the network device, which solves the problem that the random delay threshold cannot be flexibly adjusted in the prior art.

[0146] The following describes in detail the first random delay threshold in the embodiment of the present application and the content of the first indication information sent by the registration device.

[0147] 1. First random delay threshold

[0148] In the embodiment of the present application, the first random delay threshold is a random delay threshold determined by the registration device based on the current actual registration situation.

[0149] In a specific embodiment, the random delay threshold determined by the registration device based on the current actual registration situation includes: scenario 1, the first random delay threshold is determined based on a preset number; and scenario 2, the first random delay threshold is determined based on the registration efficiency of the network device to be registered. Scenario 1 and scenario 2 are described in detail below.

[0150] Scenario 1: The first random delay threshold is determined based on a preset number.

[0151] Optionally, the preset number is the number of idle ports, or the preset number is the number of network devices to be registered.

[0152] In the case where the preset number is the number of idle ports, the registering device determines the first random delay threshold according to the current number of idle ports of the registering device.

[0153] It is understandable that the number of ports of the registered device is usually a fixed value. For example, the number of ports of the registered device in the prior art includes: 8 ports, 16 ports, 32 ports, 48 ​​ports, 64 ports and 128 ports. When the registered device instructs the network device to register for the first time, the number of free ports of the registered device is the total number of ports of the registered device. After one or more registrations, the registered device will allocate a corresponding port to each successfully registered CPE. At this time, the number of free ports of the registered device is the number of ports that are not allocated to the CPE among all the ports of the registered device.

[0154] In a case where the preset number is the number of network devices to be registered, the registering device determines the first random delay threshold based on the number of network devices to be registered.

[0155] It should be pointed out that the above-mentioned preset number can be the current maximum number of registrable network devices determined by the registration device based on its current number of free ports, or the number of network devices to be registered determined by other means (for example, configuring the registration device by manual configuration), and the embodiments of the present application do not limit this.

[0156] Optionally, when the registration device determines the first random delay threshold based on the preset number, the first random delay threshold satisfies the following formula 2:

[0157]

[0158] Wherein, ω is the random delay threshold, L is the time for the SPN-PE to receive the registration message, and λ is the preset number. The specific description of L can refer to the record in the above formula 1, which will not be repeated here.

[0159] It is understandable that when the preset number is the number of idle ports, the value of λ is the current number of idle ports of the registering device; when the preset number is the number of network devices to be registered, the value of λ is the number of network devices to be registered.

[0160] Scenario 2: The first random determination is based on the registration efficiency of the network device to be registered

[0161] In scenario 2, the registering device determines the first random delay threshold according to the registration efficiency of the network device to be registered. Optionally, the registering device determines the random delay threshold when the registration efficiency is the maximum as the first random delay threshold.

[0162] As an example, the process of the registering device determining the random delay threshold when the registration efficiency is maximum includes:

[0163] Step a: The registration device determines the probability density function (PDF) and cumulative distribution function (CDF) of the time z when the registration information of the network device reaches the registration device.

[0164] Optionally, the probability density function fZ(z) satisfies the following formula 3:

[0165]

[0166] The cumulative distribution function FZ(z) satisfies the following formula 4:

[0167]

[0168] Where z is the time when the registration information reaches the registration device, ω is the random delay threshold, and 2Q is the maximum round-trip delay between the registration device and the network device.

[0169] Step b: The registration device determines the registration power when k network devices are registering.

[0170] Optionally, the registration success rate p of k network devices k The following formula 5 is satisfied:

[0171]

[0172] Where n represents the number of network devices that actually enter the registration process, I i is the registration success rate of the i-th network device among k network devices, where i is a positive integer less than or equal to k.

[0173] In the embodiment of the present application, since the CPEs are independent of each other, k It can also be understood as the success probability of a network device trying to register k times. At this time, p k The following formula 6 is satisfied:

[0174]

[0175] Wherein, z1 represents the time when the registration message reaches the registered device during the first registration, j represents the jth registration among the k registrations of the network device, zj represents the time when the registration message reaches the registered device during the jth registration, z2 represents the time when the registration message reaches the registered device during the second registration, j is a positive integer less than or equal to k, and t represents the time when the registration message reaches the registered device.

[0176] Furthermore, by combining the probability density function and cumulative distribution function in the above formula 3 and formula 4, the registered device determines p k The following formula 7 is satisfied:

[0177]

[0179] Step c: The registration device determines the probability density function of the registration process of λ CPEs.

[0180] Optionally, the probability density function of the registration device determining that λ CPEs perform the registration process satisfies the following formula 8:

[0181]

[0182] Where nλ represents the number of network devices.

[0183] Step d: Register the device to determine the registration success rate.

[0184] Optionally, in combination with the above formula 7 and formula 8, the registration device determines that the registration success rate satisfies the following formula 9:

[0185]

[0186] Step e: The registration device determines the registration efficiency of the network device.

[0187] Optionally, in combination with the above formula 9, the registration device determines that the registration efficiency of the network device satisfies the following formula 10:

[0188]

[0189] Step f: The registration device determines a random delay threshold when the registration efficiency of the network device is maximum.

[0190] Optionally, in combination with the above formula 10, the random delay threshold when the registration efficiency is maximized by the registration device satisfies the above formula 2:

[0191]

[0192] It can be understood that, when the random delay threshold when the registration efficiency is determined to be the maximum by the registration device satisfies Formula 2, the registration time window Wopt when the registration efficiency is the maximum by the registration device satisfies the following Formula 11 in combination with Formula 2:

[0193]

[0194] Based on the above, it can be seen from Formula 2 that the registration efficiency of the network device is related to the preset number. Therefore, the registration device can determine the random delay threshold when the registration efficiency is maximum based on the registration efficiency and the preset number of the network device respectively.

[0195] In the above, the process of determining the first random delay threshold is described in combination with scenario 1 and scenario 2.

[0196] In the embodiment of the present application, a simulation method is also provided to verify the relationship between the random delay threshold, the registration time window, and the registration efficiency under different preset numbers.

[0197] In the embodiment of the present application, common access scenarios of the P2MP FlexE private line system include centralized access scenarios and distributed access scenarios.

[0198] like Figure 7 As shown, schematic diagrams of a centralized access scenario and a distributed access scenario are shown respectively.

[0199] In the centralized access scenario, CPEs are geographically close (for example, multiple CPEs are set up on the same floor or in the same building), and the distances and round-trip delays between SPN-PE and each CPE are close. In the centralized access scenario, the first random delay threshold has a greater impact on the probability of registration message collision.

[0200] In distributed access scenarios, devices are dispersed, and the distances between SPN-PE and each CPE vary greatly, as does the round-trip delay. In distributed access scenarios, the first random delay threshold has little effect on the probability of registration message collision, while the number of network devices has a greater impact on the probability of registration message collision.

[0201] In the embodiment of the present application, a centralized access scenario and a distributed access scenario are simulated respectively to determine and verify the relationship between the random delay threshold, the registration time window, and the registration efficiency under different preset quantities.

[0202] Figure 8 A schematic diagram of the simulation relationship between the total duration of all registration time windows and the random delay threshold under different numbers of CPEs to be registered in a centralized access scenario is shown. Figure 8It can be seen that, for each number of CPEs to be registered, there is a corresponding random delay threshold, so that the total duration of all registration time windows has a minimum value, that is, the registration efficiency of the CPE is the highest. In the embodiment of the present application, the random delay threshold that minimizes the total duration of all registration time windows can be determined as the first random delay threshold.

[0203] Fig. 9 A simulation diagram showing the registration efficiency of different types of registration time windows in a centralized access scenario is shown. Fig. 9 It can be seen that compared with the fixed-size registration time window, the registration efficiency of the dynamic registration time window determined based on the first random delay threshold in the embodiment of the present application is higher, and the more CPEs to be registered, the more obvious the improvement in registration efficiency. When the number of CPEs to be registered is 128, the registration efficiency increases by 46%, and when the number of CPEs to be registered is 64, the efficiency increases by 24%.

[0204] Fig.10 The schematic diagram shows the simulation relationship between the total duration of all registration time windows and the random delay threshold under different numbers of CPEs to be registered in the distributed access scenario, Fig.10 It can be seen that for each number of CPEs to be registered, the random delay threshold is positively correlated with the size of the registration time window. This is because in a distributed scenario, the CPEs are far apart and the probability of registration message collision is low. When the random delay threshold is set large, the registration round is usually not retrieved. The larger the random delay, the larger the registration time window, which in turn increases the total length of all registration time windows.

[0205] Fig.11 A simulation diagram showing the registration efficiency of different types of registration time windows in a distributed access scenario is shown. Fig.11 It can be seen that compared with the fixed-size registration time window in the prior art, the dynamic registration time window determined based on the first random delay threshold in the present application has higher registration efficiency and the smaller the random delay threshold, the higher the registration efficiency.

[0206] 2. Register the device to send the first indication message

[0207] The registration device usually sends the first indication information in the form of broadcasting, so that after the CPE receives the broadcasted first indication information, it determines the first random delay according to the first random delay threshold in the first indication information.

[0208] The registration device usually sends the first indication information in the form of broadcast because the registration device cannot perceive the network device before the network device registers with the registration device, and it is difficult for the registration device to send the first indication information to the network device in the form of unicast or multicast.

[0209] Since the registration device usually sends the first indication information in the form of broadcast, the first indication information can be carried in a downlink broadcast frame.

[0210] That is, the registration device sends the first indication information via a downlink broadcast frame. After receiving the downlink broadcast frame, the network device obtains the first indication information from the downlink broadcast frame and determines the first random delay threshold.

[0211] Optionally, the downlink broadcast frame carrying the first indication information may be an SN Grant or other downlink broadcast frame, which is not limited in this embodiment of the present application.

[0212] In the case where the first indication information is carried in a downlink broadcast frame, further, the first indication information may be carried in a field of a frame header of the downlink broadcast frame (also called an overhead of the downlink broadcast frame), or the first indication information may be carried in a field of a data portion of the downlink broadcast frame, or the first indication information may be carried in an authenticity field of the downlink broadcast frame, and the embodiments of the present application do not limit this.

[0213] Taking the first indication information carried in a field of a frame header of a downlink broadcast frame as an example, the field carrying the first indication information includes at least the following case 1 and case 2. Case 1: the field carrying the first indication information is a newly added field of the frame header of the downlink broadcast frame; Case 2: the first indication information is carried in an operation administration and maintenance (OAM) entry of the frame header of the downlink broadcast frame. Case 1 and case 2 are described below respectively.

[0214] Case 1: The field carrying the first indication information is a newly added field in the frame header of the downlink broadcast frame

[0215] As an example, the newly added field that carries the first indication information is the Random_Delay field.

[0216] Optional, combined Fig.12 , is a schematic diagram of adding a new field in the frame header field of a downlink broadcast frame to carry the first indication information. Fig.12 In the downlink broadcast frame, the frame header field and the data content field are included. The frame header field includes the BurstHeader field, the time slot configuration field, the actual transmission configuration field, the OAM channel field and the newly added Random_Delay field. The first indication information is carried in the newly added Random_Delay field.

[0217] Case 2: The first indication information is carried in an OAM entry in a header of a downlink broadcast frame.

[0218] The OAM entry is used to carry content related to operation, maintenance and management, and each OAM entry corresponds to a content related to operation, maintenance and management.

[0219] In some embodiments, the OAM entry carrying the first indication information is a newly added OAM entry. That is, the present application may add a new OAM entry for carrying the random delay threshold.

[0220] When the OAM entry carrying the first indication information is a newly added OAM entry, the newly added OAM entry also includes at least one of the following: an identifier of a network device receiving the newly added OAM entry; an identifier of the newly added OAM entry; a serial number of the newly added OAM entry; and integrity verification information of the newly added OAM entry.

[0221] As an example, the content of the newly added OAM entry is shown in Table 1 below:

[0222] Table 1

[0223]

[0224] Among them, the 1st to 2nd bytes of the newly added OAM entry are used to indicate the domain of the CPE ID, and when the CPE ID is 1023, it indicates that the method of the OAM entry is broadcast. In the embodiment of the present application, since the registered device needs to broadcast the first indication information, the value of the 1st to 2nd bytes is 1023. The 3rd byte of the newly added OAM entry is the ID of the newly added OAM entry, which is used to uniquely identify the newly added OAM entry among all OAM entries in the frame header. The 4th byte of the newly added OAM entry is the serial number of the newly added OAM entry, which is used to identify the number of times the newly added OAM entry is sent during this registration process. The 5th to 40th bytes of the newly added OAM entry are used to carry the first random delay threshold. Usually, 8 bytes are used to identify the specific value of the first random delay threshold, and the other bytes are reserved bytes. The 5th to 40th bytes of the newly added OAM entry are used to indicate integrity check information.

[0225] Optional, combined Fig.13 , is a schematic diagram of adding an OAM entry to the frame header field of a downlink broadcast frame to carry the first indication information. Fig.13 In the downlink broadcast frame, a frame header field and a data content field are included. The frame header field includes a Burst Header field, a time slot configuration field, a transmission actual configuration field, and an OAM channel field. A newly added OAM entry is added to the OAM channel field to carry the first indication information.

[0226] It should be pointed out that the above-mentioned situations 1 and 2 are only two exemplary situations for carrying the first indication information. In actual applications, the first indication information can also be carried through other situations, for example, the existing field in the frame header field of the multiplexed downlink broadcast frame is used to carry the first indication information, the reserved field in the frame header field of the downlink broadcast frame is used to carry the first indication information, the field content in the existing OAM entry is adjusted to carry the first indication information, or other conceivable ways are used to carry the first indication information, and the embodiments of the present application are not limited to this.

[0227] It should be noted that in the embodiment of the present application, the first indication information may directly indicate the specific value of the random delay threshold. Or the first indication information indicates the random delay threshold identifier, and the CPE determines the random delay threshold through the identifier. The first indication information may also directly indicate a preset value, and both the SPN-PE and the CPE calculate the first random delay threshold based on the preset value and the same random delay threshold algorithm. The embodiment of the present application does not limit this.

[0228] In the embodiment of the present application, after the registering device completes the registration within the registration time window, it is also necessary to determine whether all current network devices have completed registration. If not, a new round of registration process needs to be started, and in the new round of registration process, the second random delay threshold is calculated based on the new preset value, and the network device is instructed to register through the second random delay threshold. The specific process includes the following S1401-S1403.

[0229] Combination Figure 6 ,like Fig.14 As shown, the method also includes:

[0230] S1401: When a preset condition is met, the registration device determines a second random delay threshold.

[0231] The second random delay threshold is a random delay threshold used for one or more network devices to register within the second registration time window.

[0232] The second registration time window is a registration time window opened by the registering device in a new round of registration process, and is used to monitor the registration messages sent by the network devices in the new round. The network devices that send registration messages in this round are network devices that have not completed registration.

[0233] It can be understood that the second random delay threshold is a random delay threshold determined based on the number of idle ports of the registered devices in the current round, or the number of network devices to be registered.

[0234] S1402: The registration device sends second indication information. Correspondingly, the network device receives the second indication information.

[0235] The second indication information is used to indicate a second random delay threshold.

[0236] S1403. The network device sends a registration message based on the second random delay.

[0237] The second random delay is determined according to a second random delay threshold.

[0238] In the embodiment of the present application, the registration device is SPN-PE and the network device is CPE. It can also be in other forms, such as any registration device and network device in a point-to-multipoint network, in a PON network, and the embodiment of the present application does not limit this.

[0239] Among them, the understanding of the second random delay threshold, the second registration time window and the second random delay can refer to the understanding of the first random delay threshold, the second registration time window and the second random delay mentioned above, and the embodiments of the present application do not limit this.

[0240] The above mainly introduces the scheme provided by the embodiment of the present application from the perspective of interaction between network elements. Accordingly, the embodiment of the present application also provides a communication device, which is used to implement the above various methods. The communication device can be a network device in the above method embodiment, or a device including the above network device, or a component that can be used for a network device; or, the communication device can be a registration device in the above method embodiment, or a device including the above registration device, or a component that can be used for a registration device. It can be understood that in order to implement the above functions, the communication device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0241] The embodiment of the present application can divide the functional modules of the communication device according to the above method embodiment. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be understood that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0242] For example, Fig.15The structure diagram of a communication device 150 is shown, including: a processing module 1501 and a communication module 1502. Optionally, a storage module 1503 is also included. The storage module 1503 is used to store program codes and data of the communication device 150.

[0243] Taking the communication device 150 as an example, which may be the registration device in the above method embodiment, or a device including the above registration device, or a component that can be used for the registration device, then:

[0244] The processing module 1501 is used to determine a first random delay threshold, which is a random delay threshold used for one or more network devices to register within a first registration time window; the communication module 1502 is used to send a first indication information, which is used to indicate the first random delay threshold.

[0245] In a possible implementation manner, the first random delay threshold is determined based on a preset number.

[0246] In a possible implementation manner, the preset number is the number of idle ports, or the preset number is the number of network devices to be registered.

[0247] In a possible implementation manner, the first random delay threshold is determined based on a registration efficiency of the network device to be registered.

[0248] In a possible implementation manner, the first indication information is carried in a downlink broadcast frame.

[0249] In a possible implementation manner, the first indication information is carried in a field of a frame header of a downlink broadcast frame.

[0250] In a possible implementation manner, the field carrying the first indication information is a newly added field in the frame header of the downlink broadcast frame.

[0251] In a possible implementation manner, the first indication information is carried in an operation, maintenance and management (OAM) entry in a frame header of a downlink broadcast frame.

[0252] In a possible implementation manner, the OAM entry carrying the first indication information is a newly added OAM entry.

[0253] In a possible implementation, the newly added OAM entry further includes at least one of the following: an identifier of a network device receiving the newly added OAM entry; an identifier of the newly added OAM entry; a serial number of the newly added OAM entry; and integrity verification information of the newly added OAM entry.

[0254] In one possible implementation, the processing module 1501 is further used to determine a second random delay threshold when a preset condition is met, where the second random delay threshold is a random delay threshold for registration of one or more network devices within a second registration time window; the communication module 1502 is further used to send second indication information; the second indication information is used to indicate the second random delay threshold.

[0255] In a possible implementation manner, the preset condition includes: there is an idle port.

[0256] For example, the communication device 150 may be a network device in the above method embodiment, or a device including the above network device, or a component that can be used for a network device, then:

[0257] The communication module 1502 is used to receive first indication information, where the first indication information is used to indicate a first random delay threshold, where the first random delay threshold is a random delay threshold for registering one or more network devices within a first registration time window; the processing module 1501 is used to instruct the communication module 1502 to send a registration message based on the first random delay, where the first random delay is determined based on the first random delay threshold.

[0258] In a possible implementation manner, the first random delay threshold is determined based on a preset number.

[0259] In a possible implementation manner, the preset number is the number of idle ports, or the preset number is the number of network devices to be registered.

[0260] In a possible implementation manner, the first random delay threshold is determined based on a registration efficiency of the network device to be registered.

[0261] In a possible implementation manner, the first indication information is carried in a downlink broadcast frame.

[0262] In a possible implementation manner, the first indication information is carried in a field of a frame header of a downlink broadcast frame.

[0263] In a possible implementation manner, the field carrying the first indication information is a newly added field in the frame header of the downlink broadcast frame.

[0264] In a possible implementation manner, the first indication information is carried in an operation, maintenance and management (OAM) entry in a frame header of a downlink broadcast frame.

[0265] In a possible implementation manner, the OAM entry carrying the first indication information is a newly added OAM entry.

[0266] In a possible implementation, the newly added OAM entry further includes at least one of the following: an identifier of a network device receiving the newly added OAM entry; an identifier of the newly added OAM entry; a serial number of the newly added OAM entry; and integrity verification information of the newly added OAM entry.

[0267] In one possible implementation, the communication module 1502 is also used to: receive second indication information, the second indication information is used to indicate a second random delay threshold, the second random delay threshold is a random delay threshold used for one or more network devices to register within a second registration time window; the processing module 1501 is also used to instruct the communication module 1502 to send a registration message based on the second random delay, wherein the second random delay is determined according to the second random delay threshold.

[0268] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.

[0269] Optionally, Fig.15 The modules in the system may also be referred to as units. For example, the processing module may be referred to as a processing unit, and the transceiver module may be referred to as a transceiver unit. Fig.15 In the illustrated embodiment, the names of the various units may not be the names shown in the figure. For example, the transceiver module may also be called a communication module or a communication unit.

[0270] Fig.15 If each unit in the embodiment is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0271] In the embodiment of the present application, the communication device 150 is presented in the form of dividing various functional modules in an integrated manner. The "module" here may refer to a specific ASIC, a circuit, a processor and a memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, a person skilled in the art can imagine that the communication device 150 can be used Fig.16 The form of the communication device shown.

[0272] See also Fig.16 The communication device includes a processor 1601 and a transceiver 1602, and optionally, also includes a memory 1603 connected to the processor 1601.

[0273] Processor 1601 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application. Processor 1601 may also include multiple CPUs, and processor 1601 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).

[0274] The processor 1601, the memory 1603 and the transceiver 1602 are connected via a bus. The transceiver 1602 is used to communicate with other communication devices. Optionally, the transceiver 1602 may include a transmitter and a receiver. The device used to implement the receiving function in the transceiver 1602 can be regarded as a receiver, and the receiver is used to perform the receiving step in the embodiment of the present application. The device used to implement the sending function in the transceiver 1602 can be regarded as a transmitter, and the transmitter is used to perform the sending step in the embodiment of the present application.

[0275] In the first possible implementation, see Fig.16, the communication device also includes a memory 1603. The memory 1603 can be a ROM or other types of static storage devices that can store static information and instructions, a RAM or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, and the embodiment of the present application does not impose any restrictions on this. The memory 1603 can exist independently or be integrated with the processor 1601. Among them, the memory 1603 can contain computer program code. The processor 1601 is used to execute the computer program code stored in the memory 1603, so as to realize the method provided in the embodiment of the present application.

[0276] An embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when executed on a computer, enable the computer to execute any of the above methods.

[0277] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute any of the above methods.

[0278] An embodiment of the present application also provides a chip, including: a processor and an interface, wherein the processor is coupled to a memory via the interface, and when the processor executes a computer program or instruction in the memory, any one of the methods provided in the above embodiments is executed.

[0279] An embodiment of the present application also provides a communication system, including: the communication device in the above embodiment.

[0280] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0281] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0282] Although the present application has been described in conjunction with features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0283] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A registration method, characterized in that: The method comprises: Determining a first random delay threshold, the first random delay threshold being a random delay threshold for one or more network devices to register within a first registration time window; Sending first indication information, where the first indication information is used to indicate the first random delay threshold.

2. The method according to claim 1, characterized in that: The first random delay threshold is determined based on a preset number.

3. The method according to claim 2, characterized in that The preset number is the number of idle ports, or the preset number is the number of network devices to be registered.

4. The method according to claim 1, characterized in that: The first random delay threshold is determined based on the registration efficiency of the network device to be registered.

5. The method according to any one of claims 1 to 4, characterized in that: The first indication information is carried in a downlink broadcast frame.

6. The method according to claim 5, characterized in that The first indication information is carried in a field of a frame header of the downlink broadcast frame.

7. The method according to claim 6, characterized in that The field carrying the first indication information is a newly added field in the frame header of the downlink broadcast frame.

8. The method according to claim 6, characterized in that The first indication information is carried in an operation, maintenance and management (OAM) entry in the frame header of the downlink broadcast frame.

9. The method according to claim 8, characterized in that The OAM entry carrying the first indication information is a newly added OAM entry.

10. The method according to claim 9, characterized in that The newly added OAM entry also includes at least one of the following: Receiving the identifier of the network device of the newly added OAM entry; The identifier of the newly added OAM entry; The serial number of the newly added OAM entry; Integrity verification information of the newly added OAM entry.

11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: If a preset condition is met, determining a second random delay threshold, where the second random delay threshold is a random delay threshold for one or more network devices to register within a second registration time window; Send second indication information; the second indication information is used to indicate the second random delay threshold.

12. The method according to claim 11, characterized in that The preset condition includes: there is an idle port.

13. A registration method, characterized in that: The method comprises: Receiving first indication information, where the first indication information is used to indicate a first random delay threshold, where the first random delay threshold is a random delay threshold for one or more network devices to register within a first registration time window; A registration message is sent based on a first random delay, wherein the first random delay is determined according to the first random delay threshold.

14. The method according to claim 13, characterized in that The first random delay threshold is determined based on a preset number.

15. The method according to claim 14, characterized in that The preset number is the number of idle ports, or the preset number is the number of network devices to be registered.

16. The method according to claim 13, characterized in that The first random delay threshold is determined based on the registration efficiency of the network device to be registered.

17. The method according to any one of claims 13 to 16, characterized in that: The first indication information is carried in a downlink broadcast frame.

18. The method according to claim 17, characterized in that The first indication information is carried in a field of a frame header of the downlink broadcast frame.

19. The method according to claim 18, characterized in that The field carrying the first indication information is a newly added field in the frame header of the downlink broadcast frame.

20. The method according to claim 18, characterized in that The first indication information is carried in an operation, maintenance and management (OAM) entry in the frame header of the downlink broadcast frame.

21. The method according to claim 20, characterized in that The OAM entry carrying the first indication information is a newly added OAM entry.

22. The method according to claim 21, characterized in that The newly added OAM entry also includes at least one of the following: Receiving the identifier of the network device of the newly added OAM entry; The identifier of the newly added OAM entry; The serial number of the newly added OAM entry; Integrity verification information of the newly added OAM entry.

23. The method according to any one of claims 13 to 22, characterized in that: The method further comprises: receiving second indication information, where the second indication information is used to indicate a second random delay threshold, where the second random delay threshold is a random delay threshold for one or more network devices to register within a second registration time window; The registration message is sent based on a second random delay, wherein the second random delay is determined according to the second random delay threshold.

24. A communication device, characterized in that: include: A functional unit for executing the method as claimed in any one of claims 1 to 12; wherein the actions executed by the functional unit are implemented by hardware or by hardware executing corresponding software implementations.

25. A communication device, characterized in that: include: A functional unit for executing the method as claimed in any one of claims 13 to 23; wherein the actions performed by the functional unit are implemented by hardware or by hardware executing corresponding software implementations.

26. A communication device, characterized in that: include: processor; The processor is connected to a memory, the memory is used to store computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory, so that the communication device implements the method according to any one of claims 1 to 12.

27. A communication device, characterized in that: include: processor; The processor is connected to a memory, the memory is used to store computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory so that the communication device implements the method according to any one of claims 13 to 23.

28. A computer-readable storage medium, characterized in that: The method comprises instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 12, or to execute the method according to any one of claims 13 to 23.

29. A computer program product, characterized in that The method comprises instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 12, or to execute the method according to any one of claims 13 to 23.

30. A communication system, characterized in that: include: A registration device for executing the method according to any one of claims 1 to 12 and a network device for executing the method according to any one of claims 13 to 23.