(19)
(11)EP 3 687 075 A1

(12)EUROPEAN PATENT APPLICATION
published in accordance with Art. 153(4) EPC

(43)Date of publication:
29.07.2020 Bulletin 2020/31

(21)Application number: 18874525.1

(22)Date of filing:  30.05.2018
(51)International Patent Classification (IPC): 
H04B 3/32(2006.01)
(86)International application number:
PCT/CN2018/089095
(87)International publication number:
WO 2019/085455 (09.05.2019 Gazette  2019/19)
(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR
Designated Extension States:
BA ME
Designated Validation States:
KH MA MD TN

(30)Priority: 30.10.2017 CN 201711041077

(71)Applicant: Huawei Technologies Co., Ltd.
Longgang District Shenzhen, Guangdong 518129 (CN)

(72)Inventor:
  • TU, Jianping
    Shenzhen Guangdong 518129 (CN)

(74)Representative: MERH-IP Matias Erny Reichl Hoffmann Patentanwälte PartG mbB 
Paul-Heyse-Strasse 29
80336 München
80336 München (DE)


(56)References cited: : 
  
      


    (54)A METHOD, DEVICE, AND SYSTEM FOR CANCELING CROSSTALK SIGNAL


    (57) This application discloses a crosstalk signal cancellation method and apparatus, and a system, and pertains to the communications field. The method is applied to a twisted-pair communications system, the twisted-pair communications system includes a first line and at least one second line, the first line connects a first network node and a first user node, and the at least one second line connects at least one second network node and at least one second user node. The first user node is connected to at least first CPE and second CPE. When the first CPE communicates with the first network node, a first crosstalk coefficient between the first line and the at least one second line is obtained based on an error signal fed back by the first CPE; and when the second CPE communicates with the first network node, a signal to be sent to the second CPE is precoded based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor. This application can reduce consumption of storage space.




    Description


    [0001] This application claims priority to Chinese Patent Application No. 201711041077.3, filed with the China National Intellectual Property Administration on October 30, 2017, and entitled "CROSSTALK SIGNAL CANCELLATION METHOD AND APPARATUS, AND SYSTEM", which is incorporated herein by reference in its entirety.

    TECHNICAL FIELD



    [0002] This application relates to the communications field, and in particular, to a crosstalk signal cancellation method and apparatus, and a system.

    BACKGROUND



    [0003] Digital subscriber line (Digital Subscriber Line, xDSL) is a high-speed data transmission technology. In this technology, a distribution point unit (Distribution Point Unit, DPU) may be disposed, and the DPU may be connected to a core network by using a cable such as an optical fiber. The DPU may correspond to a plurality of families. For each family, a twisted pair may be drawn from the DPU into the family, and a terminal in the family may be connected to the twisted pair to access the internet. Usually, the DPU may be disposed in a basement of a residential building, and a twisted pair drawn into each family in the residential building may be connected to the DPU. Twisted pairs drawn from the DPU are first bound together. A twisted pair for each family on each floor is separated from the bundle of twisted pairs and drawn into the family. For example, it is assumed that there are four families A, B, C, and D in a residential building, A and B are on the first floor, and C and D are on the second floor. Twisted pairs 1, 2, 3, and 4 drawn from a DPU into A, B, C, and D respectively are first bound together, the twisted pairs 1 and 2 are separated from the bundle of twisted pairs and drawn into the families A and B on the first floor respectively, and the twisted pairs 3 and 4 are separated and drawn into the families C and D respectively.

    [0004] According to an electromagnetic induction principle, a signal in any twisted pair in the bundle of twisted pairs is affected by electromagnetic interference generated by signals in the other twisted pairs. For example, a signal 1 transmitted in the twisted pair 1 is affected by electromagnetic interference generated by a signal 2 in the twisted pair 2, a signal 3 in the twisted pair 3, and a signal 4 in the twisted pair 4. As a result, the signal 1 includes a crosstalk signal, and a crosstalk phenomenon occurs. To avoid a crosstalk phenomenon, a crosstalk signal in a signal needs to be canceled. The following uses the four families A, B, C, and D as an example to describe in detail a procedure of canceling a crosstalk signal in a signal.

    [0005] The DPU determines a device A1 in the family A, a device B1 in the family B, a device C1 in the family C, and a device D1 in the family D that each currently need to transmit a signal. For the signal 1 of A1, the signal 1 may be a signal sent to A1 or a signal sent by A1. A preset coefficient matrix corresponding to A1 is obtained, and the preset coefficient matrix includes an interference coefficient of A1 to A1, an interference coefficient of B1 to A1, an interference coefficient of C1 to A1, and an interference coefficient of D1 to A1. A crosstalk cancellation signal is generated based on the signal 1 of A1, the signal 2 of B1, the signal 3 of C1, the signal 4 of D1, and the preset coefficient matrix corresponding to A1. If the signal 1 is a signal sent to A1, the crosstalk cancellation signal and the signal 1 are sent together to the twisted pair 1, so that a crosstalk signal generated on the twisted pair 1 is canceled by using the crosstalk cancellation signal. If the signal 1 is a signal sent by A1, a crosstalk signal in the signal 1 is canceled by using the crosstalk cancellation signal. For the signal 2 of B1, the signal 3 of C1, and the signal 4 of D1, a cancellation process is the same as the foregoing process, and details are not described herein again.

    [0006] In a process of implementing this application, the prior art has the following disadvantage:
    Currently, there are usually a plurality of devices in one family, and the plurality of devices may be connected to a twisted pair of the family by using a multi-channel connector. Therefore, a corresponding preset coefficient matrix needs to be set for each device in each family, the DPU needs a large amount of storage space to store preset coefficient matrices corresponding to the devices, and the large amount of storage space is consumed.

    SUMMARY



    [0007] To reduce consumption of storage space, embodiments of this application provide a crosstalk signal cancellation method and apparatus, and a system. The technical solutions are as follows:
    According to a first aspect, an embodiment of this application provides a crosstalk signal cancellation method. The method is applied to a twisted-pair communications system, the twisted-pair communications system includes a first line and at least one second line, the first line connects a first network node and a first user node, and the at least one second line connects at least one second network node and at least one second user node; crosstalk exists between the first line and the at least one second line; the first user node is connected to at least first customer-premises equipment CPE and second CPE; and the first CPE and the second CPE communicate with the first network node in a time division multiplexing manner. When the first network node communicates with the first CPE, a first crosstalk coefficient between between the first line and the at least one second line is obtained based on an error signal fed back by the first CPE, where the first crosstalk coefficient is used to precode a signal to be sent to the first CPE; and when the first network node communicates with the second CPE, a signal to be sent to the second CPE is precoded based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, where the first update factor is used to represent a change of the first crosstalk coefficient between the first line and the at least one second line or a change of crosstalk signals generated on the first line and the at least one second line. In this way, the signal to be sent to the second CPE can be precoded based on only the first update factor and the first crosstalk coefficient between the first line and the at least one second line. Therefore, the first crosstalk coefficient does not need to be re-estimated, and there is no need to store, in a network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced.

    [0008] Optionally, in a possible implementation of the first aspect, the first update factor includes a first transmission parameter of a channel corresponding to one CPE connected to the first user node and a first transmission parameter of a channel corresponding to one CPE connected to each of the at least one second user node. Optionally, in a possible implementation of the first aspect, a downstream signal sent to the second CPE is adjusted based on the first transmission parameter of the channel corresponding to the CPE connected to the first user node, to obtain a target signal of the second CPE; a downstream signal sent to third CPE that communicates with each of the at least one second network node is adjusted based on the first transmission parameter of the channel corresponding to the CPE connected to each second user node, to obtain a target signal of the third CPE that communicates with each second network node; and the signal to be sent to the second CPE is precoded based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node. In this way, for any user node, phases and amplitudes of downstream signals of all CPEs connected to the user node can be adjusted to be the same based on a first transmission parameter of one CPE of the user node, so that the signal to be sent to the second CPE can be precoded based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node. Therefore, the first crosstalk coefficient does not need to be re-estimated, and there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced.

    [0009] Optionally, in a possible implementation of the first aspect, the first crosstalk coefficient between the first line and the at least one second line is adjusted based on a second update factor and the first update factor, to obtain a second crosstalk coefficient between the first line and the at least one second line, where the second update factor includes a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to third CPE that communicates with each second network node. Therefore, a crosstalk coefficient corresponding to the second CPE does not need to be estimated. Instead, the signal to be sent to the second CPE is directly precoded based on the second crosstalk coefficient between the first line and the at least one second line, a downstream signal sent to the second CPE, and a downstream signal sent to the third CPE that communicates with each second network node. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced.

    [0010] Optionally, in a possible implementation of the first aspect, a first crosstalk cancellation signal is generated based on the first crosstalk coefficient between the first line and the at least one second line, a downstream signal sent to the second CPE, and a downstream signal sent to third CPE that communicates with each second network node; the first crosstalk cancellation signal is adjusted based on a second update factor and the first update factor, to obtain a second crosstalk cancellation signal, where the second update factor includes a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to third CPE that communicates with each second network node. Therefore, a crosstalk coefficient corresponding to the second CPE does not need to be estimated. The signal to be sent to the second CPE is directly generated based on the second crosstalk cancellation signal and the downstream signal sent to the second CPE. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced.

    [0011] Optionally, in a possible implementation of the first aspect, when the first network node communicates with the second CPE, a crosstalk signal in an upstream signal sent by the second CPE is directly canceled based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced.

    [0012] Optionally, in a possible implementation of the first aspect, the upstream signal sent by the second CPE is adjusted based on the first transmission parameter of the channel corresponding to the CPE connected to the first user node, to obtain the target signal of the second CPE; an upstream signal sent by the third CPE that communicates with each of the at least one second network node is adjusted based on the first transmission parameter of the channel corresponding to the CPE connected to each second user node, to obtain the target signal of the third CPE that communicates with each second network node; and a crosstalk signal in the target signal of the second CPE is canceled based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node. In this way, for any user node, amplitudes of upstream signals sent by all CPEs connected to the user node can be adjusted to be the same based on a first transmission parameter of one CPE of the user node, so that the crosstalk signal in the target signal of the second CPE can be canceled based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node. Therefore, the first crosstalk coefficient does not need to be re-estimated, and there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced.

    [0013] Optionally, in a possible implementation of the first aspect, measurement signals sent by all CPEs connected to a target user node are received, where the target user node is any user node in the twisted-pair communications system; timing advances TAs of the CPEs are obtained based on the measurement signals of the CPEs and a reference signal, where the reference signal is a measurement signal of any one of the CPEs; and the TAs of the CPEs are sent to the CPEs respectively, so that the CPEs each send an upstream signal based on the respective TAs. In this way, all the CPEs may send upstream signals based on the respective TAs, to ensure that start locations of the upstream signals of the CPEs that are received by the network device are the same, that is, phases of the received upstream signals of the CPEs are the same.

    [0014] Optionally, in a possible implementation of the first aspect, the first crosstalk coefficient between the first line and the at least one second line is adjusted based on the second update factor and the first update factor, to obtain the second crosstalk coefficient between the first line and the at least one second line, where the second update factor includes the second transmission parameter of the channel corresponding to the second CPE and the second transmission parameter of the channel corresponding to the third CPE that communicates with each second network node. Therefore, a crosstalk coefficient corresponding to the second CPE does not need to be estimated. Instead, the crosstalk signal in the upstream signal sent by the second CPE is directly canceled based on the second crosstalk coefficient between the first line and the at least one second line, the upstream signal sent by the second CPE, and an upstream signal sent by the third CPE that communicates with each second network node. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced.

    [0015] Optionally, in a possible implementation of the first aspect, the first crosstalk cancellation signal is generated based on the first crosstalk coefficient between the first line and the at least one second line, the upstream signal sent by the second CPE, and an upstream signal sent by the third CPE that communicates with each second network node; the first crosstalk cancellation signal is adjusted based on the second update factor and the first update factor, to obtain the second crosstalk cancellation signal, where the second update factor includes the second transmission parameter of the channel corresponding to the second CPE and the second transmission parameter of the channel corresponding to the third CPE that communicates with each second network node. Therefore, a crosstalk coefficient corresponding to the second CPE does not need to be estimated. The crosstalk signal in the upstream signal sent by the second CPE is directly canceled based on the second crosstalk cancellation signal. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced.

    [0016] Optionally, in a possible implementation of the first aspect, the method further includes: obtaining a transmission parameter of a channel corresponding to one CPE connected to the first user node and a transmission parameter of a channel corresponding to one CPE connected to each second user node, and generating the first update factor based on the obtained transmission parameters of the channels corresponding to the CPEs. Optionally, in a possible implementation of the first aspect, when the first network node communicates with the first CPE, the method further includes: obtaining a transmission parameter of a channel corresponding to the first CPE and a transmission parameter of a channel corresponding to CPE that communicates with each of the at least one second network node, and forming the first update factor by using the transmission parameter of the channel corresponding to the first CPE and the transmission parameter of the channel corresponding to the CPE that communicates with each second network node. Optionally, in a possible implementation of the first aspect, when the first network node communicates with the first CPE again, a crosstalk signal in a signal of the first CPE is canceled based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced.

    [0017] According to a second aspect, an embodiment of this application provides a crosstalk signal cancellation apparatus, configured to perform the method in any one of the first aspect or the possible implementations of the first aspect. Specifically, the apparatus includes units configured to perform the method in any one of the first aspect or the possible implementations of the first aspect.

    [0018] According to a third aspect, an embodiment of this application provides a crosstalk signal cancellation apparatus. The apparatus includes an input interface, an output interface, a processor, and a memory. The input interface, the output interface, the processor, and the memory may be connected by using a bus system. The memory is configured to store a program, an instruction, or code. The processor is configured to execute the program, the instruction, or the code in the memory, to complete the method in any one of the first aspect or the possible implementations of the first aspect. According to a fourth aspect, an embodiment of this application provides a computer program product. The computer program product includes a computer program stored in a computer-readable storage medium, and the computer program is loaded by a processor to implement the method in any one of the first aspect or the possible implementations of the first aspect.

    [0019] According to a fifth aspect, an embodiment of this application provides a computer-readable storage medium, configured to store a computer program. The computer program is loaded by a processor to execute an instruction of the method in any one of the first aspect or the possible implementations of the first aspect.

    [0020] According to a sixth aspect, an embodiment of this application provides a chip. The chip includes a programmable logic circuit and/or a program instruction. When the chip runs, the method in any one of the first aspect or the possible implementations of the first aspect is implemented.

    [0021] According to a seventh aspect, an embodiment of this application provides a twisted-pair communications system. The twisted-pair communications system includes the apparatus according to the second aspect or the third aspect.

    BRIEF DESCRIPTION OF DRAWINGS



    [0022] 

    FIG. 1-1 is a schematic structural diagram of a twisted-pair communications system according to an embodiment of this application;

    FIG. 1-2 is a schematic structural diagram of a twisted-pair communications system according to an embodiment of this application;

    FIG. 2-1 is a flowchart of a crosstalk signal cancellation method according to an embodiment of this application;

    FIG. 2-2 is a schematic structural diagram of a network device according to an embodiment of this application;

    FIG. 3 is a flowchart of another crosstalk signal cancellation method according to an embodiment of this application;

    FIG. 4 is a flowchart of another crosstalk signal cancellation method according to an embodiment of this application;

    FIG. 5 is a flowchart of another crosstalk signal cancellation method according to an embodiment of this application;

    FIG. 6 is a flowchart of another crosstalk signal cancellation method according to an embodiment of this application;

    FIG. 7 is a flowchart of another crosstalk signal cancellation method according to an embodiment of this application;

    FIG. 8 is a flowchart of another crosstalk signal cancellation method according to an embodiment of this application;

    FIG. 9 is a flowchart of another crosstalk signal cancellation method according to an embodiment of this application;

    FIG. 10-1 is a schematic structural diagram of a crosstalk signal cancellation apparatus according to an embodiment of this application;

    FIG. 10-2 is a schematic structural diagram of another crosstalk signal cancellation apparatus according to an embodiment of this application; and

    FIG. 11 is a schematic structural diagram of another crosstalk signal cancellation apparatus according to an embodiment of this application.


    DESCRIPTION OF EMBODIMENTS



    [0023] To make the objectives, technical solutions, and advantages of this application clearer, the following further describes the implementations of this application in detail with reference to the accompanying drawings.

    [0024] Referring to FIG. 1-1, an embodiment of this application provides a twisted-pair communications system, including:
    a network device, a plurality of user nodes, and a plurality of customer-premises equipments (Customer Premises Equipment, CPE).

    [0025] The network device includes a plurality of network nodes, and each network node corresponds to one user node.

    [0026] Each network node is connected to a corresponding user node of the network node by using a line, crosstalk exists between lines connected to the network nodes, and each user node is further connected to at least one CPE.

    [0027] For example, in the twisted-pair communications system shown in FIG. 1-1, the network device includes four network nodes: P1, P2, P3, and P4; there are four user nodes: U1, U2, U3, and U4; and there are ten CPEs: A1, A2, B1, B2, B3, C1, C2, D1, D2, and D3.

    [0028] P1 and U1 are connected by using a line 1, P2 and U2 are connected by using a line 2, P3 and U3 are connected by using a line 3, and P4 and U4 are connected by using a line 4. Crosstalk exists between the lines 1, 2, 3, and 4. A1 and A2 are connected to U1; B1, B2, and B3 are connected to U2; C1 and C2 are connected to U3; and D1, D2, and D3 are connected to U4.

    [0029] The network device may be a DPU or the like, the network node may be a transceiver in the DPU, and the user node may be a multi-channel connector or the like. The network device may send a downstream signal to the CPE by using each transceiver, or receive, by using each transceiver, an upstream signal or an error signal or the like sent by the CPE.

    [0030] The lines in the twisted-pair communications system may be bound together when drawn from the network device, and then are separated and connected to the user nodes. Therefore, crosstalk exists between these lines. For example, the network architecture shown in FIG. 1-1 may be applied to communication networking in a residential building. In a residential building shown in FIG. 1-2, families A and B are on the first floor, families C and D are on the second floor, U1, A1, and A2 belong to the family A, U2, B1, B2, and B3 belong to the family B, U3, C1, and C2 belong to the family C, and U4, D1, D2, and D3 belong to the family D.

    [0031] The network device may be deployed in a basement of the residential building, and the lines 1, 2, 3, and 4 are first bound together after drawn from the network device. On the first floor, the lines 1 and 2 are separated from the bound lines and connected to the user nodes U1 and U2 respectively. On the second floor, the lines 3 and 4 are separated and connected to the user nodes U3 and U4 respectively. Because the lines 1, 2, 3, and 4 each have a segment of line bound together, crosstalk exists between the lines 1, 2, 3, and 4.

    [0032] For each user node, all CPEs connected to the user node communicate, in a time division multiplexing manner, with a network node corresponding to the user node. The time division multiplexing manner refers to that the network device may allocate a slot to each of the CPEs, and slots of the CPEs are different from each other. In the slot of each CPE, the CPE communicates, by using a line, with the network node corresponding to the user node.

    [0033] For example, for the user node U1, and A1 and A2 connected to U1, the network device may allocate a slot to each of A1 and A2. A1 may communicate with the network node P1 in the network device in a slot corresponding to A1, and A2 may communicate with the network node P1 in the network device in a slot corresponding to A2.

    [0034] For another example, for the user node U2, and B1, B2, and B3 connected to U2, the network device may allocate a slot to each of B1, B2, and B3. B1 may communicate with the network node P2 in the network device in a slot corresponding to B1, B2 may communicate with the network node P2 in the network device in a slot corresponding to B2, and B3 may communicate with the network node P3 in the network device in a slot corresponding to B3.

    [0035] In both cases of the user node U3, and C1 and C2 connected to U2, and the user node U4, and D1, D2, and D3 connected to U4, the foregoing time division multiplexing manner is used for communication, and examples are not listed herein one by one. An embodiment of this application provides a crosstalk signal cancellation method. The method may be applied to the twisted-pair communications system shown in FIG. 1-1. The twisted-pair communications system includes a first line and at least one second line, the first line connects a first network node and a first user node, and the at least one second line connects at least one second network node and at least one second user node; crosstalk exists between the first line and the at least one second line; the first user node is connected to at least first CPE and second CPE; and the first CPE and the second CPE communicate with the first network node in a time division multiplexing manner.

    [0036] A signal to be canceled in this embodiment of this application may be a downstream signal sent by a network device to CPE, and an execution body may be the network device. Referring to FIG. 2-1, the method may include the following steps.

    [0037] Step 201: When the first network node communicates with the first CPE, obtain a first crosstalk coefficient between the first line and the at least one second line based on an error signal fed back by the first CPE, where the first crosstalk coefficient is used to precode a signal to be sent to the first CPE.

    [0038] The first line is any line in the twisted-pair communications system, and the second line is a line other than the first line in the twisted-pair communications system. A network node that is in the network device and that is connected to the first line is the first network node, and a user node that is connected to the first line is the first user node. A network node other than the first network node in the network device is the second network node, a line other than the first line in the twisted-pair communications system is the second line, and a user node other than the first user node in the twisted-pair communications system is the second user node. Therefore, the twisted-pair communications system includes the at least one second network node, the at least one second line, and the at least one second user node. The at least one second line connects the at least one second network node and the at least one second user node. In other words, each of the at least one second line corresponds to one second network node and one second user node, each second line corresponds to a different second network node, each second line corresponds to a different second user node, and each second line connects a second network node and a second user node that correspond to the second line.

    [0039] For example, in the twisted-pair communications system shown in FIG. 1-1, it is assumed that the line 1 is a first line, and the lines 2, 3, and 4 are second lines. In this case, P1 is a first network node, P2, P3, and P4 are second network nodes, U1 is a first user node, and U2, U3, and U4 are second user nodes. The first line 1 connects the first network node P1 and the first user node U1, the second line 2 connects the second network node P2 and the second user node U2, the second line 3 connects the second network node P3 and the second user node U3, and the second line 4 connects the second network node P4 and the second user node U4.

    [0040] This step may be performed in the first slot after the twisted-pair communications system changes. A case in which the twisted-pair communications system changes may be as follows: The network device establishes the twisted-pair communications system with the user nodes after being started, or a new line is added to the twisted-pair communications system, or a line corresponding to a family stops working because devices in the family are shut down, or the like.

    [0041] For each user node, CPEs connected to the user node communicate with a network node in the network device in a time division multiplexing manner. In other words, the network device allocates a slot to each CPE, and the CPE communicates with the network node in the slot corresponding to the CPE. For ease of description, CPE that is in the CPEs connected to the first user node and that communicates with the first network node in the first slot is referred to as the first CPE. The first user node is connected to at least the first CPE and the second CPE, and the first CPE and the second CPE may be same CPE or different CPEs. One CPE that communicates with the second network node is referred to as fourth CPE.

    [0042] This step may be as follows: In the first slot after the twisted-pair communications system changes, the network device may receive the error signal fed back by the first CPE, and further receive an error signal fed back by the fourth CPE that communicates with each second network node; and obtain the first crosstalk coefficient between the first line and the at least one second line based on the error signal fed back by the first CPE and the error signal fed back by the fourth CPE that communicates with each second network node.

    [0043] Optionally, the network device may receive, by using the first network node, the error signal fed back by the first CPE. For each second network node, the network device may receive, by using the second network node, the error signal fed back by the fourth CPE that communicates with the second network node.

    [0044] The first crosstalk coefficient between the first line and the at least one second line may include a crosstalk coefficient of the first CPE to the first CPE and a crosstalk coefficient of each fourth CPE to the first CPE.

    [0045] For example, in the first slot after the twisted-pair communications system shown in FIG. 1-1 is established, A1 communicates with the first network node P1, B1 communicates with the second network node P2, C1 communicates with the second network node P3, and D1 communicates with the second network node P4. The network device may receive an error signal fed back by A1, an error signal fed back by B1, an error signal fed back by C1, and an error signal fed back by D1; and obtain a first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4 based on the error signal fed back by A1, the error signal fed back by B1, the error signal fed back by C1, and the error signal fed back by D1. The first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4 includes a crosstalk coefficient of A1 to A1, a crosstalk coefficient of B1 to A1, a crosstalk coefficient of C1 to A1, and a crosstalk coefficient of D1 to A1.

    [0046] For each second line, a first crosstalk coefficient between the second line, and the first line and the other second lines is obtained in the foregoing manner. The following uses the twisted-pair communications system shown in FIG. 1-1 as an example for detailed description.

    [0047] For the second line 2, the network device obtains a first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4 based on the error signal fed back by A1, the error signal fed back by B1, the error signal fed back by C1, and the error signal fed back by D1. For the second line 3 and the second line 4, first crosstalk coefficients are both obtained according to the foregoing method. Optionally, after the first crosstalk coefficient is obtained, a signal to be sent to CPE that communicates with each network node may be precoded in the first slot. For example, for the first CPE, a downstream signal sent to the first CPE and a downstream signal sent to each fourth CPE may be first obtained; a crosstalk cancellation signal is generated based on the first crosstalk coefficient, the downstream signal sent to the first CPE, and the downstream signal sent to each fourth CPE; and a signal to be sent to the first CPE is generated based on the crosstalk cancellation signal and the downstream signal sent to the first CPE.

    [0048] Then, the network device may send the generated signal on the first line by using the first network node. When the signal is transmitted on the first line, the crosstalk cancellation signal in the signal cancels a crosstalk signal generated on the first line by the twisted-pair communications system, so that a signal received by the first CPE from the first line does not include a crosstalk signal.

    [0049] For example, a downstream signal XA1 sent to A1, a downstream signal XB1 sent to B1, a downstream signal XC1 sent to C1, and a downstream signal XD1 sent to D1 are obtained; a crosstalk cancellation signal KA1 is generated based on the first crosstalk coefficient, and the downstream signals XA1, XB1, XC1, and XD1; a signal HA1 to be sent to A1 is generated based on the crosstalk cancellation signal KA1 and the downstream signal XA1; and then the generated signal HA1 is sent to A1 on the first line 1 by using the first network node P1.

    [0050] The first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4 may include a crosstalk coefficient a11 of A1 to A1, a crosstalk coefficient a12 of B1 to A1, a crosstalk coefficient a13 of C1 to A1, and a crosstalk coefficient a14 of D1 to A1. Therefore, the generated crosstalk cancellation signal KA1 is shown in the following formula (1), and the generated signal HA1 to be sent to A1 is shown in the following formula (2).





    [0051] For the fourth CPE that performs communication on the second line, a signal to be sent to the fourth CPE is generated in the foregoing manner. The following still uses the twisted-pair communications system shown in FIG. 1-1 as an example for detailed description.

    [0052] For B1, a crosstalk cancellation signal KB1 is generated based on the first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4, and the downstream signals XA1, XB1, XC1, and XD1; then a signal HB1 to be sent to B1 is generated based on the crosstalk cancellation signal KB1 and the downstream signal XB1 sent to B1; and the generated signal HB1 is sent to B1 on the second line 2 by using the second network node P2.

    [0053] The first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4 may include a crosstalk coefficient b11 of A1 to B1, a crosstalk coefficient b12 of B1 to B1, a crosstalk coefficient b13 of C1 to B1, and a crosstalk coefficient b14 of D1 to B1. Therefore, the generated crosstalk cancellation signal KB1 is shown in the following formula (3), and the generated signal HB1 to be sent to B1 is shown in the following formula (4).





    [0054] For C1 and D1, a signal to be sent to C1 and a signal to be sent to D1 are generated in a same manner as the foregoing manner of generating the signal to be sent to B1.

    [0055] Optionally, referring to FIG. 2-2, in this embodiment, the network device may include a crosstalk cancellation encoding module and a management entity, and each network node includes a scheduling module, a symbol encoding module, and a conversion module.

    [0056] The scheduling module of each network node may schedule CPE connected to a user node corresponding to the network node. The management entity may receive, by using the network node, an error signal fed back by the CPE, obtain a first crosstalk coefficient based on the error signal fed back by each scheduled CPE, and send the first crosstalk coefficient to the crosstalk cancellation encoding module. Optionally, the management entity may receive, by using a backchannel of the CPE, the error signal fed back by the CPE.

    [0057] The symbol encoding module in the network node may obtain a downstream signal sent to the CPE, and send the downstream signal of the CPE to the crosstalk cancellation encoding module. The crosstalk cancellation encoding module encodes, based on the downstream signal of each scheduled CPE and the first crosstalk coefficient, a signal to be sent to the CPE, and sends the signal to the conversion module included in the network node. The conversion module converts the signal into a time domain signal, and sends the time domain signal to the CPE on a line connected to the conversion module.

    [0058] Optionally, the conversion module may include a receiving unit and a sending unit (not shown in the figure). The management entity may receive, by using the receiving unit in the network node, the error signal fed back by the CPE. After converting the signal into a time domain signal, the conversion module sends, by using the sending unit, the time domain signal to the CPE on the line connected to the conversion module.

    [0059] Step 202: When the first network node communicates with the second CPE, precode, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE.

    [0060] The first update factor is used to represent a change of the first crosstalk coefficient between the first line and the at least one second line or a change of crosstalk signals generated on the first line and the at least one second line.

    [0061] The first update factor includes a first transmission parameter of a channel corresponding to one CPE connected to the first user node and a first transmission parameter of a channel corresponding to one CPE connected to each of the at least one second user node. The first transmission parameter of the channel corresponding to the CPE may be a transmit spectrum shaping (Transmit spectrum shaping, TSSi) value and/or a variable gain amplifier (variable gain amplifier, VGA) value of the channel corresponding to the CPE. The first transmission parameter may further include another parameter, for example, may further include at least one of parameters such as a gain, a transmitter initiated gain adjustment (Transmitter Initiated Gain Adjustment, TIGA), and a symbol alignment (Symbol Alignment, SA).

    [0062] The second CPE may be the first CPE or CPE other than the first CPE. In any slot after the first crosstalk coefficient between the first line and the at least one second line is obtained, a signal to be sent to CPE may be precoded by using this step.

    [0063] In a current slot, one CPE that communicates with each second network node is referred to as third CPE.

    [0064] This step may be as follows: In the current slot, a downstream signal sent to the second CPE and a downstream signal sent to the third CPE that communicates with each second network node are obtained; a crosstalk cancellation signal is generated based on the downstream signal sent to the second CPE, the downstream signal sent to each third CPE, the first crosstalk coefficient between the first line and the at least one second line, and the first update factor; and the signal to be sent to the second CPE is generated based on the crosstalk cancellation signal and the downstream signal sent to the second CPE.

    [0065] Optionally, the network device sends the generated signal to the second CPE on the first line by using the first network node; and when the signal is transmitted on the first line, the crosstalk cancellation signal in the signal cancels a crosstalk signal generated on the first line. In this way, a signal received by the second CPE from the first line does not include a crosstalk signal.

    [0066] Optionally, referring to FIG. 2-2, a scheduling module of the first network node may schedule CPE connected to the first user node, namely, the second CPE. A symbol encoding module of the first network node may obtain the downstream signal sent to the second CPE, and send the downstream signal of the second CPE to a crosstalk cancellation encoding module. The crosstalk cancellation encoding module precodes, based on a downstream signal of each scheduled CPE, the first crosstalk coefficient, and the first update factor, the signal to be sent to the second CPE, and sends the signal to a conversion module included in the first network node. The conversion module converts the signal into a time domain signal, and sends the time domain signal to the second CPE on the first line.

    [0067] For each second line, a signal to be sent to each third CPE is precoded in the foregoing signal precoding manner. The following still uses the twisted-pair communications system shown in FIG. 1-1 as an example for detailed description.

    [0068] For example, in the current slot, A2 communicates with the first network node P1, B1 communicates with the second network node P2, C2 communicates with the second network node P3, and D3 communicates with the second network node P4. The network device may obtain a downstream signal XA2 sent to A2, the downstream signal XB1 sent to B1, a downstream signal XC2 sent to C2, and a downstream signal XD3 sent to D3; generate a crosstalk cancellation signal KA2 based on the first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4, and the downstream signals XA2, XB1, XC2, and XD3; generate, based on the crosstalk cancellation signal KA2 and the downstream signal XA2 sent to A2, a signal HA2 to be sent to A2; and then send, on the first line 1 by using the first network node P1, the generated signal HA2 to A2.

    [0069] For the second line 2, the network device generates a crosstalk cancellation signal KB1 based on the first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4, and the downstream signals XA2, XB1, XC2, and XD3; generates, based on the crosstalk cancellation signal KB1 and the downstream signal XB1 sent to B1, a signal HB1 to be sent to B1; and then sends, on the second line 2 by using the second network node P2, the generated signal HB1 to B1.

    [0070] For both the second line 3 and the second line 4, a signal to be sent to C2 and a signal to be sent to D3 are generated according to the foregoing method.

    [0071] A more detailed implementation process of this embodiment has a plurality of manners. Three instances shown in FIG. 3, FIG. 4, and FIG. 5 are listed in this application, and other instances are not listed one by one. Detailed processes of the three instances are described later.

    [0072] In this embodiment of this application, after the first crosstalk coefficient between the first line and the at least one second line is obtained, when the first network node communicates with the second CPE, the signal to be sent to the second CPE can be precoded based on only the first update factor and the first crosstalk coefficient between the first line and the at least one second line. Therefore, the first crosstalk coefficient does not need to be re-estimated, and there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced. The crosstalk signal cancellation method in this embodiment is also applicable to a near-end crosstalk cancellation scenario.

    [0073] A detailed process of crosstalk signal cancellation in the method in the embodiment shown in FIG. 2-1 is shown as follows. Referring to FIG. 3, a process of the method may include the following steps.

    [0074] Step 301: A network device obtains a first update factor, where the first update factor includes a first transmission parameter of a channel corresponding to one CPE connected to a first user node and a first transmission parameter of a channel corresponding to one CPE connected to each second user node.

    [0075] This step may be implemented by using the following steps 3011 to 3013, including:
    3011: The network device obtains transmission parameters of channels corresponding to all CPEs connected to a first user node, and selects, from the transmission parameters of the channels corresponding to all the CPEs connected to the first user node, a transmission parameter of a channel corresponding to one CPE.

    [0076] A transmission parameter of a channel corresponding to CPE may include a TSSi value and/or a VGA value of the CPE, and may further include another parameter, for example, may include at least one of parameters such as a gain, a TIGA, and an SA. Specifically, the network device schedules all the CPEs connected to the first user node, and upon scheduling CPE, sends a measurement request to the CPE on a first line by using a first network node. The CPE receives the measurement request, obtains a measured value of a TSSi-related parameter based on the measurement request, and sends the measured value of the TSSi-related parameter to the network device on the first line. The TSSi-related parameter includes at least one of parameters such as a distance, an electrical length, a signal-to-noise ratio (Signal-to-Noise Ratio, SNR), receive-end total power, and receive-end power spectral density. The network device receives the measured value of the TSSi-related parameter, calculates a TSSi value based on the measured value of the TSSi-related parameter, and calculates a VGA value based on the TSSi value, to obtain a transmission parameter of a channel corresponding to the CPE. The network device obtains, in the foregoing manner, transmission parameters of channels corresponding to all other CPEs connected to the first user node, and selects, from the transmission parameters of the channels corresponding to all the CPEs connected to the first user node, a transmission parameter of a channel corresponding to one CPE.

    [0077] 3012: For each second user node, obtain transmission parameters of channels corresponding to all CPEs connected to the second user node, and select, from the transmission parameters of the channels corresponding to all the CPEs connected to the second user node, a transmission parameter of a channel corresponding to one CPE.

    [0078] Specifically, the network device schedules all the CPEs connected to the second user node, and upon scheduling CPE, sends a measurement request to the CPE on a second line by using a second network node. The CPE receives the measurement request, obtains a measured value of a TS Si-related parameter based on the measurement request, and sends the measured value of the TSSi-related parameter to the network device on the second line. The network device receives the measured value of the TSSi-related parameter, calculates a TSSi value based on the measured value of the TSSi-related parameter, and calculates a VGA value based on the TSSi value, to obtain a transmission parameter of a channel corresponding to the CPE. The network device obtains, in the foregoing manner, transmission parameters of channels corresponding to all other CPEs connected to the second user node, and selects, from the transmission parameters of the channels corresponding to all the CPEs connected to the second user node, a transmission parameter of a channel corresponding to one CPE.

    [0079] 3013: Generate the first update factor based on the selected transmission parameters of the channels corresponding to the CPEs. In other words, the first update factor includes the selected transmission parameters of the channels corresponding to the CPEs.

    [0080] Step 302: When the first network node communicates with first CPE, obtain a first crosstalk coefficient between the first line and at least one second line based on an error signal fed back by the first CPE, where the first crosstalk coefficient between the first line and the at least one second line is used to precode a signal to be sent to the first CPE.

    [0081] For a detailed implementation process of this step, refer to related content described in the corresponding step 201. Details are not described herein again.

    [0082] Optionally, step 301 may not be performed first. Instead, in this step, a transmission parameter of a channel corresponding to the first CPE and a transmission parameter of a channel corresponding to one CPE that communicates with each second network node may be obtained, and the obtained transmission parameters form the first update factor. Step 303: When the first network node communicates with second CPE, precode, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a signal to be sent to the second CPE.

    [0083] During actual implementation, this step may be implemented by using the following steps 3031 to 3033, which are as follows:
    3031: Adjust, based on the first transmission parameter of the channel corresponding to the CPE connected to the first user node, a downstream signal sent to the second CPE, to obtain a target signal of the second CPE.

    [0084] Optionally, the downstream signal sent to the second CPE is obtained, and a phase and an amplitude of the downstream signal sent to the second CPE are adjusted based on a TSSi value and/or a VGA value included in the first transmission parameter of the channel corresponding to the CPE connected to the first user node, to obtain the target signal of the second CPE.

    [0085] For example, in a current slot, A2 communicates with the first network node P1, B1 communicates with the second network node P2, C2 communicates with the second network node P3, and D3 communicates with the second network node P4. The network device may obtain a downstream signal XA2 sent to A2, and adjust, based on a TSSi value and/or a VGA value included in a first transmission parameter of a channel corresponding to one CPE connected to the first user node, a phase and an amplitude of the downstream signal XA2 sent to A2, to obtain a target signal X'A2 of A2.

    [0086] 3032: For each second user node, adjust, based on the first transmission parameter of the channel corresponding to the CPE connected to the second user node, a downstream signal sent to third CPE that communicates with the second network node, to obtain a target signal of the third CPE.

    [0087] For example, the network device may obtain a downstream signal XB1 sent to B1, and adjust, based on a TSSi value and/or a VGA value included in a first transmission parameter of a channel corresponding to one CPE connected to a second user node P2, a phase and an amplitude of the downstream signal XB1 sent to B1, to obtain a target signal X'B1 of B1.

    [0088] For another example, the network device may obtain a downstream signal XC2 sent to C2, and adjust, based on a TSSi value and/or a VGA value included in a first transmission parameter of a channel corresponding to one CPE connected to a second user node P3, a phase and an amplitude of the downstream signal XC2 sent to C2, to obtain a target signal X'C2 of C2.

    [0089] For still another example, the network device may obtain a downstream signal XD3 sent to D3, and adjust, based on a TSSi value and/or a VGA value included in a first transmission parameter of a channel corresponding to one CPE connected to a second user node P4, a phase and an amplitude of the downstream signal XD3 sent to D3, a target signal X'D3 of D3.

    [0090] 3033. Precode, based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node, the signal to be sent to the second CPE.

    [0091] Specifically, a crosstalk cancellation signal is generated based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node, and the signal to be sent to the second CPE is generated based on the crosstalk cancellation signal and the target signal of the second CPE.

    [0092] Optionally, the network device sends the signal to the second CPE on the first line by using the first network node, and when the signal is transmitted on the first line, a crosstalk cancellation signal in the signal cancels a crosstalk signal generated on the first line. Therefore, a signal received by the second CPE from the first line does not include a crosstalk signal.

    [0093] For each second line, a signal to be sent to each third CPE is generated in the foregoing signal generation manner. The following still uses the twisted-pair communications system shown in FIG. 1-1 as an example for detailed description.

    [0094] For example, in the current slot, the network device generates a crosstalk cancellation signal KA2 based on the first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4, the target signal X'A2 of A2, the target signal X'B1 of B1, the target signal X'C2 of C2, and the target signal X'D3 of D3; generates, based on the crosstalk cancellation signal KA2 and the target signal X'A2 of A2, a signal HA2 to be sent to A2; and then sends the generated signal HA2 to A2 on the first line 1 by using the first network node P1.

    [0095] The first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4 includes a11, a12, a13, and a14. Therefore, the generated crosstalk cancellation signal KA2 is shown in the following formula (5), and the generated signal HA2 is shown in the following formula (6).





    [0096] For the second line 2, the network device generates a crosstalk cancellation signal KB1 based on a first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4, the target signal X'A2 of A2, the target signal X'B1 of B1, the target signal X'C2 of C2, and the target signal X'D3 of D3; generates, based on the crosstalk cancellation signal KB1 and the target signal X'B1 of B1, a signal HB1 to be sent to B1; and then sends the generated signal HB1 to B1 on the second line 2 by using the second network node P2.

    [0097] The first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4 includes b11, b12, b13, and b14. Therefore, the generated crosstalk cancellation signal KB1 is shown in the following formula (7), and the generated signal HB1 is shown in the following formula (8).





    [0098] For both the second line 3 and the second line 4, a signal to be sent to C2 and a signal to be sent to D3 are generated according to the foregoing method.

    [0099] In this embodiment of this application, after the first update factor and the first crosstalk coefficient between the first line and the at least one second line are obtained, when the first network node communicates with the second CPE, the downstream signal sent to the second CPE is adjusted based on the first update factor, to obtain the target signal of the second CPE; the downstream signal sent to the CPE that communicates with each second network node is adjusted based on the first update factor, to obtain the target signal of the CPE that communicates with each second network node; and then the signal to be sent to the second CPE may be precoded based on the target signal of the second CPE, the target signal of the CPE that communicates with each second network node, and the first crosstalk coefficient between the first line and the at least one second line. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced.

    [0100] A detailed process of crosstalk signal cancellation in the method in the embodiment shown in FIG. 2-1 is shown as follows. Referring to FIG. 4, a process of the method may include the following steps.

    [0101] Step 401: When a first network node communicates with first CPE, obtain a first crosstalk coefficient between a first line and at least one second line based on an error signal fed back by the first CPE, where the first crosstalk coefficient is used to precode a signal to be sent to the first CPE.

    [0102] For a detailed implementation process of this step, refer to related content described in the corresponding step 201. Details are not described herein again.

    [0103] In the first slot, one CPE that communicates with a second network node is referred to as fourth CPE. Therefore, the first crosstalk coefficient between the first line and the at least one second line includes a crosstalk coefficient of the first CPE to the first CPE and a crosstalk coefficient of each fourth CPE to the first CPE.

    [0104] For example, in the architecture shown in FIG. 1-1, it is assumed that in a current slot, A1 communicates with the first network node P1, B1 communicates with the second network node P2, C1 communicates with the second network node P3, and D1 communicates with the second network node P4. A first crosstalk coefficient that is between a first line 1 and second lines 2, 3, and 4 and that is obtained by a network device may include a crosstalk coefficient a11 of A1 to A1, a crosstalk coefficient a12 of B1 to A1, a crosstalk coefficient a13 of C1 to A1, and a crosstalk coefficient a14 of D1 to A1.

    [0105] Step 402: The network device obtains a first update factor, where the first update factor includes a first transmission parameter of a channel corresponding to the first CPE and a first transmission parameter of a channel corresponding to each fourth CPE.

    [0106] Step 401 and step 402 may occur in a same slot, and the two steps are not necessarily performed in sequence. Step 401 may be performed before step 402, or step 402 may be performed before step 401, or step 401 and step 402 may be performed simultaneously.

    [0107] This step may be implemented by using the following procedures 4021 to 4023, including:
    4021: Obtain the first transmission parameter of the channel corresponding to the first CPE.

    [0108] The network device sends a measurement request to the first CPE on the first line by using the first network node. The first CPE receives the measurement request, obtains a measured value of a TSSi-related parameter based on the measurement request, and sends the measured value of the TSSi-related parameter to the network device on the first line. The network device receives the measured value of the TSSi-related parameter, calculates a TSSi value based on the measured value of the TSSi-related parameter, and calculates a VGA value based on the TSSi value, to obtain the first transmission parameter of the channel corresponding to the first CPE.

    [0109] 4022: For each second network node, obtain the first transmission parameter of the channel corresponding to the fourth CPE that communicates with the second network node.

    [0110] The network device sends, on the second line by using the second network node, a measurement request to the fourth CPE that communicates with the second network node. The fourth CPE receives the measurement request, obtains a measured value of a TSSi-related parameter based on the measurement request, and sends the measured value of the TSSi-related parameter to the network device on the second line. The network device receives the measured value of the TSSi-related parameter, calculates a TSSi value based on the measured value of the TSSi-related parameter, and calculates a VGA value based on the TSSi value, to obtain the first transmission parameter of the channel corresponding to the fourth CPE.

    [0111] 4023: Generate the first update factor based on the transmission parameter of the channel corresponding to the first CPE and the first transmission parameter of the channel corresponding to each fourth CPE.

    [0112] Step 403: When the first network node communicates with the second CPE, adjust the first crosstalk coefficient between the first line and the at least one second line based on a second update factor and the first update factor, to obtain a second crosstalk coefficient between the first line and the at least one second line.

    [0113] The second update factor includes a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to third CPE that communicates with each second network node. For a process of obtaining the second update factor, refer to the process of obtaining the first update factor. Details are not described herein again.

    [0114] Specifically, the first crosstalk coefficient between the first line and the at least one second line may be adjusted based on the second update factor and the first update factor by using the following formula (9), to obtain the second crosstalk coefficient between the first line and the at least one second line.



    [0115] In the foregoing formula (9), TxGain(t1) is the first update factor, TxGain(t2) is the second update factor, P(t1) is the first crosstalk coefficient, and P(t2) is the second crosstalk coefficient.

    [0116] For each second line, a first crosstalk coefficient between the second line, and the first line and the other second lines is also adjusted based on the second update factor and the first update factor, to obtain a second crosstalk coefficient between the second line, and the first line and the other second lines.

    [0117] For example, a11, a12, a13, and a14 included in the first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4 are adjusted based on the second update factor and the first update factor, to obtain a second crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4, including a21, a22, a23, and a24.

    [0118] For another example, b11, b12, b13, and b14 included in a first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4 are adjusted based on the second update factor and the first update factor, to obtain a second crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4, including b21, b22, b23, and b24.

    [0119] Step 404: Precode, based on the second crosstalk coefficient between the first line and the at least one second line, a downstream signal sent to the second CPE, and a downstream signal sent to the third CPE that communicates with each second network node, a signal to be sent to the second CPE.

    [0120] Specifically, the downstream signal sent to the second CPE and the downstream signal sent to the third CPE that communicates with each second network node are obtained; a crosstalk cancellation signal is generated based on the second crosstalk coefficient between the first line and the at least one second line, the downstream signal sent to the second CPE, and the downstream signal sent to the third CPE that communicates with each second network node; and the signal to be sent to the second CPE is generated based on the crosstalk cancellation signal and the downstream signal of the second CPE. For example, in the current slot, A2 communicates with the first network node P1, B1 communicates with the second network node P2, C2 communicates with the second network node P3, and D3 communicates with the second network node P4. The network device may obtain a downstream signal XA2 sent to A2, a downstream signal XB1 sent to B1, a downstream signal XC2 sent to C2, and a downstream signal XD3 sent to D3; generate a crosstalk cancellation signal KA2 based on the second crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4, and the downstream signals XA2, XB1, XC2, and XD3; generate, based on the crosstalk cancellation signal KA2 and the third downstream signal XA2, a signal HA2 to be sent to A2; and then send the generated signal HA2 to A2 on the first line 1 by using the first network node P1.

    [0121] For the second line 2, the network device generates a crosstalk cancellation signal KB1 based on the second crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4, and the downstream signals XA2, XB1, XC2, and XD3; generates, based on the crosstalk cancellation signal KB1 and the downstream signal XB1, a signal HB1 to be sent to B1; and then sends the generated signal HB1 to B1 on the second line 2 by using the second network node P2.

    [0122] For both the second line 3 and the second line 4, a signal to be sent to C2 and a signal to be sent to D3 are generated according to the foregoing method.

    [0123] Optionally, if power of the signal to be sent to the second CPE exceeds a preset threshold, transmit power of the first network node and receive power of the second CPE may be adjusted, and then the signal is sent to the second CPE on the first line by using the first network node.

    [0124] In this embodiment of this application, after the first update factor and the first crosstalk coefficient between the first line and the at least one second line are obtained, when the first network node communicates with the second CPE, the first crosstalk coefficient between the first line and the at least one second line is adjusted based on the first update factor and the second update factor, to obtain the second crosstalk coefficient between the first line and the at least one second line; and then the signal to be sent to the second CPE is precoded based on the downstream signal of the second CPE, the downstream signal of the third CPE that communicates with each second network node, and the second crosstalk coefficient between the first line and the at least one second line. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced. The crosstalk signal cancellation method in this embodiment is also applicable to a near-end crosstalk cancellation scenario.

    [0125] A detailed process of crosstalk signal cancellation in the method in the embodiment shown in FIG. 2-1 is shown as follows. Referring to FIG. 5, a process of the method may include the following steps.

    [0126] Steps 501 and 502 are the same as steps 401 and 402 respectively, and details are not described herein again.

    [0127] Step 503: When a first network node communicates with second CPE, generate a first crosstalk cancellation signal based on a first crosstalk coefficient between a first line and at least one second line, a downstream signal sent to second CPE, and a downstream signal sent to third CPE that communicates with each second network node.

    [0128] It is assumed that P denotes the first crosstalk coefficient between the first line and the at least one second line, and X(t2) denotes the downstream signal of the second CPE and the downstream signal sent to the third CPE that communicates with each second network node. Therefore, the generated first crosstalk signal is K=P●X(t2). The generated first crosstalk signal corresponds to the second CPE.

    [0129] For example, in a current slot, A2 communicates with the first network node P1, B1 communicates with the second network node P2, C2 communicates with the second network node P3, and D3 communicates with the second network node P4. It is assumed that a first crosstalk coefficient P(A) between a first line 1 and second lines 2, 3, and 4 includes a11, a12, a13, and a14.

    [0130] A network device may obtain a downstream signal XA2 sent to A2, a downstream signal XB1 sent to B1, a downstream signal XC2 sent to C2, and a downstream signal XD3 sent to D3; and generate, based on the first crosstalk coefficient P(A) between the first line 1 and the second lines 2, 3, and 4, and the downstream signals XA2, XB1, XC2, and XD3, a first crosstalk cancellation signal corresponding to A2, that is, KA2 = P(A)●X(t2), where X(t2) includes the downstream signals XA2, XB1, XC2, and XD3. For each third CPE, a first crosstalk signal corresponding to each third CPE is generated in the foregoing manner of generating the first crosstalk signal. For example, for B1, the network device generates, based on a first crosstalk coefficient P(B) between the first line 2, and the first line 1 and the second lines 3 and 4, and the downstream signals XA2, XB1, XC2, and XD3, a first crosstalk cancellation signal corresponding to B1, that is, KB1 = P(B)●X(t2), where P(B) includes b11, b12, b13, and b14.

    [0131] A first crosstalk cancellation signal corresponding to C2 and a first crosstalk cancellation signal corresponding to D3 are generated in the same manner.

    [0132] Step 504: Adjust the first crosstalk cancellation signal based on a second update factor and a first update factor, to obtain a second crosstalk cancellation signal, where the second update factor includes a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to the third CPE that communicates with each second network node. The second update factor includes a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to third CPE that communicates with each second network node. For a process of obtaining the second update factor, refer to the process of obtaining the first update factor. Details are not described herein again.

    [0133] Specifically, the first crosstalk cancellation signal corresponding to the second CPE is adjusted based on the second update factor and the first update factor by using the following formula (10), to obtain a second crosstalk cancellation signal corresponding to the second CPE.



    [0134] In the foregoing formula (10), TxGaint(t1) is the first update factor, TxGain(t2) is the second update factor, and K' is the second crosstalk cancellation signal.

    [0135] For example, for a first crosstalk cancellation signal KA2 corresponding to A2, a second crosstalk cancellation signal K'A2 corresponding to A2 is generated by using the foregoing formula (10), and the obtained second crosstalk signal corresponding to A2 is K'A2 =TxGain(t2)●(TxGain(t1)-1●KA2.

    [0136] For another example, for a first crosstalk cancellation signal KB1 corresponding to B1, a second crosstalk cancellation signal K'B1 corresponding to B1 is generated by using the foregoing formula (10), and the obtained second crosstalk signal corresponding to B1 is K'B1=TxGain(t2)●(TxGain(t1))-1●KB1.

    [0137] Step 505: Generate, based on the second crosstalk cancellation signal and the downstream signal sent to the second CPE, a signal to be sent to the second CPE.

    [0138] For example, for A2, a signal to be sent to A2 that is generated based on the second crosstalk signal K'A2 corresponding to A2 and the downstream signal XA2 sent to A2 is K'A2 + XA2. Then, the generated signal is sent to A2 on the first line 1 by using the first network node P1.

    [0139] For another example, for B1, a signal to be sent to B1 that is generated based on the second crosstalk signal K'B1 corresponding to B1 and the downstream signal XB1 sent to B1 is K'B1 + XB1. Then, the generated signal is sent to B1 on the second line 2 by using the second network node P2.

    [0140] Optionally, if power of the signal to be sent to the second CPE exceeds a preset threshold, transmit power of the first network node and receive power of the second CPE may be adjusted, and then the signal is sent to the second CPE on the first line by using the first network node.

    [0141] In this embodiment of this application, after the first update factor and the first crosstalk coefficient between the first line and the at least one second line are obtained, when the first network node communicates with the second CPE, the first crosstalk cancellation signal is generated based on the first crosstalk coefficient, the downstream signal of the second CPE, and the downstream signal of the third CPE that communicates with each second network node; the first crosstalk coefficient is adjusted based on the first update factor and the second update factor, to obtain the second crosstalk coefficient; and then the signal to be sent to the second CPE is generated based on the downstream signal of the second CPE and the second crosstalk signal. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced. The crosstalk signal cancellation method in this embodiment is also applicable to a near-end crosstalk cancellation scenario.

    [0142] An embodiment of this application provides a crosstalk signal cancellation method. The method may be applied to the twisted-pair communications system shown in FIG. 1-1. The twisted-pair communications system includes a first line and at least one second line, the first line connects a first network node and a first user node, and the at least one second line connects at least one second network node and at least one second user node; crosstalk exists between the first line and the at least one second line; the first user node is connected to at least first CPE and second CPE; and the first CPE and the second CPE communicate with the first network node in a time division multiplexing manner.

    [0143] A signal to be canceled in this embodiment of this application may be an upstream signal received by a network device from CPE, and an execution body may be the network device. Referring to FIG. 6, the method may include the following steps. Step 601: When a first network node communicates with first CPE, obtain a first crosstalk coefficient between a first line and at least one second line based on an error signal corresponding to the first CPE, where the first crosstalk coefficient is used to precode a signal to be sent to the first CPE.

    [0144] For concepts of the first network node, a second network node, the first line, and the second line, refer to related content in step 201. Details are not described herein again. This step may be performed in the first slot after the twisted-pair communications system changes. For ease of description, one CPE that is in the CPEs connected to the first user node and that communicates with the first network node in the first slot is referred to as the first CPE. The first user node is connected to at least the first CPE and the second CPE, and the first CPE and the second CPE may be same CPE or different CPEs. One CPE that communicates with the second network node is referred to as fourth CPE.

    [0145] This step may be as follows: In the first slot after the twisted-pair communications system changes, the network device may obtain, from the first network node, an error signal corresponding to the first CPE, obtain, from each second network node, an error signal corresponding to fourth CPE that communicates with each second network node, and obtain the first crosstalk coefficient between the first line and the at least one second line based on the error signal corresponding to the first CPE and the error signal corresponding to the fourth CPE that communicates with each second network node. The first crosstalk coefficient between the first line and the at least one second line may include a crosstalk coefficient of the first CPE to the first CPE, and a crosstalk coefficient of each fourth CPE to the first CPE.

    [0146] In the first slot, when the first CPE is scheduled, the first network node receives a reference signal sent by the first CPE, and obtains, based on the received reference signal, the error signal corresponding to the first CPE. For each second network node and the fourth CPE that communicates with the second network node, the second network node receives a reference signal sent by the fourth CPE, and obtains, based on the received reference signal, the error signal corresponding to the fourth CPE.

    [0147] For example, in the first slot after the twisted-pair communications system shown in FIG. 1-1 is established, A1 communicates with a first network node P1, B1 communicates with a second network node P2, C1 communicates with a second network node P3, and D1 communicates with a second network node P4. The network device may obtain an error signal corresponding to A1, an error signal corresponding to B1, an error signal corresponding to C1, and an error signal corresponding to D1, and obtain a first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4 based on the error signal corresponding to A1, the error signal corresponding to B1, the error signal corresponding to C1, and the error signal corresponding to D1. A first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4 includes a crosstalk coefficient of A1 to A1, a crosstalk coefficient of B1 to A1, a crosstalk coefficient of C1 to A1, and a crosstalk coefficient of D1 to A1.

    [0148] For each second line, a first crosstalk coefficient between the second line, and the first line and the other second lines is generated in the foregoing manner. The following uses the twisted-pair communications system shown in FIG. 1-1 as an example for detailed description.

    [0149] For the second line 2, the network device obtains a first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4 based on the error signal corresponding to A1, the error signal corresponding to B1, the error signal corresponding to C1, and the error signal corresponding to D1. For the second line 3 and the second line 4, first crosstalk coefficients are both obtained according to the foregoing method.

    [0150] In the first slot, the first CPE and each fourth CPE may send upstream signals to the network device.

    [0151] Optionally, a crosstalk signal in an upstream signal sent by CPE may be canceled. For example, for the upstream signal sent by the first CPE, a crosstalk cancellation signal is generated based on the first crosstalk coefficient, thedownstream signal sent by the first CPE, and the upstream signal sent by each fourth CPE, and the crosstalk cancellation signal is used to cancel a crosstalk signal in the upstream signal sent by the first CPE.

    [0152] For example, an upstream signal sent by A1 is XA1, an upstream signal sent by B1 is XB1, an upstream signal sent by C1 is XC1, and an upstream signal sent by D1 is XD1; a crosstalk cancellation signal KA1 is generated based on the first crosstalk coefficient, and the upstream signals XA1, XB1, XC1, and XD1; and a crosstalk signal in the upstream signal XA1 is canceled based on the crosstalk cancellation signal KA1.

    [0153] For the fourth CPE that performs communication on the second line, a crosstalk signal in the upstream signal sent by the fourth CPE is canceled in the foregoing manner. The following still uses the twisted-pair communications system shown in FIG. 1-1 as an example for detailed description.

    [0154] For B1, a crosstalk cancellation signal KB1 is generated based on the first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4, and the upstream signals XA1, XB1, XC1, and XD1; and then a crosstalk signal in the upstream signal XB1 sent by B1 is canceled by using the crosstalk cancellation signal KB1.

    [0155] For C1 and D1, a crosstalk signal in the upstream signal sent by B1 and a crosstalk signal in the upstream signal sent by D1 are canceled in the foregoing manner. Optionally, referring to FIG. 2-2, in this embodiment, the network device may include a crosstalk cancellation encoding module and a management entity, and each network node includes a scheduling module and a conversion module.

    [0156] The scheduling module of each network node may schedule CPE connected to a user node corresponding to the network node. The management entity obtains, from the network node, an error signal corresponding to the CPE, obtains a first crosstalk coefficient based on an error signal corresponding to each scheduled CPE, and sends the first crosstalk coefficient to the crosstalk cancellation module.

    [0157] The conversion module in the network node may receive an upstream signal sent by the CPE, where the upstream signal is a time domain signal; convert the upstream signal into a frequency domain signal; and send the converted upstream signal in a form of the frequency domain signal to the crosstalk cancellation encoding module. The crosstalk cancellation encoding module cancels a crosstalk cancellation signal in the upstream signal based on the upstream signal of each scheduled CPE and the first crosstalk coefficient.

    [0158] Optionally, the conversion module of the network node may include a receiving unit, and the conversion module may receive, by using the receiving unit, the upstream signal sent by the CPE, and then convert the upstream signal into a frequency domain signal. Step 602: When the first network node communicates with the second CPE, cancel, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a crosstalk signal in an upstream signal sent by the second CPE.

    [0159] The first update factor is used to represent a change of the first crosstalk coefficient between the first line and the at least one second line or a change of crosstalk signals generated on the first line and the at least one second line.

    [0160] The first update factor includes a first transmission parameter of a channel corresponding to one CPE connected to the first user node and a first transmission parameter of a channel corresponding to one CPE connected to each of the at least one second user node. A first transmission parameter of a channel corresponding to CPE may be a time advance (Time Advanced, TA) and/or a programmable gain adjuster (Programmable gain adjust, PGA) value of the CPE, and may further include another parameter, for example, may further include at least one of an SA, a UPBO (Upstream Power Back Off, upstream power back-off parameter), a PCB (Power Cut Back, power cutback parameter), a TSSi, a gain, and a VGA.

    [0161] The second CPE may be the first CPE or CPE other than the first CPE. The crosstalk signal in the upstream signal sent by the CPE is canceled in any slot after the first crosstalk coefficient between the first line and the at least one second line is obtained. In a current slot, one CPE that communicates with each second network node is referred to as third CPE.

    [0162] This step may be as follows: The upstream signal sent by the second CPE and an upstream signal sent by the third CPE that communicates with each second network node are received in the current slot; a crosstalk cancellation signal is generated based on the upstream signal sent by the second CPE, the upstream signal sent by each third CPE, the first crosstalk coefficient between the first line and the at least one second line, and the first update factor; and the crosstalk signal in the upstream signal sent by the second CPE is canceled by using the crosstalk cancellation signal.

    [0163] Optionally, referring to FIG. 2-2, a scheduling module of the first network node may schedule CPE connected to the first user node, namely, the second CPE. A conversion module of the first network node receives the upstream signal sent by the second CPE, converts the upstream signal into a frequency domain signal, and sends the converted upstream signal in a form of the frequency domain signal to a crosstalk cancellation encoding module. The crosstalk cancellation encoding module cancels a crosstalk cancellation signal in the upstream signal of the second CPE based on an upstream signal of each scheduled CPE, the first crosstalk coefficient, and the first update factor. For each second line, a crosstalk signal in an upstream signal sent by each third CPE is canceled in the foregoing manner. The following still uses the twisted-pair communications system shown in FIG. 1-1 as an example for detailed description.

    [0164] For example, in the current slot, A2 communicates with the first network node P1, B1 communicates with the second network node P2, C2 communicates with the second network node P3, and D3 communicates with the second network node P4. The network device may receive an upstream signal XA2 sent by A2, an upstream signal XB1 sent by B1, an upstream signal XC2 sent by C2, and an upstream signal XD3 sent by D3; generate a crosstalk cancellation signal KA2 based on the first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4, and the upstream signals XA2, XB1, XC2, and XD3; and cancel, by using the crosstalk cancellation signal KA2, a crosstalk signal in the upstream signal XA2 sent by A2.

    [0165] For the second line 2, the network device generates a crosstalk cancellation signal KB1 based on the first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4, and the upstream signals XA2, XB1, XC2, and XD3, and cancels, by using the crosstalk cancellation signal KB1, a crosstalk signal in the upstream signal XB1 sent by B1.

    [0166] For the second line 3 and the second line 4, a crosstalk signal in the upstream signal sent by C2 and a crosstalk signal in the upstream signal sent by D3 are both canceled according to the foregoing method.

    [0167] A more detailed implementation process of this embodiment has a plurality of manners. Three instances shown in FIG. 7, FIG. 8, and FIG. 9 are listed in this application, and other instances are not listed one by one. Detailed processes of the three instances are described later.

    [0168] In this embodiment of this application, after the first crosstalk coefficient between the first line and the at least one second line is obtained, when the first network node communicates with the second CPE, the crosstalk signal in the upstream signal sent by the second CPE needs to be canceled based on only the first update factor and the first crosstalk coefficient between the first line and the at least one second line. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced. The crosstalk signal cancellation method in this embodiment is also applicable to a near-end crosstalk cancellation scenario.

    [0169] A detailed process of crosstalk signal cancellation in the method in the embodiment shown in FIG. 6 is shown as follows. Referring to FIG. 7, a process of the method may include the following steps.

    [0170] Step 701: A network device obtains a first update factor and a TA of each CPE, where the first update factor includes a first transmission parameter of a channel corresponding to one CPE connected to a first user node and a first transmission parameter of a channel corresponding to one CPE connected to each second user node.

    [0171] This step may be implemented by using the following procedures 7011 to 7013, including:
    7011: The network device obtains a TA of each CPE connected to the first user node and a transmission parameter of a channel corresponding to one CPE connected to the first user node.

    [0172] The transmission parameter of the channel corresponding to the CPE may include a PGA value of the CPE, and may further include another parameter, for example, may further include at least one of an SA, a UPBO, a PCB, a TSSi, a gain, and a VGA. Specifically, the network device schedules all the CPEs connected to the first user node, and upon scheduling CPE, sends a measurement request to the CPE on a first line by using a first network node. The CPE receives the measurement request, and sends a measurement signal to the network device based on the measurement request. The network device receives the measurement signal, and obtains a PGA value of the CPE based on the measurement signal. The network device obtains, in the foregoing manner, PGA values and measurement signals of all other CPEs connected to the first user node, and selects a PGA value of one CPE from the PGA values all the CPEs connected to the first user node, as a transmission parameter of a channel corresponding to the CPE. The TA of each CPE is obtained based on a reference signal and the measurement signal of each CPE, where the reference signal is a measurement signal of any one of the CPEs. 7012: For each second user node, obtain a TA of each CPE connected to the second user node and a transmission parameter of a channel corresponding to one CPE connected to the second user node.

    [0173] Specifically, the network device schedules all the CPEs connected to the second user node, and upon scheduling CPE, sends a measurement request to the CPE on a second line by using a second network node. The CPE receives the measurement request, and sends a measurement signal to the network device based on the measurement request. The network device receives the measurement signal, and obtains a PGA value of the CPE based on the measurement signal. The network device obtains, in the foregoing manner, PGA values and measurement signals of all other CPEs connected to the second user node, and selects a PGA value of one CPE from the PGA values all the CPEs connected to the second user node, as a transmission parameter of a channel corresponding to the CPE. The TA of each CPE is obtained based on a reference signal and the measurement signal of each CPE, where the reference signal is a measurement signal of any one of the CPEs.

    [0174] 7013: Generate the first update factor based on the selected transmission parameters of the channels corresponding to the CPEs. In other words, the first update factor includes the selected transmission parameters of the channels corresponding to the CPEs.

    [0175] Step 702: Send the TA of each CPE to each CPE.

    [0176] Specifically, for each CPE connected to the first user node, the network device may send, on the first line by using the first network node, the TA of each CPE to each CPE connected to the first user node. For each second user node, the network device may send, on the second line by using the second network node, the TA of each CPE to each CPE connected to the second user node.

    [0177] For any user node, all CPEs connected to the user node send upstream signals to the network device based on respective TAs. The network device receives the upstream signals of the CPEs, and start locations of the received upstream signals of the CPEs are the same, that is, phases of the received upstream signals of the CPEs are the same. Step 703: When the first network node communicates with first CPE, obtain a first crosstalk coefficient between the first line and at least one second line based on an error signal corresponding to the first CPE.

    [0178] For a detailed implementation process of this step, refer to related content described in the corresponding step 601. Details are not described herein again.

    [0179] Step 704: When the first network node communicates with second CPE, cancel, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE.

    [0180] In a current slot, the second CPE may send an upstream signal to the network device based on a TA of the second CPE, and third CPE that communicates with each second network node may also send an upstream signal to the network device based on a TA of the third CPE. The network device may receive the upstream signal of the second CPE and the upstream signal of each third CPE.

    [0181] During actual implementation, this step may be implemented by using the following steps 7041 to 7043, which are as follows:
    7041: Adjust the upstream signal of the second CPE based on the first transmission parameter of the channel corresponding to the CPE connected to the first user node, to obtain a target signal of the second CPE.

    [0182] Optionally, an amplitude of the upstream signal of the second CPE is adjusted based on a PGA value included in the first transmission parameter of the channel corresponding to the CPE connected to the first user node, to obtain the target signal of the second CPE.

    [0183] For example, in the current slot, A2 communicates with the first network node P1, B1 communicates with the second network node P2, C2 communicates with the second network node P3, and D3 communicates with the second network node P4. The network device may receive an upstream signal XA2 sent by A2, and adjust an amplitude of the upstream signal XA2 of A2 based on the PGA value included in the first transmission parameter of the channel corresponding to the CPE connected to the first user node, to obtain a target signal X'A2 of A2.

    [0184] 7042: For each second user node, adjust, based on the first transmission parameter of the channel corresponding to the CPE connected to the second user node, the upstream signal of the third CPE that communicates with the second network node, to obtain a target signal of the third CPE.

    [0185] For example, the network device may receive an upstream signal XB1 sent by B1, and adjust an amplitude of the upstream signal XB1 of B1 based on a PGA value included in a first transmission parameter of a channel corresponding to one CPE connected to a second user node P2, to obtain a target signal X'B1 of B1.

    [0186] For another example, the network device may receive an upstream signal XC2 sent by C2, and adjust an amplitude of the upstream signal XC2 of C2 based on a PGA value included in a first transmission parameter of a channel corresponding to one CPE connected to a second user node P3, to obtain a target signal X'C2 of C2.

    [0187] For still another example, the network device may receive an upstream signal XD3 sent by D3, and adjust, based on a PGA value included in a first transmission parameter of a channel corresponding to one CPE connected to a second user node P4, an amplitude of the downstream signal XD3 sent by D3, to obtain a target signal X'D3 of D3.

    [0188] 7043: Cancel a crosstalk signal in the target signal of the second CPE based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node.

    [0189] Specifically, a crosstalk cancellation signal is generated based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node, and a crosstalk signal in the target signal of the second CPE is canceled by using the crosstalk cancellation signal.

    [0190] In this step, when the second CPE communicates with the first network node, a crosstalk cancellation signal may also be directly generated based on the first crosstalk coefficient between the first line and the at least one second line, the upstream signal sent by the second CPE, and the upstream signal sent by the third CPE that communicates with each second network node, and a crosstalk signal in the upstream signal sent by the second CPE is canceled by using the crosstalk cancellation signal.

    [0191] For each second line, a crosstalk signal in an upstream signal of each third CPE is canceled in the foregoing manner. The following still uses the twisted-pair communications system shown in FIG. 1-1 as an example for detailed description. For example, in a current slot, the network device generates a crosstalk cancellation signal KA2 based on the first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4, the target signal X'A2 of A2, the target signal X'B1 of B1, the target signal X'C2 of C2, and the target signal X'D3 of D3, and cancels a crosstalk signal in the target signal X'A3 of A2 by using the crosstalk cancellation signal KA2.

    [0192] For the second line 2, the network device generates a crosstalk cancellation signal KB1 based on a first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4, the target signal X'A2 of A2, the target signal X'B1 of B1, the target signal X'C2 of C2, and the target signal X'D3 of D3, and cancels a crosstalk signal in the target signal X'B1 of B1 by using the crosstalk cancellation signal KB1.

    [0193] For the second line 3 and the second line 4, a crosstalk signal in the upstream signal of C2 and a crosstalk signal in the upstream signal of D3 are both canceled according to the foregoing method.

    [0194] In this embodiment of this application, after the first update factor and the first crosstalk coefficient between the first line and the at least one second line are obtained, when the first network node communicates with the second CPE, a downstream signal sent to the second CPE is adjusted based on the first update factor, to obtain the target signal of the second CPE; a downstream signal sent to CPE that communicates with each second network node is adjusted based on the first update factor, to obtain a target signal of the CPE that communicates with each second network node; and then the crosstalk signal in the upstream signal of the second CPE is canceled based on the target signal of the second CPE, the target signal of the CPE that communicates with each second network node, and the first crosstalk coefficient between the first line and the at least one second line. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced. The crosstalk signal cancellation method in this embodiment is also applicable to a near-end crosstalk cancellation scenario.

    [0195] A detailed process of crosstalk signal cancellation in the method in the embodiment shown in FIG. 6 is shown as follows. Referring to FIG. 8, a process of the method may include the following steps.

    [0196] Step 801: When a first network node communicates with first CPE, obtain a first crosstalk coefficient between a first line and at least one second line based on an error signal corresponding to the first CPE, where the first crosstalk coefficient is used to precode a signal to be sent to the first CPE.

    [0197] For a detailed implementation process of this step, refer to related content described in the corresponding step 601. Details are not described herein again.

    [0198] In the first slot, one CPE that communicates with a second network node is referred to as fourth CPE. Therefore, the first crosstalk coefficient between the first line and the at least one second line includes a crosstalk coefficient of the first CPE to the first CPE and a crosstalk coefficient of each fourth CPE to the first CPE.

    [0199] For example, in the architecture shown in FIG. 1-1, it is assumed that in a current slot, A1 communicates with the first network node P1, B1 communicates with the second network node P2, C1 communicates with the second network node P3, and D1 communicates with the second network node P4. A first crosstalk coefficient that is between a first line 1 and second lines 2, 3, and 4 and that is obtained by a network device may include a crosstalk coefficient a11 of A1 to A1, a crosstalk coefficient a12 of B1 to A1, a crosstalk coefficient a13 of C1 to A1, and a crosstalk coefficient a14 of D1 to A1.

    [0200] Step 802: The network device obtains a first update factor, where the first update factor includes a first transmission parameter of a channel corresponding to the first CPE and a first transmission parameter of a channel corresponding to each fourth CPE.

    [0201] Step 801 and step 802 may occur in a same slot, and the two steps are not necessarily performed in sequence. Step 801 may be performed before step 802, or step 802 may be performed before step 801, or step 401 and step 402 may be performed simultaneously.

    [0202] Before this step, the network device obtains a TA of each CPE. For a specific obtaining process, refer to related content in step 701. Details are not described herein again. The first transmission parameter of the channel corresponding to the first CPE includes a TA of the first CPE, and may further include a parameter such as an SA and/or a PGA. The first transmission parameter of the channel corresponding to the fourth CPE includes a TA of the fourth CPE, and may further include a parameter such as an SA and/or a PGA.

    [0203] Optionally, one PGA may be selected from PGAs of all CPEs connected to a first user node, as a PGA corresponding to the first user node. For each second user node, one PGA may be selected from PGAs of all CPEs connected to a second user node, as a PGA corresponding to the second user node.

    [0204] Step 803: When the first network node communicates with second CPE, adjust the first crosstalk coefficient between the first line and the at least one second line based on a second update factor and the first update factor, to obtain a second crosstalk coefficient between the first line and the at least one second line.

    [0205] The second update factor includes a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to third CPE that communicates with each second network node. The second transmission parameter of the channel corresponding to the second CPE may be a TA of the second CPE, and the second transmission parameter of the channel corresponding to the third CPE is a TA of the third CPE.

    [0206] Specifically, the first crosstalk coefficient between the first line and the at least one second line may be adjusted based on the second update factor and the first update factor by using the following formula (11), to obtain the second crosstalk coefficient between the first line and the at least one second line.



    [0207] In the foregoing formula (11), RxGain(t1) is the first update factor, RxGain(t2) is the second update factor, C(t1) is the first crosstalk coefficient, and C(t2) is the second crosstalk coefficient.

    [0208] For each second line, a first crosstalk coefficient between the second line, and the first line and the other second lines is also adjusted based on the second update factor and the first update factor, to obtain a second crosstalk coefficient between the second line, and the first line and the other second lines.

    [0209] For example, a11, a12, a13, and a14 included in the first crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4 are adjusted based on the second update factor and the first update factor, to obtain a second crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4, including a21, a22, a23, and a24.

    [0210] For another example, b11, b12, b13, and b14 included in a first crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4 are adjusted based on the second update factor and the first update factor, to obtain a second crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4, including b21, b22, b23, and b24.

    [0211] Step 804: Cancel a crosstalk signal in an upstream signal of the second CPE based on the second crosstalk coefficient between the first line and the at least one second line, the upstream signal sent by the second CPE, and a downstream signal sent by each third CPE.

    [0212] Specifically, the upstream signal sent by the second CPE and an upstream signal sent by third CPE that communicates with each second network node are received; a crosstalk cancellation signal is generated based on the second crosstalk coefficient between the first line and the at least one second line, the upstream signal of the second CPE, and the upstream signal of the third CPE that communicates with each second network node; and the crosstalk signal in the upstream signal of the second CPE is canceled by using the crosstalk cancellation signal.

    [0213] Optionally, an amplitude of the upstream signal sent by the second CPE may be adjusted based on the PGA corresponding to the first user node, to obtain a target signal of the second CPE. In addition, for each third CPE, an amplitude of the upstream signal sent by the third CPE is adjusted based on the PGA corresponding to the second user node connected to the third CPE, to obtain a target signal of the third CPE. Then, the crosstalk cancellation signal may be generated based on the second crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node, and the crosstalk signal in the target signal of the second CPE is canceled by using the crosstalk cancellation signal.

    [0214] For example, in the current slot, A2 communicates with the first network node P1, B1 communicates with the second network node P2, C2 communicates with the second network node P3, and D3 communicates with the second network node P4. The network device may receive an upstream signal XA2 sent by A2, an upstream signal XB1 sent by B1, an upstream signal XC2 sent by C2, and an upstream signal XD3 sent by D3; generate a crosstalk cancellation signal KA2 based on the second crosstalk coefficient between the first line 1 and the second lines 2, 3, and 4, and the upstream signals XA2, XB1, XC2, and XD3; and cancel, by using the crosstalk cancellation signal KA2, a crosstalk signal in the upstream signal XA2 sent by A2.

    [0215] For the second line 2, the network device generates a crosstalk cancellation signal KB1 based on the second crosstalk coefficient between the second line 2, and the first line 1 and the second lines 3 and 4, and the upstream signals XA2, XB1, XC2, and XD3, and cancels a crosstalk signal in a fourth downstream signal XB1 by using the crosstalk cancellation signal KB1.

    [0216] For the second line 3 and the second line 4, a crosstalk signal in the upstream signal of C2 and a crosstalk signal in the upstream signal of D3 are both canceled according to the foregoing method.

    [0217] In this embodiment of this application, after the first update factor and the first crosstalk coefficient between the first line and the at least one second line are obtained, when the first network node communicates with the second CPE, the first crosstalk coefficient between the first line and the at least one second line is adjusted based on the first update factor and the second update factor, to obtain the second crosstalk coefficient between the first line and the at least one second line; and then the crosstalk signal in the upstream signal of the second CPE is canceled based on the upstream signal of the second CPE, the upstream signal of the third CPE that communicates with each second network node, and the second crosstalk coefficient between the first line and the at least one second line. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced. The crosstalk signal cancellation method in this embodiment is also applicable to a near-end crosstalk cancellation scenario.

    [0218] A detailed process of crosstalk signal cancellation in the method in the embodiment shown in FIG. 6 is shown as follows. Referring to FIG. 9, a process of the method may include the following steps.

    [0219] Step 901 is the same as step 801, and details are not described herein again.

    [0220] Step 902: A network device obtains a first update factor, where the first update factor includes a first transmission parameter of a channel corresponding to first CPE and a first transmission parameter of a channel corresponding to each fourth CPE.

    [0221] Step 901 and step 902 may occur in a same slot, and the two steps are not necessarily performed in sequence. Step 901 may be performed before step 902, or step 902 may be performed before step 901, or step 401 and step 402 may be performed simultaneously.

    [0222] Before this step, the network device obtains a TA and a PGA of each CPE. For a specific obtaining process, refer to related content in step 701. Details are not described herein again. The first transmission parameter of the channel corresponding to the first CPE includes a TA of the first CPE, and may further include a parameter such as an SA and/or a PGA. The first transmission parameter of the channel corresponding to the fourth CPE includes a TA of the fourth CPE, and may further include a parameter such as an SA and/or a PGA.

    [0223] Optionally, one PGA may be selected from PGAs of all CPEs connected to a first user node, as a PGA corresponding to the first user node. For each second user node, one PGA may be selected from PGAs of all CPEs connected to a second user node, as a PGA corresponding to the second user node.

    [0224] Step 903: When a first network node communicates with second CPE, generate a first crosstalk cancellation signal based on a first crosstalk coefficient between a first line and at least one second line, a downstream signal sent by the second CPE, and an upstream signal sent by third CPE that communicates with each second network node. It is assumed that C denotes the first crosstalk coefficient between the first line and the at least one second line, and X(t2) denotes the upstream signal sent by the second CPE and the upstream signal sent by the third CPE that communicates with each second network node. Therefore, the generated first crosstalk cancellation signal is K=C●X(t2). The generated first crosstalk cancellation signal corresponds to the second CPE.

    [0225] For example, in the current slot, A2 communicates with the first network node P1, B1 communicates with the second network node P2, C2 communicates with the second network node P3, and D3 communicates with the second network node P4. It is assumed that a first crosstalk coefficient P(A) between a first line 1 and second lines 2, 3, and 4 includes a11, a12, a13, and a14.

    [0226] The network device may receive an upstream signal XA2 sent by A2, an upstream signal XB1 sent by B 1, an upstream signal XC2 sent by C2, and an upstream signal XD3 sent by D3; and generate, based on the first crosstalk coefficient C(A) between the first line 1 and the second lines 2, 3, and 4, and the upstream signal X(t2), a first crosstalk cancellation signal KA2 = C(A)●X(t2) corresponding to A2, where X(t2) includes the upstream signals XA2, XB1, XC2, and XD3.

    [0227] For each third CPE, a first crosstalk signal corresponding to each third CPE is generated in the foregoing manner of generating the first crosstalk signal. For example, for B1, the network device generates, based on a first crosstalk coefficient C(B) between the first line 2, and the first line 1 and the second lines 3 and 4, the upstream signal X(t2), a first crosstalk cancellation signal KB1 = C(B)●X(t2) corresponding to B1, where C(B) includes b11, b12, b13, and b14.

    [0228] A first crosstalk cancellation signal corresponding to C2 and a first crosstalk cancellation signal corresponding to D3 are generated in the same manner.

    [0229] Each upstream signal in X(t2) may be an adjusted upstream signal, and an adjustment process may be as follows:
    For an upstream signal sent by any CPE, an amplitude of the upstream signal sent by the CPE is adjusted based on a PGA corresponding to a user node connected to the CPE, and X(t2) may include an adjusted upstream signal.

    [0230] Step 904: Adjust the first crosstalk cancellation signal based on a second update factor and the first update factor, to obtain a second crosstalk cancellation signal, where the second update factor includes a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to the third CPE that communicates with each second network node. The second transmission parameter of the channel corresponding to the second CPE may include a TA of the second CPE, and the second transmission parameter of the channel corresponding to the third CPE may include a TA of the third CPE. Specifically, the first crosstalk cancellation signal corresponding to the second CPE is adjusted based on the second update factor and the first update factor by using the following formula (12), to obtain a second crosstalk cancellation signal corresponding to the second CPE.



    [0231] In the foregoing formula (12), RxGain(t1) is the first update factor, RxGain(t2) is the second update factor, and K' is the second crosstalk cancellation signal.

    [0232] For example, the first crosstalk cancellation signal KA2 corresponding to A2 is adjusted by using the foregoing formula (12), to obtain a second crosstalk signal corresponding to A2, that is, K'A2=RxGain(t2)·(RxGain(t1))-1·KA2.

    [0233] For another example, the first crosstalk cancellation signal KB1 corresponding to B1 is generated by using the foregoing formula (10), to obtain a second crosstalk signal corresponding to B1, that is, K'B1=RxGain(t2)·(RxGain(t1))-1·KB1.

    [0234] Step 905: Cancel, by using the second crosstalk cancellation signal, a crosstalk signal in the upstream signal sent by the second CPE.

    [0235] For example, for A2, a crosstalk signal in the upstream signal XA2 sent by A2 is canceled by using the second crosstalk signal K'A2 corresponding to A2. For another example, for B1, a crosstalk signal in the upstream signal XB1 sent by B1 is canceled by using the second crosstalk signal K'B1 corresponding to B1.

    [0236] In this embodiment of this application, after the first update factor and the first crosstalk coefficient between the first line and the at least one second line are obtained, when the first network node communicates with the second CPE, the first crosstalk cancellation signal is generated based on the first crosstalk coefficient, the downstream signal of the second CPE, and the downstream signal of the third CPE that communicates with each second network node; the first crosstalk coefficient is adjusted based on the first update factor and the second update factor, to obtain a second crosstalk coefficient; and then the crosstalk signal in the upstream signal sent by the second CPE is canceled based on the downstream signal of the second CPE and the second crosstalk signal. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced. The crosstalk signal cancellation method in this embodiment is also applicable to a near-end crosstalk cancellation scenario.

    [0237] Referring to FIG. 10-1, an embodiment of this application provides a crosstalk signal cancellation apparatus 1000. The apparatus may be the network device or a part of the network device in the embodiments shown in FIG. 1-1, FIG. 2-1, FIG. 2-2, FIG. 3, FIG. 4, FIG. 5, FIG. 6, FIG. 7, FIG. 8, or FIG. 9.

    [0238] The apparatus 1000 includes a processing unit 1001. The processing unit 1001 may include the management entity and/or the crosstalk cancellation encoding module in the network device shown in FIG. 2-2, and may be connected to the first network node and the at least one second network node in the network device, to implement functions of the management entity and/or the crosstalk cancellation encoding module.

    [0239] Optionally, referring to FIG. 10-2, the apparatus 1000 further includes a first network node and at least one second network node. For any one of the first network node and the at least one second network node, the network node may include a receiving unit 1002 and a sending unit 1003. The processing unit 1001 may be connected to the receiving unit 1002 and the sending unit 1003 in the network node. The receiving unit 1002 and the sending unit 1003 may be respectively the receiving unit and the sending unit that are included in the conversion module in the network device shown in FIG. 2-2.

    [0240] The apparatus 1000 is applied to a twisted-pair communications system, the twisted-pair communications system includes a first line and at least one second line, the first line connects a first network node and a first user node, and the at least one second line connects at least one second network node and at least one second user node; crosstalk exists between the first line and the at least one second line; the first user node is connected to at least first customer-premises equipment CPE and second CPE; and the first CPE and the second CPE communicate with the first network node in a time division multiplexing manner.

    [0241] The processing unit 1001 is configured to: when the first network node communicates with the first CPE, obtain a first crosstalk coefficient between the first line and the at least one second line based on an error signal fed back by the first CPE, where the first crosstalk coefficient is used to precode a signal to be sent to the first CPE.

    [0242] The processing unit 1001 is further configured to: when the first network node communicates with the second CPE, precode, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE, where the first update factor is used to represent a change of the first crosstalk coefficient between the first line and the at least one second line or a change of crosstalk signals generated on the first line and the at least one second line. Optionally, the first update factor includes a first transmission parameter of a channel corresponding to one CPE connected to the first user node and a first transmission parameter of a channel corresponding to one CPE connected to each of the at least one second user node.

    [0243] Optionally, the processing unit 1001 may receive, by using the receiving unit 1002 in the first network node, the error signal fed back by the first CPE.

    [0244] Optionally, that the processing unit 1001 performs the operation of precoding, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE includes:

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to the first user node, a downstream signal sent to the second CPE, to obtain a target signal of the second CPE;

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to each second user node, a downstream signal sent to third CPE that communicates with each of the at least one second network node, to obtain a target signal of the third CPE that communicates with each second network node; and

    precoding, based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node, the signal to be sent to the second CPE.



    [0245] Optionally, that the unit 1001 performs the operation of precoding, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE includes:

    adjusting the first crosstalk coefficient between the first line and the at least one second line based on a second update factor and the first update factor,

    to obtain a second crosstalk coefficient between the first line and the at least one second line, where the second update factor includes a second transmission parameter of a channel corresponding to the second CPE and

    a second transmission parameter of a channel corresponding to third CPE that communicates with each second network node; and

    precoding, based on the second crosstalk coefficient between the first line and the at least one second line, a downstream signal sent to the second CPE, and a downstream signal sent to the third CPE that communicates with each second network node, the signal to be sent to the second CPE.



    [0246] Optionally, that the processing unit 1001 performs the operation of precoding, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE includes:

    generating a first crosstalk cancellation signal based on the first crosstalk coefficient between the first line and the at least one second line, a downstream signal sent to the second CPE, and a downstream signal sent to third CPE that communicates with each second network node;

    adjusting the first crosstalk cancellation signal based on a second update factor and the first update factor, to obtain a second crosstalk cancellation signal, where the second update factor includes a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to a third CPE that communicates with each second network node; and generating, based on the second crosstalk cancellation signal and the downstream signal sent to the second CPE, the signal to be sent to the second CPE.



    [0247] Optionally, the processing unit 1001 is further configured to: when the first network node communicates with the second CPE, cancel, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE.

    [0248] Optionally, that the processing unit 1001 performs the operation of canceling, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE includes:

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to the first user node, the upstream signal sent by the second CPE, to obtain the target signal of the second CPE;

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to each second user node, an upstream signal sent by the third CPE that communicates with each of the at least one second network node, to obtain the target signal of the third CPE that communicates with each second network node; and

    canceling a crosstalk signal in the target signal of the second CPE based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node.



    [0249] Optionally, the receiving unit 1002 is configured to receive measurement signals sent by all CPEs connected to a target user node, where the target user node is any user node in the twisted-pair communications system;

    the processing unit 1001 is further configured to obtain timing advances TAs of the CPEs based on the measurement signals of the CPEs and a reference signal, where the reference signal is a measurement signal of any one of the CPEs; and

    the sending unit 1003 is configured to send the TAs of the CPEs to the CPEs respectively, so that the CPEs each send an upstream signal based on the respective TAs.



    [0250] Optionally, that the processing unit 1001 performs the operation of canceling, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE includes:

    adjusting the first crosstalk coefficient between the first line and the at least one second line based on the second update factor and the first update factor, to obtain the second crosstalk coefficient between the first line and the at least one second line, where the second update factor includes the second transmission parameter of the channel corresponding to the second CPE and the second transmission parameter of the channel corresponding to the third CPE that communicates with each second network node; and

    canceling, based on the second crosstalk coefficient between the first line and the at least one second line, the upstream signal sent by the second CPE, and an upstream signal sent by the third CPE that communicates with each second network node, the crosstalk signal in the upstream signal sent by the second CPE.



    [0251] Optionally, that the processing unit 1001 performs the operation of canceling, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE includes:

    generating the first crosstalk cancellation signal based on the first crosstalk coefficient between the first line and the at least one second line, the upstream signal sent by the second CPE, and an upstream signal sent by the third CPE that communicates with each second network node;

    adjusting the first crosstalk cancellation signal based on the second update factor and the first update factor, to obtain the second crosstalk cancellation signal, where the second update factor includes the second transmission parameter of the channel corresponding to the second CPE and the second transmission parameter of the channel corresponding to the third CPE that communicates with each second network node; and

    canceling, based on the second crosstalk cancellation signal, the crosstalk signal in the upstream signal sent by the second CPE.



    [0252] Optionally, the processing unit 1001 is further configured to: obtain a transmission parameter of a channel corresponding to one CPE connected to the first user node and a transmission parameter of a channel corresponding to one CPE connected to each second user node, and generate the first update factor based on the obtained transmission parameters of the channels corresponding to the CPEs.

    [0253] Optionally, the processing unit 1001 is further configured to: when the first network node communicates with the first CPE, obtain a transmission parameter of a channel corresponding to the first CPE and a transmission parameter of a channel corresponding to CPE that communicates with each of the at least one second network node, and form the first update factor by using the transmission parameter of the channel corresponding to the first CPE and the transmission parameter of the channel corresponding to the CPE that communicates with each second network node.

    [0254] Optionally, the processing unit 1001 is further configured to: when the first network node communicates with the first CPE again, cancel a crosstalk signal in a signal of the first CPE based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor.

    [0255] In this embodiment of this application, after the first crosstalk coefficient between the first line and the at least one second line is obtained, when the first network node communicates with the second CPE, a crosstalk signal generated on the first line by the twisted-pair communications system can be canceled based on only the first update factor and the first crosstalk coefficient between the first line and the at least one second line. Therefore, there is no need to store, in the network device, first crosstalk coefficients corresponding to all the CPEs, so that occupation of storage space is reduced. The crosstalk signal cancellation method in this embodiment is also applicable to a near-end crosstalk cancellation scenario.

    [0256] FIG. 11 is another schematic diagram of a crosstalk signal cancellation apparatus 1100 according to an embodiment of this application. The apparatus 1100 may be an application-specific integrated circuit, one or more field-programmable gate arrays (Field-Programmable Gate Array, FPGA), or a programmable logic device (Programmable Logic Device, PLD), a controller, a state machine, a gate logic, a discrete hardware component, any other suitable circuit, or any combination of circuits, a chip, a board, a communications device, or the like that can perform various functions described throughout the present invention.

    [0257] The apparatus 1100 is configured into the network device in the embodiment shown in FIG. 1-1, FIG. 2-1, FIG. 3, FIG. 4, FIG. 5, FIG. 6, FIG. 7, FIG. 8, or FIG. 9, or into the apparatus in the embodiment shown in FIG. 10-1, and may be configured to perform the operations performed by the network device in the method in FIG. 2-1, FIG. 3, FIG. 4, FIG. 5, FIG. 6, FIG. 7, FIG. 8, or FIG. 9. As shown in FIG. 11, the apparatus 1100 includes an input interface 1101, an output interface 1102, a processor 1103, a memory 1104, a first network node 1105, and at least one second network node 1106. The input interface 1101, the output interface 1102, the processor 1103, the memory 1104, the first network node 1105, and the at least one second network node 1106 may be connected by using a bus system 1107.

    [0258] The memory 1104 is configured to store a program, an instruction, or code. The processor 1103 is configured to execute the program, the instruction, or the code in the memory 1104, to control the input interface 1101 to receive a signal, control the output interface 1102 to send a signal, and implement the steps and functions implemented by the network device in the implementation corresponding to FIG. 2-1, FIG. 3, FIG. 4, FIG. 5, FIG. 6, FIG. 7, FIG. 8, or FIG. 9. Details are not described herein again. For specific implementations of the input interface 1101, the processor 1103, and the output interface 1102, refer correspondingly to detailed descriptions of the receiving unit 1102, the processing unit 1101, and the sending unit 1103 in FIG. 10-1. Details are not described herein again.

    [0259] The sequence numbers of the foregoing embodiments of this application are merely for illustrative purposes, and are not intended to indicate priorities of the embodiments.

    [0260] A person of ordinary skill in the art may understand that all or some of the steps of the embodiments may be implemented by hardware or a program instructing related hardware. The program may be stored in a computer-readable storage medium. The storage medium may include: a read-only memory, a magnetic disk, or an optical disc. The foregoing descriptions are merely optional embodiments of this application, but are not intended to limit this application. Any modification, equivalent replacement, or improvement made without departing from the spirit and principle of this application should fall within the protection scope of this application.


    Claims

    1. A crosstalk signal cancellation method, wherein the method is applied to a twisted-pair communications system, the twisted-pair communications system comprises a first line and at least one second line, the first line connects a first network node and a first user node, and the at least one second line connects at least one second network node and at least one second user node; crosstalk exists between the first line and the at least one second line; the first user node is connected to at least first customer-premises equipment CPE and second CPE; and the first CPE and the second CPE communicate with the first network node in a time division multiplexing manner; wherein the method comprises:

    when the first network node communicates with the first CPE, obtaining a first crosstalk coefficient between the first line and the at least one second line based on an error signal fed back by the first CPE, wherein the first crosstalk coefficient is used to precode a signal to be sent to the first CPE; and

    when the first network node communicates with the second CPE, precoding, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE, wherein the first update factor is used to represent a change of the first crosstalk coefficient between the first line and the at least one second line or a change of crosstalk signals generated on the first line and the at least one second line.


     
    2. The method according to claim 1, wherein the first update factor comprises a first transmission parameter of a channel corresponding to one CPE connected to the first user node and a first transmission parameter of a channel corresponding to one CPE connected to each of the at least one second user node.
     
    3. The method according to claim 2, wherein the precoding, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE comprises:

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to the first user node, a downstream signal sent to the second CPE, to obtain a target signal of the second CPE;

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to each second user node, a downstream signal sent to third CPE that communicates with each of the at least one second network node, to obtain a target signal of the third CPE that communicates with each second network node; and

    precoding, based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node, the signal to be sent to the second CPE.


     
    4. The method according to claim 2, wherein the precoding, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE comprises:

    adjusting the first crosstalk coefficient between the first line and the at least one second line based on a second update factor and the first update factor, to obtain a second crosstalk coefficient between the first line and the at least one second line, wherein the second update factor comprises a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to third CPE that communicates with each second network node; and

    precoding, based on the second crosstalk coefficient between the first line and the at least one second line, a downstream signal sent to the second CPE, and a downstream signal sent to the third CPE that communicates with each second network node, the signal to be sent to the second CPE.


     
    5. The method according to claim 2, wherein the precoding, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE comprises:

    generating a first crosstalk cancellation signal based on the first crosstalk coefficient between the first line and the at least one second line, a downstream signal sent to the second CPE, and a downstream signal sent to third CPE that communicates with each second network node;

    adjusting the first crosstalk cancellation signal based on a second update factor and the first update factor, to obtain a second crosstalk cancellation signal, wherein the second update factor comprises a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to third CPE that communicates with each second network node; and

    generating, based on the second crosstalk cancellation signal and the downstream signal sent to the second CPE, the signal to be sent to the second CPE.


     
    6. The method according to any one of claims 1 to 5, wherein the method further comprises:
    when the first network node communicates with the second CPE, canceling, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE.
     
    7. The method according to claim 6, wherein the canceling, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE comprises:

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to the first user node, the upstream signal sent by the second CPE, to obtain the target signal of the second CPE;

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to each second user node, an upstream signal sent by the third CPE that communicates with each of the at least one second network node, to obtain the target signal of the third CPE that communicates with each second network node; and

    canceling a crosstalk signal in the target signal of the second CPE based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node.


     
    8. The method according to claim 7, before the canceling a crosstalk signal in an upstream signal sent by the second CPE, further comprising:

    receiving measurement signals sent by all CPEs connected to a target user node, wherein the target user node is any user node in the twisted-pair communications system;

    obtaining timing advances TAs of the CPEs based on the measurement signals of the CPEs and a reference signal, wherein the reference signal is a measurement signal of any one of the CPEs; and

    sending the TAs of the CPEs to the CPEs respectively, so that the CPEs each send an upstream signal based on the respective TAs.


     
    9. The method according to claim 6, wherein the canceling, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE comprises:

    adjusting the first crosstalk coefficient between the first line and the at least one second line based on the second update factor and the first update factor, to obtain the second crosstalk coefficient between the first line and the at least one second line, wherein the second update factor comprises the second transmission parameter of the channel corresponding to the second CPE and the second transmission parameter of the channel corresponding to the third CPE that communicates with each second network node; and

    canceling, based on the second crosstalk coefficient between the first line and the at least one second line, the upstream signal sent by the second CPE, and an upstream signal sent by the third CPE that communicates with each second network node, the crosstalk signal in the upstream signal sent by the second CPE.


     
    10. The method according to claim 6, wherein the canceling, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE comprises:

    generating the first crosstalk cancellation signal based on the first crosstalk coefficient between the first line and the at least one second line, the upstream signal sent by the second CPE, and an upstream signal sent by the third CPE that communicates with each second network node;

    adjusting the first crosstalk cancellation signal based on the second update factor and the first update factor, to obtain the second crosstalk cancellation signal, wherein the second update factor comprises the second transmission parameter of the channel corresponding to the second CPE and the second transmission parameter of the channel corresponding to the third CPE that communicates with each second network node; and

    canceling, based on the second crosstalk cancellation signal, the crosstalk signal in the upstream signal sent by the second CPE.


     
    11. The method according to any one of claims 1 to 3, wherein the method further comprises:
    obtaining a transmission parameter of a channel corresponding to one CPE connected to the first user node and a transmission parameter of a channel corresponding to one CPE connected to each second user node, and generating the first update factor based on the obtained transmission parameters of the channels corresponding to the CPEs.
     
    12. The method according to any one of claims 1 to 10, wherein the method further comprises:
    when the first network node communicates with the first CPE, obtaining a transmission parameter of a channel corresponding to the first CPE and a transmission parameter of a channel corresponding to CPE that communicates with each of the at least one second network node, and forming the first update factor by using the transmission parameter of the channel corresponding to the first CPE and the transmission parameter of the channel corresponding to the CPE that communicates with each second network node.
     
    13. The method according to any one of claims 1 to 12, wherein the method further comprises:
    when the first network node communicates with the first CPE again, canceling a crosstalk signal in a signal of the first CPE based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor.
     
    14. A crosstalk signal cancellation apparatus, wherein the apparatus comprises a processing unit and is applied to a twisted-pair communications system, the twisted-pair communications system comprises a first line and at least one second line, the first line connects a first network node and a first user node, and the at least one second line connects at least one second network node and at least one second user node; crosstalk exists between the first line and the at least one second line; the first user node is connected to at least first customer-premises equipment CPE and second CPE; and the first CPE and the second CPE communicate with the first network node in a time division multiplexing manner; wherein
    the processing unit is configured to: when the first network node communicates with the first CPE, obtain a first crosstalk coefficient between the first line and the at least one second line based on an error signal fed back by the first CPE, wherein the first crosstalk coefficient is used to precode a signal to be sent to the first CPE; and
    the processing unit is further configured to: when the first network node communicates with the second CPE, precode, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE, wherein the first update factor is used to represent a change of the first crosstalk coefficient between the first line and the at least one second line or a change of crosstalk signals generated on the first line and the at least one second line.
     
    15. The apparatus according to claim 14, wherein the first update factor comprises a first transmission parameter of a channel corresponding to one CPE connected to the first user node and a first transmission parameter of a channel corresponding to one CPE connected to each of the at least one second user node.
     
    16. The apparatus according to claim 15, wherein that the processing unit performs the operation of precoding, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE comprises:

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to the first user node, a downstream signal sent to the second CPE, to obtain a target signal of the second CPE;

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to each second user node, a downstream signal sent to third CPE that communicates with each of the at least one second network node, to obtain a target signal of the third CPE that communicates with each second network node; and

    precoding, based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node, the signal to be sent to the second CPE.


     
    17. The apparatus according to claim 15, wherein that the unit performs the operation of precoding, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE comprises:

    adjusting the first crosstalk coefficient between the first line and the at least one second line based on a second update factor and the first update factor, to obtain a second crosstalk coefficient between the first line and the at least one second line, wherein the second update factor comprises a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to third CPE that communicates with each second network node; and

    precoding, based on the second crosstalk coefficient between the first line and the at least one second line, a downstream signal sent to the second CPE, and a downstream signal sent to the third CPE that communicates with each second network node, the signal to be sent to the second CPE.


     
    18. The apparatus according to claim 15, wherein that the processing unit performs the operation of precoding, based on the first crosstalk coefficient between the first line and the at least one second line and a first update factor, a signal to be sent to the second CPE comprises:

    generating a first crosstalk cancellation signal based on the first crosstalk coefficient between the first line and the at least one second line, a downstream signal sent to the second CPE, and a downstream signal sent to third CPE that communicates with each second network node;

    adjusting the first crosstalk cancellation signal based on a second update factor and the first update factor, to obtain a second crosstalk cancellation signal, wherein the second update factor comprises a second transmission parameter of a channel corresponding to the second CPE and a second transmission parameter of a channel corresponding to third CPE that communicates with each second network node; and

    generating, based on the second crosstalk cancellation signal and the downstream signal sent to the second CPE, the signal to be sent to the second CPE.


     
    19. The apparatus according to any one of claims 14 to 18, wherein the processing unit is further configured to: when the first network node communicates with the second CPE, cancel, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE.
     
    20. The apparatus according to claim 19, wherein that the processing unit performs the operation of canceling, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE comprises:

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to the first user node, the upstream signal sent by the second CPE, to obtain the target signal of the second CPE;

    adjusting, based on the first transmission parameter of the channel corresponding to the CPE connected to each second user node, an upstream signal sent by the third CPE that communicates with each of the at least one second network node, to obtain the target signal of the third CPE that communicates with each second network node; and

    canceling a crosstalk signal in the target signal of the second CPE based on the first crosstalk coefficient between the first line and the at least one second line, the target signal of the second CPE, and the target signal of the third CPE that communicates with each second network node.


     
    21. The apparatus according to claim 20, wherein the apparatus further comprises a receiving unit and a sending unit, wherein
    the receiving unit is configured to receive measurement signals sent by all CPEs connected to a target user node, wherein the target user node is any user node in the twisted-pair communications system;
    the processing unit is further configured to obtain timing advances TAs of the CPEs based on the measurement signals of the CPEs and a reference signal, wherein the reference signal is a measurement signal of any one of the CPEs; and
    the sending unit is configured to send the TAs of the CPEs to the CPEs respectively, so that the CPEs each send an upstream signal based on the respective TAs.
     
    22. The apparatus according to claim 19, wherein that the processing unit performs the operation of canceling, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE comprises:

    adjusting the first crosstalk coefficient between the first line and the at least one second line based on the second update factor and the first update factor, to obtain the second crosstalk coefficient between the first line and the at least one second line, wherein the second update factor comprises the second transmission parameter of the channel corresponding to the second CPE and the second transmission parameter of the channel corresponding to the third CPE that communicates with each second network node; and

    canceling, based on the second crosstalk coefficient between the first line and the at least one second line, the upstream signal sent by the second CPE, and an upstream signal sent by the third CPE that communicates with each second network node, the crosstalk signal in the upstream signal sent by the second CPE.


     
    23. The apparatus according to claim 19, wherein that the processing unit performs the operation of canceling, based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor, a crosstalk signal in an upstream signal sent by the second CPE comprises:

    generating the first crosstalk cancellation signal based on the first crosstalk coefficient between the first line and the at least one second line, the upstream signal sent by the second CPE, and an upstream signal sent by the third CPE that communicates with each second network node;

    adjusting the first crosstalk cancellation signal based on the second update factor and the first update factor, to obtain the second crosstalk cancellation signal, wherein the second update factor comprises the second transmission parameter of the channel corresponding to the second CPE and the second transmission parameter of the channel corresponding to the third CPE that communicates with each second network node; and

    canceling, based on the second crosstalk cancellation signal, the crosstalk signal in the upstream signal sent by the second CPE.


     
    24. The apparatus according to any one of claims 14 to 16, wherein the processing unit is further configured to: obtain a transmission parameter of a channel corresponding to one CPE connected to the first user node and a transmission parameter of a channel corresponding to one CPE connected to each second user node, and generate the first update factor based on the obtained transmission parameters of the channels corresponding to the CPEs.
     
    25. The apparatus according to any one of claims 14 to 23, wherein
    the processing unit is further configured to: when the first network node communicates with the first CPE, obtain a transmission parameter of a channel corresponding to the first CPE and a transmission parameter of a channel corresponding to CPE that communicates with each of the at least one second network node, and form the first update factor by using the transmission parameter of the channel corresponding to the first CPE and the transmission parameter of the channel corresponding to the CPE that communicates with each second network node.
     
    26. The apparatus according to any one of claims 14 to 25, wherein the processing unit is further configured to: when the first network node communicates with the first CPE again, cancel a crosstalk signal in a signal of the first CPE based on the first crosstalk coefficient between the first line and the at least one second line and the first update factor.
     
    27. A twisted-pair communications system, wherein the twisted-pair communications system comprises the apparatus according to any one of claims 14 to 26.
     




    Drawing





































    Search report










    Cited references

    REFERENCES CITED IN THE DESCRIPTION



    This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

    Patent documents cited in the description