A kind of automatic switchover system and method for wireless charging and wireless data transmission
Technical field
The present invention relates to wireless charging and wireless data transmission technology field more particularly to a kind of wireless charging and without line number
According to the automatic switchover system and method for transmission.
Background technique
With the development and popularization of mobile phone wireless charging technique, the application scenarios of mobile phone wireless charging are more and more extensive.It is existing
Modern wireless data transmission technology is also to emerge one after another, and a hundred flowers blossom for two kinds of individual products of technology in the market.
Though wireless charging and the development of both technologies of wireless data transmission are than very fast, wireless for that should support
Charging is supported to need to prepare simultaneously the dress of a set of wireless charging and a set of wireless transmission for the user of wireless data transmission again
It sets, and needs when two kinds of functions are used instead to carry out changing device manually, cause trouble when in use to user, user experience is inadequate
It is good.
Summary of the invention
Technical problems based on background technology, the invention proposes oneself of a kind of wireless charging and wireless data transmission
Dynamic switching system and method.
A kind of automatic switchover system of wireless charging and wireless data transmission proposed by the present invention, comprising: pattern switching mould
Block, transmitting module and receiving module, transmitting module and headend equipment communicate to connect, and receiving module is connect with terminal equipment in communication,
Transmitting module and receiving module communicate to connect, and mode switch module and transmitting module and receiving module communicate to connect, pattern switching
Module is used for the connection status switching system operating mode according to transmitting module and receiving module;
When transmitting module and receiving module are detached from physical connection, system switches to wireless data transmission operating mode, receives
First data of module receiving terminal apparatus and by first data transmission to transmitting module, transmitting module receives receiving module transmission
The first data and by first data transmission to headend equipment, also, the second data of transmitting module receiving front-end equipment and will
Second data are transmitted to receiving module, and receiving module receives the second data of transmitting module transmission and the second data are transmitted to end
End equipment;
When transmitting module and receiving module establish physical connection, system switches to wireless charging operating mode, transmitting module
The magnetic that the electric energy of headend equipment is converted to magnetic energy and emits magnetic energy for emission to receiving module, receiving module reception transmitting module
Can and convert electric energy for magnetic energy is power terminal equipment.
Preferably, the transmission that the transmitting module is communicated to connect by USB interface agreement and headend equipment to realize data;
Preferably, the electric energy of headend equipment is converted to magnetic energy by QI/WPC agreement and emitted by the transmitting module;
Preferably, the data of headend equipment are transmitted to receiving module by TransferJat agreement by the transmitting module.
Preferably, the receiving module is connect with terminal equipment in communication by Mini B/Type-C interface to realize data
Transmission;
Preferably, the receiving module receives the data of transmitting module transmission by TransferJat agreement;
Preferably, the receiving module receives the magnetic energy of transmitting module transmitting by QI/WPC agreement, and magnetic energy is converted
For electric energy.
Preferably, the mode switch module is specifically used for: when receiving module and transmitting module establish physical connection, connecing
It receives module and induces electricity, it is hanging by MOS control circuit control ID PIN to have mode switch module after electricity, and configure D+, D- number
Make Mini B/Type-C interface DCP according to line, system operating mode is switched to wireless charging mode by mode switch module;When
When receiving module and transmitting module are detached from physical connection, receiving module incudes power down, and mode switch module controls corresponding MOS will
ID PIN pulls down to ground, and MiniB/Type-C interface is configured as SDP, and system operating mode is switched to nothing by mode switch module
Line data-transmission mode.
Preferably, the headend equipment includes computer, laptop;The terminal device includes mobile phone, tablet computer.
The automatic switching method of a kind of wireless charging and wireless data transmission proposed by the present invention, comprising the following steps:
Connection status between S1, detection receiving module and transmitting module;
S2, the testing result switching system operating mode according to step S1.
Preferably, step S2 is specifically included: when receiving module and transmitting module establish physical connection, system switches to nothing
Line charge power mode;When receiving module and transmitting module are detached from physical connection, system switches to wireless data transmission mode;
Preferably, when system is in wireless charging mode, the electric energy of headend equipment is converted to magnetic energy and will by transmitting module
For magnetic energy for emission to receiving module, it is terminal device that receiving module, which receives the magnetic energy of transmitting module transmitting and converts electric energy for magnetic energy,
Power supply;
When system is in wireless data transmission mode, the first data of receiving module receiving terminal apparatus and by the first data
It is transmitted to transmitting module, transmitting module receives the first data of receiving module transmission and by first data transmission to headend equipment,
Also, the second data are simultaneously transmitted to receiving module by the second data of transmitting module receiving front-end equipment, and receiving module receives hair
It penetrates the second data of module transfer and the second data is transmitted to terminal device;
Preferably, when receiving module and transmitting module establish physical connection, receiving module induces electricity, there is mode after electricity
It is hanging that switching module by MOS control circuit controls ID PIN, and configures D+, D- data line and make Mini B/Type-C interface
DCP, system switch to wireless charging mode;When receiving module and transmitting module are detached from physical connection, receiving module induction is fallen
ID PIN is pulled down to ground by electricity, corresponding MOS, and MiniB/Type-C interface is configured as SDP, and system switches to wireless data biography
Defeated mode.
Preferably, the headend equipment includes computer, laptop;The terminal device includes mobile phone, tablet computer.
The present invention passes through the connection status switching system operating mode between detection transmitting module and receiving module;When transmitting mould
When block and receiving module are detached from physical connection, the second data of headend equipment are transmitted to receiving module by transmitting module, receive mould
Block receives the second data of transmitting module transmission and the second data is transmitted to terminal device, realizes the second number of headend equipment
According to the function of being transmitted to terminal device;Receiving module connects the first data transmission of terminal device to transmitting module, transmitting module
It receives the first data of receiving module transmission and by first data transmission to headend equipment, realizes and pass the first data of terminal device
Transport to the function of headend equipment;In this way, realizing the wireless data transmission function between headend equipment and terminal device.
When transmitting module and receiving module establish physical connection, the electric energy of headend equipment is converted magnetic energy by transmitting module
And by magnetic energy for emission to receiving module, it is terminal that receiving module, which receives the magnetic energy of transmitting module transmitting and converts electric energy for magnetic energy,
Equipment power supply realizes the function of wireless charging in this way, realizing that the electric energy using headend equipment is the function of power terminal equipment
Energy.According to the connection status switching system operating mode between transmitting module and receiving module, wireless charging operating mode is realized
With the automatic switchover of wireless data transmission operating mode, makes user be not necessarily to switch over manually in use, simplify use
The use process at family realizes wireless charging operating mode between terminal device and headend equipment on the basis of user-friendly
With the automatic switchover of wireless data transmission operating mode, the usage experience sense of user is improved.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of the automatic switchover system of wireless charging and wireless data transmission;
Fig. 2 is a kind of functional schematic of the automatic switchover system of wireless charging and wireless data transmission;
Fig. 3 is a kind of transmitting module structural schematic diagram of the automatic switchover system of wireless charging and wireless data transmission;
Fig. 4 is a kind of structural schematic diagram of the receiving module of the automatic switchover system of wireless charging and wireless data transmission;
Fig. 5 is wireless charging and wireless data transmission in the automatic switchover system of a kind of wireless charging and wireless data transmission
Automatic switching procedure schematic diagram;
Fig. 6 is the automatic switching method step schematic diagram of a kind of wireless charging and wireless data transmission.
Specific embodiment
- Fig. 5 referring to Fig.1, the automatic switchover system of wireless charging and wireless data transmission proposed by the present invention, comprising: mould
Formula switching module, transmitting module and receiving module, transmitting module and headend equipment communicate to connect, and receiving module and terminal device are logical
Letter connection, transmitting module and receiving module communicate to connect, and mode switch module and transmitting module and receiving module communicate to connect, mould
Formula switching module is used for the connection status switching system operating mode according to transmitting module and receiving module;
When transmitting module and receiving module are detached from physical connection, system switches to wireless data transmission operating mode, at this time
System work and wireless data transmission mode, then the first data of receiving module receiving terminal apparatus and by first data transmission extremely
Transmitting module, transmitting module receive the first data of receiving module transmission and by first data transmissions to headend equipment, so in fact
Show the function of the first data transmission of terminal device to headend equipment, also, the second of transmitting module receiving front-end equipment
Second data are simultaneously transmitted to receiving module by data, and receiving module receives the second data of transmitting module transmission and by the second data
It is transmitted to terminal device, so realizes the function that the second data of headend equipment are transmitted to terminal device;By receiving mould
Block and transmitting module realize that the data between headend equipment and terminal device are mutually transmitted.
When transmitting module and receiving module establish physical connection, system switches to wireless charging operating mode, transmitting module
The magnetic that the electric energy of headend equipment is converted to magnetic energy and emits magnetic energy for emission to receiving module, receiving module reception transmitting module
Can and convert electric energy for magnetic energy is power terminal equipment, and by the synergistic effect of transmitting module and receiving module, electric energy is turned
It turns to magnetic energy and is then converted to electric energy, realize the function of being powered the electric energy of headend equipment for terminal device.
It is the different operating mode of Systematic selection by the connection status between receiving module and transmitting module, realizes that front end is set
The function of the standby wireless charging between terminal device and wireless data transmission free switching simplifies the operating process of user, realizes
The simple and fast switchings of two kinds of operating modes.
In present embodiment, the transmitting module is communicated to connect by USB interface agreement and headend equipment to realize data
Transmission;The electric energy of headend equipment is converted to magnetic energy by QI/WPC agreement and emitted by transmitting module;Transmitting module passes through
The data of headend equipment are transmitted to receiving module by TransferJat agreement.
The receiving module connect the transmission to realize data with terminal equipment in communication by Mini B/Type-C interface;
Receiving module receives the data of transmitting module transmission by TransferJat agreement;Receiving module is received by QI/WPC agreement
The magnetic energy of transmitting module transmitting, and electric energy is converted by magnetic energy.
Further, the specific work process of module switching module includes: when receiving module and transmitting module establish physics
When connection, receiving module induces electricity, it is hanging by MOS control circuit control ID PIN to have mode switch module after electricity, and match
Setting D+, D- data line makes Mini B/Type-C interface DCP, and system operating mode is switched to wireless charging by mode switch module
Power mode;When receiving module and transmitting module are detached from physical connection, receiving module incudes power down, and mode switch module controls phase
ID PIN is pulled down to ground by the MOS answered, and Mini B/Type-C interface is configured as SDP, and mode switch module is by system Working mould
Formula switches to wireless data transmission mode;In this way, being Systematic selection work by the connection status between receiving module and transmitting module
Operation mode realizes the free switching of wireless charging and wireless data transmission function.
The headend equipment includes computer, laptop, and the terminal device includes mobile phone, tablet computer, so reality
It is carried out between existing mobile phone and computer, between mobile phone and laptop, between tablet computer and computer, between tablet computer and laptop
Wireless charging and wireless data transmission allow terminal room two-by-two to carry out the wireless data communication of short distance, pass between each other
The file of various formats is sent, and wireless charging and wireless data transmission mode can be automatically switched, is not necessarily to user's manual switching
Mode realizes the automatic switchover of operating mode according to application scenarios, realizes wireless charging and wireless data transmission both of which
Free switching carries out manual setting without user, is convenient for the user to use process.
Referring to Fig. 6, the automatic switching method of wireless charging and wireless data transmission proposed by the present invention, including following step
It is rapid:
Connection status between S1, detection receiving module and transmitting module;
S2, the testing result switching system operating mode according to step S1.
Step S2 is specifically included: when receiving module and transmitting module establish physical connection, system switches to wireless charging
Mode, under this operating mode, the electric energy of headend equipment is converted to magnetic energy and by magnetic energy for emission to receiving module by transmitting module,
It is power terminal equipment that receiving module, which receives the magnetic energy of transmitting module transmitting and converts electric energy for magnetic energy, and realization is set using front end
Standby electric energy is the function that terminal device charges;
When receiving module and transmitting module are detached from physical connection, system switches to wireless data transmission mode, in this work
Under operation mode, the first data of receiving module receiving terminal apparatus and by first data transmission to transmitting module, transmitting module is connect
Receive the first data of receiving module transmission and by first data transmission to headend equipment, also, transmitting module receiving front-end equipment
The second data and the second data are transmitted to receiving module, receiving module receives the second data of transmitting module transmission and by the
Two data are transmitted to terminal device, realize the function that data between headend equipment and terminal device are mutually transmitted;
Further, when receiving module and transmitting module establish physical connection, receiving module induces electricity, there is electric rear mold
It is hanging that formula switching module by MOS control circuit controls ID PIN, and configures D+, D- data line and make Mini B/Type-C interface
For DCP, system switches to wireless charging mode;When receiving module and transmitting module are detached from physical connection, receiving module induction
ID PIN is pulled down to ground by power down, corresponding MOS, and MiniB/Type-C interface is configured as SDP, and system switches to wireless data
Transmission mode;In this way, be the different operating mode of Systematic selection by the different connection status between receiving module and transmitting module,
So that system can carry out free switching under wireless charging and wireless data transmission operating mode, simplify user operation process, it is real
The simple switching of existing mode.
Pass through the connection status switching system operating mode between detection transmitting module and receiving module;When transmitting module with connect
When receiving module disengaging physical connection, the second data of headend equipment are transmitted to receiving module by transmitting module, and receiving module receives
Second data are simultaneously transmitted to terminal device by the second data of transmitting module transmission, are realized and are transmitted the second data of headend equipment
To the function of terminal device;Receiving module receives the first data transmission of terminal device to transmitting module, transmitting module
First data of module transfer and by first data transmission to headend equipment are realized the first data transmission of terminal device to preceding
The function of end equipment;In this way, realizing the wireless data transmission function between headend equipment and terminal device.
When transmitting module and receiving module establish physical connection, the electric energy of headend equipment is converted magnetic energy by transmitting module
And by magnetic energy for emission to receiving module, it is terminal that receiving module, which receives the magnetic energy of transmitting module transmitting and converts electric energy for magnetic energy,
Equipment power supply realizes the function of wireless charging in this way, realizing that the electric energy using headend equipment is the function of power terminal equipment
Energy.According to the connection status switching system operating mode between transmitting module and receiving module, wireless charging operating mode is realized
With the automatic switchover of wireless data transmission operating mode, makes user be not necessarily to switch over manually in use, simplify use
The use process at family realizes wireless charging operating mode between terminal device and headend equipment on the basis of user-friendly
With the automatic switchover of wireless data transmission operating mode, the usage experience sense of user is improved.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto,
Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its
Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.