WO2020200005A1 - Connector, electronic apparatus, and data transmission method and device - Google Patents

Connector, electronic apparatus, and data transmission method and device Download PDF

Info

Publication number
WO2020200005A1
WO2020200005A1 PCT/CN2020/081073 CN2020081073W WO2020200005A1 WO 2020200005 A1 WO2020200005 A1 WO 2020200005A1 CN 2020081073 W CN2020081073 W CN 2020081073W WO 2020200005 A1 WO2020200005 A1 WO 2020200005A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
connector
contact
permanent magnet
module
Prior art date
Application number
PCT/CN2020/081073
Other languages
French (fr)
Chinese (zh)
Inventor
李占武
廖佑平
刘彦彬
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020200005A1 publication Critical patent/WO2020200005A1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge

Definitions

  • the present disclosure belongs to the technical field of electronic equipment, and particularly relates to a connector, electronic equipment, data transmission method and device.
  • USB Universal Serial Bus
  • Micro-B interface includes two forms: Micro-B interface and Type-C interface.
  • Type-C interface and Micro -B interface has the advantage of being able to support positive and negative insertion.
  • the embodiments of the present disclosure provide a connector, an electronic device, a data transmission method and a device to solve the solution of using a charging interface in the related technology for charging. It is necessary to open a USB interface on the electronic device, and it needs to be accurate every time it is charged. Align the charging socket to the charging socket.
  • an embodiment of the present disclosure provides a connector, the first end of the connector has a first interface, and the second end has a second interface, and the first interface includes:
  • a first wireless communication module is arranged inside the housing
  • the first wireless communication module and the second wireless communication module in the electronic device perform data transmission.
  • embodiments of the present disclosure also provide a data transmission method, which is applied to the above-mentioned connector, and the method includes:
  • the embodiments of the present disclosure also provide a data transmission device, which is applied to the above-mentioned connector, and the device includes:
  • the first judgment module is used to judge whether the connector is connected to an electronic device
  • the first transmission module is configured to perform data transmission between the first wireless communication module and the second wireless communication module in the electronic device when the connector is connected to the electronic device.
  • the embodiments of the present disclosure also provide a connector, including a processor, a memory, and a program stored on the memory and capable of running on the processor.
  • a connector including a processor, a memory, and a program stored on the memory and capable of running on the processor.
  • the embodiments of the present disclosure also provide a computer-readable storage medium with a program stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the data transmission method described above are implemented.
  • the embodiments of the present disclosure also provide an electronic device, including:
  • a second wireless communication module is arranged inside the housing
  • the second wireless communication module 303 when the electronic device is connected to the connector through the contact, the second wireless communication module 303 performs data transmission with the first wireless communication module in the connector.
  • the embodiments of the present disclosure also provide a data transmission method, which is applied to the above-mentioned electronic device, and the method includes:
  • the embodiments of the present disclosure also provide a data transmission device, which is applied to the above-mentioned electronic equipment, and the device includes:
  • the second judgment module is used to judge whether the electronic device is connected to the connector
  • the second transmission module is configured to perform data transmission with the first wireless communication module in the connector through the second wireless communication module when the electronic device is connected to the connector.
  • the embodiments of the present disclosure also provide an electronic device, including a processor, a memory, and a program stored on the memory and capable of running on the processor.
  • the program When the program is executed by the processor, Implement the steps of the data transmission method as described above.
  • the embodiments of the present disclosure also provide a computer-readable storage medium with a program stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the data transmission method described above are implemented.
  • the contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device, so that the electronic device can be charged simply and quickly without any need To accurately align the charging socket, and there is no need to open a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
  • FIG. 1 is one of the schematic diagrams of the connection between the connector and the electronic device according to the embodiment of the disclosure
  • FIG 2 is the second schematic diagram of the connection between the connector and the electronic device according to the embodiment of the disclosure.
  • FIG. 3 is a schematic diagram of a control circuit of a connector according to an embodiment of the disclosure.
  • FIG. 5 is one of the schematic diagrams of modules of the data transmission device according to an embodiment of the disclosure.
  • FIG. 6 is a schematic diagram of a control circuit of an electronic device according to an embodiment of the disclosure.
  • FIG. 7 is a schematic diagram of a charging process according to an embodiment of the disclosure.
  • FIG. 8 is the second schematic diagram of the data transmission method according to an embodiment of the disclosure.
  • FIG. 9 is a second schematic diagram of modules of the data transmission device according to an embodiment of the disclosure.
  • FIG. 10 is a structural block diagram of an electronic device according to an embodiment of the disclosure.
  • the embodiment of the present disclosure provides a connector, which can be specifically a charging cable and/or a data cable.
  • a connector which can be specifically a charging cable and/or a data cable.
  • the first end of the connector 1 has a first interface 11.
  • the second end has a second interface 12, and the first interface 11 includes:
  • a first wireless communication module 203 is provided inside the housing;
  • the first wireless communication module and the second wireless communication module in the electronic device perform data transmission.
  • the data transmission between the first wireless communication module and the second wireless communication module may specifically be the transmission of charging instructions.
  • the above-mentioned contacts may be arranged protruding from the outer surface of the housing, or may be flush with the outer surface of the housing.
  • the contact is specifically a metal contact, and the contact is used for contact connection with the contact on the housing of the electronic device.
  • the above-mentioned casing may be specifically a rectangular casing having an accommodating space.
  • the above-mentioned first interface 11 is connected to an electronic device, and the above-mentioned second interface is connected to a power supply system. Contacts are also provided on the outer surface of the housing of the electronic device connected to the first interface 11 described above.
  • the contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device, so that the electronic device can be charged simply and quickly, without the need to precisely align the charging socket , And there is no need to open a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
  • a first magnetic module and a first magnetic field detection module 202 are further provided inside the housing.
  • the first magnetic module may include at least one permanent magnet, and the housing of the electronic device may also be provided with at least one permanent magnet.
  • the permanent magnet inside the housing through the first interface of the connector and the permanent magnet provided inside the electronic device The magnets are attracted so that the contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device.
  • the above-mentioned permanent magnet may be a bar-shaped permanent magnet or a horseshoe-shaped permanent magnet. It can also be a permanent magnet of other shapes.
  • the aforementioned contacts include: a first contact and a second contact, the first contact is a contact corresponding to a power Vbus signal, and the second contact is a ground The contact corresponding to the GND signal.
  • only two contacts of the first contact and the second contact are required, that is, only the contact corresponding to the power Vbus signal and the contact corresponding to the ground GND signal are provided.
  • the electronic device On the side only the contact corresponding to the Vbus signal and the contact corresponding to the ground GND signal can be provided, which greatly saves the space occupied by the contact on the electronic device shell.
  • At least one permanent magnet may be provided inside the housing, wherein, as an optional implementation, the first magnetic module includes a permanent magnet, and a permanent magnet is provided inside the housing 3.
  • the permanent magnet 3 can be a bar-shaped permanent magnet or a horseshoe-shaped permanent magnet.
  • the orthographic projection of the first end of the permanent magnet 3 on the outer surface of the housing is located at the first contact and the second contact. Between points.
  • the first end of the permanent magnet 3 may be the N pole of the bar permanent magnet or the S pole of the bar permanent magnet.
  • the first contact and the second contact are both located between the first projection and the second projection.
  • the first projection is the orthographic projection of the first end of the permanent magnet 3 on the outer surface of the housing
  • the second projection is the orthographic projection of the second end of the permanent magnet 3 on the outer surface of the housing. projection.
  • the polarity of the magnetic pole at the first end of the horseshoe magnet is opposite to the polarity of the magnetic pole at the second end of the horseshoe magnet.
  • the first end of a horseshoe magnet is N pole
  • the second end is S pole.
  • the first magnetic module includes: a first permanent magnet 31 and a second permanent magnet 32, that is, a first permanent magnet 31 and a second permanent magnet 31 are arranged inside the housing.
  • the permanent magnet 32, the first permanent magnet and the second permanent magnet are both bar magnets;
  • the first contact and the second contact are both located between the third projection and the fourth projection;
  • the third projection is an orthographic projection of the first end of the first permanent magnet on the outer surface of the housing
  • the fourth projection is an orthographic projection of the second end of the second permanent magnet on the outer surface of the housing Orthographic projection.
  • the polarity of the magnetic pole at the first end of the first permanent magnet 31 is opposite to the polarity of the magnetic pole at the second end of the second permanent magnet 32.
  • the first contact and the second contact are arranged in a magnetic field formed by at least one permanent magnet, so that when the permanent magnet in the housing of the connector attracts the permanent magnet in the housing of the electronic device,
  • the contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device. It helps to ensure the integrity of the appearance of electronic equipment.
  • the second interface 12 includes: a first pin 121, a second pin 122, a third pin 123, and a fourth pin 124;
  • the first pin 121 is a pin corresponding to a power signal
  • the second pin 122 is a pin corresponding to a ground signal
  • the third pin 123 and the fourth pin 124 are both pins corresponding to the data signal.
  • the connector of the embodiment of the present disclosure further includes:
  • a gating element 204 electrically connected to the microprocessor 201;
  • the gate element 204 is electrically connected to the first contact and the first pin 121 respectively;
  • the second pin 122 is connected to the second contact.
  • the gating element 204 includes a control terminal, a moving terminal, and a stationary terminal; the control terminal is electrically connected to the microprocessor 201, and the moving terminal is electrically connected to the first contact.
  • the fixed end is electrically connected to the first pin 121 of the second end 12.
  • the above-mentioned first magnetic field detection module 202 is used to detect the magnetic field strength at the location of the contact, and determine the connection state between the first end of the connector and the charging interface of the electronic device 2 according to the magnetic field strength, and characterize it
  • the signal of the connection state is sent to the microprocessor 201;
  • the microprocessor 201 is used to control the gate element 204 to close when receiving a signal indicating that the first end 11 of the connector is in a connected state with the charging interface of the electronic device 2 to make the A contact is connected to the first pin 121 and controls the first wireless communication module 203 to establish a communication connection with the electronic device 2.
  • the connector can also determine whether the connector is connected to the electronic device by detecting the voltage of the contact.
  • the above-mentioned microprocessor 201 is further configured to perform data transmission with the power supply device connected to the second interface through the third pin and the fourth pin 124 to determine the The type of the power supply device, and the type of the power supply device is sent to the electronic device 2 through the first wireless communication module 203.
  • the operating parameters of the power supply device can be determined, for example, the charging current and/or charging voltage of the power supply device.
  • the microprocessor 201 transmits communication data with the electronic device 2 through the first wireless communication module 203, and adjusts the operating parameters of the power supply device according to the received communication data and the temperature of the power supply device ;
  • the communication data includes: the temperature and voltage of the battery of the electronic device.
  • the microprocessor 201 may convert the data received by the first wireless communication module 203 into a USB protocol model and send it to the second interface, or convert the USB signal of the second interface and send it through the wireless communication module.
  • the wireless communication module in the embodiment of the present disclosure may be specifically a Bluetooth module or a wireless fidelity WIFI module.
  • the above-mentioned first magnetic field detection module 202 detects whether the contact of the connector is connected to the contact on the housing of the electronic device by detecting the change of the magnetic field strength of the contact position, and sends the detection result to the microprocessor MCU. For example, when the contacts on the connector are not in contact with the contacts on the electronic device, the magnetic field strength at the first contact position is the first magnetic field strength, and the contacts on the connector are in contact with the contacts on the electronic device. When the magnetic field strength at the first contact position is the second magnetic field strength, the magnetic field detection module 202 detects that the magnetic field strength at the first contact position changes from the first magnetic field strength to the second magnetic field strength, and determines the The contacts are connected to the contacts on the electronic device. When it is detected that the magnetic field strength at the first contact position changes from the second magnetic field strength to the first magnetic field strength, it is determined that the contacts on the connector are disconnected from the contacts on the electronic device.
  • the connector further includes:
  • An antenna 205 electrically connected to the first wireless communication module 203.
  • data transmission within the electronic device can be completed, for example, when charging, transmitting charging control instructions, and when connecting to a computer to transmit data, transmitting connection instructions and data streams.
  • the function of the USB interface is replaced by the two contacts of the contact corresponding to the power signal and the contact corresponding to the ground signal, which is easy to implement and can improve the simplicity and integrity of the appearance of the electronic device.
  • the embodiment of the present disclosure also provides a data transmission method, which is applied to the above-mentioned connector, and the method includes:
  • Step 401 Determine whether the connector is connected to the electronic device.
  • Step 402 When the connector is connected to the electronic device, perform data transmission with a second wireless communication module in the electronic device through the first wireless communication module.
  • the connector is connected to the electronic device
  • data transmission is performed with the electronic device through the first wireless communication module, such as transmitting charging instructions, etc., and can also be based on the received communication data and the power supply device
  • the temperature adjusts the operating parameters of the power supply device; wherein the communication data includes: the temperature and voltage of the battery of the electronic device.
  • the foregoing determining whether the connector is connected to an electronic device includes:
  • the connector is connected to the electronic device.
  • a first magnetic module and a first magnetic field detection module are further arranged inside the housing;
  • the determining whether the connector is connected to an electronic device includes:
  • the magnetic field strength detected by the magnetic field detection module changes from the first magnetic field strength to the second magnetic field strength, it is determined that the connector is connected to the electronic device, wherein the second magnetic field strength is greater than the first magnetic field strength strength.
  • the magnetic field strength detected by the magnetic field detection module is the first magnetic field strength.
  • the magnetic field intensity detected by the magnetic field detection module is the second magnetic field intensity.
  • the magnetic field strength detected by the magnetic field detection module changes from the first magnetic field strength to the second magnetic field strength, it indicates that the contacts on the connector are in contact with the contacts on the electronic device, and it can be determined that the electronic device has been Connect with the connector.
  • the first wireless communication module communicates with the second electronic device.
  • the wireless communication module performs data transmission, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
  • an embodiment of the present disclosure also provides a data transmission device, which is applied to the above-mentioned connector, and the device includes:
  • the first determining module 501 is used to determine whether the connector is connected to an electronic device
  • the first transmission module 502 is configured to perform data transmission between the first wireless communication module and the second wireless communication module in the electronic device when the connector is connected to the electronic device.
  • the first judgment module is configured to judge whether the connector is connected to the electronic device according to the voltage of the contact.
  • a first magnetic module and a first magnetic field detection module are further arranged inside the housing;
  • the first judging module is used for judging whether the connector is connected to the electronic device according to the magnetic field intensity detected by the first magnetic field detection module when a second magnetic module is provided inside the electronic device.
  • the first judgment module is used for determining that the connector is connected to the electronic device when the magnetic field intensity detected by the first magnetic field detection module changes from the first magnetic field intensity to the second magnetic field intensity, wherein the The intensity of the second magnetic field is greater than the intensity of the first magnetic field.
  • the data transmission device of the embodiment of the present disclosure judges whether the connector is connected to the electronic device; in the case that the connector is connected to the electronic device, the first wireless communication module communicates with the second one of the electronic devices.
  • the wireless communication module performs data transmission, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
  • the embodiment of the present disclosure also provides a connector, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • a connector including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned data transmission method embodiment applied to a connector is realized, and To achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
  • an embodiment of the present disclosure also provides an electronic device 2.
  • the electronic device may specifically be a smart phone, a tablet/PAD, a personal computer, a smart watch, etc.
  • the electronic device 2 include:
  • a second wireless communication module 303 is provided inside the housing;
  • the second wireless communication module when the electronic device is connected to the connector through the contact, the second wireless communication module performs data transmission with the first wireless communication module in the connector.
  • the data transmission between the first wireless communication module and the second wireless communication module may specifically be the transmission of charging instructions.
  • the housing of the above electronic device may be specifically a battery back cover of the electronic device.
  • the above-mentioned contacts may be arranged protruding from the outer surface of the housing, or may be flush with the outer surface of the housing.
  • the contact is specifically a metal contact.
  • the contact is used for contact connection with the contact on the first interface housing of the connector.
  • the electronic device is connected to the first interface of the connector.
  • a second magnetic module, a second magnetic field detection module, and a charging module 302 are also provided inside the housing.
  • the second magnetic module may include at least one permanent magnet, and at least one permanent magnet may be provided inside the housing of the connector.
  • the permanent magnet inside the housing of the first interface of the connector and the permanent magnet inside the electronic device The magnets are attracted so that the contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device.
  • the above-mentioned permanent magnet may be a bar-shaped permanent magnet or a horseshoe-shaped permanent magnet. It can also be a permanent magnet of other shapes.
  • the permanent magnet inside the housing of the first interface of the connector is attracted to the permanent magnet set inside the electronic device, so that the contact on the housing of the first interface of the connector is in contact with the contact on the housing of the electronic device.
  • the contact contact connection can realize the charging of the electronic device simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
  • the aforementioned contacts include: a third contact and a fourth contact, the third contact is a contact corresponding to a power Vbus signal, and the fourth contact is a ground The contact corresponding to the GND signal.
  • the electronic device of the embodiment of the present disclosure only provides the contact corresponding to the power Vbus signal and the contact corresponding to the ground GND signal, which greatly saves the space occupied by the contact on the electronic device housing.
  • At least one permanent magnet may be arranged inside the housing of the electronic device, wherein, as an optional implementation, the second magnetic module includes a permanent magnet, that is, the inside of the housing A permanent magnet 4 is provided.
  • the permanent magnet 4 can be a bar-shaped permanent magnet or a horseshoe-shaped permanent magnet.
  • the permanent magnet 4 is a bar magnet. As shown in Fig. 1, the orthographic projection of the first end of the permanent magnet 4 on the outer surface of the housing is located between the third contact and the fourth contact.
  • the first end of the permanent magnet 4 can be the N pole of the bar permanent magnet or the S pole of the bar permanent magnet. When the first end of the permanent magnet 3 is an N pole, the first end of the permanent magnet 4 is an S pole; when the first end of the permanent magnet 3 is an S pole, the first end of the permanent magnet 4 is an N pole.
  • the permanent magnet 4 is a horseshoe-shaped magnet. As shown in FIG. 1, the third contact and the fourth contact are both located between the fifth projection and the sixth projection.
  • the fifth projection is the orthographic projection of the first end of the permanent magnet 4 on the outer surface of the housing
  • the sixth projection is the orthographic projection of the second end of the permanent magnet 4 on the outer surface of the housing. projection.
  • the polarity of the magnetic pole at the first end of the horseshoe magnet is opposite to the polarity of the magnetic pole at the second end of the horseshoe magnet.
  • the first end of a horseshoe magnet is N pole
  • the second end is S pole.
  • the second magnetic module includes a third permanent magnet and a fourth permanent magnet, that is, a third permanent magnet 41 and a fourth permanent magnet are arranged inside the housing.
  • Magnet 42, the third permanent magnet and the fourth permanent magnet are both bar magnets;
  • the third contact and the fourth contact are both located between the seventh projection and the eighth projection;
  • the seventh projection is the orthographic projection of the first end of the third permanent magnet on the outer surface of the housing
  • the eighth projection is the second end of the fourth permanent magnet on the outer surface of the housing Orthographic projection.
  • the polarity of the magnetic pole at the first end of the third permanent magnet 41 is opposite to the polarity of the magnetic pole at the second end of the fourth permanent magnet 42.
  • the third contact and the fourth contact are arranged in a magnetic field formed by at least one permanent magnet, so that when the permanent magnet in the housing of the connector attracts the permanent magnet in the housing of the electronic device,
  • the contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device. It helps to ensure the integrity of the appearance of electronic equipment.
  • the electronic device of the embodiment of the present disclosure further includes:
  • a processor 301 electrically connected to the charging module 302;
  • the processor 301 is electrically connected to the second wireless communication module 303, and the charging module is electrically connected to the third contact, the fourth contact, and the battery 304 of the electronic device, respectively.
  • the above-mentioned charging module 302 is used for detecting the voltage on the contact corresponding to the power signal and charging the battery.
  • the above-mentioned processor is used for controlling the wireless communication module to establish a communication connection with the connector when receiving the voltage indicating that the voltage on the power contact is the preset voltage.
  • the processor 301 is further configured to, after receiving the type of the power supply device through the second wireless communication module 303, adjust the charging parameters of the charging module 302 according to the type of the power supply device.
  • the charging parameters may include a charging current. And/or charging voltage.
  • the charging module 302 can collect the temperature and voltage of the battery 304, and send the temperature and the voltage to the processor 301; the processor 301 uses the second wireless communication module 303 Perform communication data transmission with the connector 1, and adjust the charging parameters of the charging module 302 according to the received communication data and the voltage and temperature of the battery 304; wherein, the communication data includes: power supply equipment Temperature, output voltage and output current.
  • the electronic device further includes:
  • An antenna 305 electrically connected to the second wireless communication module 303.
  • the second wireless communication module in the embodiment of the present disclosure may be specifically a Bluetooth module or a wireless fidelity WIFI module.
  • the charging process includes:
  • Step 701 The second interface of the connector is connected to the power supply device.
  • Step 702 The connector starts wireless communication and is in a standby state.
  • Step 703 The connector recognizes the type of the connected power supply device.
  • identifying the type of power supply device is to determine the charging current and voltage used by the connector.
  • Step 704 The magnetic field detection module of the connector detects whether the magnetic field strength at the position where the contact is located becomes stronger.
  • Step 705 When the strength of the magnetic field at the position of the contact becomes stronger, the gate element is closed, and the electronic device detects the power signal; otherwise, skip to step 501.
  • Step 706 The electronic device starts wireless communication.
  • Step 707 The electronic device performs wireless communication with the second interface.
  • Step 708 The electronic device obtains the type of the power supply device and sets it to a corresponding charging state.
  • Step 709 The electronic device maintains continuous communication with the connector.
  • the electronic device maintains continuous communication with the connector, such as transmitting charging control data or file data.
  • the permanent magnet inside the housing of the first interface of the connector is attracted to the permanent magnet set inside the electronic device, so that the two contacts on the housing of the first interface of the connector are The two contacts on the housing of the electronic device are in contact and connected, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
  • an embodiment of the present disclosure also provides a data transmission method, which is applied to the above-mentioned electronic device, and the method includes:
  • Step 801 Determine whether the electronic device is connected to the connector.
  • the charging module When the voltage of the contact corresponding to the power signal detected by the charging module is the preset voltage, it is determined to charge the battery of the electronic device.
  • a second magnetic module and a second magnetic field detection module are further provided inside the housing;
  • the first magnetic module When the first magnetic module is provided inside the connector, it is determined whether the electronic device is connected to the connector according to the magnetic field intensity detected by the second magnetic field detection module.
  • Step 802 When the electronic device is connected to the connector, perform data transmission with the first wireless communication module in the connector through the second wireless communication module.
  • the data transmission method of the embodiment of the present disclosure it is judged whether the electronic device is connected with the connector; when the electronic device is connected with the connector, it communicates with the first wireless communication module in the connector through the second wireless communication module
  • the module performs data transmission, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
  • an embodiment of the present disclosure also provides a data transmission device, which is applied to the above-mentioned electronic equipment, and the device includes:
  • the second judgment module 901 is used to judge whether the electronic device is connected to the connector
  • the second transmission module 902 is configured to perform data transmission with the first wireless communication module in the connector through the second wireless communication module when the electronic device is connected to the connector.
  • the data transmission device of the embodiment of the present disclosure determines whether the electronic device is connected to the connector; in the case that the electronic device is connected to the connector, it communicates with the first wireless communication module in the connector through the second wireless communication module
  • the module performs data transmission, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
  • the embodiment of the present disclosure also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor.
  • the computer program is executed by the processor, the application to the electronic device is realized.
  • Each process of the embodiment of the data transmission method can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned data transmission method embodiment applied to an electronic device is realized, and To achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
  • the computer readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.
  • FIG. 10 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present disclosure.
  • the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and Power supply 1011 and other components.
  • the display unit 1006 includes at least two display screens.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the electronic device also includes various components of the electronic device in the above-mentioned embodiments, such as a charging module, a wireless communication module, and so on.
  • the processor 1010 is configured to determine whether the electronic device is connected to the connector
  • the radio frequency unit 1001 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 1010; Uplink data is sent to the base station.
  • the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the electronic device 1000 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1004 is used to receive audio or video signals.
  • the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 1006.
  • the image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002.
  • the microphone 10042 can receive sound and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 for output in the case of a telephone call mode.
  • the electronic device 1000 further includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light
  • the proximity sensor can close the display panel 10061 and 10061 when the electronic device 1000 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 1006 is used to display information input by the user or information provided to the user.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 1007 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the electronic device.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072.
  • the touch panel 10071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071 operating).
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it
  • the processor 1010 receives and executes the command sent by the processor 1010.
  • the touch panel 10071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 1007 may also include other input devices 10072.
  • other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 10071 may cover the display panel 10061.
  • the touch panel 10071 detects a touch operation on or near it, it is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 according to The type of touch event provides corresponding visual output on the display panel 10061.
  • the touch panel 10071 and the display panel 10061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 1008 is an interface for connecting an external device and the electronic device 1000.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 1000 or can be used to connect to the electronic device 1000 and the external device. Transfer data between devices.
  • the memory 1009 can be used to store software programs and various data.
  • the memory 1009 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 1009, and calls the data stored in the memory 1009 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
  • the electronic device 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components.
  • a power supply 1011 (such as a battery) for supplying power to various components.
  • the power supply 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 1000 includes some functional modules not shown, which will not be repeated here.
  • the electronic device of the embodiment of the present disclosure includes a device composed of radio frequency unit, network module, audio output unit, input unit, sensor, display unit, user input unit, interface unit, memory, processor, and power supply.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

Provided are a connector, an electronic apparatus, and a data transmission method and device. A first end of the connector of the present disclosure has a first interface, and a second end of the connector has a second interface. The first interface comprises a housing. A first wireless communication module is provided inside the housing. A contact is provided at an outer surface of the housing.

Description

连接器、电子设备、数据传输方法及装置Connector, electronic equipment, data transmission method and device
相关申请的交叉引用Cross references to related applications
本申请主张在2019年3月29日在中国提交的中国专利申请号No.201910252096.3的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201910252096.3 filed in China on March 29, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开属于电子设备技术领域,尤其是涉及一种连接器、电子设备、数据传输方法及装置。The present disclosure belongs to the technical field of electronic equipment, and particularly relates to a connector, electronic equipment, data transmission method and device.
背景技术Background technique
目前,电子设备在实现充电以及数据传输时采用的接口通常是通用串行总线(Universal Serial Bus,USB)接口,包括有Micro-B接口以及Type-C接口两种形式,Type-C接口与Micro-B接口相比具有能够支持正反插的优势。At present, the interface used by electronic devices to realize charging and data transmission is usually Universal Serial Bus (USB) interface, which includes two forms: Micro-B interface and Type-C interface. Type-C interface and Micro -B interface has the advantage of being able to support positive and negative insertion.
然而,采用上述两种接口进行充电或数据传输时,具有如下缺陷:一方面,用户在每次进行充电或者数据传输时,都有一个将充电线插头对准电子设备的USB接口插入的动作,使得用户为电子设备充电的过程复杂;另一方面,电子设备的USB接口破坏了电子设备的外观的整体性,使得电子设备的无孔化设计难以实现。However, when using the above two interfaces for charging or data transmission, it has the following disadvantages: On the one hand, every time the user performs charging or data transmission, there is an action of aligning the charging cable plug with the USB interface of the electronic device. This makes the process for users to charge the electronic device complicated; on the other hand, the USB interface of the electronic device destroys the integrity of the appearance of the electronic device, making it difficult to realize the non-porous design of the electronic device.
发明内容Summary of the invention
本公开实施例在于提供一种连接器、电子设备、数据传输方法及装置,以解决采用相关技术中的充电接口进行充电的方案,需要在电子设备上开设USB接口,且每次充电时需要精确地对准充电插口才能进行充电的问题。The embodiments of the present disclosure provide a connector, an electronic device, a data transmission method and a device to solve the solution of using a charging interface in the related technology for charging. It is necessary to open a USB interface on the electronic device, and it needs to be accurate every time it is charged. Align the charging socket to the charging socket.
为了解决上述技术问题,本公开实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present disclosure are implemented as follows:
第一方面,本公开实施例提供了一种连接器,所述连接器的第一端具有第一接口,第二端具有第二接口,所述第一接口包括:In a first aspect, an embodiment of the present disclosure provides a connector, the first end of the connector has a first interface, and the second end has a second interface, and the first interface includes:
壳体;case;
所述壳体内部设置有第一无线通信模块;A first wireless communication module is arranged inside the housing;
所述壳体外表面上设置有触点;Contacts are provided on the outer surface of the housing;
其中,当所述连接器通过所述触点与电子设备连接时,所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据传输。Wherein, when the connector is connected to the electronic device through the contact, the first wireless communication module and the second wireless communication module in the electronic device perform data transmission.
第二方面,本公开实施例还提供了一种数据传输方法,应用于如上所述的连接器,所述方法包括:In the second aspect, embodiments of the present disclosure also provide a data transmission method, which is applied to the above-mentioned connector, and the method includes:
判断所述连接器是否与电子设备连接;Determine whether the connector is connected to an electronic device;
在所述连接器与所述电子设备连接的情况下,通过所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据传输。When the connector is connected to the electronic device, data transmission is performed with the second wireless communication module in the electronic device through the first wireless communication module.
第三方面,本公开实施例还提供了一种数据传输装置,应用于如上所述的连接器,所述装置包括:In a third aspect, the embodiments of the present disclosure also provide a data transmission device, which is applied to the above-mentioned connector, and the device includes:
第一判断模块,用于判断所述连接器是否与电子设备连接;The first judgment module is used to judge whether the connector is connected to an electronic device;
第一传输模块,用于在所述连接器与所述电子设备连接的情况下,通过所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据传输。The first transmission module is configured to perform data transmission between the first wireless communication module and the second wireless communication module in the electronic device when the connector is connected to the electronic device.
第四方面,本公开实施例还提供了一种连接器,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如上所述的数据传输方法的步骤。In a fourth aspect, the embodiments of the present disclosure also provide a connector, including a processor, a memory, and a program stored on the memory and capable of running on the processor. When the program is executed by the processor, Implement the steps of the data transmission method as described above.
第五方面,本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如上所述的数据传输方法的步骤。In a fifth aspect, the embodiments of the present disclosure also provide a computer-readable storage medium with a program stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the data transmission method described above are implemented.
第六方面,本公开实施例还提供了一种电子设备,包括:In a sixth aspect, the embodiments of the present disclosure also provide an electronic device, including:
壳体;case;
所述壳体内部设置有第二无线通信模块;A second wireless communication module is arranged inside the housing;
所述壳体外表面上设置有触点;Contacts are provided on the outer surface of the housing;
其中,当电子设备通过所述触点与连接器连接时,所述第二无线通信模块303与所述连接器中的第一无线通信模块进行数据传输。Wherein, when the electronic device is connected to the connector through the contact, the second wireless communication module 303 performs data transmission with the first wireless communication module in the connector.
第七方面,本公开实施例还提供了一种数据传输方法,应用于如上所述的电子设备,所述方法包括:In a seventh aspect, the embodiments of the present disclosure also provide a data transmission method, which is applied to the above-mentioned electronic device, and the method includes:
判断所述电子设备是否与连接器连接;Determine whether the electronic device is connected to the connector;
在所述电子设备与连接器连接的情况下,通过所述第二无线通信模块与 所述连接器中的第一无线通信模块进行数据传输。When the electronic device is connected to the connector, data transmission is performed with the first wireless communication module in the connector through the second wireless communication module.
第八方面,本公开实施例还提供了一种数据传输装置,应用于如上所述的电子设备,所述装置包括:In an eighth aspect, the embodiments of the present disclosure also provide a data transmission device, which is applied to the above-mentioned electronic equipment, and the device includes:
第二判断模块,用于判断所述电子设备是否与连接器连接;The second judgment module is used to judge whether the electronic device is connected to the connector;
第二传输模块,用于在所述电子设备与连接器连接的情况下,通过所述第二无线通信模块与所述连接器中的第一无线通信模块进行数据传输。The second transmission module is configured to perform data transmission with the first wireless communication module in the connector through the second wireless communication module when the electronic device is connected to the connector.
第九方面,本公开实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如上所述的数据传输方法的步骤。In a ninth aspect, the embodiments of the present disclosure also provide an electronic device, including a processor, a memory, and a program stored on the memory and capable of running on the processor. When the program is executed by the processor, Implement the steps of the data transmission method as described above.
第十方面,本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如上所述的数据传输方法的步骤。In a tenth aspect, the embodiments of the present disclosure also provide a computer-readable storage medium with a program stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the data transmission method described above are implemented.
本公开实施例具有以下有益效果:The embodiments of the present disclosure have the following beneficial effects:
本公开实施例的上述技术方案,连接器的第一接口的壳体上的触点与电子设备的壳体上的触点接触连接,进而便可简单快捷地实现对电子设备的充电,无需再去精确地对准充电插口,且无需在电子设备上开设USB接口,有利于保证电子设备外观的整体性。In the above-mentioned technical solutions of the embodiments of the present disclosure, the contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device, so that the electronic device can be charged simply and quickly without any need To accurately align the charging socket, and there is no need to open a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
附图说明Description of the drawings
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1为本公开实施例的连接器与电子设备的连接示意之一;FIG. 1 is one of the schematic diagrams of the connection between the connector and the electronic device according to the embodiment of the disclosure;
图2为本公开实施例的连接器与电子设备的连接示意之二;2 is the second schematic diagram of the connection between the connector and the electronic device according to the embodiment of the disclosure;
图3为本公开实施例的连接器的控制电路的示意图;FIG. 3 is a schematic diagram of a control circuit of a connector according to an embodiment of the disclosure;
图4为本公开实施例的数据传输方法的流程示意图之一;4 is one of the schematic flowcharts of the data transmission method according to the embodiment of the disclosure;
图5为本公开实施例的数据传输装置的模块示意图之一;FIG. 5 is one of the schematic diagrams of modules of the data transmission device according to an embodiment of the disclosure;
图6为本公开实施例的电子设备的控制电路的示意图;6 is a schematic diagram of a control circuit of an electronic device according to an embodiment of the disclosure;
图7为本公开实施例充电流程示意图;FIG. 7 is a schematic diagram of a charging process according to an embodiment of the disclosure;
图8为本公开实施例的数据传输方法的流程示意图之二;FIG. 8 is the second schematic diagram of the data transmission method according to an embodiment of the disclosure;
图9为本公开实施例的数据传输装置的模块示意图之二;FIG. 9 is a second schematic diagram of modules of the data transmission device according to an embodiment of the disclosure;
图10为本公开实施例的电子设备的结构框图。FIG. 10 is a structural block diagram of an electronic device according to an embodiment of the disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
本公开实施例提供了一种连接器,该连接器可具体为充电线和/或数据线,如图1、图2和图3所示,连接器1的第一端具有第一接口11,第二端具有第二接口12,所述第一接口11包括:The embodiment of the present disclosure provides a connector, which can be specifically a charging cable and/or a data cable. As shown in Figs. 1, 2 and 3, the first end of the connector 1 has a first interface 11. The second end has a second interface 12, and the first interface 11 includes:
壳体;case;
所述壳体内部设置有第一无线通信模块203;A first wireless communication module 203 is provided inside the housing;
所述壳体外表面上设置有触点;Contacts are provided on the outer surface of the housing;
其中,当所述连接器通过所述触点与电子设备连接时,所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据传输。Wherein, when the connector is connected to the electronic device through the contact, the first wireless communication module and the second wireless communication module in the electronic device perform data transmission.
这里,第一无线通信模块与第二无线通信模块进行数据传输可以具体是传输充电指令。Here, the data transmission between the first wireless communication module and the second wireless communication module may specifically be the transmission of charging instructions.
上述触点可以突出所述壳体的外表面设置,也可以与所述壳体的外表面相平齐。该触点具体为金属触点,该触点用于与电子设备壳体上的触点接触连接。上述壳体可具体为具有容置空间的矩形壳体。The above-mentioned contacts may be arranged protruding from the outer surface of the housing, or may be flush with the outer surface of the housing. The contact is specifically a metal contact, and the contact is used for contact connection with the contact on the housing of the electronic device. The above-mentioned casing may be specifically a rectangular casing having an accommodating space.
在本公开的具体实施例中,上述第一接口11与电子设备连接,上述第二接口与供电系统连接。与上述第一接口11连接的电子设备的壳体的外表面上也设置有触点。In a specific embodiment of the present disclosure, the above-mentioned first interface 11 is connected to an electronic device, and the above-mentioned second interface is connected to a power supply system. Contacts are also provided on the outer surface of the housing of the electronic device connected to the first interface 11 described above.
这里,连接器的第一接口的壳体上的触点与电子设备的壳体上的触点接触连接,进而便可简单快捷地实现对电子设备的充电,无需再去精确地对准充电插口,且无需在电子设备上开设USB接口,有利于保证电子设备外观的 整体性。Here, the contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device, so that the electronic device can be charged simply and quickly, without the need to precisely align the charging socket , And there is no need to open a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
可选地,所述壳体内部还设置有第一磁性模块和第一磁场检测模块202。Optionally, a first magnetic module and a first magnetic field detection module 202 are further provided inside the housing.
该第一磁性模块可以包括至少一个永磁铁,且电子设备的壳体的内部也可以设置有至少一个永磁铁,通过上述连接器第一接口的壳体内部的永磁铁与电子设备内部设置的永磁铁相吸引,使得连接器的第一接口的壳体上的触点与电子设备的壳体上的触点接触连接。上述永磁铁可以为条形永磁铁或马蹄形永磁铁。也可以为其他形状的永磁体。The first magnetic module may include at least one permanent magnet, and the housing of the electronic device may also be provided with at least one permanent magnet. The permanent magnet inside the housing through the first interface of the connector and the permanent magnet provided inside the electronic device The magnets are attracted so that the contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device. The above-mentioned permanent magnet may be a bar-shaped permanent magnet or a horseshoe-shaped permanent magnet. It can also be a permanent magnet of other shapes.
可选地,本公开实施例的连接器,上述触点包括:第一触点和第二触点,所述第一触点为电源Vbus信号对应的触点,所述第二触点为接地GND信号对应的触点。Optionally, in the connector of the embodiment of the present disclosure, the aforementioned contacts include: a first contact and a second contact, the first contact is a contact corresponding to a power Vbus signal, and the second contact is a ground The contact corresponding to the GND signal.
在通过电子设备的表面设计触点来代替USB接口的功能时,一般会把USB接口内的所有信号引脚直接用触点来代替。例如:若代替Micro-B接口的功能,则需要Vbus/d+/d-/Id/GND五个信号的触点;若代替Type-C接口的功能,则需要Vbus/d+/d-/CC1/CC2/SBU1/SBU2/GND八个信号的触点,或者,Vbus/d+/d-/CC1/CC2/SBU1/SBU2/TX+/TX-/RX+/RX-/GND十二个信号的触点。然而,上述五至十二个触点则会占用电子设备外观较大的空间,使得这些触点对电子设备的外观影响较大。When designing contacts on the surface of the electronic device to replace the function of the USB interface, generally all signal pins in the USB interface are directly replaced with contacts. For example: if you replace the function of the Micro-B interface, you need five signal contacts of Vbus/d+/d-/Id/GND; if you replace the function of the Type-C interface, you need Vbus/d+/d-/CC1/ CC2/SBU1/SBU2/GND eight signal contacts, or Vbus/d+/d-/CC1/CC2/SBU1/SBU2/TX+/TX-/RX+/RX-/GND twelve signal contacts. However, the above five to twelve contacts will occupy a relatively large space in the appearance of the electronic device, so that these contacts have a greater impact on the appearance of the electronic device.
本公开实施例的连接器中,仅需设置第一触点和第二触点两个触点,即仅设置电源Vbus信号对应的触点和接地GND信号对应的触点,相应的,电子设备侧也仅设置Vbus信号对应的触点和接地GND信号对应的触点即可,大大节省了触点在电子设备外壳上所占用的空间。In the connector of the embodiment of the present disclosure, only two contacts of the first contact and the second contact are required, that is, only the contact corresponding to the power Vbus signal and the contact corresponding to the ground GND signal are provided. Correspondingly, the electronic device On the side, only the contact corresponding to the Vbus signal and the contact corresponding to the ground GND signal can be provided, which greatly saves the space occupied by the contact on the electronic device shell.
在本公开实施例中,可在壳体内部设置至少一个永磁铁,其中,作为一种可选的实现方式,所述第一磁性模块包括一个永磁铁,所述壳体内部设置有一个永磁铁3。该永磁铁3可具体为条形永磁铁或马蹄形永磁铁。In the embodiment of the present disclosure, at least one permanent magnet may be provided inside the housing, wherein, as an optional implementation, the first magnetic module includes a permanent magnet, and a permanent magnet is provided inside the housing 3. The permanent magnet 3 can be a bar-shaped permanent magnet or a horseshoe-shaped permanent magnet.
在该永磁铁3为条形永磁铁时,如图1所示,所述永磁铁3的第一端在所述壳体外表面上的正投影位于所述第一触点和所述第二触点之间。该永磁铁3的第一端可以是该条形永磁铁的N极,也可以是该条形永磁铁的S极。When the permanent magnet 3 is a bar-shaped permanent magnet, as shown in FIG. 1, the orthographic projection of the first end of the permanent magnet 3 on the outer surface of the housing is located at the first contact and the second contact. Between points. The first end of the permanent magnet 3 may be the N pole of the bar permanent magnet or the S pole of the bar permanent magnet.
在该永磁铁3为马蹄形磁铁时,如图2所示,所述第一触点和所述第二触点均位于第一投影和第二投影之间。所述第一投影为所述永磁铁3的第一 端在所述壳体外表面上的正投影,所述第二投影为所述永磁铁3的第二端在所述壳体外表面上的正投影。When the permanent magnet 3 is a horseshoe magnet, as shown in FIG. 2, the first contact and the second contact are both located between the first projection and the second projection. The first projection is the orthographic projection of the first end of the permanent magnet 3 on the outer surface of the housing, and the second projection is the orthographic projection of the second end of the permanent magnet 3 on the outer surface of the housing. projection.
其中,马蹄形磁铁的第一端的磁极的极性和马蹄形磁铁的第二端的磁极的极性相反。例如,马蹄形磁铁的第一端为N极,则第二端为S极。Wherein, the polarity of the magnetic pole at the first end of the horseshoe magnet is opposite to the polarity of the magnetic pole at the second end of the horseshoe magnet. For example, the first end of a horseshoe magnet is N pole, and the second end is S pole.
作为另一种可选的实现方式,如图2所示,所述第一磁性模块包括:第一永磁体31和第二永磁体32,即壳体内部设置有第一永磁铁31和第二永磁铁32,所述第一永磁铁和所述第二永磁铁均为条形磁铁;As another optional implementation, as shown in FIG. 2, the first magnetic module includes: a first permanent magnet 31 and a second permanent magnet 32, that is, a first permanent magnet 31 and a second permanent magnet 31 are arranged inside the housing. The permanent magnet 32, the first permanent magnet and the second permanent magnet are both bar magnets;
所述第一触点和所述第二触点均位于第三投影和第四投影之间;The first contact and the second contact are both located between the third projection and the fourth projection;
所述第三投影为所述第一永磁铁的第一端在所述壳体外表面上的正投影,所述第四投影为所述第二永磁铁的第二端在所述壳体外表面上的正投影。The third projection is an orthographic projection of the first end of the first permanent magnet on the outer surface of the housing, and the fourth projection is an orthographic projection of the second end of the second permanent magnet on the outer surface of the housing Orthographic projection.
其中,所述第一永磁铁31的第一端的磁极的极性和所述第二永磁铁32的第二端的磁极的极性相反。Wherein, the polarity of the magnetic pole at the first end of the first permanent magnet 31 is opposite to the polarity of the magnetic pole at the second end of the second permanent magnet 32.
本公开实施例中,将第一触点和第二触点设置在至少一个永磁铁形成的磁场中,从而使得连接器的壳体内的永磁铁与电子设备的壳体内的永磁铁相吸时,使得连接器的第一接口的壳体上的触点与电子设备的壳体上的触点接触连接,进而便可简单快捷地实现对电子设备的充电,而无需在电子设备上开设USB接口,有利于保证电子设备外观的整体性。In the embodiment of the present disclosure, the first contact and the second contact are arranged in a magnetic field formed by at least one permanent magnet, so that when the permanent magnet in the housing of the connector attracts the permanent magnet in the housing of the electronic device, The contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device. It helps to ensure the integrity of the appearance of electronic equipment.
可选地,如图3所示,所述第二接口12包括:第一引脚121、第二引脚122、第三引脚123和第四引脚124;Optionally, as shown in FIG. 3, the second interface 12 includes: a first pin 121, a second pin 122, a third pin 123, and a fourth pin 124;
其中,所述第一引脚121为电源信号对应的引脚;Wherein, the first pin 121 is a pin corresponding to a power signal;
所述第二引脚122为接地信号对应的引脚;The second pin 122 is a pin corresponding to a ground signal;
所述第三引脚123和第四引脚124均为数据信号对应的引脚。The third pin 123 and the fourth pin 124 are both pins corresponding to the data signal.
可选地,本公开实施例的连接器,还包括:Optionally, the connector of the embodiment of the present disclosure further includes:
与所述第三引脚123和所述第四引脚124连接的微处理器201,且所述微处理器201分别与所述第一磁场检测模块202和第一无线通信模块203电连接;A microprocessor 201 connected to the third pin 123 and the fourth pin 124, and the microprocessor 201 is electrically connected to the first magnetic field detection module 202 and the first wireless communication module 203, respectively;
与所述微处理器201电连接的选通元件204;A gating element 204 electrically connected to the microprocessor 201;
所述选通元件204分别与所述第一触点和所述第一引脚121电连接;The gate element 204 is electrically connected to the first contact and the first pin 121 respectively;
所述第二引脚122与所述第二触点连接。The second pin 122 is connected to the second contact.
在本公开的具体实施例中,选通元件204包括控制端、动端和不动端;所述控制端与所述微处理器201电连接,所述动端与第一触点电连接,所述不动端与所述第二端12的第一引脚121电连接。In a specific embodiment of the present disclosure, the gating element 204 includes a control terminal, a moving terminal, and a stationary terminal; the control terminal is electrically connected to the microprocessor 201, and the moving terminal is electrically connected to the first contact. The fixed end is electrically connected to the first pin 121 of the second end 12.
上述第一磁场检测模块202用于检测所述触点所处位置的磁场强度,并根据所述磁场强度确定连接器的第一端与所述电子设备2的充电接口的连接状态,并将表征所述连接状态的信号发送至所述微处理器201;The above-mentioned first magnetic field detection module 202 is used to detect the magnetic field strength at the location of the contact, and determine the connection state between the first end of the connector and the charging interface of the electronic device 2 according to the magnetic field strength, and characterize it The signal of the connection state is sent to the microprocessor 201;
所述微处理器201用于在接收到表征所述连接器的第一端11与所述电子设备2的充电接口处于连通状态的信号时,控制所述选通元件204闭合,使所述第一触点与所述第一引脚121连接,并控制所述第一无线通信模块203与所述电子设备2建立通信连接。The microprocessor 201 is used to control the gate element 204 to close when receiving a signal indicating that the first end 11 of the connector is in a connected state with the charging interface of the electronic device 2 to make the A contact is connected to the first pin 121 and controls the first wireless communication module 203 to establish a communication connection with the electronic device 2.
本公开实施例中,连接器也可以通过检测触点的电压,确定连接器是否与电子设备连接。In the embodiments of the present disclosure, the connector can also determine whether the connector is connected to the electronic device by detecting the voltage of the contact.
在本公开的具体实施例中,上述微处理器201还用于通过所述第三引脚和所述第四引脚124与连接在所述第二接口的供电设备进行数据传输,确定所述供电设备的类型,并通过所述第一无线通信模块203将所述供电设备的类型发送至所述电子设备2。In the specific embodiment of the present disclosure, the above-mentioned microprocessor 201 is further configured to perform data transmission with the power supply device connected to the second interface through the third pin and the fourth pin 124 to determine the The type of the power supply device, and the type of the power supply device is sent to the electronic device 2 through the first wireless communication module 203.
这里,确定供电设备的类型后,便可以确定供电设备的工作参数,例如,供电设备的充电电流和/或充电电压等。Here, after determining the type of the power supply device, the operating parameters of the power supply device can be determined, for example, the charging current and/or charging voltage of the power supply device.
在充电过程中,所述微处理器201通过所述第一无线通信模块203与所述电子设备2进行通信数据的传输,并根据接收到的通信数据和供电设备的温度调整供电设备的工作参数;其中,所述通信数据包括:所述电子设备的电池的温度和电压。During the charging process, the microprocessor 201 transmits communication data with the electronic device 2 through the first wireless communication module 203, and adjusts the operating parameters of the power supply device according to the received communication data and the temperature of the power supply device ; Wherein, the communication data includes: the temperature and voltage of the battery of the electronic device.
本公开实施例中,微处理器201可将第一无线通信模块203接收到的数据转换为USB协议的型号发送给第二接口,或者,将第二接口的USB信号转换后通过无线通信模块发送给电子设备。本公开实施例中的无线通信模块可以具体为蓝牙模块或者无线保真WIFI模块等。In the embodiment of the present disclosure, the microprocessor 201 may convert the data received by the first wireless communication module 203 into a USB protocol model and send it to the second interface, or convert the USB signal of the second interface and send it through the wireless communication module. To electronic equipment. The wireless communication module in the embodiment of the present disclosure may be specifically a Bluetooth module or a wireless fidelity WIFI module.
上述第一磁场检测模块202通过检测触点位置的磁场强度的变化来检测连接器的触点是否与电子设备的壳体上的触点连接,并将检测结果发送给微处理器MCU。例如,连接器上的触点未与电子设备上的触点接触连接时,第 一触点位置处的磁场强度为第一磁场强度,连接器上的触点与电子设备上的触点接触连接时,第一触点位置处的磁场强度为第二磁场强度,则上述磁场检测模块202检测到第一触点位置的磁场强度由第一磁场强度变为第二磁场强度时,确定连接器上的触点与电子设备上的触点接触连接。在检测到第一触点位置的磁场强度由第二磁场强度变为第一磁场强度时,确定连接器上的触点与电子设备上的触点断开连接。The above-mentioned first magnetic field detection module 202 detects whether the contact of the connector is connected to the contact on the housing of the electronic device by detecting the change of the magnetic field strength of the contact position, and sends the detection result to the microprocessor MCU. For example, when the contacts on the connector are not in contact with the contacts on the electronic device, the magnetic field strength at the first contact position is the first magnetic field strength, and the contacts on the connector are in contact with the contacts on the electronic device. When the magnetic field strength at the first contact position is the second magnetic field strength, the magnetic field detection module 202 detects that the magnetic field strength at the first contact position changes from the first magnetic field strength to the second magnetic field strength, and determines the The contacts are connected to the contacts on the electronic device. When it is detected that the magnetic field strength at the first contact position changes from the second magnetic field strength to the first magnetic field strength, it is determined that the contacts on the connector are disconnected from the contacts on the electronic device.
可选地,所述连接器还包括:Optionally, the connector further includes:
与所述第一无线通信模块203电连接的天线205。An antenna 205 electrically connected to the first wireless communication module 203.
通过该第一无线通信模块203以及天线205,可以完成电子设备内部的数据传输,例如,充电时,传输充电控制指令,在与电脑连接传输数据时,传输连接指令和数据流。Through the first wireless communication module 203 and the antenna 205, data transmission within the electronic device can be completed, for example, when charging, transmitting charging control instructions, and when connecting to a computer to transmit data, transmitting connection instructions and data streams.
本公开实施例的连接器,通过电源信号对应的触点以及接地信号对应的触点这两个触点来替代USB接口的功能,易于实现,且能够提升电子设备外观的简洁和整体性。In the connector of the embodiment of the present disclosure, the function of the USB interface is replaced by the two contacts of the contact corresponding to the power signal and the contact corresponding to the ground signal, which is easy to implement and can improve the simplicity and integrity of the appearance of the electronic device.
如图4所述,本公开的实施例还提供了一种数据传输方法,应用于如上所述的连接器,所述方法包括:As shown in FIG. 4, the embodiment of the present disclosure also provides a data transmission method, which is applied to the above-mentioned connector, and the method includes:
步骤401:判断连接器是否与电子设备连接。Step 401: Determine whether the connector is connected to the electronic device.
具体的,可以根据磁场检测模块检测到的磁场强度来判断连接器是否与电子设备连接,也可以通过检测触点的电压,来确定连接器是否与电子设备连接。Specifically, it can be determined whether the connector is connected to the electronic device according to the intensity of the magnetic field detected by the magnetic field detection module, and it can also be determined whether the connector is connected to the electronic device by detecting the voltage of the contact.
步骤402:在所述连接器与所述电子设备连接的情况下,通过所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据传输。Step 402: When the connector is connected to the electronic device, perform data transmission with a second wireless communication module in the electronic device through the first wireless communication module.
在所述连接器与所述电子设备连接的情况下,通过所述第一无线通信模块与所述电子设备进行数据传输,例如传输充电指令等,还可根据接收到的通信数据和供电设备的温度调整供电设备的工作参数;其中,所述通信数据包括:所述电子设备的电池的温度和电压。In the case that the connector is connected to the electronic device, data transmission is performed with the electronic device through the first wireless communication module, such as transmitting charging instructions, etc., and can also be based on the received communication data and the power supply device The temperature adjusts the operating parameters of the power supply device; wherein the communication data includes: the temperature and voltage of the battery of the electronic device.
需要说明的是,本公开实施例中应用于上述连接器的数据传输方法可以由连接器中的微处理器来实现,且该微处理器的功能已在上述实施例中进行详细说明,此处不再赘述。It should be noted that the data transmission method applied to the above-mentioned connector in the embodiment of the present disclosure can be implemented by a microprocessor in the connector, and the function of the microprocessor has been described in detail in the above-mentioned embodiment. No longer.
作为一种可选的实现方式,上述判断所述连接器是否与电子设备连接,包括:As an optional implementation manner, the foregoing determining whether the connector is connected to an electronic device includes:
根据所述触点的电压,判断所述连接器是否与所述电子设备连接。According to the voltage of the contact, it is determined whether the connector is connected to the electronic device.
例如,在检测到表征电源触点上的电压为预设电压时,确定连接器与电子设备连接。For example, when it is detected that the voltage on the characteristic power contact is a preset voltage, it is determined that the connector is connected to the electronic device.
作为另一种可选的实现方式,所述壳体内部还设置有第一磁性模块和第一磁场检测模块;As another optional implementation manner, a first magnetic module and a first magnetic field detection module are further arranged inside the housing;
所述判断所述连接器是否与电子设备连接,包括:The determining whether the connector is connected to an electronic device includes:
在所述电子设备的内部设置有第二磁性模块的情况下,根据第一磁场检测模块检测到的磁场强度,判断所述连接器是否与所述电子设备连接。When a second magnetic module is provided inside the electronic device, it is determined whether the connector is connected to the electronic device according to the magnetic field strength detected by the first magnetic field detection module.
在磁场检测模块检测到的磁场强度由第一磁场强度变为第二磁场强度的情况下,确定所述连接器与所述电子设备连接,其中,所述第二磁场强度大于所述第一磁场强度。When the magnetic field strength detected by the magnetic field detection module changes from the first magnetic field strength to the second magnetic field strength, it is determined that the connector is connected to the electronic device, wherein the second magnetic field strength is greater than the first magnetic field strength strength.
其中,连接器上的触点未与电子设备上的触点接触连接时,磁场检测模块检测到的磁场强度为第一磁场强度,连接器上的触点与电子设备上的触点接触连接时,磁场检测模块检测到的磁场强度为第二磁场强度。Wherein, when the contact on the connector is not in contact with the contact on the electronic device, the magnetic field strength detected by the magnetic field detection module is the first magnetic field strength. When the contact on the connector is in contact with the contact on the electronic device , The magnetic field intensity detected by the magnetic field detection module is the second magnetic field intensity.
这里,磁场检测模块检测到的磁场强度由第一磁场强度变为第二磁场强度的情况下,表明连接器上的触点已于电子设备上的触点接触连接,即可判定出电子设备已与连接器连接。Here, when the magnetic field strength detected by the magnetic field detection module changes from the first magnetic field strength to the second magnetic field strength, it indicates that the contacts on the connector are in contact with the contacts on the electronic device, and it can be determined that the electronic device has been Connect with the connector.
本公开实施例的数据传输方法,判断连接器是否与电子设备连接;在所述连接器与所述电子设备连接的情况下,通过所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据传输,进而便可简单快捷地实现对电子设备的充电,而无需在电子设备上开设USB接口,有利于保证电子设备外观的整体性。According to the data transmission method of the embodiment of the present disclosure, it is judged whether the connector is connected to the electronic device; in the case that the connector is connected to the electronic device, the first wireless communication module communicates with the second electronic device. The wireless communication module performs data transmission, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
如图5所示,本公开实施例还提供了一种数据传输装置,应用于如上所述的连接器,该装置包括:As shown in FIG. 5, an embodiment of the present disclosure also provides a data transmission device, which is applied to the above-mentioned connector, and the device includes:
第一判断模块501,用于判断所述连接器是否与电子设备连接;The first determining module 501 is used to determine whether the connector is connected to an electronic device;
第一传输模块502,用于在所述连接器与所述电子设备连接的情况下,通过所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据 传输。The first transmission module 502 is configured to perform data transmission between the first wireless communication module and the second wireless communication module in the electronic device when the connector is connected to the electronic device.
本公开实施例的数据传输装置,所述第一判断模块用于根据所述触点的电压,判断所述连接器是否与所述电子设备连接。In the data transmission device of the embodiment of the present disclosure, the first judgment module is configured to judge whether the connector is connected to the electronic device according to the voltage of the contact.
本公开实施例的数据传输装置,所述壳体内部还设置有第一磁性模块和第一磁场检测模块;In the data transmission device of the embodiment of the present disclosure, a first magnetic module and a first magnetic field detection module are further arranged inside the housing;
所述第一判断模块用于在所述电子设备的内部设置有第二磁性模块的情况下,根据第一磁场检测模块检测到的磁场强度,判断所述连接器是否与所述电子设备连接。The first judging module is used for judging whether the connector is connected to the electronic device according to the magnetic field intensity detected by the first magnetic field detection module when a second magnetic module is provided inside the electronic device.
所述第一判断模块用于在第一磁场检测模块检测到的磁场强度由第一磁场强度变为第二磁场强度的情况下,确定所述连接器与所述电子设备连接,其中,所述第二磁场强度大于所述第一磁场强度。The first judgment module is used for determining that the connector is connected to the electronic device when the magnetic field intensity detected by the first magnetic field detection module changes from the first magnetic field intensity to the second magnetic field intensity, wherein the The intensity of the second magnetic field is greater than the intensity of the first magnetic field.
本公开实施例的数据传输装置,判断连接器是否与电子设备连接;在所述连接器与所述电子设备连接的情况下,通过所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据传输,进而便可简单快捷地实现对电子设备的充电,而无需在电子设备上开设USB接口,有利于保证电子设备外观的整体性。The data transmission device of the embodiment of the present disclosure judges whether the connector is connected to the electronic device; in the case that the connector is connected to the electronic device, the first wireless communication module communicates with the second one of the electronic devices. The wireless communication module performs data transmission, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
本公开实施例还提供了一种连接器,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述应用于连接器的数据传输方法的步骤。The embodiment of the present disclosure also provides a connector, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, the above The steps of the data transmission method applied to the connector.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述应用于连接器的数据传输方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned data transmission method embodiment applied to a connector is realized, and To achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
如图1、图2和图6所示,本公开实施例还提供了一种电子设备2,该电子设备可以具体为智能手机、平板电脑/PAD、个人计算机、智能手表等,该电子设备2包括:As shown in Figure 1, Figure 2 and Figure 6, an embodiment of the present disclosure also provides an electronic device 2. The electronic device may specifically be a smart phone, a tablet/PAD, a personal computer, a smart watch, etc. The electronic device 2 include:
壳体;case;
所述壳体内部设置有第二无线通信模块303;A second wireless communication module 303 is provided inside the housing;
所述壳体外表面上设置有触点;Contacts are provided on the outer surface of the housing;
其中,当电子设备通过所述触点与连接器连接时,所述第二无线通信模块与所述连接器中的第一无线通信模块进行数据传输。Wherein, when the electronic device is connected to the connector through the contact, the second wireless communication module performs data transmission with the first wireless communication module in the connector.
这里,第一无线通信模块与第二无线通信模块进行数据传输可以具体是传输充电指令。Here, the data transmission between the first wireless communication module and the second wireless communication module may specifically be the transmission of charging instructions.
上述电子设备的壳体可以具体为电子设备的电池后盖。上述触点可以突出所述壳体的外表面设置,也可以与所述壳体的外表面相平齐。该触点具体为金属触点。该触点用于与连接器第一接口壳体上的触点接触连接。在本公开的具体实施例中,电子设备与连接器的第一接口连接。The housing of the above electronic device may be specifically a battery back cover of the electronic device. The above-mentioned contacts may be arranged protruding from the outer surface of the housing, or may be flush with the outer surface of the housing. The contact is specifically a metal contact. The contact is used for contact connection with the contact on the first interface housing of the connector. In a specific embodiment of the present disclosure, the electronic device is connected to the first interface of the connector.
可选地,所述壳体内部还设置有第二磁性模块、第二磁场检测模块和充电模块302。Optionally, a second magnetic module, a second magnetic field detection module, and a charging module 302 are also provided inside the housing.
该第二磁性模块可以包括至少一个永磁铁,且连接器的壳体的内部也可以设置有至少一个永磁铁,通过上述连接器第一接口的壳体内部的永磁铁与电子设备内部设置的永磁铁相吸引,使得连接器的第一接口的壳体上的触点与电子设备的壳体上的触点接触连接。上述永磁铁可以为条形永磁铁或马蹄形永磁铁。也可以为其他形状的永磁体。The second magnetic module may include at least one permanent magnet, and at least one permanent magnet may be provided inside the housing of the connector. The permanent magnet inside the housing of the first interface of the connector and the permanent magnet inside the electronic device The magnets are attracted so that the contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device. The above-mentioned permanent magnet may be a bar-shaped permanent magnet or a horseshoe-shaped permanent magnet. It can also be a permanent magnet of other shapes.
具体的,通过上述连接器第一接口的壳体内部的永磁铁与电子设备内部设置的永磁铁相吸引,使得连接器的第一接口的壳体上的触点与电子设备的壳体上的触点接触连接,进而便可简单快捷地实现对电子设备的充电,而无需在电子设备上开设USB接口,有利于保证电子设备外观的整体性。Specifically, the permanent magnet inside the housing of the first interface of the connector is attracted to the permanent magnet set inside the electronic device, so that the contact on the housing of the first interface of the connector is in contact with the contact on the housing of the electronic device. The contact contact connection can realize the charging of the electronic device simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
可选地,本公开实施例的电子设备,上述触点包括:第三触点和第四触点,所述第三触点为电源Vbus信号对应的触点,所述第四触点为接地GND信号对应的触点。Optionally, in the electronic device of the embodiment of the present disclosure, the aforementioned contacts include: a third contact and a fourth contact, the third contact is a contact corresponding to a power Vbus signal, and the fourth contact is a ground The contact corresponding to the GND signal.
本公开实施例的电子设备仅设置电源Vbus信号对应的触点和接地GND信号对应的触点,大大节省了触点在电子设备外壳上所占用的空间。The electronic device of the embodiment of the present disclosure only provides the contact corresponding to the power Vbus signal and the contact corresponding to the ground GND signal, which greatly saves the space occupied by the contact on the electronic device housing.
在本公开实施例中,可在电子设备的壳体的内部设置至少一个永磁铁,其中,作为一种可选的实现方式,所述第二磁性模块包括一个永磁铁,即所述壳体内部设置有一个永磁铁4。该永磁铁4可具体为条形永磁铁或马蹄形永磁铁。In the embodiment of the present disclosure, at least one permanent magnet may be arranged inside the housing of the electronic device, wherein, as an optional implementation, the second magnetic module includes a permanent magnet, that is, the inside of the housing A permanent magnet 4 is provided. The permanent magnet 4 can be a bar-shaped permanent magnet or a horseshoe-shaped permanent magnet.
在该永磁铁4为条形磁铁,如图1所示,永磁铁4的第一端在所述壳体 外表面上的正投影位于所述第三触点和所述第四触点之间。该永磁铁4的第一端可以是该条形永磁铁的N极,也可以是该条形永磁铁的S极。在上述永磁铁3的第一端为N极时,永磁铁4的第一端为S极;在上述永磁铁3的第一端为S极时,永磁铁4的第一端为N极。The permanent magnet 4 is a bar magnet. As shown in Fig. 1, the orthographic projection of the first end of the permanent magnet 4 on the outer surface of the housing is located between the third contact and the fourth contact. The first end of the permanent magnet 4 can be the N pole of the bar permanent magnet or the S pole of the bar permanent magnet. When the first end of the permanent magnet 3 is an N pole, the first end of the permanent magnet 4 is an S pole; when the first end of the permanent magnet 3 is an S pole, the first end of the permanent magnet 4 is an N pole.
在该所述永磁铁4为马蹄形磁铁,如图1所示,所述第三触点和所述第四触点均位于第五投影和第六投影之间。所述第五投影为所述永磁铁4的第一端在所述壳体外表面上的正投影,所述第六投影为所述永磁铁4的第二端在所述壳体外表面上的正投影。The permanent magnet 4 is a horseshoe-shaped magnet. As shown in FIG. 1, the third contact and the fourth contact are both located between the fifth projection and the sixth projection. The fifth projection is the orthographic projection of the first end of the permanent magnet 4 on the outer surface of the housing, and the sixth projection is the orthographic projection of the second end of the permanent magnet 4 on the outer surface of the housing. projection.
其中,马蹄形磁铁的第一端的磁极的极性和马蹄形磁铁的第二端的磁极的极性相反。例如,马蹄形磁铁的第一端为N极,则第二端为S极。Wherein, the polarity of the magnetic pole at the first end of the horseshoe magnet is opposite to the polarity of the magnetic pole at the second end of the horseshoe magnet. For example, the first end of a horseshoe magnet is N pole, and the second end is S pole.
作为另一种可选的实现方式,如图2所示,所述第二磁性模块包括第三永磁铁和第四永磁铁,即所述壳体内部设置有第三永磁铁41和第四永磁铁42,所述第三永磁铁和所述第四永磁铁均为条形磁铁;As another optional implementation manner, as shown in FIG. 2, the second magnetic module includes a third permanent magnet and a fourth permanent magnet, that is, a third permanent magnet 41 and a fourth permanent magnet are arranged inside the housing. Magnet 42, the third permanent magnet and the fourth permanent magnet are both bar magnets;
所述第三触点和所述第四触点均位于第七投影和第八投影之间;The third contact and the fourth contact are both located between the seventh projection and the eighth projection;
所述第七投影为所述第三永磁铁的第一端在所述壳体外表面上的正投影,所述第八投影为所述第四永磁铁的第二端在所述壳体外表面上的正投影。The seventh projection is the orthographic projection of the first end of the third permanent magnet on the outer surface of the housing, and the eighth projection is the second end of the fourth permanent magnet on the outer surface of the housing Orthographic projection.
其中,所述第三永磁铁41的第一端的磁极的极性和所述第四永磁铁42的第二端的磁极的极性相反。Wherein, the polarity of the magnetic pole at the first end of the third permanent magnet 41 is opposite to the polarity of the magnetic pole at the second end of the fourth permanent magnet 42.
本公开实施例中,将第三触点和第四触点设置在至少一个永磁铁形成的磁场中,从而使得连接器的壳体内的永磁铁与电子设备的壳体内的永磁铁相吸时,使得连接器的第一接口的壳体上的触点与电子设备的壳体上的触点接触连接,进而便可简单快捷地实现对电子设备的充电,而无需在电子设备上开设USB接口,有利于保证电子设备外观的整体性。In the embodiment of the present disclosure, the third contact and the fourth contact are arranged in a magnetic field formed by at least one permanent magnet, so that when the permanent magnet in the housing of the connector attracts the permanent magnet in the housing of the electronic device, The contacts on the housing of the first interface of the connector are in contact with the contacts on the housing of the electronic device, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device. It helps to ensure the integrity of the appearance of electronic equipment.
可选地,如图6所示,本公开实施例的电子设备,还包括:Optionally, as shown in FIG. 6, the electronic device of the embodiment of the present disclosure further includes:
与所述充电模块302电连接的处理器301;A processor 301 electrically connected to the charging module 302;
所述处理器301与所述第二无线通信模块303电连接,且所述充电模块分别与所述第三触点、所述第四触点和所述电子设备的电池304电连接。The processor 301 is electrically connected to the second wireless communication module 303, and the charging module is electrically connected to the third contact, the fourth contact, and the battery 304 of the electronic device, respectively.
上述充电模块302用于检测电源信号对应的触点上的电压,并为所述电池进行充电。The above-mentioned charging module 302 is used for detecting the voltage on the contact corresponding to the power signal and charging the battery.
上述处理器用于在接收到表征电源触点上的电压为预设电压时,控制无线通信模块与连接器建立通信连接。The above-mentioned processor is used for controlling the wireless communication module to establish a communication connection with the connector when receiving the voltage indicating that the voltage on the power contact is the preset voltage.
所述处理器301还用于在通过所述第二无线通信模块303接收到供电设备的类型后,根据所述供电设备的类型调整所述充电模块302的充电参数,该充电参数可以包括充电电流和/或充电电压。The processor 301 is further configured to, after receiving the type of the power supply device through the second wireless communication module 303, adjust the charging parameters of the charging module 302 according to the type of the power supply device. The charging parameters may include a charging current. And/or charging voltage.
在充电过程中,所述充电模块302可采集所述电池304的温度和电压,并将所述温度和所述电压发送至所述处理器301;处理器301通过所述第二无线通信模块303与所述连接器1进行通信数据的传输,并根据接收到的所述通信数据以及所述电池304的电压和温度调整所述充电模块302的充电参数;其中,所述通信数据包括:供电设备的温度、输出电压和输出电流。During the charging process, the charging module 302 can collect the temperature and voltage of the battery 304, and send the temperature and the voltage to the processor 301; the processor 301 uses the second wireless communication module 303 Perform communication data transmission with the connector 1, and adjust the charging parameters of the charging module 302 according to the received communication data and the voltage and temperature of the battery 304; wherein, the communication data includes: power supply equipment Temperature, output voltage and output current.
可选地,如图6所示,所述电子设备还包括:Optionally, as shown in FIG. 6, the electronic device further includes:
与所述第二无线通信模块303电连接的天线305。An antenna 305 electrically connected to the second wireless communication module 303.
通过该第二无线通信模块303以及天线305,可以完成与连接器第一接口内部的第一无线通信模块的数据传输,例如,充电时,传输充电控制指令,在与电脑连接传输数据时,传输连接指令和数据流。Through the second wireless communication module 303 and the antenna 305, data transmission with the first wireless communication module inside the first interface of the connector can be completed, for example, when charging, the charging control command is transmitted, and when connecting to the computer to transmit data, the transmission Connect instruction and data flow.
本公开实施例中的第二无线通信模块可以具体为蓝牙模块或者无线保真WIFI模块等。The second wireless communication module in the embodiment of the present disclosure may be specifically a Bluetooth module or a wireless fidelity WIFI module.
下面结合图7具体对本公开实施例的充电过程进行说明。The charging process of the embodiment of the present disclosure will be specifically described below with reference to FIG. 7.
如图7所示,该充电过程包括:As shown in Figure 7, the charging process includes:
步骤701:连接器的第二接口与供电设备连接。Step 701: The second interface of the connector is connected to the power supply device.
步骤702:连接器开启无线通信,处于待机状态。Step 702: The connector starts wireless communication and is in a standby state.
步骤703:连接器识别所连接供电设备的类型。Step 703: The connector recognizes the type of the connected power supply device.
这里,识别供电设备的类型是为了确定连接器所采用充电电流、电压等。Here, identifying the type of power supply device is to determine the charging current and voltage used by the connector.
步骤704:连接器的磁场检测模块检测触点所处位置的磁场强度是否变强。Step 704: The magnetic field detection module of the connector detects whether the magnetic field strength at the position where the contact is located becomes stronger.
步骤705:在触点所处位置的磁场强度变强时,选通元件闭合,电子设备检测到电源信号,否则,跳转到步骤501。Step 705: When the strength of the magnetic field at the position of the contact becomes stronger, the gate element is closed, and the electronic device detects the power signal; otherwise, skip to step 501.
步骤706:电子设备开启无线通信。Step 706: The electronic device starts wireless communication.
步骤707:电子设备与第二接口进行无线通信。Step 707: The electronic device performs wireless communication with the second interface.
步骤708:电子设备获取供电设备类型并设置到对应的充电状态。Step 708: The electronic device obtains the type of the power supply device and sets it to a corresponding charging state.
步骤709:电子设备与连接器保持持续通信。Step 709: The electronic device maintains continuous communication with the connector.
这里,电子设备与连接器保持持续通信,例如传输充电控制数据或者文件数据等。Here, the electronic device maintains continuous communication with the connector, such as transmitting charging control data or file data.
本公开实施例的技术方案,通过上述连接器第一接口的壳体内部的永磁铁与电子设备内部设置的永磁铁相吸引,使得连接器的第一接口的壳体上的两个触点与电子设备的壳体上的两个触点接触连接,进而便可简单快捷地实现对电子设备的充电,而无需在电子设备上开设USB接口,有利于保证电子设备外观的整体性。According to the technical solution of the embodiment of the present disclosure, the permanent magnet inside the housing of the first interface of the connector is attracted to the permanent magnet set inside the electronic device, so that the two contacts on the housing of the first interface of the connector are The two contacts on the housing of the electronic device are in contact and connected, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
如图8所示,本公开实施例还提供了一种数据传输方法,应用于如上所述的电子设备,所述方法包括:As shown in FIG. 8, an embodiment of the present disclosure also provides a data transmission method, which is applied to the above-mentioned electronic device, and the method includes:
步骤801:判断所述电子设备是否与连接器连接。Step 801: Determine whether the electronic device is connected to the connector.
作为一种可选的实现方式,根据充电模块检测到的触点的电压,判断所述电子设备是否与连接器连接。As an optional implementation manner, it is determined whether the electronic device is connected to the connector according to the voltage of the contact detected by the charging module.
在充电模块检测到的电源信号对应的触点的电压为预设电压的情况下,确定对所述电子设备的电池进行充电。When the voltage of the contact corresponding to the power signal detected by the charging module is the preset voltage, it is determined to charge the battery of the electronic device.
作为另一种可选的实现方式,所述壳体内部还设置有第二磁性模块和第二磁场检测模块;As another optional implementation manner, a second magnetic module and a second magnetic field detection module are further provided inside the housing;
在所述连接器的内部设置有第一磁性模块的情况下,根据第二磁场检测模块检测到的磁场强度,判断所述电子设备是否与所述连接器连接。When the first magnetic module is provided inside the connector, it is determined whether the electronic device is connected to the connector according to the magnetic field intensity detected by the second magnetic field detection module.
步骤802:在所述电子设备与连接器连接的情况下,通过所述第二无线通信模块与所述连接器中的第一无线通信模块进行数据传输。Step 802: When the electronic device is connected to the connector, perform data transmission with the first wireless communication module in the connector through the second wireless communication module.
本公开实施例的数据传输方法,判断电子设备是否与连接器连接;在所述电子设备与连接器连接的情况下,通过所述第二无线通信模块与所述连接器中的第一无线通信模块进行数据传输,进而便可简单快捷地实现对电子设备的充电,而无需在电子设备上开设USB接口,有利于保证电子设备外观的整体性。According to the data transmission method of the embodiment of the present disclosure, it is judged whether the electronic device is connected with the connector; when the electronic device is connected with the connector, it communicates with the first wireless communication module in the connector through the second wireless communication module The module performs data transmission, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
如图9所示,本公开实施例还提供了一种数据传输装置,应用于如上所述的电子设备,该装置包括:As shown in FIG. 9, an embodiment of the present disclosure also provides a data transmission device, which is applied to the above-mentioned electronic equipment, and the device includes:
第二判断模块901,用于判断所述电子设备是否与连接器连接;The second judgment module 901 is used to judge whether the electronic device is connected to the connector;
第二传输模块902,用于在所述电子设备与连接器连接的情况下,通过所述第二无线通信模块与所述连接器中的第一无线通信模块进行数据传输。The second transmission module 902 is configured to perform data transmission with the first wireless communication module in the connector through the second wireless communication module when the electronic device is connected to the connector.
本公开实施例的数据传输装置,判断电子设备是否与连接器连接;在所述电子设备与连接器连接的情况下,通过所述第二无线通信模块与所述连接器中的第一无线通信模块进行数据传输,进而便可简单快捷地实现对电子设备的充电,而无需在电子设备上开设USB接口,有利于保证电子设备外观的整体性。The data transmission device of the embodiment of the present disclosure determines whether the electronic device is connected to the connector; in the case that the electronic device is connected to the connector, it communicates with the first wireless communication module in the connector through the second wireless communication module The module performs data transmission, so that the electronic device can be charged simply and quickly without opening a USB interface on the electronic device, which helps to ensure the integrity of the appearance of the electronic device.
本公开的实施例还提供了一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述应用于电子设备的数据传输方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present disclosure also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor. When the computer program is executed by the processor, the application to the electronic device is realized. Each process of the embodiment of the data transmission method can achieve the same technical effect. To avoid repetition, details are not repeated here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述应用于电子设备的数据传输方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned data transmission method embodiment applied to an electronic device is realized, and To achieve the same technical effect, in order to avoid repetition, I will not repeat them here. Wherein, the computer readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.
图10为实现本公开各个实施例的一种电子设备的硬件结构示意图。该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、处理器1010、以及电源1011等部件。显示单元1006包括至少两个显示屏。本领域技术人员可以理解,图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。所述电子设备还包括如上所述实施例中电子设备的各个部件,如充电模块,无线通信模块等。FIG. 10 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present disclosure. The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and Power supply 1011 and other components. The display unit 1006 includes at least two display screens. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present disclosure, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers. The electronic device also includes various components of the electronic device in the above-mentioned embodiments, such as a charging module, a wireless communication module, and so on.
其中,处理器1010,用于判断所述电子设备是否与连接器连接;Wherein, the processor 1010 is configured to determine whether the electronic device is connected to the connector;
在所述电子设备与连接器连接的情况下,通过所述第二无线通信模块与所述连接器中的第一无线通信模块进行数据传输。When the electronic device is connected to the connector, data transmission is performed with the first wireless communication module in the connector through the second wireless communication module.
应理解的是,本公开实施例中,射频单元1001可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1010处理;另外,将上行的数据发送给基站。通常,射频单元1001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1001还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 1001 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 1010; Uplink data is sent to the base station. Generally, the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块1002为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元1003可以将射频单元1001或网络模块1002接收的或者在存储器1009中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1003还可以提供与电子设备1000执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1003包括扬声器、蜂鸣器以及受话器等。The audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the electronic device 1000 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
输入单元1004用于接收音频或视频信号。输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1006上。经图形处理器10041处理后的图像帧可以存储在存储器1009(或其它存储介质)中或者经由射频单元1001或网络模块1002进行发送。麦克风10042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1001发送到移动通信基站的格式输出。The input unit 1004 is used to receive audio or video signals. The input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame can be displayed on the display unit 1006. The image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 for output in the case of a telephone call mode.
电子设备1000还包括至少一种传感器1005,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板10061的亮度,接近传感器可在电子设备1000移动到耳边时,关闭显示面板10061和/或背光。 作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1005还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 1000 further includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 10061 and 10061 when the electronic device 1000 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元1006用于显示由用户输入的信息或提供给用户的信息。显示单元1006可包括显示面板10061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板10061。The display unit 1006 is used to display information input by the user or information provided to the user. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元1007可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板10071上或在触控面板10071附近的操作)。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1010,接收处理器1010发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板10071。除了触控面板10071,用户输入单元1007还可以包括其他输入设备10072。具体地,其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1007 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071 operating). The touch panel 10071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it The processor 1010 receives and executes the command sent by the processor 1010. In addition, the touch panel 10071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 may also include other input devices 10072. Specifically, other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
可选的,触控面板10071可覆盖在显示面板10061上,当触控面板10071检测到在其上或附近的触摸操作后,传送给处理器1010以确定触摸事件的类型,随后处理器1010根据触摸事件的类型在显示面板10061上提供相应的视觉输出。虽然在图10中,触控面板10071与显示面板10061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触 控面板10071与显示面板10061集成而实现电子设备的输入和输出功能,具体此处不做限定。Optionally, the touch panel 10071 may cover the display panel 10061. When the touch panel 10071 detects a touch operation on or near it, it is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 according to The type of touch event provides corresponding visual output on the display panel 10061. Although in FIG. 10, the touch panel 10071 and the display panel 10061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元1008为外部装置与电子设备1000连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1008可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备1000内的一个或多个元件或者可以用于在电子设备1000和外部装置之间传输数据。The interface unit 1008 is an interface for connecting an external device and the electronic device 1000. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 1000 or can be used to connect to the electronic device 1000 and the external device. Transfer data between devices.
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1009可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器1010是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器1009内的软件程序和/或模块,以及调用存储在存储器1009内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器1010可包括一个或多个处理单元;可选的,处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。The processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 1009, and calls the data stored in the memory 1009 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
电子设备1000还可以包括给各个部件供电的电源1011(比如电池),可选的,电源1011可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components. Optionally, the power supply 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备1000包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 1000 includes some functional modules not shown, which will not be repeated here.
本公开实施例的电子设备包括由射频单元、网络模块、音频输出单元、 输入单元、传感器、显示单元、用户输入单元、接口单元、存储器、处理器、以及电源等部件构成的设备。The electronic device of the embodiment of the present disclosure includes a device composed of radio frequency unit, network module, audio output unit, input unit, sensor, display unit, user input unit, interface unit, memory, processor, and power supply.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other.
尽管已描述了本公开实施例的可选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括可选实施例以及落入本公开实施例范围的所有变更和修改。Although the optional embodiments of the embodiments of the present disclosure have been described, those skilled in the art can make additional changes and modifications to these embodiments once they learn the basic creative concept. Therefore, the appended claims are intended to be interpreted as including alternative embodiments and all changes and modifications falling within the scope of the embodiments of the present disclosure.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities Or there is any such actual relationship or sequence between operations. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also those that are not explicitly listed Other elements listed, or also include elements inherent to this process, method, article, or terminal device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other same elements in the process, method, article or terminal device that includes the element.
以上所述仅为本公开的可选实施例而已,并不用以限制本公开,凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above are only optional embodiments of the present disclosure and are not intended to limit the present disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the present disclosure. Within the scope of protection.

Claims (23)

  1. 一种连接器,所述连接器的第一端具有第一接口,第二端具有第二接口,其中,所述第一接口包括:A connector having a first interface at a first end and a second interface at a second end, wherein the first interface includes:
    壳体;case;
    所述壳体内部设置有第一无线通信模块;A first wireless communication module is arranged inside the housing;
    所述壳体外表面上设置有触点;Contacts are provided on the outer surface of the housing;
    其中,当所述连接器通过所述触点与电子设备连接时,所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据传输。Wherein, when the connector is connected to the electronic device through the contact, the first wireless communication module and the second wireless communication module in the electronic device perform data transmission.
  2. 根据权利要求1所述的连接器,其中,所述壳体内部还设置有第一磁性模块和第一磁场检测模块。The connector according to claim 1, wherein a first magnetic module and a first magnetic field detection module are further provided inside the housing.
  3. 根据权利要求2所述的连接器,其中,所述触点包括:第一触点和第二触点,所述第一触点为电源信号对应的触点,所述第二触点为接地信号对应的触点。The connector according to claim 2, wherein the contact includes: a first contact and a second contact, the first contact is a contact corresponding to a power signal, and the second contact is a ground The contact corresponding to the signal.
  4. 根据权利要求3所述的连接器,其中,所述第一磁性模块包括一个永磁铁;The connector of claim 3, wherein the first magnetic module includes a permanent magnet;
    所述永磁铁为条形磁铁,所述永磁铁的第一端在所述壳体外表面上的正投影位于所述第一触点和所述第二触点之间;The permanent magnet is a bar magnet, and the orthographic projection of the first end of the permanent magnet on the outer surface of the housing is located between the first contact and the second contact;
    或者,所述永磁铁为马蹄形磁铁,所述第一触点和所述第二触点均位于第一投影和第二投影之间;Alternatively, the permanent magnet is a horseshoe-shaped magnet, and the first contact and the second contact are both located between the first projection and the second projection;
    所述第一投影为所述永磁铁的第一端在所述壳体外表面上的正投影,所述第二投影为所述永磁铁的第二端在所述壳体外表面上的正投影。The first projection is an orthographic projection of the first end of the permanent magnet on the outer surface of the housing, and the second projection is an orthographic projection of the second end of the permanent magnet on the outer surface of the housing.
  5. 根据权利要求3所述的连接器,其中,所述第一磁性模块包括:第一永磁铁和第二永磁铁,所述第一永磁铁和所述第二永磁铁均为条形磁铁;The connector according to claim 3, wherein the first magnetic module comprises: a first permanent magnet and a second permanent magnet, and both the first permanent magnet and the second permanent magnet are bar magnets;
    所述第一触点和所述第二触点均位于第三投影和第四投影之间;The first contact and the second contact are both located between the third projection and the fourth projection;
    所述第三投影为所述第一永磁铁的第一端在所述壳体外表面上的正投影,所述第四投影为所述第二永磁铁的第二端在所述壳体外表面上的正投影。The third projection is an orthographic projection of the first end of the first permanent magnet on the outer surface of the housing, and the fourth projection is an orthographic projection of the second end of the second permanent magnet on the outer surface of the housing Orthographic projection.
  6. 一种数据传输方法,应用于权利要求1至5任一项所述的连接器,包括:A data transmission method applied to the connector according to any one of claims 1 to 5, comprising:
    判断所述连接器是否与电子设备连接;Determine whether the connector is connected to an electronic device;
    在所述连接器与所述电子设备连接的情况下,通过所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据传输。When the connector is connected to the electronic device, data transmission is performed with the second wireless communication module in the electronic device through the first wireless communication module.
  7. 根据权利要求6所述的数据传输方法,其中,判断所述连接器是否与电子设备连接,包括:The data transmission method according to claim 6, wherein determining whether the connector is connected to an electronic device comprises:
    根据所述触点的电压,判断所述连接器是否与所述电子设备连接。According to the voltage of the contact, it is determined whether the connector is connected to the electronic device.
  8. 根据权利要求6所述的数据传输方法,其中,所述壳体内部还设置有第一磁性模块和第一磁场检测模块;The data transmission method according to claim 6, wherein a first magnetic module and a first magnetic field detection module are further provided inside the housing;
    所述判断所述连接器是否与电子设备连接,包括:The determining whether the connector is connected to an electronic device includes:
    在所述电子设备的内部设置有第二磁性模块的情况下,根据第一磁场检测模块检测到的磁场强度,判断所述连接器是否与所述电子设备连接。When a second magnetic module is provided inside the electronic device, it is determined whether the connector is connected to the electronic device according to the magnetic field strength detected by the first magnetic field detection module.
  9. 根据权利要求8所述的数据传输方法,其中,根据第一磁场检测模块检测到的磁场强度,判断连接器是否与所述电子设备连接,包括:8. The data transmission method according to claim 8, wherein determining whether the connector is connected to the electronic device according to the magnetic field strength detected by the first magnetic field detection module comprises:
    在第一磁场检测模块检测到的磁场强度由第一磁场强度变为第二磁场强度的情况下,确定所述连接器与所述电子设备连接,其中,所述第二磁场强度大于所述第一磁场强度。When the magnetic field strength detected by the first magnetic field detection module changes from the first magnetic field strength to the second magnetic field strength, it is determined that the connector is connected to the electronic device, wherein the second magnetic field strength is greater than the first magnetic field strength. A magnetic field strength.
  10. 一种数据传输装置,应用于权利要求1至5任一项所述的连接器,包括:A data transmission device applied to the connector according to any one of claims 1 to 5, comprising:
    第一判断模块,用于判断所述连接器是否与电子设备连接;The first judgment module is used to judge whether the connector is connected to an electronic device;
    第一传输模块,用于在所述连接器与所述电子设备连接的情况下,通过所述第一无线通信模块与所述电子设备中的第二无线通信模块进行数据传输。The first transmission module is configured to perform data transmission between the first wireless communication module and the second wireless communication module in the electronic device when the connector is connected to the electronic device.
  11. 一种连接器,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求6至9任一项所述的数据传输方法的步骤。A connector including a processor, a memory, and a program stored on the memory and capable of running on the processor, and the program is executed by the processor as described in any one of claims 6 to 9 The steps of the data transmission method described.
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如权利要求6至9任一项所述的数据传输方法的步骤。A computer-readable storage medium with a program stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the data transmission method according to any one of claims 6 to 9 are realized.
  13. 一种电子设备,包括:An electronic device including:
    壳体;case;
    所述壳体内部设置有第二无线通信模块;A second wireless communication module is arranged inside the housing;
    所述壳体外表面上设置有触点;Contacts are provided on the outer surface of the housing;
    其中,当电子设备通过所述触点与连接器连接时,所述第二无线通信模块与所述连接器中的第一无线通信模块进行数据传输。Wherein, when the electronic device is connected to the connector through the contact, the second wireless communication module performs data transmission with the first wireless communication module in the connector.
  14. 根据权利要求13所述的电子设备,其中,所述壳体内部还设置有第二磁性模块、第二磁场检测模块和充电模块。The electronic device according to claim 13, wherein a second magnetic module, a second magnetic field detection module and a charging module are further provided inside the housing.
  15. 根据权利要求14所述的电子设备,其中,所述触点包括:第三触点和第四触点,所述第三触点为电源信号对应的触点,所述第四触点为接地信号对应的触点。The electronic device according to claim 14, wherein the contact includes: a third contact and a fourth contact, the third contact is a contact corresponding to a power signal, and the fourth contact is a ground The contact corresponding to the signal.
  16. 根据权利要求15所述的电子设备,其中,所述第二磁性模块包括一个永磁铁,The electronic device according to claim 15, wherein the second magnetic module comprises a permanent magnet,
    所述永磁铁为条形磁铁,所述永磁铁的第一端在所述壳体外表面上的正投影位于所述第三触点和所述第四触点之间;The permanent magnet is a bar magnet, and the orthographic projection of the first end of the permanent magnet on the outer surface of the housing is located between the third contact and the fourth contact;
    或者,所述永磁铁为马蹄形磁铁,所述第三触点和所述第四触点均位于第五投影和第六投影之间;Alternatively, the permanent magnet is a horseshoe-shaped magnet, and the third contact and the fourth contact are both located between the fifth projection and the sixth projection;
    所述第五投影为所述永磁铁的第一端在所述壳体外表面上的正投影,所述第六投影为所述永磁铁的第二端在所述壳体外表面上的正投影。The fifth projection is an orthographic projection of the first end of the permanent magnet on the outer surface of the housing, and the sixth projection is an orthographic projection of the second end of the permanent magnet on the outer surface of the housing.
  17. 根据权利要求15所述的电子设备,其中,所述第二磁性模块包括第三永磁铁和第四永磁铁,所述第三永磁铁和所述第四永磁铁均为条形磁铁;15. The electronic device according to claim 15, wherein the second magnetic module comprises a third permanent magnet and a fourth permanent magnet, and both the third permanent magnet and the fourth permanent magnet are bar magnets;
    所述第三触点和所述第四触点均位于第七投影和第八投影之间;The third contact and the fourth contact are both located between the seventh projection and the eighth projection;
    所述第七投影为所述第三永磁铁的第一端在所述壳体外表面上的正投影,所述第八投影为所述第四永磁铁的第二端在所述壳体外表面上的正投影。The seventh projection is the orthographic projection of the first end of the third permanent magnet on the outer surface of the housing, and the eighth projection is the second end of the fourth permanent magnet on the outer surface of the housing Orthographic projection.
  18. 一种数据传输方法,应用于权利要求13至17任一项所述的电子设备,包括:A data transmission method applied to the electronic device according to any one of claims 13 to 17, comprising:
    判断所述电子设备是否与连接器连接;Determine whether the electronic device is connected to the connector;
    在所述电子设备与连接器连接的情况下,通过所述第二无线通信模块与所述连接器中的第一无线通信模块进行数据传输。When the electronic device is connected to the connector, data transmission is performed with the first wireless communication module in the connector through the second wireless communication module.
  19. 根据权利要求18所述的数据传输方法,其中,判断所述电子设备是否与连接器连接,包括:The data transmission method according to claim 18, wherein determining whether the electronic device is connected to a connector comprises:
    根据充电模块检测到的触点的电压,判断所述电子设备是否与连接器连接。According to the voltage of the contact detected by the charging module, it is determined whether the electronic device is connected to the connector.
  20. 根据权利要求18所述的数据传输方法,其中,所述壳体内部还设置有第二磁性模块和第二磁场检测模块;The data transmission method according to claim 18, wherein a second magnetic module and a second magnetic field detection module are further provided inside the housing;
    判断所述电子设备是否与连接器连接,包括:Determining whether the electronic device is connected to a connector includes:
    在所述连接器的内部设置有第一磁性模块的情况下,根据第二磁场检测模块检测到的磁场强度,判断所述电子设备是否与所述连接器连接。When the first magnetic module is provided inside the connector, it is determined whether the electronic device is connected to the connector according to the magnetic field intensity detected by the second magnetic field detection module.
  21. 一种数据传输装置,应用于权利要求13至17任一项所述的电子设备,包括:A data transmission device applied to the electronic equipment according to any one of claims 13 to 17, comprising:
    第二判断模块,用于判断所述电子设备是否与连接器连接;The second judgment module is used to judge whether the electronic device is connected to the connector;
    第二传输模块,用于在所述电子设备与连接器连接的情况下,通过所述第二无线通信模块与所述连接器中的第一无线通信模块进行数据传输。The second transmission module is configured to perform data transmission with the first wireless communication module in the connector through the second wireless communication module when the electronic device is connected to the connector.
  22. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求18至20任一项所述的数据传输方法的步骤。An electronic device comprising a processor, a memory, and a program stored on the memory and capable of running on the processor, and when the program is executed by the processor, the implementation is as defined in any one of claims 18 to 20 The steps of the data transmission method described.
  23. 一种计算机可读存储介质,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如权利要求18至20任一项所述的数据传输方法的步骤。A computer-readable storage medium having a program stored thereon, and when the program is executed by a processor, the steps of the data transmission method according to any one of claims 18 to 20 are realized.
PCT/CN2020/081073 2019-03-29 2020-03-25 Connector, electronic apparatus, and data transmission method and device WO2020200005A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910252096.3A CN109995110B (en) 2019-03-29 2019-03-29 Connector, electronic equipment, data transmission method and device
CN201910252096.3 2019-03-29

Publications (1)

Publication Number Publication Date
WO2020200005A1 true WO2020200005A1 (en) 2020-10-08

Family

ID=67130802

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/081073 WO2020200005A1 (en) 2019-03-29 2020-03-25 Connector, electronic apparatus, and data transmission method and device

Country Status (2)

Country Link
CN (1) CN109995110B (en)
WO (1) WO2020200005A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995110B (en) * 2019-03-29 2021-08-24 维沃移动通信有限公司 Connector, electronic equipment, data transmission method and device
CN111145519B (en) * 2019-11-25 2022-04-26 上海智汇电器有限公司 Intelligent remote control and charging method and system
CN113966117B (en) * 2021-10-22 2023-06-13 Oppo广东移动通信有限公司 Electronic device, charging connecting wire and electronic device assembly
CN113966118B (en) * 2021-10-22 2023-07-21 Oppo广东移动通信有限公司 Electronic equipment, charging connecting wire and charging equipment assembly

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001119758A (en) * 1999-10-20 2001-04-27 Canon Inc Wired communication terminal, wireless terminal and communication system
CN103427497A (en) * 2012-05-24 2013-12-04 索尼公司 Power supply device, adapter, power receiving device, and power supply method
CN105789981A (en) * 2013-09-30 2016-07-20 苹果公司 Stackable magnetically-retained connector interface
CN206602522U (en) * 2016-01-22 2017-10-31 Sps株式会社 Magnetic connector
CN109995110A (en) * 2019-03-29 2019-07-09 维沃移动通信有限公司 A kind of connector, electronic equipment, data transmission method and device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1505801B1 (en) * 2003-08-05 2009-03-04 Research In Motion Limited Holster for supporting and charging a wireless peripheral of a mobile device
CN100367176C (en) * 2004-12-31 2008-02-06 技嘉科技股份有限公司 Wireless mouse
US8170623B2 (en) * 2006-11-17 2012-05-01 Apple Inc. Charging arrangement for electronic accessories
KR20090060076A (en) * 2007-12-08 2009-06-11 정다은 Charging apparatus of wireless mouse
CN101674366B (en) * 2009-09-19 2012-03-28 惠州Tcl移动通信有限公司 Mobile terminal USB, or charger inserting identification method and identification device thereof
CN101950999A (en) * 2010-09-21 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Wireless charging method, wireless charging receiving device and mobile terminal
JP4900528B1 (en) * 2011-09-08 2012-03-21 パナソニック株式会社 Non-contact charging module and non-contact charging device using the same
CN103532182B (en) * 2013-09-24 2015-12-02 小米科技有限责任公司 Charging assembly, portable electric appts and containment vessel
CN104821631B (en) * 2015-05-22 2018-01-02 上海斐讯数据通信技术有限公司 User equipment, power supply unit, charging base and the charging system formed
CN206759691U (en) * 2016-11-14 2017-12-15 厦门盈趣科技股份有限公司 Can spread combination intelligent playback equipment
CN208241707U (en) * 2017-12-28 2018-12-14 王兴 A kind of waterproof mobile phone that can carry bluetooth headset

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001119758A (en) * 1999-10-20 2001-04-27 Canon Inc Wired communication terminal, wireless terminal and communication system
CN103427497A (en) * 2012-05-24 2013-12-04 索尼公司 Power supply device, adapter, power receiving device, and power supply method
CN105789981A (en) * 2013-09-30 2016-07-20 苹果公司 Stackable magnetically-retained connector interface
CN206602522U (en) * 2016-01-22 2017-10-31 Sps株式会社 Magnetic connector
CN109995110A (en) * 2019-03-29 2019-07-09 维沃移动通信有限公司 A kind of connector, electronic equipment, data transmission method and device

Also Published As

Publication number Publication date
CN109995110A (en) 2019-07-09
CN109995110B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
WO2020200005A1 (en) Connector, electronic apparatus, and data transmission method and device
WO2020168892A1 (en) Charging control circuit, terminal device and control method
US20220191387A1 (en) Wearable device and display method
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
WO2021063249A1 (en) Control method for electronic device and electronic device
WO2022127802A1 (en) Electronic device, display control method and apparatus
WO2021109931A1 (en) Touch control method and wearable device
US20230254395A1 (en) Electronic Device and Control Method Thereof
WO2021238806A1 (en) Interface circuit and electronic device
WO2021147911A1 (en) Mobile terminal, method for detecting image capturing mode, and storage medium
WO2021169729A1 (en) Circuit control apparatus and method
WO2021004281A1 (en) State display method and terminal device
EP3934056A1 (en) Terminal and wireless charging control method
WO2021115172A1 (en) Display method and electronic device
CN109842872A (en) Working mode control method, Bluetooth headset, terminal and computer storage medium
WO2021238844A1 (en) Audio output method and electronic device
WO2020192414A1 (en) Mobile terminal and mobile terminal control method
WO2020038133A1 (en) Display method and mobile terminal
WO2021136264A1 (en) Power supply device of separable camera module
CN108009116B (en) MicroUSB interface circuit and mobile terminal thereof
WO2020221043A1 (en) Charge control circuit, terminal device and data line
WO2020259295A1 (en) Mobile terminal and control method
US20220416557A1 (en) Electronic device
CN111541804A (en) Electronic equipment, control method and control device
CN109862456A (en) Operating mode control method, bluetooth headset, terminal and computer storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20782817

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20782817

Country of ref document: EP

Kind code of ref document: A1