CN117459097A - Communication method, first electronic device and second electronic device - Google Patents

Communication method, first electronic device and second electronic device Download PDF

Info

Publication number
CN117459097A
CN117459097A CN202311413751.1A CN202311413751A CN117459097A CN 117459097 A CN117459097 A CN 117459097A CN 202311413751 A CN202311413751 A CN 202311413751A CN 117459097 A CN117459097 A CN 117459097A
Authority
CN
China
Prior art keywords
electronic device
power line
communication
interface
line interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311413751.1A
Other languages
Chinese (zh)
Inventor
杨云涛
郭金超
王利平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202311413751.1A priority Critical patent/CN117459097A/en
Publication of CN117459097A publication Critical patent/CN117459097A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B14/00Transmission systems not characterised by the medium used for transmission
    • H04B14/002Transmission systems not characterised by the medium used for transmission characterised by the use of a carrier modulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The application provides a communication method, a first electronic device and a second electronic device, wherein the communication method comprises the following steps: determining that the second electronic equipment is connected to a power line interface of the first electronic equipment, supplying power to the second electronic equipment through the power line interface, establishing communication connection between the first electronic equipment and the second electronic equipment based on the power line interface while supplying power, and realizing data transmission between the first electronic equipment and the second electronic equipment through the communication connection established based on the power line interface; the power line interface comprises a first conductive interface and a second conductive interface, the first conductive interface is conducted with the positive electrode of the power line of the first electronic device, the second conductive interface is conducted with the negative electrode of the power line, and the second electronic device is auxiliary equipment of the first electronic device.

Description

Communication method, first electronic device and second electronic device
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a communication method, a first electronic device, and a second electronic device.
Background
Currently, in a scheme that a first electronic device and a second electronic device can be connected, more interfaces are often arranged on the first electronic device and used for accessing the second electronic device. However, the more interfaces, the more the corresponding number of fault points and the higher the fault probability, which affect the stability of access.
Disclosure of Invention
The application provides the following technical scheme:
in one aspect, the present application provides a communication method, including:
determining a power line interface of a second electronic device connected to a first electronic device, supplying power to the second electronic device through the power line interface, establishing communication connection between the first electronic device and the second electronic device based on the power line interface while supplying power, and realizing data transmission between the first electronic device and the second electronic device through the communication connection established based on the power line interface;
the power line interface comprises a first conductive interface and a second conductive interface, the first conductive interface is conducted with the positive electrode of the power line of the first electronic device, the second conductive interface is conducted with the negative electrode of the power line, and the second electronic device is auxiliary equipment of the first electronic device.
Determining that the second electronic device accesses the power line interface of the first electronic device includes:
and determining that the second electronic equipment accesses to the power line interface of the first electronic equipment based on the induction signal of the induction device of the first electronic equipment to the power line interface.
Establishing a communication connection between the first electronic device and the second electronic device based on the power line interface, comprising:
and responding to the determination that the second electronic equipment is accessed to the power line interface of the first electronic equipment, switching the first communication chip of the first electronic equipment from an idle state to an awake state, wherein the first communication chip is used for modulating communication data establishing communication connection into a communication signal with a preset carrier frequency so as to transmit the communication signal to the second electronic equipment through the power line interface, and the power consumption of the first communication chip in the idle state is lower than that in the awake state.
The data transmission between the first electronic device and the second electronic device is realized through the communication connection established based on the power line interface, and the method comprises the following steps:
obtaining identity information of the second electronic device through the communication connection established based on the power line interface;
and realizing data transmission between the first electronic equipment and the second electronic equipment based on the identity information of the second electronic equipment and the communication connection.
The data transmission between the first electronic device and the second electronic device is realized through the communication connection established based on the power line interface, and the method comprises the following steps:
Obtaining identity information of a third electronic device connected with the second electronic device through the communication connection established based on the power line interface;
and realizing data transmission between the first electronic equipment and the second electronic equipment based on the identity information of the third electronic equipment and the communication connection so as to realize data transmission between the first electronic equipment and the third electronic equipment.
Another aspect of the present application provides a first electronic device, including:
a power line interface for supplying power to a second electronic device connected to the first electronic device;
the communication module is used for establishing communication connection between the first electronic equipment and the second electronic equipment based on the power line interface while supplying power, and realizing data transmission between the first electronic equipment and the second electronic equipment through the communication connection established based on the power line interface;
the power line interface comprises a first conductive interface and a second conductive interface, the first conductive interface is communicated with the positive electrode of the power line, the second conductive interface is communicated with the negative electrode of the power line, and the second electronic equipment is auxiliary equipment of the first electronic equipment.
A third aspect of the present application provides a first electronic device, comprising:
a first processor for performing the method of any of claims 1-5;
the first power line interface is used for accessing the second electronic equipment so that the first electronic equipment supplies power to the second electronic equipment, and communication connection between the first communication chip and the second electronic equipment is established while power is supplied; the first power line interface comprises a first conductive interface and a second conductive interface, the first conductive interface is communicated with the positive electrode of a power line of the first electronic device, the second conductive interface is communicated with the negative electrode of the power line, and the second electronic device is auxiliary equipment of the first electronic device;
the first communication chip is used for modulating the data from the first processor into a communication signal with a preset carrier frequency and then transmitting the communication signal to the second electronic device, and demodulating the communication signal from the second electronic device and then transmitting the communication signal to the first processor.
A fourth aspect of the present application provides a second electronic device, comprising:
the keyboard is used for inputting key information;
the second processor is used for controlling the input key information to be transmitted to the second communication chip;
A second power line interface for connecting with a first power line interface of the first electronic device;
and the second communication chip is used for modulating the key information into a communication signal with a preset carrier frequency and transmitting the communication signal to the first electronic equipment, and/or demodulating the communication signal from the first electronic equipment and transmitting the communication signal to the second processor, wherein the second electronic equipment is auxiliary equipment of the first electronic equipment.
A fifth aspect of the present application provides a second electronic device, comprising:
a second power line interface for connecting with a first power line interface of the first electronic device;
the connection interface is used for connecting the second communication chip and the third electronic equipment; the connection interface meets a first communication protocol, the power line interface meets a second communication protocol, and the first communication protocol and the second communication protocol are different;
the second communication chip is used for modulating the data from the third electronic device into a communication signal with a preset carrier frequency and then transmitting the communication signal to the first electronic device, and demodulating the communication signal from the first electronic device and then transmitting the communication signal to the third electronic device connected with the connection interface.
The connection interface is used for realizing the conversion of the first communication protocol and the second communication protocol.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a schematic diagram of an implementation scenario of a communication method provided herein;
FIG. 2 is a schematic diagram of another implementation scenario of a communication method provided herein;
FIG. 3 is a schematic illustration of a connection between a first electronic device and a second electronic device provided herein;
FIG. 4 is a schematic diagram of yet another implementation scenario of a communication method provided herein;
FIG. 5 is a schematic illustration of another connection between a first electronic device and a second electronic device provided herein;
FIG. 6 is a schematic illustration of yet another connection between a first electronic device and a second electronic device provided herein;
FIG. 7 is a schematic illustration of yet another connection between a first electronic device and a second electronic device provided herein;
FIG. 8 is a schematic diagram of yet another implementation scenario of a communication method provided herein;
FIG. 9 is a schematic diagram of yet another implementation scenario of a communication method provided herein;
fig. 10 is a schematic structural diagram of a second electronic device provided in the present application;
fig. 11 is a schematic diagram of still another implementation scenario of a communication method provided in the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings.
The communication method provided by the present application may be applied to an electronic device, the product type of the electronic device is not limited in this application, and referring to an implementation scenario schematic diagram of the communication method shown in fig. 1, in embodiment 1 of the present application, the method may include, but is not limited to, the following steps:
Step S101, determining that the second electronic device is connected to a power line interface of the first electronic device, supplying power to the second electronic device through the power line interface, establishing communication connection between the first electronic device and the second electronic device based on the power line interface while supplying power, and realizing data transmission between the first electronic device and the second electronic device through the communication connection established based on the power line interface.
The power line interface comprises a first conductive interface and a second conductive interface, the first conductive interface is conducted with the positive electrode of the power line of the first electronic device, the second conductive interface is conducted with the negative electrode of the power line, and the second electronic device is auxiliary equipment of the first electronic device.
The second electronic device comprises a third conductive interface and a fourth conductive interface corresponding to the first conductive interface and the second conductive interface, the third conductive interface is conducted with the positive electrode of the power line of the second electronic device, and the fourth conductive interface is conducted with the negative electrode of the power line of the second electronic device.
In the present application, the interface types of the first conductive interface and the second conductive interface are not limited. For example, the first conductive interface and the second conductive interface may include, but are not limited to: a first metal contact and a second metal contact of a 2Pins POGO Pin. Corresponding to the embodiment that the first conductive interface and the second conductive interface are the first metal contact and the second metal contact of the 2Pins POGO Pin, the third conductive interface and the fourth conductive interface may include the first spring Pin and the second spring Pin of the 2Pins POGO Pin, and the second electronic device may be connected with the first metal contact and the second metal contact of the first electronic device through the first spring Pin and the second spring Pin.
In this embodiment, the first processor of the first electronic device may be connected to the first conductive interface and the second conductive interface through a connection power line, where the first processor determines that the second electronic device is connected to the power line interface of the first electronic device, and may send a first enable signal to the power supply module of the first electronic device to enable the power supply module to start supplying power.
In this embodiment, the power supply module of the first electronic device may be connected to the first conductive interface and the second conductive interface of the first electronic device through a connection power line, and supply power to the second electronic device through the first conductive interface and the second conductive interface.
The power module of the first electronic device may include, but is not limited to: the Power supply device comprises a Power module, a direct current Power converter (DC/DC) and a Power Filter (Power Filter), wherein the DC Power converter is connected with the Power module, the Power Filter is connected with the DC Power converter, a first conductive interface is connected with a second conductive interface, the DC Power converter is used for converting voltage output by the Power module into voltage which can be used by second electronic equipment, and the Power Filter is used for filtering interference signals in voltage signals output by the DC Power converter.
The first processor may establish a communication connection between the first electronic device and the second electronic device based on the first conductive interface and the second conductive interface while supplying power to the second electronic device through the first conductive interface and the second conductive interface, and enable data transmission between the first electronic device and the second electronic device through the communication connection established based on the first conductive interface and the second conductive interface.
The auxiliary device of the first electronic device may be used to assist the first electronic device in use. In the present application, the type of the auxiliary device of the first electronic device is not limited.
It should be noted that fig. 1 is only an illustration of one scenario of a communication method, and is not intended to limit the specific embodiments of the first electronic device and the second electronic device.
In this embodiment, power supply from the first electronic device to the second electronic device that is the auxiliary device and communication connection between the first electronic device and the second electronic device can be realized through the power line interface, so that the first electronic device does not need to set more interfaces, the number of corresponding fault points is reduced, the fault probability is reduced, the stability of power supply and communication is improved, and the use experience of the first electronic device and the second electronic device is improved.
As another optional embodiment of the present application, this embodiment is mainly a refinement of the communication method described in the foregoing embodiment 1, and in embodiment 2 of the present application, determining that the second electronic device accesses the power line interface of the first electronic device in step S101 may include, but is not limited to:
step S1011, determining that the second electronic device is connected to the power line interface of the first electronic device based on the induction signal of the induction device of the first electronic device to the power line interface.
The sensing device of the first electronic device can sense the connection condition of the power line interface to generate a sensing signal, the sensing signal can be sent to the first processor of the first electronic device, and if the first processor receives the sensing signal, the first processor can determine that the second electronic device is connected to the power line interface of the first electronic device.
In the present application, the type of the sensing device is not limited. For example, the sensing device may include, but is not limited to: hall sensor. The sensing area of the hall sensor comprises a power line interface, and as shown in fig. 2, the sensing area of the hall sensor is provided with a magnetic attraction area. The second electronic device can be provided with a magnetic part corresponding to the embodiment of the Hall sensor, the magnetic field of the magnetic attraction area corresponding to the magnetic part on the second electronic device is different from the magnetic field of the magnetic attraction area of the first electronic device, if the second electronic device is connected to the power line interface of the first electronic device, the first electronic device and the second electronic device can be magnetically connected based on the magnetic attraction area of the second electronic device and the magnetic attraction area of the first electronic device, if the Hall sensor senses that the magnetic field of the magnetic attraction area changes, an interrupt signal can be generated, the interrupt signal is transmitted to the first processor, and accordingly, if the interrupt signal is received, the first processor can determine that the second electronic device is connected to the power line interface of the first electronic device.
In this embodiment, the first electronic device performs the access determination by setting the sensing device, so that the circuit design and the access determination logic of the first electronic device can be simplified.
As another optional embodiment of the present application, this embodiment is mainly a refinement of the communication method described in the foregoing embodiment 1, and in embodiment 3 of the present application, the establishing, in step S101, a communication connection between the first electronic device and the second electronic device based on the power line interface may include, but is not limited to:
step S1012, in response to determining that the second electronic device accesses the power line interface of the first electronic device, switching the first communication chip of the first electronic device from an idle state to an awake state, where the first communication chip is configured to modulate communication data for establishing communication connection into a communication signal with a preset carrier frequency to transmit the communication signal to the second electronic device through the power line interface, and power consumption of the first communication chip in the idle state is lower than that in the awake state.
In the case where the power line interface of the first electronic device is not connected to the second electronic device, the first communication chip of the first electronic device may be in an idle state.
Specifically, the first processor may send, in response to determining that the second electronic device accesses the power line interface of the first electronic device, a second enable signal to the first communication chip of the first electronic device to cause the first communication chip to switch from the idle state to the awake state in response to the second enable signal.
The first communication chip in the wake-up state can modulate communication data for establishing communication connection into a communication signal with a preset carrier frequency to be transmitted to the second electronic device through the power line interface, the second communication chip of the second electronic device can respond to the communication signal of the first electronic device, and the response data for establishing communication connection is modulated by the communication signal with the preset carrier frequency to be returned to the first electronic device through the power line interface of the second electronic device. The first electronic device responds to the communication signal returned by the second electronic device, and communication connection between the first electronic device and the second electronic device is established.
Specifically, the first communication chip may modulate communication data for establishing a communication connection to a communication signal of a preset carrier frequency, and transmit the communication signal to the second electronic device through a power line communication analog front end (PLC AFE), a Coupling circuit module (Coupling Unit), a High Pass Filter (HPF), and a power line interface. Accordingly, the second communication chip of the second electronic device may receive the communication signal of the first electronic device through a power line interface, a High Pass Filter (HPF), a Coupling circuit module (Coupling Unit), and a power line communication analog front end (PLC AFE) of the second electronic device. Similarly, the second communication chip may transmit a communication signal to the first electronic device through a power line communication analog front end (PLC AFE), a Coupling circuit module (Coupling Unit), a High Pass Filter (HPF), and a power line interface of the second electronic device, and accordingly, the first communication chip may receive the communication signal of the second electronic device through the power line interface, the High Pass Filter (HPF), the Coupling circuit module (Coupling Unit), and the power line communication analog front end (PLC AFE) of the first electronic device.
The first communication chip may include, but is not limited to: the power line communication baseband processor (PLC Baseband Processor), accordingly, the second communication chip may include, but is not limited to: and a power line communication baseband processor (PLC Baseband Processor), as shown in fig. 3, if the HALL sensor (HALL) of the first electronic device senses that the magnetic field of the magnetic attraction area changes, an interrupt signal can be generated, the interrupt signal is transmitted to the first processor, accordingly, if the interrupt signal is received by the first processor, the first processor can send a first enable signal (EN 1) to the direct current power supply converter, send a second enable signal (EN 2) to the power line communication baseband processor, and the direct current power supply converter responds to the first enable signal to start power supply to the second electronic device through the metal contact of the power line interface, and the second electronic device supplies power to the power line communication analog front end (PLC AFE), the Coupling circuit module (Coupling Unit), the High Pass Filter (HPF) and the like of the second electronic device through the power filter and the direct current power supply converter.
The power line communication baseband processor switches from an idle state to an awake state in response to the second enable signal, and modulates communication data establishing a communication connection to a communication signal of a preset carrier frequency to be transmitted to the second electronic device through a power line communication analog front end (PLC AFE), a Coupling circuit module (Coupling Unit), a High Pass Filter (HPF), and a metal contact of the power line interface.
Accordingly, the power line communication baseband processor of the second electronic device may receive the communication signal of the first electronic device through a pogo pin, a High Pass Filter (HPF), a Coupling circuit module (Coupling Unit), and a power line communication analog front end (PLC AFE) of the power line interface of the second electronic device. The process of transmitting the communication signal from the second electronic device to the first electronic device in fig. 3 may refer to the process of transmitting the communication signal from the first electronic device to the second electronic device, which is not described herein.
RGMII in fig. 3 represents a simplified gigabit media independent interface, SPI represents a serial peripheral interface (Serial Peripheral Interface), plc_tx represents a power communication transmitting end, and plc_rx represents a power communication receiving end.
It should be noted that fig. 3 is only a schematic circuit diagram of the first electronic device and the second electronic device, and is not meant to limit the circuits of the first electronic device and the second electronic device.
In this embodiment, the detailed process of determining that the second electronic device accesses the power line interface of the first electronic device may be referred to the related description in embodiment 2, and will not be described herein.
In this embodiment, in response to determining that the second electronic device accesses the power line interface of the first electronic device, the first communication chip of the first electronic device is switched from the idle state to the awake state, so that the first communication chip may be in the idle state before the second electronic device accesses the power line interface of the first electronic device, thereby saving power consumption of the first electronic device.
As another optional embodiment of the present application, this embodiment is mainly a refinement of the communication method described in the foregoing embodiment 1, and in embodiment 4 of the present application, the data transmission between the first electronic device and the second electronic device is implemented through the communication connection established based on the power line interface in step S101 may include, but is not limited to:
step S1013, obtaining identity information of the second electronic device through the communication connection established based on the power line interface.
The first electronic device may transmit a broadcast signal to the second electronic device over a communication connection established based on the power line interface, and the second electronic device may transmit identity information of the second electronic device to the first electronic device based on the communication connection in response to the broadcast signal.
The identity information of the second electronic device may characterize the identity of the second electronic device.
Step S1014, implementing data transmission between the first electronic device and the second electronic device based on the identity information and the communication connection of the second electronic device.
In this embodiment, the identity of the second electronic device may be determined based on the identity information of the second electronic device, and the data content transmittable between the first electronic device and the second electronic device may be determined based on the identity of the second electronic device.
The data content transmittable between the first electronic device and the second electronic device may be transmitted based on the communication connection.
In this embodiment, the data from the first electronic device may act on the second electronic device, and the data sent by the second electronic device to the first electronic device is from the second electronic device. The second electronic device may include, but is not limited to: the keyboard, the second processor, the second power line interface and the second communication chip. The second power line interface may include a third conductive interface and a fourth conductive interface. The identity information of the second electronic device may include, but is not limited to: a network identifier and a communication address of the second electronic device. For example, as shown in fig. 4, the first electronic device and the second electronic device may be connected through a first power line interface and a second power line interface.
Wherein the keyboard may be used to input key information. The second communication chip is connected with the second processor, the second processor can control the input key information to be transmitted to the second communication chip, the second communication chip modulates the key information into a communication signal with a preset carrier frequency and then transmits the communication signal to the first electronic equipment through a second power line interface, and the second power line interface is connected with a first power line interface of the first electronic equipment. The second communication chip can also receive the communication signal from the first electronic device through the second power line interface, demodulate the communication signal from the first electronic device and transmit the communication signal to the second processor. The communication signal of the first electronic device is a communication signal obtained by modulating data of the first electronic device into a preset carrier frequency by the first communication chip.
For example, if the second power line interface is a first POGO Pin and a second POGO Pin of a 2Pins POGO Pin, the second communication chip is a power line communication baseband processor, as shown in fig. 5, the power line communication baseband processor may demodulate a communication signal from the first electronic device and transmit the demodulated communication signal to the second processor; the second processor can control key information input by the keyboard to be transmitted to the power line communication baseband processor, and the power line communication baseband processor modulates the key information into a communication signal with a preset carrier frequency and then transmits the communication signal to the first electronic equipment through the first spring thimble and the second spring thimble.
It should be noted that fig. 4 and 5 are simplified schematic diagrams, which are not limiting on the structures of the first electronic device and the second electronic device.
In this embodiment, the identity information of the second electronic device is obtained through the communication connection established based on the power line interface, and data transmission between the first electronic device and the second electronic device is achieved based on the identity information and the communication connection of the second electronic device, so that the data of the first electronic device may act on the second electronic device, and/or the first electronic device may obtain the data from the second electronic device.
And, by modulating the data into a communication signal of a preset carrier frequency, by transmitting the communication signal to transmit the data, the security of the data transmission between the first electronic device and the second electronic device can be improved.
As another optional embodiment of the present application, this embodiment is mainly a refinement of the communication method described in the foregoing embodiment 1, and in embodiment 5 of the present application, the data transmission between the first electronic device and the second electronic device is implemented through the communication connection established based on the power line interface in step S101 may include, but is not limited to:
step S1015, obtaining identity information of a third electronic device connected to the second electronic device through the communication connection established based on the power line interface.
Through the communication connection established based on the power line interface, the first electronic device can send a broadcast signal to the second electronic device, the second electronic device responds to the broadcast signal, it is determined that the third electronic device is connected to the second electronic device, and based on the communication connection, identity information of the third electronic device is sent to the first electronic device.
The identity information of the third electronic device may characterize the identity of the third electronic device.
The second electronic device may be used to enable a connection between the first electronic device and the third electronic device. The second electronic device may transmit data from the first electronic device to the third electronic device, or may transmit data from the third electronic device to the first electronic device.
Step S1016, implementing data transmission between the first electronic device and the second electronic device based on the identity information and the communication connection of the third electronic device, so as to implement data transmission between the first electronic device and the third electronic device.
The identity of the third electronic device may be determined based on the identity information of the third electronic device, and data content transmittable between the first electronic device and the third electronic device may be determined based on the identity of the third electronic device.
The first electronic device may transmit data content transmittable between the first electronic device and the third electronic device to the second electronic device based on the communication connection, and the second electronic device transmits data content from the first electronic device to the third electronic device.
The third electronic device may also transmit data content transmittable between the first electronic device and the third electronic device to the second electronic device, the data content from the third electronic device being transmitted by the second electronic device to the first electronic device.
In this embodiment, the second electronic device may include, but is not limited to: the device comprises a second power line interface, a connection interface and a second communication chip.
The second power line interface may be connected with a first power line interface of the first electronic device. Corresponding to embodiments where the first power line interface comprises a first metal contact and a second metal contact of a 2Pins POGO Pin, the second power line interface may comprise: the first spring thimble and the second spring thimble of 2Pins POGO Pin.
And the connection interface can connect the second communication chip and the third electronic device. The connection interface satisfies a first communication protocol and the power line interface satisfies a second communication protocol, the first communication protocol and the second communication protocol being different. As shown in fig. 6, the second communication chip (e.g., a power line communication baseband processor) may obtain data of the third electronic device through the connection interface, and the second communication chip may modulate the data from the third electronic device into a communication signal of a preset carrier frequency, and transmit the communication signal to the first electronic device through a power line communication analog front end (PLC AFE), a Coupling circuit module (Coupling Unit), and a High Pass Filter (HPF) of the second electronic device, and the power line interface. Accordingly, a first communication chip (e.g., a power line communication baseband processor) may receive communication signals of a second electronic device through a power line interface, a High Pass Filter (HPF), a Coupling circuit module (Coupling Unit), and a power line communication analog front end (PLC AFE) of the first electronic device.
The first communication chip may modulate data of the first electronic device into a communication signal with a preset carrier frequency, transmit the communication signal to the second electronic device through a power line communication analog front end (PLC AFE), a Coupling circuit module (Coupling Unit), a High Pass Filter (HPF), and a power line interface, and the second communication chip of the second electronic device may receive the communication signal of the first electronic device through the power line interface, the High Pass Filter (HPF), the Coupling circuit module (Coupling Unit), and the power line communication analog front end (PLC AFE) of the second electronic device, transmit the data of the first electronic device to the connection interface, and transmit the data of the first electronic device to the third electronic device through the connection interface.
In this embodiment, as shown in fig. 7, the connection interface may include, but is not limited to: the USB bridge is used for connecting the second communication chip and the USB interface. Corresponding to the USB interface, the third electronic device may be a USB disk as shown in fig. 8, or the third electronic device may be a mouse or a keyboard connected through a data line of the USB interface, or the like as shown in fig. 9.
The second communication chip may modulate data from the third electronic device into a communication signal with a preset carrier frequency and transmit the communication signal to the first electronic device, and demodulate the communication signal from the first electronic device and transmit the communication signal to the third electronic device connected to the connection interface. The communication signal of the first electronic device is a communication signal obtained by modulating data of the first electronic device into a preset carrier frequency by the first communication chip.
The second communication chip demodulates the communication signal from the first electronic device and transmits the demodulated communication signal to the third electronic device connected with the connection interface, and the second communication chip may include: the second communication chip demodulates the communication signal from the first electronic equipment to obtain data, determines that the data is of a second communication protocol, converts the data into the first communication protocol, and transmits the data of the first communication protocol to the third electronic equipment connected with the connection interface.
Of course, the connection interface may also be used to implement the conversion of the first communication protocol to the second communication protocol. Accordingly, the second communication chip can transmit data obtained by demodulating the communication signal from the first electronic device to the connection interface, the connection interface converts the data from the second communication protocol to the first communication protocol, and the data of the first communication protocol is transmitted to the third electronic device.
The second electronic device may further be provided with a magnetic member, which may be set as needed, without limitation in the present application. For example, as shown in a side view of the second electronic device shown in part (a) of fig. 10 and in a rear front view of the second electronic device shown in part (b) of fig. 10, the metal pogo pin and the USB interface are provided on different surfaces of the first electronic device, and the second electronic device may include two magnetic members, which may be provided on both sides of the metal pogo pin and the USB interface.
The first electronic device and the second electronic device may be magnetically connected as shown in fig. 11, based on the magnetic attraction area in the first electronic device and the magnetic attraction area of the magnetic member corresponding to the surface of the metal spring thimble in the second electronic device shown in part (c) of fig. 10, while the metal spring thimble of the second electronic device is connected with the metal contact of the first electronic device.
In this embodiment, the second electronic device includes a magnetic element, which on one hand can assist in connection of the power line interface between the first electronic device and the second electronic device, so as to reduce occurrence of poor contact of the power line interface between the first electronic device and the second electronic device; on the other hand, if the first electronic equipment is provided with the Hall sensor, the first electronic equipment can be enabled to sense the magnetic field of the magnetic attraction area to change based on the Hall sensor, and then the power line interface of the second electronic equipment connected to the first electronic equipment is determined.
In this embodiment, through the communication connection established based on the power line interface, the identity information of the third electronic device connected to the second electronic device is obtained, and data transmission between the first electronic device and the second electronic device is implemented based on the identity information of the third electronic device and the communication connection, so that data of the first electronic device may act on the third electronic device, and/or the first electronic device may obtain data from the third electronic device.
And the second electronic device can enable the first power line interface of the first electronic device to support more universal peripheral electronic devices, and the using function of the first electronic device is expanded through the first power line interface. For example, the second electronic device includes: the first power line interface of the first electronic device is connected with the second power line interface, a keyboard, a mouse or a USB flash disk and the like connected with the USB interface of the second electronic device can be connected with the first electronic device, so that the first electronic device can extend out of the USB interface through the first power line interface, and the problem that the first electronic device cannot be connected with the USB device because the first electronic device does not have the USB interface or the USB interface is occupied is solved.
And by modulating the data into a communication signal of a preset carrier frequency and transmitting the communication signal to transmit the data, the security of data transmission between the first electronic device and the third electronic device can be improved.
Next, a first electronic device provided in the present application will be described, where the first electronic device described below and the communication method described above may be referred to correspondingly.
The first electronic device may include: a power line interface and a communication module.
A power line interface for supplying power to a second electronic device connected to the first electronic device;
and the communication module is used for establishing communication connection between the first electronic equipment and the second electronic equipment based on the power line interface while supplying power, and realizing data transmission between the first electronic equipment and the second electronic equipment through the communication connection established based on the power line interface.
The power line interface comprises a first conductive interface and a second conductive interface, the first conductive interface is communicated with the positive electrode of the power line, the second conductive interface is communicated with the negative electrode of the power line, and the second electronic equipment is auxiliary equipment of the first electronic equipment.
The process of the communication module establishing a communication connection between the first electronic device and the second electronic device based on the power line interface may specifically include:
And in response to determining that the second electronic device is connected to the power line interface of the first electronic device, switching the first communication chip of the first electronic device from an idle state to a wake-up state, wherein the first communication chip is used for modulating communication data for establishing communication connection into a communication signal with a preset carrier frequency to be transmitted to the second electronic device through the power line interface, and the power consumption of the first communication chip in the idle state is lower than that in the wake-up state.
The process of the communication module for realizing data transmission between the first electronic device and the second electronic device through the communication connection established based on the power line interface specifically may include:
acquiring identity information of the second electronic equipment through communication connection established based on the power line interface;
and realizing data transmission between the first electronic equipment and the second electronic equipment based on the identity information and the communication connection of the second electronic equipment.
The process of the communication module for realizing data transmission between the first electronic device and the second electronic device through the communication connection established based on the power line interface specifically may include:
obtaining identity information of third electronic equipment connected with the second electronic equipment through communication connection established based on the power line interface;
And realizing data transmission between the first electronic equipment and the second electronic equipment based on the identity information and the communication connection of the third electronic equipment so as to realize data transmission between the first electronic equipment and the third electronic equipment.
Corresponding to the embodiment of the communication method provided by the application, the application also provides an embodiment of the first electronic device.
The first electronic device may include: the device comprises a first processor, a first power line interface and a first communication chip.
A first processor for performing the communication method as described in the above embodiments.
The first power line interface is used for accessing the second electronic equipment so that the first electronic equipment supplies power to the second electronic equipment, and communication connection between the first communication chip and the second electronic equipment is established while power is supplied; the first power line interface comprises a first conductive interface and a second conductive interface, the first conductive interface is conducted with the positive electrode of the power line of the first electronic equipment, the second conductive interface is conducted with the negative electrode of the power line, and the second electronic equipment is auxiliary equipment of the first electronic equipment.
The first communication chip is used for modulating the data from the first processor into a communication signal with a preset carrier frequency and then transmitting the communication signal to the second electronic equipment, and demodulating the communication signal from the second electronic equipment and then transmitting the communication signal to the first processor.
The connection relationship between the first communication chip, the first power line interface and the first processor may refer to the first electronic device introduced in the foregoing communication method, which is not described herein.
Corresponding to the embodiment of the communication method provided by the application, the application also provides an embodiment of the second electronic device.
The second electronic device may include: the keyboard, the second processor, the second power line interface and the second communication chip.
And the keyboard is used for inputting key information.
And the second processor is used for controlling the input key information to be transmitted to the second communication chip.
And the second power line interface is used for being connected with the first power line interface of the first electronic device.
The second communication chip is used for modulating the key information into a communication signal with a preset carrier frequency and then transmitting the communication signal to the first electronic equipment, and/or demodulating the communication signal from the first electronic equipment and then transmitting the communication signal to the second processor, and the second electronic equipment is auxiliary equipment of the first electronic equipment.
The connection relationship between the keyboard, the second processor, the second power line interface and the second communication chip may be referred to the second electronic device described in the foregoing communication method embodiment, which is not described herein again.
Corresponding to the embodiment of the communication method provided by the application, the application also provides an embodiment of the second electronic device.
The second electronic device may include: the second power line interface, the connection interface and the second communication chip.
And the second power line interface is used for being connected with the first power line interface of the first electronic device.
The connection interface is used for connecting the second communication chip and the third electronic equipment; the connection interface satisfies a first communication protocol and the power line interface satisfies a second communication protocol, the first communication protocol and the second communication protocol being different.
The second communication chip is used for modulating the data from the third electronic device into a communication signal with a preset carrier frequency and then transmitting the communication signal to the first electronic device, and demodulating the communication signal from the first electronic device and then transmitting the communication signal to the third electronic device connected with the connection interface.
In this embodiment, the connection interface may be used to implement the conversion of the first communication protocol and the second communication protocol.
The connection relationship between the second power line interface, the connection interface and the second communication chip may be referred to the second electronic device described in the foregoing communication method embodiment, and will not be described herein.
It should be noted that, in each embodiment, the differences from the other embodiments are emphasized, and the same similar parts between the embodiments are referred to each other. For the apparatus class embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference is made to the description of the method embodiments for relevant points.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in the embodiments or some parts of the embodiments of the present application.
The foregoing has described in detail a communication method, a first electronic device and a second electronic device provided in the present application, and specific examples have been applied to illustrate the principles and embodiments of the present application, where the foregoing examples are only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A method of communication, comprising:
determining a power line interface of a second electronic device connected to a first electronic device, supplying power to the second electronic device through the power line interface, establishing communication connection between the first electronic device and the second electronic device based on the power line interface while supplying power, and realizing data transmission between the first electronic device and the second electronic device through the communication connection established based on the power line interface;
the power line interface comprises a first conductive interface and a second conductive interface, the first conductive interface is conducted with the positive electrode of the power line of the first electronic device, the second conductive interface is conducted with the negative electrode of the power line, and the second electronic device is auxiliary equipment of the first electronic device.
2. The communication method of claim 1, determining that the second electronic device accesses the power line interface of the first electronic device, comprising:
and determining that the second electronic equipment accesses to the power line interface of the first electronic equipment based on the induction signal of the induction device of the first electronic equipment to the power line interface.
3. The communication method of claim 1, establishing a communication connection between the first electronic device and the second electronic device based on the power line interface, comprising:
And responding to the determination that the second electronic equipment is accessed to the power line interface of the first electronic equipment, switching the first communication chip of the first electronic equipment from an idle state to an awake state, wherein the first communication chip is used for modulating communication data establishing communication connection into a communication signal with a preset carrier frequency so as to transmit the communication signal to the second electronic equipment through the power line interface, and the power consumption of the first communication chip in the idle state is lower than that in the awake state.
4. The communication method according to claim 1, enabling data transmission between the first electronic device and the second electronic device through the communication connection established based on the power line interface, comprising:
obtaining identity information of the second electronic device through the communication connection established based on the power line interface;
and realizing data transmission between the first electronic equipment and the second electronic equipment based on the identity information of the second electronic equipment and the communication connection.
5. The communication method according to claim 1, enabling data transmission between the first electronic device and the second electronic device through the communication connection established based on the power line interface, comprising:
Obtaining identity information of a third electronic device connected with the second electronic device through the communication connection established based on the power line interface;
and realizing data transmission between the first electronic equipment and the second electronic equipment based on the identity information of the third electronic equipment and the communication connection so as to realize data transmission between the first electronic equipment and the third electronic equipment.
6. A first electronic device, comprising:
a power line interface for supplying power to a second electronic device connected to the first electronic device;
the communication module is used for establishing communication connection between the first electronic equipment and the second electronic equipment based on the power line interface while supplying power, and realizing data transmission between the first electronic equipment and the second electronic equipment through the communication connection established based on the power line interface;
the power line interface comprises a first conductive interface and a second conductive interface, the first conductive interface is communicated with the positive electrode of the power line, the second conductive interface is communicated with the negative electrode of the power line, and the second electronic equipment is auxiliary equipment of the first electronic equipment.
7. A first electronic device, comprising:
a first processor for performing the method of any of claims 1-5;
the first power line interface is used for accessing the second electronic equipment so that the first electronic equipment supplies power to the second electronic equipment, and communication connection between the first communication chip and the second electronic equipment is established while power is supplied; the first power line interface comprises a first conductive interface and a second conductive interface, the first conductive interface is communicated with the positive electrode of a power line of the first electronic device, the second conductive interface is communicated with the negative electrode of the power line, and the second electronic device is auxiliary equipment of the first electronic device;
the first communication chip is used for modulating the data from the first processor into a communication signal with a preset carrier frequency and then transmitting the communication signal to the second electronic device, and demodulating the communication signal from the second electronic device and then transmitting the communication signal to the first processor.
8. A second electronic device, comprising:
the keyboard is used for inputting key information;
the second processor is used for controlling the input key information to be transmitted to the second communication chip;
A second power line interface for connecting with a first power line interface of the first electronic device;
and the second communication chip is used for modulating the key information into a communication signal with a preset carrier frequency and transmitting the communication signal to the first electronic equipment, and/or demodulating the communication signal from the first electronic equipment and transmitting the communication signal to the second processor, wherein the second electronic equipment is auxiliary equipment of the first electronic equipment.
9. A second electronic device, comprising:
a second power line interface for connecting with a first power line interface of the first electronic device;
the connection interface is used for connecting the second communication chip and the third electronic equipment; the connection interface meets a first communication protocol, the power line interface meets a second communication protocol, and the first communication protocol and the second communication protocol are different;
the second communication chip is used for modulating the data from the third electronic device into a communication signal with a preset carrier frequency and then transmitting the communication signal to the first electronic device, and demodulating the communication signal from the first electronic device and then transmitting the communication signal to the third electronic device connected with the connection interface.
10. The second electronic device of claim 9, the connection interface to enable conversion of the first communication protocol and the second communication protocol.
CN202311413751.1A 2023-10-27 2023-10-27 Communication method, first electronic device and second electronic device Pending CN117459097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311413751.1A CN117459097A (en) 2023-10-27 2023-10-27 Communication method, first electronic device and second electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311413751.1A CN117459097A (en) 2023-10-27 2023-10-27 Communication method, first electronic device and second electronic device

Publications (1)

Publication Number Publication Date
CN117459097A true CN117459097A (en) 2024-01-26

Family

ID=89592436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311413751.1A Pending CN117459097A (en) 2023-10-27 2023-10-27 Communication method, first electronic device and second electronic device

Country Status (1)

Country Link
CN (1) CN117459097A (en)

Similar Documents

Publication Publication Date Title
US7750495B2 (en) Power line adapter and method of controlling power line adapter operated in power-saving mode
CN104781754A (en) Reduction of idle power in a communication port
US20010027530A1 (en) Wake-up system and method for universal serial bus of wireless input device
CN109159680A (en) A kind of vehicle end battery charge controller, vehicle and wireless charging system
JP4075513B2 (en) Serial bus connection device and driver software
WO2016041476A1 (en) Mobile terminal charging system, mobile terminal and charging device thereof
TWM395316U (en) Power network intelligence control system
JP2001339850A (en) Information terminal apparatus
TW200300886A (en) Communication unit
CN209844983U (en) Power modulation and demodulation device supporting Power Over Ethernet (POE) power supply
CN117459097A (en) Communication method, first electronic device and second electronic device
JP3063838U (en) PC card with automatic power saving sleep function
CN106200442B (en) Method and device for realizing connection control
CN113660149B (en) Equipment control method and device, storage medium and electronic equipment
JP6806072B2 (en) Communication equipment, information processing equipment, and communication methods
CN113473430A (en) Intelligent equipment control and display system and method based on mobile phone NFC
CN207518016U (en) Wireless charging built-up circuit and device
CN218273380U (en) USB debugging circuit
KR960002844B1 (en) Signal transformation device for powerline communication
CN214279147U (en) Remote control signal receiving circuit and electrical equipment with same
CN113746507B (en) Chip control circuit and method for NFC coil and wireless charging coil
CN220556642U (en) Novel intelligent plugboard
US20220357782A1 (en) External audio device and method of operating the same capable of reducing power consumption
CN209882105U (en) Intelligent module for bridge communication between Bluetooth network and Internet of things
CN104853120A (en) Television set and external signal source equipment synchronous standby and startup method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination