CN117440060A - Communication conversion device, electronic equipment, system and method - Google Patents

Communication conversion device, electronic equipment, system and method Download PDF

Info

Publication number
CN117440060A
CN117440060A CN202311766123.1A CN202311766123A CN117440060A CN 117440060 A CN117440060 A CN 117440060A CN 202311766123 A CN202311766123 A CN 202311766123A CN 117440060 A CN117440060 A CN 117440060A
Authority
CN
China
Prior art keywords
usb
electronic device
wireless communication
wireless
type information
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
CN202311766123.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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202311766123.1A priority Critical patent/CN117440060A/en
Publication of CN117440060A publication Critical patent/CN117440060A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a communication conversion device, electronic equipment, a system and a method, and relates to the field of wireless communication. The communication conversion device includes: the device comprises a first wireless communication module, a USB interface and a processor; the first wireless communication module is used for carrying out wireless data communication with the first electronic equipment; the processor is used for: when the USB interface is connected to the second electronic equipment, wireless communication connection is established between the USB interface and the first electronic equipment through the first wireless communication module; acquiring first USB device type information of first electronic equipment through a first wireless communication module, and sending the first USB device type information to second electronic equipment through a USB interface; or acquiring second USB device type information of the second electronic device through the USB interface, and sending the second USB device type information to the first electronic device through the first wireless communication module.

Description

Communication conversion device, electronic equipment, system and method
Technical Field
The embodiment of the application relates to the field of wireless communication, in particular to a communication conversion device, electronic equipment, a system and a method.
Background
Currently, electronic devices are generally provided with a universal serial bus (universal serial bus, USB) interface, and the USB interface may affect the waterproof performance, dustproof performance and plug life of the electronic device, and may occupy a motherboard space, which is not beneficial to the ultrathin electronic device.
Disclosure of Invention
The embodiment of the application provides a communication conversion device, electronic equipment, a system and a method, which are used for solving the problem that data cannot be transmitted under the condition that the electronic equipment cancels a USB interface.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, the present application provides a communication conversion apparatus, including: the device comprises a first wireless communication module, a USB interface and a processor; the first wireless communication module is used for carrying out wireless data communication with the first electronic equipment, and the first electronic equipment is not provided with a USB interface; the processor is used for: when the USB interface is connected to the second electronic equipment, wireless communication connection is established between the USB interface and the first electronic equipment through the first wireless communication module; acquiring first USB device type information of first electronic equipment through a first wireless communication module, and sending the first USB device type information to second electronic equipment through a USB interface; or acquiring second USB device type information of the second electronic device through the USB interface, and sending the second USB device type information to the first electronic device through the first wireless communication module; carrying out wireless data communication with the first electronic equipment through the first wireless communication module, and carrying out USB data communication with the second electronic equipment according to the transmission requirement of the USB equipment type indicated by the first USB equipment type information; or according to the transmission requirement of the USB device type indicated by the second USB device type information, carrying out USB data communication with the second electronic device, and carrying out wireless data communication with the first electronic device through the first wireless communication module.
The communication conversion device provided by the embodiment of the invention can perform wireless data communication with the first electronic equipment, and forwards the first USB equipment type information of the first electronic equipment to the second electronic equipment, so that the communication conversion device and the second electronic equipment perform USB data communication according to the transmission requirement of the USB equipment type indicated by the first USB equipment type information, and the conversion of the wireless data communication and the USB data communication is realized; or the communication conversion device and the second electronic equipment perform USB data communication according to the transmission requirement of the USB equipment type indicated by the second USB equipment type information, and the second USB equipment type information of the second electronic equipment is forwarded to the first electronic equipment so as to realize conversion of wireless data communication and USB data communication. Under the condition that the first electronic equipment cancels the USB interface, the communication conversion device provided by the embodiment of the application can realize the data communication function between the first electronic equipment and the second electronic equipment. The communication conversion device automatically maps to the corresponding USB equipment according to the USB equipment type indicated by the first USB equipment type information or the second USB equipment type information, and when a user uses the communication conversion device to carry out data transmission, no additional driver and application software are required to be installed, so that user experience is improved.
In a possible implementation manner of the first aspect, the communication conversion apparatus further includes a second wireless communication module, and the processor is further configured to: before the wireless communication connection is established with the first electronic device through the first wireless communication module, wireless configuration information is sent to the first electronic device through the second wireless communication module, and the wireless configuration information is used for establishing the wireless communication connection between the first wireless communication module and the first electronic device.
In the implementation manner, the first electronic device performs identity verification with the communication conversion device by acquiring the wireless configuration information, so as to establish wireless communication connection between the first wireless communication module and the first electronic device.
In a possible implementation manner of the first aspect, the second wireless communication module is specifically a wireless charging coil.
In this implementation manner, when the communication conversion device is a wireless charging device, the wireless charging coil in the wireless charging device may be used as the second wireless communication module to send wireless configuration information to the first electronic device.
In a possible implementation manner of the first aspect, the communication conversion device includes a charging base and a USB cable, and the wireless charging coil is located on the charging base.
In one possible implementation manner of the first aspect, the charging base includes a first wireless communication module, a USB interface, and a processor.
In this implementation manner, the first wireless communication module, the USB interface, and the processor may be integrated on a charging base of the wireless charging device, and the communication conversion device is connected to the second electronic device by using a universal cable.
In a possible implementation manner of the first aspect, the communication conversion device further includes a USB connector, where the USB connector includes a first wireless communication module, a USB interface, and a processor.
In this implementation manner, the first wireless communication module, the USB interface and the processor may be integrated on a USB connector of the wireless charging device, the charging base may be a conventional charging base, and the communication conversion device is connected to the second electronic device by using a dedicated cable.
In one possible implementation manner of the first aspect, the processor is specifically configured to: when the power supply is identified to come from the USB interface, the first USB device type information of the first electronic device is obtained through the first wireless communication module, and the first USB device type information is sent to the second electronic device through the USB interface.
In this implementation, the first electronic device is a slave device to USB communication and the second electronic device is a master device to USB communication (e.g., a personal computer (personal computer, PC) device). The second electronic device supplies power to the communication conversion device through the USB interface, and at this time, the processor can recognize that the power supply is from the USB interface.
In one possible implementation manner of the first aspect, the processor is specifically configured to: and when the power supply is identified not to come from the USB interface, acquiring second USB device type information of the second electronic device through the USB interface, and sending the second USB device type information to the first electronic device through the first wireless communication module.
In this implementation, the first electronic device is a master device for USB communication and the second electronic device is a slave device for USB communication (e.g., an OTG device). When the communication conversion device is a wireless charging device, the first electronic device supplies power to the communication conversion device through the wireless charging coil, or supplies power to the communication conversion device by using other power supplies, and at this time, the processor can recognize that the power supply is not from the USB interface.
In a second aspect, the present application provides a communication conversion method applied to the communication conversion device as in the first aspect and any implementation manner thereof, where the communication conversion method includes: when the communication conversion device is connected to the second electronic equipment through the USB interface, establishing wireless communication connection with the first electronic equipment through the first wireless communication module in the communication conversion device; the first wireless communication module is used for carrying out wireless data communication with the first electronic equipment; the first electronic device does not have a USB interface; acquiring first USB device type information of first electronic equipment through a first wireless communication module, and sending the first USB device type information to second electronic equipment through a USB interface; or acquiring second USB device type information of the second electronic device through the USB interface, and sending the second USB device type information to the first electronic device through the first wireless communication module; carrying out wireless data communication with the first electronic equipment through the first wireless communication module, and carrying out USB data communication with the second electronic equipment according to the transmission requirement of the USB equipment type indicated by the first USB equipment type information; or according to the transmission requirement of the USB device type indicated by the second USB device type information, carrying out USB data communication with the second electronic device, and carrying out wireless data communication with the first electronic device through the first wireless communication module.
In a possible implementation manner of the second aspect, the method further includes: before the wireless communication connection is established between the first wireless communication module and the first electronic device, wireless configuration information is sent to the first electronic device through a second wireless communication module in the communication conversion device, and the wireless configuration information is used for establishing the wireless communication connection between the first wireless communication module and the first electronic device.
In a possible implementation manner of the second aspect, the acquiring, by using the first wireless communication module, the first USB device type information of the first electronic device, and sending, by using the USB interface, the first USB device type information to the second electronic device, includes: when the power supply is identified to come from the USB interface, the first USB device type information of the first electronic device is obtained through the first wireless communication module, and the first USB device type information is sent to the second electronic device through the USB interface.
In a possible implementation manner of the second aspect, the acquiring, through the USB interface, second USB device type information of the second electronic device, and sending, through the first wireless communication module, the second USB device type information to the first electronic device, specifically includes: and when the power supply is identified not to come from the USB interface, acquiring second USB device type information of the second electronic device through the USB interface, and sending the second USB device type information to the first electronic device through the first wireless communication module.
In a third aspect, the present application provides an electronic device, the electronic device not having a USB interface, the electronic device including a processor, a wireless communication module, and an information acquisition module, the processor being configured to: acquiring wireless configuration information through an information acquisition module; according to the wireless configuration information, establishing wireless communication connection with the communication conversion device through the wireless communication module; transmitting first USB device type information of the electronic device to the communication conversion device through the wireless communication module, or receiving second USB device type information of the second electronic device from the communication conversion device through the wireless communication module; the communication conversion device is used for communicating with the second electronic equipment through a USB interface according to the transmission requirement of the USB equipment type; the wireless data communication is carried out with the communication conversion device through the wireless communication module, and USB data communication is carried out with the second electronic device through the communication conversion device according to the transmission requirement of the USB device type indicated by the first USB device type information; or according to the transmission requirement of the USB device type indicated by the second USB device type information, carrying out USB data communication with the second electronic device through the communication conversion device.
In a possible implementation manner of the third aspect, the information obtaining module is at least one of the following modules: wireless charging coil, near field communication module, bluetooth module, camera.
In a fourth aspect, the present application provides a communication conversion method applied to the electronic device as in the third aspect and any implementation manner thereof, where the communication conversion method includes: acquiring wireless configuration information through an information acquisition module in the electronic equipment; according to the wireless configuration information, establishing wireless communication connection with a communication conversion device through a wireless communication module in the electronic equipment; transmitting first USB device type information of the electronic device to the communication conversion device through the wireless communication module, or receiving second USB device type information of the second electronic device from the communication conversion device through the wireless communication module; the first USB device type information or the second USB device type information is used for indicating the USB device type; the wireless data communication is carried out with the communication conversion device through the wireless communication module, and USB data communication is carried out with the second electronic device through the communication conversion device according to the transmission requirement of the USB device type indicated by the first USB device type information; or according to the transmission requirement of the USB device type indicated by the second USB device type information, carrying out USB data communication with the second electronic device through the communication conversion device.
In a fifth aspect, the present application provides a communication conversion system, including a second electronic device, an electronic device as in the third aspect and any implementation thereof, and a communication conversion apparatus as in the first aspect and any implementation thereof; the electronic device communicates data with the second electronic device through the communication conversion device.
In a sixth aspect, the present application provides a computer readable storage medium comprising instructions which, when executed on a communication conversion apparatus, cause the communication conversion apparatus to perform the method of the second aspect and any implementation thereof; the instructions, when executed on an electronic device, cause the electronic device to perform the method as described in the fourth aspect.
In a seventh aspect, the present application provides a computer program product comprising instructions which, when run on an electronic device as described above, cause the electronic device to perform the method of the second aspect and any implementation thereof.
In an eighth aspect, a chip system is provided, the chip system comprising a processor for supporting an electronic device to implement the functionality referred to in the second aspect above. In one possible design, the device may further include interface circuitry that may be used to receive signals from other devices (e.g., memory) or to send signals to other devices (e.g., communication interfaces). The system-on-chip may include a chip, and may also include other discrete devices.
The technical effects of the second to eighth aspects are referred to the technical effects of the first aspect and any of its embodiments and are not repeated here.
Drawings
Fig. 1 is a schematic structural diagram of a communication conversion system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a first electronic device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a communication conversion device according to an embodiment of the present application;
FIG. 4 is a second schematic diagram of a communication conversion system according to an embodiment of the present disclosure;
FIG. 5 is a third schematic diagram of a communication conversion system according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a communication conversion system according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a communication conversion system according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a communication conversion system according to an embodiment of the present application;
fig. 9 is a schematic flow chart of a communication conversion method according to an embodiment of the present application;
FIG. 10 is a second flow chart of a communication conversion method according to the embodiment of the present application;
fig. 11 is a schematic user interface diagram of a first electronic device according to an embodiment of the present application;
FIG. 12 is a schematic diagram of a communication switching system according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of a communication conversion system according to an embodiment of the present application;
fig. 14 is a ninth schematic structural diagram of a communication conversion system according to the embodiment of the present application;
FIG. 15 is a third flow chart of a communication conversion method according to the embodiment of the present application;
FIG. 16 is a fourth schematic flow chart of a communication conversion method according to the embodiment of the present application;
fig. 17 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed Description
Some concepts related to the present application will be described first.
The terms "first," "second," and the like in the embodiments of the present application are used for the purpose of distinguishing between similar features and not necessarily for the purpose of indicating a relative importance, quantity, order, or the like.
The terms "exemplary" or "such as" and the like, as used in connection with embodiments of the present application, are intended to be exemplary, or descriptive. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
The terms "coupled" and "connected" in connection with embodiments of the present application are to be construed broadly, and may refer, for example, to a physical direct connection, or to an indirect connection via electronic devices, such as, for example, a connection via electrical resistance, inductance, capacitance, or other electronic devices.
At present, the electronic equipment is generally provided with a USB interface, the USB interface can be used as a data transmission interface, the USB interfaces of the two electronic equipment are connected through a USB cable, and wired data transmission between the two electronic equipment can be realized. However, setting the USB interface may affect the waterproof performance, the dustproof performance and the plugging life of the electronic device, and may also occupy the motherboard space, which is not beneficial to the ultrathin electronic device, so canceling the USB interface is a trend of developing the current electronic device.
If the USB interface is canceled, the data transmission function of the electronic equipment is required to be realized in a wireless data communication mode. In the prior art, when two electronic devices perform wireless data communication, the two electronic devices are required to be installed with an adaptive application program or driver in advance and then connected manually by a user.
To this end, as shown in fig. 1, the embodiment of the present application provides a communication conversion system including a first electronic device 20, a second electronic device 30, and a communication conversion apparatus 10. The first electronic device 20 is an electronic device that cancels the USB interface. The second electronic device 30 is a device that performs data transmission with the first electronic device 20. The communication conversion apparatus 10 is configured to establish a wireless communication connection with the first electronic device 20 and a USB communication connection with the second electronic device 30.
The first electronic device 20 may act as a slave to USB communication and the second electronic device 30 as a master to USB communication. For example, the first electronic device 20 is a mobile phone, a tablet, a smart watch, etc., and the second electronic device 30 is a personal computer (PC device), a notebook computer, etc. Alternatively, the first electronic device 20 may be a master device for USB communication, and the second electronic device 30 may be a slave device (or OTG device) for USB communication. For example, the first electronic device 20 is a mobile phone, a tablet, a smart watch, etc., and the second electronic device 30 is a USB disk, a USB mouse, a USB keyboard, a U shield, etc.
When the first electronic device 20 is used as a slave device of USB communication and the second electronic device 30 is used as a master device of USB communication, the communication conversion device 10 notifies the second electronic device 30 to perform enumeration, and during the enumeration process, the communication conversion device 10 is responsible for communication between the first electronic device 20 and the second electronic device 30. For example, the communication conversion apparatus 10 acquires USB device type information of the first electronic device 20 from the first electronic device 20 through a wireless communication connection, and transmits to the second electronic device 30 through a USB communication connection. At this time, the communication conversion apparatus 10 is mapped to the USB device indicated by the USB device type information, and is responsible for data communication between the first electronic device 20 and the second electronic device 30.
When the first electronic device 20 is used as a master device for USB communication and the second electronic device 30 is used as a slave device for USB communication, the communication conversion device 10 notifies the first electronic device 20 to perform enumeration, and during the enumeration process, the communication conversion device 10 is responsible for communication between the first electronic device 20 and the second electronic device 30. For example, the communication conversion apparatus 10 acquires USB device type information of the second electronic device 30 from the second electronic device 30 through a USB communication connection, and transmits to the first electronic device 20 through a wireless communication connection. At this time, the communication conversion apparatus 10 is mapped to the USB device indicated by the USB device type information, and is responsible for data communication between the first electronic device 20 and the second electronic device 30.
The enumeration process of the USB communication means that, after the slave device of the USB communication is connected to the master device, the master device communicates with the slave device through the enumeration process to obtain USB device type information of the slave device, thereby knowing what type of USB device the slave device is, and loading a corresponding driver. The entire process from the connection of the slave device to the master device to the end of enumeration includes the following state changes: connection state, power supply state, default state, address state, configuration state, and suspend state. During the enumeration process, the master and slave negotiate to determine functionally relevant configuration items, all of which are provided in the form of descriptors, including device descriptors, configuration descriptors, string descriptors, interface descriptors, endpoint descriptors, device definition descriptors. When the relevant function parameters are configured, the master device and the slave device can realize relevant functions according to specific USB device types.
The USB device types specified by the USB bus specification are shown in table 1:
TABLE 1
Taking the first electronic device 20 as an example of a mobile phone, fig. 2 shows one possible structure of the first electronic device 20. The first electronic device 20 may include a processor 210, an external memory interface 220, an internal memory 230, a power management module 240, a battery 241, a wireless charging coil 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a camera 293, a display 294, a subscriber identity module (subscriber identification module, SIM) card interface 295, and the like.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the first electronic device 20. In other embodiments of the present application, the first electronic device 20 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units such as, for example: processor 210 may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (application specific integrated circuit, ASIC), a system on chip (SoC), an application processor (application processor, AP), a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), or the like. Wherein the different processing units may be separate devices or may be integrated in one or more processors. A memory may also be provided in the processor 210 for storing computer instructions and data.
The external memory interface 220 may be used to connect an external memory card, such as a Micro SanDisk (Micro SD) card, to enable expansion of the memory capabilities of the first electronic device 20. The external memory card communicates with the processor 210 through an external memory interface 220 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
Internal memory 230 may be used to store computer-executable program code that includes computer instructions. The processor 210 executes various functional applications of the first electronic device 20 and data processing by executing computer instructions stored in the internal memory 230.
The wireless communication function of the first electronic device 20 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the first electronic device 20 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas.
The mobile communication module 250 may provide a solution for wireless communication including 2G/3G/4G/5G or the like for use on the first electronic device 20. The wireless communication module 260 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), etc., as applied on the first electronic device 20.
The first electronic device 20 may implement audio functions through an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, an application processor, and the like. The audio module 270 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. Speaker 270A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. A receiver 270B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. Microphone 270C, also referred to as a "microphone" or "microphone," is used to convert sound signals into electrical signals. The first electronic device 20 may be provided with at least one microphone 270C. The earphone interface 270D is for connecting a wired earphone.
The sensor module 280 may include a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, an angle sensor, and the like.
Keys 290 include a power on key, a volume key, etc. The keys 290 may be mechanical keys or touch keys. The motor 291 may generate a vibration alert. The motor 291 may be used for incoming call vibration alerting or for touch vibration feedback. The indicator 292 may be an indicator light, which may be used to indicate a state of charge, a change in power, or an indication message, missed call, notification, etc. The SIM card interface 295 is for interfacing with a SIM card. The SIM card may be inserted into the SIM card interface 295 or removed from the SIM card interface 295 to enable contact and separation from the first electronic device 20.
The first electronic device 20 may implement a photographing function through an ISP, a camera 293, a video codec, a GPU, a display 294, an application processor, and the like. The ISP is used to process the data fed back by the camera 293. The first electronic device 20 may implement display functions through a GPU, a display screen 294, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor. The display 294 is used to display images, videos, and the like. The display 294 includes a display panel.
The power management module 240 is configured to receive a wireless charging input from a wireless charging coil 242 of the first electronic device 20. The power management module 240 may also power the first electronic device 20 while charging the battery 241. The power management module 240 receives input from the battery 241 and provides power to the processor 210, the internal memory 230, the external memory interface 220, the display 294, the camera 293, the wireless communication module 260, and the like. The power management module 240 may also be configured to monitor parameters such as capacity, voltage, number of battery cycles, battery state of health (leakage, impedance) of the battery 241. In other embodiments, the power management module 240 may also be disposed in the processor 210.
Fig. 3 shows a schematic structural diagram of a communication conversion device 10 according to an embodiment of the present application. The communication conversion device 10 includes: a first wireless communication module 101, a first USB interface 103, and a first processor 104. Optionally, the communication conversion device 10 includes a second wireless communication module 102.
The first wireless communication module 101 is configured to establish a wireless communication connection (e.g., a Wi-Fi connection) with a first electronic device (e.g., the first electronic device 20 in fig. 1), and is configured to implement a function of transmitting a large amount of data.
The second wireless communication module 102 is configured to transmit a small amount of data such as wireless configuration information, where the wireless configuration information is used for authentication between the first electronic device and the communication conversion device 10, and after authentication is completed between the first electronic device and the communication conversion device 10, the first electronic device establishes a wireless communication connection with the first wireless communication module 101.
Specifically, the wireless configuration information includes Wi-Fi service set identification (service set identifier, SSID), wi-Fi password, media access control (media access control, MAC) address, and the like. Wherein, SSID is the name of the first wireless communication module 101, and when the first electronic device recognizes the SSID of the first wireless communication module 101, the first electronic device establishes a wireless communication connection with the first wireless communication module 101. The Wi-Fi password is authentication information required when the first electronic device connects to the first wireless communication module 101, and is used to verify the identity of the first electronic device to secure data transmission. The MAC address, also referred to as a physical address, is used to identify the communication conversion device 10 to ensure that the data can be accurately sent to the target device.
The first USB interface 103 is used to connect a second electronic device (for example, the second electronic device 30 in fig. 1), and may enable the second electronic device to supply power to the communication conversion apparatus 10, or enable the first electronic device or other power source to supply power to the second electronic device through the communication conversion apparatus 10; and, the first USB interface 103 is further configured to implement a data transmission function.
The first processor 104 is configured to implement a conversion between wireless data communication and USB data communication. When the first electronic device is a slave device for USB communication and the second electronic device is a master device for USB communication, the first processor 104 receives data from the first electronic device over the wireless communication connection and sends the data to the second electronic device over the USB communication connection. When the first electronic device is a master device for USB communication and the second electronic device is a slave device for USB communication, the first processor 104 receives data from the second electronic device via the USB communication connection and sends the data to the first electronic device via the wireless communication connection.
It should be understood that the configuration illustrated in the embodiment of the present application does not constitute a specific limitation on the communication conversion apparatus 10. In other embodiments of the present application, communication conversion device 10 may include more or fewer components than shown, or certain components may be combined, certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
As shown in fig. 4 and 5, taking the first electronic device 20 as a slave device (e.g., a mobile phone) for USB communication and the second electronic device 30 as a master device (e.g., a PC device) for USB communication as an example, the communication conversion apparatus 10 may be a wireless charging apparatus. The communication conversion device 10 includes a charging cradle a and a USB cable B. The wireless charging coil in charging dock a may be used to transmit wireless charging parameters according to a wireless charging protocol, as well as to transmit wireless configuration information as the second wireless communication module 102 to the first electronic device 20.
As shown in fig. 4, in one possible embodiment, the USB cable B may be a dedicated cable, in this embodiment, the communication conversion apparatus 10 further includes a USB connector C, and the first wireless communication module 101, the first USB interface 103, and the first processor 104 may be integrated on the USB connector C. At this time, the first USB interface 103 in the USB connector C is used to connect the second USB interface 301 in the second electronic device 30.
In another possible embodiment, as shown in fig. 5, the USB cable B may be a universal cable, and the first wireless communication module 101, the first USB interface 103, and the first processor 104 may be integrated on the charging base a. At this time, the first USB interface 103 is connected to the second USB interface 301 in the second electronic device 30 via the universal USB cable B.
As shown in fig. 4 and 5, the first electronic device 20 includes a battery 201, a charge and discharge module 202, a third wireless communication module 203, a second processor 204, and a wireless charging coil 205 (the wireless charging coil 205 may acquire wireless configuration information as an information acquisition module). Wherein the second processor 204 controls the charge-discharge module 202 to charge the battery 201 with the electric energy from the wireless charging coil 205; in addition, the second processor 204 controls the charge-discharge module 202 to receive wireless configuration information from the second wireless communication module 102 through the wireless charging coil 205. When the first electronic device 20 and the communication conversion apparatus 10 complete the authentication, the second processor 204 controls the third wireless communication module 203 to establish a wireless communication connection with the first wireless communication module 101 in the communication conversion apparatus 10.
As shown in fig. 6 to 8, taking the example that the first electronic device 20 is a slave device (e.g., a mobile phone) for USB communication and the second electronic device 30 is a master device (e.g., a PC device) for USB communication, the communication conversion apparatus 10 may not be a wireless charging apparatus. At this time, the first electronic device 20 may also acquire the wireless configuration information of the communication conversion apparatus 10 by other wireless means.
As shown in fig. 6, in one possible implementation, the first electronic device 20 further includes an NFC module 206 (the NFC module 206 may obtain wireless configuration information as an information obtaining module), and the second wireless communication module 102 may also be a near field communication (near field communication, NFC) module. The NFC module 206 in the first electronic device 20 obtains wireless configuration information by communicating with the second wireless communication module 102.
As shown in fig. 7, in a possible embodiment, the first electronic device 20 further includes a bluetooth module 207 (the bluetooth module 207 may be used as an information acquisition module to acquire wireless configuration information), and the second wireless communication module 102 may be a bluetooth module. The bluetooth module 207 in the first electronic device 20 acquires wireless configuration information by communicating with the second wireless communication module 102.
As shown in fig. 8, in a possible embodiment, the first electronic device 20 further includes a camera 208 (the camera 208 may be used as an information acquisition module to acquire wireless configuration information), and the two-dimensional code 105 is disposed on the communication conversion apparatus 10. The first electronic device 20 scans the two-dimensional code 105 on the communication conversion apparatus 10 through the camera 208 to acquire wireless configuration information.
Taking the example that the first electronic device 20 shown in fig. 4-8 is a slave device (e.g. a mobile phone) for USB communication and the second electronic device 30 is a master device (e.g. a PC device) for USB communication, the above-mentioned wireless communication system may execute a communication conversion method as shown in fig. 9, and the method specifically includes steps S101-S105:
in step S101, after the communication conversion device 10 is powered on, the first processor 104 recognizes that the power is supplied from the first USB interface 103.
When the first USB interface 103 of the communication conversion apparatus 10 is connected to the second USB interface 301 of the second electronic device 30, the second electronic device 30 may supply power to the communication conversion apparatus 10 through the second USB interface 301 and the first USB interface 103, so that the communication conversion apparatus 10 is powered on, and at this time, the first processor 104 in the communication conversion apparatus 10 may recognize that the power supply is from the first USB interface 103.
Step S102, the first electronic device 20 obtains wireless configuration information.
The wireless configuration information may be preconfigured on the first electronic device 20, or the first electronic device 20 acquires the wireless configuration information from the communication conversion apparatus 10 by wireless.
Further, in the case where the first electronic device 20 acquires the wireless configuration information from the communication conversion apparatus 10 by wireless, the first electronic device 20 may actively acquire the wireless configuration information from the communication conversion apparatus 10 by wireless, or the communication conversion apparatus 10 may actively transmit the wireless configuration information to the first electronic device 20 by wireless.
For the first electronic device 20 to actively acquire wireless configuration information from the communication conversion apparatus 10 by wireless: the first electronic device 20 may acquire the wireless configuration information from the communication conversion apparatus 10 in such a manner that the NFC tag of the near field communication module in the communication conversion apparatus 10 is identified by the near field communication module 206 as shown in fig. 6. Alternatively, the first electronic device 20 may acquire the wireless configuration information from the communication conversion apparatus 10 in such a manner that the two-dimensional code 105 is scanned by the camera 208 as shown in fig. 8.
For the communication conversion apparatus 10 to actively transmit wireless configuration information to the first electronic device 20 by wireless: the communication conversion device 10 may be provided with a key, and when the user presses the key, the communication conversion device 10 is triggered to transmit wireless configuration information to the first electronic device 20 through the wireless charging coil shown in fig. 4 or fig. 5, or through the bluetooth module shown in fig. 7. Alternatively, the communication switching device 10 transmits the wireless configuration information to the first electronic device 20 through the wireless charging coil shown in fig. 4 or 5 or through the bluetooth module shown in fig. 7 by continuously broadcasting.
As shown in fig. 10, the communication conversion apparatus 10 transmits wireless configuration information to the first electronic device 20 through the wireless charging coil shown in fig. 4 or fig. 5, specifically including steps S1021 to S1024:
S1021, the wireless charging coil in the charging base a broadcasts a PING token packet to determine that the communication conversion apparatus 10 establishes a wireless communication connection with the first electronic device 20 through the wireless charging coil.
S1022, the first electronic device 20 detects the wireless charging coil, and establishes a wireless connection with the communication conversion device 10 through the wireless charging coil.
If the first electronic device 20 is proximate to the charging dock a such that the wireless charging coil 205 of the first electronic device 20 is electromagnetically coupled to the wireless charging coil of the charging dock a, the first electronic device 20 may detect the wireless charging coil and receive the PING token packet through the wireless charging coil 205.
If the first electronic device 20 is ready to receive subsequent messages, an Acknowledgement (ACK) message is fed back through the wireless charging coil 205, otherwise a non-acknowledgement (NAK) message or a deferral (STALL) message is fed back through the wireless charging coil 205.
If the communication conversion apparatus 10 receives the ACK message, it may be determined that the communication conversion apparatus 10 establishes a wireless communication connection with the first electronic device 20 through the wireless charging coil, and S1023 is performed. If the communication conversion device 10 receives a NAK message or a start message, a wireless charging procedure is performed.
S1023, performing BC1.2 detection on the first USB interface 103 to determine that the communication conversion device 10 establishes USB communication connection with the second electronic device 30 through the first USB interface 103.
S1024, the communication conversion apparatus 10 transmits the wireless configuration information to the first electronic device 20 through the wireless charging coil.
The communication conversion device 10 may use a custom wireless communication protocol to send wireless configuration information to the first electronic device through the wireless charging coil.
In step S103, the communication conversion apparatus 10 establishes a wireless communication connection with the first electronic device 20 through the first wireless communication module 101.
When the communication conversion apparatus 10 completes authentication with the first electronic device 20 through the wireless configuration information (including information such as SSID, wi-Fi password, and MAC address), the first processor 104 controls the first wireless communication module 101 to establish a wireless communication connection with the first electronic device 20.
Illustratively, when the first wireless communication module 101 is a Wi-Fi module, authentication may be performed by a Wi-Fi password. When the first electronic device 20 inputs the correct Wi-Fi password, the first wireless communication module 101 may establish a Wi-Fi communication connection with the third wireless communication module 203 in the first electronic device 20, for transmitting a large amount of wireless communication data including files, pictures, audio, and the like.
In step S104, the communication conversion apparatus 10 obtains the first USB device type information of the first electronic device 20 through the first wireless communication module 101, and sends the first USB device type information to the second electronic device 30 through the first USB interface 103.
As shown in S1041 of fig. 10, the communication conversion apparatus 10 notifies the second electronic device 30 to perform enumeration. In the enumeration process, the communication conversion apparatus 10 acquires USB device type information of the first electronic device 20 from the first electronic device 20 through the wireless communication connection of the first wireless communication module 101, and sends the USB device type information to the second electronic device 30 through the first USB interface 103. Wherein the first USB device type information indicates the device types supported by the first electronic device 20, with specific reference to the table 1.
For example, when the first electronic device 20 and the second electronic device 30 perform data transmission, the device type supported by the first electronic device 20 may be a storage device (mass storage device), where the storage device mainly includes an optical drive, a usb disk, a U-shield, a removable hard disk, and so on. When the second electronic device 30 is surfing the internet through the first electronic device 20, the device type supported by the first electronic device 20 may be a communication device (communications device) mainly including a modem (modem).
In step S105, the communication conversion apparatus 10 and the second electronic device 30 perform USB data communication in accordance with the transmission requirement of the USB device type indicated by the first USB device type information, and the communication conversion apparatus 10 performs wireless data communication with the first electronic device 20 through the wireless communication connection of the first wireless communication module 101.
The communication conversion device 10 is configured to convert wireless data communication and USB data communication, and forward data to establish a data communication link between the first electronic device 20 and the second electronic device 30, so as to realize data communication between the first electronic device 20 and the second electronic device 30.
Regardless of the USB device type indicated by the first USB device type information, the first electronic device 20 and the second electronic device 30 may perform control transmission, so that the second electronic device 30 obtains information and status of the first electronic device 20. Through the data interaction, the second electronic device 30 can learn various device information such as how many data interfaces the first electronic device 20 has and how many available endpoints.
When the USB device type indicated by the first USB device type information is a storage device such as a USB disk, the first electronic device 20 and the second electronic device 30 may perform batch transmission. The batch transmission is unidirectional transmission and is mainly used for transmitting a large amount of data, the transmission mode has no requirement on data transmission time, but the accuracy of the data must be ensured, when the USB bus is busy, the transmission rate is slower, and when the USB bus is idle, the transmission rate is faster.
When the USB device type indicated by the first USB device type information is a language device such as a microphone, a sound box, or an image device such as a scanner, a digital camera, or a monitor device such as a display, the first electronic device 20 and the second electronic device 30 may also perform isochronous transmission. The speed of isochronous transmission is constant, and a large amount of data can be transmitted, but the success of each transmission can not be ensured because of no error control, and the method is suitable for the data transmission of audio and video.
As shown in fig. 11, when the communication conversion apparatus 10 is a wireless charging apparatus, a user may implement a USB communication function with a second electronic device using the wireless charging apparatus by selecting a function option of a transmission file in a USB connection manner at a user interface of the first electronic device 20.
As shown in fig. 12 and 13, taking the first electronic device 20 as a master device (e.g., a mobile phone) for USB communication and the second electronic device 30 as a slave device (e.g., an OTG device) for USB communication as an example, the communication conversion apparatus 10 may be a wireless charging apparatus. Wherein, as shown in fig. 12, in one possible implementation, the USB cable B may be a dedicated cable, and in this implementation, the first wireless communication module 101, the first USB interface 103, and the first processor 104 may be integrated on the USB connector C. In another possible embodiment, as shown in fig. 13, the first wireless communication module 101, the first USB interface 103, and the first processor 104 may be integrated on the charging dock a.
As shown in fig. 14, taking the first electronic device 20 as a master device (e.g., a mobile phone) for USB communication and the second electronic device 30 as a slave device (e.g., an OTG device) for USB communication as an example, the communication conversion apparatus 10 may not be a wireless charging apparatus.
Taking the example that the first electronic device 20 shown in fig. 12-14 is a master device (e.g. a mobile phone) for USB communication and the second electronic device 30 is a slave device (e.g. an OTG device) for USB communication, the above-mentioned wireless communication system may execute a communication conversion method shown in fig. 15, and the method specifically includes steps S201-S205:
in step S201, after the communication conversion device 10 is powered on, the first processor 104 recognizes that the power supply is not from the first USB interface 103.
Since the OTG device requires the external device to supply power thereto, in one possible embodiment, as shown in fig. 12 and 13, when the communication conversion apparatus 10 is a wireless charging apparatus, and the first electronic device 20 and the wireless charging apparatus support wireless reverse charging (the first electronic device 20 charges the wireless charging apparatus), the user sets the first electronic device 20 to a wireless reverse charging mode as shown in S2011 of fig. 16. At this time, the first electronic device 20 may supply power to the communication conversion apparatus 10 through the wireless charging coil, so that the communication conversion apparatus 10 is powered on, and at this time, the first processor 104 in the communication conversion apparatus 10 may recognize that the power supply is from the wireless charging coil.
In another possible embodiment, as shown in fig. 14, when the communication conversion device 10 is not a wireless charging device, or the first electronic apparatus 20 and the wireless charging device do not support wireless reverse charging, other power sources may also be used to supply power to the communication conversion device 10.
Step S202, the first electronic device 20 obtains wireless configuration information.
The first electronic device 20 may actively acquire the wireless configuration information from the communication conversion apparatus 10 in a wireless manner, for example, as shown in fig. 14, the first electronic device 20 may acquire the wireless configuration information from the communication conversion apparatus 10 by identifying an NFC tag of the near field communication module in the communication conversion apparatus 10 using the near field communication module 206 as an information acquisition module.
The communication conversion apparatus 10 may actively transmit the wireless configuration information to the first electronic device 20 in a wireless manner, for example, as shown in fig. 16, the communication conversion apparatus 10 transmits the wireless configuration information to the first electronic device 20 through the wireless charging coil shown in fig. 12 and 13, specifically including steps S2021-S2022:
s2021, the communication conversion apparatus 10 detects whether an OTG device is connected.
When the OTG device is connected to the communication conversion apparatus 10 through the second USB interface 301 and the first USB interface 103, the first processor 104 in the communication conversion apparatus 10 may detect that the OTG device is connected, and perform S2022. Otherwise, the communication conversion apparatus 10 supplies power to the outside using the power supplied from the first electronic device 20.
S2022, the communication conversion apparatus 10 transmits the wireless configuration information to the first electronic device 20 through the wireless charging coil.
In step S203, the communication conversion apparatus 10 establishes a wireless communication connection with the first electronic device 20 through the first wireless communication module 101.
In step S204, the communication conversion apparatus 10 obtains the second USB device type information of the second electronic device 30 through the first USB interface 103, and sends the second USB device type information to the first electronic device 30 through the first wireless communication module 101.
As shown in S2041 of fig. 16, the communication conversion apparatus 10 notifies the first electronic device 20 to perform enumeration. In the enumeration process, the communication conversion apparatus 10 acquires USB device type information of the second electronic device 30 from the second electronic device 30 through the USB communication connection of the first USB interface 103, and sends the USB device type information to the first electronic device 20 through the first wireless communication module 101. The second USB device type information indicates a device type supported by the second electronic device 30, where the device type supported by the second electronic device 30 may be a storage device such as a USB disk, a U shield, a mobile hard disk, or may be a man-machine interaction device such as a USB mouse, a USB keyboard, or the like.
In step S205, the communication conversion apparatus 10 and the second electronic device 30 perform USB data communication according to the transmission requirement of the USB device type indicated by the second USB device type information, and the communication conversion apparatus 10 performs wireless data communication with the first electronic device 20 through the wireless communication connection of the first wireless communication module 101.
Regardless of the USB device type indicated by the second USB device type information, the first electronic device 20 and the second electronic device 30 need to perform control transmission, so that the first electronic device 20 obtains information and status of the second electronic device 30.
When the USB device type indicated by the second USB device type information is a storage device such as a USB disk, the first electronic device 20 and the second electronic device 30 may perform batch transmission.
When the USB device type indicated by the second USB device type information is a man-machine interaction device such as a USB keyboard, a USB mouse, etc., the first electronic device 20 and the second electronic device 30 may perform interrupt transmission. The interrupt transmission has a small amount of transmit-receive data, typically a periodic transmission.
The communication conversion device provided by the embodiment of the invention can perform wireless data communication with the first electronic equipment, and forwards the first USB equipment type information of the first electronic equipment to the second electronic equipment, so that the communication conversion device and the second electronic equipment perform USB data communication according to the transmission requirement of the USB equipment type indicated by the first USB equipment type information, and the conversion of the wireless data communication and the USB data communication is realized; or the communication conversion device and the second electronic equipment perform USB data communication according to the transmission requirement of the USB equipment type indicated by the second USB equipment type information, and the second USB equipment type information of the second electronic equipment is forwarded to the first electronic equipment so as to realize conversion of wireless data communication and USB data communication.
Based on the communication conversion device provided in the embodiment of the present application, by executing the communication conversion method provided in the embodiment of the present application, a function of performing data communication with the second electronic device under the condition that the first electronic device cancels the USB interface can be implemented. In the embodiment of the application, the communication conversion device automatically maps to the corresponding USB device according to the USB device type indicated by the first USB device type information or the second USB device type information, and a user does not need to additionally install drive and application software when using the communication conversion device for data transmission, so that user experience is improved.
As shown in fig. 17, the embodiment of the application further provides a chip system. The system on chip 170 includes at least one processor 1701 and at least one interface circuit 1702. The at least one processor 1701 and the at least one interface circuit 1702 may be interconnected by wires. The processor 1701 is configured to support a communication conversion device or a first electronic apparatus to implement the steps of the above-described method embodiments, e.g., the method shown in fig. 9, 10, 15, 16, and at least one interface circuit 1702 may be configured to receive signals from other devices (e.g., memory) or to send signals to other devices (e.g., a communication interface). The system-on-chip may include a chip, and may also include other discrete devices.
The embodiments also provide a computer readable storage medium including instructions that, when executed on the communication conversion apparatus or the first electronic device, cause the communication conversion apparatus or the first electronic device to perform the steps in the method embodiments described above, for example, performing the methods shown in fig. 9, 10, 15, and 16.
The embodiments also provide a computer program product comprising instructions which, when run on the above-mentioned communication conversion device or first electronic device, cause the communication conversion device or first electronic device to perform the steps of the above-mentioned method embodiments, for example, performing the methods shown in fig. 9, 10, 15, 16.
Technical effects concerning the computer-readable storage medium, the computer program product refer to technical effects of the previous method embodiments.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system, apparatus and module may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another device, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other form.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physically separate, i.e., may be located in one device, or may be distributed over multiple devices. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated in one device, or each module may exist alone physically, or two or more modules may be integrated in one device.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers, data centers, etc. that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A communication conversion device, characterized in that the communication conversion device comprises: the device comprises a first wireless communication module, a Universal Serial Bus (USB) interface and a processor; the first wireless communication module is used for carrying out wireless data communication with first electronic equipment, and the first electronic equipment is not provided with a USB interface; the processor is configured to:
when the USB interface is connected to second electronic equipment, wireless communication connection is established between the USB interface and the first electronic equipment through the first wireless communication module;
acquiring first USB device type information of the first electronic device through the first wireless communication module, and sending the first USB device type information to the second electronic device through the USB interface; or, acquiring second USB device type information of the second electronic device through the USB interface, and sending the second USB device type information to the first electronic device through the first wireless communication module;
Carrying out wireless data communication with the first electronic equipment through the first wireless communication module, and carrying out USB data communication with the second electronic equipment according to the transmission requirement of the USB equipment type indicated by the first USB equipment type information; or according to the transmission requirement of the USB equipment type indicated by the second USB equipment type information, carrying out USB data communication with the second electronic equipment, and carrying out wireless data communication with the first electronic equipment through the first wireless communication module.
2. The apparatus of claim 1, further comprising a second wireless communication module, the processor further configured to:
before the wireless communication connection is established between the first wireless communication module and the first electronic device, wireless configuration information is sent to the first electronic device through the second wireless communication module, and the wireless configuration information is used for establishing the wireless communication connection between the first wireless communication module and the first electronic device.
3. The device according to claim 2, wherein the second wireless communication module is in particular a wireless charging coil.
4. A device according to claim 3, wherein the communication conversion device comprises a charging base and a USB cable, the wireless charging coil being located on the charging base.
5. The apparatus of claim 4, wherein the charging dock comprises the first wireless communication module, the USB interface, and the processor.
6. The apparatus of claim 4, wherein the communication conversion apparatus further comprises a USB connector comprising the first wireless communication module, the USB interface, and the processor.
7. The apparatus of claim 1, wherein the processor is specifically configured to:
when the power supply is identified to come from the USB interface, the first wireless communication module is used for acquiring first USB equipment type information of the first electronic equipment, and the first USB equipment type information is sent to the second electronic equipment through the USB interface.
8. The apparatus of claim 1, wherein the processor is specifically configured to:
and when the power supply is identified not to come from the USB interface, acquiring second USB equipment type information of the second electronic equipment through the USB interface, and sending the second USB equipment type information to the first electronic equipment through the first wireless communication module.
9. A communication conversion method, characterized by being applied to the communication conversion apparatus according to any one of claims 1 to 8; the communication conversion method comprises the following steps:
When the communication conversion device is connected to the second electronic equipment through the USB interface, establishing wireless communication connection with the first electronic equipment through the first wireless communication module in the communication conversion device; the first wireless communication module is used for carrying out wireless data communication with the first electronic equipment; the first electronic device does not have a USB interface;
acquiring first USB device type information of the first electronic device through the first wireless communication module, and sending the first USB device type information to the second electronic device through the USB interface; or, acquiring second USB device type information of the second electronic device through the USB interface, and sending the second USB device type information to the first electronic device through the first wireless communication module;
carrying out wireless data communication with the first electronic equipment through the first wireless communication module, and carrying out USB data communication with the second electronic equipment according to the transmission requirement of the USB equipment type indicated by the first USB equipment type information; or according to the transmission requirement of the USB equipment type indicated by the second USB equipment type information, carrying out USB data communication with the second electronic equipment, and carrying out wireless data communication with the first electronic equipment through the first wireless communication module.
10. The method as recited in claim 9, further comprising:
before the wireless communication connection is established between the first wireless communication module and the first electronic device, wireless configuration information is sent to the first electronic device through a second wireless communication module in the communication conversion device, and the wireless configuration information is used for establishing the wireless communication connection between the first wireless communication module and the first electronic device.
11. The method according to claim 9, wherein the obtaining, by the first wireless communication module, the first USB device type information of the first electronic device, and sending, by the USB interface, the first USB device type information to the second electronic device, specifically includes:
when the power supply is identified to come from the USB interface, the first wireless communication module is used for acquiring first USB equipment type information of the first electronic equipment, and the first USB equipment type information is sent to the second electronic equipment through the USB interface.
12. The method of claim 9, wherein the obtaining, through the USB interface, the second USB device type information of the second electronic device, and sending, through the first wireless communication module, the second USB device type information to the first electronic device, specifically includes:
And when the power supply is identified not to come from the USB interface, acquiring second USB equipment type information of the second electronic equipment through the USB interface, and sending the second USB equipment type information to the first electronic equipment through the first wireless communication module.
13. An electronic device, wherein the electronic device does not have a USB interface, the electronic device comprising a processor, a wireless communication module, and an information acquisition module, the processor configured to:
acquiring wireless configuration information through the information acquisition module;
according to the wireless configuration information, establishing wireless communication connection with a communication conversion device through the wireless communication module;
transmitting first USB device type information of the electronic device to the communication conversion device through the wireless communication module, or receiving second USB device type information of a second electronic device from the communication conversion device through the wireless communication module; the first USB device type information or the second USB device type information is used for indicating the USB device type, and the communication conversion device is used for communicating with the second electronic device through a USB interface according to the transmission requirement of the USB device type;
The wireless communication module is used for carrying out wireless data communication with the communication conversion device, and carrying out USB data communication with the second electronic device through the communication conversion device according to the transmission requirement of the USB device type indicated by the first USB device type information; or according to the transmission requirement of the USB equipment type indicated by the second USB equipment type information, carrying out USB data communication with the second electronic equipment through a communication conversion device.
14. The electronic device of claim 13, wherein the information acquisition module is at least one of: wireless charging coil, near field communication module, bluetooth module, camera.
15. A communication conversion method, characterized by being applied to the electronic device according to claim 13 or 14; the communication conversion method comprises the following steps:
acquiring wireless configuration information through an information acquisition module in the electronic equipment;
according to the wireless configuration information, establishing wireless communication connection with a communication conversion device through a wireless communication module in the electronic equipment;
transmitting first USB device type information of the electronic device to the communication conversion device through the wireless communication module, or receiving second USB device type information of a second electronic device from the communication conversion device through the wireless communication module; the first USB device type information or the second USB device type information is used for indicating a USB device type;
The wireless communication module is used for carrying out wireless data communication with the communication conversion device, and carrying out USB data communication with the second electronic device through the communication conversion device according to the transmission requirement of the USB device type indicated by the first USB device type information; or according to the transmission requirement of the USB equipment type indicated by the second USB equipment type information, carrying out USB data communication with the second electronic equipment through a communication conversion device.
16. A communication conversion system comprising a second electronic device, an electronic device according to claim 13 or 14, and a communication conversion apparatus according to any one of claims 1 to 8; and the electronic equipment performs data communication with the second electronic equipment through the communication conversion device.
17. A computer readable storage medium comprising instructions which, when executed on a communication conversion device, cause the communication conversion device to perform the method of any of claims 9-12; the instructions, when executed on an electronic device, cause the electronic device to perform the method of claim 15.
CN202311766123.1A 2023-12-21 2023-12-21 Communication conversion device, electronic equipment, system and method Pending CN117440060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311766123.1A CN117440060A (en) 2023-12-21 2023-12-21 Communication conversion device, electronic equipment, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311766123.1A CN117440060A (en) 2023-12-21 2023-12-21 Communication conversion device, electronic equipment, system and method

Publications (1)

Publication Number Publication Date
CN117440060A true CN117440060A (en) 2024-01-23

Family

ID=89546544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311766123.1A Pending CN117440060A (en) 2023-12-21 2023-12-21 Communication conversion device, electronic equipment, system and method

Country Status (1)

Country Link
CN (1) CN117440060A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103383669A (en) * 2012-05-02 2013-11-06 三星电子株式会社 Method for identifying universal serial bus host, and electronic device thereof
CN207458042U (en) * 2017-11-10 2018-06-05 合肥联宝信息技术有限公司 A kind of electronic equipment
WO2020253754A1 (en) * 2019-06-19 2020-12-24 华为技术有限公司 Multi-terminal multimedia data communication method and system
CN114916093A (en) * 2021-02-07 2022-08-16 华为技术有限公司 Communication method, first electronic device and second electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103383669A (en) * 2012-05-02 2013-11-06 三星电子株式会社 Method for identifying universal serial bus host, and electronic device thereof
CN207458042U (en) * 2017-11-10 2018-06-05 合肥联宝信息技术有限公司 A kind of electronic equipment
WO2020253754A1 (en) * 2019-06-19 2020-12-24 华为技术有限公司 Multi-terminal multimedia data communication method and system
CN114916093A (en) * 2021-02-07 2022-08-16 华为技术有限公司 Communication method, first electronic device and second electronic device

Similar Documents

Publication Publication Date Title
CN108695921B (en) Data backup method, wireless charging device, mobile terminal and storage medium
CN113498124B (en) SIM card and eSIM card switching method and electronic equipment
US20100211685A1 (en) Pairing exchange
KR102107132B1 (en) Access point connection method of electronic apparatus and electronic appparatus thereof
KR20200017302A (en) Apparatus and method for communicating by using bluetooth low energy
CN108540193B (en) Front-end module supporting device-to-device communication using multiple frequency bands and electronic device
US20150065053A1 (en) Method of controlling short-range wireless communication and apparatus supporting the same
US10002528B2 (en) IR communication method and electronic device thereof
CN110188542A (en) A kind of terminal device starting method and apparatus
CN114390501B (en) Data transmission method and electronic equipment
AU2014315883A1 (en) Method of controlling short-range wireless communication and apparatus supporting the same
KR102240526B1 (en) Contents download method of electronic apparatus and electronic appparatus thereof
CN113973398A (en) Wireless network connection method, electronic equipment and chip system
CN113853754A (en) In the bluetoothTMElectronic device and method for displaying external electronic device query list in network environment
CN111523633B (en) Data transmission method, multifunctional card and electronic equipment
CN113518331B (en) Communication method and device
CN114125789B (en) Communication method, terminal device and storage medium
EP4287763A2 (en) Electronic device for reducing power consumption in network on basis of wi-fi direct protocol, and method related thereto
CN117335830A (en) Wireless communication circuit, bluetooth communication switching method and electronic equipment
CN216625389U (en) Wireless charging equipment
CN117440060A (en) Communication conversion device, electronic equipment, system and method
CN116031964A (en) Charging control method and terminal equipment
CN111726848B (en) Equipment binding method, target starting device, fixed terminal and storage medium
CN112713627A (en) Voltage control method, voltage control device, storage medium, and electronic apparatus
US8787442B2 (en) Communication system and data transception method thereof

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