CN113055515B - Ultra-wideband data transmission method and equipment support - Google Patents

Ultra-wideband data transmission method and equipment support Download PDF

Info

Publication number
CN113055515B
CN113055515B CN202110241655.8A CN202110241655A CN113055515B CN 113055515 B CN113055515 B CN 113055515B CN 202110241655 A CN202110241655 A CN 202110241655A CN 113055515 B CN113055515 B CN 113055515B
Authority
CN
China
Prior art keywords
wideband
ultra
equipment
serial bus
external
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110241655.8A
Other languages
Chinese (zh)
Other versions
CN113055515A (en
Inventor
李伟荣
王厚珂
薛磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110241655.8A priority Critical patent/CN113055515B/en
Publication of CN113055515A publication Critical patent/CN113055515A/en
Application granted granted Critical
Publication of CN113055515B publication Critical patent/CN113055515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/04Supports for telephone transmitters or receivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers
    • G06F13/4077Precharging or discharging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Sources (AREA)

Abstract

The application discloses an ultra-wideband data transmission method and a device bracket, wherein power is provided for the device bracket through a universal serial bus interface of electronic equipment, and communication data is transmitted with the device bracket through the universal serial bus interface, and the communication data is transmitted with external ultra-wideband equipment through an ultra-wideband communication protocol by the device bracket, so that the communication data from the electronic equipment can be sent to the external ultra-wideband equipment or transmitted to the electronic equipment. Therefore, the universal serial bus interface of the multiplexing electronic equipment is used for supplying power to the equipment support, the equipment support is used as a communication bridge between the electronic equipment and external ultra-wideband equipment, the transformation of the electronic equipment is avoided, and the support of the electronic equipment to the ultra-wideband communication protocol can be realized at low cost.

Description

Ultra-wideband data transmission method and equipment support
Technical Field
The application relates to the technical field of communication, in particular to an ultra-wideband data transmission method and an equipment bracket.
Background
At present, electronic devices such as smart phones and tablet computers can perform wireless communication with other electronic devices through a wireless communication protocol, so that data can be transmitted between the electronic devices and the other electronic devices. However, with the rapid development of wireless communication technology, new wireless communication protocols continue to emerge, and the electronic devices cannot support the new wireless communication protocols because of the fixed hardware of the electronic devices after leaving the factory. For example, in order to enable an electronic device to support an Ultra wideband communication protocol, hardware for implementing an Ultra Wideband (UWB) communication protocol needs to be added to existing hardware of the electronic device, and in addition, structural design, circuit layout and the like of the electronic device need to be adjusted, so that a large implementation cost exists.
Disclosure of Invention
The application provides an ultra-wideband data transmission method and an equipment bracket, which can realize the support of an electronic equipment on an ultra-wideband communication protocol with low cost.
In a first aspect, the present application provides an ultra-wideband data transmission method, applied to an electronic device, where the ultra-wideband data transmission method includes:
when a gesture instruction for triggering ultra-wideband data transmission is received, providing power for a device bracket through a universal serial bus interface of the electronic device;
transmitting communication data with the equipment bracket through the universal serial bus interface;
the communication data is transmitted by the equipment support and the external ultra-wideband equipment through an ultra-wideband communication protocol.
In a second aspect, the present application further provides an ultra-wideband data transmission method applied to an equipment support, where the equipment support includes a universal serial bus interface and an ultra-wideband component, the ultra-wideband data transmission method includes:
receiving power provided by the electronic device through the universal serial bus interface;
transmitting communication data with the electronic equipment through the universal serial bus interface; and
and transmitting the communication data with external ultra-wideband equipment by adopting an ultra-wideband communication protocol through the ultra-wideband assembly.
In a third aspect, the present application also provides an equipment rack comprising a universal serial bus interface and an ultra-wideband assembly, wherein,
the universal serial bus interface is used for receiving power provided by the electronic equipment; and
the electronic equipment is used for transmitting communication data with the electronic equipment;
the ultra-wideband assembly is used for transmitting the communication data with external ultra-wideband equipment through an ultra-wideband communication protocol.
In the application, power is provided for the equipment support through the universal serial bus interface of the electronic equipment, and communication data is transmitted with the equipment support through the universal serial bus interface, wherein the communication data is transmitted with external ultra-wideband equipment through an ultra-wideband communication protocol by the equipment support, and can be transmitted to the external ultra-wideband equipment or transmitted to the electronic equipment. Therefore, the universal serial bus interface of the multiplexing electronic equipment is used for supplying power to the equipment support, the equipment support is used as a communication bridge between the electronic equipment and external ultra-wideband equipment, the transformation of the electronic equipment is avoided, and the support of the electronic equipment to the ultra-wideband communication protocol can be realized at low cost.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of an ultra wideband data transmission method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of an electronic device and a device holder according to an embodiment of the present application.
FIG. 3 is an exemplary diagram of a communication trigger control provided by an electronic device in an embodiment of the application.
Fig. 4 is a schematic diagram of communication data transmission between an electronic device and an external ultra-wideband device through a device bracket according to an embodiment of the present application.
FIG. 5 is a diagram of an example of a device control interface provided by an electronic device in an embodiment of the application.
Fig. 6 is another flow chart of an ultra wideband data transmission method according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an ultra wideband data transmission device according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 9 is a schematic structural view of an equipment rack according to an embodiment of the present application.
Fig. 10 is another schematic structural view of an equipment rack according to an embodiment of the present application.
Fig. 11 is a schematic flow chart of another ultra wideband data transmission method according to an embodiment of the present application.
Detailed Description
It should be noted that the terms "first," "second," and "third," etc. are used herein to distinguish between different objects and not to describe a particular order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the particular steps or modules listed and certain embodiments may include additional steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The embodiment of the application provides an ultra-wideband data transmission method, an ultra-wideband data transmission device, a storage medium, electronic equipment and an equipment bracket, wherein an execution main body of the ultra-wideband data transmission method can be the ultra-wideband data transmission device provided by the embodiment of the application or the electronic equipment integrated with the ultra-wideband data transmission device, and the ultra-wideband data transmission device can be realized in a hardware or software mode. The electronic device may be a device with a processing capability, such as a smart phone, a tablet computer, a palm computer, a notebook computer, and the like, configured with a processor.
Referring to fig. 1, fig. 1 is a schematic flow chart of an ultra-wideband data transmission method according to an embodiment of the present application, where the ultra-wideband data transmission method is implemented in an electronic device, as shown in fig. 1, and the flow chart of the ultra-wideband data transmission method according to the embodiment of the present application may be as follows:
at 110, upon receiving a gesture command to trigger ultra-wideband data transmission, power is provided to the device cradle through a universal serial bus interface of the electronic device.
It will be appreciated that at present, electronic devices such as smartphones, tablet computers and the like are all configured with a universal serial bus interface, and the electronic devices can be connected to a power adapter through the universal serial bus interface, and the electronic devices can be charged through the power adapter or connected to a computer, so that the electronic devices can be operated through the computer, or data can be backed up.
The type of the usb interface configured for the electronic device in the embodiment of the present application is not particularly limited, and may be selected by those skilled in the art according to actual needs. For example, in the embodiment of the present application, the electronic device adopts a Type-C universal serial bus interface.
It should be noted that the universal serial bus interface of the electronic device supports OTG functions, with which the electronic device can operate with both "host" and "peripheral" identities. In the embodiment of the application, after the equipment support is connected with the electronic equipment through the universal serial bus interface of the electronic equipment, the equipment support works in the form of a peripheral identity, and correspondingly, the electronic equipment works in the form of a host identity so as to expand the ultra-wideband communication capability of the electronic equipment.
The equipment rack comprises necessary hardware for realizing ultra-wideband communication, including but not limited to ultra-wideband units, ultra-wideband antennas and the like.
In the embodiment of the application, the universal serial bus interface of the multiplexing electronic equipment is used for supplying power to the equipment bracket, the equipment bracket assists the electronic equipment to realize ultra-wideband data transmission, and the equipment bracket is only supplied with power when a gesture instruction for triggering the ultra-wideband data transmission is received, so that the power consumption of the electronic equipment can be reduced, and meanwhile, the electronic equipment can meet the requirements of EMC authentication and SAR authentication.
It should be noted that, in the embodiment of the present application, the entity display form of the equipment rack is not particularly limited, and may be configured by those skilled in the art according to actual needs. For example, referring to fig. 2, when the electronic device is a smart phone, the device support may be a ring support, and the ring support is adsorbed on the back of the smart phone and used for supporting the smart phone.
In the embodiment of the application, when the electronic equipment receives a gesture instruction for triggering ultra-wideband data transmission, the electronic equipment judges that the ultra-wideband communication requirement exists for a user, and at the moment, a battery configured by the electronic equipment is utilized to supply power to a universal serial bus interface connected with the equipment bracket, so that the power is supplied to the equipment bracket through the universal serial bus interface.
It should be noted that, in the embodiment of the present application, the configuration of the gesture command for triggering the ultra-wideband data transmission is not particularly limited, and may be configured by those skilled in the art according to actual needs.
For example, referring to fig. 3, the electronic device provides a communication trigger control in the drop-down menu, configures a gesture instruction to be a single-click gesture on the communication trigger control, and accordingly, when the electronic device is required to communicate with an external ultra-wideband device, a user may operate the electronic device to display the drop-down menu, and single-click the communication trigger control in the drop-down menu to input the gesture instruction to the electronic device. In addition, other forms of gestures may be configured, including but not limited to double click, pan-tilt, quench gestures, etc., as may be specifically configured by one of skill in the art as desired.
At 120, communicating data with the equipment rack via the universal serial bus interface;
the communication data is transmitted by the equipment support and the external ultra-wideband equipment through an ultra-wideband communication protocol.
As above, the device cradle begins to operate based on the power provided by the electronic device through the universal serial bus interface.
In the embodiment of the application, the electronic device has ultra-wideband communication requirement, and after the device bracket starts working based on the power provided by the electronic device through the universal serial bus interface, the electronic device transmits communication data through the universal serial bus interface connected between the electronic device and the device bracket, wherein the communication data is transmitted with external ultra-wideband devices through an ultra-wideband communication protocol through the device bracket, as shown in fig. 4.
The electronic device sends communication data to the device bracket through the universal serial bus interface, and the device bracket forwards the communication data to the external ultra-wideband device through an ultra-wideband communication protocol; the device bracket may also forward the received communication data to the electronic device through the usb interface when receiving the communication data sent by the external uwb device through the uwb communication protocol.
The ultra-wideband communication protocol is a wireless carrier communication technology, which does not adopt a sine carrier, but uses non-sine wave narrow pulses of nanosecond level to transmit data, so that the occupied frequency spectrum is wide. The method has the advantages of low system complexity, low power spectrum density of the transmitted signal, insensitivity to channel fading, low interception capability, high positioning accuracy and the like, and is particularly suitable for high-speed wireless access in indoor and other dense multipath places.
It should be noted that, the embodiment of the present application is not particularly limited to the type of communication data, and may be any type of data.
As can be seen from the above, in the present application, power is provided to the device holder through the usb interface of the electronic device, and communication data is transmitted to the device holder through the usb interface, and the communication data is transmitted to the external ultra-wideband device through the ultra-wideband communication protocol by the device holder, which may be the transmission of communication data from the electronic device to the external ultra-wideband device, or the transmission of communication data from the external ultra-wideband device to the electronic device. Therefore, the universal serial bus interface of the multiplexing electronic equipment is used for supplying power to the equipment support, the equipment support is used as a communication bridge between the electronic equipment and external ultra-wideband equipment, the transformation of the electronic equipment is avoided, and the support of the electronic equipment to the ultra-wideband communication protocol can be realized at low cost.
Optionally, in an embodiment, providing power to the device cradle through a universal serial bus interface of the electronic device includes:
(1) When the universal serial bus interface is identified to have the external device access, providing first power for handshake communication for the external device through a power pin of the universal serial bus interface;
(2) Handshake communication is carried out with external equipment through a signal pin of the universal serial bus interface;
(3) And when the external device is determined to be the device bracket according to the handshake result, providing second power for data forwarding for the device bracket through a power pin of the universal serial bus interface.
In the embodiment of the application, the universal serial bus interface at least comprises a power supply pin, a signal pin and an ID pin, wherein when the OTG function is started, the power supply pin is used for providing power for the accessed external equipment, the signal pin is used for carrying out data interaction with the accessed external equipment, and the ID pin is used for identifying different cable endpoints so as to realize access detection, angular distinction and the like of the external equipment. Of course, in other embodiments, the universal serial bus interface may also include pins such as a CC pin and an SBU pin.
When the electronic device recognizes that the external device is accessed to the universal serial bus interface through the ID pin, the electronic device provides first power for handshake communication for the external device through a power pin of the universal serial bus interface, and then performs handshake communication with the accessed external device through a signal pin of the universal serial bus interface according to a configured handshake rule. When the accessed external equipment is determined to be the equipment support according to the handshake result, the electronic equipment further provides second power for data forwarding for the equipment support through a power pin of the universal serial bus interface according to the power negotiated with the equipment support. The configuration of the handshake rules is not particularly limited here, and may be configured by those skilled in the art according to actual needs.
Optionally, in an embodiment, after handshake communication with the external device through a signal pin of the universal serial bus interface, the method further includes:
when the handshake communication fails, the supply of the first power for the handshake communication to the external device through the power supply pin of the universal serial bus interface is stopped.
In the embodiment of the application, when handshake communication fails, the possibly accessed external device is not the device bracket or the external device is detected by mistake, and at the moment, the electronic device judges that the device bracket which assists in realizing ultra-wideband communication does not exist, and correspondingly stops providing the first power for handshake communication for the external device through the power pin of the universal serial bus interface.
Optionally, in an embodiment, the method for transmitting ultra-wideband data provided by the present application further includes:
(1) Providing a first voltage for access detection to an ID pin of a universal serial bus interface;
(2) When the voltage change value of the ID pin reaches a preset value, providing a second voltage for access detection for the ID pin, wherein the first voltage is smaller than the second voltage;
(3) When the ID pin is detected to be in a grounding state, the universal serial bus interface is identified to have external equipment access.
The embodiment of the application further provides an optional external equipment access detection strategy.
It should be noted that, as the "peripheral" external device, the ID pin of the universal serial bus interface is grounded, for example, the ID pin of the external device is grounded through a pull-down resistor, where the pull-down resistor may be a single resistor, or may be formed by connecting multiple resistors in series and/or parallel.
Thus, when the external device is connected to the electronic device, the voltage on the ID pin of the electronic device will be pulled down by the ID pin of the external device. Therefore, in the embodiment of the application, after the first voltage for access detection is provided for the ID pin, the electronic device can judge whether the universal serial bus interface of the electronic device is accessed to the external device or not by detecting the voltage change value of the ID pin.
In the embodiment of the application, after the ID pin of the universal serial bus interface is provided with the voltage for accessing and detecting the first voltage, the electronic device detects whether the voltage change value of the ID pin reaches the preset value, wherein when the voltage change value of the ID pin reaches the preset value, it is determined that the external device is possibly accessed to the universal serial bus interface, and when the voltage change value of the ID pin does not reach the preset value, it is determined that no external device is accessed to the universal serial bus interface.
The electronic device detects the voltage of the ID pin in real time after providing the first voltage for access detection for the ID pin of the universal serial bus interface, obtains the real-time voltage of the ID pin, calculates the voltage difference between the first voltage and the real-time voltage, and uses the calculated voltage difference as the voltage variation value of the ID pin.
It should be noted that, since the ID pin of the external device is grounded, when the external device is connected to the usb interface of the electronic device, the ID pin of the electronic device is also grounded, so that the voltage of the ID pin is pulled down to 0V. Therefore, in the embodiment of the present application, the preset value for determining whether the usb interface is likely to be connected to the external device is set to the voltage value of the first voltage, for example, when the first voltage provided by the electronic device for the ID of the usb interface is 0.5V, the preset value is also configured to be 0.5V.
As described above, when the voltage change value of the ID pin reaches the preset value, that is, when there is a possibility that an external device is connected to the usb interface, the electronic device further provides the second voltage for the ID pin for detecting the connection of the external device, where the second voltage may be understood as a normal voltage for detecting the connection of the external device in the related art, and the first voltage is smaller than the second voltage.
When the electronic device completes detection of the voltage change value on the ID pin, and detects that the voltage change value reaches a preset value, namely, when it is determined that external devices possibly access the universal serial bus interface of the electronic device, a second voltage for detecting the access of the external devices is provided for the ID pin, namely, the ID pin is pulled up to be high voltage.
It should be noted that, in the embodiment of the present application, the first voltage provided by the ID pin is smaller than the second voltage provided by the ID pin, and the first voltage is much smaller than the second voltage. For example, the electronic device supplies a first voltage of 0.5V to its ID pin, and when detecting that the voltage variation value of the ID pin reaches a preset value, supplies a second voltage of 3.3V to its ID pin.
After the second voltage is provided for the ID pin, the electronic device detects the state of the ID pin and obtains the current state of the ID pin. And then, determining whether the external equipment is connected to the universal serial bus interface according to the acquired current state.
It should be noted that, because the ID pin of the external device is grounded, when the external device is connected to the usb interface of the electronic device, the ID pin of the electronic device is also grounded, that is, when the external device is connected to the usb interface of the electronic device, the ID pin of the electronic device is in a grounded state.
Therefore, in the embodiment of the application, when the current state of the ID pin is detected to be the grounding state, the access of the external equipment to the universal serial bus interface is identified; and when the current state of the ID pin is not the grounding state, identifying that no external equipment is accessed to the universal serial bus interface.
The external equipment access detection strategy provided by the embodiment of the application firstly provides a low voltage for the ID pin of the universal serial bus interface, judges whether the universal serial bus interface is likely to be accessed to the external equipment according to whether the voltage change value of the ID pin reaches a preset value, and further provides a high voltage for detecting the access of the external equipment for the ID pin when judging that the universal serial bus interface is likely to be accessed to the external equipment so as to realize the access detection of the external equipment. Thus, only a high voltage is required to be provided to the ID pin in a short period of time, and a low voltage is provided to the ID pin in other long periods of time, and compared with the corrosion caused by the low voltage to the universal serial bus interface, the corrosion caused by the high voltage to the universal serial bus interface is far lower than that caused by the low voltage to the universal serial bus interface, and almost negligible corrosion is caused. Therefore, the service life of the universal serial bus interface can be prolonged.
Optionally, in an embodiment, after providing the second power for data forwarding to the device bracket through a power pin of the universal serial bus interface, the method further includes:
and stopping providing the second power for data forwarding to the equipment support through the power pin of the universal serial bus interface when the temperature value of the universal serial bus interface reaches a preset temperature value.
It will be appreciated that if the temperature of the usb interface is too high, it will be possible to burn out the usb interface and even damage the entire electronic device. When the electronic equipment supplies power to the equipment bracket through the universal serial bus interface, the temperature of the universal serial bus interface of the electronic equipment is rapidly increased. In order to avoid damage to the electronic device caused by power supply to the device support, in the embodiment of the application, the electronic device acquires the temperature value of the universal serial bus interface from the temperature sensor arranged at the universal serial bus interface in real time during power supply to the device support, and judges whether the acquired temperature value reaches a preset temperature value after acquiring the temperature value of the universal serial bus interface each time, wherein the preset temperature value is used for describing that the temperature value of the universal serial bus interface is too high, and particularly, a person skilled in the art can take an experience value according to actual needs.
And stopping providing the second power for data forwarding to the equipment support through the power pin of the universal serial bus interface when the temperature value of the universal serial bus interface reaches a preset temperature value, so that the temperature of the universal serial bus interface is prevented from continuously rising.
For example, the preset temperature value can be set to 50 ℃, and if the temperature value of the universal serial bus interface is 30 ℃, the electronic equipment continues to supply power to the equipment bracket through the universal serial bus interface; if the temperature value of the universal serial bus interface is 51 ℃, the electronic equipment stops providing the second power for data forwarding to the equipment support through the power pin of the universal serial bus interface.
Optionally, in an embodiment, after the second power for data forwarding is provided to the device bracket through the power pin of the universal serial bus interface, the method further includes:
when there is no communication demand with the external ultra-wideband device, after stopping the supply of the second power for data forwarding to the device holder through the power pin of the universal serial bus interface.
In the embodiment of the application, after the electronic equipment stops providing the second power for data forwarding to the equipment bracket through the power pin of the universal serial bus interface when the communication requirement with the external ultra-wideband equipment is identified to be absent.
For example, when the electronic device completes all data transmission with the external ultra-wideband device or receives an input communication ending instruction, it is determined that there is no communication requirement with the external ultra-wideband device currently.
Therefore, after the electronic equipment finishes data transmission with external ultra-wideband equipment, power supply to the equipment support is stopped, so that the electric quantity consumption of the electronic equipment can be reduced, and the risk of electric leakage of the electronic equipment can be reduced.
Optionally, in an embodiment, the communication data includes a device identifier of the external ultra-wideband device, and after the communication data is transmitted with the device bracket through the universal serial bus interface, the method further includes:
displaying an equipment control interface corresponding to external ultra-wideband equipment;
receiving a control instruction aiming at external ultra-wideband equipment through an equipment control interface;
and sending the control instruction to the equipment bracket through the universal serial bus interface, so that the equipment bracket sends the control instruction to external ultra-wideband equipment for execution through an ultra-wideband communication protocol.
The device identifier of the external ultra-wideband device is used for uniquely characterizing the external ultra-wideband device, and related information can be selected as the device identifier of the external ultra-wideband device by a person skilled in the art according to actual needs, for example, the MAC address of the external ultra-wideband device can be used as the device identifier thereof.
In the embodiment of the application, the external ultra-wideband equipment can take the self equipment identifier as communication data and send the communication data to the equipment bracket through an ultra-wideband communication protocol. Correspondingly, when the equipment bracket receives the equipment identifier sent by the external ultra-wideband equipment, the equipment identifier is sent to the electronic equipment through a universal serial bus interface of the electronic equipment. Correspondingly, the electronic device receives the device identification of the external ultra-wideband device sent by the device bracket through the universal serial bus interface.
For example, an external ultra-wideband device may send its device identification out in a low frequency transmit-only-receive-less manner.
As described above, after the electronic device receives the device identifier of the external ultra-wideband device forwarded by the device bracket through the universal serial bus interface, the electronic device remotely controls the external ultra-wideband device by using the received device identifier of the external ultra-wideband device.
The external ultra-wideband device can be uniquely characterized by its device identification. Therefore, after the electronic equipment receives the equipment identifier of the external ultra-wideband equipment forwarded by the equipment bracket, the identity of the external ultra-wideband equipment can be identified through the equipment identifier. And then, the electronic equipment displays an equipment control interface corresponding to the external ultra-wideband equipment according to the identity of the identified external ultra-wideband equipment. Thereby controlling the external ultra-wideband equipment through the equipment control interface.
For example, the external ultra-wideband device is a home appliance, and after the electronic device receives the device identifier sent by the home appliance through the device bracket, the electronic device can identify why the home appliance is the home appliance according to the device identifier, so that a device control interface corresponding to the home appliance is displayed, and a user can control the home appliance through the device control interface.
Therefore, a user does not need to search for an application program for controlling the external ultra-wideband device from a plurality of application programs installed in the electronic device, and the requirement of quick start control is met.
Wherein the device control interface is configured to generate control instructions for controlling the external ultra-wideband device according to user operations.
Correspondingly, in the process of displaying the equipment control interface, the electronic equipment receives a control instruction aiming at the external ultra-wideband equipment through the displayed equipment control interface. When a control instruction for external ultra-wideband equipment is received through the equipment control interface, the electronic equipment sends the control instruction to the equipment support through the universal serial bus interface, and the equipment support forwards the control instruction to the external ultra-wideband equipment through an ultra-wideband communication protocol to be executed.
For example, referring to fig. 5, the electronic device identifies that the external ultra-wideband device is an intelligent fan, and correspondingly displays a device control interface corresponding to the intelligent fan, where, as shown in fig. 5, the device control interface includes three controls, namely, a start-up control for controlling the intelligent fan to be turned on or off, a circulating wind control for controlling the intelligent fan to be turned on or off in a circulating wind mode, and a timing start-up control for controlling the intelligent fan to be started at a timing. Based on the equipment control interface, a user can click on a startup control, so that a startup control instruction for the intelligent fan is generated, the electronic equipment further forwards the startup control instruction to the intelligent fan through the equipment bracket, and the intelligent fan correspondingly starts up to supply air after receiving the startup control instruction; and then, if the user expects to start the circulating air mode of the intelligent fan, clicking the circulating air control, so that a circulating air control instruction aiming at the intelligent fan is generated, the electronic equipment further forwards the circulating air control instruction to the intelligent fan through the equipment bracket, and the intelligent fan correspondingly starts the circulating air mode after receiving the circulating air control instruction.
Optionally, in an embodiment, the control instruction is sent to the device bracket through the universal serial bus interface, so that the device bracket sends the control instruction to the external ultra-wideband device through the ultra-wideband communication protocol to execute, including:
when the mobile network is unavailable or the short-range control mode is started currently, a control instruction is sent to the equipment support through the universal serial bus interface, so that the equipment support sends the control instruction to external ultra-wideband equipment through an ultra-wideband communication protocol to be executed.
In the embodiment of the application, the electronic equipment is provided with a short-distance control mode, and the electronic equipment issues a control instruction through the equipment bracket in the short-distance control mode for controlling the external ultra-wideband equipment. Correspondingly, the electronic equipment is also provided with a mode switching control for opening and closing the short-distance control mode, and the electronic equipment receives user operation through the mode switching control, and correspondingly opens or closes the short-distance control mode.
In addition, when the electronic equipment receives a control instruction aiming at the external ultra-wideband equipment under the condition that the short-distance control mode is not started, firstly, whether the current mobile network is available or not is identified, and if the mobile network is unavailable, the electronic equipment also forwards the control instruction through the equipment support and is used for controlling the external ultra-wideband equipment.
Optionally, in an embodiment, the method for transmitting ultra-wideband data provided by the present application further includes:
and when the mobile network is available and the short-range control mode is currently closed, sending a control instruction to external ultra-wideband equipment through the mobile network for execution.
Optionally, in an embodiment, the communication data includes positioning data, and after the transmission of the communication data with the device bracket through the universal serial bus interface, the method further includes:
and calculating the position information of the electronic equipment according to the positioning data.
For example, the external ultra-wideband device may be an ultra-wideband positioning base station, where the location is fixed, and the positioning data is periodically sent outwards, and after the electronic device receives the positioning data through the device bracket, the electronic device may calculate, according to the configured positioning algorithm, the location information of the electronic device according to the received positioning data.
After calculating the location information of the electronic device, as described above, the electronic device may further utilize the location information,
referring to fig. 6, fig. 6 is another flow chart of an ultra-wideband data transmission method according to an embodiment of the present application, as shown in fig. 6, the ultra-wideband data transmission method may include:
At 210, the electronic device turns on an OTG function of the universal serial bus interface upon receiving a gesture command for triggering ultra wideband data transmission.
It will be appreciated that at present, electronic devices such as smartphones, tablet computers and the like are all configured with a universal serial bus interface, and the electronic devices can be connected to a power adapter through the universal serial bus interface, and the electronic devices can be charged through the power adapter or connected to a computer, so that the electronic devices can be operated through the computer, or data can be backed up.
The type of the usb interface configured for the electronic device in the embodiment of the present application is not particularly limited, and may be selected by those skilled in the art according to actual needs. For example, in the embodiment of the present application, the electronic device adopts a Type-C universal serial bus interface.
It should be noted that the universal serial bus interface of the electronic device supports OTG functions, with which the electronic device can operate with both "host" and "peripheral" identities. In the embodiment of the application, after the equipment support is connected with the electronic equipment through the universal serial bus interface of the electronic equipment, the equipment support works in the form of a peripheral identity, and correspondingly, the electronic equipment works in the form of a host identity so as to expand the ultra-wideband communication capability of the electronic equipment.
In the embodiment of the application, the electronic equipment starts the OTG function of the universal serial bus interface only when receiving the gesture instruction for triggering ultra-wideband data transmission, and firstly detects whether external equipment is accessed.
It should be noted that, in the embodiment of the present application, the configuration of the gesture command for triggering the ultra-wideband data transmission is not particularly limited, and may be configured by those skilled in the art according to actual needs.
For example, referring to fig. 3, the electronic device provides a communication trigger control in the drop-down menu, configures a gesture instruction to be a single-click gesture on the communication trigger control, and accordingly, when the electronic device is required to communicate with an external ultra-wideband device, a user may operate the electronic device to display the drop-down menu, and single-click the communication trigger control in the drop-down menu to input the gesture instruction to the electronic device. In addition, other forms of gestures may be configured, including but not limited to double click, pan-tilt, quench gestures, etc., as may be specifically configured by one of skill in the art as desired.
In 220, the electronic device provides a first power for handshaking communication to the external device via a power pin of the universal serial bus interface and handshakes communication with the external device via a signal pin of the universal serial bus interface upon identifying that the external device is attached to the universal serial bus interface.
In 230, the electronic device provides a second power for data forwarding to the device holder via the power pin of the universal serial bus interface when the external device is determined to be the device holder based on the handshake result.
The universal serial bus interface at least comprises a power supply pin, a signal pin and an ID pin, wherein when an OTG function is started, the power supply pin is used for providing power for external equipment which is accessed, the signal pin is used for carrying out data interaction with the external equipment which is accessed, and the ID pin is used for identifying different cable endpoints so as to realize access detection, angular distinction and the like of the external equipment. Of course, in other embodiments, the universal serial bus interface may also include pins such as a CC pin and an SBU pin.
When the electronic device recognizes that the external device is accessed to the universal serial bus interface through the ID pin, the electronic device provides first power for handshake communication for the external device through a power pin of the universal serial bus interface, and then performs handshake communication with the accessed external device through a signal pin of the universal serial bus interface according to a configured handshake rule. When the accessed external equipment is determined to be the equipment support according to the handshake result, the electronic equipment further provides second power for data forwarding for the equipment support through a power pin of the universal serial bus interface according to the power negotiated with the equipment support. The configuration of the handshake rules is not particularly limited here, and may be configured by those skilled in the art according to actual needs.
In 240, the electronic device communicates data with the device holder via the universal serial bus interface, and the communication data is communicated by the device holder to an external ultra-wideband device via an ultra-wideband communication protocol.
As above, the device cradle begins to operate based on the power provided by the electronic device through the universal serial bus interface.
In the embodiment of the application, the electronic equipment has the communication requirement of an ultra-wideband communication protocol, and after the equipment support starts working based on the electric power provided by the electronic equipment through the universal serial bus interface, the electronic equipment transmits communication data through the universal serial bus interface connected between the electronic equipment and the equipment support, wherein the communication data is transmitted with external ultra-wideband equipment through the ultra-wideband communication protocol which is not supported by the electronic equipment through the equipment support.
The electronic device sends communication data to the device bracket through the universal serial bus interface, and the device bracket forwards the communication data to external ultra-wideband equipment through an ultra-wideband communication protocol which is not supported by the electronic device; the device bracket may also forward the received communication data to the electronic device through the universal serial bus interface when receiving the communication data sent by the external ultra wideband device through an ultra wideband communication protocol not supported by the electronic device.
In 250, the electronic device turns off the OTG function of the universal serial bus interface when there is no communication demand with the external ultra wideband device, and stops providing the second power for data forwarding to the device cradle through the power pin of the universal serial bus interface.
In the embodiment of the application, after the electronic equipment stops providing the second power for data forwarding to the equipment bracket through the power pin of the universal serial bus interface when the communication requirement with the external ultra-wideband equipment is identified to be absent.
For example, when the electronic device completes all data transmission with the external ultra-wideband device or receives an input communication ending instruction, it is determined that there is no communication requirement with the external ultra-wideband device currently.
Therefore, after the electronic equipment finishes data transmission with external ultra-wideband equipment, power supply to the equipment support is stopped, so that the electric quantity consumption of the electronic equipment can be reduced, and the risk of electric leakage of the electronic equipment can be reduced.
In an embodiment, an ultra-wideband data transmission apparatus is also provided. Referring to fig. 7, fig. 7 is a schematic structural diagram of an ultra wideband data transmission device 300 according to an embodiment of the application. The ultra-wideband data transmission device 300 is applied to an electronic device, and includes a power supply module 310 and a communication module 320, as follows:
The power supply module 310 is configured to provide power to the device bracket through a universal serial bus interface of the electronic device when a gesture instruction for triggering ultra-wideband data transmission is received;
the communication module 320 is used for transmitting communication data with the equipment bracket through the universal serial bus interface;
the communication data is transmitted by the equipment support and the external ultra-wideband equipment through an ultra-wideband communication protocol.
Optionally, in an embodiment, when providing power to the device stand through the universal serial bus interface of the electronic device, the power module 310 is configured to:
when the universal serial bus interface is identified to have the external device access, providing first power for handshake communication for the external device through a power pin of the universal serial bus interface;
handshake communication is carried out with external equipment through a signal pin of the universal serial bus interface;
and when the external device is determined to be the device bracket according to the handshake result, providing second power for data forwarding for the device bracket through a power pin of the universal serial bus interface.
Optionally, in an embodiment, the power supply module 310 is further configured to:
providing a first voltage for access detection to an ID pin of a universal serial bus interface;
When the voltage change value of the ID pin reaches a preset value, providing a second voltage for access detection for the ID pin, wherein the first voltage is smaller than the second voltage;
when the ID pin is detected to be in a grounding state, the universal serial bus interface is identified to have external equipment access.
Optionally, in an embodiment, after handshaking communication with an external device through a signal pin of the universal serial bus interface, the power supply module 310 is further configured to:
when the handshake communication fails, the supply of the first power for the handshake communication to the external device through the power supply pin of the universal serial bus interface is stopped.
Optionally, in an embodiment, after providing the second power for data forwarding to the device rack through the power pin of the universal serial bus interface, the power module 310 is further configured to:
when there is no communication demand with the external ultra-wideband device, the supply of the second power for data forwarding to the device holder through the power pin of the universal serial bus interface is stopped.
Optionally, in an embodiment, the communication data includes a device identifier of the external ultra-wideband device, and after the transmission of the communication data with the device holder through the universal serial bus interface, the communication module 320 is further configured to:
Displaying an equipment control interface corresponding to external ultra-wideband equipment;
receiving a control instruction aiming at external ultra-wideband equipment through an equipment control interface;
and sending the control instruction to the equipment bracket through the universal serial bus interface, so that the equipment bracket sends the control instruction to external ultra-wideband equipment for execution through an ultra-wideband communication protocol.
In the implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or a plurality of entities, and the implementation of each unit may refer to the foregoing embodiments, which are not repeated herein.
In an embodiment, referring to fig. 8, an electronic device 400 includes a processor 410, a memory 420, and a usb interface 430. The processor 410 is electrically connected to the memory 420 and the usb interface 430.
The processor 410 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device 400 and processes data by running or loading computer programs stored in the memory 420, and invoking data stored in the memory 420.
The memory 420 may be used to store software programs and modules, and the processor 410 may perform various functional applications and data processing by executing the computer programs and modules stored in the memory 420. The memory 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, computer programs required for at least one function (such as a sound playing function, a communication playing function, etc.), and the like; the storage data area may store data created according to the use of the electronic device, etc. In addition, memory 420 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory 420 may also include a memory controller to provide processor 410 with access to memory 420.
The universal serial bus interface 430 is configured to provide power to an external device when the external device is accessed, thereby performing data interaction with the external device. The Type of the usb interface is not particularly limited herein, and may be, for example, a Type-C usb interface.
In the embodiment of the present application, the processor 410 in the electronic device 400 loads the instructions corresponding to the processes of one or more computer programs into the memory 420 according to the following steps, and the processor 410 executes the computer programs stored in the memory 420, so as to implement various functions, as follows:
upon receiving a gesture command to trigger ultra-wideband data transmission, power is provided to the device cradle through the universal serial bus interface 430 of the electronic device 400;
communication data transmission is performed with the equipment rack through the universal serial bus interface 430;
the communication data is transmitted by the equipment support and the external ultra-wideband equipment through an ultra-wideband communication protocol.
Optionally, in an embodiment, the processor 410 is configured to perform, when providing power to the device cradle through the universal serial bus interface 430 of the electronic device:
upon recognizing that the usb interface has an external device access, providing a first power for handshake communication to the external device through a power pin of the usb interface 430;
handshake communication is performed with external devices through signal pins of the universal serial bus interface 430;
when it is determined that the external device is the device cradle according to the handshake result, the second power for data forwarding is supplied to the device cradle through the power pin of the universal serial bus interface 430.
Optionally, in an embodiment, the processor 410 is further configured to perform:
providing a first voltage for access detection to an ID pin of the universal serial bus interface 430;
when the voltage change value of the ID pin reaches a preset value, providing a second voltage for access detection for the ID pin, wherein the first voltage is smaller than the second voltage;
upon detecting that the ID pin is in a grounded state, it is recognized that the usb interface 430 has external device access.
Optionally, in an embodiment, after handshaking communication with an external device through a signal pin of the universal serial bus interface 430, the processor 410 is further configured to perform:
upon failure of the handshake communication, the supply of the first power for the handshake communication to the external device through the power supply pin of the universal serial bus interface 430 is stopped.
Optionally, in an embodiment, after providing the second power for data forwarding to the device cradle through the power pin of the universal serial bus interface 430, the processor 410 is further configured to perform:
when there is no communication need with the external ultra-wideband device, the supply of the second power for data forwarding to the device cradle through the power pin of the universal serial bus interface 430 is stopped.
Optionally, in an embodiment, the communication data includes a device identification of the external ultra-wideband device, and the processor 410 is further configured to perform:
displaying an equipment control interface corresponding to external ultra-wideband equipment;
receiving a control instruction aiming at external ultra-wideband equipment through an equipment control interface;
the control instructions are sent to the device holder through the universal serial bus interface 430 so that the device holder sends the control instructions to the external ultra-wideband device for execution through the ultra-wideband communication protocol.
It should be noted that, the electronic device 400 provided in the embodiment of the present application and the ultra wideband data transmission method in the above embodiment belong to the same concept, and detailed implementation processes thereof are described in the above related embodiments, which are not repeated here.
The embodiment of the present application also provides a storage medium storing a computer program, where the computer program when executed on an electronic device is configured to cause the electronic device to perform the ultra-wideband data transmission method in any one of the above embodiments, for example:
when a gesture instruction for triggering ultra-wideband data transmission is received, providing power for the equipment bracket through a universal serial bus interface of the electronic equipment;
The communication data is transmitted with the equipment bracket through the universal serial bus interface;
the communication data is transmitted by the equipment support and the external ultra-wideband equipment through an ultra-wideband communication protocol.
In an embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a random access memory (Random Access Memory, RAM), or the like.
In one embodiment, referring also to fig. 9, an equipment rack 500 is provided that includes a universal serial bus interface 510, an ultra-wideband assembly 520, and an equipment rack body 530, wherein,
the universal serial bus interface 510 is used for receiving power provided by an electronic device; and
the electronic equipment is used for transmitting communication data with the electronic equipment;
the ultra-wideband assembly 520 is configured to communicate data with external ultra-wideband devices via an ultra-wideband communication protocol.
The device support body 530 is used for supporting the electronic device, so that a user does not need to hold the electronic device. The material of the device support body 530 is not particularly limited, and includes, but is not limited to, plastic, silicone, and/or metal.
It should be noted that the electronic device also includes a usb interface, and in the embodiment of the present application, the device stand 500 accesses the usb interface of the electronic device through the usb interface 510.
The usb interface 510 of the device holder 500 and the usb interface of the electronic device are the same Type of usb interface, such as Type-C Type usb interfaces, but are both common and common.
The present application is not particularly limited in terms of the physical presentation form of the equipment rack 500, and may be configured by those skilled in the art according to actual needs. For example, referring to fig. 2, when the electronic device is a smart phone, the entity display form of the device holder 500 may be a ring holder, and the ring holder is adsorbed on the back of the smart phone and is used for supporting the smart phone.
In the embodiment of the present application, when the electronic device receives the gesture command for triggering the ultra-wideband data transmission, the electronic device uses its own configured battery to supply power to the usb interface 510 of the connection device bracket 500. Accordingly, the device cradle 500 will receive power provided by the electronic device through the universal serial bus interface 510.
In the embodiment of the present application, the device bracket 500 performs communication data transmission with the electronic device through the universal serial bus interface 510; and communication data is transmitted with external ultra-wideband devices using ultra-wideband communication protocols through ultra-wideband assembly 520.
Wherein, the electronic device may transmit communication data to the external ultra-wideband device through the ultra-wideband assembly 520 by sending the communication data to the universal serial bus interface 510 of the device bracket 500, and forwarding the communication data to the external ultra-wideband device through the ultra-wideband assembly 520 by the device bracket 500; alternatively, when the device holder 500 receives communication data sent by the external ultra wideband device through the ultra wideband assembly 520 using the ultra wideband communication protocol, the communication data may be forwarded to the external ultra wideband device through the universal serial bus interface 510.
It should be noted that, the embodiment of the present application is not particularly limited to the type of communication data, and may be any type of data.
Optionally, in an embodiment, referring to fig. 10, the device stand 500 further includes a power management unit 540 for optimizing the power received by the usb interface 510.
In the embodiment of the present application, after the device holder 500 receives the power provided by the electronics through the usb interface 510, the power is further provided to the power management unit 540, and the power management unit 540 optimizes the power provided by the electronics to power the ultra-wideband assembly 520. The power management unit 540 performs optimization processing including, but not limited to, rectifying filtering, voltage stabilizing, and the like.
In an embodiment, an ultra-wideband data transmission method is further provided, and the ultra-wideband data transmission method is applied to the device bracket provided by the present application, where the device bracket includes a universal serial bus interface and an ultra-wideband component, referring to fig. 11, the ultra-wideband data transmission method includes:
at 610, power provided by an electronic device is received through a universal serial bus interface;
at 620, communicating data with the electronic device over the universal serial bus interface; and
in 630, communication data is transmitted with an external ultra-wideband device using an ultra-wideband communication protocol through an ultra-wideband assembly.
It should be noted that the execution sequence of 620 and 630 is not limited by the sequence number, and 620 may be executed before 630 or 620 may be executed after 630.
For specific description, please refer to the related description of the embodiment of the device stand, and the description is omitted here.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
It should be noted that, for the ultra-wideband data transmission method according to the embodiment of the present application, it will be understood by those skilled in the art that all or part of the flow of implementing the ultra-wideband data transmission method according to the embodiment of the present application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the execution may include, for example, the flow of the embodiment of the ultra-wideband data transmission method. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
For the ultra-wideband data transmission device of the embodiment of the application, each functional module can be integrated in one processing chip, each module can exist alone physically, and two or more modules can be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated module, if implemented as a software functional module and sold or used as a stand-alone product, may also be stored on a computer readable storage medium such as read-only memory, magnetic or optical disk, etc.
The above description is provided in detail for a method, an apparatus, a storage medium, an electronic device and a device bracket for ultra wideband data transmission, where specific examples are applied to illustrate the principle and implementation of the present application, and the above description of the embodiment is only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (9)

1. The ultra-wideband data transmission method is applied to electronic equipment and is characterized by comprising the following steps of:
when a gesture instruction for triggering ultra-wideband data transmission is received, providing power for a device bracket through a universal serial bus interface of the electronic device;
receiving communication data of external ultra-wideband equipment forwarded by the equipment bracket through the universal serial bus interface, wherein the communication data comprises equipment identifiers, and the equipment identifiers are sent outwards by the external ultra-wideband equipment in a mode of only sending and not receiving;
according to the equipment identification, an equipment control interface corresponding to the identity of the external ultra-wideband equipment is displayed;
receiving a control instruction for the external ultra-wideband device through the device control interface;
and sending the control instruction to the equipment bracket through the universal serial bus interface, and indicating the equipment bracket to send the control instruction to the external ultra-wideband equipment for execution through an ultra-wideband communication protocol.
2. The ultra-wideband data transmission method of claim 1, wherein the providing power to the device holder through the universal serial bus interface of the electronic device comprises:
When the universal serial bus interface is identified to have external equipment access, providing first power for handshake communication for the external equipment through a power pin of the universal serial bus interface;
handshake communication is carried out with the external equipment through a signal pin of the universal serial bus interface;
and when the external device is determined to be the device bracket according to the handshake result, providing second power for data forwarding for the device bracket through a power pin of the universal serial bus interface.
3. The ultra-wideband data transmission method of claim 2, further comprising:
providing a first voltage for access detection to an ID pin of the universal serial bus interface;
when the voltage change value of the ID pin reaches a preset value, providing a second voltage for access detection for the ID pin, wherein the first voltage is smaller than the second voltage;
and when the ID pin is detected to be in a grounding state, identifying that the universal serial bus interface is accessed by external equipment.
4. The ultra-wideband data method of claim 2, wherein after the handshaking communication with the external device via the signal pin of the universal serial bus interface, further comprising:
And stopping providing the first power for handshake communication to the external device through the power pin of the universal serial bus interface when handshake communication fails.
5. The ultra-wideband data transmission method of claim 2, wherein after the providing the second power for data forwarding to the device holder via the power pin of the universal serial bus interface, further comprising:
and stopping providing the second power for data forwarding to the device bracket through the power pin of the universal serial bus interface when the communication requirement with the external ultra-wideband device does not exist.
6. The ultra-wideband data transmission method of claim 1, wherein the communication data further comprises positioning data, and the receiving, via the usb interface, the communication data of the external ultra-wideband device forwarded by the device holder further comprises:
and calculating the position information of the electronic equipment according to the positioning data.
7. An ultra-wideband data transmission method applied to an equipment support, wherein the equipment support comprises a universal serial bus interface and an ultra-wideband component, and the ultra-wideband data transmission method comprises the following steps:
Receiving power provided by the electronic equipment in response to a gesture instruction triggering ultra-wideband data transmission through the universal serial bus interface;
receiving communication data from external ultra-wideband equipment through an ultra-wideband protocol, wherein the communication data comprises equipment identification of the external ultra-wideband equipment, and the equipment identification is sent outwards by the external ultra-wideband equipment in a mode of only sending and not receiving;
forwarding the device identifier to the electronic device, where the device identifier is configured to instruct the electronic device to display a device control interface corresponding to the identity of the external ultra-wideband device, receive, through the universal serial bus interface, a control instruction for the external ultra-wideband device, where the control instruction is sent by the electronic device and received through the device control interface; and
and transmitting the control instruction to the external ultra-wideband equipment for execution by the ultra-wideband assembly through an ultra-wideband communication protocol.
8. An equipment support, characterized by comprising a universal serial bus interface and an ultra-wideband assembly, wherein,
the universal serial bus interface is used for receiving power provided by the electronic equipment in response to gesture instructions triggering ultra-wideband data transmission;
The ultra-wideband assembly is used for receiving communication data from external ultra-wideband equipment through an ultra-wideband protocol, the communication data comprises equipment identifiers of the external ultra-wideband equipment, and the equipment identifiers are sent outwards by the external ultra-wideband equipment in a mode of only sending and not receiving;
the universal serial bus interface is further used for forwarding the device identifier to the electronic device, and the device identifier is used for indicating the electronic device to display a device control interface corresponding to the identity of the external ultra-wideband device; and receiving a control instruction for the external ultra-wideband device, which is sent by the electronic device and received through the device control interface;
the ultra-wideband assembly is also used for sending the control instruction to the external ultra-wideband device for execution through an ultra-wideband protocol.
9. The device cradle of claim 8, further comprising a power management unit for optimizing power received by the universal serial bus interface.
CN202110241655.8A 2021-03-04 2021-03-04 Ultra-wideband data transmission method and equipment support Active CN113055515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110241655.8A CN113055515B (en) 2021-03-04 2021-03-04 Ultra-wideband data transmission method and equipment support

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110241655.8A CN113055515B (en) 2021-03-04 2021-03-04 Ultra-wideband data transmission method and equipment support

Publications (2)

Publication Number Publication Date
CN113055515A CN113055515A (en) 2021-06-29
CN113055515B true CN113055515B (en) 2023-08-15

Family

ID=76510004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110241655.8A Active CN113055515B (en) 2021-03-04 2021-03-04 Ultra-wideband data transmission method and equipment support

Country Status (1)

Country Link
CN (1) CN113055515B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2836095Y (en) * 2005-11-29 2006-11-08 东南大学 Contact interlock button for wireless USB
CN101226516A (en) * 2007-01-15 2008-07-23 奇岩电子股份有限公司 Device and method capable of automatically switching into USB host or peripherals
CN101273603A (en) * 2005-09-27 2008-09-24 英特尔公司 Mechanisms for data rate improvement in a wireless network
KR20090032646A (en) * 2007-09-28 2009-04-01 삼성전자주식회사 Wireless universal serial bus system and driving method thereof
CN104636296A (en) * 2013-10-10 2015-05-20 诺基亚公司 Serial communication over communication control pin
CN106160048A (en) * 2015-03-02 2016-11-23 耕源科技股份有限公司 Mobile power supply device, mobile power supply system and method thereof
CN108681514A (en) * 2018-05-02 2018-10-19 Oppo广东移动通信有限公司 Equipment detection method, device, storage medium and electronic equipment
CN109144925A (en) * 2018-07-27 2019-01-04 威锋电子股份有限公司 Universal serial bus circuit
WO2020050511A1 (en) * 2018-09-03 2020-03-12 주식회사 아모텍 Portable terminal cover for supporting uwb communication
CN111526476A (en) * 2020-04-17 2020-08-11 Oppo广东移动通信有限公司 Data transmission method, data transmission device, storage medium and terminal equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7600000B2 (en) * 2005-09-02 2009-10-06 Microsoft Corporation Ultra wideband wireless storage device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101273603A (en) * 2005-09-27 2008-09-24 英特尔公司 Mechanisms for data rate improvement in a wireless network
CN2836095Y (en) * 2005-11-29 2006-11-08 东南大学 Contact interlock button for wireless USB
CN101226516A (en) * 2007-01-15 2008-07-23 奇岩电子股份有限公司 Device and method capable of automatically switching into USB host or peripherals
KR20090032646A (en) * 2007-09-28 2009-04-01 삼성전자주식회사 Wireless universal serial bus system and driving method thereof
CN104636296A (en) * 2013-10-10 2015-05-20 诺基亚公司 Serial communication over communication control pin
CN106160048A (en) * 2015-03-02 2016-11-23 耕源科技股份有限公司 Mobile power supply device, mobile power supply system and method thereof
CN108681514A (en) * 2018-05-02 2018-10-19 Oppo广东移动通信有限公司 Equipment detection method, device, storage medium and electronic equipment
CN109144925A (en) * 2018-07-27 2019-01-04 威锋电子股份有限公司 Universal serial bus circuit
WO2020050511A1 (en) * 2018-09-03 2020-03-12 주식회사 아모텍 Portable terminal cover for supporting uwb communication
CN111526476A (en) * 2020-04-17 2020-08-11 Oppo广东移动通信有限公司 Data transmission method, data transmission device, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN113055515A (en) 2021-06-29

Similar Documents

Publication Publication Date Title
US10958088B2 (en) Charging control method and electronic device for supporting the same
KR102216484B1 (en) Method and Apparatus for Controlling Battery Charging
EP3565084B1 (en) Electronic device and method for wireless charging in electronic device
US10216686B2 (en) Method and apparatus for full duplex transmission between electronic devices
US20210257728A1 (en) Antenna for wireless communication and electronic device including the same
JP5987121B2 (en) Battery, battery protection method, battery protection device, battery protection system, program, and recording medium therefor
JP6076501B2 (en) Method, apparatus, facility, system, program, and recording medium for controlling on / off of wireless network
AU2017297961A1 (en) Antenna for wireless communication and electronic device including the same
EP3097743B1 (en) Electronic device for controlling an external device using a number and method thereof
JP2013156915A (en) Communication apparatus, control method for communication apparatus, communication system, and program
KR102165460B1 (en) Electronic Device And Method For Managing Memory Of The Same
EP3771987B1 (en) Electronic device for preventing damage of usb device and operating method thereof
US10430174B2 (en) Terminal device and charge control method
CN113725951A (en) Charging management method and device, terminal device and storage medium
US20150379322A1 (en) Method and apparatus for communication using fingerprint input
EP3570404B1 (en) Power supply control method and apparatus, storage medium, and electronic device
CN111433756B (en) Terminal and Type C interface anti-corrosion method
JPWO2010067400A1 (en) Power usage method, slave device, and computer program
EP2648109B1 (en) Hot swapping swap media at a computing device
CN113055515B (en) Ultra-wideband data transmission method and equipment support
CN110431518B (en) Method for outputting touch signal and electronic equipment
CN110109529B (en) SD card power supply control method and device, storage medium and electronic equipment
US20220335818A1 (en) Electronic device for controlling external electronic device and method thereof
KR20160041282A (en) Electronic device and controlling method thereof
US20130262728A1 (en) Hot swapping swap media at a computing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant