A time slot allocation method and apparatus, and a communication device

By uniformly allocating transmission time slots in a P2MP cascaded optical communication system, the problem of uncoordinated scheduling of uplink transmissions between PON and FTTR is solved, reducing transmission latency and improving transmission efficiency.

CN118827582BActive Publication Date: 2026-01-23CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410058646.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-15
Publication Date
2026-01-23
Estimated Expiration
2044-01-15

AI Technical Summary

Technical Problem

The uplink transmission time slots of PON and FTTR are scheduled separately, which makes it impossible to achieve coordinated scheduling, resulting in high transmission delay.

Method used

In a P2MP cascaded optical communication system, the second device reports its data to be transmitted to the first device, and the first device reports its own and the second device's data to be transmitted to the third device. The third device allocates transmission time slots based on the information from both devices, thus achieving unified uplink scheduling.

Benefits of technology

It effectively reduces transmission latency caused by hierarchical scheduling and improves transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118827582B_ABST
    Figure CN118827582B_ABST
Patent Text Reader

Abstract

The application discloses a time slot allocation method and device and a communication device. The method comprises the following steps: a first device receives a first management packet sent by a second device, which carries information of first to-be-sent data of the second device; the first device sends a second management packet to a third device, which carries information of second to-be-sent data of the first device and information of the first to-be-sent data of the second device; the first device receives a third management packet sent by the third device, which carries information of a first sending time slot allocated by the third device for the first device and information of a second sending time slot allocated by the third device for the second device; and the first device sends a fourth management packet to the second device, which carries information of the second sending time slot allocated by the third device for the second device.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of optical communication technology, and in particular to a time slot allocation method and device and a communication device. BACKGROUND

[0002] An optical access network is composed of a Passive Optical Network (PON) and a Fiber to The Room (FTTR) two-stage Point-to-MultiPoint (P2MP) network, wherein the PON can be referred to as a first-stage P2MP network (or a first-stage P2MP system), and the FTTR can also be referred to as a second-stage P2MP network (or a second-stage P2MP system).

[0003] The uplink transmission of the PON and the FTTR is based on time division multiplexing, that is, the PON and the FTTR form two-stage time division multiplexing networks. At present, the time slots required for the uplink transmission of the PON and the FTTR are respectively scheduled, and the coordinated scheduling cannot be achieved, resulting in high transmission delay of the two-stage time division multiplexing networks. How to reasonably allocate time slots to reduce the transmission delay is a problem to be solved. SUMMARY

[0004] To solve the above technical problems, the embodiments of the present application provide a time slot allocation method and device, a communication device, and a computer readable storage medium.

[0005] In a first aspect, the embodiments of the present application provide a time slot allocation method, which comprises:

[0006] A first device receives a first management packet sent by a second device, wherein the first management packet carries information of first to-be-sent data of the second device, and the first to-be-sent data is data that needs to be sent to a first-stage system;

[0007] The first device sends a second management packet to a third device, wherein the second management packet carries information of second to-be-sent data of the first device and information of the first to-be-sent data of the second device;

[0008] The first device receives a third management packet sent by the third device, wherein the third management packet carries information of a first sending time slot allocated by the third device for the first device and information of a second sending time slot allocated by the third device for the second device; the first sending time slot is determined at least according to the information of the second to-be-sent data, and the second sending time slot is determined at least according to the information of the first to-be-sent data;

[0009] The first device sends a fourth management packet to the second device, and the fourth management packet carries information of a second sending time slot allocated by the third device for the second device.

[0010] In a second aspect, an embodiment of the present application provides a time slot allocation method, which comprises the following steps:

[0011] The third device receives a second management packet sent by the first device, and the second management packet carries information of second to-be-sent data of the first device and information of first to-be-sent data of the second device, wherein the first to-be-sent data is data that needs to be sent to a first-level system.

[0012] The third device allocates a first sending time slot for the first device according to the information of the second to-be-sent data, and allocates a second sending time slot for the second device according to the information of the first to-be-sent data.

[0013] The third device sends a third management packet to the first device, and the third management packet carries information of the first sending time slot allocated by the third device for the first device and information of the second sending time slot allocated by the third device for the second device.

[0014] In a third aspect, an embodiment of the present application provides a time slot allocation method, which comprises the following steps:

[0015] The second device sends a first management packet to the first device, and the first management packet carries information of first to-be-sent data of the second device, wherein the first to-be-sent data is data that needs to be sent to a first-level system.

[0016] The second device receives a fourth management packet sent by the first device, and the fourth management packet carries information of a second sending time slot allocated by the third device for the second device, wherein the second sending time slot is determined at least according to the information of the first to-be-sent data.

[0017] In a fourth aspect, an embodiment of the present application provides a time slot allocation apparatus applied to a first device, which comprises the following steps:

[0018] A first receiving unit is configured to receive a first management packet sent by a second device, and the first management packet carries information of first to-be-sent data of the second device, wherein the first to-be-sent data is data that needs to be sent to a first-level system.

[0019] A first sending unit is configured to send a second management packet to a third device, and the second management packet carries information of second to-be-sent data of the first device and information of the first to-be-sent data of the second device.

[0020] The first receiving unit is further configured to receive a third management packet sent by the third device, the third management packet carrying information of a first sending time slot allocated by the third device for the first device and information of a second sending time slot allocated by the third device for the second device; the first sending time slot is determined at least according to the information of the second to-be-sent data, and the second sending time slot is determined at least according to the information of the first to-be-sent data.

[0021] The first sending unit is further configured to send a fourth management packet to the second device, the fourth management packet carrying information of a second sending time slot allocated by the third device for the second device.

[0022] In a fifth aspect, an embodiment of the present application provides a time slot allocation apparatus, applied to a third device, the apparatus comprising:

[0023] The second receiving unit is configured to receive a second management packet sent by a first device, the second management packet carrying information of second to-be-sent data of the first device and information of first to-be-sent data of a second device, the first to-be-sent data being data that needs to be sent to a first-level system;

[0024] The allocation unit is configured to allocate a first sending time slot for the first device according to the information of the second to-be-sent data, and allocate a second sending time slot for the second device according to the information of the first to-be-sent data;

[0025] The second sending unit is configured to send a third management packet to the first device, the third management packet carrying information of the first sending time slot allocated by the third device for the first device and information of the second sending time slot allocated by the third device for the second device.

[0026] In a sixth aspect, an embodiment of the present application provides a time slot allocation apparatus, applied to a second device, the apparatus comprising:

[0027] The third sending unit is configured to send a first management packet to a first device, the first management packet carrying information of first to-be-sent data of the second device, the first to-be-sent data being data that needs to be sent to a first-level system;

[0028] The third receiving unit is configured to receive a fourth management packet sent by the first device, the fourth management packet carrying information of a second sending time slot allocated by a third device for the second device, the second sending time slot being determined at least according to the information of the first to-be-sent data.

[0029] In a seventh aspect, an embodiment of the present application provides a communication device, comprising: a processor and a memory for storing a computer program, the processor being configured to invoke and run the computer program stored in the memory to execute any of the above methods.

[0030] In an eighth aspect, an embodiment of the present application provides a computer readable storage medium for storing a computer program, the computer program causing a computer to execute any of the above methods.

[0031] The technical solution of the embodiment of the present application, in the P2MP cascaded optical communication system, the second device reports the information of the to-be-sent data of itself to the first device, the first device reports the information of the to-be-sent data of itself and the information of the to-be-sent data of the second device to the third device, so that the third device can allocate a sending time slot for the first device according to the information of the to-be-sent data of the first device and allocate a sending time slot for the second device according to the information of the to-be-sent data of the second device, and unified sending time slot scheduling (i.e., uplink scheduling) is performed for the first device and the second device, thereby avoiding the problem of high transmission delay caused by hierarchical scheduling, and effectively reducing the transmission delay. BRIEF DESCRIPTION OF DRAWINGS

[0032] Figure 1 is a full-optical networking scenario based on FTTR technology;

[0033] Figure 2 is a flowchart of respective scheduling in a two-pole P2MP network;

[0034] Figure 3 is a flowchart of the time slot allocation method provided by an embodiment of the present application Figure 1 ;

[0035] Figure 4 is a flowchart of the time slot allocation method provided by an embodiment of the present application Figure 2 ;

[0036] Figure 5 is a flowchart of the time slot allocation method provided by an embodiment of the present application Figure 3 ;

[0037] Figure 6 is a flowchart of the time slot allocation method provided by an embodiment of the present application Figure 4 ;

[0038] Figure 7 is a structural composition diagram of the time slot allocation apparatus provided by an embodiment of the present application Figure 1 ;

[0039] Figure 8 is a structural composition diagram of the time slot allocation apparatus provided by an embodiment of the present application Figure 2 ;

[0040] Figure 9 is a structural composition diagram of a time slot allocation device provided by an embodiment of the present application Figure 3 ;

[0041] Figure 10 is a schematic structural diagram of a communication device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to facilitate understanding of the technical solutions of the embodiments of the present application, the related technologies of the embodiments of the present application are described as follows, and the following related technologies can be combined with the technical solutions of the embodiments of the present application in any manner as optional solutions, which all belong to the protection scope of the embodiments of the present application.

[0043] Fiber to The Room (FTTR) is an inevitable choice and networking scenario for true gigabit experience. FTTR full-optical networking extends Wi-Fi signals to each room and places in need in a family through optical fibers. The full-optical networking architecture based on FTTR technology is composed of an optical line terminal (OLT), a master optical network unit (ONU), a slave ONU, an optical distribution network (ODN), and indoor optical fiber facilities, and a typical networking scenario is as shown in Figure 1 .

[0044] Generally, the OLT completes the function of a passive optical network (PON) optical fiber line terminal, controls the registration, authentication, and bandwidth allocation of the ONU, etc. The ONU management and control interface (OMCI) protocol is a management protocol between the OLT and the ONU, and the OLT completes the management and control of the ONU through OMCI message interaction. The OMCI protocol allows the OLT to perform the establishment and release of ONU connection, UNI interface management, performance statistics, and event self-reporting, etc., and provides main management functions in four aspects of configuration management, fault management, performance management, and security management.

[0045] The optical access network is composed of a PON and a FTTR two-stage P2MP network, wherein the PON can be referred to as a first-stage P2MP network (or referred to as a first-stage P2MP system), and the FTTR can also be referred to as a second-stage P2MP network (or referred to as a second-stage P2MP system). In the first-stage P2MP network, the OLT connects multiple ONUs through a point-to-multipoint line interface to form a first-stage tree topology; in the second-stage P2MP network, the master ONU connects multiple slave ONUs through a point-to-multipoint line interface, and the master ONU can be an ONU connected with the OLT in the first-stage P2MP network to form a second-stage tree topology; in this way, a multi-stage tree topology of cascaded P2MPs can be formed to meet the needs of access and premises network / local area network networking, respectively.

[0046] The upstream transmission of the PON and the FTTR is based on time division multiplexing, that is, the PON and the FTTR form two-stage time division multiplexing networks. At present, the scheduling scheme of the time slots required for upstream transmission is carried out for a single-stage tree topology, that is, it can only be scheduled for a single-stage tree topology. For a multi-stage tree topology, it can only be scheduled in segments (or in hops), that is, the upstream transmission of the ONUs needs to pass through the scheduling of the master ONUs, and the upstream transmission of the master ONUs needs to pass through the scheduling of the OLTs. The upstream transmission of the master ONUs not only contains the upstream transmission of the master ONUs themselves but also contains the upstream transmission from the slave ONUs, that is, the upstream transmission of the slave ONUs needs to pass through the two-stage scheduling of the master ONUs and the OLTs, and the time delay of the upstream transmission will become larger with each added stage of scheduling.

[0047] Figure 2 A scheme of respective scheduling in a two-stage P2MP network is shown, which is composed of a PON and a FTTR. The PON can be referred to as a first-stage P2MP network (or referred to as a first-stage P2MP system), and the FTTR can also be referred to as a second-stage P2MP network (or referred to as a second-stage P2MP system). In the PON, the OLT and the master ONU interact through a first-stage P2MP optical line interface; in the FTTR, the master ONU and the slave ONUs interact through a second-stage P2MP optical line interface. The interface of the master ONU facing the OLT is referred to as an ONU interface, and the interface of the master ONU facing the slave ONUs is referred to as an OLT interface. As shown in FIG. 1, the scheme includes the following steps: Figure 2

[0048] Step 201: The slave ONU sends a first bandwidth application message to the master ONU.

[0049] Here, the slave ONU applies for upstream transmission bandwidth to the master ONU through the first bandwidth application message based on the information of the to-be-sent data in the local cache.

[0050] ​Step 202: The master ONU sends a first bandwidth authorization message to the slave ONU.

[0051] Here, the master ONU allocates uplink transmission bandwidth for the slave ONU according to the information of the data to be sent by the slave ONU, and notifies the slave ONU of the uplink transmission bandwidth allocated for the slave ONU through the first bandwidth authorization message.

[0052] Step 203: The master ONU sends a second bandwidth application message to the OLT.

[0053] Here, the master ONU applies for uplink transmission bandwidth to the OLT through the second bandwidth application message based on the information of the data to be sent in the local cache.

[0054] Step 204: The OLT sends a second bandwidth authorization message to the master ONU.

[0055] Here, the OLT allocates uplink transmission bandwidth for the master ONU according to the information of the data to be sent by the master ONU, and notifies the master ONU of the uplink transmission bandwidth allocated for the master ONU through the second bandwidth authorization message.

[0056] In summary, the bandwidth required for uplink transmission of PON and FTTR is scheduled respectively; in PON, the bandwidth required for uplink transmission is scheduled by the OLT; in FTTR, the bandwidth required for uplink transmission is scheduled by the master ONU, and the two-pole P2MP network cannot realize cooperative scheduling, resulting in high transmission delay of the two time division multiplexing networks. Therefore, the following technical scheme of the present application embodiment is proposed, and the technical scheme of the present application embodiment can reasonably allocate time slots, thereby reducing transmission delay.

[0057] To facilitate understanding of the technical scheme of the present application embodiment, the technical scheme of the present application is described in detail below through specific embodiments. The above related technologies can be combined with the technical scheme of the present application embodiment as optional schemes, which all belong to the protection scope of the present application embodiment. The present application embodiment includes at least part of the following contents.

[0058] It should be noted that the "first device" in the present application embodiment can be but is not limited to a master device, an FTTR master device, an FTTR master gateway, an FTTR master ONU, a main FTTR unit (MFU), a master gateway, a master ONU, etc. The "second device" in the present application embodiment can be but is not limited to a slave device, an FTTR slave device, an FTTR slave gateway, an FTTR slave ONU, an edge FTTR unit (EFU), a slave gateway, a slave ONU, etc. The "third device" in the present application embodiment can be but is not limited to an OLT, a management device, etc. The above device names are often used interchangeably in this document.

[0059] It should be noted that the "management message" in the embodiments of the present application can be, but is not limited to, an OMCI message.

[0060] It should be noted that the "allocated time slot" in the embodiments of the present application can also be understood as "allocated bandwidth". Generally, the bandwidth can be measured by a certain number of basic time slots, and the length of each basic time slot is 16 ns. For example, the first device allocates a time slot length of N1x16 ns for the second device and a time slot length of N2x16 ns for the third device. In addition, the first device allocates a start time of t1 for the second device and a start time of t2 for the third device. In this way, the second device can start transmitting data using the allocated N1x16 ns at t1, and the second device can start transmitting data using the allocated N1x16 ns at t2. Through time slot allocation and time delay compensation, it can be ensured that when the data of multiple devices are coupled to an optical fiber, the data of each device will not interfere with each other.

[0061] It should be noted that the "first level system" in the embodiments of the present application refers to a PON. In the first level system, one third device is connected to one or more first devices, such as one OLT connected to one or more master devices. The "second level system" in the embodiments of the present application refers to an FTTR. In the second level system, one first device is connected to one or more second devices, such as one master device connected to one or more slave devices. In some cases, the first level system can also be referred to as a first level P2MP network (or a first level P2MP system), and the second level system can also be referred to as a second level P2MP network (or a second level P2MP system).

[0062] It should be noted that the "information of the to-be-transmitted data" in the embodiments of the present application can be, but is not limited to, "the data amount of the to-be-transmitted data or the required bandwidth".

[0063] It should be noted that the "information of the to-be-transmitted data" in the embodiments of the present application can be, but is not limited to, "the data amount of the to-be-transmitted data or the required bandwidth".

[0064] Figure 3 is a flowchart of the time slot allocation method provided by the embodiments of the present application Figure 1 As shown in Figure 3 the time slot allocation method includes all or part of the following contents:

[0065] Step 301: The first device receives a first management message sent by the second device, and the first management message carries information of first to-be-transmitted data of the second device. The first to-be-transmitted data is data that needs to be transmitted to the first level system.

[0066] Here, the second device applies for an uplink transmission time slot to the first device through the first management message according to the information of the to-be-transmitted data in the local transmission buffer.

[0067] The first management message carries information of the first to-be-sent data of the second device, and the first to-be-sent data is data that needs to be sent to the first-level system. Further, the first management message can optionally carry information of the third to-be-sent data of the second device, and the third to-be-sent data is data that needs to be sent within the second-level system.

[0068] Here, the first to-be-sent data of the second device can also be understood as north-south to-be-sent data, which refers to data that needs to be sent to the first-level system by the second device (which can be understood as data flow that needs to enter the first-level system). The third to-be-sent data of the second device can also be understood as east-west to-be-sent data, which refers to data that needs to be sent within the second-level system by the second device (which can be understood as data flow that needs to be sent within the second-level system).

[0069] Here, when the first management message carries information of the first to-be-sent data and information of the third to-be-sent data of the second device, the information of the first to-be-sent data and the information of the third to-be-sent data need to be distinguished. For example, an identifier 1 can be carried in the information of the first to-be-sent data to distinguish that the information is the information of the first to-be-sent data; and an identifier 2 can be carried in the information of the third to-be-sent data to distinguish that the information is the information of the third to-be-sent data.

[0070] Exemplarily, the first management message can be referred to as a bandwidth application message or a bandwidth reporting message, and the name thereof is not limited in the present application.

[0071] Step 302: The first device sends a second management message to the third device, and the second management message carries information of the second to-be-sent data of the first device and information of the first to-be-sent data of the second device.

[0072] Here, after the first device obtains the information of the first to-be-sent data of the second device through the above step 301, the first device transmits the information to the third device, that is, the first device does not process the information and directly carries the information in the second management message to send to the third device. In addition to carrying the information of the first to-be-sent data of the second device, the second management message also carries information of the second to-be-sent data of the first device.

[0073] Through step 302, the first device applies for an uplink sending time slot to the third device through the second management message according to the information of the to-be-sent data in the local sending cache and the information of the first to-be-sent data of the second device.

[0074] In some embodiments, when the first device applies for the uplink transmission time slot to the third device, the application strategy can be based on the following: the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device are carried in the same management message to apply for the uplink transmission time slot. That is, the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device are sent through the same second management message.

[0075] In other embodiments, when the first device applies for the uplink transmission time slot to the third device, the application strategy can be based on the following: the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device are carried in different management messages to apply for the uplink transmission time slot. That is, the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device are sent through different second management messages.

[0076] The application strategy of the first device described above can be based on local generation or remote configuration.

[0077] Exemplarily, the second management message can be referred to as a bandwidth application message or a bandwidth reporting message, and the name thereof is not limited in the present application.

[0078] Step 303: The first device receives the third management message sent by the third device, and the third management message carries the information of the first transmission time slot allocated by the third device for the first device and the information of the second transmission time slot allocated by the third device for the second device; the first transmission time slot is determined at least according to the information of the second to-be-sent data, and the second transmission time slot is determined at least according to the information of the first to-be-sent data.

[0079] Here, the determination of the transmission time slot is related to the to-be-sent data and the equalization delay. For the convenience of understanding, the definitions of several equalization delays are first clarified as follows.

[0080] The first equalization delay is the equalization delay from the second device to the first device, which can be denoted as EqD II (EqD II≥0).

[0081] The second equalization delay is the equalization delay from the first device to the third device, which can be denoted as EqD I (EqD I≥0).

[0082] The forwarding processing delay is the delay of the forwarding processing of the data of the second device by the first device, which can be denoted as τ (τ≥0).

[0083] The third equalization delay is an equalization delay from the second device to the third device, which can be denoted as EqDIII. The third equalization delay is greater than or equal to the sum of the second equalization delay, the first equalization delay and the first device forwarding processing delay, i.e., EqD III≥EqD I+EqD II+τ.

[0084] Based on the above definitions, the first sending time slot allocated by the third device for the first device is determined according to the information of the second to-be-sent data of the first device and the second equalization delay. The second sending time slot allocated by the third device for the second device is determined according to the information of the first to-be-sent data of the second device and the third equalization delay.

[0085] Exemplarily, the third management packet can be referred to as a bandwidth authorization packet or a bandwidth allocation packet, and the application does not limit the name thereof.

[0086] In step 304, the first device sends a fourth management packet to the second device, and the fourth management packet carries information of the second sending time slot allocated by the third device for the second device.

[0087] Here, after the first device obtains the information of the first sending time slot allocated by the third device for the first device and the information of the second sending time slot allocated by the third device for the second device through the above step 303, on the one hand, the first device can send the local second to-be-sent data by using the first sending time slot, and on the other hand, the first device can transparently transmit the information of the second sending time slot to the second device, i.e., the first device does not process the information and directly sends the information in the fourth management packet to the second device.

[0088] In some embodiments, in the above step 301, if the second device notifies the first device of the information of the third to-be-sent data, then the first device further needs to allocate a third sending time slot for the second device at a time other than the second sending time slot allocated by the third device for the second device according to the information of the third to-be-sent data; further, the first device sends a fifth management packet to the second device, and the fifth management packet carries information of the third sending time slot allocated by the first device for the second device; or the first device carries the information of the third sending time slot allocated by the first device for the second device in the fourth management packet.

[0089] Similarly, since the sending time slot is determined in relation to the to-be-sent data and the equalization delay, the first device determines the third sending time slot at a time other than the second sending time slot allocated by the third device for the second device according to the information of the third to-be-sent data and the first equalization delay.

[0090] Exemplarily, the fourth management packet can be referred to as a bandwidth authorization packet or a bandwidth allocation packet, and the application does not limit the name thereof.

[0091] After the second device obtains the information of the second sending time slot allocated by the third device for the second device and the information of the third sending time slot allocated by the first device for the second device, on one hand, the second device can send the local first to-be-sent data to the third device through the first device by using the second sending time slot, and on the other hand, the second device can send the local third to-be-sent data within the second-level system by using the third sending time slot.

[0092] The above technical solution of the embodiment of the present application, in the P2MP cascaded optical communication system, the second device reports the information of the to-be-sent data of the second device to the first device, the first device reports the information of the to-be-sent data of the first device and the information of the to-be-sent data of the second device to the third device, so that the third device can allocate the sending time slot for the first device according to the information of the to-be-sent data of the first device and allocate the sending time slot for the second device according to the information of the to-be-sent data of the second device, and the sending time slots for the first device and the second device are uniformly scheduled (i.e., uplink scheduling), thereby avoiding the problem of high transmission delay caused by hierarchical scheduling and effectively reducing the transmission delay.

[0093] Figure 4 is a flowchart of the time slot allocation method provided by the embodiment of the present application Figure 2 As shown in Figure 4 , the time slot allocation method includes all or part of the following contents:

[0094] Step 401: The third device receives the second management packet sent by the first device, the second management packet carrying the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device, the first to-be-sent data being data that needs to be sent to the first-level system.

[0095] Here, the first to-be-sent data of the second device can also be understood as south-north to-be-sent data, which refers to data that needs to be sent to the first-level system (i.e., data flow that needs to enter the first-level system) by the second device.

[0096] In some embodiments, the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device are sent through the same second management packet.

[0097] In some other embodiments, the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device are sent through different second management packets.

[0098] Exemplarily, the second management packet can be referred to as a bandwidth application packet or a bandwidth reporting packet, and the present application does not limit the name thereof.

[0099] Here, step 401 can refer to the related description of the aforementioned step 302.

[0100] Step 402: The third device allocates a first sending time slot for the first device according to the information of the second to-be-sent data, and allocates a second sending time slot for the second device according to the information of the first to-be-sent data.

[0101] Here, the determination of the sending time slot is related to not only the to-be-sent data but also the equalization delay. For the convenience of understanding, the definitions of several equalization delays are given below.

[0102] The first equalization delay is the equalization delay from the second device to the first device, which can be denoted as EqD II (EqD II≥0).

[0103] The second equalization delay is the equalization delay from the first device to the third device, which can be denoted as EqD I (EqD I≥0).

[0104] The forwarding processing delay is the time delay of the forwarding processing of the data of the second device by the first device, which can be denoted as τ (τ≥0).

[0105] The third equalization delay is the equalization delay from the second device to the third device, which can be denoted as EqD III. The third equalization delay is greater than or equal to the sum of the second equalization delay, the first equalization delay and the forwarding processing delay of the first device, i.e., EqD III≥EqD I+EqD II+τ.

[0106] Based on the above definitions, the first sending time slot allocated by the third device for the first device is determined according to the information of the second to-be-sent data of the first device and the second equalization delay, i.e., the third device determines the first sending time slot according to the information of the second to-be-sent data and the second equalization delay. The second sending time slot allocated by the third device for the second device is determined according to the information of the first to-be-sent data of the second device and the third equalization delay, i.e., the third device determines the second sending time slot according to the information of the first to-be-sent data and the third equalization delay.

[0107] Here, the step 402 can refer to the related description of the aforementioned step 303.

[0108] Step 403: The third device sends a third management packet to the first device, where the third management packet carries the information of the first sending time slot allocated by the third device for the first device and the information of the second sending time slot allocated by the third device for the second device.

[0109] Exemplarily, the third management packet can be referred to as a bandwidth authorization packet or a bandwidth allocation packet, and the name thereof is not limited in the present application.

[0110] Figure 5 is a flowchart of the time slot allocation method provided by the embodiment of the present application Figure 3 , for example,Figure 5 As shown, the time slot allocation method includes all or part of the following contents:

[0111] Step 501: The second device sends a first management packet to the first device, the first management packet carrying information of first to-be-sent data of the second device, the first to-be-sent data being data that needs to be sent to the first-level system.

[0112] Here, the second device applies for an uplink sending time slot to the first device through the first management packet according to the information of to-be-sent data in the local sending cache.

[0113] The first management packet carries information of first to-be-sent data of the second device, the first to-be-sent data being data that needs to be sent to the first-level system. Further, the first management packet can optionally also carry information of third to-be-sent data of the second device, the third to-be-sent data being data that needs to be sent within the second-level system.

[0114] Here, the first to-be-sent data of the second device can also be understood as north-south to-be-sent data, which refers to data that the second device needs to send to the first-level system (can be understood as data flow that needs to enter the first-level system). The third to-be-sent data of the second device can also be understood as east-west to-be-sent data, which refers to data that the second device needs to send within the second-level system (can be understood as data flow that needs to be sent within the second-level system).

[0115] Here, when the first management packet carries information of first to-be-sent data and information of third to-be-sent data of the second device, the information of first to-be-sent data and the information of third to-be-sent data need to be distinguished, for example: an identifier 1 can be carried in the information of first to-be-sent data, and the identifier 1 is used to distinguish that the information is the information of first to-be-sent data; an identifier 2 can be carried in the information of third to-be-sent data, and the identifier 2 is used to distinguish that the information is the information of third to-be-sent data.

[0116] Exemplarily, the first management packet can be called a bandwidth application packet or a bandwidth reporting packet, and the name thereof is not limited in the present application.

[0117] Step 502: The second device receives a fourth management packet sent by the first device, the fourth management packet carrying information of a second sending time slot allocated by the third device to the second device, the second sending time slot being determined at least according to the information of first to-be-sent data.

[0118] Here, since the determination of the sending time slot is related to not only the data to be sent but also the equalization delay, the second sending time slot is determined according to the information of the first data to be sent and a third equalization delay, which is the equalization delay from the second device to the third device, and can be denoted as EqD III; the third equalization delay is greater than or equal to the sum of the second equalization delay, the first equalization delay and the first device forwarding processing delay, i.e. EqD III≥EqD I+EqD II+τ, where EqD I represents the equalization delay from the first device to the third device (i.e. the second equalization delay), EqD II represents the equalization delay from the second device to the first device (i.e. the first equalization delay), and τ represents the time delay of the forwarding processing of the data from the first device to the second device (i.e. the forwarding processing delay).

[0119] In some embodiments, in the step 501, if the second device informs the first device of the information of the third data to be sent, the first device further allocates a third sending time slot for the second device at a time other than the second sending time slot allocated by the third device for the second device according to the information of the third data to be sent; further, the first device sends a fifth management packet to the second device, the fifth management packet carrying the information of the third sending time slot allocated by the first device for the second device; or the first device carries the information of the third sending time slot allocated by the first device for the second device in the fourth management packet. Correspondingly, the second device receives the fifth management packet sent by the first device, the fifth management packet carrying the information of the third sending time slot allocated by the first device for the second device, or the fourth management packet carrying the information of the third sending time slot allocated by the first device for the second device.

[0120] After the second device obtains the information of the second sending time slot allocated by the third device for the second device and the information of the third sending time slot allocated by the first device for the second device, on one hand, the second device can send the local first data to be sent to the third device through the first device by using the second sending time slot, and on the other hand, the second device can send the local third data to be sent within the second-level system by using the third sending time slot.

[0121] The technical solutions of the embodiments of the present application are illustrated below by combining with specific application examples. In the following application examples, the third device is an OLT, the first device is a master ONU, the second device is a slave ONU, and the system architecture is a two-level P2MP network cascade. The uplink communication of the first-level P2MP system and the second-level P2MP system both adopts a time division multiplexing (e.g. TDMA) mechanism.

[0122] Figure 6 is a flowchart of the time slot allocation method provided by the embodiments of the present application Figure 4 As shown in Figure 6 , the time slot allocation method includes all or part of the following contents:

[0123] Step 601: sending a first bandwidth application message from the slave ONU to the master ONU, the first bandwidth application message carrying information of to-be-sent data 1 of the slave ONU and information of to-be-sent data 2 of the slave ONU.

[0124] When the slave ONU applies for uplink transmission bandwidth to the master ONU, the slave ONU applies for uplink transmission bandwidth to the master ONU through the first bandwidth application message based on the information of to-be-sent data in the local transmission cache. The first bandwidth application message carries the information of to-be-sent data 1 of the slave ONU and the information of to-be-sent data 2 of the slave ONU. The to-be-sent data 1 can be understood as south-north to-be-sent data, which refers to data of the slave ONU that needs to be sent to the first P2MP system (which can be understood as data flow that needs to enter the first P2MP system). The to-be-sent data 2 can be understood as east-west to-be-sent data, which refers to data of the slave ONU that needs to be sent in the second P2MP system (which can be understood as data flow that needs to be sent in the second P2MP system).

[0125] Step 602: the master ONU sends a second bandwidth application message to the OLT, the second bandwidth application message carrying information of to-be-sent data 3 of the master ONU and information of to-be-sent data 1 of the slave ONU.

[0126] Here, after the master ONU obtains the information of to-be-sent data 1 of the slave ONU through the above step 601, the master ONU transmits the information to the OLT, that is, the master ONU does not process the information and directly carries the information in the second bandwidth application message to send to the OLT. In addition to carrying the information of to-be-sent data 1 of the slave ONU, the second bandwidth application message also carries the information of to-be-sent data 3 of the master ONU.

[0127] Through step 602, the master ONU applies for uplink transmission time slots to the OLT through the second bandwidth application message based on the information of to-be-sent data 3 in the local transmission cache and the information of to-be-sent data 1 of the slave ONU.

[0128] In some embodiments, when the master ONU applies for uplink transmission bandwidth to the OLT (i.e., the first P2MP system), the following application strategies can be implemented:

[0129] Strategy 1: carrying the information of to-be-sent data 3 of the master ONU and the information of to-be-sent data 1 of the slave ONU in the same second bandwidth application message.

[0130] Strategy 2: carrying the information of to-be-sent data 3 of the master ONU and the information of to-be-sent data 1 of the slave ONU in different second bandwidth application messages.

[0131] The above application strategies can be based on local generation or remote configuration.

[0132] Step 603: The OLT sends a first bandwidth grant message to the master ONU, which carries information of the transmission time slot 1 allocated by the OLT for the master ONU and information of the transmission time slot 2 allocated by the OLT for the slave ONU.

[0133] Here, the determination of the transmission time slot is related to not only the data to be transmitted but also the equalization delay. For the convenience of understanding, the following will first define several equalization delays.

[0134] EqD I (EqD I > 0) is the equalization delay of the master ONU to the OLT, EqD II (EqD II > 0) is the equalization delay of the slave ONU to the master ONU, τ (τ > 0) is the delay of the master ONU in forwarding and processing the data of the slave ONU (referred to as the master ONU forwarding and processing delay), and EqD III is the equalization delay of the slave ONU to the OLT, EqD III = EqD I + EqD II + τ.

[0135] The OLT allocates the transmission time slot for the master ONU according to the information of the data 3 to be transmitted by the master ONU and EqD I, and allocates the transmission time slot for the slave ONU according to the information of the data 1 to be transmitted by the slave ONU and EqD III. The OLT sends the information of the transmission time slot 1 allocated for the master ONU and the information of the transmission time slot 2 allocated for the slave ONU to the master ONU through the first bandwidth grant message.

[0136] The transmission time slot determined by the above scheme can avoid the conflict interference of adjacent ONUs during framing.

[0137] Step 604: The master ONU sends a second bandwidth grant message to the slave ONU, which carries information of the transmission time slot 2 allocated by the OLT for the slave ONU and information of the transmission time slot 3 allocated by the master ONU for the slave ONU.

[0138] Here, after receiving the transmission time slot from the OLT, the master ONU should be able to distinguish whether it is transmission time slot 1 allocated to the master ONU or transmission time slot 2 allocated to the slave ONU for north-south data. The data to be transmitted in the master ONU's local buffer is transmitted according to transmission time slot 1 allocated to the master ONU by the OLT. The master ONU informs the slave ONU of transmission time slot 2 allocated to the slave ONU for north-south data via a second bandwidth grant message. Furthermore, after knowing that the OLT has allocated transmission time slot 2 to the slave ONU, to avoid conflicts, the master ONU, based on the slave ONU's east-west data information (i.e., the information of data to be transmitted 2), allocates transmission time slots for the slave ONU's east-west data during the time slots allocated by the OLT to all slave ONUs for north-south data, outside of the time slots allocated by the OLT to all slave ONUs for north-south data. This time slot allocation requires both the east-west data information (i.e., the information of data to be transmitted 2) and EqDI. The master ONU informs the slave ONU of the time slot 3 allocated to its east-west data via a second bandwidth grant message.

[0139] The above-described technical solution in this application embodiment can allocate transmission time slots to both the master ONU and slave ONU in a unified manner through the first-level P2MP system, thereby seamlessly arranging the two-level P2MP network and effectively reducing transmission latency.

[0140] Figure 7 This is a schematic diagram of the structural composition of the time slot allocation device provided in the embodiments of this application. Figure 1 Applied to the first device, such as Figure 7 As shown, the device includes:

[0141] The first receiving unit 701 is used to receive a first management message sent by the second device. The first management message carries information about the first data to be sent by the second device. The first data to be sent is data that needs to be sent to the first-level system.

[0142] The first sending unit 702 is used to send a second management message to a third device. The second management message carries information about the second data to be sent by the first device and information about the first data to be sent by the second device.

[0143] The first receiving unit 701 is further configured to receive a third management message sent by the third device, the third management message carrying information about a first transmission time slot allocated by the third device to the first device and information about a second transmission time slot allocated by the third device to the second device; the first transmission time slot is determined at least based on information about the second data to be transmitted, and the second transmission time slot is determined at least based on information about the first data to be transmitted;

[0144] The first sending unit 702 is further configured to send a fourth management packet to the second device, where the fourth management packet carries information of a second sending time slot allocated by the third device to the second device.

[0145] In some embodiments, the first management packet further carries information of third to-be-sent data of the second device, where the third to-be-sent data is data that needs to be sent within the second-level system.

[0146] The apparatus further includes an allocation unit configured to allocate, according to the information of the third to-be-sent data, a third sending time slot to the second device at a time other than the second sending time slot allocated by the third device to the second device.

[0147] The first sending unit 702 is further configured to send a fifth management packet to the second device, where the fifth management packet carries information of a third sending time slot allocated by the first device to the second device; or the first device carries information of a third sending time slot allocated by the first device to the second device in the fourth management packet.

[0148] In some embodiments, the allocation unit is specifically configured to determine the third sending time slot at a time other than the second sending time slot allocated by the third device to the second device, according to the information of the third to-be-sent data and a first equalization time delay, where the first equalization time delay is an equalization time delay from the second device to the first device.

[0149] In some embodiments, the first sending time slot is determined according to the information of the second to-be-sent data and a second equalization time delay, where the second equalization time delay is an equalization time delay from the first device to the third device; and the second sending time slot is determined according to the information of the first to-be-sent data and a third equalization time delay, where the third equalization time delay is an equalization time delay from the second device to the third device, and the third equalization time delay is greater than or equal to a sum of the second equalization time delay, a first equalization time delay, and a first device forwarding processing time delay, where the first equalization time delay is an equalization time delay from the second device to the first device, and the forwarding processing time delay is a time delay of forwarding processing of the first device on the data of the second device.

[0150] In some embodiments, the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device are sent through a same second management packet; or the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device are sent through different second management packets.

[0151] Those skilled in the art should understand that, Figure 7The implementation functions of the units in the time slot allocation apparatus shown can be understood with reference to the related descriptions of the foregoing method.

[0152] Figure 8 is a structural composition of the time slot allocation apparatus provided by the embodiment of the present application Figure 2 , applied to a third device, as shown in Figure 8 The apparatus comprises:

[0153] A second receiving unit 801 is configured to receive a second management packet sent by a first device, wherein the second management packet carries information of second to-be-sent data of the first device and information of first to-be-sent data of a second device, and the first to-be-sent data is data that needs to be sent to a first-level system.

[0154] An allocation unit 802 is configured to allocate a first sending time slot for the first device according to the information of the second to-be-sent data, and allocate a second sending time slot for the second device according to the information of the first to-be-sent data.

[0155] A second sending unit 803 is configured to send a third management packet to the first device, wherein the third management packet carries information of the first sending time slot allocated by the third device for the first device and information of the second sending time slot allocated by the third device for the second device.

[0156] In some embodiments, the allocation unit 802 is specifically configured to determine the first sending time slot according to the information of the second to-be-sent data and a second equalization time delay, wherein the second equalization time delay is an equalization time delay from the first device to the third device; and determine the second sending time slot according to the information of the first to-be-sent data and a third equalization time delay, wherein the third equalization time delay is greater than or equal to a sum of the second equalization time delay, a first equalization time delay and a first device forwarding processing time delay, and the first equalization time delay is an equalization time delay from the second device to the first device, and the forwarding processing time delay is a time delay of forwarding processing of the data of the second device by the first device.

[0157] In some embodiments, the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device are sent through the same second management packet; or the information of the second to-be-sent data of the first device and the information of the first to-be-sent data of the second device are sent through different second management packets.

[0158] Those skilled in the art should understand that Figure 8 The implementation functions of the units in the time slot allocation apparatus shown can be understood with reference to the related descriptions of the foregoing method.

[0159] Figure 9is a structural component of a time slot allocation apparatus provided by an embodiment of the present application Figure 3 , applied to a second device, as shown in Figure 9 , the apparatus comprises:

[0160] a third sending unit 901, configured to send a first management packet to a first device, the first management packet carrying information of first to-be-sent data of the second device, the first to-be-sent data being data that needs to be sent to a first-level system;

[0161] a third receiving unit 902, configured to receive a fourth management packet sent by the first device, the fourth management packet carrying information of a second sending time slot allocated by a third device to the second device, the second sending time slot being determined according to at least the information of the first to-be-sent data.

[0162] In some embodiments, the first management packet further carries information of third to-be-sent data of the second device, the third to-be-sent data being data that needs to be sent within a second-level system;

[0163] The third receiving unit 902 is further configured to receive a fifth management packet sent by the first device, the fifth management packet carrying information of a third sending time slot allocated by the first device to the second device, or the fourth management packet carries information of a third sending time slot allocated by the first device to the second device; wherein the third sending time slot is a sending time slot allocated by the first device to the second device, in addition to the second sending time slot allocated by the third device to the second device, according to the information of the third to-be-sent data.

[0164] Those skilled in the art should understand that Figure 9 The implementation functions of the units in the time slot allocation apparatus shown in the foregoing method can be understood with reference to the related descriptions of the foregoing method.

[0165] Figure 10 is a schematic structural diagram of a communication device 1000 provided by an embodiment of the present application. The communication device can be a third device or a second device or a first device, Figure 10 The communication device 1000 shown in the foregoing method can be understood with reference to the related descriptions of the foregoing method.

[0166] Optionally, as shown in Figure 10 The communication device 1000 can further comprise a memory 1020. The processor 1010 can call and run a computer program from the memory 1020 to implement the method in the embodiments of the present application.

[0167] The memory 1020 can be a separate device independent of the processor 1010, or can be integrated in the processor 1010.

[0168] Optionally, as shown in the figure, the communication device 1000 can further include a transceiver 1030, and the processor 1010 can control the transceiver 1030 to communicate with other devices, specifically, can send information or data to other devices, or receive information or data sent by other devices. Figure 10

[0169] The transceiver 1030 can include a transmitter and a receiver. The transceiver 1030 can further include an antenna, and the number of antennas can be one or more.

[0170] Optionally, the communication device 1000 can be specifically a third device of the embodiments of the present application, and the communication device 1000 can implement the corresponding processes in the various methods of the embodiments of the present application implemented by the third device, and for the sake of brevity, will not be repeated here.

[0171] Optionally, the communication device 1000 can be specifically a second device of the embodiments of the present application, and the communication device 1000 can implement the corresponding processes in the various methods of the embodiments of the present application implemented by the second device, and for the sake of brevity, will not be repeated here.

[0172] Optionally, the communication device 1000 can be specifically a first device of the embodiments of the present application, and the communication device 1000 can implement the corresponding processes in the various methods of the embodiments of the present application implemented by the first device, and for the sake of brevity, will not be repeated here.

[0173] ​It should be understood that the processor of the embodiments of the present application can be an integrated circuit chip with a processing capability of signals. In the implementation process, each step of the method embodiments described above can be completed by the integrated logic circuit of hardware in the processor or the instructions in the form of software. The processor described above can be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as a hardware coding processor for execution, or a combination of hardware and software modules in the coding processor for execution. The software module can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the storage, and the processor reads the information in the storage, and combines the hardware to complete the steps of the above method.

[0174] It is to be understood that the memory in the embodiments of the present application can be a volatile memory or a nonvolatile memory, or can include both volatile and nonvolatile memory. Among them, the nonvolatile memory can be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory. The volatile memory can be a random access memory (Random Access Memory, RAM) used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the system and method described herein is intended to include, but not limited to, these and any other suitable types of memory.

[0175] It should be understood that the above-mentioned memory is exemplary but not limiting, for example, the memory in the embodiments of the present application can also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and the like. That is, the memory in the embodiments of the present application is intended to include, but not limited to, these and any other suitable types of memory.

[0176] The embodiment of the present application further provides a computer readable storage medium for storing the computer program.

[0177] Optionally, the computer readable storage medium can be applied to the third device in the embodiment of the present application, and the computer program makes the computer execute the corresponding process realized by the third device in the various methods of the embodiment of the present application. For the sake of brevity, details are not described herein.

[0178] Optionally, the computer readable storage medium can be applied to the second device in the embodiment of the present application, and the computer program makes the computer execute the corresponding process realized by the second device in the various methods of the embodiment of the present application. For the sake of brevity, details are not described herein.

[0179] Optionally, the computer readable storage medium can be applied to the first device in the embodiment of the present application, and the computer program makes the computer execute the corresponding process realized by the first device in the various methods of the embodiment of the present application. For the sake of brevity, details are not described herein.

[0180] Those skilled in the art can understand that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized in electronic hardware or in combination of computer software and electronic hardware. Whether the functions are realized in hardware or software mode depends on the specific application and design constraints of the technical solutions. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0181] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, and details are not described herein.

[0182] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division, and actual implementation can have another division manner. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0183] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0184] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present alone, or two or more units can be integrated in one unit.

[0185] The functions, if realized in the form of software functional units and sold or used as independent products, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application or the part of the present application that essentially contributes to the prior art or the part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a management device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.

[0186] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be limited by the protection scope of the claims.

Claims

1. A time slot allocation method, characterized in that, The method includes: The first device receives a first management message sent by the second device. The first management message carries information about the first data to be sent by the second device. The first data to be sent is data that needs to be sent to the first-level system. The first device sends a second management message to the third device. The second management message carries information about the second data to be sent by the first device and information about the first data to be sent by the second device. The first device receives a third management message sent by the third device. The third management message carries information about a first transmission time slot allocated by the third device to the first device and information about a second transmission time slot allocated by the third device to the second device. The first transmission time slot is determined at least based on the information of the second data to be transmitted, and the second transmission time slot is determined at least based on the information of the first data to be transmitted. The first device sends a fourth management message to the second device, the fourth management message carrying information about the second transmission time slot allocated by the third device to the second device; The first transmission time slot is determined based on the information of the second data to be transmitted and the second equalization delay, wherein the second equalization delay is the equalization delay from the first device to the third device; The second transmission time slot is determined based on the information of the first data to be transmitted and the third equalization delay. The third equalization delay is the equalization delay from the second device to the third device. The third equalization delay is greater than or equal to the sum of the second equalization delay, the first equalization delay, and the forwarding processing delay of the first device. The first equalization delay is the equalization delay from the second device to the first device, and the forwarding processing delay is the delay of the first device forwarding the data from the second device.

2. The method according to claim 1, characterized in that, The first management message also carries information about third data to be sent by the second device, wherein the third data to be sent is data that needs to be sent within the second-level system; the method further includes: Based on the information of the third data to be transmitted, the first device allocates a third transmission time slot to the second device at a time outside the second transmission time slot allocated by the third device to the second device; The first device sends a fifth management message to the second device, the fifth management message carrying information about the third transmission time slot allocated by the first device to the second device; or, the first device carries information about the third transmission time slot allocated by the first device to the second device in the fourth management message.

3. The method according to claim 2, characterized in that, The method further includes: The first device determines the third transmission time slot based on the information of the third data to be transmitted and the first equalization delay, at a time outside the second transmission time slot allocated by the third device to the second device, wherein the first equalization delay is the equalization delay from the second device to the first device.

4. The method according to any one of claims 1 to 3, characterized in that, The information of the second data to be sent from the first device and the information of the first data to be sent from the second device are sent through the same second management message; or, The information of the second data to be sent by the first device and the information of the first data to be sent by the second device are sent through different second management messages.

5. A time slot allocation method, characterized in that, The method includes: The third device receives a second management message sent by the first device. The second management message carries information about the second data to be sent by the first device and information about the first data to be sent by the second device. The first data to be sent is data that needs to be sent to the first-level system. The information about the first data to be sent by the second device is sent to the first device by the second device through the first management message. The third device allocates a first transmission time slot to the first device based on the information of the second data to be transmitted, and allocates a second transmission time slot to the second device based on the information of the first data to be transmitted; The third device sends a third management message to the first device, the third management message carrying information about a first transmission time slot allocated by the third device to the first device and information about a second transmission time slot allocated by the third device to the second device; the information about the second transmission time slot allocated by the third device to the second device is sent by the first device to the second device through a fourth management message; The first transmission time slot is determined based on the information of the second data to be transmitted and the second equalization delay, wherein the second equalization delay is the equalization delay from the first device to the third device; The second transmission time slot is determined based on the information of the first data to be transmitted and the third equalization delay. The third equalization delay is the equalization delay from the second device to the third device. The third equalization delay is greater than or equal to the sum of the second equalization delay, the first equalization delay, and the forwarding processing delay of the first device. The first equalization delay is the equalization delay from the second device to the first device, and the forwarding processing delay is the delay of the first device forwarding the data from the second device.

6. The method according to claim 5, characterized in that, The information of the second data to be sent from the first device and the information of the first data to be sent from the second device are sent through the same second management message; or, The information of the second data to be sent by the first device and the information of the first data to be sent by the second device are sent through different second management messages.

7. A time slot allocation method, characterized in that, The method includes: The second device sends a first management message to the first device. The first management message carries information about the first data to be sent by the second device, which is data that needs to be sent to the first-level system. The information about the second data to be sent by the first device and the information about the first data to be sent by the second device are sent by the first device to the third device through a second management message. The information about the second data to be sent is used by the third device to allocate a first transmission time slot for the first device, and the information about the first data to be sent is used by the third device to allocate a second transmission time slot for the second device. The information about the first transmission time slot allocated by the third device to the first device and the information about the second transmission time slot allocated by the third device to the second device are sent by the third device to the first device through a third management message. The second device receives a fourth management message sent by the first device, the fourth management message carrying information about the second transmission time slot allocated by the third device to the second device; The first transmission time slot is determined based on the information of the second data to be transmitted and the second equalization delay, wherein the second equalization delay is the equalization delay from the first device to the third device; The second transmission time slot is determined based on the information of the first data to be transmitted and the third equalization delay. The third equalization delay is the equalization delay from the second device to the third device. The third equalization delay is greater than or equal to the sum of the second equalization delay, the first equalization delay, and the forwarding processing delay of the first device. The first equalization delay is the equalization delay from the second device to the first device, and the forwarding processing delay is the delay of the first device forwarding the data from the second device.

8. The method according to claim 7, characterized in that, The first management message also carries information about third data to be sent by the second device, wherein the third data to be sent is data that needs to be sent within the second-level system; the method further includes: The second device receives a fifth management message sent by the first device. The fifth management message carries information about a third transmission time slot allocated by the first device for the second device, or the fourth management message carries information about a third transmission time slot allocated by the first device for the second device. The third transmission time slot is allocated by the first device to the second device at a time other than the second transmission time slot allocated by the third device, based on information about the third data to be transmitted.

9. A time slot allocation device, applied to a first device, the device comprising: The first receiving unit is configured to receive a first management message sent by the second device. The first management message carries information about the first data to be sent by the second device. The first data to be sent is data that needs to be sent to the first-level system. The first sending unit is configured to send a second management message to the third device, the second management message carrying information about the second data to be sent by the first device and information about the first data to be sent by the second device. The first receiving unit is further configured to receive a third management message sent by the third device, the third management message carrying information about a first transmission time slot allocated by the third device to the first device and information about a second transmission time slot allocated by the third device to the second device; the first transmission time slot is determined at least based on information about the second data to be transmitted, and the second transmission time slot is determined at least based on information about the first data to be transmitted; The first sending unit is further configured to send a fourth management message to the second device, the fourth management message carrying information about the second sending time slot allocated by the third device to the second device; The first transmission time slot is determined based on the information of the second data to be transmitted and the second equalization delay, wherein the second equalization delay is the equalization delay from the first device to the third device; The second transmission time slot is determined based on the information of the first data to be transmitted and the third equalization delay. The third equalization delay is the equalization delay from the second device to the third device. The third equalization delay is greater than or equal to the sum of the second equalization delay, the first equalization delay, and the forwarding processing delay of the first device. The first equalization delay is the equalization delay from the second device to the first device, and the forwarding processing delay is the delay of the first device forwarding the data from the second device.

10. A time slot allocation device, applied to a third device, the device comprising: The second receiving unit is used to receive a second management message sent by the first device. The second management message carries information about the second data to be sent by the first device and information about the first data to be sent by the second device. The first data to be sent is data that needs to be sent to the first-level system. The information of the first data to be sent by the second device is sent to the first device by the second device through a first management message; The allocation unit is configured to allocate a first transmission time slot to the first device based on the information of the second data to be transmitted, and to allocate a second transmission time slot to the second device based on the information of the first data to be transmitted; The second sending unit is configured to send a third management message to the first device. The third management message carries information about a first sending time slot allocated by the third device to the first device and information about a second sending time slot allocated by the third device to the second device. The information about the second sending time slot allocated by the third device to the second device is sent by the first device to the second device via a fourth management message. The first transmission time slot is determined based on the information of the second data to be transmitted and the second equalization delay, wherein the second equalization delay is the equalization delay from the first device to the third device; The second transmission time slot is determined based on the information of the first data to be transmitted and the third equalization delay. The third equalization delay is the equalization delay from the second device to the third device. The third equalization delay is greater than or equal to the sum of the second equalization delay, the first equalization delay, and the forwarding processing delay of the first device. The first equalization delay is the equalization delay from the second device to the first device, and the forwarding processing delay is the delay of the first device forwarding the data from the second device.

11. A time slot allocation device, applied to a second device, the device comprising: The third sending unit is configured to send a first management message to the first device. The first management message carries information about first data to be sent by the second device, which is data that needs to be sent to the first-level system. Information about second data to be sent by the first device and information about the first data to be sent by the second device are sent to the third device by the first device via a second management message. Information about the second data to be sent is used by the third device to allocate a first transmission time slot for the first device, and information about the first data to be sent is used by the third device to allocate a second transmission time slot for the second device. Information about the first transmission time slot allocated by the third device to the first device and information about the second transmission time slot allocated by the third device to the second device are sent by the third device to the first device via a third management message. The third receiving unit is used to receive a fourth management message sent by the first device, wherein the fourth management message carries information about the second transmission time slot allocated by the third device to the second device; The first transmission time slot is determined based on the information of the second data to be transmitted and the second equalization delay, wherein the second equalization delay is the equalization delay from the first device to the third device; The second transmission time slot is determined based on the information of the first data to be transmitted and the third equalization delay. The third equalization delay is the equalization delay from the second device to the third device. The third equalization delay is greater than or equal to the sum of the second equalization delay, the first equalization delay, and the forwarding processing delay of the first device. The first equalization delay is the equalization delay from the second device to the first device, and the forwarding processing delay is the delay of the first device forwarding the data from the second device.

12. A communication device, characterized in that, include: A processor and a memory for storing a computer program, the processor for calling and running the computer program stored in the memory to perform the method as described in any one of claims 1 to 8.

13. A computer-readable storage medium, characterized in that, Used to store a computer program that causes a computer to perform the method as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Communication method and device, communication equipment and computer storage medium

    CN117177106A

  • Communication method and apparatus, communication device and computer storage medium

    WO2023227066A1