Communication method and system for gateway device, and storage medium and electronic apparatus

By determining the target working mode based on the uplink rates of the master gateway device and the slave gateway device, the problem of compatibility of symmetric 2.5G FTTR and asymmetric 2.5G FTTR in the existing technology is solved, and adaptive compatibility of the network is achieved.

WO2025016076A1PCT designated stage expired Publication Date: 2025-01-23ZTE CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/096465
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-14
Filing Date
2024-05-30
Publication Date
2025-01-23

AI Technical Summary

Technical Problem

It is difficult for the prior art to achieve adaptive compatibility between symmetric 2.5G FTTR and existing asymmetric 2.5G FTTR.

Method used

Determine the target working mode of the slave gateway device according to the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device, and communicate with the master gateway device according to the mode.

Benefits of technology

The adaptive compatibility of the symmetrical 2.5G FTTR and the existing asymmetry 2.5G FTTR ensures the flexibility and compatibility of the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024096465_23012025_PF_FP_ABST
    Figure CN2024096465_23012025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a communication method and system for a gateway device, and a storage medium and an electronic apparatus. The method comprises: on the basis of an uplink rate supported by a master gateway device and an uplink rate supported by a slave gateway device, determining a target operating mode of the slave gateway device; and the slave gateway device communicating with the master gateway device according to the target operating mode. By using the above technical solution, the technical problem in the related art of how to realize adaptive compatibility of symmetric 2.5G FTTR and existing asymmetric 2.5G FTTR is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, system, storage medium and electronic device for gateway device

[0001] This disclosure claims priority to the Chinese patent application filed with the China Patent Office on July 14, 2023, with application number 202310867400.1 and invention name “Communication method, system, storage medium and electronic device for gateway equipment”, the entire content of which is incorporated by reference into this disclosure. Technical Field

[0002] The present disclosure relates to the field of communications, and in particular to a communication method, system, storage medium, and electronic device for a gateway device. Background Art

[0003] FTTR, or fiber to the room, primarily uses a P2MP (point to multiple point) network architecture. As shown in Figure 1, the main FTTR unit (MFU) connects to multiple sub-FTTR units (SFUs) through an indoor fiber distribution network (IFDN).

[0004] China's three major operators are deploying FTTR on a large scale. Since the standard has not yet been officially finalized, the PON (Passive Optical Network) network architecture shown in Figure 2 has an OLT (Optical Line Terminal) connected to multiple ONUs (Optical Network Units) via an ODN (Optical Distribution Network). FTTR's P2MP architecture is similar to PON. Therefore, currently deployed FTTR is primarily based on the industry's mature GPON (Gigabit Passive Optical Network) standard, using a 2.5G downstream rate and a 1.25G upstream rate.

[0005] Standards organizations such as CCSA (China Communications Standards Association) and ITU (International Telecommunications Union) are standardizing FTTR. Considering the needs of intra-home interconnection, they mainly adopt symmetrical 2.5G speeds, which will be upgraded to symmetrical 10G speeds in the future. For the symmetrical 2.5G speed, compatibility with existing deployed FTTR is required.

[0006] Regarding related technologies, there is currently no effective solution for achieving adaptive compatibility between symmetric 2.5G FTTR and existing asymmetric 2.5G FTTR.

[0007] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology.

[0008] Summary of the Invention

[0009] The embodiments of the present disclosure provide a communication method, system, storage medium, and electronic device for a gateway device, to at least solve the problem of how to achieve adaptive compatibility between symmetric 2.5G FTTR and existing asymmetric 2.5G FTTR.

[0010] According to one aspect of an embodiment of the present disclosure, a communication method for a gateway device is provided, comprising: determining a target operating mode of the slave gateway device based on the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device; and the slave gateway device communicating with the master gateway device according to the target operating mode.

[0011] According to another aspect of an embodiment of the present disclosure, a communication system of a gateway device is also provided, including: a master gateway device and a slave gateway device, wherein the slave gateway device is configured to communicate with the master gateway device according to a target working mode, wherein the target working mode is determined based on the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device.

[0012] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the communication method of the gateway device when running.

[0013] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the communication method of the gateway device through the computer program.

[0014] Through the present disclosure, the target operating mode of the slave gateway device is determined according to the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device; the slave gateway device communicates with the master gateway device according to the target operating mode, thereby solving the technical problem of how to achieve adaptive compatibility between symmetric 2.5G FTTR and existing asymmetric 2.5G FTTR. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation of the present disclosure. In the drawings:

[0016] FIG1 is a schematic diagram of a network architecture of a gateway device in the related art;

[0017] FIG2 is a schematic diagram of a GPON network architecture in the related art;

[0018] 3 is a hardware structure block diagram of a computer terminal of a communication method of a gateway device according to an embodiment of the present disclosure;

[0019] FIG4 is a flow chart of a communication method of a gateway device according to an embodiment of the present disclosure;

[0020] FIG5 is a schematic diagram of an Upstream BWmap according to an embodiment of the present disclosure;

[0021] FIG6 is a schematic diagram of an activation process according to an embodiment of the present disclosure;

[0022] FIG7 is a structural block diagram of a communication system of a gateway device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present disclosure.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] The method embodiments provided in the embodiments of the present disclosure can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 3 is a hardware structure block diagram of a computer terminal of the communication method of the gateway device of the embodiment of the present disclosure. As shown in Figure 3, the computer terminal may include one or more (only one is shown in Figure 3) processors 302 (the processor 302 may include but is not limited to a microprocessor (Microprocessor Unit, referred to as MPU) or a programmable logic device (Programmable logic device, referred to as PLD)) and a memory 304 configured to store data. In an exemplary embodiment, the above-mentioned computer terminal may also include a transmission device 306 and an input and output device 308 configured to have a communication function. It will be understood by those skilled in the art that the structure shown in Figure 3 is only illustrative and does not limit the structure of the above-mentioned computer terminal. For example, the computer terminal may also include more or fewer components than those shown in Figure 3, or have a different configuration with the same functions as those shown in Figure 3 or more functions than those shown in Figure 3.

[0026] The memory 304 can be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the communication method of the gateway device in the embodiment of the present disclosure. The processor 302 executes various functional applications and data processing by running the computer program stored in the memory 304, that is, implementing the above-mentioned method. The memory 304 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 304 may further include a memory remotely located relative to the processor 302, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0027] Transmission device 306 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by a communications provider of a computer terminal. In one embodiment, transmission device 306 may include a network interface controller (NIC), which may be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, transmission device 306 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.

[0028] FIG4 is a flow chart of a communication method of a gateway device according to an embodiment of the present disclosure. As shown in FIG4 , the method includes the following steps:

[0029] Step S402, determining a target operating mode of the slave gateway device according to the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device;

[0030] Step S404: the slave gateway device communicates with the master gateway device according to the target working mode.

[0031] The embodiment of the present disclosure determines the target operating mode of the slave gateway device based on the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device; the slave gateway device communicates with the master gateway device according to the target operating mode, thereby solving the technical problem of how to achieve adaptive compatibility between symmetric 2.5G FTTR and existing asymmetric 2.5G FTTR.

[0032] The master gateway device may be referred to as the master gateway, and the slave gateway device may be referred to as the slave gateway.

[0033] Among them, the master gateway MFU in the FTTR can send its own capabilities to the slave gateway SFU, and inform the slave gateway of the rate supported by the master gateway itself in the uplink direction, that is, the uplink rate.

[0034] Optionally, the master gateway can send its capabilities via a serial number request. The uplink rate can also be indicated via PLOAM broadcast, for example, by setting and sending information in an extended Upstream_Overhead message. The slave gateway can check the values ​​of the relevant fields to determine the master gateway's capabilities.

[0035] Optionally, when the Alloc-ID of the serial number request is 254, it indicates that the MFU supports an uplink rate of 1.25G.

[0036] The Alloc-ID (Allocation Identifier) ​​is a unique identifier in the GPON (Gigabit Passive Optical Network) standard used to identify the transmission container allocated to the Optical Network Unit (ONU). The OLT allocates bandwidth to the transmission container so that the ONU can obtain upstream transmission opportunities.

[0037] The value range of Alloc-ID is 0-4095, of which 0-252 are default allocation values, which are consistent with the ONU ID. 253, 254, and 255 are reserved broadcast values ​​for ONU activation. Other values ​​are used to allocate to different ONU transmission containers.

[0038] Among them, the function of Alloc-ID is to distinguish different ONU devices and their corresponding transmission containers in the GPON network.

[0039] When the Alloc-ID of the serial number request is 254, it indicates that the MFU supports an uplink rate of 1.25G, which is specified in the existing GPON standard.

[0040] Optional: When the Alloc-ID of the serial number request is 255, it indicates that the MFU supports a 2.5G uplink rate.

[0041] Optionally, when the Alloc-ID of the serial number request is 253, it indicates that the MFU supports 1.25 GHz and 2.5 GHz uplink rates.

[0042] Optionally, the 2.5G FTTR master gateway can alternately send serial number requests with Alloc-IDs of 255 and 254, or can send a single serial number request with Alloc-ID of 253, indicating that it supports both 1.25G and 2.5G uplink rates. The following embodiments use the alternate sending of serial number requests with Alloc-IDs of 255 and 254 as an example. These embodiments can also be modified to send a single serial number request with Alloc-ID of 253, and the process is similar. The 2.5G FTTR master gateway can also send a single serial number request with Alloc-IDs of 255 or 254, indicating that it only supports 2.5G uplink rates or 1.25G uplink rates.

[0043] Optionally, the 1.25G FTTR master gateway generally sends a serial number request with an Alloc-ID of 254.

[0044] Optionally, the master gateway may also send its own capabilities by filling in corresponding values ​​in relevant fields through PLOAM messages or other methods. For details, see the implementation method.

[0045] Among them, FTTR obtains the capabilities of the FTTR main gateway MFU from the gateway SFU, and determines its own working mode according to the uplink rate it supports.

[0046] For example, the FTTR slave gateway obtains the Alloc-ID carried in the serial number request sent by the FTTR master gateway to obtain the capabilities of the FTTR master gateway and determine its own working mode.

[0047] Optionally, for a 2.5G FTTR slave gateway, if it can receive a serial number request with an Alloc-ID of 255 or 253, it operates in 2.5G mode; if it can only receive a serial number request with an Alloc-ID of 254, it decelerates and operates in 1.25G mode.

[0048] Optionally, for a 1.25G FTTR slave gateway, if it receives a serial number request with an Alloc-ID of 254 or 253, it responds in 1.25G mode and does not respond to a serial number request with an Alloc-ID of 255.

[0049] Optionally, the FTTR slave gateway may also obtain the capability of the master gateway by checking corresponding values ​​of relevant fields in PLOAM messages or other methods. For details, see the implementation method.

[0050] Through the above embodiments, the 2.5G FTTR master gateway can be compatible with the 1.25G slave gateway, and the 2.5G FTTR slave gateway can also work at a reduced speed on the 1.25G FTTR master gateway.

[0051] In an exemplary embodiment, before executing the above step S402, a message field can also be determined from the gateway message sent by the master gateway device; and the target uplink rate indicated by the channel identifier carried in the message field is determined as the uplink rate supported by the master gateway device.

[0052] In an exemplary embodiment, the gateway message sending method includes at least one of the following: the master gateway device periodically sends the gateway message, wherein the periodically sent gateway message has the same or different channel identifiers; the master gateway device alternately sends the gateway message, wherein the alternately sent gateway messages have different channel identifiers.

[0053] In an exemplary embodiment, before determining the target uplink rate indicated by the channel identifier carried by the message field as the uplink rate supported by the master gateway device, a technical solution is further proposed, specifically including: when it is determined that the master gateway device is operating in a first operating mode, determining the first uplink rate corresponding to the first operating mode as the target uplink rate, and setting the channel identifier carried by the message field to the first identifier used to represent the uplink rate of the first operating mode; when it is determined that the master gateway device is operating in a second operating mode, determining the second uplink rate corresponding to the second operating mode as the target uplink rate, and setting the channel identifier carried by the message field to the second identifier used to represent the uplink rate of the second operating mode; when it is determined that the master gateway device is operating in the first operating mode and the second operating mode, determining the first uplink rate corresponding to the first operating mode and the second uplink rate corresponding to the second operating mode as the target uplink rate, and setting the channel identifier carried by the message field to the third identifier used to represent the uplink rates of the first operating mode and the second operating mode; wherein, the second uplink rate is greater than the first uplink rate.

[0054] In an exemplary embodiment, for the implementation process of determining the target operating mode of the slave gateway device based on the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device, the specific steps include: obtaining all operating modes supported by the slave gateway device; wherein each of all the operating modes corresponds to an uplink rate; and determining the target operating mode that supports the target uplink rate from all the operating modes.

[0055] Optionally, the intersection of all operating modes supported by the slave gateway device and all operating modes supported by the master gateway device may be taken to obtain an operating mode set, and the optimal operating mode may be selected from the operating mode set as the target operating mode. For example, the operating mode with the highest uplink rate in the operating mode set may be determined as the target operating mode to increase uplink transmission capacity and reduce uplink transmission delay, or the operating mode with the lowest uplink rate in the operating mode set may be determined as the target operating mode to reduce energy consumption required for uplink transmission, etc. If there is only one operating mode in the operating mode set, this operating mode is determined as the target operating mode.

[0056] In an exemplary embodiment, multiple technical solutions are proposed for determining a target operating mode that supports the target uplink rate from all the operating modes, including:

[0057] Scheme 1: For a first-class slave gateway device, upon receiving at least two message fields sent alternately by a first-class master gateway device according to a preset period, all channel identifiers carried by the at least two message fields are determined; wherein, the first-class master gateway device supports a first working mode and a second working mode, and the first-class slave gateway device supports the second working mode, and all channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is the uplink rate corresponding to the first-class master gateway device operating in the first working mode, and the second uplink rate is the uplink rate corresponding to the first-class master gateway device operating in the second working mode; the second working mode supporting the second uplink rate is determined as the target working mode.

[0058] Scheme 2: For the second-type slave gateway device, when receiving at least two message fields sent alternately by the first-type master gateway device according to a preset period, all channel identifiers carried by the at least two message fields are determined; wherein, the first-type master gateway device supports the first working mode and the second working mode, and the second-type slave gateway device only supports the first working mode, and all the channel identifiers include a first identifier for supporting the first uplink rate and a second identifier for supporting the second uplink rate; the first uplink rate is the uplink rate corresponding to the first-type master gateway device operating in the first working mode, and the second uplink rate is the uplink rate corresponding to the first-type master gateway device operating in the second working mode; the first working mode that supports the first uplink rate is determined as the target working mode.

[0059] Scheme 3, determining a target operating mode that supports the target uplink rate from all the operating modes, including: for a third-category slave gateway device, upon receiving at least two message fields sent alternately by a first-category master gateway device according to a preset period, determining all channel identifiers carried by the at least two message fields; wherein the first-category master gateway device supports a first operating mode and a second operating mode, and the third-category slave gateway device supports the first operating mode and the second operating mode, and all the channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is the uplink rate corresponding to the first-category master gateway device operating in the first operating mode, and the second uplink rate is the uplink rate corresponding to the first-category master gateway device operating in the second operating mode; for a slave gateway device in the third category that supports the first operating mode, determining the first operating mode that supports the first uplink rate as the target operating mode; for a slave gateway device in the third category that supports the second operating mode, determining the second operating mode that supports the second uplink rate as the target operating mode.

[0060] Solution 4: For the second-class slave gateway device, when receiving the message field sent by the second-class master gateway device according to the preset period, determine the channel identifier carried by the message field sent according to the preset period; wherein, the second-class master gateway device supports the first working mode, the second-class slave gateway device supports the first working mode, and the channel identifier includes a first identifier for supporting a first uplink rate; the first uplink rate is the uplink rate corresponding to the second-class master gateway device working in the first working mode; the first working mode that supports the first uplink rate is determined as the target working mode.

[0061] Scheme 5, for the first type of slave gateway device, when receiving the message field sent by the second type of master gateway device according to the preset period, determine the channel identifier carried by the message field sent according to the preset period; wherein, the second type of master gateway device supports the first working mode, and the first type of slave gateway device supports the second working mode; if the channel identifiers received within the preset time period are all first identifiers for supporting the first uplink rate, the first working mode supporting the first uplink rate is determined as the target working mode; if the channel identifiers received continuously within the preset number of times are all first identifiers for supporting the first uplink rate, the first working mode supporting the first uplink rate is determined as the target working mode; wherein, the first uplink rate is the uplink rate corresponding to the second type of master gateway device operating in the first working mode.

[0062] Scheme 6, for a first-class slave gateway device, upon receiving at least two message fields sent alternately by a first-class master gateway device according to a preset period, determining all channel identifiers carried by the at least two message fields; wherein the first-class master gateway device supports a first working mode and a second working mode, and the first-class slave gateway device supports the second working mode, and all channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is the uplink rate corresponding to the first-class master gateway device operating in the first working mode, and the second uplink rate is the uplink rate corresponding to the first-class master gateway device operating in the second working mode; the first working mode supporting the first uplink rate is determined as the target working mode; the configuration information sent by the first-class slave gateway device when activated is obtained, and the configuration information is sent to the first-class master gateway device, so that the first-class master gateway device configures the first-class slave gateway device to support the second working mode; the second working mode supporting the second uplink rate is determined as the target working mode.

[0063] Scheme 7, for a first-class slave gateway device, when receiving at least two message fields sent alternately by a first-class master gateway device according to a preset period, all channel identifiers carried by the at least two message fields are determined; wherein, the first-class master gateway device supports a first working mode and a second working mode, and the first-class slave gateway device supports a second working mode, and all channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is the uplink rate corresponding to the first-class master gateway device operating in the first working mode, and the second uplink rate is the uplink rate corresponding to the first-class master gateway device operating in the second working mode; the first working mode supporting the first uplink rate is determined as the target working mode; when it is determined that the first-class slave gateway device receives another second identifier after activation is completed, the first-class slave gateway device is restarted and activated; if it is determined that the first-class slave gateway device receives the second identifier during restart activation, the second working mode supporting the second uplink rate is determined as the target working mode.

[0064] Solution 8, for the third type of slave gateway device, when receiving a message field sent by the second type of master gateway device according to a preset period, determining the channel identifier carried by the message field sent according to the preset period; wherein the second type of master gateway device supports the first working mode, the third type of slave gateway device supports the first working mode and the second working mode, and the channel identifier includes a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate, the first uplink rate is the uplink rate corresponding to the second type of master gateway device operating in the first working mode, and the second uplink rate is the uplink rate corresponding to the second type of master gateway device operating in the second working mode; for the slave gateway device supporting the first working mode in the third type of slave gateway device, if it is determined that the slave gateway device supporting the first working mode has received the first identifier, the first working mode supporting the first uplink rate is determined as the target working mode; for the slave gateway device supporting the second working mode in the third type of slave gateway device, if it is determined that the slave gateway device supporting the second working mode has received the first identifier and has not received the second identifier, the first working mode supporting the first uplink rate is determined as the target working mode.

[0065] Optionally, in an exemplary embodiment, the manner in which the message field carries the channel identifier includes at least one of the following: carrying the channel identifier through a sequence number request field; carrying the channel identifier through a PLOAM field.

[0066] This embodiment also includes Scheme 9, which includes determining extended burst length information from the PLOAM field when the channel identifier is carried by the PLOAM field; determining a target uplink rate indicated by the channel identifier carried by the message field, and determining a target operating mode of the slave gateway device that supports the target uplink rate. The steps of determining the target uplink rate indicated by the channel identifier carried by the message field and determining the target operating mode of the slave gateway device that supports the target uplink rate include: determining the target uplink rate indicated by the extended burst length information and determining the target operating mode of the slave gateway device that supports the target uplink rate.

[0067] Optionally, in this embodiment, a target uplink rate indicated by the extended burst length information may be determined, and a target operating mode of the slave gateway device that supports the target uplink rate may be determined from all the operating modes.

[0068] In an exemplary embodiment, the above-mentioned step S404 also includes the following implementation steps: determining the uplink rate of the working mode of the slave gateway device when it is powered on; when it is determined that the master gateway device supports the uplink rate of the working mode of the slave gateway device when it is powered on, the slave gateway device communicates with the master gateway device according to the target working mode; when it is determined that the master gateway device does not support the uplink rate of the working mode of the slave gateway device when it is powered on, obtaining external configuration information; switching the uplink rate of the working mode of the slave gateway device when it is powered on based on the external configuration information until the master gateway device supports the uplink rate of the working mode of the slave gateway device when it is powered on.

[0069] In an exemplary embodiment, after the above step S404, it is also possible to respond to a startup instruction for starting the slave gateway device, obtain an activation process preset for the slave gateway device, and activate the slave gateway device according to the activation process.

[0070] Next, the communication method of the gateway device is further described in conjunction with the following embodiments.

[0071] The following are the real-time preparations for the communication method of the gateway device in this disclosure:

[0072] Currently, the FTTR standards of CCSA and ITU-T are mainly modified and improved based on the GPON and XGS-PON (10-Gigabit-capable symmetric passive optical network) standards. The following expansion takes GPON as an example.

[0073] The results of modifying the Alloc-ID of the GPON standard are shown in Table 1 below. The modification mainly extends the Alloc-ID of the serial number request.

[0074] Table 1 Alloc-ID information table

[0075] The serial number request is a bandwidth allocation entry and an entry in the Upstream BWmap. Figure 5 shows the Upstream BWmap.

[0076] The serial number request is generally defined as follows: Alloc-ID = specified value (originally 254, now limited to uplink 1.25G rate SFU activation, and expanded to 255 and 253, see the table above), bit 10 in the Flags field, PLOAMu = '1', StartTime = X, and StopTime = X + 12, used to send an uplink PLOAM message with a length of 13 bytes.

[0077] In the example of the master gateway notifying its own capabilities through the PLOAM message, the original Extended_Burst_Length message is extended. The ss bit in the fifth byte is shown in Table 2 and is used to indicate the supported uplink rate.

[0078] Of course, it is also possible to extend other existing PLOAM messages or define new PLOAM messages, which will not be described in detail in this disclosure.

[0079] Table 2 Burst extension length information

[0080] Among them, the 1.24416Gbit / s uplink rate shown in Table 2 corresponds to the "1.25G" working mode (that is, the first working mode mentioned above), and the 2.48832Gbit / s uplink rate corresponds to the "2.5G" working mode (that is, the second working mode mentioned above).

[0081] The 1.25G uplink rate mentioned in this disclosure means the "1.25G" working mode, while the 2.5 uplink rate means the "2.5G" working mode.

[0082] GPON can perform activation periodically, for example, sending a serial number request every 10 seconds. As shown in Figure 6, the GPON activation process specifically includes:

[0083] Among them, the ONU in the GPON activation process can be understood as the above-mentioned slave gateway SFU, and the OLT in the GPON activation process can be understood as the above-mentioned master gateway MFU.

[0084] After an ONU entering the activation process monitors downstream transmissions and achieves PSync and superframe synchronization, it waits for an Upstream_Overhead PLOAM message, optionally followed by an Extended_Burst_Length PLOAM message periodically sent by the OLT. The ONU receives PON operating parameters (the length and pattern of the burst mode overhead component, the value of the pre-assigned delay, and the initial optical power level) via the Upstream_Overhead and Extended_Burst_Length messages. The ONU announces its presence on the PON by responding to the broadcast serial number requests periodically issued by the OLT using the Serial_Number_ONU message. The OLT discovers the serial number of the newly connected ONU and assigns it an ONU-ID using the Assign_ONU-ID message. The OLT issues a directed serial number request to the newly discovered ONU and accurately time-locates the ONU's response. The OLT calculates a separate equalization delay and sends it to the ONU using the Ranging_Time message. The ONU adjusts the start of its upstream GTC frame clock based on its assigned equalization delay. The ONU completes activation and begins normal operation.

[0085] Furthermore, other switching methods besides protocol-based switching can include configuring the uplink rate via software or external hardware. Specifically, one uplink rate can be configured first, activated, and then switched to a different uplink rate if activation fails. Of course, if software configuration is used, automatic retry of the software configuration method is also possible.

[0086] The communication method of the above-mentioned gateway device may include, for example, the following implementations:

[0087] Implementation method 1:

[0088] For the networking of 2.5G MFU (i.e. the first type of master gateway device mentioned above) and 2.5G SFU (i.e. the first type of slave gateway device mentioned above), the 2.5G MFU master gateway supports two uplink rates of 1.25G and 2.5G, and periodically starts the activation process, for example, once every 10 seconds. The Alloc-ID carried by the serial number request in each activation process changes alternately. One Alloc-ID = 255 allows SFU activation with a 2.5G uplink rate, and another Alloc-ID = 254 allows SFU activation with a 1.25G uplink rate.

[0089] If the 2.5G SFU hears the serial number request with Alloc-ID = 255, it ignores the serial number request with Alloc-ID = 254, chooses to work in symmetric 2.5G mode, responds to the serial number request and sends a Serial_Number_ONU message, and continues to complete the activation according to the GPON activation process.

[0090] Implementation 2:

[0091] For the networking of 2.5G MFU (i.e. the first type of master gateway device mentioned above) and 1.25G SFU (i.e. the second type of slave gateway device mentioned above), the 2.5G MFU master gateway supports two uplink rates of 1.25G and 2.5G, and periodically starts the activation process, for example, once every 10 seconds. The Alloc-ID carried by the serial number request in each activation process changes alternately. One Alloc-ID = 255 allows SFU activation with a 2.5G uplink rate, and another Alloc-ID = 254 allows SFU activation with a 1.25G uplink rate.

[0092] If the 1.25G SFU detects the serial number request of Alloc-ID=254 but does not support the serial number request of Alloc-ID=255, it responds to the serial number request of Alloc-ID=254 and sends a Serial_Number_ONU message, and continues to complete the activation according to the GPON activation process.

[0093] Implementation 3:

[0094] For the mixed networking of 2.5G MFU (i.e. the first type of master gateway device mentioned above) and 2.5G SFU and 1.25SFU (i.e. the third type of slave gateway device mentioned above), the 2.5G MFU master gateway supports two uplink rates of 1.25G and 2.5G, and periodically starts the activation process, for example, once every 10 seconds. The Alloc-ID carried by the serial number request in each activation process changes alternately. One Alloc-ID = 255 allows SFU activation with a 2.5G uplink rate, and another Alloc-ID = 254 allows SFU activation with a 1.25G uplink rate.

[0095] If the 1.25G SFU detects the serial number request of Alloc-ID=254 but does not support the serial number request of Alloc-ID=255, it responds to the serial number request of Alloc-ID=254 and sends a Serial_Number_ONU message, and continues to complete the activation according to the GPON activation process.

[0096] If the 2.5G SFU hears the serial number request with Alloc-ID = 255, it ignores the serial number request with Alloc-ID = 254, chooses to work in symmetric 2.5G mode, responds to the serial number request and sends a Serial_Number_ONU message, and continues to complete the activation according to the GPON activation process.

[0097] Implementation 4:

[0098] For the networking of 1.25G MFU (i.e. the second type of master gateway device mentioned above) and 1.25G SFU (i.e. the second type of slave gateway device mentioned above), the 1.25G MFU master gateway periodically starts the activation process and sends a serial number request with Alloc-ID=254 in standard mode.

[0099] If the 1.25G SFU detects the serial number request with Alloc-ID=254, it responds to the serial number request and sends a Serial_Number_ONU message, and continues to complete the activation according to the GPON activation process.

[0100] Implementation 5:

[0101] This embodiment is a protocol-based automatic switching mechanism.

[0102] For the networking of 1.25G MFU (i.e. the second type of master gateway device mentioned above) and 2.5G SFU (i.e. the first type of slave gateway device mentioned above), the 1.25G MFU master gateway periodically starts the activation process and sends a serial number request with Alloc-ID=254 in standard mode.

[0103] If the 2.5G SFU only hears the serial number request of Alloc-ID=254 from the gateway within a certain period of time (for example, within 1 minute) or a certain number of times (for example, within 10 times), but fails to hear the serial number request of Alloc-ID=255, it will reduce the speed to 1.25G mode, respond to the serial number request and send the Serial_Number_ONU message, and continue to complete the activation according to the GPON activation process.

[0104] Implementation 6:

[0105] This embodiment is an extension of the first embodiment.

[0106] For the networking of 2.5G MFU (i.e. the first type of master gateway device mentioned above) and 2.5G SFU (i.e. the first type of slave gateway device mentioned above), 2.5SFU can first work in 1.25 mode (it may be that when MFU broadcasts its capability, SFU does not detect the serial number request with Alloc-ID of 255), but during the activation process or after the activation is completed, it reports that it supports 2.5G mode. After the activation is completed, MFU configures SFU to work in 2.5G mode.

[0107] The 2.5G SFU can report its support for 2.5G mode during the activation process through the extended Serial_Number_ONU message. The extended Serial_Number_ONU message is shown in Table 3 below. When the A bit of the 12th byte is 1, it indicates that the SFU supports 2.5G mode.

[0108] Table 3 Serial number ONU information table

[0109] Among them, the 2.5G MFU configures the uplink rate of the SFU through the extended Assign_ONU-ID message. The SFU uses the corresponding uplink rate according to the configuration to send subsequent uplink messages and frames. The extended Assign_ONU-ID message is shown in Table 4 below. When the r bit of the 12th byte is 1, it indicates that the SFU is configured to work in the uplink rate mode of 2.5G.

[0110] Table 4 Assign_ONU-ID information table

[0111] Of course, after activation is completed, the SFU can report through other messages and the MFU can configure the uplink rate mode of the SFU through other messages, but the methods are similar and will not be repeated here.

[0112] Implementation 7:

[0113] This embodiment is expanded on the basis of the first embodiment.

[0114] For the networking of 2.5G MFU (i.e. the first type of master gateway device mentioned above) and 2.5G SFU (i.e. the first type of slave gateway device mentioned above), 2.5SFU can first work in 1.25 mode (it may be that when MFU broadcasts its capability, SFU does not detect the serial number request with Alloc-ID as 255). After the activation is completed, SFU detects the serial number request with Alloc-ID=255, then restarts the activation process, chooses to work in 2.5G mode and waits for listening to the serial number request with Alloc-ID=255, and completes the activation according to the GPON activation process.

[0115] Implementation 8:

[0116] For a mixed networking scenario of 1.25G MFU (i.e. the second type of master gateway device mentioned above) and 1.25G SFU and 2.5G SFU (i.e. the third type of slave gateway device mentioned above), the 1.25G MFU periodically sends a serial number request with Alloc-ID = 254.

[0117] If the 1.25G SFU hears the serial number request with Alloc-ID = 254, it responds to the serial number request and sends a Serial_Number_ONU message, and continues to complete the activation according to the GPON activation process;

[0118] If the 2.5G SFU only hears the serial number request of Alloc-ID=254 within a certain time (for example, within 1 minute) or a certain number of times (for example, within 10 times), and fails to hear the serial number request of Alloc-ID=255, it will reduce the speed to 1.25G mode, respond to the serial number request and send the Serial_Number_ONU message, and continue to complete the activation according to the GPON activation process.

[0119] Implementation 9:

[0120] In this embodiment, the serial number request can be replaced with a PLOAM message. Based on the above implementation, the master gateway MFU broadcasts its capabilities using an extended Extended_Burst_Length message. The master gateway SFU receives and parses the extended Extended_Burst_Length message to obtain the MFU's uplink rate capabilities and determine its own uplink rate. The traditional serial number request with Alloc-ID = 254 is still used, and activation is completed according to the activation process. This process is similar to the above implementation and will not be repeated here.

[0121] Implementation 10:

[0122] In this embodiment, the SFU can be configured to select an uplink rate mode through external configuration. Based on the above implementation, for a 2.5G SFU, an uplink rate mode can be selected at power-up. If the MFU supports the uplink rate, the 2.5G SFU completes activation according to the activation process. Otherwise, the uplink rate mode is switched through external configuration, such as software configuration, hardware switch control, etc., and the activation process is continued.

[0123] Implementation 11:

[0124] In this embodiment, the SFU can be configured to locally store the upstream rate mode. Based on the above implementation, after the SFU completes the activation process, it can store the SFU's current upstream rate mode. This stored information is not easily lost even if the SFU loses power. After the SFU is subsequently restarted, it reads the stored upstream rate mode and operates according to this mode, waiting for the corresponding serial number request or PLOAM message, and completing the activation according to the GPON activation process.

[0125] In this embodiment, a communication system for a gateway device is also provided. The system is configured to implement the above-mentioned embodiments and preferred implementations. Details that have already been described will not be repeated. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0126] Figure 7 is a block diagram of a communication system for a gateway device according to an embodiment of the present disclosure. As shown in Figure 7, the communication system for a gateway device includes a master gateway device 720 and a slave gateway device 740. The slave gateway device 740 is configured to communicate with the master gateway device 720 according to a target operating mode, where the target operating mode is determined based on the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device.

[0127] The disclosed embodiment determines the target operating mode of the slave gateway device based on the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device; the slave gateway device communicates with the master gateway device according to the target operating mode, solving the technical problem of how to achieve adaptive compatibility between symmetric 2.5G FTTR and existing asymmetric 2.5G FTTR.

[0128] Furthermore, the communication system of the above-mentioned gateway device also includes a control center, and the control center or the slave gateway device is configured to determine the target working mode of the slave gateway device based on the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device.

[0129] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further configured to determine a message field from the gateway message sent by the master gateway device; and determine the target uplink rate indicated by the channel identifier carried by the message field as the uplink rate supported by the master gateway device.

[0130] Optionally, in an exemplary embodiment, the gateway message sending method includes at least one of the following: the master gateway device periodically sends the gateway message, wherein the periodically sent gateway message has the same or different channel identifiers; the master gateway device alternately sends the gateway message, wherein the alternately sent gateway messages have different channel identifiers.

[0131] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further configured to, before determining the target uplink rate indicated by the channel identifier carried in the message field as the uplink rate supported by the master gateway device, determine the first uplink rate corresponding to the first working mode as the target uplink rate when it is determined that the master gateway device is operating in the first working mode, and set the channel identifier carried by the message field to the first identifier for representing the uplink rate of the first working mode; when it is determined that the master gateway device is operating in the second working mode, determine the second uplink rate corresponding to the second working mode as the target uplink rate, and set the channel identifier carried by the message field to the second identifier for representing the uplink rate of the second working mode; when it is determined that the master gateway device is operating in the first working mode and the second working mode, determine the first uplink rate corresponding to the first working mode and the second uplink rate corresponding to the second working mode as the target uplink rate, and set the channel identifier carried by the message field to the third identifier for representing the uplink rates of the first working mode and the second working mode; wherein, the second uplink rate is greater than the first uplink rate.

[0132] Optionally, in an exemplary embodiment, the control center or the slave gateway device obtains all working modes supported by the slave gateway device; wherein each of all working modes corresponds to an uplink rate; and the target working mode that supports the target uplink rate is determined from all the working modes.

[0133] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further configured to determine, for the first type of slave gateway device, all channel identifiers carried by the at least two message fields when receiving the at least two message fields sent alternately by the first type of master gateway device according to a preset period; wherein the first type of master gateway device supports the first working mode and the second working mode, and the first type of slave gateway device supports the second working mode, and the all channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is the uplink rate corresponding to the first type of master gateway device operating in the first working mode, and the second uplink rate is the uplink rate corresponding to the first type of master gateway device operating in the second working mode; the second working mode supporting the second uplink rate is determined as the target working mode.

[0134] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further used to determine, for the second type of slave gateway device, all channel identifiers carried by the at least two message fields sent alternately by the first type master gateway device according to a preset period, upon receiving the at least two message fields; wherein the first type master gateway device supports the first working mode and the second working mode, and the second type slave gateway device only supports the first working mode, and the all channel identifiers include a first identifier for supporting the first uplink rate and a second identifier for supporting the second uplink rate; the first uplink rate is the uplink rate corresponding to the first type master gateway device operating in the first working mode, and the second uplink rate is the uplink rate corresponding to the first type master gateway device operating in the second working mode; the first working mode supporting the first uplink rate is determined as the target working mode.

[0135] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further configured to determine a target operating mode that supports the target uplink rate from all the operating modes, including: for the third type of slave gateway device, upon receiving at least two message fields sent alternately by the first type master gateway device according to a preset period, determining all channel identifiers carried by the at least two message fields; wherein the first type of master gateway device supports the first operating mode and the second operating mode, and the third type of slave gateway device supports the first operating mode and the second operating mode, and all the channel identifiers include a first identifier for supporting the first uplink rate and a second identifier for supporting the second uplink rate; the first uplink rate is the uplink rate corresponding to the first type master gateway device operating in the first operating mode, and the second uplink rate is the uplink rate corresponding to the first type master gateway device operating in the second operating mode; for the slave gateway device supporting the first operating mode among the third type of slave gateway devices, the first operating mode that supports the first uplink rate is determined as the target operating mode; for the slave gateway device supporting the second operating mode among the third type of slave gateway devices, the second operating mode that supports the second uplink rate is determined as the target operating mode.

[0136] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further configured to determine, for the second type of slave gateway device, a channel identifier carried by the message field sent according to a preset period by the second type of master gateway device upon receiving the message field sent according to a preset period; wherein the second type of master gateway device supports a first working mode, the second type of slave gateway device supports the first working mode, and the channel identifier includes a first identifier for supporting a first uplink rate; the first uplink rate is the uplink rate corresponding to the second type of master gateway device working in the first working mode; and the first working mode supporting the first uplink rate is determined as the target working mode.

[0137] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further configured to determine, for the first type of slave gateway device, a channel identifier carried by the message field sent according to a preset period by the second type of master gateway device upon receiving the message field sent according to a preset period; wherein the second type of master gateway device supports the first working mode, and the first type of slave gateway device supports the second working mode; if the channel identifiers received within a preset time period are all first identifiers for supporting a first uplink rate, the first working mode supporting the first uplink rate is determined as the target working mode; if the channel identifiers received continuously within a preset number of times are all first identifiers for supporting the first uplink rate, the first working mode supporting the first uplink rate is determined as the target working mode; wherein the first uplink rate is the uplink rate corresponding to the second type of master gateway device operating in the first working mode.

[0138] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further configured to, for the first type of slave gateway device, determine all channel identifiers carried by the at least two message fields when receiving at least two message fields sent alternately by the first type master gateway device according to a preset period; wherein the first type master gateway device supports a first working mode and a second working mode, and the first type slave gateway device supports a second working mode, and the all channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is the uplink rate corresponding to the first type master gateway device operating in the first working mode, and the second uplink rate is the uplink rate corresponding to the first type master gateway device operating in the second working mode; the first working mode supporting the first uplink rate is determined as the target working mode; the configuration information sent by the first type slave gateway device when activated is obtained, and the configuration information is sent to the first type master gateway device, so that the first type master gateway device configures the first type slave gateway device to support the second working mode; and the second working mode supporting the second uplink rate is determined as the target working mode.

[0139] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further configured to, for the first type of slave gateway device, determine all channel identifiers carried by the at least two message fields when receiving at least two message fields sent alternately by the first type master gateway device according to a preset period; wherein the first type master gateway device supports a first working mode and a second working mode, and the first type slave gateway device supports a second working mode, and all channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is the uplink rate corresponding to the first type master gateway device operating in the first working mode, and the second uplink rate is the uplink rate corresponding to the first type master gateway device operating in the second working mode; the first working mode supporting the first uplink rate is determined as the target working mode; when it is determined that the first type slave gateway device receives another second identifier after activation is completed, the first type slave gateway device is restarted and activated; if it is determined that the first type slave gateway device receives the second identifier during restart activation, the second working mode supporting the second uplink rate is determined as the target working mode.

[0140] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further configured to, for a third type of slave gateway device, determine, upon receiving a message field sent by a second type of master gateway device according to a preset period, a channel identifier carried by the message field sent according to the preset period; wherein the second type of master gateway device supports a first working mode, and the third type of slave gateway device supports the first working mode and a second working mode, and the channel identifier includes a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate, the first uplink rate being the uplink rate corresponding to the second type of master gateway device operating in the first working mode, and the second uplink rate being the uplink rate corresponding to the second type of master gateway device operating in the second working mode; for a slave gateway device supporting the first working mode among the third type of slave gateway devices, if it is determined that the slave gateway device supporting the first working mode has received the first identifier, the first working mode supporting the first uplink rate is determined as the target working mode; for a slave gateway device supporting the second working mode among the third type of slave gateway devices, if it is determined that the slave gateway device supporting the second working mode has received the first identifier and has not received the second identifier, the first working mode supporting the first uplink rate is determined as the target working mode.

[0141] Optionally, in an exemplary embodiment, the manner in which the message field carries the channel identifier includes at least one of the following: carrying the channel identifier through a sequence number request field; carrying the channel identifier through a PLOAM field.

[0142] Optionally, in an exemplary embodiment, the control center or the slave gateway device is further configured to determine the extended burst length information from the PLOAM field when the channel identifier is carried by the PLOAM field; the determining of the target uplink rate indicated by the channel identifier carried by the message field and the target operating mode of the slave gateway device that supports the target uplink rate includes: determining the target uplink rate indicated by the extended burst length information and determining the target operating mode of the slave gateway device that supports the target uplink rate.

[0143] In an exemplary embodiment, the control center or the slave gateway device is further configured to determine the uplink rate of the working mode of the slave gateway device when it is powered on; when it is determined that the master gateway device supports the uplink rate of the working mode of the slave gateway device when it is powered on, the slave gateway device communicates with the master gateway device according to the target working mode; when it is determined that the master gateway device does not support the uplink rate of the working mode of the slave gateway device when it is powered on, external configuration information is obtained; and the uplink rate of the working mode of the slave gateway device when it is powered on is switched based on the external configuration information until the master gateway device supports the uplink rate of the working mode of the slave gateway device when it is powered on.

[0144] In an exemplary embodiment, the control center or the slave gateway device further responds to a startup instruction for starting the slave gateway device, obtains an activation process preset for the slave gateway device, and activates the slave gateway device according to the activation process.

[0145] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present disclosure.

[0146] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0147] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0148] An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0149] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:

[0150] S1, determining a target operating mode of the slave gateway device according to the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device;

[0151] S2. The slave gateway device communicates with the master gateway device according to the target working mode.

[0152] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0153] Optionally, in this embodiment, the electronic device may also be configured to execute steps S1 and S2 via a computer program.

[0154] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0155] Obviously, those skilled in the art should understand that the modules or steps of the present disclosure described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present disclosure is not limited to any particular combination of hardware and software.

[0156] The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will readily appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure shall be included within the scope of protection of the present disclosure.

Claims

1. A communication method of a gateway device, comprising: Determining a target operating mode of the slave gateway device according to an uplink rate supported by the master gateway device and an uplink rate supported by the slave gateway device; The slave gateway device communicates with the master gateway device according to the target working mode.

2. The communication method of the gateway device according to claim 1, wherein: Before determining the target working mode of the slave gateway device according to the uplink rate supported by the master gateway device and the uplink rate supported by the slave gateway device, the method further includes: Determining a message field from a gateway message sent by the master gateway device; The target uplink rate indicated by the channel identifier carried in the message field is determined as the uplink rate supported by the master gateway device.

3. The communication method of the gateway device according to claim 2, wherein: The gateway message is sent in at least one of the following ways: The master gateway device periodically sends the gateway message, wherein the periodically sent gateway message has the same or different channel identifiers; The master gateway device sends the gateway messages alternately, wherein the alternately sent gateway messages have different channel identifiers.

4. The communication method of the gateway device according to claim 2, wherein: Before determining the target uplink rate indicated by the channel identifier carried by the message field as the uplink rate supported by the master gateway device, the method further includes: In the case where it is determined that the master gateway device operates in the first operating mode, a first uplink rate corresponding to the first operating mode is determined as the target uplink rate, and the channel identifier carried by the message field is set to a first identifier for indicating the uplink rate of the first operating mode; In the case where it is determined that the master gateway device operates in the second operating mode, a second uplink rate corresponding to the second operating mode is determined as the target uplink rate, and the channel identifier carried by the message field is set to a second identifier for indicating the uplink rate of the second operating mode; In the case of determining that the master gateway device operates in the first working mode and the second working mode, determining a first uplink rate corresponding to the first working mode and a second uplink rate corresponding to the second working mode as the target uplink rate, and setting the channel identifier carried by the message field to a third identifier for indicating the uplink rates of the first working mode and the second working mode; The second uplink rate is greater than the first uplink rate.

5. The communication method of the gateway device according to claim 2, wherein: Determining a target working mode of the slave gateway device according to an uplink rate supported by the master gateway device and an uplink rate supported by the slave gateway device, including: Obtain all working modes supported by the slave gateway device; wherein each working mode of all working modes The formulas all correspond to an uplink rate; A target operating mode that supports the target uplink rate is determined from all the operating modes.

6. The communication method of the gateway device according to claim 5, wherein: Determining a target operating mode that supports the target uplink rate from all the operating modes includes: For the first type of slave gateway device, upon receiving at least two message fields sent alternately by the first type of master gateway device according to a preset period, determining all channel identifiers carried by the at least two message fields; The first type of master gateway device supports a first working mode and a second working mode, the first type of slave gateway device supports a second working mode, and all the channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is an uplink rate corresponding to the first type of master gateway device working in the first working mode, and the second uplink rate is an uplink rate corresponding to the first type of master gateway device working in the second working mode; A second operating mode supporting the second uplink rate is determined as the target operating mode.

7. The communication method of the gateway device according to claim 5, wherein: Determining a target operating mode that supports the target uplink rate from all the operating modes includes: For the second type of slave gateway device, upon receiving at least two message fields sent alternately by the first type of master gateway device according to a preset period, determining all channel identifiers carried by the at least two message fields; The first type of master gateway device supports a first working mode and a second working mode, the second type of slave gateway device only supports the first working mode, and all the channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is an uplink rate corresponding to the first type of master gateway device working in the first working mode, and the second uplink rate is an uplink rate corresponding to the first type of master gateway device working in the second working mode; A first operating mode supporting the first uplink rate is determined as the target operating mode.

8. The communication method of the gateway device according to claim 5, wherein: Determining a target operating mode that supports the target uplink rate from all the operating modes includes: For the third type of slave gateway device, upon receiving at least two message fields sent alternately by the first type of master gateway device according to a preset period, determining all channel identifiers carried by the at least two message fields; The first type of master gateway device supports a first working mode and a second working mode, the third type of slave gateway device supports the first working mode and the second working mode, and all the channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is an uplink rate corresponding to the first type of master gateway device working in the first working mode, and the second uplink rate is an uplink rate corresponding to the first type of master gateway device working in the second working mode; For a slave gateway device in the third type of slave gateway devices that supports the first working mode, determining the first working mode that supports the first uplink rate as the target working mode; For the slave gateway devices in the third type that support the second working mode, the second The second working mode of the uplink rate is determined as the target working mode.

9. The communication method of the gateway device according to claim 5, wherein: Determining a target operating mode that supports the target uplink rate from all the operating modes includes: For the second type of slave gateway device, upon receiving a message field sent by the second type of master gateway device according to a preset period, determining a channel identifier carried by the message field sent according to the preset period; The second-type master gateway device supports the first working mode, the second-type slave gateway device supports the first working mode, the channel identifier includes a first identifier for supporting a first uplink rate; the first uplink rate is an uplink rate corresponding to the second-type master gateway device working in the first working mode; A first operating mode supporting the first uplink rate is determined as the target operating mode.

10. The communication method of the gateway device according to claim 5, wherein: Determining a target operating mode that supports the target uplink rate from all the operating modes includes: For the first type of slave gateway device, when receiving a message field sent by the second type of master gateway device according to a preset period, determining a channel identifier carried by the message field sent according to the preset period; wherein the second type of master gateway device supports the first working mode, and the first type of slave gateway device supports the second working mode; If the channel identifiers received within the preset time period are all first identifiers for supporting a first uplink rate, determining a first operating mode supporting the first uplink rate as the target operating mode; If the channel identifiers continuously received within a preset number of times are all first identifiers for supporting a first uplink rate, determining a first operating mode supporting the first uplink rate as the target operating mode; The first uplink rate is an uplink rate corresponding to the second-type master gateway device operating in the first working mode.

11. The communication method of the gateway device according to claim 5, wherein: Determining a target operating mode that supports the target uplink rate from all the operating modes includes: For the first type of slave gateway device, upon receiving at least two message fields sent alternately by the first type of master gateway device according to a preset period, determining all channel identifiers carried by the at least two message fields; The first type of master gateway device supports a first working mode and a second working mode, the first type of slave gateway device supports a second working mode, and all the channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is an uplink rate corresponding to the first type of master gateway device working in the first working mode, and the second uplink rate is an uplink rate corresponding to the first type of master gateway device working in the second working mode; Determining a first operating mode supporting the first uplink rate as the target operating mode; Obtaining configuration information sent by the first-type slave gateway device when activated, and sending the configuration information to the first-type master gateway device, so that the first-type master gateway device configures the first-type slave gateway device to support the second working mode; A second operating mode supporting the second uplink rate is determined as the target operating mode.

12. The communication method of the gateway device according to claim 5, wherein: Determining a target operating mode that supports the target uplink rate from all the operating modes includes: For the first type of slave gateway device, upon receiving at least two message fields sent alternately by the first type of master gateway device according to a preset period, determining all channel identifiers carried by the at least two message fields; The first type of master gateway device supports a first working mode and a second working mode, the first type of slave gateway device supports a second working mode, and all the channel identifiers include a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate; the first uplink rate is an uplink rate corresponding to the first type of master gateway device working in the first working mode, and the second uplink rate is an uplink rate corresponding to the first type of master gateway device working in the second working mode; Determining a first operating mode supporting the first uplink rate as the target operating mode; When it is determined that the first-type slave gateway device receives another second identifier after activation is completed, restarting and activating the first-type slave gateway device; If it is determined that the first type of slave gateway device receives the second identifier when restarting and activating, a second operating mode supporting the second uplink rate is determined as the target operating mode.

13. The communication method of the gateway device according to claim 5, wherein: Determining a target operating mode that supports the target uplink rate from all the operating modes includes: For the third type of slave gateway device, upon receiving a message field sent by the second type of master gateway device according to a preset period, determining a channel identifier carried by the message field sent according to the preset period; Wherein, the second-type master gateway device supports the first working mode, the third-type slave gateway device supports the first working mode and the second working mode, the channel identifier includes a first identifier for supporting a first uplink rate and a second identifier for supporting a second uplink rate, the first uplink rate is the uplink rate corresponding to the second-type master gateway device working in the first working mode, and the second uplink rate is the uplink rate corresponding to the second-type master gateway device working in the second working mode; For a slave gateway device in the third type of slave gateway devices that supports the first working mode, if it is determined that the slave gateway device that supports the first working mode receives the first identifier, determining the first working mode that supports the first uplink rate as the target working mode; For the slave gateway device supporting the second working mode in the third category of slave gateway devices, if it is determined that the slave gateway device supporting the second working mode has received the first identifier and has not received the second identifier, the first working mode supporting the first uplink rate is determined as the target working mode.

14. The communication method of the gateway device according to any one of claims 2 to 13, wherein: The manner in which the message field carries the channel identifier includes at least one of the following: carrying the channel identifier through a sequence number request field; carrying the channel identifier through a PLOAM field.

15. The communication method of the gateway device according to claim 14, wherein: The method further comprises: In the case where the channel identifier is carried by the PLOAM field, the extension burst length information; Determine a target uplink rate indicated by a channel identifier carried by the message field, and determine a target operating mode of a slave gateway device that supports the target uplink rate, wherein the determining the target uplink rate indicated by the channel identifier carried by the message field, and determining the target operating mode of a slave gateway device that supports the target uplink rate, includes: A target uplink rate indicated by the extended burst length information is determined, and a target operating mode of the slave gateway device that supports the target uplink rate is determined.

16. The communication method of a gateway device according to any one of claims 1 to 13, wherein: The slave gateway device communicates with the master gateway device according to the target working mode, including: Determining an uplink rate of the working mode of the slave gateway device when performing a power-on operation; In the case of determining that the master gateway device supports the uplink rate of the working mode of the slave gateway device when performing a power-on operation, the slave gateway device communicates with the master gateway device according to the target working mode; In a case where it is determined that the master gateway device does not support the uplink rate of the working mode of the slave gateway device when performing a power-on operation, obtaining external configuration information; The uplink rate of the working mode of the slave gateway device when it is powered on is switched based on the external configuration information until the master gateway device supports the uplink rate of the working mode of the slave gateway device when it is powered on.

17. The communication method of a gateway device according to any one of claims 1 to 13, wherein: After the slave gateway device communicates with the master gateway device according to the target working mode, the method further includes: In response to a startup instruction for starting the slave gateway device, acquiring an activation process preset for the slave gateway device; Activate the slave gateway device according to the activation process.

18. A communication system of a gateway device, comprising: A master gateway device and a slave gateway device, wherein the slave gateway device is configured to communicate with the master gateway device according to a target operating mode, wherein the target operating mode is determined based on an uplink rate supported by the master gateway device and an uplink rate supported by the slave gateway device.

19. A computer-readable storage medium, wherein a computer program is stored in the storage medium, wherein: The computer program is arranged to execute the method as claimed in any one of claims 1 to 17 when executed.

20. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the method according to any one of claims 1 to 17 through the computer program.

Citation Information

Patent Citations

  • Communication method and system of gateway equipment, storage medium and electronic device

    CN119316490A

  • Data transmission control method, passive optical network equipment and device, and passive optical network

    CN105659542A

  • Asymmetric EPON MAC implementation method, equipment and storage medium

    CN111163377A

  • Ethernet passive optical network communication method, device and system

    WO2015100534A1

  • Registration method for virtual optical network unit, system and storage medium

    WO2018120547A1