A communication method and a communication device based on one-wire power supply communication

By generating multiple data signals on the power supply communication line and transmitting them using the voltage range, the problem of low data transmission efficiency and security in single bus communication is solved, and efficient and secure data transmission and power supply are achieved.

CN113141286BActive Publication Date: 2025-07-08NATIONZ TECH INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010060426.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-19
Publication Date
2025-07-08
Estimated Expiration
2040-01-19

AI Technical Summary

Technical Problem

In a secure communication system that requires saving signal line resources, existing single-bus communication cannot transmit data signals and provide power signals efficiently at the same time, and the communication data transmission security level is low.

Method used

By generating multiple data signals on the power supply communication line, each data signal corresponds to a set of high logic levels and low level logic levels. Data transmission is performed using the transmission voltage range on the power supply communication line to realize simultaneous transmission of multiple data signals, and the transmission voltage is adjusted through the communication chip to achieve efficient and secure data transmission.

Benefits of technology

It realizes the transmission of multiple data signals simultaneously in single bus communication, improves data transmission efficiency and security, meets power supply needs, and is suitable for secure communication systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113141286B_ABST
    Figure CN113141286B_ABST
Patent Text Reader

Abstract

The present application discloses a communication method and a communication device based on single-bus power supply communication. The method includes: obtaining data to be transmitted; generating corresponding communication transmission data on the power supply communication line according to the data to be transmitted for communication between communication devices; wherein the communication transmission data includes a plurality of data signals, each data signal corresponding to a set of high logic level and low logic level, the high logic level and the low logic level corresponding to a high voltage range and a low voltage range respectively, and when the transmission voltage on the power supply communication line falls within the high voltage range or the low voltage range corresponding to the data signal, the data signal is transmitted. By the above method, the present application can transmit a plurality of data signals simultaneously, improving the efficiency and security of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a communication method and a communication device based on single-bus power supply communication. Background Art

[0002] In some secure communication systems that need to save signal line resources, it is necessary to minimize the number of signal lines as much as possible. In this case, using single-bus communication is a better solution, that is, two devices are connected through a signal line and a ground line. In many communication applications, it is necessary to provide a power signal through the signal line, and at the same time, many communication applications need to transmit sensitive information. However, common single buses are not suitable for providing power through the signal line, with low data transmission efficiency and low security level of communication data transmission. Summary of the Invention

[0003] This application provides a communication method and a communication device based on single-bus power supply communication, which can simultaneously transmit multiple data signals and improve the efficiency and security of data transmission.

[0004] To solve the above technical problems, the technical solution adopted by this application is: to provide a communication method based on single-bus power supply communication, the method includes: obtaining data to be transmitted; generating corresponding communication transmission data on the power supply communication line according to the data to be transmitted for communication between communication devices; where the communication transmission data includes multiple data signals, each data signal corresponds to a set of high logic level and low logic level, the high logic level and the low logic level respectively correspond to a high voltage range and a low voltage range, and when the transmission voltage on the power supply communication line falls within the high voltage range or the low voltage range corresponding to the data signal, the data signal is transmitted.

[0005] To solve the above technical problems, another technical solution adopted by this application is: to provide a communication device based on single-bus power supply communication, the communication device includes a communication chip, and the communication chip is connected to the power supply communication line and adjusts the transmission voltage on the power supply communication line according to the data to be transmitted, so as to execute the above-mentioned communication method based on single-bus power supply communication.

[0006] To solve the above technical problems, another technical solution adopted in this application is: to provide a communication method based on single-bus power supply communication, which is applied in a communication system. The communication system includes a first communication device, a second communication device, and a power supply communication line connecting the first communication device and the second communication device. The method includes: powering on the first communication device and initializing the power supply communication line; the first communication device enters an idle period to prepare data to be transmitted; the first communication device adjusts the transmission voltage on the power supply communication line according to the data to be transmitted to generate corresponding communication transmission data on the power supply communication line, so as to send the communication transmission data to the second communication device; the first communication device waits for an answer from the second communication device; and / or enters the next idle period to prepare the next data to be transmitted; wherein, the communication transmission data includes multiple data signals, each data signal corresponds to a set of high logic level and low logic level, the high logic level and the low logic level respectively correspond to a high voltage range and a low voltage range, and when the transmission voltage on the power supply communication line falls within the high voltage range or the low voltage range corresponding to the data signal, the data signal is transmitted.

[0007] Through the above solution, the beneficial effect of this application is: using the power supply communication line to send communication transmission data to other communication devices, the communication transmission data includes at least two data signals, the timing of each data signal is different, each data signal corresponds to a set of high voltage range and low voltage range, and when the transmission voltage on the power supply communication line falls within the high voltage range or the low voltage range corresponding to the data signal, the data signal is transmitted, which can realize the simultaneous transmission of multiple data signals, improve the efficiency and security of data transmission, and can supply power while communicating to meet the power supply needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In order to more clearly illustrate the technical solutions in the embodiments of this application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings. Among them:

[0009] Figure 1 is a schematic flowchart of an embodiment of the communication method based on single-bus power supply communication provided by this application;

[0010] Figure 2 is Figure 1 a schematic structural diagram of the first data signal in the shown embodiment;

[0011] Figure 3 is Figure 1 a schematic structural diagram of the second data signal in the shown embodiment;

[0012] Figure 4 is Figure 1 A signal timing diagram of a first data signal and a second data signal in the illustrated embodiment;

[0013] Figure 5 A schematic structural diagram of an embodiment of a communication device based on single-bus power supply communication provided by the present application;

[0014] Figure 6 A schematic flowchart of another embodiment of a communication method based on single-bus power supply communication provided by the present application;

[0015] Figure 7 A schematic structural diagram of an embodiment of a communication system provided by the present application;

[0016] Figure 8a is Figure 6 A signal timing diagram of a signal to be transmitted sent by a host in the illustrated embodiment;

[0017] Figure 8b is Figure 6 A signal timing diagram of an acknowledgment data signal sent by a slave in the illustrated embodiment. Detailed implementation manners

[0018] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0019] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of an embodiment of a communication method based on single-bus power supply communication provided by the present application. The method includes:

[0020] Step 11: Obtain data to be transmitted.

[0021] The communication device can receive data to be transmitted sent by other communication devices, or the communication device itself generates data to be transmitted.

[0022] Step 12: Generate corresponding communication transmission data on the power supply communication line according to the data to be transmitted for communication between communication devices.

[0023] After obtaining the data to be transmitted, the data to be transmitted can be sent to other communication devices through the power supply communication line; specifically, communication transmission data is generated on the power supply communication line according to the data to be transmitted. The communication transmission data includes multiple data signals, and each data signal corresponds to a set of high logic levels and low logic levels. The high logic level and the low logic level correspond to a high voltage range and a low voltage range respectively. When the transmission voltage on the power supply communication line falls within the high voltage range or the low voltage range corresponding to the data signal, the data signal is transmitted.

[0024] Furthermore, the high voltage range of a data signal is the same as the low voltage range of other data signals; or the low voltage range of a data signal is the same as the high voltage range of other data signals; for example, assuming that the communication transmission data includes three data signals, denoted as Data1, Data2, and Data3 respectively, the low voltage range and the high voltage range of Data1 are 0V - 1V and 1V - 2V respectively, the low voltage range and the high voltage range of Data2 are 1V - 2V and 2.5 - 4V respectively, and the low voltage range and the high voltage range of Data2 are 4.5V - 5V and 5 - 6.5V respectively, then the high voltage range of Data1 is the same as the low voltage range of Data2.

[0025] In a specific embodiment, the communication transmission data includes a first data signal and a second data signal; the voltage range corresponding to one of the high logic and the low logic of the first data signal is different from the voltage range corresponding to the corresponding high logic or the corresponding low logic in the second data signal; specifically, the first data signal includes a high logic and a low logic, the second data signal includes a high logic and a low logic, the high voltage range corresponding to the high logic in the first data signal is different from the high voltage range corresponding to the high logic in the second data signal, or the low voltage range corresponding to the low logic in the first data is different from the low voltage range corresponding to the low logic in the second data signal.

[0026] Since the voltage range corresponding to one of the high logic and the low logic in the first data signal is different from the voltage range corresponding to the level logic in the second data signal, the communication timings of the first data signal and the second data signal are different, which can be compatible with two communication timings, realize the simultaneous transmission of two data signals, improve the efficiency and security of data transmission, and can supply power while communicating to meet the power supply requirements.

[0027] In a specific embodiment, when the transmission voltage on the power supply communication line is greater than the first threshold, the transmission voltage corresponds to the high-level logic in the first data signal; when the transmission voltage on the power supply communication line is not greater than the first threshold, the transmission voltage corresponds to the low-level logic in the first data signal.

[0028] When the transmission voltage on the power supply communication line is greater than the first threshold and greater than the second threshold, the transmission voltage corresponds to the high-level logic in the second data signal; when the transmission voltage on the power supply communication line is greater than the first threshold and not greater than the second threshold, the transmission voltage corresponds to the low-level logic in the second data signal, and the second threshold is greater than the first threshold.

[0029] Further, the second data signal is generated during the high-level logic of the first data signal; as Figure 2 shown, the first data signal includes a first start bit, a second start bit, first data, and a stop bit sent in sequence; the first start bit is in the low-level logic of the first data signal, and the time length of the first start bit is denoted as T base1 ; the second start bit is in the high-level logic of the first data signal, and the time length of the second start bit is an integer multiple of the time length of the first start bit, and the time length of the second start bit is denoted as T base2 , and T base2 = a * T base1 , where a is an integer; the first data is data composed of the low-level logic and high-level logic in the first data signal, and the time length of the low-level logic in the first data can be T base1 , and the time length of the high-level logic in the first data can be T base2 , that is, the time lengths of the level logics "0" and "1" in the first data are based on the time lengths of the first start bit and the second start bit, and the first data can be binary data, such as "100100111"; the stop bit is in the low-level logic of the first data signal, and the time length of the stop bit is an integer multiple of the time length of the first start bit, and the time length of the stop bit is denoted as T stop , and T stop = b * T base1 , where b is an integer.

[0030] The second data signal includes a third start bit, a fourth start bit, and second data sent in sequence, as Figure 3 shown; the third start bit is in the high-level logic of the second data signal, and the time length of the third start bit is denoted as T base3 ; the fourth start bit is in the low-level logic of the second data signal, and the time length of the fourth start bit is an integer multiple of the third start bit, and the time length of the fourth start bit is denoted as T base4 , and T base4 = c * T base3, c is an integer; the second data is the data composed of the low-level logic and high-level logic in the second data signal, and the time length of the low-level logic in the second data can be T base4 , the time length of the high-level logic in the second data can be T base3 , that is, the time lengths of the level logics "0" and "1" in the second data are based on the time lengths of the third start bit and the fourth start bit.

[0031] The high-level voltage range of the first data signal is the same as the low-level voltage range of the second data signal, that is, the low-level voltage range corresponding to the low-level logic of the first data signal is different from the low-level voltage range corresponding to the low-level logic of the second data signal; specifically, the low-level voltage range corresponding to the low-level logic of the first data signal is smaller than the low-level voltage range corresponding to the low-level logic of the second data signal.

[0032] In a specific embodiment, the first data signal is a plaintext data signal, the first data is plaintext data, the second data signal is a ciphertext data signal, and the second data is ciphertext data; the first threshold is denoted as V L , the transmission voltage on the power supply communication line is denoted as V, when V > V L , the transmission voltage V corresponds to the high-level logic "1" in the plaintext data signal; when V < V L , the transmission voltage V corresponds to the low-level logic "0" in the plaintext data signal.

[0033] Such as Figure 4 shown, the first data signal further includes an idle period, the idle period is in the high-level logic of the first data signal, and the time length of the idle period is an integer multiple of the time length of the first start bit, and the time length of the idle period is denoted as T wait , T wait = d * T base1 , d is an integer; the plaintext data includes n data transmission units, and the value of each data transmission unit D i (i = 1,..., n) can be 0 or 1; the ciphertext data includes m data transmission units, and the value of each data transmission unit d j (j = 1,..., m) can be 0 or 1.

[0034] The second threshold is denoted as V H , for the high-level logic "1" of the ciphertext data signal, the transmission voltage V > V L , and V > V H ; for the low-level logic "0" of the ciphertext data signal, V L < V < V H, and the transmission speed of the ciphertext data signal is greater than that of the plaintext data signal, that is, the plaintext data signal uses slow transmission and the ciphertext data signal uses fast transmission; the first threshold and the second threshold can be adjusted according to the specific usage scenario, the first threshold can have a proportional relationship with the voltage of the power signal, and the second threshold can have a proportional relationship with the voltage of the power signal; for example, the voltage of the power signal is denoted as V DD , V L =1 / 4V DD , V H =1 / 2V DD ; or V L =1 / 4V DD , V H =3 / 4V DD ; or V L =1 / 2V DD , V H =3 / 4V DD , for example, V DD =4.4V, V L =2.2V, V H =3.3V.

[0035] The single-bus transmission of this embodiment can recognize multiple logical states, and can provide power and communication data through the power supply communication line. The ciphertext data signal corresponds to the high-level logic "1" and the low-level logic "0", and the plaintext data signal corresponds to the high-level logic "1" and the low-level logic "0". The data is transmitted in a combination of the plaintext data signal and the ciphertext data signal, and the sensitive data can be received and sent more covertly, improving the security of data transmission. Moreover, the plaintext data signal can be used as both data and a delimiter, and the ciphertext data signal can transmit longer data, faster frequency, and higher communication efficiency.

[0036] Refer to Figure 5 , Figure 5 is a schematic structural diagram of an embodiment of a communication device based on single-bus power supply communication provided by this application. The communication device 50 based on single-bus power supply communication includes a communication chip 51. The communication chip 51 is connected to the power supply communication line and adjusts the transmission voltage on the power supply communication line according to the data to be transmitted, so as to execute the communication method based on single-bus power supply communication in the above embodiment.

[0037] The communication device 50 based on single-bus power supply communication in this embodiment can recognize multiple logical states, and the plaintext data and the ciphertext data are transmitted simultaneously, improving the security of sending the ciphertext. Moreover, the plaintext data signal can be used as both data and a delimiter, and the ciphertext data signal can transmit longer data, faster frequency, and higher communication efficiency.

[0038] Refer to Figure 6 and Figure 7 ,Figure 6 It is a schematic flowchart of another embodiment of the communication method based on single-bus power supply communication provided by this application. Figure 7 It is a schematic structural diagram of an embodiment of the communication system provided by this application. This communication method is applied in the communication system 70. The communication system 70 includes a first communication device 71, a second communication device 72, and a power supply communication line 73 connecting the first communication device 71 and the second communication device 72. This communication method includes:

[0039] Step 61: Power on the first communication device and initialize the power supply communication line.

[0040] After the first communication device 71 is powered on, it initializes the power supply communication line 73. After the initialization is completed, it enters the idle period.

[0041] Step 62: The first communication device enters the idle period to prepare the data to be transmitted.

[0042] After the first communication device 71 prepares the data to be transmitted, it enters the data sending stage, that is, actively sends the data to be transmitted to the second communication device 72.

[0043] Step 63: The first communication device adjusts the transmission voltage on the power supply communication line according to the data to be transmitted to generate corresponding communication transmission data on the power supply communication line, so as to send the communication transmission data to the second communication device.

[0044] The communication transmission data includes a plurality of data signals. Each data signal corresponds to a set of high logic levels and low logic levels. The high logic level and the low logic level respectively correspond to a high voltage range and a low voltage range. When the transmission voltage on the power supply communication line falls within the high voltage range or the low voltage range corresponding to the data signal, the data signal is transmitted.

[0045] In a specific embodiment, the communication transmission data includes a first data signal and a second data signal. The voltage range corresponding to one of the high logic level and the low logic level of the first data signal is different from the voltage range corresponding to the corresponding high logic level or the corresponding low logic level in the second data signal; in the data sending stage, after the first communication device 71 finishes sending the communication transmission data, it enters the idle period again.

[0046] After the first communication device 71 finishes sending the communication transmission data and enters the idle period again, the first communication device 71 waits for the response from the second communication device 72; and / or enters the next idle period to prepare the next data to be transmitted.

[0047] Further, the first communication device 71 can determine whether the second communication device 72 needs to send response data after entering the idle period; specifically, there is a handshake protocol between the first communication device 71 and the second communication device 72, and this handshake protocol is used to specify whether the second communication device 72 needs to make a response.

[0048] If the second communication device 72 does not need to send response data, the first communication device 71 can wait in the idle period until the next data to be transmitted is ready; if the second communication device 72 needs to send response data, the first communication device 71 can further determine whether it has received the response data sent by the second communication device 72 within a preset time. If the response data is not received after the preset time has elapsed, the first communication device 71 can resend the data to be transmitted; if the response data is received, it can enter the idle period and wait for the next data to be transmitted to be ready.

[0049] In a specific embodiment, when the transmission voltage on the power supply communication line 73 is greater than the first threshold, the transmission voltage corresponds to the high-level logic in the first data signal; when the transmission voltage on the power supply communication line 73 is not greater than the first threshold, the transmission voltage corresponds to the low-level logic in the first data signal. When the transmission voltage on the power supply communication line 73 is greater than the first threshold and greater than the second threshold, the transmission voltage corresponds to the high-level logic in the second data signal; when the transmission voltage on the power supply communication line 73 is greater than the first threshold and not greater than the second threshold, the transmission voltage corresponds to the low-level logic in the second data signal, and the second threshold is greater than the first threshold.

[0050] Further, the first communication device 71 can be the host, and the second communication device 72 can be the slave. Figure 8a is the signal timing diagram corresponding to the host. Figure 8b is the signal timing diagram corresponding to the slave. The specific meanings of the various parameters in the figure are the same as those in Figure 4 and will not be elaborated here.

[0051] This embodiment provides a single-bus secure communication solution. The host transmits a power signal on the power supply communication line 73 to supply power to the slave, and at the same time conducts half-duplex master-slave communication to achieve the simultaneous transmission of plaintext data and ciphertext data, improving the data communication speed and the security of data transmission.

[0052] In several implementation manners provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation manners described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0053] The unit described as a separation component may or may not be physically separated, and the component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0054] In addition, each functional unit in various embodiments of the present application can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0055] The above are only the embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.

Claims

1. A communication method based on single-bus power supply communication, characterized in that, Including: Obtain data to be transmitted; Generate corresponding communication transmission data on the power supply communication line according to the data to be transmitted for communication between communication devices; Wherein, the communication transmission data includes a plurality of data signals, each data signal corresponding to a set of high logic levels and low logic levels, the high logic level and the low logic level corresponding to a high voltage range and a low voltage range respectively, and when the transmission voltage on the power supply communication line falls within the high voltage range or the low voltage range corresponding to the data signal, the data signal is transmitted; Wherein, the communication transmission data includes a first data signal and a second data signal, the high voltage range of the first data signal being the same as the low voltage range of the second data signal, and the second data signal being generated during the high logic period of the first data signal; Wherein, the first data signal and the second data signal are a plaintext data signal and a ciphertext data signal respectively.

2. The communication method based on single-bus power supply communication according to claim 1, characterized in that When the transmission voltage on the power supply communication line is greater than a first threshold, the transmission voltage corresponds to the high logic in the first data signal; and when the transmission voltage on the power supply communication line is not greater than the first threshold, the transmission voltage corresponds to the low logic in the first data signal.

3. The communication method based on single-bus power supply communication according to claim 2, characterized in that When the transmission voltage on the power supply communication line is greater than the first threshold and greater than a second threshold, the transmission voltage corresponds to the high logic in the second data signal; and when the transmission voltage on the power supply communication line is greater than the first threshold and not greater than the second threshold, the transmission voltage corresponds to the low logic in the second data signal, wherein the second threshold is greater than the first threshold.

4. The communication method based on single-bus power supply communication according to claim 3, characterized in that The first data signal includes a first start bit, a second start bit, first data, and a stop bit sent in sequence; Wherein, the first start bit is in the low logic in the first data signal; the second start bit is in the high logic in the first data signal, and the time length of the second start bit is an integer multiple of the time length of the first start bit; the first data is data composed of the low logic and the high logic in the first data signal; the stop bit is in the low logic in the first data signal, and the time length of the stop bit is an integer multiple of the time length of the first start bit.

5. The communication method based on single-bus power supply communication according to claim 3, characterized in that The second data signal includes a third start bit, a fourth start bit, and second data sent in sequence; Wherein, the third start bit is in the high-level logic of the second data signal; the fourth start bit is in the low-level logic of the second data signal, and the time length of the fourth start bit is an integer multiple of that of the third start bit; the second data is composed of the low-level logic and the high-level logic in the second data signal.

6. A communication device based on single-bus power supply communication, characterized in that, It includes a communication chip, which is connected to a power supply communication line and adjusts the transmission voltage on the power supply communication line according to data to be transmitted, so as to execute the communication method based on single-bus power supply communication according to any one of claims 1-5.

7. A communication method based on single-bus power supply communication, characterized in that, The communication method is applied in a communication system, which includes a first communication device, a second communication device, and a power supply communication line connecting the first communication device and the second communication device. Wherein, the communication method includes: Power on the first communication device and initialize the power supply communication line; The first communication device enters an idle period to prepare data to be transmitted; The first communication device adjusts the transmission voltage on the power supply communication line according to the data to be transmitted to generate corresponding communication transmission data on the power supply communication line, so as to send the communication transmission data to the second communication device; The first communication device waits for an answer from the second communication device; and / or enters the next idle period to prepare the next data to be transmitted; Wherein, the communication transmission data includes a plurality of data signals, each data signal corresponds to a set of high logic level and low logic level, the high logic level and the low logic level respectively correspond to a high-level voltage range and a low-level voltage range, and when the transmission voltage on the power supply communication line falls within the high-level voltage range or the low-level voltage range corresponding to the data signal, the data signal is transmitted; Wherein, the communication transmission data includes a first data signal and a second data signal, the high-level voltage range of the first data signal is the same as the low-level voltage range of the second data signal, and the second data signal is generated during the high-level logic of the first data signal; Wherein, the first data signal and the second data signal are a plaintext data signal and a ciphertext data signal respectively.

Citation Information

Patent Citations

  • Single-bus full-duplex data communication method and system

    CN106649171A