Communication method, power supply device, communication device, communication system and electronic chip
By using the storage module and modulation parameters of communication equipment in the power supply equipment, the problems of high cost of power equipment, large power consumption and long communication delay are solved, and the system efficiency is improved.
Patent Information
- Application Number
- PCT/CN2024/077576
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-28
- Filing Date
- 2024-02-19
- Publication Date
- 2025-01-02
AI Technical Summary
Existing power supply equipment is costly, has high power consumption and has a long communication delay in power line communication systems, resulting in low system efficiency.
By using the storage module and modulation parameters of communication equipment in the power supply equipment, the power supply equipment does not need to configure storage modules and control modules, and directly uses communication equipment to store and demodulate data, reducing the cost and power consumption of power supply equipment, and reducing communication Delay.
It realizes cost savings, power consumption reduction and communication delay reduction of power equipment, and improves the efficiency of power line communication systems.
Smart Images

Figure CN2024077576_02012025_PF_FP_ABST
Abstract
Description
Communication method, power supply device, communication device, communication system and electronic chip
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on June 28, 2023, with application number 202310778296.9 and application name “Communication method, power supply equipment, communication equipment, communication system and electronic chip”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the technical field of power line communication, and more particularly, to a communication method, a power supply device, a communication device, a communication system, and an electronic chip. Background Art
[0003] With the rapid development of power line communication (PLC) technology, communication systems for communicating with peer devices such as hosts and smart speakers have been widely used. A communication system may include power supply equipment and communication equipment.
[0004] In the related art, the power supply device may include a communication module, a control module, a first storage module, etc. The communication device may include a processing module and a second storage module, etc. Among them, the communication module may be a power line communication (PLC) chip (which may be referred to as a PLC chip for short). The control module may be a first system on chip (SOC) chip (which may be referred to as a first SOC chip for short). The processing module may be a second SOC chip, etc. The first storage module and the second storage module may both include a double data rate synchronous dynamic random-access memory (DDR) and a flash memory, etc. The PLC chip may demodulate the power line communication signal (which may be referred to as a PLC signal for short) according to the modulation parameters stored in the storage module, and store the obtained power line communication data (which may be referred to as a PLC data for short) in the first storage module. In addition, the PLC chip may also reorganize the PLC data into Ethernet frame data and transmit it to the second SOC chip through the first SOC chip.
[0005] As can be seen, the related art implements communication between the power supply device and the communication device through a PLC chip, a first SOC chip, a first storage module, and a second SOC chip. Because the power supply device includes the first SOC chip and the first storage module, the power supply device is expensive and consumes high power, and also results in significant communication delays.
[0006] Therefore, there is an urgent need for a technical solution that can save the cost of power supply equipment, reduce the power consumption of power supply equipment, and reduce the communication delay of power supply equipment.
[0007] Summary of the Invention
[0008] The present application provides a communication method, a power supply device, a communication device, a communication system and an electronic chip, which can not only save the cost of the power supply device and reduce the power consumption of the power supply device, but also reduce the communication delay of the power supply device.
[0009] In a first aspect, the present application provides a communication method that may include: a power supply device obtaining a modulation parameter from a communication device. The power supply device may demodulate a first power line communication signal (which may be referred to as a first PLC signal) based on the modulation parameter to obtain first power line communication data (which may be referred to as first PLC data). The power supply device transmits the first PLC data to the communication device and stores it.
[0010] In the communication method provided by this application, the power supply device can serve as a receiving end, demodulate the first PLC signal using the modulation parameters stored within the communication device, and transmit the obtained first PLC data to the communication device for storage. In other words, the power supply device used in the communication method provided by this application does not need to be configured with a storage module for storing the modulation parameters and the first PLC data. Instead, the modulation parameters and the first PLC data are stored in the communication device. Therefore, this application can not only save the cost of the power supply device and reduce the power consumption of the power supply device, but also reduce the communication delay of the power supply device.
[0011] In one possible implementation, the modulation parameters may include a modulation order, etc. For example, for a first PLC signal provided by an orthogonal frequency division multiplexing (OFDM) multi-carrier system (which may be referred to as an OFDM system), all carriers in the first PLC signal may use the same modulation order or different carriers may use different modulation orders, which is not limited in this application.
[0012] For example, in addition to demodulating the first PLC signal according to the modulation parameters, the power supply device can also obtain coding parameters and decode the first PLC signal according to the coding parameters to obtain the first PLC data. The coding parameters may include a forward error correction (FEC) code rate, etc., which is not limited in this application.
[0013] In another possible implementation, the control method provided herein may further include: the power supply device may receive first Ethernet frame data from the communication device. The power supply device may segment the first Ethernet frame data to obtain second power line communication data (which may be referred to as second PLC data). The power supply device may transmit and store the second PLC data to the communication device.
[0014] It can be seen that the power supply device can not only serve as a receiving end, but also as a sending end to transmit the second PLC data to the communication device. It can also be seen that the communication device can also be used to store the second PLC data.
[0015] It can be seen that the modulation parameters, the first PLC data and the second PLC data can all be stored in the communication device.
[0016] In another possible implementation, the communication method provided herein may further include: the power supply device modulating the second PLC data according to the modulation parameter to obtain and output a second power line communication signal (which may be referred to as the second PLC signal). For example, the power supply device may output the second PLC signal to a peer device such as a host or smart speaker.
[0017] Furthermore, the power supply device may encode the second PLC data according to encoding parameters such as a forward error correction code rate, and modulate the second PLC data according to modulation parameters such as a modulation order to obtain a second PLC signal.
[0018] In another possible implementation, the communication method provided herein may further include: the power supply device may reassemble the first PLC data to obtain second Ethernet frame data. The power supply device may transmit the second Ethernet frame data to the communication device and forward it. In other words, the communication device may be configured to forward the second Ethernet frame data.
[0019] To sum up, in the communication method provided in the present application, the power supply device can reuse the storage function of the communication device. The power supply device itself does not need to be configured with a storage module and a control module. Instead, the modulation parameters, the first PLC data and the second PLC data are stored in the communication device. This can not only save the cost of the power supply device and reduce the power consumption of the power supply device, but also reduce the communication delay of the power supply device.
[0020] In a possible implementation, the power supply device acquires the modulation parameter from the communication device, which may include: the power supply device acquires the modulation parameter from the communication device through the first interface.
[0021] In another possible implementation, the power supply device transmitting and storing the first power line communication data to the communication device may include: the power supply device transmitting and storing the first power line communication data to the communication device through the first interface.
[0022] Furthermore, the first interface may adopt a first peripheral component interconnect express (PCIE) communication interface (which may be referred to as a PCIE communication interface for short).
[0023] Furthermore, the first PCIE communication interface can be electrically connected to the communication device through a universal serial bus cable.
[0024] In a second aspect, the present application provides a power supply device, which may include a power supply module and a communication module.
[0025] The power module can be used to provide power to the communication module.
[0026] The communication module can be used to: obtain modulation parameters from the communication device, demodulate the first PLC signal according to the modulation parameters, and transmit and store the obtained first PLC data to the communication device.
[0027] It can be seen that the power supply device does not need to store the modulation parameters and the first PLC data, but stores the modulation parameters and the first PLC data through the communication device.
[0028] The power supply device provided in this application can serve as a receiving end, demodulating the first PLC signal using the modulation parameters stored within the communication device, and transmitting the obtained first PLC data to the communication device for storage. In other words, the power supply device provided in this application does not need to be configured with a storage module for storing the modulation parameters and the first PLC data. Instead, the modulation parameters and the first PLC data are stored in the communication device. This saves the cost of the power supply device, reduces the power consumption of the power supply device, and reduces the communication delay of the power supply device.
[0029] In one possible implementation, the modulation parameters may include a modulation order, etc. For the first PLC signal provided by the OFDM system, all carriers in the first PLC signal may use the same modulation order or different carriers may use different modulation orders, which is not limited in this application.
[0030] For example, in addition to demodulating the first PLC signal according to the modulation parameters, the communication module can also obtain coding parameters and decode the first PLC signal according to the coding parameters to obtain the first PLC data. The coding parameters may include a forward error correction code rate, etc., which is not limited in this application.
[0031] In one possible implementation, the communication module may also be configured to reassemble the first PLC data and transmit the resulting second Ethernet frame data to the communication device for forwarding. In other words, the communication device may be configured to forward the second Ethernet frame data. It can be seen that the communication device may be configured to store modulation parameters, the first PLC data, and the second PLC data.
[0032] In another possible implementation, the communication module may also be configured to: receive first Ethernet frame data from the communication device, segment the first Ethernet frame data, and transmit and store the obtained second PLC data to the communication device.
[0033] It can be seen that the power supply device can not only serve as a receiving end, but also as a sending end to transmit the second PLC data to the communication device. It can also be seen that the communication device can also be used to store the second PLC data.
[0034] In another possible implementation, the communication module may further be configured to modulate the second PLC data according to the modulation parameter to obtain and output a second PLC signal. For example, the power supply device may output the second PLC signal to a peer device such as a host or a smart speaker.
[0035] Furthermore, the communication module may encode the second PLC data according to encoding parameters such as a forward error correction code rate, and modulate the second PLC data according to modulation parameters such as a modulation order to obtain a second PLC signal.
[0036] Furthermore, the peer device demodulates and decodes the received second PLC signal to obtain multiple segmented second PLC data. Since some segments in the second PLC data may be correctly received by the peer device, and some segments in the second PLC data may not be correctly received by the peer device, the peer device can send a confirmation message (including the status of whether each segment is correctly received by the peer device) to the communication module, and the communication module can control the storage module to delete the second PLC data correctly received by the peer device to release the storage space of the storage module. The communication module can also send the segments that were not correctly received by the peer device to the peer device.
[0037] To sum up, the power supply device provided in the present application can reuse the storage function of the communication device. The power supply device itself does not need to be configured with a storage module and a control module. Instead, the modulation parameters, the first PLC data and the second PLC data are stored in the communication device. This can not only save the cost of the power supply device and reduce the power consumption of the power supply device, but also reduce the communication delay of the power supply device.
[0038] Optionally, the power supply device may further include a first interface. The first interface may be used to transmit the modulation parameter to the communication module. The first interface may also be used to transmit the first PLC data to the communication device.
[0039] Furthermore, the first interface may be a first PCIE communication interface. The first PCIE communication interface may be electrically connected to the communication device via a universal serial bus (USB) cable. In other words, communication between the power supply device and the communication device may be achieved via a USB cable.
[0040] Optionally, the USB cable may include a first USB interface. A pin of the first PCIE communication interface may be electrically connected to a corresponding pin of the first USB interface.
[0041] Furthermore, the first PCIE communication interface may include a first pin, a second pin, a third pin, a fourth pin, a fifth pin, and a sixth pin. The first pin may be used to indicate a first reference clock REFCLK+, and the second pin may be used to indicate a second reference clock REFCLK-. The third pin may be used to indicate that the first channel sends data HS0p(0). The fourth pin may be used to indicate that the second channel sends data HSOn(0). The fifth pin may be used to indicate that the first channel receives data HSIp(0). The sixth pin may be used to indicate that the second channel receives data HSIn(0).
[0042] Of course, in addition to the above-mentioned pins, the first PCIE communication interface may also include pins for indicating other functions, which is not limited in this application.
[0043] For example, the first USB interface may include pins 7, 8, 9, 10, 11, and 12. The pins 7, 8, 9, 10, 11, and 12 are electrically connected to the pins 1, 2, 3, 4, 5, and 6 in a one-to-one correspondence.
[0044] Among them, the seventh pin can be used to indicate the first data differential pair D-, the eighth pin can be used to indicate the second data differential pair D+, the ninth pin can be used to indicate the first high-speed data differential pair transmit data StdB_SSTX-, the tenth pin can be used to indicate the second high-speed data differential pair transmit data StdB_SSTX+, the eleventh pin can be used to indicate the first high-speed data differential pair receive data StdB_SSRX-, and the twelfth pin can be used to indicate the second high-speed data differential pair receive data StdB_SSRX+. Of course, in addition to including the above pins, the first USB interface may also include pins for indicating other functions, which are not limited in this application.
[0045] In a possible implementation, the power module may be an AC / DC converter.
[0046] The AC / DC converter can be used to convert alternating current (AC) into direct current (DC) and provide it to the communication module. In other words, the AC / DC converter can provide direct current to the communication module to enable the normal operation of the communication module.
[0047] In another possible implementation, the power module can also be used to power a communication device. Specifically, the power module employs an AC / DC converter, which can provide direct current (DC) power to the communication device. For example, the AC / DC converter can provide DC power to the communication device via the first interface.
[0048] It can be seen that the power module can not only supply power to the communication module, but also be used to supply power to the communication equipment.
[0049] Exemplarily, the communication module may be a power line communication (PLC) chip (may be referred to as a PLC chip for short), etc., which is not limited in this application.
[0050] In another possible implementation, the power supply device may be a power adapter. Of course, the power supply device may also be other devices, which is not limited in this application.
[0051] In a third aspect, the present application provides a communication device that may include a storage module and a processing module.
[0052] The storage module can be used to store modulation parameters.
[0053] The processing module can be used to transmit the modulation parameters to the power supply device and can also be used to transmit the first PLC data from the power supply device to the storage module. In other words, the modulation parameters can be transmitted to the power supply device through the processing module, and the first PLC data can be transmitted to the storage module through the processing module.
[0054] The storage module may also be used to store first PLC data.
[0055] It can be seen that the storage module can be used not only to store modulation parameters, but also to store the first PLC data.
[0056] The communication device provided in this application can be reused by the power supply device. The modulation parameters used by the power supply device to demodulate the first PLC signal and the first PLC data obtained by demodulation can be stored in the communication device, which saves the cost of the power supply device, reduces the power consumption of the power supply device, and can reduce the communication delay of the power supply device.
[0057] In one possible implementation, the modulation parameters may include a modulation order, etc. For example, for the first PLC signal provided by the OFDM system to the power supply device, all carriers in the first PLC signal may use the same modulation order or different carriers may use different modulation orders, which is not limited in this application.
[0058] In another possible implementation, the storage module may be further configured to store the first Ethernet frame data of the communication device. The processing module may be further configured to transmit the first Ethernet frame data to the power supply device. It can be seen that the processing module forwards the first Ethernet frame data.
[0059] In yet another possible implementation, the processing module may be further configured to: transmit the second PLC data from the power supply device to the storage module. The storage module may be further configured to: store the second PLC data.
[0060] It can be seen that the storage module can be used to store the modulation parameters, the first PLC data, the second PLC data and the first Ethernet frame data, thereby achieving low cost and low power consumption of the power supply device.
[0061] In yet another possible implementation, the processing module may be further configured to: forward second Ethernet frame data from the power supply device.
[0062] Exemplarily, the processing module may forward the second Ethernet frame data to the next-hop destination node through a Wi-Fi interface or an Ethernet interface.
[0063] Further, the processing module can also transfer the second Ethernet frame data to the storage module, and the storage module can also be used to store the second Ethernet frame data. In other words, the processing module can not only be used to forward the second Ethernet frame data to the next hop destination node, but also can be used to transmit the second Ethernet frame data to the storage module, realizing the storage of the second Ethernet frame data.
[0064] Optionally, the communication device may further include a second interface that may be electrically connected to the first interface of the power supply device.
[0065] The second interface can be used to transmit the modulation parameters to the first interface. The second interface can also be used to transmit the first PLC data from the first interface to the processing module.
[0066] Similar to the first interface, the second interface may be a second PCIE communication interface. The second PCIE communication interface may be electrically connected to the power supply device (which may be the first PCIE communication interface of the power supply device) via a USB cable.
[0067] Optionally, the USB cable may further include a second USB interface. The pins of the second PCIE communication interface may be electrically connected to corresponding pins of the second USB interface.
[0068] Furthermore, similar to the first PCIE communication interface, the second PCIE communication interface may also include a first pin, a second pin, a third pin, a fourth pin, a fifth pin, and a sixth pin. For the introduction to the first pin, the second pin, the third pin, the fourth pin, the fifth pin, and the sixth pin, please refer to the above and will not be repeated in this application. Of course, in addition to the aforementioned pins, the second PCIE communication interface may also include pins for indicating other functions, which is not limited in this application.
[0069] Similar to the first USB interface, the second USB interface may also include a seventh pin, an eighth pin, a ninth pin, a tenth pin, an eleventh pin, and a twelfth pin. The seventh pin, the eighth pin, the ninth pin, the tenth pin, the eleventh pin, and the twelfth pin are electrically connected to the first pin, the second pin, the third pin, the fourth pin, the fifth pin, and the sixth pin in a one-to-one correspondence. The relevant introduction of the seventh pin, the eighth pin, the ninth pin, the tenth pin, the eleventh pin, and the twelfth pin can also be referred to above and will not be repeated in this application. Of course, in addition to the pins mentioned above, the second USB interface may also include pins for indicating other functions, which are not limited in this application.
[0070] In a possible implementation, the storage module may include a double data rate synchronous dynamic random-access memory (DDR) and a flash memory, etc., which is not limited in this application.
[0071] In another possible implementation, the processing module may be a system on chip (SOC) chip (may be referred to as SOC chip for short), etc., which is not limited in this application.
[0072] In another possible implementation, the communication device may be a router or a switch. Of course, the communication device may also be other devices, which is not limited in the embodiment of the present application.
[0073] In a fourth aspect, the present application provides a communication system, which may include a power supply device and a communication device.
[0074] The power supply device may be configured to: obtain modulation parameters from the communication device, demodulate the first PLC signal according to the modulation parameters, and transmit the obtained first power line communication data to the communication device.
[0075] The communication device may be configured to: store the first PLC data.
[0076] It can be seen that the power supply device does not need to store the modulation parameters and the first PLC data, but stores the modulation parameters and the first PLC data through the communication device.
[0077] In the communication system provided herein, a power supply device can demodulate a first PLC signal based on modulation parameters stored within the communication device, and transmit the obtained first PLC data to the communication device for storage. In other words, the power supply device does not need to be configured with a storage module for storing the modulation parameters and the first PLC data. Instead, the modulation parameters and the first PLC data are stored in the communication device. This reduces the cost of the communication system, lowers the power consumption of the communication system, and reduces the communication latency of the communication system.
[0078] In one possible implementation, the modulation parameters may include a modulation order, etc. For the first PLC signal provided by the OFDM system, all carriers in the first PLC signal may use the same modulation order or different carriers may use different modulation orders, which is not limited in this application.
[0079] For example, in addition to demodulating the first PLC signal according to the modulation parameters, the power supply device can also obtain encoding parameters and decode the first PLC signal according to the encoding parameters to obtain the first PLC data. The encoding parameters may include the forward error correction code rate, etc., which is not limited in this application.
[0080] In a possible implementation, the communication device may be further configured to: transmit the first Ethernet frame data of the communication device to the power supply device.
[0081] The power supply device may also be configured to: receive the first Ethernet frame data, segment the first Ethernet frame data, and transmit the obtained second PLC data to the communication device.
[0082] The communication device may also be configured to store second PLC data.
[0083] In yet another possible implementation, the power supply device may further be configured to: reassemble the first PLC data into second Ethernet frame data and transmit the second Ethernet frame data to the communication device.
[0084] The communication device may also be configured to: forward the second Ethernet frame data.
[0085] It can be seen that the communication device can be used not only to store the modulation parameters and the first PLC data, but also to store the second PLC data, thereby achieving low cost and low power consumption of the power supply device.
[0086] Exemplarily, the power supply device and the communication device can communicate via a USB cable.
[0087] In a fifth aspect, the present application provides an electronic chip that can be used to execute the communication method provided in the first aspect and its possible implementation methods.
[0088] Optionally, the electronic chip may be a power line communication (PLC) chip (hereinafter referred to as a PLC chip) for use in a power supply device. Of course, the electronic chip may also be other chips, which are not limited in this application.
[0089] It should be understood that the second to fifth aspects of the present application are consistent with the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0090] In order to more clearly illustrate the technical solutions in the present application or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0091] FIG1 is a schematic flow chart of a communication process 100 according to an embodiment of the present application;
[0092] FIG2 is a schematic flow chart of a communication process 100 according to an embodiment of the present application;
[0093] FIG3 is a schematic flow chart of a communication system 400 according to an embodiment of the present application;
[0094] FIG4 is another schematic flow chart of a communication system 400 according to an embodiment of the present application;
[0095] FIG5 is another schematic flow chart of a communication system 400 according to an embodiment of the present application;
[0096] FIG6 is a schematic structural diagram of a power supply device 200 according to an embodiment of the present application;
[0097] FIG7 is another schematic structural diagram of the power supply device 200 in an embodiment of the present application;
[0098] FIG8 is a schematic structural diagram of a communication device 300 in an embodiment of the present application;
[0099] FIG9 is another schematic structural diagram of a communication device 300 in an embodiment of the present application;
[0100] FIG10 is a schematic flow chart of a communication process 500 in an embodiment of the present application;
[0101] FIG11 is another schematic flow chart of a communication process 500 according to an embodiment of the present application;
[0102] FIG12 is another schematic flow chart of a communication process 500 according to an embodiment of the present application;
[0103] FIG13 is another schematic flowchart of the communication process 500 in an embodiment of the present application. DETAILED DESCRIPTION
[0104] The technical solution in this application will be described below with reference to the accompanying drawings.
[0105] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.
[0106] The terms "first," "second," and the like in the description, embodiments, claims, and drawings of this application are used solely for descriptive purposes and are not to be construed as indicating or implying relative importance or order. Furthermore, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions, such as, for example, inclusion of a series of steps or units. A method, system, product, or apparatus is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0107] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0108] With the rapid development of power line communication (PLC) technology, communication systems for communicating with peer devices such as hosts and smart speakers have been widely used. A communication system may include power supply equipment and communication equipment.
[0109] In the related art, the power supply device may include a communication module, a control module and a first storage module, etc. The communication device may include a processing module and a second storage module, etc. Among them, the communication module may be a power line communication (PLC) chip (which may be referred to as a PLC chip for short). The control module may be a first system on chip (SOC) chip (which may be referred to as a first SOC chip for short). The processing module may be a second SOC chip, etc.). The first storage module and the second storage module may both include a double data rate synchronous dynamic random-access memory (DDR) and a flash memory, etc. The PLC chip may demodulate the power line communication signal (which may be referred to as a PLC signal for short) according to the modulation parameters stored in the storage module, and store the obtained power line communication data (which may be referred to as a PLC data for short) in the first storage module. In addition, the PLC chip may also reorganize the PLC data into Ethernet frame data and transmit it to the second SOC chip through the first SOC chip.
[0110] As can be seen, the related art implements communication between the power supply device and the communication device through a PLC chip, a first SOC chip, a first storage module, and a second SOC chip. Because the power supply device includes the first SOC chip and the first storage module, the power supply device is expensive and consumes high power, and also results in significant communication delays.
[0111] To overcome the above shortcomings, the present invention also provides a communication method that can be applied to a communication system. The communication system can include a power supply device 200 and a communication device 300. As shown in FIG1 , in a communication process 100, the power supply device 200 acts as a receiving end. The communication process 100 can include the following steps:
[0112] Step S101 : the power supply device 200 acquires modulation parameters from the communication device 300 .
[0113] Optionally, the modulation parameters may include a modulation order, etc. For example, for a first PLC signal provided by an orthogonal frequency division multiplexing (OFDM) multi-carrier system (which may be referred to as an OFDM system), all carriers in the first PLC signal may use the same modulation order or each carrier may use a different modulation order, which is not limited in the embodiments of the present application.
[0114] Step S102: the power supply device 200 may demodulate the first power line communication signal (which may be referred to as the first PLC signal) according to the modulation parameter to obtain first power line communication data (which may be referred to as the first PLC data).
[0115] For example, in addition to demodulating the first PLC signal according to the modulation parameters, the power supply device 200 can also obtain encoding parameters and decode the first PLC signal according to the encoding parameters to obtain the first PLC data. The encoding parameters may include a forward error correction (FEC) code rate, etc., which is not limited in the embodiments of the present application.
[0116] Optionally, the modulation parameters may also be stored in the power supply device 200. Therefore, in step S102, the power supply device 200 may demodulate the first PLC signal according to the modulation parameters stored therein to obtain the first PLC data.
[0117] Step S103 : the power supply device 200 may transmit the first PLC data to the communication device 300 .
[0118] Step S104: The communication device 300 stores the first PLC data.
[0119] Step S105: The power supply device 200 may reorganize the first PLC data to obtain second Ethernet frame data.
[0120] Step S106 : the power supply device 200 may transmit the second Ethernet frame data to the communication device 300 .
[0121] Step S107: the communication device 300 forwards the second Ethernet frame data.
[0122] In the above-mentioned communication process 100 provided in the embodiment of the present application, the first PLC signal is demodulated by the modulation parameters stored in the communication device 300, and the obtained first PLC data is transmitted to the communication device 300 and stored. In addition, the power supply device 200 can also reorganize the first PLC data, transmit the obtained second Ethernet frame data to the communication device 300, and forward it. In other words, the power supply device 200 used in the communication process 100 provided in the embodiment of the present application does not need to be configured with a storage module for storing the modulation parameters, the first PLC data, and the second Ethernet frame data, but instead stores the modulation parameters and the first PLC data in the communication device 300. Therefore, the embodiment of the present application can not only save the cost of the power supply device 200 and reduce the power consumption of the power supply device 200, but also reduce the communication delay of the power supply device 200.
[0123] In some embodiments, in step S101 above, the power supply device 200 can obtain modulation parameters via the first interface. In step S103 above, the power supply device 200 can transmit the first PLC data to the communication device 300 via the first interface. In step S106 above, the power supply device 200 can transmit the second Ethernet frame data to the communication device 300 via the first interface. It can be seen that the power supply device can obtain modulation parameters, transmit the first PLC data, and transmit the second Ethernet frame data via the first interface.
[0124] In other embodiments, in step S104, the communication device 300 may receive the first PLC data via the second interface and store the first PLC data. In step S107, the communication device 300 may receive the second Ethernet frame data via the second interface. It can be seen that the communication device 300 can receive both the first PLC data and the second Ethernet frame data via the second interface.
[0125] In the communication process 100 provided in the embodiment of the present application, the power supply device 200 can also serve as a transmitting end. Therefore, as shown in FIG2 , the communication process 100 can include the following steps:
[0126] Step S108 : the communication device 300 sends the first Ethernet frame data to the power supply device 200 .
[0127] Step S109: the power supply device 200 may segment the first Ethernet frame data to obtain second PLC data.
[0128] Step S110 : the power supply device 200 may transmit the second PLC data to the communication device 300 .
[0129] Step S111: the communication device 300 stores the second PLC data.
[0130] Step S112: the power supply device 200 modulates the second PLC data according to the modulation parameter to obtain and output a second PLC signal.
[0131] In the above-mentioned communication process 100 provided in the embodiment of the present application, the power supply device 200 can segment the first Ethernet frame data and transmit the obtained second PLC data to the communication device 300 for storage. In addition, the power supply device 200 can also modulate the second PLC data according to the modulation parameter to obtain and output the second PLC signal. In other words, the power supply device 200 used in the communication process 100 provided in the embodiment of the present application does not need to be configured with a storage module for storing the second PLC data, but instead stores the second PLC data in the communication device 300. Therefore, the embodiment of the present application can not only save the cost of the power supply device 200 and reduce the power consumption of the power supply device 200, but also reduce the communication delay of the power supply device 200.
[0132] In some embodiments, in the above step S110, the power supply device 200 can transmit the second PLC data to the communication device 300 through the first interface. It can be seen that the power supply device 200 can implement the transmission of the second PLC data through the first interface.
[0133] In other embodiments, in step S108, the communication device 300 may send the first Ethernet frame data to the power supply device 200 via the second interface. In step S111, the communication device 300 may receive the second PLC data via the second interface. It can be seen that the communication device 300 can send the first Ethernet frame data and receive the second PLC data via the second interface.
[0134] Furthermore, the first interface may adopt a first peripheral component interconnect express (PCIE) communication interface (which may be referred to as a first PCIE communication interface). The second interface may adopt a second peripheral component interconnect express (PCIE) communication interface (which may be referred to as a second PCIE communication interface).
[0135] Furthermore, the first PCIE communication interface can be electrically connected to the communication device 300 via a universal serial bus (USB) cable (hereinafter referred to as a USB cable) to obtain modulation parameters, transmit the first PLC data, and transmit the second PLC data. Similarly, the second PCIE communication interface can be electrically connected to the power supply device 200 via a USB cable to transmit the first Ethernet frame data and receive the second PLC data. In other words, the first PCIE communication interface and the second PCIE communication interface can be electrically connected via a USB cable.
[0136] Illustratively, in the above step S112, the power supply device 200 may encode the second PLC data according to encoding parameters such as the forward error correction code rate, and modulate the second PLC data according to modulation parameters such as the modulation order to obtain the second PLC signal.
[0137] The above-mentioned communication system is introduced in detail below.
[0138] As shown in Figure 3, a communication system 400 may include a power supply device 200 and a communication device 300 electrically connected to the power supply device 200. The power supply device 200 may be a power adapter, etc., and the communication device 300 may be a router, a switch, etc. The embodiments of the present application do not limit the types of the power supply device 200 and the communication device 300.
[0139] Optionally, the power supply device 200 may be configured to: obtain a modulation parameter from the communication device 300 , demodulate the first PLC signal according to the modulation parameter, and transmit the obtained first PLC data to the communication device 300 .
[0140] The communication device 300 may be configured to store first PLC data.
[0141] It can be seen that the power supply device 200 does not need to store the modulation parameters and the first PLC data, but stores the modulation parameters and the first PLC data through the communication device 300 .
[0142] It is understandable that the power supply device 200 may also obtain the modulation parameters in other ways or from other devices, which is not limited in the embodiment of the present application. Therefore, the first PLC data may be stored through the communication device 300.
[0143] In the communication system 400 provided in the embodiment of the present application, the power supply device 200 can demodulate the first PLC signal according to the modulation parameters stored internally in the communication device 300, and transmit the obtained first PLC data to the communication device 300 for storage. In other words, the power supply device 200 does not need to be configured with a storage module for storing the modulation parameters and the first PLC data. Instead, the modulation parameters and the first PLC data are stored in the communication device 300. This saves the cost of the communication system 400, reduces the power consumption of the communication system 400, and reduces the communication delay of the communication system 400.
[0144] Optionally, the modulation parameters may include a modulation order, etc. For the first PLC signal provided by the OFDM system, all carriers in the first PLC signal may use the same modulation order or different carriers may use different modulation orders, which is not limited in the embodiment of the present application.
[0145] For example, in addition to demodulating the first PLC signal according to the modulation parameters, the power supply device 200 may also obtain encoding parameters and decode the first PLC signal according to the encoding parameters to obtain the first PLC data. The encoding parameters may include, for example, a forward error correction code rate, and are not limited in this embodiment of the present application.
[0146] In some embodiments, as shown in FIG. 4 , the communication device 300 may also be configured to transmit the first Ethernet frame data of the communication device 300 to the power supply device 200 .
[0147] The power supply device 200 may also be configured to: receive first Ethernet frame data, segment the first Ethernet frame data, and transmit the obtained second PLC data to the communication device 300 .
[0148] The communication device 300 may also be used to store second PLC data.
[0149] It can be seen that the power supply device 200 stores the second PLC data, but stores the second PLC data through the communication device 300 .
[0150] Optionally, the power supply device 200 may also be used to store modulation parameters. Thus, the power supply device 200 may demodulate the first PLC signal according to the modulation parameters stored therein to obtain the first PLC data.
[0151] In other embodiments, as shown in FIG. 5 , the power supply device 200 may also be configured to reorganize the first PLC data into second Ethernet frame data and transmit the second Ethernet frame data to the communication device 300 .
[0152] The communication device 300 may also be configured to forward the second Ethernet frame data.
[0153] For example, the modulation parameter, the first PLC data, the second PLC data, and the second Ethernet frame data can be transmitted between the power supply device 200 and the communication device 300 via a USB cable. In other words, the power supply device 200 and the communication device 300 can communicate via a USB cable.
[0154] The power supply device 200 and the communication device 300 are respectively described in detail below with reference to the accompanying drawings.
[0155] As shown in FIG. 6 , the power supply device 200 may include a power supply module 201 and a communication module 202 .
[0156] The power module 201 can be electrically connected to the communication module 202. The power module 201 can be used to supply power to the communication module 202.
[0157] The communication module 202 may be configured to: obtain modulation parameters from the communication device 300 , demodulate the first PLC signal according to the modulation parameters, and transmit and store the obtained first PLC data to the communication device 300 .
[0158] It can be seen that the power supply device 200 does not need to store the modulation parameters and the first PLC data, but stores the modulation parameters and the first PLC data through the communication device 300 .
[0159] Optionally, the communication module 202 may also be used to store modulation parameters. Thus, the communication module 202 may demodulate the first PLC signal according to the modulation parameters stored therein to obtain the first PLC data.
[0160] Optionally, in addition to demodulating the second PLC data according to the modulation parameters, the communication module 202 may also obtain coding parameters and decode the first PLC data according to the coding parameters to obtain the first PLC data. The coding parameters may include a forward error correction code rate, etc., which is not limited in the present embodiment.
[0161] Furthermore, with continued reference to FIG. 6 , the communication module 202 may also be configured to: reassemble the first PLC data, and transmit the obtained second Ethernet frame data to the communication device 200 for forwarding.
[0162] It can be seen that, in addition to being used to store modulation parameters, first PLC data, and second PLC data, the communication device 200 can also be used to forward second Ethernet frame data.
[0163] As shown in FIG. 7 , the communication module 202 may also be configured to: receive first Ethernet frame data from the communication device 300 , segment the first Ethernet frame data, and transmit and store the obtained second PLC data to the communication device 300 .
[0164] It can be seen that the power supply device 200 can serve not only as a receiving end but also as a transmitting end to transmit the second PLC data to the communication device 300. It can also be seen that the communication device 300 can also be used to store the second PLC data.
[0165] That is, the modulation parameters used by the power supply device 200 to demodulate the first PLC signal, the first PLC data, and the second power line communication data may all be stored in the communication device 300 .
[0166] 7 , the communication module 202 can also be used to modulate the second PLC data according to the modulation parameter to obtain and output a second PLC signal. For example, the power supply device 200 can output the second PLC signal to a peer device such as a host or a smart speaker.
[0167] Furthermore, the communication module 202 may encode the second PLC data according to coding parameters such as a forward error correction code rate, and modulate the second PLC data according to modulation parameters such as a modulation order to obtain a second PLC signal.
[0168] Furthermore, the peer device demodulates and decodes the received second PLC signal to obtain multiple segments of second PLC data. Since some or all segments of the second PLC data may or may not be correctly received by the peer device, the peer device can send a confirmation message (including the status of whether each segment was correctly received by the peer device) to the communication module 202. The communication module 202 can control the storage module 301 to delete the second PLC data correctly received by the peer device, thereby freeing up storage space in the storage module 301. The communication module 202 can also send the segments that were incorrectly received by the peer device to the peer device.
[0169] To sum up, the power supply device 200 provided in the embodiment of the present application can reuse the storage function of the communication device 300. The power supply device 200 itself does not need to be configured with a storage module and a control module, but instead stores the modulation parameters, the first PLC data, the second PLC data and the second Ethernet frame data in the communication device 300. This not only saves the cost of the power supply device 200 and reduces the power consumption of the power supply device 200, but also reduces the communication delay of the power supply device 200.
[0170] In some embodiments, as shown in FIG6 and FIG7 , the power supply device 200 may further include an interface 203 (ie, a first interface) that may be electrically connected to the communication module 202 .
[0171] Optionally, as shown in FIG6 , the interface 203 can be used to transmit the modulation parameters from the communication device 300 to the communication module 202, and can also be used to transmit the first PLC data and the second Ethernet frame data to the communication device 300. In other words, the modulation parameters are transmitted to the communication module 202 via the interface 203, and both the first PLC data and the second Ethernet frame data can be transmitted to the communication device 300 via the interface 203.
[0172] As shown in Figure 7, the interface 203 can be used to transmit the first Ethernet frame data to the communication module 202, and can also be used to transmit the second PLC data to the communication device 300. In other words, the first Ethernet frame data can be transmitted to the communication module 202 through the interface 203, and the second PLC data can be transmitted to the communication device 300 through the interface 203.
[0173] Furthermore, the interface 203 may be a first PCIE communication interface. The first PCIE communication interface may be electrically connected to the communication device 300 via a USB cable. In other words, communication between the power supply device 200 and the communication device 300 may be achieved via a USB cable.
[0174] Optionally, the USB cable may include a first USB interface. A pin of the first PCIE communication interface may be electrically connected to a corresponding pin of the first USB interface.
[0175] Furthermore, the first PCIE communication interface may include a first pin, a second pin, a third pin, a fourth pin, a fifth pin, and a sixth pin. The first pin may be used to indicate a first reference clock REFCLK+. The second pin may be used to indicate a second reference clock REFCLK-. The third pin may be used to indicate that the first channel sends data HS0p(0). The fourth pin may be used to indicate that the second channel sends data HSOn(0). The fifth pin may be used to indicate that the first channel receives data HSIp(0). The sixth pin may be used to indicate that the second channel receives data HSIn(0). Of course, in addition to the above-mentioned pins, the first PCIE communication interface may also include pins for indicating other functions, which are not limited in the embodiments of the present application.
[0176] For example, other pins of the first PCIE communication interface can refer to the first USB interface and will not be described in detail in the embodiment of the present application.
[0177] For example, the first USB interface may include pins 7, 8, 9, 10, 11, and 12. Of course, in addition to the above pins, the first USB interface may also include pins for indicating other functions, which is not limited in this embodiment of the application.
[0178] Optionally, the seventh pin, the eighth pin, the ninth pin, the tenth pin, the eleventh pin and the twelfth pin are electrically connected to the first pin, the second pin, the third pin, the fourth pin, the fifth pin and the sixth pin in a one-to-one correspondence.
[0179] Among them, the seventh pin can be used to indicate the first data differential pair D-, the eighth pin can be used to indicate the second data differential pair D+, the ninth pin can be used to indicate the first high-speed data differential pair transmit data StdB_SSTX-, the tenth pin can be used to indicate the second high-speed data differential pair transmit data StdB_SSTX+, the eleventh pin can be used to indicate the first high-speed data differential pair receive data StdB_SSRX-, and the twelfth pin can be used to indicate the second high-speed data differential pair receive data StdB_SSRX+. The pin correspondence between the first PCIE communication interface and the first USB interface is shown in Table 1:
[0180] Table 1
[0181] In other examples, the power module 201 may be an AC / DC converter.
[0182] 6 and 7 , the power module 201 (i.e., the AC / DC converter) can be used to convert alternating current (AC) into direct current (DC) and provide the DC power to the communication module 202. In other words, the power module 201 can provide DC power to the communication module 202 to enable the normal operation of the communication module 202.
[0183] In some further embodiments, the power module 201 may also be configured to provide DC to the communication device 300 through the interface 203 . In other words, the power module 201 may provide power to the communication device 300 through the interface 203 .
[0184] It can be seen that the power module 203 can not only supply power to the communication module 202 , but also be used to supply power to the communication device 300 .
[0185] Exemplarily, the communication module 202 may be a power line communication (PLC) chip (may be referred to as a PLC chip for short), etc., which is not limited in the embodiment of the present application.
[0186] Optionally, the power supply device 200 may be a power adapter. Of course, the power supply device 200 may also be other devices, which is not limited in the embodiment of the present application.
[0187] 8 , a communication device 300 may include a storage module 301 and a processing module 302 .
[0188] The storage module 301 can be used to store modulation parameters.
[0189] The processing module 302 can be used to transmit the modulation parameters to the power supply device 200. The processing module 302 can also be used to transmit the first PLC data from the power supply device 200 to the storage module 301. Exemplarily, the processing module 302 can transmit the modulation parameters to the power supply device 200 based on the address of the storage module 301, and can also transmit the first PLC data to the storage module 301 based on the address of the storage module 301.
[0190] The storage module 301 may also be used to store first PLC data.
[0191] It can be seen that the storage module 301 can be used not only to store modulation parameters, but also to store the first PLC data.
[0192] The communication device 300 provided in the embodiment of the present application can be multiplexed by the power supply device 200. The modulation parameters used by the power supply device 200 to demodulate the first PLC signal and the first PLC data obtained by demodulation can be stored in the communication device 300, thereby saving the cost of the power supply device 200, reducing the power consumption of the power supply device 200, and reducing the communication delay of the power supply device 200.
[0193] Optionally, the modulation parameters may include a modulation order, etc. For example, for the first PLC signal provided by the OFDM system to the power supply device 200, all carriers in the first PLC signal may use the same modulation order or different carriers may use different modulation orders, which is not limited in the embodiments of the present application.
[0194] Exemplarily, in addition to storing the modulation order, the storage module 301 can also be used to store the forward error correction code rate, etc., so that the power supply device 200 can decode the first PLC signal according to the modulation parameters to obtain the first PLC data.
[0195] In some embodiments, as shown in FIG9 , the storage module 301 may also be used to store the first Ethernet frame data of the communication device 300. The processing module 302 may also be used to transmit the first Ethernet frame data to the power supply device 200. It can be seen that the processing module 301 plays a role in forwarding the first Ethernet frame data.
[0196] In other embodiments, the processing module 302 may also be used to transmit the second PLC data from the power supply device 200 to the storage module 301. The storage module may also be used to store the second PLC data. It can be seen that the processing module 302 also plays a role in forwarding the second PLC data.
[0197] In yet other embodiments, as shown in FIG9 , processing module 302 can also be configured to transmit the second Ethernet frame data from power supply device 200 to storage module 301. Storage module 301 can also be configured to store the second Ethernet frame data. It can be seen that processing module 302 also serves to forward the second Ethernet frame data.
[0198] It can be seen that the storage module 301 can be used not only to store the modulation parameters and the first PLC data, but also to store the first Ethernet frame data and the second Ethernet frame data, thereby achieving low cost and low power consumption of the power supply device 200 .
[0199] Optionally, as shown in FIG8 and FIG9 , the communication device 300 may further include an interface 303 (ie, a second interface). The interface 303 may be electrically connected to the interface 203 of the power supply device 200 .
[0200] In one example, as shown in FIG8 , interface 303 can be used to transmit modulation parameters to interface 203. Interface 303 can also be used to transmit first PLC data from interface 203 to processing module 302. In other words, the modulation parameters are transmitted to interface 203 via interface 303, and the first PLC data can be transmitted to processing module 302 via interface 303.
[0201] 9 , the interface 303 may be used to transmit the second PLC data and the second Ethernet frame data from the interface 203 to the processing module 302 . That is, the second PLC data and the second Ethernet frame data may be transmitted to the processing module 302 through the interface 303 .
[0202] Furthermore, similar to the interface 203, the interface 303 may be a second PCIE communication interface that is electrically connected to the power supply device 200 (which may be the first PCIE communication interface of the power supply device 200) via a USB cable.
[0203] Optionally, the USB cable may further include a second USB interface. The pins of the second PCIE communication interface may be electrically connected to corresponding pins of the second USB interface.
[0204] Furthermore, similar to the first PCIE communication interface, the second PCIE communication interface may also include a first pin, a second pin, a third pin, a fourth pin, a fifth pin, and a sixth pin. For the introduction to the first pin, the second pin, the third pin, the fourth pin, the fifth pin, and the sixth pin, please refer to the above and will not be repeated in this embodiment of the application. Of course, in addition to including the above-mentioned pins, the second PCIE communication interface may also include pins for indicating other functions, which is not limited in this embodiment of the application.
[0205] Similar to the first USB interface, the second USB interface may also include a seventh pin, an eighth pin, a ninth pin, a tenth pin, an eleventh pin, and a twelfth pin. The seventh pin, the eighth pin, the ninth pin, the tenth pin, the eleventh pin, and the twelfth pin are electrically connected to the first pin, the second pin, the third pin, the fourth pin, the fifth pin, and the sixth pin in a one-to-one correspondence. The relevant introduction of the seventh pin, the eighth pin, the ninth pin, the tenth pin, the eleventh pin, and the twelfth pin can also be referred to above, and the embodiments of this application will not be repeated here. Of course, in addition to including the above-mentioned pins, the second USB interface may also include pins for indicating other functions, which are not limited in this application.
[0206] In some embodiments, the storage module 301 may include a double data rate synchronous dynamic random-access memory (DDR) and a flash memory, etc., which is not limited in the embodiment of the present application.
[0207] In other embodiments, the processing module 301 may be a system on chip (SOC) chip (may be referred to as SOC chip for short), etc., which is not limited in the embodiments of the present application.
[0208] Optionally, the communication device 300 is a router or a switch. Of course, the communication device 300 can also be other devices, which is not limited in the embodiment of the present application.
[0209] The following describes the communication method provided by the embodiment of the present application from the perspective of the power supply device 200 in conjunction with the accompanying drawings. As shown in FIG10 , the communication process 500 may include the following steps:
[0210] Step S501 : the power supply device 200 obtains modulation parameters from the communication device 300 .
[0211] Step S502: the power supply device 200 may demodulate the first power line communication signal (which may be referred to as the first PLC signal) according to the modulation parameter to obtain first power line communication data (which may be referred to as the first PLC data).
[0212] Optionally, the power supply device 200 may be configured to store modulation parameters. Thus, the power supply device 200 may demodulate the first PLC signal according to the modulation parameters stored therein to obtain the first PLC data.
[0213] Step S503: The power supply device 200 may transmit the first PLC data to the communication device 300 and store it.
[0214] In the communication process 500 provided in the embodiment of the present application, the power supply device 200 can serve as a receiving end, demodulate the first PLC signal using the modulation parameters stored internally in the communication device 300, and transmit the obtained first PLC data to the communication device 300 for storage. In other words, the power supply device 200 used in the communication process 500 provided in the embodiment of the present application does not need to be configured with a storage module for storing the modulation parameters and the first PLC data. Instead, the modulation parameters and the first PLC data are stored in the communication device 300. Therefore, the embodiment of the present application can not only save the cost of the power supply device 200 and reduce the power consumption of the power supply device 200, but also reduce the communication delay of the power supply device 200.
[0215] In some embodiments, in step S501 above, the power supply device 200 may obtain modulation parameters from the communication device 300 via the interface 203. In step S503 above, the power supply device 300 may transmit the first PLC data to the communication device 300 via the interface 203. It can be seen that the power supply device 200 can obtain the modulation parameters and transmit the first PLC data via the interface 203.
[0216] Optionally, the modulation parameters may include a modulation order, etc. For example, for a first PLC signal provided by an orthogonal frequency division multiplexing (OFDM) multi-carrier system (which may be referred to as an OFDM system), all carriers in the first PLC signal may use the same modulation order or each carrier may use a different modulation order, which is not limited in the embodiments of the present application.
[0217] For example, in addition to demodulating the first PLC signal according to the modulation parameters, the power supply device 200 may also obtain encoding parameters and decode the first PLC signal according to the encoding parameters to obtain the first PLC data. The encoding parameters may include, for example, a forward error correction code rate, and are not limited in this embodiment of the present application.
[0218] Furthermore, as shown in FIG11 , the control process 500 provided in the embodiment of the present application may further include:
[0219] Step S504: the power supply device 200 may reorganize the first PLC data to obtain second Ethernet frame data.
[0220] Step S505: the power supply device 200 may transmit the second Ethernet frame data to the communication device 300 and store it.
[0221] It can be seen that the communication device 300 can be used to store not only the modulation parameters and the first PLC data, but also the second Ethernet frame data.
[0222] In some embodiments, as shown in FIG12 , the control process 500 provided in the embodiment of the present application may further include the following steps:
[0223] Step S506 : the power supply device 200 may receive the first Ethernet frame data from the communication device 300 .
[0224] Step S507: the power supply device 200 may segment the first Ethernet frame data to obtain second PLC data.
[0225] Step S508 : the power supply device 200 may transmit the second PLC data to the communication device 300 and store it.
[0226] It can be seen that the power supply device 200 can serve not only as a receiving end but also as a transmitting end to transmit the second PLC data to the communication device 300. It can also be seen that the communication device 300 can also be used to store the second PLC data.
[0227] That is, the modulation parameters, the first PLC data, and the second PLC data used by the power supply device 200 to demodulate the first PLC signal may all be stored in the communication device 300 .
[0228] Optionally, in step S505, the power supply device 200 may transmit and store the second Ethernet frame data to the communication device 300 via the interface 203. In step S506, the power supply device 200 may receive the first Ethernet frame data from the communication device 300 via the interface 203. In step S508, the power supply device 200 may transmit and store the second PLC data to the communication device 300 via the interface 203. It can be seen that the power supply device 200 can transmit the second Ethernet frame data, receive the first Ethernet frame data, and transmit the second PLC data via the interface 203.
[0229] Furthermore, as shown in FIG13 , the control process 500 may further include the following steps:
[0230] Step S509: The power supply device 200 modulates the second PLC data according to the modulation parameter to obtain and output a second PLC signal. For example, the power supply device 200 can output the second PLC signal to a peer device such as a host or a smart speaker.
[0231] Furthermore, in step S509, the power supply device 200 may encode the second PLC data according to encoding parameters such as the forward error correction code rate, and modulate the second PLC data according to modulation parameters such as the modulation order to obtain a second PLC signal.
[0232] To sum up, in the communication process 500 provided in the present application, the power supply device 200 can reuse the storage function of the communication device 300. The power supply device 200 itself does not need to be configured with a storage module and a control module, but instead stores the modulation parameters, the first PLC data, the second PLC data and the second Ethernet frame data in the communication device 300. This not only saves the cost of the power supply device 200 and reduces the power consumption of the power supply device 200, but also reduces the communication delay of the power supply device 200.
[0233] The embodiment of the present application also provides an electronic chip that can be used to execute the communication process 500.
[0234] Optionally, the electronic chip may be a power line communication (PLC) chip (hereinafter referred to as a PLC chip) for use in the power supply device 200. Of course, the electronic chip may also be other chips, which is not limited in the present embodiment.
[0235] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0236] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0237] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0238] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0239] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0240] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0241] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0242] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A communication method, characterized in that: The communication method comprises: The power supply device obtains the modulation parameter from the communication device; The power supply device demodulates the first power line communication signal according to the modulation parameter to obtain first power line communication data; The power supply device transmits the first power line communication data to the communication device and stores the data.
2. The communication method according to claim 1, characterized in that: The modulation parameters include a modulation order.
3. The communication method according to claim 1 or 2, characterized in that: The communication method further comprises: Receiving first Ethernet frame data of the communication device; Segmenting the first Ethernet frame data to obtain second power line communication data; The second power line communication data is transmitted to the communication device and stored.
4. The communication method according to claim 3, characterized in that: The communication method further comprises: The second power line communication data is modulated according to the modulation parameter to obtain a second power line communication signal and output it.
5. The communication method according to any one of claims 1 to 4, characterized in that: The communication method further comprises: Reorganizing the first power line communication data to obtain second Ethernet frame data; The second Ethernet frame data is transmitted to the communication device and forwarded.
6. The communication method according to any one of claims 1 to 5, characterized in that: The power supply device obtains a modulation parameter from the communication device, including: The power supply device obtains the modulation parameter from the communication device through the first interface.
7. The communication method according to any one of claims 1 to 6, characterized in that: The power supply device transmits the first power line communication data to the communication device and stores the data, including: The power supply device transmits the first power line communication data to the communication device through the first interface and stores the data.
8. The communication method according to claim 7, characterized in that: The first interface uses a first peripheral component interconnect (PCIE) communication interface.
9. The communication method according to claim 8, characterized in that: The first PCIE communication interface is electrically connected to the communication device via a universal serial bus cable.
10. A power supply device, characterized in that: Including power module and communication module; The power supply module is used to: supply power to the communication module; The communication module is used to: obtain modulation parameters from the communication device, demodulate the first power line communication signal according to the modulation parameters, and transmit the obtained first power line communication data to the communication device and store it.
11. The power supply device according to claim 10, characterized in that: The modulation parameters include a modulation order.
12. The power supply device according to claim 10 or 11, characterized in that: The communication module is also used for: Receiving first Ethernet frame data of the communication device; Segmenting the first Ethernet frame data to obtain second power line communication data; The second power line communication data is transmitted to the communication device and stored.
13. The power supply device according to claim 12, characterized in that: The communication module is also used for: The second power line communication data is modulated according to the modulation parameter to obtain a second power line communication signal and output it.
14. The power supply device according to any one of claims 10 to 13, characterized in that: The communication module is also used for: Reorganizing the first power line communication data to obtain second Ethernet frame data; The second Ethernet frame data is transmitted to the communication device and forwarded.
15. The power supply device according to any one of claims 10 to 14, characterized in that: The power supply device also includes a first interface; The first interface is used to: transmit the modulation parameter to the communication module; and also to transmit the first power line communication data to the communication device.
16. The power supply device according to claim 15, characterized in that: The first interface uses a first peripheral component interconnect (PCIE) communication interface.
17. The power supply device according to claim 16, characterized in that: The first PCIE communication interface is electrically connected to the communication device via a universal serial bus cable.
18. The power supply device according to any one of claims 10 to 17, characterized in that: The power supply module adopts an AC / DC converter; The AC / DC converter is used to convert alternating current into direct current and provide the direct current to the communication module.
19. The power supply device according to any one of claims 10 to 18, characterized in that: The power supply module is also used to supply power to the communication device.
20. The power supply device according to any one of claims 10 to 19, characterized in that: The power supply device is a power adapter.
21. A communication device, characterized in that: including a storage module and a processing module; The storage module is used to: store modulation parameters; The processing module is used to: transmit the modulation parameter to the power supply device; and also to transmit the first power line communication data from the power supply device to the storage module; The storage module is further used for storing the first power line communication data.
22. The communication device according to claim 21, characterized in that The modulation parameters include a modulation order.
23. The communication device according to claim 21 or 22, characterized in that: The storage module is also used to: store the first Ethernet frame data of the communication device; The processing module is further used for transmitting the first Ethernet frame data to the power supply device.
24. The communication device according to any one of claims 21 to 23, characterized in that: The processing module is further used to: transmit the second power line communication data from the power supply device to the storage module; The storage module is further used for storing the second power line communication data.
25. The communication device according to any one of claims 21 to 24, characterized in that: The processing module is further used for forwarding second Ethernet frame data from the power supply device.
26. The communication device according to any one of claims 21 to 25, characterized in that: The communication device further comprises a second interface, wherein the second interface is electrically connected to the first interface of the power supply device; The second interface is used to: transmit the modulation parameter to the first interface; and also to transmit the first power line communication data from the first interface to the processing module.
27. The communication device according to claim 26, characterized in that The second interface uses a second PCIE communication interface.
28. The communication device according to claim 27, characterized in that The second PCIE communication interface is electrically connected to the power supply device via a universal serial bus cable.
29. The communication device according to any one of claims 21 to 28, characterized in that: The communication device is a router or a switch.
30. A communication system, characterized in that: Including power supply equipment and communication equipment; The power supply device is used to: obtain the modulation parameter from the communication device, demodulate the first power line communication signal according to the modulation parameter, and transmit the obtained first power line communication data to the communication device; The communication device is used for storing the first power line communication data.
31. An electronic chip, characterized in that: The electronic chip is used to execute the communication method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Power adapter with power line communication function
CN206673584U
Communication apparatus, communication method, and integrated circuit
JP2010166398A
Power line communication system
JP2022002368A
Intelligent power source, capable of digital communication via the power line
US20170026189A1
Power line communication power adaptor
WO2020109158A1
