Communication method, power supply device, communication device, communication system, and electronic chip
By obtaining the modulation parameters and data of the communication equipment in the power supply equipment for demodulation and storage, the problems of high cost of power equipment, large power consumption and long communication delay are solved, and the multiplexing of power supply equipment functions and improving system efficiency are achieved.
Patent Information
- Application Number
- CN202310778296.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-28
- Publication Date
- 2024-12-31
AI Technical Summary
Existing power supply equipment has high cost, high power consumption and long communication delay in power line communication, resulting in low system efficiency.
By obtaining the modulation parameters and data of the communication device in the power supply device, demodulation and storage, there is no need to configure the storage module in the power supply device, and data storage and processing are used for data storage and processing, so as to realize the functional reuse of the power supply device.
Reduces the cost and power consumption of power equipment, reduces communication delay, and improves system efficiency.
Smart Images

Figure CN119232202A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power line communication, and more specifically, to a communication method, a power supply device, a communication device, a communication system and an electronic chip. Background Art
[0002] 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. The communication system may include power supply equipment and communication equipment.
[0003] 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 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.
[0004] It can be seen that the related technology realizes the communication between the power supply device and the communication device through the PLC chip, the first SOC chip, the first storage module, and the second SOC chip. Since the power supply device includes the first SOC chip and the first storage module, the cost of the power supply device is high and the power consumption is high, and the communication delay of the power supply device is large.
[0005] 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. Summary of the invention
[0006] 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.
[0007] In a first aspect, the present application provides a communication method, which may include: a power supply device obtains 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) according to the modulation parameter to obtain first power line communication data (which may be referred to as a first PLC data). The power supply device transmits the first PLC data to the communication device and stores it.
[0008] In the communication method provided by the present application, the power supply device can be used as a receiving end to demodulate the first PLC signal through the modulation parameters stored in the communication device, and transmit the obtained first PLC data to the communication device and store it. In other words, the power supply device used in the communication method provided by the present application does not need to be configured with a storage module for storing the modulation parameters and the first PLC data, but stores the modulation parameters and the first PLC data in the communication device. Therefore, the present application can not only save the cost of the power supply device, reduce the power consumption of the power supply device, but also reduce the communication delay of the power supply device.
[0009] In a 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 each carrier may use a different modulation order, which is not limited in this application.
[0010] Exemplarily, in addition to demodulating the first PLC signal according to the modulation parameters, the power supply device can also obtain the coding parameters and decode the first PLC signal according to the coding parameters to obtain the first PLC data. The coding parameters may include the forward error correction (FEC) code rate, etc., which is not limited in this application.
[0011] In another possible implementation, the control method provided by the present application may further include: the power supply device may receive the first Ethernet frame data of 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 the second PLC data to the communication device and store it.
[0012] 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.
[0013] 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.
[0014] In another possible implementation, the communication method provided in the present application may further include: the power supply device modulates 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). Exemplarily, the power supply device may output the second PLC signal to a host, a smart speaker, or other peer device.
[0015] 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, so as to obtain a second PLC signal.
[0016] In another possible implementation, the communication method provided by the present application may further include: the power supply device may reorganize the first PLC data to obtain the 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 used to forward the second Ethernet frame data.
[0017] To sum up, in the communication method provided by 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.
[0018] In a possible implementation manner, 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.
[0019] In another possible implementation, the power supply device transmits and stores the first power line communication data to the communication device, which may include: the power supply device transmits and stores the first power line communication data to the communication device through the first interface.
[0020] Further, the first interface may adopt a first peripheral component interconnect express (PCIE) communication interface (may be referred to as PCIE communication interface for short).
[0021] Furthermore, the first PCIE communication interface can be electrically connected to the communication device through a universal serial bus cable.
[0022] In a second aspect, the present application provides a power supply device, which may include a power supply module and a communication module.
[0023] The power module can be used to: provide power to the communication module.
[0024] 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.
[0025] 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.
[0026] The power supply device provided in the present application can be used as a receiving end to demodulate the first PLC signal through the modulation parameters stored in the communication device, and transmit the obtained first PLC data to the communication device and store it. In other words, the power supply device provided in the present application does not need to be configured with a storage module for storing the modulation parameters and the first PLC data, but stores the modulation parameters and the first PLC data in the communication device, thereby saving the cost of the power supply device, reducing the power consumption of the power supply device, and reducing the communication delay of the power supply device.
[0027] In a 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 each carrier may use a different modulation order, which is not limited in this application.
[0028] Exemplarily, 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 the forward error correction code rate, etc., which is not limited in this application.
[0029] In a possible implementation, the communication module can also be used to: reorganize the first PLC data, transmit the obtained second Ethernet frame data to the communication device and forward it. In other words, the communication device can be used to forward the second Ethernet frame data. It can be seen that the communication device can be used to store the modulation parameters, the first PLC data and the second PLC data.
[0030] In another possible implementation, the communication module may also be used 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.
[0031] 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.
[0032] In another possible implementation, the communication module may also be used to: modulate the second PLC data according to the modulation parameter to obtain and output the second PLC signal. Exemplarily, the power supply device may output the second PLC signal to a host, a smart speaker, or other peer device.
[0033] 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, so as to obtain a second PLC signal.
[0034] 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. Then, 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 are not correctly received by the peer device to the peer device.
[0035] 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.
[0036] 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.
[0037] Furthermore, the first interface may adopt a first PCIE communication interface. The first PCIE communication interface may be electrically connected to the communication device via a universal serial bus (universal serial bus) cable. In other words, communication between the power supply device and the communication device may be achieved via a USB cable.
[0038] Optionally, the USB cable may include a first USB interface. The pins of the first PCIE communication interface may be electrically connected to corresponding pins of the first USB interface.
[0039] 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. Among them, the first pin may be used to indicate the first reference clock REFCLK+, and the second pin may be used to indicate the 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).
[0040] 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.
[0041] Exemplarily, the first USB interface may 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.
[0042] 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 sending data StdB_SSTX-, the tenth pin can be used to indicate the second high-speed data differential pair sending data StdB_SSTX+, the eleventh pin can be used to indicate the first high-speed data differential pair receiving data StdB_SSRX-, and the twelfth pin can be used to indicate the second high-speed data differential pair receiving data StdB_SSRX+. Of course, in addition to the above pins, the first USB interface can also include pins for indicating other functions, which is not limited in this application.
[0043] In a possible implementation, the power module may adopt an AC / DC converter.
[0044] 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 achieve normal operation of the communication module.
[0045] In another possible implementation, the power module can also be used to: supply power to the communication device. That is, the power module uses an AC / DC converter, and the AC / DC converter can provide direct current to the communication device. Exemplarily, the AC / DC converter can provide direct current to the communication device through the first interface.
[0046] It can be seen that the power module can not only supply power to the communication module, but also can be used to supply power to the communication equipment.
[0047] 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 the present application.
[0048] 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.
[0049] In a third aspect, the present application provides a communication device that may include a storage module and a processing module.
[0050] The storage module may be used to store modulation parameters.
[0051] 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.
[0052] The storage module may also be used to store first PLC data.
[0053] 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.
[0054] The communication device provided in the present application can be multiplexed by a power supply device, and 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, thereby saving the cost of the power supply device, reducing the power consumption of the power supply device, and reducing the communication delay of the power supply device.
[0055] In a 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 each carrier may use a different modulation order, which is not limited in this application.
[0056] In another possible implementation, the storage module can also be used to store the first Ethernet frame data of the communication device. The processing module can also be used to transmit the first Ethernet frame data to the power supply device. It can be seen that the processing module plays a role in forwarding the first Ethernet frame data.
[0057] 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.
[0058] 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.
[0059] In yet another possible implementation, the processing module may also be used to: forward second Ethernet frame data from the power supply device.
[0060] 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.
[0061] 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 to realize the storage of the second Ethernet frame data.
[0062] Optionally, the communication device may further include a second interface. The second interface may be electrically connected to the first interface of the power supply device.
[0063] 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.
[0064] Similar to the first interface, the second interface may adopt 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) through a USB cable.
[0065] 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.
[0066] 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. The relevant introduction of the first pin, the second pin, the third pin, the fourth pin, the fifth pin, and the sixth pin can be referred to above, and this application will not repeat them. Of course, in addition to the above pins, the second PCIE communication interface may also include pins for indicating other functions, which is not limited in this application.
[0067] 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 may also be referred to above, and this application will not repeat them. Of course, in addition to the above pins, the second USB interface may also include pins for indicating other functions, which are not limited in this application.
[0068] 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 the present application.
[0069] 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 the present application.
[0070] 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 embodiments of the present application.
[0071] In a fourth aspect, the present application provides a communication system, which may include a power supply device and a communication device.
[0072] The power supply device may be used 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.
[0073] The communication device may be used to: store the first PLC data.
[0074] 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.
[0075] In the communication system provided by the present application, the power supply device can demodulate the first PLC signal according to the modulation parameters stored in the communication device, and transmit the obtained first PLC data to the communication device and store it. 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, but stores the modulation parameters and the first PLC data in the communication device, thereby saving the cost of the communication system, reducing the power consumption of the communication system, and reducing the communication delay of the communication system.
[0076] In a 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 each carrier may use a different modulation order, which is not limited in this application.
[0077] Exemplarily, 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 the forward error correction code rate, etc., which is not limited in this application.
[0078] In a possible implementation manner, the communication device may also be used to: transmit the first Ethernet frame data of the communication device to the power supply device.
[0079] The power supply device may also be used to: receive the first Ethernet frame data, segment the first Ethernet frame data, and transmit the obtained second PLC data to the communication device.
[0080] The communication device may also be used to: store second PLC data.
[0081] In yet another possible implementation, the power supply device may also be used to: reorganize the first PLC data into second Ethernet frame data and transmit the second Ethernet frame data to the communication device.
[0082] The communication device may also be used to: forward the second Ethernet frame data.
[0083] 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.
[0084] Exemplarily, the power supply device and the communication device can communicate via a USB cable.
[0085] In a fifth aspect, the present application provides an electronic chip that can be used to execute the communication method provided by the above-mentioned first aspect and its possible implementation methods.
[0086] Optionally, the electronic chip may be a power line communication (PLC) chip (may be referred to as a PLC chip for short), which is used for power supply equipment. Of course, the electronic chip may also be other chips, which are not limited in this application.
[0087] 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
[0088] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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.
[0089] Figure 1 A schematic flow chart of a communication process 100 in an embodiment of the present application;
[0090] Figure 2 A schematic flow chart of a communication process 100 in an embodiment of the present application;
[0091] Figure 3 is a schematic flow chart of a communication system 400 in an embodiment of the present application;
[0092] Figure 4 Another schematic flow chart of the communication system 400 in the embodiment of the present application;
[0093] Figure 5 is another schematic flow chart of the communication system 400 in the embodiment of the present application;
[0094] Figure 6 A schematic structural diagram of a power supply device 200 in an embodiment of the present application;
[0095] Figure 7 is another schematic structural diagram of the power supply device 200 in the embodiment of the present application;
[0096] Figure 8 A schematic structural diagram of a communication device 300 in an embodiment of the present application;
[0097] Fig. 9Another schematic structural diagram of a communication device 300 in an embodiment of the present application;
[0098] Fig.10 A schematic flow chart of a communication process 500 in an embodiment of the present application;
[0099] Fig.11 Another schematic flow chart of the communication process 500 in the embodiment of the present application;
[0100] Fig.12 It is another schematic flow chart of the communication process 500 in the embodiment of the present application;
[0101] Fig.13 This is another schematic flowchart of the communication process 500 in an embodiment of the present application. DETAILED DESCRIPTION
[0102] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0103] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0104] The terms "first", "second", etc. in the specification embodiments, claims, and drawings of the present application are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, including a series of steps or units. The method, system, product, or device is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0105] It should be understood that in the present 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 objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single 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.
[0106] 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. The communication system may include power supply equipment and communication equipment.
[0107] 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). The control module may be a first system on chip (SOC) chip (which may be referred to as a first SOC chip). 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) according to the modulation parameters stored in the storage module, and store the obtained power line communication data (which may be referred to as PLC data) 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.
[0108] It can be seen that the related technology realizes the communication between the power supply device and the communication device through the PLC chip, the first SOC chip, the first storage module, and the second SOC chip. Since the power supply device includes the first SOC chip and the first storage module, the cost of the power supply device is high and the power consumption is high, and the communication delay of the power supply device is large.
[0109] In order to overcome the above shortcomings, the embodiment of the present application further provides a communication method, which can be applied to a communication system. The communication system may include a power supply device 200 and a communication device 300. Figure 1 As shown, in the communication process 100, the power supply device 200 serves as a receiving end, and the communication process 100 may include the following steps:
[0110] Step S101 : the power supply device 200 acquires modulation parameters from the communication device 300 .
[0111] 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.
[0112] 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).
[0113] Exemplarily, in addition to demodulating the first PLC signal according to the modulation parameters, the power supply device 200 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 the embodiments of the present application.
[0114] 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 in the power supply device 200 to obtain the first PLC data.
[0115] Step S103 : the power supply device 200 may transmit the first PLC data to the communication device 300 .
[0116] Step S104: the communication device 300 stores the first PLC data.
[0117] Step S105: the power supply device 200 may reorganize the first PLC data to obtain second Ethernet frame data.
[0118] Step S106 : the power supply device 200 may transmit the second Ethernet frame data to the communication device 300 .
[0119] Step S107: the communication device 300 forwards the second Ethernet frame data.
[0120] In the above communication process 100 provided by the embodiment of the present application, the first PLC signal is demodulated by the modulation parameters stored inside 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 by 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 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, reduce the power consumption of the power supply device 200, but also reduce the communication delay of the power supply device 200.
[0121] In some embodiments, in the above step S101, the power supply device 200 can obtain the modulation parameters through the first interface. In the above step S103, the power supply device 200 can transmit the first PLC data to the communication device 300 through the first interface. In the above step S106, the power supply device 200 can transmit the second Ethernet frame data to the communication device 300 through the first interface. It can be seen that the power supply device can achieve the acquisition of modulation parameters, the transmission of the first PLC data, and the transmission of the second Ethernet frame data through the first interface.
[0122] In some other embodiments, in the above step S104, the communication device 300 can receive the first PLC data through the second interface and store the first PLC data. In the above step S107, the communication device 300 can receive the second Ethernet frame data through the second interface. It can be seen that the communication device 300 can receive the first PLC data and the second Ethernet frame data through the second interface.
[0123] In the communication process 100 provided in the embodiment of the present application, the power supply device 200 can also serve as a sending end. Figure 2 As shown, the communication process 100 may include the following steps:
[0124] Step S108 : the communication device 300 sends the first Ethernet frame data to the power supply device 200 .
[0125] Step S109: the power supply device 200 may segment the first Ethernet frame data to obtain second PLC data.
[0126] Step S110 : the power supply device 200 may transmit the second PLC data to the communication device 300 .
[0127] Step S111: the communication device 300 stores the second PLC data.
[0128] Step S112: the power supply device 200 modulates the second PLC data according to the modulation parameters to obtain and output a second PLC signal.
[0129] In the above 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 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, reduce the power consumption of the power supply device 200, but also reduce the communication delay of the power supply device 200.
[0130] 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.
[0131] In other embodiments, in the above step S108, the communication device 300 can send the first Ethernet frame data to the power supply device 200 through the second interface. In the above step S111, the communication device 300 can receive the second PLC data through 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 through the second interface.
[0132] Further, the first interface may adopt a first peripheral component interconnect express (PCIE) communication interface (may be referred to as a first PCIE communication interface for short). The second interface may adopt a second peripheral component interconnect express (PCIE) communication interface (may be referred to as a second PCIE communication interface for short).
[0133] Furthermore, the first PCIE communication interface can be electrically connected to the communication device 300 via a universal serial bus (USB) cable (can be referred to as a USB cable) to achieve the acquisition of modulation parameters, the transmission of the first PLC data, and the transmission of 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 achieve the sending of the first Ethernet frame data and the receiving of 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.
[0134] 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 a second PLC signal.
[0135] The above-mentioned communication system is introduced in detail below.
[0136] like Figure 3 As shown, the 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 embodiment of the present application does not limit the types of the power supply device 200 and the communication device 300.
[0137] 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 .
[0138] The communication device 300 may be used to store first PLC data.
[0139] 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 .
[0140] 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 .
[0141] In the above 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 in the communication device 300, and transmit and store the obtained first PLC data to the communication device 300. 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, but stores the modulation parameters and the first PLC data in the communication device 300, thereby saving the cost of the communication system 400, reducing the power consumption of the communication system 400, and reducing the communication delay of the communication system 400.
[0142] 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 each carrier may use a different modulation order, which is not limited in the embodiment of the present application.
[0143] Exemplarily, in addition to demodulating the first PLC signal according to the modulation parameters, the power supply device 200 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 the forward error correction code rate, etc., which is not limited in the embodiment of the present application.
[0144] In some embodiments, Figure 4 As shown, the communication device 300 can also be used to: transmit the first Ethernet frame data of the communication device 300 to the power supply device 200 .
[0145] The power supply device 200 may also be used to: receive first Ethernet frame data, segment the first Ethernet frame data, and transmit the obtained second PLC data to the communication device 300 .
[0146] The communication device 300 may also be used to store second PLC data.
[0147] It can be seen that the power supply device 200 stores the second PLC data, and the second PLC data is stored through the communication device 300 .
[0148] Optionally, the power supply device 200 may also be used to store modulation parameters. Therefore, the power supply device 200 may demodulate the first PLC signal according to the modulation parameters stored in the power supply device 200 to obtain the first PLC data.
[0149] In other embodiments, Figure 5 As shown, the power supply device 200 can also be used to: reorganize the first PLC data into second Ethernet frame data and transmit the second Ethernet frame data to the communication device 300.
[0150] The communication device 300 may also be used to: forward second Ethernet frame data.
[0151] Exemplarily, 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 communication between the power supply device 200 and the communication device 300 can be achieved via a USB cable.
[0152] The power supply device 200 and the communication device 300 are respectively described in detail below with reference to the accompanying drawings.
[0153] like Figure 6 As shown, the power supply device 200 may include a power supply module 201 and a communication module 202 .
[0154] The power module 201 may be electrically connected to the communication module 202. The power module 201 may be used to supply power to the communication module 202.
[0155] The communication module 202 may be used 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 .
[0156] 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 .
[0157] Optionally, the communication module 202 may also be used to store modulation parameters. Therefore, the communication module 202 may demodulate the first PLC signal according to the modulation parameters stored in the communication module 202 to obtain the first PLC data.
[0158] Optionally, in addition to demodulating the second PLC data according to the modulation parameters, the communication module 202 can 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 embodiment of the present application.
[0159] Further, continue to refer to Figure 6 The communication module 202 can also be used to: reorganize the first PLC data, transmit the obtained second Ethernet frame data to the communication device 200 and forward it.
[0160] 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.
[0161] like Figure 7As shown, the communication module 202 can also be used to: receive the first Ethernet frame data of the communication device 300, segment the first Ethernet frame data, and transmit the obtained second PLC data to the communication device 300 and store it.
[0162] It can be seen that the power supply device 200 can be used 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.
[0163] That is to say, 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 can all be stored in the communication device 300 .
[0164] Continue to refer Figure 7 The communication module 202 can also be used to: modulate the second PLC data according to the modulation parameter to obtain and output the second PLC signal. Exemplarily, the power supply device 200 can output the second PLC signal to a host, a smart speaker, or other peer device.
[0165] Furthermore, the communication module 202 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, so as to obtain a second PLC signal.
[0166] Furthermore, the peer device demodulates and decodes the received second PLC signal to obtain multiple segmented second PLC data. Since some or all of the segments in the second PLC data may be correctly received by the peer device, or may not be correctly received by the peer device. Then, 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 202, and the communication module 202 can control the storage module 203 to delete the second PLC data correctly received by the peer device, so as to release the storage space of the storage module 203. The communication module 202 can also send the segments that are not correctly received by the peer device to the peer device.
[0167] 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 stores the modulation parameters, the first PLC data, the second PLC data and the second Ethernet frame data in the communication device 300, thereby not only saving the cost of the power supply device 200 and reducing the power consumption of the power supply device 200, but also reducing the communication delay of the power supply device 200.
[0168] In some embodiments, Figure 6 and Figure 7As shown, the power supply device 200 may further include an interface 203 (ie, a first interface). The interface 203 may be electrically connected to the communication module 202 .
[0169] Alternatively, if Figure 6 As shown, 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 through the interface 203, and the first PLC data and the second Ethernet frame data can both be transmitted to the communication device 300 through the interface 203.
[0170] like Figure 7 As shown, 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. That is, 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.
[0171] Further, the interface 203 may adopt 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, the communication between the power supply device 200 and the communication device 300 may be realized via a USB cable.
[0172] Optionally, the USB cable may include a first USB interface. The pins of the first PCIE communication interface may be electrically connected to corresponding pins of the first USB interface.
[0173] 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. Among them, the first pin may be used to indicate the first reference clock REFCLK+. The second pin may be used to indicate the second reference clock REFCLK-. The third pin may be used to indicate that the first channel sends data HSOP(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 is not limited in the embodiments of the present application.
[0174] Exemplarily, other pins of the first PCIE communication interface may refer to the first USB interface, and the embodiments of the present application will not be described in detail.
[0175] Exemplarily, the first USB interface may include pin 7, pin 8, pin 9, pin 10, pin 11 and pin 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 the embodiment of the present application.
[0176] 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.
[0177] 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 to send data StdB_SSTX-, the tenth pin can be used to indicate the second high-speed data differential pair to send data StdB_SSTX+, the eleventh pin can be used to indicate the first high-speed data differential pair to receive data StdB_SSRX-, and the twelfth pin can be used to indicate the second high-speed data differential pair to receive data StdB_SSRX+. The corresponding relationship between the pins of the first PCIE communication interface and the pins of the first USB interface is shown in Table 1:
[0178] Table 1
[0179]
[0180]
[0181] In some other examples, the power module 201 may be an AC / DC converter.
[0182] refer to Figure 6 and Figure 7 The power module 201 (i.e., AC / DC converter) can be used to convert alternating current (AC) into direct current (DC) and provide it to the communication module 202. In other words, the power module 201 can provide direct current to the communication module 202 to enable the communication module 202 to operate normally.
[0183] In some other embodiments, the power module 201 may also be used to provide DC to the communication device 300 through the interface 203. That is, 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 embodiments 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] refer to Figure 8 , the 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 according to the address of the storage module 301, and can also transmit the first PLC data to the storage module 301 according to 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 each carrier may use a different modulation order, which is not limited in the embodiment of the present application.
[0194] Exemplarily, the storage module 301 can be used to store not only the modulation order but also 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, Fig. 9As shown, the storage module 301 can also be used to store the first Ethernet frame data of the communication device 300. The processing module 302 can 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 some 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 some other embodiments, Fig. 9 As shown, the processing module 302 can also be used to: transmit the second Ethernet frame data from the power supply device 200 to the storage module 301. The storage module 301 can also be used to: store the second Ethernet frame data. It can be seen that the processing module 302 plays the role of forwarding 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] Alternatively, if Figure 8 and Fig. 9 As shown, 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, if Figure 8 As shown, the interface 303 can be used to transmit the modulation parameters to the interface 203. The interface 303 can also be used to transmit the first PLC data from the interface 203 to the processing module 302. That is, the modulation parameters are transmitted to the interface 203 through the interface 303, and the first PLC data can be transmitted to the processing module 302 through the interface 303.
[0201] In another example, if Fig. 9 As shown, the interface 303 can 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 can be transmitted to the processing module 302 through the interface 303.
[0202] Further, similar to the interface 203, the interface 303 may use a second PCIE communication interface. The second PCIE communication interface may be electrically connected to the power supply device 200 (which may be the first PCIE communication interface of the power supply device 200) through 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. The relevant introduction of the first pin, the second pin, the third pin, the fourth pin, the fifth pin, and the sixth pin can be referred to above, and the embodiments of the present application will not be repeated. Of course, in addition to the above pins, the second PCIE communication interface may also include pins for indicating other functions, which is not limited in the embodiments of the present 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 may also be referred to above, and the embodiments of the present application will not be repeated. Of course, in addition to the above-mentioned pins, the second USB interface may also include pins for indicating other functions, which are not limited in the present 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 embodiments 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. Fig.10 As shown, the communication process 500 may include the following steps:
[0210] Step S501 : the power supply device 200 acquires 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 used to store modulation parameters. Therefore, the power supply device 200 may demodulate the first PLC signal according to the modulation parameters stored in the power supply device 200 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 through the modulation parameters stored in the communication device 300, and transmit and store the obtained first PLC data to the communication device 300. 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, but 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, 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 the above step S501, the power supply device 200 may obtain modulation parameters from the communication device 300 through the interface 203. In the above step S503, the power supply device 300 may transmit the first PLC data to the communication device 300 through the interface 203. It can be seen that the power supply device 200 may obtain the modulation parameters and transmit the first PLC data through 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] Exemplarily, in addition to demodulating the first PLC signal according to the modulation parameters, the power supply device 200 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 the forward error correction code rate, etc., which is not limited in the embodiment of the present application.
[0218] Furthermore, if Fig.11 As shown, the control process 500 provided in the embodiment of the present application may also 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, Fig.12 As shown, the control process 500 provided in the embodiment of the present application may also 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 be used 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 to say, 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 can all be stored in the communication device 300 .
[0228] Optionally, in the above step S505, the power supply device 200 can transmit and store the second Ethernet frame data to the communication device 300 through the interface 203. In the above step S506, the power supply device 200 can receive the first Ethernet frame data of the communication device 300 through the interface 203. In step S508, the power supply device 200 can transmit and store the second PLC data to the communication device 300 through the interface 203. It can be seen that the power supply device 200 can realize the transmission of the second Ethernet frame data, the reception of the first Ethernet frame data, and the transmission of the second PLC data through the interface 203.
[0229] Furthermore, if Fig.13 As shown, 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. Exemplarily, the power supply device 200 can output the second PLC signal to a host, a smart speaker, or other peer device.
[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 stores the modulation parameters, the first PLC data, the second PLC data and the second Ethernet frame data in the communication device 300, thereby not only saving the cost of the power supply device 200 and reducing the power consumption of the power supply device 200, but also reducing 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 embodiment of the present application.
[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 of ordinary skill 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 to be beyond the scope of this application.
[0237] Those skilled in the art can 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 the present 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, 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 separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[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 can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods 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 is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope 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 8.
