CN111988864A - Data transmission method and device based on wireless charging equipment - Google Patents

Data transmission method and device based on wireless charging equipment Download PDF

Info

Publication number
CN111988864A
CN111988864A CN201910436541.1A CN201910436541A CN111988864A CN 111988864 A CN111988864 A CN 111988864A CN 201910436541 A CN201910436541 A CN 201910436541A CN 111988864 A CN111988864 A CN 111988864A
Authority
CN
China
Prior art keywords
terminal
communication connection
wireless charging
data transmission
radio frequency
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
CN201910436541.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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910436541.1A priority Critical patent/CN111988864A/en
Publication of CN111988864A publication Critical patent/CN111988864A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/20Circuit arrangements or systems for wireless supply or distribution of electric power using microwaves or radio frequency waves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits

Abstract

The embodiment of the disclosure provides a data transmission method and a data transmission device based on wireless charging equipment, wherein the method is applied to the wireless charging equipment, a radio frequency module is arranged in the wireless charging equipment, and the method comprises the following steps: establishing a first communication connection with a first terminal; when the wireless charging equipment is detected to supply power to the second terminal, the radio frequency module is awakened, and second communication connection is established with the second terminal based on the radio frequency module; and in the process of supplying power to the second terminal, data transmission is carried out between the first terminal and the second terminal through the first communication connection and the second communication connection. In the embodiment of the disclosure, the wireless charging device is respectively in communication connection with the two terminals, and then the wireless charging device is used as a medium for data transmission between the two terminals, so that convenience of data transmission between the mobile terminal and another terminal in a wireless charging scene is improved.

Description

Data transmission method and device based on wireless charging equipment
Technical Field
The embodiment of the application relates to the technical field of data transmission, in particular to a data transmission method and device based on wireless charging equipment.
Background
At present, data transmission can be performed between a mobile terminal and a computer.
In the related art, a mobile terminal establishes a wired connection with a computer through a Universal Serial Bus (USB) interface, and then performs data transmission based on the wired connection.
Disclosure of Invention
The embodiment of the disclosure provides a data transmission method and device based on wireless charging equipment. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, a data transmission method based on a wireless charging device is provided, where the method is applied to a wireless charging device, and a radio frequency module is disposed in the wireless charging device, and the method includes:
establishing a first communication connection with a first terminal;
when the wireless charging equipment is detected to supply power to a second terminal, awakening the radio frequency module and establishing a second communication connection with the second terminal based on the radio frequency module;
and in the process of supplying power to the second terminal, data transmission is carried out between the first terminal and the second terminal through the first communication connection and the second communication connection.
Optionally, the performing data transmission between the first terminal and the second terminal through the first communication connection and the second communication connection includes:
The first communication connection is used for data transmission between the first terminal and the wireless charging equipment, and the second communication connection is used for data transmission between the wireless charging equipment and the second terminal.
Optionally, the first communication connection is a Universal Serial Bus (USB) connection, and the data transmission between the first terminal and the wireless charging device through the first communication connection includes:
and performing data transmission between the first terminal and the wireless charging equipment through the first communication connection based on a USB3.0 protocol.
Optionally, the radio frequency module includes a millimeter wave wireless transmission chip.
Optionally, in the process of supplying power to the second terminal, a distance between the millimeter wave wireless transmission chip and a radio frequency module in the second terminal is smaller than a preset threshold, and the preset threshold is determined according to the transmission distance of the millimeter wave wireless transmission chip.
Optionally, in the process of supplying power to the second terminal, a relative position relationship between the millimeter wave wireless transmission chip and the radio frequency module in the second terminal meets a preset condition.
Optionally, the method further comprises:
And when detecting that the first communication connection is disconnected, sending a disconnection notification to the first terminal, wherein the connection failure notification is used for notifying that the second communication connection is disconnected, and the disconnection notification is used for indicating the first terminal to transmit data according to a third communication connection when detecting that the first terminal and the second terminal are established with the third communication connection.
Optionally, the method further comprises:
sending a connection establishment notification to the first terminal, wherein the connection establishment notification is used for notifying the second terminal and the wireless charging device that the second communication connection is established, and the connection disconnection notification is used for indicating the first terminal to execute the unfinished data transmission task through the first communication connection when detecting that the unfinished data transmission task exists.
According to a second aspect of the embodiments of the present disclosure, there is provided a data transmission apparatus based on a wireless charging device, where the apparatus is applied to a wireless charging device, a radio frequency module is disposed in the wireless charging device, and the apparatus includes:
a first connection module configured to establish a first communication connection with a first terminal;
The second connection module is configured to wake up the radio frequency module and establish a second communication connection with a second terminal based on the radio frequency module when detecting that the wireless charging device supplies power to the second terminal;
the data transmission module is configured to transmit data between the first terminal and the second terminal through the first communication connection and the second communication connection in the process of supplying power to the second terminal.
Optionally, the data transmission module includes:
a first transmission submodule configured to perform data transmission between the first terminal and the wireless charging device through the first communication connection;
a second transmission sub-module configured to perform data transmission between the wireless charging device and the second terminal through the second communication connection.
Optionally, the first communication connection is a Universal Serial Bus (USB) connection, and the first transmission sub-module is configured to perform data transmission between the first terminal and the wireless charging device through the first communication connection and based on a USB3.0 protocol.
Optionally, the radio frequency module includes a millimeter wave wireless transmission chip.
Optionally, in the process of supplying power to the second terminal, a distance between the millimeter wave wireless transmission chip and a radio frequency module in the second terminal is smaller than a preset threshold, and the preset threshold is determined according to the transmission distance of the millimeter wave wireless transmission chip.
Optionally, in the process of supplying power to the second terminal, a relative position relationship between the millimeter wave wireless transmission chip and the radio frequency module in the second terminal meets a preset condition.
Optionally, the data transmission module is further configured to send a connection disconnection notification to the first terminal when detecting that the first communication connection is disconnected, where the connection failure notification is used to notify that the second communication connection is disconnected, and the connection disconnection notification is used to instruct the first terminal to perform data transmission according to a third communication connection when detecting that the third communication connection is established between the first terminal and the second terminal.
Optionally, the data transmission module is further configured to send a connection establishment notification to the first terminal, where the connection establishment notification is used to notify that the second terminal and the wireless charging device have established the second communication connection, and the connection disconnection notification is used to instruct the first terminal to execute the unfinished data transmission task through the first communication connection when detecting that the unfinished data transmission task exists.
According to a third aspect of the embodiments of the present disclosure, there is provided a data transmission apparatus based on a wireless charging device, where the apparatus is applied to a wireless charging device, and a radio frequency module is disposed in the wireless charging device, and the apparatus includes:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
establishing a first communication connection with a first terminal;
when the wireless charging equipment is detected to supply power to a second terminal, awakening the radio frequency module and establishing a second communication connection with the second terminal based on the radio frequency module;
and in the process of supplying power to the second terminal, data transmission is carried out between the first terminal and the second terminal through the first communication connection and the second communication connection.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method as described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
through establishing communication connection with two terminals with wireless battery charging outfit respectively, later regard as the medium that carries out data transmission between two terminals with wireless battery charging outfit, can avoid through under the wireless scene of charging, mobile terminal connects another terminal through wired mode and carries out data transmission's the condition emergence, promotes under the wireless scene of charging mobile terminal and another terminal and carries out data transmission's convenience.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram of an implementation environment shown in an exemplary embodiment;
FIG. 2 is a flow chart of a data transmission system shown in an exemplary embodiment;
fig. 3 is a flow chart illustrating a wireless charging device based data transmission method in an exemplary embodiment;
FIG. 4 is a block diagram illustrating data transmission in accordance with an exemplary embodiment;
fig. 5 is a block diagram of a data transmission apparatus based on a wireless charging device according to an exemplary embodiment;
fig. 6 is a block diagram illustrating a data transmission apparatus based on a wireless charging device in accordance with an exemplary embodiment;
fig. 7 is a block diagram illustrating a data transmission apparatus based on a wireless charging device according to an exemplary embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an example of the present disclosure is shown. The implementation environment includes a wireless charging device 11, a first terminal 12, and a second terminal 13.
The wireless charging device 11 is a device for supplying power to a power-consuming device during wireless charging. When the wireless charging device is used for wirelessly charging a portable electronic device such as a mobile phone, a tablet computer, and a wearable device, the wireless charging device 11 may be referred to as a charger, a charging tray, a power adapter, a wireless charger, and the like.
The wireless charging device 11 is provided with a charging chip to implement a function of supplying power to the second terminal 13. In the embodiment of the present disclosure, the wireless charging apparatus 11 also has a data transmission function. During the process that the wireless charging device 11 supplies power to the first terminal 12, the wireless charging device can realize data transmission between the first terminal 12 and the second terminal 13 through the data transmission function.
Specifically, the wireless charging device 11 is provided therein with a first communication module and a second communication module. The wireless charging device 11 realizes communication with the first terminal 12 through the first communication module, and realizes communication with the second terminal 13 through the second communication module. The first communication module and the second communication module may be the same communication module or different communication modules. Alternatively, the first communication module may be a radio frequency module including a millimeter wave wireless transmission chip. Alternatively, the second communication module may be a USB module.
Optionally, the wireless charging device 11 also has a data storage function. Specifically, the wireless charging device 11 is built with a memory for realizing the above-described data storage function, for example, storing a program or the like necessary for executing the data transmission scheme provided by the embodiment of the present disclosure.
The first terminal 12 may be a mobile phone, a tablet Computer, a Personal Computer (PC). The second terminal 13 is a communication device that can be wirelessly charged by the wireless charging device 11. The second terminal 13 may be a cell phone, a tablet, a wearable device, etc.
The wireless charging device 11 and the first terminal 12 establish a first communication connection, which may be a wireless communication connection established based on a radio frequency module. A second communication connection is established between the wireless charging module 11 and the second terminal 13, and the second communication connection may be a wired connection or a wireless connection.
Referring collectively to fig. 2, a schematic diagram of a data transmission system is shown, according to one embodiment of the present disclosure. The second terminal 21 includes a processor, a radio frequency module and a power module, both of which are connected to the processor. The wireless charging device 22 includes a radio frequency module and a power supply module. The second terminal 21 and the wireless charging device 22 establish a wireless connection based on the radio frequency module, and the wireless charging device 22 and the first terminal 23 establish a USB connection.
The related art also provides a wireless charging scheme, namely, the mobile terminal is charged through the wireless charging equipment. At present, when the mobile terminal is charged through the wireless charging equipment, strict requirements are required for the placement position of the mobile terminal on the wireless charging equipment, and the convenience of data transmission between the mobile terminal and a computer is poor under the condition.
Based on this, the embodiment of the disclosure provides a data transmission method and device based on a wireless charging device. In the embodiment of the disclosure, the wireless charging device is respectively in communication connection with the two terminals, and then the wireless charging device is used as a medium for data transmission between the two terminals, so that the situation that the mobile terminal is connected with the other terminal in a wired manner to perform data transmission in a wireless charging scene can be avoided, and the convenience of data transmission between the mobile terminal and the other terminal in the wireless charging scene is improved.
Referring to fig. 3, a flowchart of a data transmission method based on a wireless charging device according to an embodiment of the present disclosure is shown. The method can be applied to the wireless charging device 11 in the implementation environment shown in fig. 1, and comprises the following steps:
In step 301, a first communication connection is established with a first terminal.
The first terminal is a terminal which does not need the wireless charging device to supply power. The first terminal may be a personal computer, a smart phone, a tablet computer, etc., and in the embodiment of the present disclosure, only the first terminal is taken as the personal computer for explanation. The first communication connection may be a wired connection or a wireless connection. The first communication connection may be a USB connection if the first communication connection is a wired connection. If the first communication connection is a wireless connection, the first communication connection may be a bluetooth connection, a WiFi connection, or the like. In the embodiment of the present disclosure, only the first communication connection is described as an example of a USB connection.
In step 302, when it is detected that the wireless charging device is supplying power to the second terminal, a second communication connection is established with the second terminal based on the radio frequency module.
The second terminal is a terminal which needs the wireless charging device to supply power. The second terminal can be a smart phone, a tablet computer, an intelligent wearable device and the like. In the embodiment of the present disclosure, the explanation is performed only by taking the second terminal as a smart phone as an example.
Optionally, the radio frequency module includes a millimeter wave wireless transmission chip. The millimeter wave wireless transmission chip is a chip for data transmission based on millimeter waves. The millimeter wave wireless transmission chip has the following characteristics:
(1) The working frequency is between 30Ghz and 300Ghz, and the interference in the data transmission process is small in the frequency band.
(2) The transmission rate is between 1Mbits/s and 6Gbit/s, and the transmission rate is very fast.
(3) The transmission mode may be a half-duplex mode or a full-duplex mode. The half-duplex mode allows data to be transmitted in both directions, but only in one direction at a time. The full duplex mode allows data to be transmitted in both directions simultaneously.
(4) The transmission distance is relatively short, typically within 15 mm.
(5) The requirements on the distance and the position relation between the home terminal and the opposite terminal are higher. If the distance and the position relation do not satisfy the preset conditions, the situation that the transmission rate is slow or even the transmission cannot be performed may occur.
It should be noted that, because the transmission distance of the millimeter wave wireless transmission chip is limited, in the process of supplying power to the second terminal, the distance between the millimeter wave wireless transmission chip and the radio frequency module in the second terminal is smaller than a preset threshold, and the preset threshold is determined according to the transmission distance of the millimeter wave wireless transmission chip. Optionally, the preset threshold is also a transmission distance of the millimeter wave wireless transmission chip.
It should be noted that, because the millimeter wave wireless transmission chip has a high requirement on the position relationship with the opposite terminal when performing data transmission, in the process of supplying power to the second terminal, the relative position relationship between the millimeter wave wireless transmission chip and the radio frequency module in the second terminal meets the preset condition. The preset condition may be that the millimeter wave wireless transmission chip and the radio frequency module in the second terminal are arranged oppositely, i.e. parallel to each other, in the process of supplying power to the second terminal.
In a possible implementation manner, the radio frequency module includes two groups of millimeter wave wireless transmission chips, where one group of millimeter wave wireless transmission chips is used to implement a data sending function, and the other group of wireless millimeter wave wireless transmission chips is used to implement a data receiving function. In another possible implementation manner, the radio frequency module includes a group of millimeter wave wireless transmission chips, and the group of millimeter wave wireless transmission chips is used for implementing a data sending function and a data receiving function.
Optionally, the wireless charging device first detects whether the wireless charging device is in a state of supplying power to the second terminal, and if the wireless charging device is in the state of supplying power to the second terminal, establishes a second communication connection, that is, a wireless connection, with the second terminal. Specifically, the wireless charging device detects whether the wireless charging device is in a working state, and then detects whether a relative position relationship between the second terminal and the wireless charging device meets a first preset condition. The first preset condition refers to a relative position relationship between the second terminal and the wireless charging device when the second terminal is charged through the wireless charging device. And if the wireless charging equipment is in a working state and the relative position relation between the second terminal and the wireless charging equipment meets a first preset condition, determining that the wireless charging equipment is in a state of supplying power to the second terminal.
In addition, when the wireless charging device is in communication connection with the first terminal and is in the process of supplying power to the second terminal, the radio frequency module is switched from the dormant state to the awakening state, and then the second communication connection is established with the second terminal based on the radio frequency module, so that the radio frequency module is prevented from being always kept in the awakening state when the data transmission requirement between the first terminal and the second terminal does not exist, and the power consumption of the wireless charging device can be saved.
In step 303, during the process of supplying power to the second terminal, data transmission is performed between the first terminal and the second terminal through the first communication connection and the second communication connection.
In the embodiment of the disclosure, when the second terminal is in a wireless charging scenario, the wireless charging device supplying power to the second terminal is used as a data transmission medium, so that data transmission between the first terminal and the second terminal is realized, the situation that the mobile terminal is connected with another terminal in a wired manner to perform data transmission in the wireless charging scenario can be avoided, and the convenience of performing data transmission between the mobile terminal and the another terminal in the wireless charging scenario is improved.
Optionally, step 303 is implemented as: the data are transmitted between the first terminal and the wireless charging device through the first communication connection, and the data are transmitted between the wireless charging device and the second terminal through the second communication connection.
The wireless charging device transmitting data between the first terminal and the wireless charging device through the first communication connection may include: and receiving data sent by the first terminal through the first communication connection, or sending data to the first terminal through the first communication connection. During data transmission between the wireless charging device and the first device, data transmission may be performed based on the USB3.0 protocol. The USB3.0 protocol may also be referred to as "superspeeded USB," which has a faster transmission rate than the conventional USB2.0 protocol.
The wireless charging device connecting the wireless charging device and the second terminal through the second communication to transmit data may include: and receiving the data sent by the second terminal through the second communication connection, or sending the data to the second terminal through the second communication connection.
In addition, in a wireless charging scenario, data transmission between the first terminal and the second terminal may be initiated by a user. In an example, the wireless charging device sends a connection establishment notification to the first terminal and the second terminal respectively when the first communication connection and the second communication connection are both established, where the connection establishment notification may include an identifier of the first terminal and an identifier of the second terminal, and both the first terminal and the second terminal may display a prompt message on a current user interface to prompt that data transmission may be performed between the first terminal and the second terminal. When the first terminal or the second terminal receives the confirmation instruction corresponding to the prompt message, a data transmission interface can be displayed, a user selects data to be transmitted on the data transmission interface, a data transmission instruction is triggered, and then data transmission is carried out between the first terminal and the second terminal based on the first communication connection and the second communication connection.
Referring collectively to fig. 4, a data transmission diagram illustrating one embodiment of the present disclosure is shown. The master device 41 (i.e., the second terminal) includes a radio frequency module, the radio frequency module includes a transmitting component and a receiving component, the slave device 42 (i.e., the wireless charging device) also includes a radio frequency module, the radio frequency module also includes a transmitting component and a receiving component, and data transmission is performed between the slave device and other devices based on the USB3.0 data transmission protocol.
To sum up, according to the technical scheme provided by the embodiment of the present disclosure, the wireless charging device is respectively connected to the two terminals in a communication manner, and then the wireless charging device is used as a medium for data transmission between the two terminals, so that a situation that the mobile terminal is connected to another terminal in a wired manner to perform data transmission in a wireless charging scene can be avoided, and convenience of data transmission between the mobile terminal and the another terminal in the wireless charging scene is improved. In addition, the wireless charging equipment establishes communication connection with the second terminal after establishing communication connection with the first terminal, so that the communication connection between the wireless charging equipment and the second terminal is avoided being established under the condition that no data transmission requirement exists, and the power consumption of the wireless charging equipment can be saved.
In addition, data transmission between the wireless charging equipment and the second terminal is achieved through the micron-wave wireless data transmission chip, the transmission speed is high, and the anti-interference capability is strong. In addition, data transmission between the wireless charging device and the first terminal is realized through a USB3.0 protocol, and the data transmission efficiency can be improved.
In an optional embodiment provided based on the embodiment shown in fig. 3, the method for transmitting data based on a wireless charging device may further include the following steps: and when the disconnection of the second communication connection is detected, sending a disconnection notice to the first terminal.
The disconnection notification is used to notify that the second communication connection has been disconnected, and optionally, the disconnection notification includes an identifier of the second terminal. The disconnection notification is used for indicating the first terminal to transmit data according to the third communication connection when detecting that the third communication connection is established between the first terminal and the second terminal. The third communication connection may be a bluetooth connection, a WiFi connection, a USB connection, or the like.
In this disclosure, when the data transmission task between the first terminal and the second terminal is not completed, if the second communication connection is disconnected and a third communication connection exists between the first terminal and the second terminal, the wireless charging device may instruct the first terminal and the second terminal to continue to perform the unfinished transmission task through the third communication connection. By the method, when the data transmission scheme based on the wireless charging device is interrupted, the first terminal and the second terminal can continue data transmission.
Accordingly, the data transmission method based on the wireless charging device may further include the steps of: and when the disconnection of the first communication connection is detected, sending a disconnection notice to the second terminal. The disconnection notification is used to notify that the first communication connection has been disconnected, optionally, the disconnection notification includes an identification of the first terminal. The disconnection notification is used for indicating the second terminal to transmit data according to the third communication connection when detecting that the third communication connection is established between the first terminal and the second terminal.
To sum up, according to the technical solution provided in the embodiment of the present disclosure, when the first communication connection or the second communication connection is disconnected, if the third communication connection is established between the first terminal and the second terminal, the first terminal and the second terminal may continue to perform an unfinished transmission task, so as to avoid interruption of data transmission due to disconnection of the first communication connection or the second communication connection.
In an optional embodiment provided based on the embodiment shown in fig. 3, the method for transmitting data based on a wireless charging device may further include the following steps: and sending a connection establishment notification to the first terminal.
The connection establishment notification is used for notifying the second terminal that the second communication connection is established with the wireless charging device. The connection notification carries an identifier of the second terminal. The disconnection notification is used for instructing the first terminal to execute an uncompleted data transmission task through the first communication connection when detecting that the uncompleted data transmission task exists.
In this disclosure, when the first terminal and the second terminal both establish a communication connection with the wireless charging device and an unfinished data transmission task exists between the first terminal and the second terminal, the wireless charging device may instruct the first terminal and the second terminal to continue to perform the unfinished data transmission task. By the method, when the unfinished data transmission task exists between the first terminal and the second terminal, a user does not need to manually select the unfinished transmission task and trigger the unfinished transmission task, and the data transmission efficiency under the condition that the unfinished transmission task exists can be improved.
Accordingly, the wireless communication device-based data transmission scheme may further include the steps of: and sending a connection establishment notification to the second terminal.
The connection establishment notification is used for notifying the first terminal and the wireless charging device that the first communication connection is established. The connection notification carries an identifier of the first terminal. The disconnection notification is used for instructing the second terminal to execute the unfinished data transmission task through the second communication connection when detecting that the unfinished data transmission task exists.
To sum up, according to the technical solution provided in the embodiment of the present disclosure, when the first terminal and the second terminal both establish a communication connection with the wireless charging device and an unfinished data transmission task exists between the first terminal and the second terminal, the wireless charging device may instruct the first terminal and the second terminal to continue to perform the unfinished data transmission task. In the process, the user does not need to manually select the unfinished transmission task and trigger, so that the data transmission efficiency under the condition that the unfinished transmission task exists can be improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 5 is a block diagram illustrating a data transmission apparatus based on a wireless charging device according to an exemplary embodiment. The device has the functions of realizing the method examples, and the functions can be realized by hardware or by hardware executing corresponding software. The device can be the wireless charging device introduced above, and can also be arranged on the wireless charging device. The device includes:
a first connection module 501 configured to establish a first communication connection with a first terminal;
the second connection module 502 is configured to wake up the radio frequency module and establish a second communication connection with a second terminal based on the radio frequency module when it is detected that the wireless charging device is supplying power to the second terminal;
a data transmission module 503, configured to transmit data between the first terminal and the second terminal through the first communication connection and the second communication connection in a process of supplying power to the second terminal.
In an alternative embodiment provided based on the embodiment shown in fig. 5, referring to fig. 6, the data transmission module 503 includes:
A first transmission sub-module 5031 configured to transmit data between the first terminal and the wireless charging device through the first communication connection;
a second transmitting sub-module 5032 configured to transmit data between the wireless charging device and the second terminal through the second communication connection.
Optionally, the first communication connection is a Universal Serial Bus (USB) connection, and the first transmission sub-module is configured to perform data transmission between the first terminal and the wireless charging device through the first communication connection and based on a USB3.0 protocol.
In an optional embodiment provided based on the embodiment shown in fig. 5, the radio frequency module includes a millimeter wave wireless transmission chip.
Optionally, in the process of supplying power to the second terminal, a distance between the millimeter wave wireless transmission chip and a radio frequency module in the second terminal is smaller than a preset threshold, and the preset threshold is determined according to the transmission distance of the millimeter wave wireless transmission chip.
Optionally, in the process of supplying power to the second terminal, a relative position relationship between the millimeter wave wireless transmission chip and the radio frequency module in the second terminal meets a preset condition.
In an optional embodiment provided based on the embodiment shown in fig. 5, the data transmission module 503 is further configured to send, when detecting that the first communication connection is disconnected, a disconnection notification to the first terminal, where the connection failure notification is used to notify that the second communication connection is disconnected, and the disconnection notification is used to instruct the first terminal to perform data transmission according to a third communication connection when detecting that the third communication connection is established between the first terminal and the second terminal.
In an optional embodiment provided based on the embodiment shown in fig. 5, the data transmission module 503 is further configured to send a connection establishment notification to the first terminal, where the connection establishment notification is used to notify that the second terminal and the wireless charging device have established the second communication connection, and the connection disconnection notification is used to instruct the first terminal to execute the unfinished data transmission task through the first communication connection when detecting that the unfinished data transmission task exists.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the above functional modules is illustrated, and in practical applications, the above functions may be distributed by different functional modules according to actual needs, that is, the content structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An exemplary embodiment of the present disclosure also provides a data transmission device based on a wireless charging device, which can implement the operation method provided by the present disclosure. The device includes: a processor, and a memory for storing executable instructions for the processor. Wherein the processor is configured to:
establishing a first communication connection with a first terminal;
when the wireless charging equipment is detected to supply power to the second terminal, the radio frequency module is awakened, and second communication connection is established with the second terminal based on the radio frequency module;
and in the process of supplying power to the second terminal, data transmission is carried out between the first terminal and the second terminal through the first communication connection and the second communication connection.
Optionally, the processor is configured to perform data transmission between the first terminal and the wireless charging device through the first communication connection, and perform data transmission between the wireless charging device and the second terminal through the second communication connection.
Optionally, the processor is configured to perform data transmission between the first terminal and the wireless charging device through the first communication connection and based on a USB3.0 protocol.
Optionally, the radio frequency module includes a millimeter wave wireless transmission chip.
Optionally, in the process of supplying power to the second terminal, a distance between the millimeter wave wireless transmission chip and a radio frequency module in the second terminal is smaller than a preset threshold, and the preset threshold is determined according to the transmission distance of the millimeter wave wireless transmission chip.
Optionally, in the process of supplying power to the second terminal, a relative position relationship between the millimeter wave wireless transmission chip and the radio frequency module in the second terminal meets a preset condition.
Optionally, the processor is further configured to send, when detecting that the second communication connection is disconnected, a disconnection notification to the first terminal, where the disconnection notification is used to notify that the second communication connection is disconnected, and the disconnection notification is used to instruct the first terminal to perform data transmission according to a third communication connection when detecting that the third communication connection is established between the first terminal and the second terminal.
Optionally, the processor is configured to send a connection establishment notification to the first terminal, the connection establishment notification is used for notifying that the second terminal and the wireless charging device have established the second communication connection, and the connection disconnection notification is used for instructing the first terminal to execute an unfinished data transmission task through the first communication connection when detecting that the unfinished data transmission task exists.
Fig. 7 is a block diagram illustrating a data transmission apparatus 700 based on a wireless charging device according to an exemplary embodiment. Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a power component 708, and a communication component 710.
The processing component 702 generally controls the overall operation of the device 700. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on the apparatus 700. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The power component 708 is configured to facilitate power supply between the apparatus 700 and other devices. The power supply component 708 supplies power to other devices based on the principle of electromagnetic induction.
The communication component 710 is configured to facilitate communications between the apparatus 700 and other devices in a wired or wireless manner. The apparatus 700 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 710 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 710 further includes a Near Field Communication (NFC) module to facilitate short-range communications.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described wireless charging apparatus-based data transmission method.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, on which a computer program is stored, the computer program being executable by the processor 720 of the apparatus 700 to perform the above-described wireless charging device-based data transmission method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (18)

1. A data transmission method based on wireless charging equipment is characterized in that the method is applied to the wireless charging equipment, a radio frequency module is arranged in the wireless charging equipment, and the method comprises the following steps:
establishing a first communication connection with a first terminal;
when the wireless charging equipment is detected to supply power to a second terminal, awakening the radio frequency module and establishing a second communication connection with the second terminal based on the radio frequency module;
and in the process of supplying power to the second terminal, data transmission is carried out between the first terminal and the second terminal through the first communication connection and the second communication connection.
2. The method of claim 1, wherein the transmitting data between the first terminal and the second terminal via the first communication connection and the second communication connection comprises:
the first communication connection is used for data transmission between the first terminal and the wireless charging equipment, and the second communication connection is used for data transmission between the wireless charging equipment and the second terminal.
3. The method of claim 2, wherein the first communication connection is a Universal Serial Bus (USB) connection, and wherein the transmitting data between the first terminal and the wireless charging device via the first communication connection comprises:
And performing data transmission between the first terminal and the wireless charging equipment through the first communication connection based on a USB3.0 protocol.
4. The method of any one of claims 1 to 3, wherein the radio frequency module comprises a millimeter wave wireless transmission chip.
5. The method according to claim 4, wherein during the process of supplying power to the second terminal, a distance between the millimeter wave wireless transmission chip and a radio frequency module in the second terminal is smaller than a preset threshold, and the preset threshold is determined according to a transmission distance of the millimeter wave wireless transmission chip.
6. The method according to claim 4, wherein in the process of supplying power to the second terminal, the relative position relationship between the millimeter wave wireless transmission chip and the radio frequency module in the second terminal meets a preset condition.
7. The method according to any one of claims 1 to 3, further comprising:
and sending a disconnection notification to the first terminal when detecting that the second communication connection is disconnected, wherein the disconnection notification is used for notifying that the second communication connection is disconnected, and the disconnection notification is used for indicating the first terminal to transmit data according to a third communication connection when detecting that the third communication connection is established between the first terminal and the second terminal.
8. The method according to any one of claims 1 to 3, further comprising:
sending a connection establishment notification to the first terminal, wherein the connection establishment notification is used for notifying the second terminal and the wireless charging device that the second communication connection is established, and the connection disconnection notification is used for indicating the first terminal to execute the unfinished data transmission task through the first communication connection when detecting that the unfinished data transmission task exists.
9. The utility model provides a data transmission device based on wireless charging equipment, its characterized in that, the device is applied to wireless charging equipment, be provided with the radio frequency module in the wireless charging equipment, the device includes:
a first connection module configured to establish a first communication connection with a first terminal;
the second connection module is configured to wake up the radio frequency module to establish a second communication connection with a second terminal based on the radio frequency module when detecting that the wireless charging device supplies power to the second terminal;
the data transmission module is configured to transmit data between the first terminal and the second terminal through the first communication connection and the second communication connection in the process of supplying power to the second terminal.
10. The apparatus of claim 9, wherein the data transmission module comprises:
a first transmission submodule configured to perform data transmission between the first terminal and the wireless charging device through the first communication connection;
a second transmission sub-module configured to perform data transmission between the wireless charging device and the second terminal through the second communication connection.
11. The apparatus of claim 10, wherein the first communication connection is a Universal Serial Bus (USB) connection, and wherein the first transmission submodule is configured to transmit data between the first terminal and the wireless charging device via the first communication connection and based on a USB3.0 protocol.
12. The apparatus of any one of claims 9 to 11, wherein the radio frequency module comprises a millimeter wave wireless transmission chip.
13. The apparatus according to claim 12, wherein during the process of supplying power to the second terminal, a distance between the millimeter wave wireless transmission chip and a radio frequency module in the second terminal is smaller than a preset threshold, and the preset threshold is determined according to a transmission distance of the millimeter wave wireless transmission chip.
14. The apparatus according to claim 12, wherein during the process of supplying power to the second terminal, a relative position relationship between the millimeter wave wireless transmission chip and the radio frequency module in the second terminal meets a preset condition.
15. The apparatus according to any of claims 9 to 11, wherein the data transmission module is further configured to send a disconnection notification to the first terminal when detecting that the first communication connection is disconnected, wherein the connection failure notification is used to notify that the second communication connection is disconnected, and wherein the disconnection notification is used to instruct the first terminal to perform data transmission according to a third communication connection when detecting that the first terminal establishes a third communication connection with the second terminal.
16. The apparatus according to any one of claims 9 to 11, wherein the data transmission module is further configured to send a connection establishment notification to the first terminal, the connection establishment notification is used to notify the second terminal that the second communication connection with the wireless charging device is established, and the connection disconnection notification is used to instruct the first terminal to perform the unfinished data transmission task through the first communication connection when detecting that the unfinished data transmission task exists.
17. The utility model provides a data transmission device based on wireless charging equipment, its characterized in that, the device is applied to wireless charging equipment, be provided with the radio frequency module in the wireless charging equipment, the device includes:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
establishing a first communication connection with a first terminal;
when the wireless charging equipment is detected to supply power to a second terminal, awakening the radio frequency module and establishing a second communication connection with the second terminal based on the radio frequency module;
and in the process of supplying power to the second terminal, data transmission is carried out between the first terminal and the second terminal through the first communication connection and the second communication connection.
18. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN201910436541.1A 2019-05-23 2019-05-23 Data transmission method and device based on wireless charging equipment Pending CN111988864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910436541.1A CN111988864A (en) 2019-05-23 2019-05-23 Data transmission method and device based on wireless charging equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910436541.1A CN111988864A (en) 2019-05-23 2019-05-23 Data transmission method and device based on wireless charging equipment

Publications (1)

Publication Number Publication Date
CN111988864A true CN111988864A (en) 2020-11-24

Family

ID=73436052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910436541.1A Pending CN111988864A (en) 2019-05-23 2019-05-23 Data transmission method and device based on wireless charging equipment

Country Status (1)

Country Link
CN (1) CN111988864A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038447A (en) * 2021-03-31 2021-06-25 德氪微电子(深圳)有限公司 Data transmission method, device, mobile terminal and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208129A (en) * 2015-10-10 2015-12-30 南京邻动网络科技有限公司 Flexible mobile terminal file transfer method
CN105657095A (en) * 2016-02-01 2016-06-08 广东欧珀移动通信有限公司 Mobile terminal and data transmission method used for mobile terminal
CN205986246U (en) * 2016-08-23 2017-02-22 东莞市江涵电子有限公司 Wireless integrator that charges
CN107205263A (en) * 2017-04-26 2017-09-26 上海掌门科技有限公司 A kind of data transmission method and system based on wireless charging device
CN107612162A (en) * 2017-09-08 2018-01-19 深圳市金立通信设备有限公司 A kind of wireless charging method, terminal and computer-readable recording medium
CN108695998A (en) * 2017-04-07 2018-10-23 Oppo广东移动通信有限公司 Data transmission method, device, storage medium and electronic equipment
US20190020214A1 (en) * 2017-07-13 2019-01-17 Foxconn Interconnect Technology Limited Multifunctional wireless charging system and its data transmission method
CN109691172A (en) * 2016-12-05 2019-04-26 华为技术有限公司 The method and apparatus for transmitting information

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208129A (en) * 2015-10-10 2015-12-30 南京邻动网络科技有限公司 Flexible mobile terminal file transfer method
CN105657095A (en) * 2016-02-01 2016-06-08 广东欧珀移动通信有限公司 Mobile terminal and data transmission method used for mobile terminal
CN205986246U (en) * 2016-08-23 2017-02-22 东莞市江涵电子有限公司 Wireless integrator that charges
CN109691172A (en) * 2016-12-05 2019-04-26 华为技术有限公司 The method and apparatus for transmitting information
CN108695998A (en) * 2017-04-07 2018-10-23 Oppo广东移动通信有限公司 Data transmission method, device, storage medium and electronic equipment
CN108695921A (en) * 2017-04-07 2018-10-23 Oppo广东移动通信有限公司 Data back up method, wireless charging device, mobile terminal and storage medium
CN107205263A (en) * 2017-04-26 2017-09-26 上海掌门科技有限公司 A kind of data transmission method and system based on wireless charging device
US20190020214A1 (en) * 2017-07-13 2019-01-17 Foxconn Interconnect Technology Limited Multifunctional wireless charging system and its data transmission method
CN107612162A (en) * 2017-09-08 2018-01-19 深圳市金立通信设备有限公司 A kind of wireless charging method, terminal and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038447A (en) * 2021-03-31 2021-06-25 德氪微电子(深圳)有限公司 Data transmission method, device, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN110089040B (en) Data transmission method and sending end equipment
EP3468068B1 (en) Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device
CN104978296A (en) Method and apparatus for determining direction of power delivery
US8320831B2 (en) Electronic device and communication control method
US20200213903A1 (en) Data transmission method and device
CN108475241B (en) SPI-based data transmission method and device
KR101390402B1 (en) Power sharing apparatus and system using power sharing program installed in mobile terminal
JP2014079091A (en) Communication system, receiver, transmitter, control method, and program
CA2547204C (en) Inter-processor parameter management in a multiple-processor wireless mobile communication device operating on a processor specific communication network
CN112436985A (en) Network distribution method, device, terminal equipment and storage medium
CN106063338A (en) Systems and methods to discover access points (AP) in wireless networks operating in the 60 GHz band
WO2017166541A1 (en) User device and method for waking from hibernation, and computer storage medium
CN105827023A (en) Wireless charging method between terminals and terminals
CN113965993A (en) Direct communication starting control method and related equipment
CN112269086A (en) Charging cable identification method and device, charging cable and readable storage medium
WO2017049549A1 (en) Mobile terminal, power supply adapter, and upgrading method thereof
CN110545499B (en) Communication method, communication device, chip of communication device, equipment to be charged and system
CN113395690B (en) Bluetooth equipment automatic connection method, device, equipment and storage medium
WO2022078314A1 (en) Inactive state configuration method and device, and communication device
CN111433756B (en) Terminal and Type C interface anti-corrosion method
CN106413062A (en) User equipment and sleep wake-up method
CN111988864A (en) Data transmission method and device based on wireless charging equipment
CN113965994A (en) Direct communication starting control method and related equipment
CN110169090B (en) Information transmission method, device and storage medium
EP4287717A1 (en) Wireless fidelity (wifi) communication method and apparatus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201124

RJ01 Rejection of invention patent application after publication