CN109888882B - Communication method, terminal equipment and power adapter - Google Patents

Communication method, terminal equipment and power adapter Download PDF

Info

Publication number
CN109888882B
CN109888882B CN201910239723.XA CN201910239723A CN109888882B CN 109888882 B CN109888882 B CN 109888882B CN 201910239723 A CN201910239723 A CN 201910239723A CN 109888882 B CN109888882 B CN 109888882B
Authority
CN
China
Prior art keywords
signal
power adapter
digital signal
charging
duty cycle
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.)
Active
Application number
CN201910239723.XA
Other languages
Chinese (zh)
Other versions
CN109888882A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910239723.XA priority Critical patent/CN109888882B/en
Publication of CN109888882A publication Critical patent/CN109888882A/en
Application granted granted Critical
Publication of CN109888882B publication Critical patent/CN109888882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a communication method, terminal equipment and a power adapter, wherein the communication method comprises the following steps: modulating a preconfigured digital signal to a charging current of a charging signal; and demodulating the output voltage of the charging signal to obtain a response signal, wherein the response signal is used for indicating that the power adapter has received the digital signal. Therefore, the power adapter can communicate with the power adapter without a quick charging communication control circuit terminal device, so that components of the power adapter are reduced, and the cost of the power adapter is reduced.

Description

Communication method, terminal equipment and power adapter
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method, a terminal device, and a power adapter.
Background
With the rapid development of terminal technology, terminal equipment has become an essential tool in people's life, and brings great convenience to various aspects of user's life. Generally, most terminal devices are equipped with a power adapter that matches them. In the communication process of the terminal equipment and the power adapter, the terminal equipment initiates a communication request which can be acquired by the power adapter through the quick charging communication control circuit of the power adapter, so that the power adapter has more components and higher cost.
Disclosure of Invention
The embodiment of the invention provides a communication method, terminal equipment and a power adapter, and aims to solve the problems that the power adapter is more in components and higher in cost.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a communication method, applied to a terminal device, including:
modulating a preconfigured digital signal to a charging current of a charging signal;
and demodulating the output voltage of the charging signal to obtain a response signal, wherein the response signal is used for indicating that the power adapter has received the digital signal.
In a second aspect, an embodiment of the present invention further provides a communication method, applied to a power adapter, including:
demodulating an electrical signal to obtain a digital signal modulated by a terminal device, wherein the electrical signal is a switch driving signal or a current signal in a conversion circuit of the power adapter;
and executing corresponding operation according to the digital signal, and modulating a response signal to the output voltage of the charging signal, wherein the response signal is used for indicating that the power adapter receives the digital signal.
In a third aspect, an embodiment of the present invention further provides a terminal device, including:
the modulation module is used for modulating the pre-configured digital signal to the charging current of the charging signal;
and the first demodulation module is used for demodulating the output voltage of the charging signal to obtain a response signal, and the response signal is used for indicating that the power adapter has received the digital signal.
In a fourth aspect, an embodiment of the present invention further provides a power adapter, including:
the second demodulation module is used for demodulating an electric signal to obtain a digital signal modulated by the terminal equipment, wherein the electric signal is a switch driving signal or a current signal in a conversion circuit of the power adapter;
and the execution module is used for executing corresponding operation according to the digital signal and modulating a response signal to the output voltage of the charging signal, wherein the response signal is used for indicating that the power adapter receives the digital signal.
In a fifth aspect, an embodiment of the present invention further provides a terminal device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the communication method applied to the terminal device.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the communication method applied to the terminal device.
The communication method of the embodiment of the invention is applied to terminal equipment and comprises the following steps: modulating a preconfigured digital signal to a charging current of a charging signal; and demodulating the output voltage of the charging signal to obtain a response signal, wherein the response signal is used for indicating that the power adapter has received the digital signal. Therefore, the power adapter can communicate with the power adapter without a quick charging communication control circuit terminal device, so that components of the power adapter are reduced, and the cost of the power adapter is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a communication method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of duty ratios of switching driving signals under different loads according to an embodiment of the present invention;
FIG. 3 is a block diagram of a circuit provided by an embodiment of the invention;
FIG. 4 is a diagram illustrating the relationship between different signals provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of the output voltage of a power adapter provided by an embodiment of the invention;
fig. 6 is a circuit diagram of a charging system provided by an embodiment of the present invention;
fig. 7 is a second flowchart of a communication method according to an embodiment of the present invention;
fig. 8 is one of the structural diagrams of the terminal device provided in the embodiment of the present invention;
fig. 9 is a structural diagram of a modulation module of a terminal device according to an embodiment of the present invention;
FIG. 10 is a block diagram of a power adapter provided by an embodiment of the invention;
FIG. 11 is a block diagram of a second demodulation module of the power adapter according to an embodiment of the invention;
fig. 12 is a second structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a communication method provided in an embodiment of the present invention, and is applied to a terminal device, as shown in fig. 1, the communication method includes the following steps:
step 101, modulating a pre-configured digital signal to a charging current of a charging signal.
In this embodiment, the preconfigured digital signal may be a signal such as "010" or "101". Of course, the digital signals may be any combination of "0" and "1", and this embodiment is not limited thereto. The above-mentioned charging current for modulating the preconfigured digital signal to the charging signal may be the charging current for modulating the preconfigured digital signal to the charging signal by the terminal device through the charging management circuit.
In this embodiment, there are various ways to modulate the preconfigured digital signal to the charging current of the charging signal. First, different digital signals may be represented using different charging currents. For example, a current of 1.5A may be used to represent a digital signal "1" and a current of 0.5A may be used to represent a digital signal "0".
In a second way, different combinations of charging currents may be used to represent different digital signals. For example, if a preset time period (e.g., 2 seconds) is used for a current of 1.5A in the first second and a current of 0.5A in the second later, the charging current in the two seconds represents a digital signal "1"; alternatively, a current of 0.5A was used in the previous second and a current of 1.5A was used in the next second, then the charging current in these two seconds represents a digital signal "0" and so on. Needless to say, other modulation methods are available in addition to the above-mentioned methods, and the embodiment of the present invention is not limited thereto.
When the power adapter is provided with different loads, the duty ratio of the high-frequency alternating current in the conversion circuit of the power adapter and the duty ratio of the switch driving signal in the control circuit are different, and the size of the load is positively correlated with the duty ratio. At this time, referring to fig. 2, fig. 2 is a schematic diagram of duty ratios of the switching driving signals under different loads according to an embodiment of the present invention. As shown in fig. 2, the duty ratio of the power adapter of 5V2A with the load of 2A is about 45%, and the duty ratio of the signal indicated by arrow a is referred to. The duty cycle with a load of 0.5A is about 11%, see now the duty cycle of the signal indicated by arrow B. The duty cycle at idle is very low, possibly below 2%, see the duty cycle of the signal indicated by arrow C.
Thus, the digital signal can be in corresponding relation with the charging current and the switch driving signal. The charging current carries digital signals in different forms, and the switch driving signal also shows different forms, so that the digital signals carried by the charging current can be obtained by adjusting the different forms of the switch driving signal, and the communication between the terminal equipment and the power adapter is completed.
Also, the power adapter may perform different operations according to the digital signal obtained by demodulation. For example, when the digital signal obtained by demodulation is "101", rapid charging can be performed; when the digital signal obtained by demodulation is "100", the temperature of the power adapter and the like can be inquired. Of course, in addition to this, different operations may be performed according to different digital signals, such as querying the temperature rise of the power adapter, the power capability of the power adapter, the input voltage of the power adapter, the transient power of the power adapter, or the product ID of the adapter, etc.
And 102, demodulating the output voltage of the charging signal to obtain a response signal, wherein the response signal is used for indicating that the power adapter has received the digital signal.
In this embodiment, after receiving the digital signal of the terminal device, the power adapter may modulate a response signal to the output voltage of the charging signal, where the response signal is used to indicate that the power adapter has received the digital signal. Therefore, the terminal equipment can demodulate the output voltage of the charging signal to obtain a response signal, so that the power adapter can know that the digital signal is received by the power adapter. The process of modulating the response signal to the output voltage of the charging signal by the power adapter is similar to the process of modulating the current in step 101, and is not described herein again.
For better understanding of the whole process, reference may also be made to fig. 3, where fig. 3 is a block diagram of a circuit provided by an embodiment of the present invention. As shown in fig. 3, a communication process is initiated by a charging management circuit of the terminal device, and after the power adapter receives and processes a signal, response communication is initiated by the control circuit, so as to finally implement time-sharing bidirectional communication.
The terminal device initiates communication by current modulating the digital signal by the charge management circuit. And synchronously demodulating the switch driving signal through the control circuit on the primary side of the power adapter. These two processes complete the communication of the terminal device to the power adapter side.
The power adapter-initiated responsive communication is voltage modulation of the output voltage by its control circuitry. And synchronously demodulating the output voltage through the charging management circuit at the terminal equipment. These two processes complete the power adapter end-to-end communication.
The process of initiating communication by the terminal equipment is as follows:
the terminal device modulates the digital signal onto the charging current through the charging management circuit, and the process is current modulation. The synchronization is at the power adapter end, and the control circuit demodulates the switch driving signal, which is the signal demodulation.
The current modulation and signal demodulation are illustrated with a digital signal "101". Current modulation: the 1A load represents a digital signal "1" and the empty load (0A load) represents a digital signal "0". Signal demodulation: the switch driving signal with the duty ratio of about 22% for a continuous period of time represents a digital signal '1', and the switch driving signal with the duty ratio of about 2% for a continuous period of time represents a digital signal '0'.
Referring to fig. 4 again, fig. 4 is a schematic diagram illustrating relationships among different signals according to an embodiment of the present invention. In fig. 4, arrow a indicates a digital signal, arrow B indicates a load, and arrow C indicates a switch driving signal. As shown in fig. 4, during the time period 0 to t1, a digital signal "1" needs to be transmitted. The terminal equipment controls the charging current to be 1A; in a time period from t1 to t2, a digital signal '0' is transmitted, and the terminal equipment controls the charging current to be 0A; and in the time period from t2 to t3, a digital signal '1' is transmitted, and the terminal equipment controls the charging current to be 1A. The current modulation of the "101" signal is completed for the entire time period of 0 to t 3. And in the time period of 0-t 3, the control circuit of the power adapter demodulates the duty ratio of the switch driving signal.
The process of the power adapter responding communication is as follows:
the power adapter end modulates the digital signal to the reference power supply through the control circuit, and the process is voltage modulation. And synchronously at the terminal equipment, the charging management circuit demodulates the output voltage, and the process is voltage demodulation.
Voltage modulation and voltage demodulation are illustrated with a digital signal "101". The power adapter normally outputs 5V, 5.5V represents a digital signal '1' in the communication process, and 4.5V represents a digital signal '0'.
Referring to fig. 5 again, fig. 5 is a schematic diagram of an output voltage of the power adapter according to the embodiment of the invention. As shown in fig. 5, in the time period from 0 to t1, the power adapter control circuit switches the reference power supply to the high reference, so that the secondary output voltage of the power adapter is increased by 0.5V; in a time period from t1 to t2, the power adapter switches the reference power supply to a low reference, so that the secondary output voltage is reduced by 0.5V; and in the time period from t2 to t3, the adapter switches the reference power supply to a high reference, so that the secondary output voltage is increased by 0.5V. And synchronously in the time period of 0-t 3, the mobile terminal control circuit performs voltage demodulation on the output voltage.
Bidirectional communication: the terminal equipment initiates communication, and the power adapter initiates response communication after confirming and processing the information. The whole process can be carried out continuously or intermittently.
It should be noted that the signal source of the signal demodulation process may be obtained from intermediate signals such as integration, comparison and amplification with other signals and the conversion circuit, besides the switch driving signal. Referring to fig. 6, fig. 6 is a circuit diagram of a charging system according to an embodiment of the present invention. As shown in fig. 6, the signal sources of the signal demodulation process may be a current signal of Q11 in the conversion circuit, a D-voltage signal of Q11, a voltage signal of a capacitor C13, a C12 voltage, a Q11 current integration signal, a comparison amplification signal inside the control circuit, and the like.
Of course, there are many more ways to modulate the current and voltage. For example, referring back to fig. 4, the current modulation process may be performed such that the charging current is 1A during the first 1/4 time period and 0A during the second 3/4 time period of the time period from 0 to t 1. It is also possible to use the charging current 1.5A for the digital signal "1" and the charging current 0.5A for the digital signal "0". The digital signal "1" and the digital signal "0" are realized by different loads as long as they can be reliably recognized in the control circuit of the power adapter. In addition, in the current modulation process, if the power adapter end does not respond to communication, the load difference between the digital signal "1" and the digital signal "0" is possibly not large, and the load difference between the signal "1" and the signal "0" can be properly adjusted.
Similarly, in the voltage modulation process, the digital signal "1" and the digital signal "0" can be realized by using different output voltages, as long as the digital signal can be reliably demodulated at the terminal equipment. In addition, in the voltage demodulation process, if the terminal wading pen does not receive the response communication of the adapter end, the adapter end can be informed to properly adjust the output voltage difference of the digital signal '1' and the digital signal '0'.
Optionally, the modulating the preconfigured digital signal to the charging current of the charging signal includes:
representing a first digital signal using a first charging current;
representing a second digital signal using a second charging current;
wherein the first charging current and the second charging current are different.
In this embodiment, for example, a current of 1.5A may be used to represent a digital signal "1", and a current of 0.5A may be used to represent a digital signal "0". Alternatively, a current of 1.5A may be used to represent the digital signal "0", a current of 0.5A may be used to represent the digital signal "1", and so on. Of course, other embodiments are possible, and the present embodiment is not limited to these embodiments.
Optionally, the response signal is the same as or different from the digital signal.
In this embodiment, the response signal may be the same as the digital signal or may be different from the digital signal. For example, when the digital signal is "101", the response signal may be "101", in which case the response signal is the same as the digital signal; when the digital signal is "101", the response signal may also be "1", in which case the response signal is different from the digital signal.
In this embodiment, the terminal Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The communication method is applied to terminal equipment, and modulates a pre-configured digital signal to the charging current of a charging signal; and demodulating the output voltage of the charging signal to obtain a response signal, wherein the response signal is used for indicating that the power adapter has received the digital signal. Therefore, the power adapter can communicate with the power adapter without a quick charging communication control circuit terminal device, so that components of the power adapter are reduced, and the cost of the power adapter is reduced.
Referring to fig. 7, fig. 7 is a flowchart of a communication method provided by an embodiment of the present invention, and is applied to a power adapter. As shown in fig. 7, the communication method includes the steps of:
step 701, demodulating an electrical signal to obtain a digital signal modulated by the terminal device, where the electrical signal is a switch driving signal or a current signal in a conversion circuit of the power adapter.
In this embodiment, the electrical signal may be a switch driving signal, or may also be a current signal in a conversion circuit, and the like, which is not limited to this embodiment.
And step 702, executing corresponding operation according to the digital signal, and modulating a response signal to an output voltage of a charging signal, wherein the response signal is used for indicating that the power adapter has received the digital signal.
In this embodiment, the power adapter may perform different operations according to the digital signal obtained by demodulation. For example, when the digital signal obtained by demodulation is "101", rapid charging can be performed; when the digital signal obtained by demodulation is "100", the temperature of the power adapter and the like can be inquired. Of course, in addition to this, different operations may be performed according to different digital signals, such as querying the temperature rise of the power adapter, the power capability of the power adapter, the input voltage of the power adapter, the transient power of the power adapter, or the product ID of the adapter, etc.
Optionally, the electrical signal is the switch driving signal, and demodulating the electrical signal includes:
demodulating a duty cycle of the switch drive signal.
Optionally, the demodulating the duty ratio of the switch driving signal includes:
representing the third digital signal using the first duty cycle;
representing the fourth digital signal using the second duty cycle;
wherein the first duty cycle and the second duty cycle are different.
Optionally, the response signal is the same as or different from the digital signal.
Since the above processes have already been explained and illustrated in detail at the terminal device side, they are not described herein again.
The communication method of the embodiment of the invention is applied to a power adapter and comprises the following steps: demodulating an electrical signal to obtain a digital signal modulated by a terminal device, wherein the electrical signal is a switch driving signal or a current signal in a conversion circuit of the power adapter; and executing corresponding operation according to the digital signal, and modulating a response signal to the output voltage of the charging signal, wherein the response signal is used for indicating that the power adapter receives the digital signal. Therefore, the power adapter can communicate with the power adapter without a quick charging communication control circuit terminal device, so that components of the power adapter are reduced, and the cost of the power adapter is reduced.
Referring to fig. 8, fig. 8 is a structural diagram of a terminal device according to an embodiment of the present invention, which can implement details of a communication method applied to the terminal device in the foregoing embodiment and achieve the same effect. As shown in fig. 8, the terminal device 800 includes a modulation module 801 and a first demodulation module 802, the modulation module 801 and the first demodulation module 802 are connected, wherein:
a modulation module 801 for modulating a preconfigured digital signal to a charging current of a charging signal;
a first demodulation module 802, configured to demodulate the output voltage of the charging signal to obtain a response signal, where the response signal is used to indicate that the power adapter has received the digital signal.
Optionally, as shown in fig. 9, the modulation module 801 includes:
a first representation sub-module 8011 for representing the first digital signal using the first charging current;
a second representation sub-module 8012 for representing the second digital signal using the second charging current;
wherein the first charging current and the second charging current are different.
Optionally, the response signal is the same as or different from the digital signal.
The terminal device 800 can implement each process implemented by the terminal device in the above method embodiments, and details are not described here to avoid repetition.
The terminal device 800 of the embodiment of the present invention modulates a preconfigured digital signal to the charging current of the charging signal; and demodulating the output voltage of the charging signal to obtain a response signal, wherein the response signal is used for indicating that the power adapter has received the digital signal. Therefore, the power adapter can communicate with the power adapter without a quick charging communication control circuit terminal device, so that components of the power adapter are reduced, and the cost of the power adapter is reduced.
Referring to fig. 10, fig. 10 is a structural diagram of a power adapter according to an embodiment of the present invention, which can implement details of a communication method applied to the power adapter in the foregoing embodiment, and achieve the same effect. As shown in fig. 10, the power adapter 1000 includes a second demodulation module 1001 and an execution module 1002, the second demodulation module 1001 and the execution module 1002 are connected, where:
a second demodulation module 1001, configured to demodulate an electrical signal to obtain a digital signal modulated by a terminal device, where the electrical signal is a switch driving signal or a current signal in a conversion circuit of the power adapter;
an executing module 1002, configured to execute a corresponding operation according to the digital signal, and modulate a response signal to an output voltage of a charging signal, where the response signal is used to indicate that the power adapter has received the digital signal.
Optionally, the electrical signal is the switch driving signal, and the second demodulation module 1001 is configured to: the duty cycle of the switch drive signal is demodulated.
Optionally, as shown in fig. 11, the second demodulation module 1001 includes:
a third representation submodule 10011 for representing the third digital signal using the first duty cycle;
a fourth sub-module 10012 for representing a fourth digital signal using a second duty cycle;
wherein the first duty cycle and the second duty cycle are different.
Optionally, the response signal is the same as or different from the digital signal.
The power adapter 1000 can implement the processes implemented by the power adapter in the above method embodiments, and in order to avoid repetition, details are not described here.
The power adapter 1000 of the embodiment of the present invention demodulates an electrical signal to obtain a digital signal modulated by a terminal device, where the electrical signal is a switch driving signal or a current signal in a conversion circuit of the power adapter; and executing corresponding operation according to the digital signal, and modulating a response signal to the output voltage of the charging signal, wherein the response signal is used for indicating that the power adapter receives the digital signal. Therefore, the power adapter can communicate with the power adapter without a quick charging communication control circuit terminal device, so that components of the power adapter are reduced, and the cost of the power adapter is reduced.
Referring to fig. 12, fig. 12 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, and power source 1211. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 12 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 1210 is configured to modulate the preconfigured digital signal to the charging current of the charging signal; and demodulating the output voltage of the charging signal to obtain a response signal, wherein the response signal is used for indicating that the power adapter has received the digital signal. Therefore, the power adapter can communicate with the power adapter without a quick charging communication control circuit terminal device, so that components of the power adapter are reduced, and the cost of the power adapter is reduced.
Optionally, the processor 1210 is further configured to represent the first digital signal using the first charging current; representing a second digital signal using a second charging current; wherein the first charging current and the second charging current are different.
Optionally, the response signal is the same as or different from the digital signal.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1201 may be used for receiving and sending signals during information transmission and reception or during a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1210; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1201 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 1202, such as helping the user send and receive e-mails, browse web pages, access streaming media, and the like.
The audio output unit 1203 may convert audio data received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Also, the audio output unit 1203 may also provide audio output related to a specific function performed by the terminal apparatus 1200 (for example, a call signal reception sound, a message reception sound, and the like). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1204 is used to receive audio or video signals. The input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics processor 12041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1206. The image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1201 in case of the phone call mode.
The terminal device 1200 also includes at least one sensor 1205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 12061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 12061 and/or backlight when the terminal device 1200 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 1205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and will not be described further herein.
The display unit 1206 is used to display information input by the user or information provided to the user. The Display unit 1206 may include a Display panel 12061, and the Display panel 12061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 12071 (e.g., operations by a user on or near the touch panel 12071 using a finger, a stylus, or any suitable object or attachment). The touch panel 12071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1210, receives a command from the processor 1210, and executes the command. In addition, the touch panel 12071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1207 may include other input devices 12072 in addition to the touch panel 12071. In particular, the other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 12071 may be overlaid on the display panel 12061, and when the touch panel 12071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1210 to determine the type of the touch event, and then the processor 1210 provides a corresponding visual output on the display panel 12061 according to the type of the touch event. Although the touch panel 12071 and the display panel 12061 are shown as two separate components in fig. 12 to implement the input and output functions of the terminal device, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 1208 is an interface for connecting an external device to the terminal apparatus 1200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1208 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 1200 or may be used to transmit data between the terminal apparatus 1200 and the external device.
The memory 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1209 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 1210 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 1209 and calling data stored in the memory 1209, thereby performing overall monitoring of the terminal device. Processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The terminal device 1200 may further include a power source 1211 (e.g., a battery) for supplying power to various components, and preferably, the power source 1211 may be logically connected to the processor 1210 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 1200 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 1210, a memory 1209, and a computer program stored in the memory 1209 and capable of running on the processor 1210, where the computer program, when executed by the processor 1210, implements the processes in the communication method embodiment applied to the terminal device, and can achieve the same technical effects, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the communication method embodiment applied to the terminal device, and can achieve the same technical effects, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A communication method is applied to a terminal device, and is characterized by comprising the following steps:
modulating a preconfigured digital signal to a charging current of a charging signal;
demodulating the output voltage of the charging signal to obtain a response signal, wherein the response signal is used for indicating that the power adapter has received the digital signal; wherein different combinations of charging currents represent different digital signals.
2. A communication method applied to a power adapter is characterized by comprising the following steps:
demodulating the electrical signal to obtain a digital signal modulated by the terminal device, wherein different charging current combinations represent different digital signals, and the electrical signal is a switch driving signal or a current signal in a conversion circuit of the power adapter;
and executing corresponding operation according to the digital signal, and modulating a response signal to the output voltage of the charging signal, wherein the response signal is used for indicating that the power adapter receives the digital signal.
3. The method of claim 2, wherein the electrical signal is the switch drive signal, and wherein demodulating the electrical signal comprises:
demodulating a duty cycle of the switch drive signal.
4. The method of claim 3, wherein the demodulating the duty cycle of the switch drive signal comprises:
representing the third digital signal using the first duty cycle;
representing the fourth digital signal using the second duty cycle;
wherein the first duty cycle and the second duty cycle are different.
5. A terminal device, comprising:
the modulation module is used for modulating the pre-configured digital signal to the charging current of the charging signal;
the first demodulation module is used for demodulating the output voltage of the charging signal to obtain a response signal, wherein the response signal is used for indicating that the power adapter has received the digital signal, and different charging current combinations represent different digital signals.
6. A power adapter, comprising:
the second demodulation module is used for demodulating the electric signals to obtain digital signals modulated by the terminal equipment, wherein different charging current combinations represent different digital signals, and the electric signals are switch driving signals or current signals in a conversion circuit of the power adapter;
and the execution module is used for executing corresponding operation according to the digital signal and modulating a response signal to the output voltage of the charging signal, wherein the response signal is used for indicating that the power adapter receives the digital signal.
7. The power adapter as claimed in claim 6, wherein the electrical signal is the switch driving signal, and the second demodulation module is configured to: demodulating a duty cycle of the switch drive signal.
8. The power adapter as claimed in claim 7, wherein the second demodulation module comprises:
a third representation submodule for representing the third digital signal using the first duty cycle;
a fourth representation submodule for representing the fourth digital signal using the second duty cycle;
wherein the first duty cycle and the second duty cycle are different.
9. A terminal device, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the communication method according to claim 1.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the communication method as claimed in claim 1.
CN201910239723.XA 2019-03-27 2019-03-27 Communication method, terminal equipment and power adapter Active CN109888882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910239723.XA CN109888882B (en) 2019-03-27 2019-03-27 Communication method, terminal equipment and power adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910239723.XA CN109888882B (en) 2019-03-27 2019-03-27 Communication method, terminal equipment and power adapter

Publications (2)

Publication Number Publication Date
CN109888882A CN109888882A (en) 2019-06-14
CN109888882B true CN109888882B (en) 2022-01-25

Family

ID=66934773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910239723.XA Active CN109888882B (en) 2019-03-27 2019-03-27 Communication method, terminal equipment and power adapter

Country Status (1)

Country Link
CN (1) CN109888882B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224465A (en) * 2019-06-24 2019-09-10 上海来远电子科技有限公司 A kind of mobile charging storehouse electric quantity display method and its device
CN113141556A (en) * 2020-01-17 2021-07-20 Oppo广东移动通信有限公司 Communication method, system and storage medium
CN115378094A (en) * 2022-09-07 2022-11-22 维沃移动通信有限公司 Electronic device, charging device, and charging control method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8026639B1 (en) * 2006-07-31 2011-09-27 Sustainable Energy Technologies Scheme for operation of step wave power converter
CN103701182A (en) * 2013-12-16 2014-04-02 小米科技有限责任公司 Charger, electronic equipment and charging system
CN106471697A (en) * 2015-12-16 2017-03-01 广东欧珀移动通信有限公司 Control the method charging, device, power supply adaptor and mobile terminal
CN106561004A (en) * 2016-06-16 2017-04-12 中兴新能源汽车有限责任公司 Wireless communication method and device
CN106575926A (en) * 2014-07-07 2017-04-19 联发科技(新加坡)私人有限公司 Wireless or wired power delivery using a controllable power adapter
CN107069989A (en) * 2017-03-23 2017-08-18 中国科学院地质与地球物理研究所 A kind of non-contact electric energy and two-way signaling transmission method and system
CN207868852U (en) * 2018-03-04 2018-09-14 深圳市叠加科技有限公司 adapter and wireless charging device
CN109067008A (en) * 2018-08-22 2018-12-21 哈尔滨工业大学 A kind of wireless energy and data synchronous transmission system and its Parameters design
CN109417310A (en) * 2016-08-23 2019-03-01 株式会社村田制作所 Power receiving device and power transmitting device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10637455B2 (en) * 2015-02-04 2020-04-28 Anpec Electronics Corporation Demodulation circuit and wireless charging device having the same
CN107294172A (en) * 2017-07-20 2017-10-24 深圳天珑无线科技有限公司 Terminal device, power supply adaptor and charge control method
CN107834657B (en) * 2017-11-30 2019-12-27 维沃移动通信有限公司 Charging method, terminal equipment and power adapter

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8026639B1 (en) * 2006-07-31 2011-09-27 Sustainable Energy Technologies Scheme for operation of step wave power converter
CN103701182A (en) * 2013-12-16 2014-04-02 小米科技有限责任公司 Charger, electronic equipment and charging system
CN106575926A (en) * 2014-07-07 2017-04-19 联发科技(新加坡)私人有限公司 Wireless or wired power delivery using a controllable power adapter
CN106471697A (en) * 2015-12-16 2017-03-01 广东欧珀移动通信有限公司 Control the method charging, device, power supply adaptor and mobile terminal
CN106561004A (en) * 2016-06-16 2017-04-12 中兴新能源汽车有限责任公司 Wireless communication method and device
CN109417310A (en) * 2016-08-23 2019-03-01 株式会社村田制作所 Power receiving device and power transmitting device
CN107069989A (en) * 2017-03-23 2017-08-18 中国科学院地质与地球物理研究所 A kind of non-contact electric energy and two-way signaling transmission method and system
CN207868852U (en) * 2018-03-04 2018-09-14 深圳市叠加科技有限公司 adapter and wireless charging device
CN109067008A (en) * 2018-08-22 2018-12-21 哈尔滨工业大学 A kind of wireless energy and data synchronous transmission system and its Parameters design

Also Published As

Publication number Publication date
CN109888882A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN108182019B (en) Suspension control display processing method and mobile terminal
CN108459797B (en) Control method of folding screen and mobile terminal
CN109240577B (en) Screen capturing method and terminal
CN110109593B (en) Screen capturing method and terminal equipment
CN108279948B (en) Application program starting method and mobile terminal
CN108427873B (en) Biological feature identification method and mobile terminal
CN109672254B (en) Charging control circuit, terminal equipment and control method
CN109151367B (en) Video call method and terminal equipment
CN111130989B (en) Information display and sending method and electronic equipment
CN108881617B (en) Display switching method and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109888882B (en) Communication method, terminal equipment and power adapter
CN110266323B (en) Signal control circuit, terminal equipment and signal control method
CN109257505B (en) Screen control method and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN109888928B (en) Terminal and wireless charging control method
CN110096203B (en) Screenshot method and mobile terminal
CN109739394B (en) SAR value processing method and mobile terminal
CN109523253B (en) Payment method and device
CN108174109B (en) Photographing method and mobile terminal
CN110290263B (en) Image display method and mobile terminal
CN110022551B (en) Information interaction method and terminal equipment
CN109491964B (en) File sharing method and terminal
CN110621071B (en) Processing method of measurement interval, terminal and network node
CN108391011B (en) Face recognition method and mobile terminal

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
GR01 Patent grant
GR01 Patent grant