Transmission rate negotiation method, communication device and communication system
Patent Information
- Application Number
- CN202280101918.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2025-06-27
AI Technical Summary
In the existing technology, the speed is unstable and the efficiency is low during the transmission rate negotiation process between two devices. It often takes a long time for the negotiation to succeed, and the negotiation may even fail.
By directly determining the transmission rate without sending a response after the second device receives the cyclic sequence from the first device, the interaction process is reduced, thereby speeding up the negotiation, and different types of level signal indication information are used to improve the accuracy of analysis.
It achieves fast and accurate transmission rate negotiation, improves negotiation success rate and communication efficiency, reduces the amount of signaling, and does not require pre-synchronization.
Smart Images

Figure CN120226325A_ABST
Abstract
Description
A transmission rate negotiation method, communication device and communication system Technical Field
[0001] The embodiments of the present application relate to the field of wired communication technology, and in particular to a transmission rate negotiation method, a communication device, and a communication system. Background Art
[0002] In some application scenarios, before establishing a link between two devices, they need to self-negotiate the transmission rate for communication. Only after the transmission rate negotiation is successful can the link be successfully established and normal communication be carried out.
[0003] How to achieve fast and accurate transmission rate negotiation between two devices has always been a concern in the industry, and there is currently no good solution.
[0004] Summary of the Invention
[0005] Embodiments of the present application provide a transmission rate negotiation method, a communication device, and a communication system for implementing fast and accurate transmission rate negotiation between two devices.
[0006] In a first aspect, an embodiment of the present application provides a transmission rate negotiation method, which can be performed by a second device or a module (such as a chip) in the second device. Taking the second device performing the method as an example, the method includes: the second device receives a first cyclic sequence from the first device, the first cyclic class corresponding to the first cyclic sequence is used to indicate a first transmission rate among the transmission rates supported by the first device, the first cyclic class includes at least one first subsequence, the first subsequence includes any consecutive M bits in the first cyclic sequence, and M is an integer greater than 1; the second device determines the first transmission rate based on the first cyclic sequence; the second device determines the transmission rate to be negotiated based on the first transmission rate and the transmission rates supported by the second device; the second device attempts to establish a link with the first device based on the transmission rate to be negotiated.
[0007] In the above solution, the first device indicates the first transmission rate it supports via a cyclic sequence, enabling the second device to accurately determine the first transmission rate, thereby improving the accuracy of transmission rate negotiation. Furthermore, after receiving the first cyclic sequence, the second device does not need to send a response to the first device, but instead performs subsequent operations such as determining the first transmission rate based on the first cyclic sequence. This reduces the interaction between the two parties and thus speeds up transmission rate negotiation.
[0008] In a possible implementation method, the second device determines the first transmission rate based on the first cyclic sequence, including: the second device obtains any M bits in the first cyclic sequence; the second device determines the first transmission rate based on the first cyclic class to which the M bits belong.
[0009] The above-mentioned scheme, which uses a cyclic sequence to indicate the transmission rate, has the following advantages: the second device can accurately determine the transmission rate indicated by the cyclic sequence by intercepting M symbols starting from any position of the received cyclic sequence. Therefore, the first device does not need to use additional signaling to instruct the second device at which position in the cyclic sequence to start intercepting. There is also no need to ensure synchronization between the first device and the second device in advance, that is, there is no need for the first device to send a synchronization header or preamble code to the second device in advance. Therefore, this method has the advantages of high accuracy, high efficiency, and less signaling.
[0010] In one possible implementation method, the first transmission rate is the maximum transmission rate among the transmission rates supported by the first device; the second device determines the transmission rate to be negotiated based on the first transmission rate and the transmission rates supported by the second device, including: when the transmission rates supported by the second device include the first transmission rate, the second device determines the first transmission rate as the transmission rate to be negotiated; when the transmission rates supported by the second device do not include the first transmission rate, the second device determines the maximum transmission rate among the transmission rates supported by the second device as the transmission rate to be negotiated.
[0011] In the above solution, if the transmission rates supported by the second device include the first transmission rate, the second device determines the first transmission rate as the transmission rate to be negotiated. This ensures that the first and second devices quickly determine the same transmission rate as the transmission rate to be negotiated, helping to increase the speed of successful negotiation. If the transmission rates supported by the second device do not include the first transmission rate, the second device determines the maximum transmission rate among the transmission rates supported by the second device as the transmission rate to be negotiated. This helps ensure that the first and second devices select a maximum transmission rate that each device supports as the transmission rate to be negotiated, thereby helping to improve communication efficiency.
[0012] In one possible implementation method, the second device receives a first cyclic sequence from the first device, including: the second device receives a level signal from the first device, and the level signal is used to indicate the first cyclic sequence; wherein, the first type of level signal lasting a first duration and the second type of level signal lasting a second duration in the level signal are used to indicate first information, and the first type of level signal lasting a third duration and the second type of level signal lasting a fourth duration in the level signal are used to indicate second information; the first information is different from the second information, and the first duration is different from the third duration.
[0013] The above solution uses different types of level signals to indicate the first cyclic sequence, which helps to improve the accuracy of the second device in parsing the first cyclic sequence, thereby helping to improve the speed and success rate of transmission rate negotiation.
[0014] In one possible implementation method, the second device attempts to establish a link with the first device based on the transmission rate to be negotiated, including: when the second device successfully establishes a link with the first device based on the transmission rate to be negotiated, the second device determines that the transmission rate to be negotiated is the transmission rate between the second device and the first device.
[0015] In a possible implementation method, when the second device fails to establish a link with the first device according to the transmission rate to be negotiated, the second device deletes the transmission rate to be negotiated from the transmission rates supported by the second device.
[0016] The above solution deletes the transmission rate to be negotiated when the link establishment fails, and obtains the updated transmission rate supported by the second device, so that the second device re-determines the transmission rate to be negotiated based on the updated transmission rate supported by the second device, which helps to correctly complete the negotiation of the transmission rate.
[0017] In one possible implementation method, the second device attempts to establish a link with the first device based on the transmission rate to be negotiated, including: when the second device fails to establish a link with the first device based on the transmission rate to be negotiated, the second device retries to establish a link with the first device based on the transmission rate to be negotiated after a set time period.
[0018] The above solution increases the probability that the second device will successfully establish a link at the transmission rate to be negotiated, thereby improving the success rate and speed of transmission rate negotiation.
[0019] In one possible implementation method, the second device sends a second cyclic sequence to the first device, and the second cyclic class corresponding to the second cyclic sequence is used to indicate a second transmission rate among the transmission rates supported by the second device. The second cyclic class includes at least one second subsequence, and the second subsequence includes any consecutive M bits in the second cyclic sequence.
[0020] In a possible implementation method, the second transmission rate is a maximum transmission rate among transmission rates supported by the second device.
[0021] In one possible implementation method, the first device is a baseband unit (BBU), an adaptive antenna unit (AAU), or a radio remote unit (RRU), and the second device is a BBU, an AAU, or an RRU.
[0022] The above solution can realize the negotiation of transmission rates between optical transmission equipment, such as BBU, AAU or RRU, and help improve the communication efficiency of optical transmission equipment.
[0023] In a second aspect, an embodiment of the present application provides a communication device, which may be a second device or a module (such as a chip) in the second device. The device has the function of implementing any implementation method of the first aspect described above. The function may be implemented by hardware or by hardware executing corresponding software implementations. The hardware or software includes one or more modules corresponding to the above functions.
[0024] In a third aspect, an embodiment of the present application provides a communication device comprising a processor and a memory; the memory is used to store computer instructions, and when the device is running, the processor executes the computer instructions stored in the memory so that the device executes any implementation method in the above-mentioned first aspect.
[0025] In a fourth aspect, an embodiment of the present application provides a communication device, comprising a unit or means for executing each step of any implementation method in the above-mentioned first aspect.
[0026] In a fifth aspect, an embodiment of the present application provides a communication device, comprising a processor and an interface circuit, wherein the processor is configured to communicate with other devices via the interface circuit and execute any implementation method of the first aspect. The processor comprises one or more.
[0027] In a sixth aspect, an embodiment of the present application provides a communication device, comprising a processor coupled to a memory, the processor configured to invoke a program stored in the memory to execute any of the implementation methods described in the first aspect. The memory may be located within or outside the device, and the processor may be one or more.
[0028] In a seventh aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when run on a communication device, enables any implementation method in the above-mentioned first aspect to be executed.
[0029] In an eighth aspect, an embodiment of the present application further provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run by a communication device, any implementation method in the above-mentioned first aspect is executed.
[0030] In the ninth aspect, an embodiment of the present application further provides a chip system, comprising: a processor for executing any implementation method in the above-mentioned first aspect.
[0031] In a tenth aspect, an embodiment of the present application further provides a communication system, comprising: a second device for executing any implementation method in the above-mentioned first aspect, and a first device for sending a first cyclic sequence to the second device. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] FIG1( a ) shows a possible, non-limiting system schematic;
[0033] FIG1( b ) shows a schematic diagram of an access network device;
[0034] FIG1( c ) is a schematic diagram of a communication system provided in an embodiment of the present application;
[0035] FIG2 is a schematic diagram of a transmission rate negotiation method provided in an embodiment of the present application;
[0036] FIG3 is a schematic diagram of using level signals to represent information according to an embodiment of the present application;
[0037] FIG4 is a schematic diagram of transmission of a cyclic sequence provided in an embodiment of the present application;
[0038] FIG5 is a schematic diagram of a communication device provided in an embodiment of the present application;
[0039] FIG6 is a schematic diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] [Corrected 17.03.2023 in accordance with Rule 91] Figure 1(a) shows a possible, non-limiting schematic diagram of a communication system. As shown in Figure 1(a), the communication system 1000 includes a radio access network (RAN) 100 and a core network (CN) 200. Optionally, the communication system also includes the Internet 300. The RAN 100 includes at least one RAN node (such as 110a and 110b in Figure 1(a), collectively referred to as 110) and at least one terminal (such as 120a-120j in Figure 1(a), collectively referred to as 120). The RAN 100 may also include other RAN nodes, such as wireless relay equipment and / or wireless backhaul equipment (not shown in Figure 1(a)). The terminal 120 is connected to the RAN node 110 via a wireless connection. The RAN node 110 is connected to the core network 200 via a wireless or wired connection. The core network device in the core network 200 and the RAN node 110 in the RAN 100 may be different physical devices, or may be the same physical device that integrates core network logical functions and radio access network logical functions.
[0041] The RAN 100 may be a cellular system related to the Third Generation Partnership Project (3GPP), such as a fourth-generation (4G) or fifth-generation (5G) mobile communication system, or a future-oriented evolutionary system (such as a sixth-generation (6G) mobile communication system). The RAN 100 may also be an open access network (O-RAN or ORAN) or a wireless fidelity (WiFi) system. The RAN 100 may also be a communication system that integrates two or more of the above systems.
[0042] RAN node 110, sometimes also referred to as access network equipment, RAN entity, or access node, constitutes part of the communication system and facilitates wireless access for terminals. Multiple RAN nodes 110 in communication system 1000 can be of the same type or different types. In some scenarios, the roles of RAN node 110 and terminal 120 are relative. For example, network element 120i in Figure 1(a) can be a helicopter or drone, which can be configured as a mobile base station. For terminal 120j accessing RAN 100 via network element 120i, network element 120i is a base station; however, for base station 110a, network element 120i is a terminal. RAN node 110 and terminal 120 are sometimes referred to as communication devices. For example, network elements 110a and 110b in Figure 1(a) can be understood as communication devices with base station functionality, and network elements 120a-120j can be understood as communication devices with terminal functionality.
[0043] In one possible scenario, a RAN node can be a base station, an evolved NodeB (eNodeB), a transmission reception point (TRP), a next-generation NodeB (gNB), a next-generation base station in a 6G mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system. A RAN node can be a macro base station (such as 110a in Figure 1(a)), a micro base station or an indoor station (such as 110b in Figure 1(a)), a relay node or a donor node, or a wireless controller in a cloud radio access network (CRAN) scenario. Optionally, a RAN node can also be a server, a wearable device, a vehicle, or an onboard device. For example, the access network device in vehicle-to-everything (V2X) technology can be a roadside unit (RSU).
[0044] In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, and different RAN nodes implement part of the functions of the base station respectively. For example, the RAN node can be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). The CU and DU can be set separately, or they can be included in the same network element, such as a baseband unit (BBU). The RU can be included in a radio frequency device or radio frequency unit, such as a remote radio unit (RRU) or an active antenna unit (AAU).
[0045] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be called O-CU (Open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. For the convenience of description, this application uses CU, CU-CP, CU-UP, DU and RU as examples for description. Any unit of CU (or CU-CP, CU-UP), DU and RU in this application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.
[0046] Figure 1(b) shows a schematic diagram of an access network device. As shown in Figure 1(b), the access network device includes one or more CUs, one or more DUs, and one or more radio units (RUs). For clarity, Figure 1(b) shows only one CU, DU, and RU. The CU is used to connect to the core network and one or more DUs. Optionally, the CU may have some of the core network's functions. The CU may include a CU-CP and a CU-UP.
[0047] The CU and DU can be configured according to the protocol layer functions of the wireless network they implement: for example, the CU is configured to implement the functions of the packet data convergence protocol (PDCP) layer and the protocol layers above it (such as the radio resource control (RRC) layer and / or the service data adaptation protocol (SDAP) layer, etc.); the DU is configured to implement the functions of the protocol layers below the PDCP layer (such as the radio link control (RLC) layer, the medium access control (MAC) layer, and / or the physical (PHY) layer, etc.). For another example, the CU is configured to implement the functions of the protocol layers above the PDCP layer (such as the RRC layer and / or the SDAP layer), and the DU is configured to implement the functions of the PDCP layer and the protocol layers below it (such as the RLC layer, the MAC layer, and / or the PHY layer, etc.).
[0048] The above configuration of CU and DU is only an example, and the functions of CU and DU can also be configured as needed. For example, the CU or DU can be configured to have the functions of more protocol layers, or the CU or DU can be configured to have partial processing functions of the protocol layer. For example, some functions of the RLC layer and the functions of the protocol layers above the RLC layer are set in the CU, and the remaining functions of the RLC layer and the functions of the protocol layers below the RLC layer are set in the DU. For another example, the functions of the CU or DU can be divided according to the service type or other system requirements, such as by delay, and the functions whose processing time needs to meet the smaller delay requirement are set in the DU, and the functions that do not need to meet the delay requirement are set in the CU.
[0049] The DU and RU can work together to implement the functions of the PHY layer. A DU can be connected to one or more RUs. The functions of the DU and RU can be configured in various ways according to the design. For example, the DU is configured to implement the baseband function, and the RU is configured to implement the mid-RF function. For another example, the DU is configured to implement the high-layer functions in the PHY layer, and the RU is configured to implement the low-layer functions in the PHY layer or to implement the low-layer functions and the RF functions. The high-layer functions in the physical layer may include a part of the functions of the physical layer, which is closer to the MAC layer, and the low-layer functions in the physical layer may include another part of the functions of the physical layer, which is closer to the mid-RF side.
[0050] Figure 1(c) is a schematic diagram of a communication system provided in an embodiment of the present application. The communication system includes a first device and a second device. The embodiment of the present application does not limit the specific forms of the first device and the second device.
[0051] Exemplarily, the first device is any one of CU, DU, RU, RRU, BBU, AAU, and terminal, the second device is any one of CU, DU, RU, RRU, BBU, AAU, and terminal, and the first device and the second device are two different devices.
[0052] Exemplarily, when the first device and the second device communicate using optical fiber, the interface between the first device and the second device can be a common public radio interface (CPRI) interface, an enhanced common public radio interface (ECPRI) interface, or a fronthaul interface.
[0053] Exemplarily, when the first device and the second device adopt wireless communication, the interface between the first device and the second device can be a 4G air interface, a 5G air interface, or a 6G air interface, etc.
[0054] In current communications, in some application scenarios, two devices must negotiate a transmission rate before establishing a link. Only after successful transmission rate negotiation can a link be successfully established and communication can proceed normally. Current transmission rate negotiation methods generally involve the first and second devices periodically polling their respective supported transmission rates. If both devices match the same transmission rate, the transmission rate negotiation is successful, and a link can be successfully established. For example, the first device supports the transmission rates {5, 10, 15, 20}, and the second device supports the transmission rates {10, 15, 20}. For example, the first device switches its transmission rate every four seconds, in ascending order of transmission rate, and the second device switches its transmission rate every one second, in ascending order of transmission rate. At some point, if the first and second devices select the same transmission rate, a link can be successfully established. While this method can complete transmission rate negotiation, due to its high randomness, the negotiation speed is unstable, sometimes taking a long time to succeed, or even failing after a long time, resulting in low efficiency.
[0055] Figure 2 is a flow chart of a transmission rate negotiation method provided by an embodiment of the present application. The method is applicable to when the link between the first device and the second device is different, and the method is enabled to perform automatic transmission rate negotiation.
[0056] The method comprises the following steps:
[0057] Step 201: A first device sends a first cyclic sequence to a second device. Correspondingly, the second device receives the first cyclic sequence.
[0058] In this embodiment of the present application, the first cyclic sequence is a sequence consisting of a string of symbols, wherein any subsequence of M consecutive symbols in the sequence corresponds to the same transmission rate, i.e., the sequence has a time translation invariance (TTI) characteristic. The value of M is predefined or negotiated between the first device and the second device, and M is an integer greater than 1.
[0059] The first cyclic sequence may also be referred to as a TTI sequence or a TTI cell.
[0060] For example, this application uses cyclic classes and symbols to encode and decode information. Different cyclic classes contain different subsequences. A cyclic class includes one or more subsequences, and the cyclic class satisfies the following conditions:
[0061] Condition 1: A subsequence within a cyclic class can be obtained by translating other subsequences in the cyclic class.
[0062] Condition 2: Different subsequences between different cyclic classes cannot be obtained by translation.
[0063] That is, the subsequence obtained after any number of translations of a subsequence in a cyclic class still belongs to the cyclic class and will not belong to another cyclic class.
[0064] The following is an example. Taking 1 symbol representing 1 bit of information (i.e., 0 or 1) and M=4 as an example, the following 6 cyclic classes can be obtained:
[0065] class1{0000}
[0066] class2{0001, 0010, 0100, 1000}
[0067] class3{0011, 0110, 1100, 1001}
[0068] class4{0101,1010}
[0069] class5{0111,1110,1101}
[0070] class6{1111}
[0071] Taking class 2 as an example, it contains four subsequences: 0001, 0010, 0100, and 1000. Any of these four subsequences can be obtained by shifting the other subsequences. Taking left shift as an example, for example, shifting 0001 left by 1 bit yields 0010, shifting 0001 left by 2 bits yields 0100, and shifting 0001 left by 3 bits yields 1000. Alternatively, shifting 0010 left by 1 bit yields 0100, shifting 0010 left by 2 bits yields 1000, and shifting 0010 left by 3 bits yields 0001. Taking right shift as an example, for example, shifting 0001 right by 1 bit yields 1000, shifting 0001 right by 2 bits yields 0100, and shifting 0001 right by 3 bits yields 0010. Alternatively, shifting 0010 right by 1 bit yields 0001, shifting 0010 right by 2 bits yields 1000, and shifting 0010 right by 3 bits yields 0100. Therefore, any two subsequences in cyclic class 2 can be obtained from each other by shifting.
[0072] Different subsequences between different cyclic classes cannot be obtained by translation. Taking class2 and class3 as an example, the subsequences within class2 and the subsequences within class3 cannot be obtained by the above translation method.
[0073] Using the above method, when a first device transmits a first cyclic sequence to a second device, the second device can extract four consecutive symbols starting from any position in the first cyclic sequence and determine the first cyclic class corresponding to the first cyclic sequence based on these four symbols. The first cyclic class includes at least one first subsequence, which includes any consecutive M bits in the first cyclic sequence. If the first cyclic class is class 2, the at least one first subsequence included in the first cyclic class is 0001, 0010, 0100, and 1000. If the first cyclic class is class 3, the at least one first subsequence included in the first cyclic class is 0011, 0110, 1100, and 1001.
[0074] For example, if the first cyclic sequence is “…000100010001000100010001…”, then the four consecutive symbols randomly intercepted from the first cyclic sequence by the second device are 0001, 0010, 0100 or 1000. Regardless of which one is intercepted, 0001, 0010, 0100 or 1000, the first cyclic class corresponding to the first cyclic sequence can be determined as the above-mentioned class2 based on the four intercepted symbols.
[0075] For example, if the first cyclic sequence is “…001100110011001100110011…”, then the four consecutive symbols randomly intercepted from the cyclic sequence by the second device are 0011, 0110, 1100 or 1001. Regardless of which one is intercepted, 0011, 0110, 1100 or 1001, the first cyclic class corresponding to the first cyclic sequence can be determined as the above-mentioned class 3 based on the four intercepted symbols.
[0076] In step 202 , the second device determines a first transmission rate according to a first cyclic sequence. The first transmission rate is a maximum transmission rate, a minimum transmission rate, or another transmission rate among transmission rates supported by the first device.
[0077] The first device and the second device both know the predefined correspondence between the cycle class and the transmission rate. Table 1 is an example of the correspondence between the cycle class and the transmission rate.
[0078] The embodiment of the present application does not limit the unit of transmission rate, and Table 1 uses gigabit / second (GB / s) as an example.
[0079] Table 1
[0080] Cyclic class (M=4) Transmission rate (GB / s) class 15 class 210 class 315 class 420 class 525 class 630
[0081] It should be noted that, in actual applications, the above class 1 and class 6 may also be retained, that is, class 1 and class 6 are not used to indicate the transmission rate.
[0082] When the first device selects a first transmission rate of 10 among the transmission rates supported by the first device, the first device determines, based on Table 1, that the first cyclic sequence to be sent to the second device is a cyclic sequence corresponding to class 2, namely, "...001100110011001100110011...". After receiving the first cyclic sequence, the second device extracts four consecutive symbols starting from any position to obtain a subsequence, namely, 0011, 0110, 1100, or 1001. The second device determines that the subsequence belongs to class 2 and further determines, based on Table 1, that the first transmission rate indicated by the first cyclic sequence is 10.
[0083] The above-mentioned method of indicating the transmission rate through a cyclic sequence has the following advantages: the second device can accurately determine the transmission rate indicated by the cyclic sequence by intercepting M symbols starting from any position of the received cyclic sequence. Therefore, the first device does not need to use additional signaling to instruct the second device at which position in the cyclic sequence to start intercepting. There is also no need to ensure synchronization between the first device and the second device in advance, that is, there is no need for the first device to send a synchronization header or preamble code to the second device in advance. Therefore, this method has the advantages of high accuracy, high efficiency, and less signaling.
[0084] The above uses M = 4 as an example to illustrate the working principle of the cyclic sequence and cyclic class. In practical applications, there is no limitation on the value of M. For example, the value of M may depend on the total number of transmission rates supported by the first device and the second device. If the total number of supported transmission rates is large, M can be predefined to a larger value to facilitate the representation of more transmission rates.
[0085] For example, taking 1 symbol representing 1 bit of information (i.e., 0 or 1) and M=5 as an example, the following 8 cyclic classes can be obtained:
[0086] class1{00000}
[0087] class2{00001, 00010, 00100, 01000, 10000}
[0088] class3{00011, 00110, 01100, 11000, 10001}
[0089] class4{00101, 01010, 10100, 01001, 10010}
[0090] class5{00111, 01110, 11100, 11001, 10011}
[0091] class6{01011, 10110, 01101, 11010, 10101}
[0092] class7{01111, 11110, 11101, 11011, 10111}
[0093] class8{11111}
[0094] The specific expressions of the loop class when M is other values will not be given one by one.
[0095] The second device obtains any M bits in the first cyclic sequence, and then determines the first transmission rate according to the first cyclic class to which the subsequence composed of the M bits belongs.
[0096] In practical applications, the specific meaning of the first transmission rate may be pre-agreed between the first device and the second device. For example, the first device and the second device may pre-agreed that the first transmission rate is the maximum transmission rate among the transmission rates supported by the first device, or pre-agreed that the first transmission rate is the minimum transmission rate among the transmission rates supported by the first device, etc.
[0097] Step 203: The second device determines a transmission rate to be negotiated based on the first transmission rate and the transmission rates supported by the second device.
[0098] The transmission rate to be negotiated here may also be referred to as a candidate transmission rate or a transmission rate to be confirmed, and whether the transmission rate to be negotiated can be further confirmed.
[0099] The following describes two different implementation methods for determining the transmission rate to be negotiated.
[0100] Implementation method 1: The first transmission rate is the minimum transmission rate supported by the first device.
[0101] If the transmission rates supported by the second device include the first transmission rate, the second device determines the first transmission rate as the transmission rate to be negotiated. For example, the transmission rates supported by the first device are {5, 10, 15}, and the first transmission rate indicated by the first cyclic sequence sent by the first device to the second device is 5. Assuming that the transmission rates supported by the second device are {5, 10, 15, 20}, since 5 intersects with {5, 10, 15, 20}, the second device determines that transmission rate 5 among the transmission rates supported by the second device is the transmission rate to be negotiated.
[0102] If the transmission rates supported by the second device do not include the first transmission rate, the second device determines the minimum transmission rate among the transmission rates supported by the second device as the transmission rate to be negotiated. Assuming that the transmission rates supported by the second device are {10, 15, 20}, since 5 does not intersect with {10, 15, 20}, the second device determines 10, the minimum transmission rate among the transmission rates supported by the second device, as the transmission rate to be negotiated.
[0103] Implementation method 2: the first transmission rate is the maximum value of the transmission rates supported by the first device.
[0104] If the transmission rates supported by the second device include the first transmission rate, the second device determines the first transmission rate as the transmission rate to be negotiated. For example, the transmission rates supported by the first device are {5, 10, 15}, and the first transmission rate indicated by the first cyclic sequence sent by the first device to the second device is 15. Assuming that the transmission rates supported by the second device are {10, 15, 20}, since 15 intersects with {10, 15, 20}, the second device determines that transmission rate 15 among the transmission rates supported by the second device is the transmission rate to be negotiated.
[0105] If the transmission rates supported by the second device do not include the first transmission rate, the second device determines the maximum transmission rate among the transmission rates supported by the second device as the transmission rate to be negotiated. Assuming that the transmission rates supported by the second device are {5, 10}, since 15 does not intersect with {5, 10}, the second device determines 10, the maximum transmission rate among the transmission rates supported by the second device, as the transmission rate to be negotiated.
[0106] In step 204 , the second device attempts to establish a link with the first device according to the transmission rate to be negotiated.
[0107] Establishing a link refers to the process of completing both the physical layer and data link layer connections between a first device and a second device. Specifically, after the physical layer connection is established, the optical signals on both devices operate in the same wavelength band or the electrical signals operate at the same frequency, and the two devices are locked to the agreed-upon frequency. After the data link layer connection is established, the first and second devices can send messages to each other, correctly parse received messages, and provide the parsed content to upper-layer applications.
[0108] The above describes a method for the second device to attempt to establish a link with the first device. The first device also attempts to establish a link with the second device in a similar manner. Specifically, while executing steps 201 to 204 above, the second device also sends a second cyclic sequence to the first device. The second cyclic class corresponding to the second cyclic sequence is used to indicate a second transmission rate among the transmission rates supported by the second device. The second cyclic class includes at least one second subsequence, and the second subsequence includes any consecutive M bits in the second cyclic sequence. The value of M is the same as the number of bits M contained in the first subsequence in the aforementioned first cyclic sequence. Subsequently, the first device determines a transmission rate to be negotiated in a similar manner to that of the second device, and then attempts to establish a link with the second device based on the transmission rate to be negotiated.
[0109] It should be noted that the first device and the second device need to use the same rules to select the transmission rate for attempting to establish a link. Specifically, if the first transmission rate indicated by the first cyclic sequence sent by the first device to the second device is the minimum transmission rate among the transmission rates supported by the first device, then the second transmission rate indicated by the second cyclic sequence sent by the second device to the first device is the minimum transmission rate among the transmission rates supported by the second device, that is, the first device and the second device both provide the minimum transmission rate among the transmission rates supported by themselves to each other for rate negotiation. Similarly, if the first transmission rate indicated by the first cyclic sequence sent by the first device to the second device is the maximum transmission rate among the transmission rates supported by the first device, then the second transmission rate indicated by the second cyclic sequence sent by the second device to the first device is the maximum transmission rate among the transmission rates supported by the second device, that is, the first device and the second device both provide the maximum transmission rate among the transmission rates supported by themselves to each other for rate negotiation.
[0110] The process of establishing a link is described below with reference to a specific example. In the following example, the first device and the second device each provide the other with the maximum transmission rate among the transmission rates supported by the first device and the second device.
[0111] Example 1
[0112] The first device supports transmission rates of {5, 10, 15}, and the second device supports transmission rates of {10, 15, 20}. On one hand, the first cyclic sequence sent by the first device to the second device corresponds to a first cyclic class indicating a first transmission rate of 15, which is the maximum transmission rate supported by the first device. Since the transmission rates supported by the second device include the first transmission rate 15, the second device determines that the transmission rate to be negotiated is 15, and then attempts to establish a link with the first device based on the transmission rate 15. On the other hand, the second cyclic sequence sent by the second device to the first device corresponds to a second cyclic class indicating a second transmission rate of 20, which is the maximum transmission rate supported by the second device. Since the transmission rates supported by the first device do not include the second transmission rate 20, the first device determines that the transmission rate to be negotiated is 15, that is, the maximum transmission rate supported by the first device is determined as the transmission rate to be negotiated, and then attempts to establish a link with the second device based on the transmission rate 15. Since the first device and the second device use the same transmission rate to try to establish a link, generally, the link can be successfully established. However, in some special cases such as when the link is unstable, the link establishment may fail.
[0113] Example 2
[0114] The first device supports transmission rates of {5, 10, 15}, and the second device supports transmission rates of {5, 10}. On one hand, the first cyclic sequence sent by the first device to the second device corresponds to a first cyclic class indicating a first transmission rate of 15, which is the maximum transmission rate supported by the first device. Since the transmission rates supported by the second device do not include the first transmission rate 15, the second device determines the transmission rate to be negotiated to be 10, that is, determines the maximum transmission rate supported by the second device as the transmission rate to be negotiated. The second device then attempts to establish a link with the first device based on transmission rate 10. On the other hand, the second cyclic sequence sent by the second device to the first device corresponds to a second cyclic class indicating a second transmission rate of 10, which is the maximum transmission rate supported by the second device. Since the transmission rates supported by the first device include the second transmission rate 10, the first device determines the transmission rate to be negotiated to be 10, and then attempts to establish a link with the second device based on transmission rate 10. Since the first device and the second device use the same transmission rate to try to establish a link, generally, the link can be successfully established. However, in some special cases such as when the link is unstable, the link establishment may fail.
[0115] Example 3
[0116] The first device supports transmission rates of {5, 10, 15}, and the second device supports transmission rates of {5, 10, 20}. On one hand, the first cyclic sequence sent by the first device to the second device corresponds to a first cyclic class indicating a first transmission rate of 15, which is the maximum transmission rate supported by the first device. Since the transmission rates supported by the second device do not include the first transmission rate 15, the second device determines the transmission rate to be negotiated to be 20, i.e., determines the maximum transmission rate supported by the second device as the transmission rate to be negotiated. The second device then attempts to establish a link with the first device based on transmission rate 20. On the other hand, the second cyclic sequence sent by the second device to the first device corresponds to a second cyclic class indicating a second transmission rate of 20, which is the maximum transmission rate supported by the second device. Since the transmission rates supported by the first device do not include the second transmission rate 20, the first device determines the transmission rate to be negotiated to be 15, i.e., determines the maximum transmission rate supported by the first device as the transmission rate to be negotiated. The first device then attempts to establish a link with the second device based on transmission rate 15. Since the first device and the second device attempt to establish a link using different transmission rates, the link establishment fails.
[0117] In one implementation method, when the second device successfully establishes a link with the first device based on the transmission rate to be negotiated, the second device determines the transmission rate to be negotiated to be the transmission rate between the second device and the first device. Similarly, the first device also determines the transmission rate to be negotiated to be the transmission rate between the second device and the first device. For example, with respect to Example 1 above, if the link between the first device and the second device is successfully established, the first device and the second device both determine the transmission rate between the first device and the second device to be 15. For another example, with respect to Example 2 above, if the link between the first device and the second device is successfully established, the first device and the second device both determine the transmission rate between the first device and the second device to be 10.
[0118] In another implementation method, when the second device fails to establish a link with the first device based on the transmission rate to be negotiated, the second device deletes the transmission rate to be negotiated determined by the second device from the transmission rates supported by the second device, and the first device deletes the transmission rate to be negotiated determined by the first device from the transmission rates supported by the first device. For example, with respect to Example 3 above, the first device deletes transmission rate 15 from the transmission rates supported by the first device, resulting in an updated transmission rate supported by the first device of {5, 10}, and the second device deletes transmission rate 20 from the transmission rates supported by the second device, resulting in an updated transmission rate supported by the second device of {5, 10}. The first device then uses the updated transmission rate supported by the first device, and the second device uses the updated transmission rate supported by the second device. The two devices then re-negotiate the transmission rates according to the above method, and can negotiate that transmission rate 10 is the transmission rate between the first and second devices.
[0119] In another implementation method, when the second device fails to establish a link with the first device according to the transmission rate to be negotiated determined by the second device, the second device retries to establish a link with the first device according to the transmission rate to be negotiated determined by the second device after a set time period. Similarly, when the first device fails to establish a link with the second device according to the transmission rate to be negotiated determined by the first device, the first device retries to establish a link with the second device according to the transmission rate to be negotiated determined by the first device after a set time period. For example, for any of the above examples 1 to 3, if the second device fails to establish a link with the first device, the second device attempts to establish a link again according to the determined negotiated transmission rate after a set time period. If the link still fails to be established after the set number of attempts, it is determined that the transmission rate is unavailable, and a transmission rate to be negotiated can be reselected according to the above scheme to try to establish a link with the first device. For the first device, a similar method is also used. This method can improve the success rate of link establishment. For example, for the above examples 1 and 2, the transmission rate to be negotiated determined by the first device is the same as the transmission rate to be negotiated determined by the second device. Under normal circumstances, the two can successfully establish a link, but due to some special reasons, such as link instability or external interference, the two may not be able to successfully establish a link. At this time, if the negotiation of the transmission rate is directly abandoned, the two will miss the transmission rate, which will cause the two to spend more time to successfully establish a link, or will cause the two to be unable to select a maximum common transmission rate to establish a link. If the first device and the second device still use the determined transmission rate to be negotiated to try to establish a link after the link establishment fails according to the above method, the first device and the second device will have a greater chance of successfully establishing a link at the transmission rate to be negotiated.
[0120] In the above solution, the first device indicates the first transmission rate it supports via a cyclic sequence, enabling the second device to accurately determine the first transmission rate, thereby improving the accuracy of transmission rate negotiation. Furthermore, after receiving the first cyclic sequence, the second device does not need to send a response to the first device, but instead performs subsequent operations such as determining the first transmission rate based on the first cyclic sequence. This reduces the interaction between the two parties and thus speeds up transmission rate negotiation.
[0121] In one implementation method, in step 201 above, the first device sends a first cyclic sequence to the second device. Specifically, the first device sends a level signal to the second device that indicates the first cyclic sequence, wherein the first type of level signal that lasts for a first duration and the second type of level signal that lasts for a second duration in the level signal are used to indicate first information, and the first information is a single bit in the first cyclic sequence. In other words, the first information may include the first type of level signal that lasts for a first duration and the second type of level signal that lasts for a second duration. The first type of level signal that lasts for a third duration and the second type of level signal that lasts for a fourth duration in the level signal are used to indicate second information. Similarly, the second information may include the first type of level signal that lasts for a third duration and the second type of level signal that lasts for a fourth duration, and the second information is a single bit in the first cyclic sequence. The first information is different from the second information.
[0122] The first level signal is a high level signal, and the second level signal is a low level signal or a no level signal. Alternatively, the first level signal is a low level signal or a no level signal, and the second level signal is a high level signal.
[0123] In one implementation method, the above-mentioned "level signals" can be replaced by "optical signals" or other types of signals, which are not limited in this application. That is, the first information or the second information is represented by optical signals of different durations.
[0124] Exemplarily, the first information is 0 and the second information is 1. Alternatively, the first information is 1 and the second information is 0.
[0125] The second duration and the fourth duration may be the same or different. In the case where the second duration and the fourth duration are the same, the first duration and the third duration are different.
[0126] In the embodiments of the present application, the sizes of the first, second, third, and fourth durations are not limited. In one implementation method, the size of a time slice (TS) can be predefined, for example, a TS is 5 microseconds (μs), and then the first duration is defined as a1*TS, the second duration is defined as a2*TS, the third duration is defined as a3*TS, and the fourth duration is defined as a4*TS.
[0127] Optionally, a1, a2, a3, and a4 are all prime numbers. For example, a1 = a2 = a4 = 31, and a3 = 97. Since prime numbers cannot be divided evenly, for example, 97 / 31 = 3.129…, the recognition between different signals is improved. A Class I level signal lasting 97 μs will not be recognized as three Class I level signals lasting 31 μs. Therefore, this method can reduce noise interference and improve information recognition accuracy.
[0128] In one implementation method, in actual application, if a first-class level signal is detected within a first time range, it means that a first-class level signal lasting a first duration has been detected, and the first time range includes the first duration. If a second-class level signal is detected within a second time range, it means that a second-class level signal lasting a second duration has been detected, and the second time range includes the second duration. If a first-class level signal is detected within a third time range, it means that a first-class level signal lasting a third duration has been detected, and the third time range includes the third duration. If a second-class level signal is detected within a fourth time range, it means that a second-class level signal lasting a fourth duration has been detected, and the fourth time range includes the fourth duration. Taking the above example, the first duration = a1*TS, the second duration = a2*TS, the third duration = a3*TS, and the fourth duration = a4*TS. Assuming a1=a2=a4=31 and a3=97, the first, second, and fourth time ranges are the same, all 15 to 63 μs, and the third time range is 64 to 97 μs. Among them, 64 = (31 + 97) / 2, 15 = (0 + 31) / 2. Therefore, if a first-level signal lasting 15 to 63 μs and a second-level signal lasting 15 to 63 μs are detected, it means that the first information has been detected. If a first-level signal lasting 64 to 97 μs and a second-level signal lasting 15 to 63 μs are detected, it means that the second information has been detected. Based on this method, the receiving end has a very high tolerance for the length of time of the recognition signal, that is, the clock of the receiving end can differ greatly from that of the sending end. Therefore, the receiving end has basically no requirements for the sending end's clock, which can reduce the receiving end's dependence on the sending end's clock, and help to improve the fast and accurate negotiation of transmission rate.
[0129] The above level signal is described below with reference to an example.
[0130] Fig. 3 is a schematic diagram of information represented by level signals provided in an embodiment of the present application. In this example, the first type of level signal is a high level signal, and the second type of level signal is a levelless signal. As shown in (a) and (c) of Fig. 3, the first type of level signal can last for a certain duration, such as lasting for the first duration or the third duration. As shown in (b) of Fig. 3, the high level signal that lasts for the first duration and the low level signal that lasts for the second duration are used to indicate bit information 0. As shown in (d) of Fig. 3, the high level signal that lasts for the third duration and the low level signal that lasts for the fourth duration are used to indicate bit information 1.
[0131] Figure 4 is a transmission diagram of a cyclic sequence provided in an embodiment of the present application. This example takes M=4 as an example and gives the sending method of the cyclic sequence corresponding to each cyclic class. Taking cyclic class 1 as an example, since the subsequence in cyclic class 1 is 0000, 0000 can be sent cyclically in the manner shown in Figure 4, which means that the cyclic sequence corresponding to cyclic class 1 is sent. Taking cyclic class 2 as an example, since the subsequence in cyclic class 2 is 0001, 0010, 0100 and 1000, 0001 can be sent cyclically in the manner shown in Figure 4, which means that the cyclic sequence corresponding to cyclic class 2 is sent. For the sending methods of cyclic classes 3 to 6, please refer to Figure 4 for description and will not be repeated here. In the example of Figure 4, both 0 and 1 are represented by the method shown in Figure 3. That is, a high-level signal lasting the first duration and a low-level signal lasting the second duration are used to represent 0, and a high-level signal lasting the third duration and a low-level signal lasting the fourth duration are used to represent 1. This method uses different types of level signals to indicate the cyclic sequence, which can accurately express the transmission rate corresponding to the cyclic sequence and help improve the speed and success rate of transmission rate negotiation.
[0132] The above describes an implementation method for using different types of level signals to express different information. In actual applications, other methods can also be used to express different information. For example, the on and off of the laser light emitted by a laser can be used to represent the bit information 0 and 1, or the high and low amplitudes of the laser light emitted by the laser can represent the bit information 0 and 1. This method, which uses the on and off or amplitude of the laser light to represent bit information, is relatively simple to implement and has high accuracy, helping to improve the speed and success rate of transmission rate negotiation.
[0133] It is understandable that in order to implement the functions in the above embodiments, the first device or the second device includes hardware structures and / or software modules corresponding to the execution of each function. It should be readily apparent to those skilled in the art that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0134] Figures 5 and 6 are schematic diagrams of the structures of possible communication devices provided in embodiments of the present application. These communication devices can be used to implement the functions of the first device or the second device in the above-mentioned method embodiments, thereby also achieving the beneficial effects of the above-mentioned method embodiments. In the embodiments of the present application, the communication device can be the first device or the second device shown in Figure 1.
[0135] The communication device 500 shown in Figure 5 includes a processing unit 510 and a transceiver unit 520. The communication device 500 is used to implement the functions of the first device or the second device in the above method embodiment.
[0136] When the communication device 500 is used to implement the function of the second device in the above method embodiment, the transceiver unit 520 is used to receive a first cyclic sequence from the first device, where the first cyclic class corresponding to the first cyclic sequence is used to indicate a first transmission rate among the transmission rates supported by the first device, and the first cyclic class includes at least one first subsequence, and the first subsequence includes any consecutive M bits in the first cyclic sequence, where M is an integer greater than 1; the processing unit 510 is used to determine the first transmission rate based on the first cyclic sequence; determine the transmission rate to be negotiated based on the first transmission rate and the transmission rate supported by the second device; and attempt to establish a link with the first device based on the transmission rate to be negotiated.
[0137] In a possible implementation method, the processing unit 510 is specifically configured to obtain any M bits in the first cyclic sequence; and determine the first transmission rate according to the first cyclic class to which the M bits belong.
[0138] In one possible implementation method, the first transmission rate is the maximum transmission rate among the transmission rates supported by the first device; the processing unit 510 is specifically used to determine that the first transmission rate is the transmission rate to be negotiated when the transmission rates supported by the second device include the first transmission rate; and to determine that the maximum transmission rate among the transmission rates supported by the second device is the transmission rate to be negotiated when the transmission rates supported by the second device do not include the first transmission rate.
[0139] In one possible implementation method, the transceiver unit 520 is specifically used to receive a level signal from the first device, where the level signal is used to indicate the first cyclic sequence; wherein the first type of level signal lasting a first duration and the second type of level signal lasting a second duration in the level signal are used to indicate first information, and the first type of level signal lasting a third duration and the second type of level signal lasting a fourth duration in the level signal are used to indicate second information; the first information is different from the second information, and the first duration is different from the third duration.
[0140] In a possible implementation method, the processing unit 510 is specifically configured to, when a link is successfully established with the first device according to the transmission rate to be negotiated, determine that the transmission rate to be negotiated is the transmission rate between the second device and the first device.
[0141] In a possible implementation method, the processing unit 510 is further configured to delete the transmission rate to be negotiated from the transmission rates supported by the second device when establishing a link with the first device according to the transmission rate to be negotiated fails.
[0142] In one possible implementation method, the processing unit 510 is specifically configured to, when a link establishment with the first device fails according to the transmission rate to be negotiated, retry to establish a link with the first device according to the transmission rate to be negotiated after a set time period.
[0143] In one possible implementation method, the transceiver unit 520 is also used to send a second cyclic sequence to the first device, where the second cyclic class corresponding to the second cyclic sequence is used to indicate a second transmission rate among the transmission rates supported by the second device, and the second cyclic class includes at least one second subsequence, and the second subsequence includes any consecutive M bits in the second cyclic sequence.
[0144] In a possible implementation method, the second transmission rate is a maximum transmission rate among transmission rates supported by the second device.
[0145] In a possible implementation method, the first device is a BBU, an AAU, or an RRU, and the second device is a BBU, an AAU, or an RRU.
[0146] For a more detailed description of the processing unit 510 and the transceiver unit 520, reference can be made to the relevant description in the above method embodiment, which will not be repeated here.
[0147] The communication device 600 shown in Figure 6 includes a processor 610 and an interface circuit 620. The processor 610 and the interface circuit 620 are coupled to each other. It is understood that the interface circuit 620 can be a transceiver or an input / output interface. Optionally, the communication device 600 may also include a memory 630 for storing instructions executed by the processor 610, or storing input data required by the processor 610 to execute instructions, or storing data generated after the processor 610 executes instructions.
[0148] When the communication device 600 is used to implement the above method embodiment, the processor 610 is used to implement the functions of the above processing unit 510 , and the interface circuit 620 is used to implement the functions of the above transceiver unit 520 .
[0149] It is understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.
[0150] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, a register, a hard disk, a mobile hard disk, a compact disc read-only memory (CD-ROM) or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in the first device or the second device. Of course, the processor and the storage medium can also be present in the first device or the second device as discrete components.
[0151] In the above embodiments, they can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, they can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. A computer program (English: Computer Program) refers to a set of instructions that instruct an electronic computer or other device with message processing capabilities to perform each step of the action, usually written in a certain programming language and running on a certain target architecture. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, an access network device, a terminal or other programmable device. The computer program or instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired or wireless means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a digital video disk; or a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0152] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0153] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In the text description of this application, the character " / " generally indicates that the previous and next related objects are in an "or" relationship; in the formulas of this application, the character " / " indicates that the previous and next related objects are in a "division" relationship.
[0154] It is understood that the various numbers used in the embodiments of this application are merely for ease of description and are not intended to limit the scope of the embodiments of this application. The order of the sequence numbers of the above-mentioned processes does not necessarily imply a specific order of execution; the order of execution of the processes should be determined by their functions and inherent logic.
Claims
1. A transmission rate negotiation method, characterized in that: include: receiving a first cyclic sequence from a first apparatus, where a first cyclic class corresponding to the first cyclic sequence is used to indicate a first transmission rate among transmission rates supported by the first apparatus, the first cyclic class including at least one first subsequence, the first subsequence including any consecutive M bits in the first cyclic sequence, where M is an integer greater than 1; determining the first transmission rate according to the first cyclic sequence; determining a transmission rate to be negotiated based on the first transmission rate and a transmission rate supported by the second device; Attempt to establish a link with the first device according to the transmission rate to be negotiated.
2. The method according to claim 1, wherein The determining the first transmission rate according to the first cyclic sequence includes: Obtaining any M bits in the first cyclic sequence; The first transmission rate is determined according to the first cyclic class to which the M bits belong.
3. The method according to claim 1 or 2, wherein: The first transmission rate is a maximum transmission rate among transmission rates supported by the first device; The determining, according to the first transmission rate and the transmission rate supported by the second device, a transmission rate to be negotiated includes: In a case where the transmission rates supported by the second device include the first transmission rate, determining the first transmission rate as the transmission rate to be negotiated; or, In a case where the transmission rates supported by the second device do not include the first transmission rate, a maximum transmission rate among the transmission rates supported by the second device is determined as the transmission rate to be negotiated.
4. The method according to any one of claims 1 to 3, characterized in that The receiving a first cyclic sequence from a first device comprises: receiving a level signal from the first device, wherein the level signal is used to indicate the first cyclic sequence; Among them, the first type of level signal that lasts for the first duration and the second type of level signal that lasts for the second duration in the level signal are used to indicate the first information, and the first type of level signal that lasts for the third duration and the second type of level signal that lasts for the fourth duration in the level signal are used to indicate the second information; the first information is different from the second information, and the first duration is different from the third duration.
5. The method according to any one of claims 1 to 4, characterized in that Attempting to establish a link with the first device according to the transmission rate to be negotiated includes: When the second device successfully establishes a link with the first device according to the transmission rate to be negotiated, the transmission rate to be negotiated is determined to be the transmission rate between the second device and the first device.
6. The method according to any one of claims 1 to 4, characterized in that The method further comprises: When the second device fails to establish a link with the first device according to the transmission rate to be negotiated, the transmission rate to be negotiated is deleted from the transmission rates supported by the second device.
7. The method according to any one of claims 1 to 4, characterized in that Attempting to establish a link with the first device according to the transmission rate to be negotiated includes: When the second device fails to establish a link with the first device according to the transmission rate to be negotiated, the second device retry to establish a link with the first device according to the transmission rate to be negotiated after a set time period.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: A second cyclic sequence is sent to the first device, where the second cyclic class corresponding to the second cyclic sequence is used to indicate a second transmission rate among the transmission rates supported by the second device, the second cyclic class includes at least one second subsequence, and the second subsequence includes any consecutive M bits in the second cyclic sequence.
9. The method according to claim 8, wherein The second transmission rate is a maximum transmission rate among transmission rates supported by the second device.
10. The method according to any one of claims 1 to 9, characterized in that The first device is a baseband unit BBU, an adaptive antenna unit AAU or a remote radio unit RRU, and the second device is a BBU, an AAU or an RRU.
11. A communication device, characterized in that: include: a transceiver unit, configured to receive a first cyclic sequence from a first apparatus, where a first cyclic class corresponding to the first cyclic sequence indicates a first transmission rate among transmission rates supported by the first apparatus, the first cyclic class including at least one first subsequence, the first subsequence including any consecutive M bits in the first cyclic sequence, where M is an integer greater than 1; a processing unit, configured to determine the first transmission rate according to the first cyclic sequence; determining a transmission rate to be negotiated based on the first transmission rate and a transmission rate supported by the second device; Attempt to establish a link with the first device according to the transmission rate to be negotiated.
12. The device according to claim 11, wherein The processing unit is specifically configured to obtain any M bits in the first cyclic sequence; and determine the first transmission rate according to the first cyclic class to which the M bits belong.
13. The device according to claim 11 or 12, characterized in that The first transmission rate is a maximum transmission rate among transmission rates supported by the first device; The processing unit is specifically used to determine that the first transmission rate is the transmission rate to be negotiated when the transmission rate supported by the second device includes the first transmission rate; and to determine that the maximum transmission rate among the transmission rates supported by the second device is the transmission rate to be negotiated when the transmission rate supported by the second device does not include the first transmission rate.
14. The device according to any one of claims 11 to 13, characterized in that The transceiver unit is specifically used to receive a level signal from the first device, wherein the level signal is used to indicate the first cyclic sequence; wherein the first type of level signal lasting a first duration and the second type of level signal lasting a second duration in the level signal are used to indicate first information, and the first type of level signal lasting a third duration and the second type of level signal lasting a fourth duration in the level signal are used to indicate second information; the first information is different from the second information, and the first duration is different from the third duration.
15. The device according to any one of claims 11 to 14, characterized in that The processing unit is specifically configured to, when a link is successfully established with the first device according to the transmission rate to be negotiated, determine that the transmission rate to be negotiated is the transmission rate between the second device and the first device.
16. The device according to any one of claims 11 to 14, characterized in that The processing unit is further configured to, when a link establishment with the first device fails according to the transmission rate to be negotiated, delete the transmission rate to be negotiated from the transmission rates supported by the second device.
17. The device according to any one of claims 11 to 14, characterized in that The processing unit is specifically configured to, when a link establishment with the first device fails according to the transmission rate to be negotiated, retry to establish a link with the first device according to the transmission rate to be negotiated after a set time period.
18. The device according to any one of claims 11 to 17, characterized in that The transceiver unit is further used to send a second cyclic sequence to the first device, where the second cyclic class corresponding to the second cyclic sequence is used to indicate a second transmission rate among the transmission rates supported by the second device, the second cyclic class includes at least one second subsequence, and the second subsequence includes any consecutive M bits in the second cyclic sequence.
19. The device according to claim 18, wherein The second transmission rate is a maximum transmission rate among transmission rates supported by the second device.
20. The device according to any one of claims 11 to 19, characterized in that The first device is a baseband unit BBU, an adaptive antenna unit AAU or a remote radio unit RRU, and the second device is a BBU, an AAU or an RRU.
21. A communication device, characterized in that: Comprising means for performing the method according to any one of claims 1 to 10.
22. A communication device, characterized in that: The invention comprises a processor coupled to a memory, wherein the processor is configured to call a program stored in the memory to execute the method according to any one of claims 1 to 10.
23. A communication device, characterized in that: The communication device comprises a processor and a memory; the memory is used to store computer instructions, and when the communication device is running, the processor executes the computer instructions stored in the memory to perform the method according to any one of claims 1 to 10.
24. A communication device, characterized in that: The device comprises a processor and an interface circuit, wherein the processor is configured to communicate with other devices via the interface circuit and execute the method according to any one of claims 1 to 10.
25. A computer program product, characterized in that The computer program product comprises a computer program or instructions, which, when executed on a processor, causes the processor to perform the method according to any one of claims 1 to 10 .
26. A computer-readable storage medium, characterized in that The storage medium stores a computer program or instruction, and when the computer program or instruction is executed by the communication device, the method according to any one of claims 1 to 10 is implemented.
27. A communication system, characterized in that: The method comprises a second device for executing the method according to any one of claims 1 to 10, and a first device for sending a first cyclic sequence to the second device.