WO2019061287A1 - 一种电子设备和降低功耗的方法及装置 - Google Patents

一种电子设备和降低功耗的方法及装置 Download PDF

Info

Publication number
WO2019061287A1
WO2019061287A1 PCT/CN2017/104359 CN2017104359W WO2019061287A1 WO 2019061287 A1 WO2019061287 A1 WO 2019061287A1 CN 2017104359 W CN2017104359 W CN 2017104359W WO 2019061287 A1 WO2019061287 A1 WO 2019061287A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
electronic device
usb
usb module
button
Prior art date
Application number
PCT/CN2017/104359
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to US16/651,729 priority Critical patent/US11061464B2/en
Priority to EP17927400.6A priority patent/EP3680783B1/en
Priority to PCT/CN2017/104359 priority patent/WO2019061287A1/zh
Priority to CN201780081536.2A priority patent/CN110168511B/zh
Publication of WO2019061287A1 publication Critical patent/WO2019061287A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3253Power saving in bus
    • 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/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • 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/10Program control for peripheral devices
    • 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/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of electronics, and in particular, to an electronic device and a method and apparatus for reducing power consumption.
  • Embodiments of the present application provide an electronic device and a method and apparatus for reducing power consumption, which are used to reduce power consumption of a mobile phone.
  • the embodiment of the present application provides the following technical solutions:
  • a first electronic device including a button module and a first USB module connected to the button module.
  • the button module When the different buttons on the button module are pressed, the button module outputs different signals, and the first USB module is used for USB
  • the first electronic device further includes: a first PD module connected to the button module, configured to convert the signal output by the button module into a PD signal when the first USB module is in a power-off state and the button module has a button operation
  • the second electronic device is transmitted to the second electronic device to process the key operation, and the second electronic device is the electronic device connected to the first electronic device.
  • the first electronic device provided by the first aspect can convert the signal output by the button module into a PD signal and transmit the signal to the second electronic device through the first PD module when the first USB module is in a power-off state and the button module is operated on the button module.
  • the device so that the second electronic device processes the button operation, because the second electronic device can still cause the second electronic device to handle the button operation when the first USB module is in the power-off state, so there is no service between the first electronic device and the second electronic device
  • the USB module in the first electronic device and the second electronic device can be powered down, thereby reducing power consumption of the first electronic device and the second electronic device.
  • the second electronic device is connected to the first electronic device via a Type-C interface.
  • the first electronic device further includes: an analog-to-digital conversion module coupled to the first USB module for converting between the analog signal and the digital signal.
  • the first electronic device further includes: a playing module, connected to the analog-to-digital conversion module, configured to play an audio signal output by the analog-to-digital conversion module; and an acquisition module connected to the analog-to-digital conversion module for collecting The sound signal is converted and input to the analog-to-digital conversion module.
  • the first electronic device is a Type-C device
  • the second electronic device is a terminal device.
  • a method for reducing power consumption is provided, which is applied to a second electronic device, where the second electronic device includes a control processing module, and a second USB module connected to the control processing module, the method includes: controlling The processing module determines that there is no service with the first electronic device; the control processing module controls the second USB module to send a power-off instruction to the first USB module in the first electronic device, where the power-off instruction is used to indicate that the first USB module is powered off; The control processing module controls the second USB module to be powered off. Since there is no service between the second electronic device and the first electronic device, there is no need to maintain a communication state between the second USB module and the first USB module.
  • the control processing module determines and When there is no service between the electronic devices, the second USB module is controlled to send a power-off command to the first USB module, so that the first USB module is powered off, and the control processing module is further Controlling the second USB module to be powered down, thereby reducing power consumption of the second electronic device and the first electronic device, and increasing the endurance of the second electronic device and the first electronic device.
  • the method further includes: the control processing module determines to transmit data to the first electronic device; and the control processing module starts the second USB module; the second USB The module wakes up the first USB module and establishes a USB link with the first USB module; the second USB module transmits data to the first USB module through the USB link.
  • the control processing module determines to transmit data to the first electronic device
  • the second USB module can be started and the first USB module is woken up, thereby ensuring the first Normal communication between the second electronic device and the first electronic device.
  • the second electronic device further includes a second PD module connected to the control processing module.
  • the method further includes: receiving, by the second PD module, the first a PD signal sent by the first PD module in the electronic device, where the PD signal is a signal obtained by converting the signal output by the button module when the first PD module has a button operation on the button module in the first electronic device;
  • the PD module transmits a PD signal to the control processing module; the control processing module processes the key operation after receiving the PD signal.
  • the first PD module can transmit the PD signal to the second PD module, so that the second electronic device can process the button. Operation to ensure normal communication between the second electronic device and the first electronic device.
  • the control processing module processes the key operation after receiving the PD signal, including: the control processing module starts the second USB module after receiving the PD signal; and the second USB module wakes up the first USB module and Establishing a USB link with the first USB module; the second USB module acquires a key value of the key operation, and sends a key value of the key operation to the control processing module; and the control processing module executes the key value according to the key value of the key operation operating.
  • the method before the control processing module controls the second USB module to be powered off, the method further includes: the second USB module receives the command response from the first USB module; and the second USB module determines the first USB according to the command response. The module successfully received the power-off command.
  • the second USB module can be powered off after the first USB module successfully receives the power-off command, thereby preventing one end of the first USB module and the second USB module from being powered off, and the other end is not powered off, affecting The subsequent communication of the first USB module and the second USB module occurs.
  • the second electronic device is a terminal device, and/or the first electronic device is a Type-C device.
  • a method for reducing power consumption is provided, which is applied to a first electronic device, the first electronic device includes a first USB module, and the method includes: the first USB module is from the second electronic device The second USB module receives the power-off command; the first USB module is powered off according to the power-off command. Since there is no service between the second electronic device and the first electronic device, there is no need to maintain the communication state between the second USB module and the first USB module.
  • the control processing module is determined and When there is no service between the electronic devices, the second USB module is controlled to send a power-off command to the first USB module, so that the first USB module is powered off, and the control processing module further controls the second USB module to be powered off, thereby reducing the second.
  • the power consumption of the electronic device and the first electronic device increases the endurance of the second electronic device and the first electronic device.
  • the method further includes: when the second electronic device needs to transmit data to the first electronic device, the first USB module is used by the second USB module Wake up and establish a USB link with the second USB module; the first USB module receives the data sent by the second USB module through the USB link.
  • the control processing module determines to transmit data to the first electronic device, the second USB module can be started and the first USB module is woken up, thereby ensuring the first Normal communication between the second electronic device and the first electronic device.
  • the first electronic device further includes a first PD module and a button module, and the button module and the first PD module The block is connected to the first USB module.
  • the method further includes: when the button module has a button operation, the first PD module converts the signal output by the button module to obtain a PD signal.
  • the first PD module transmits a PD signal to the second PD module of the second electronic device for processing the key operation by the second electronic device.
  • the first PD module can transmit the PD signal to the second PD module, so that the second electronic device can process the button. Operation to ensure normal communication between the second electronic device and the first electronic device.
  • the method further includes: the first USB module sends an instruction response to the second USB module, and the command response And configured to indicate to the second USB module that the first USB module successfully receives the power-off instruction.
  • the second USB module can be powered off after the first USB module successfully receives the power-off command, thereby preventing one end of the first USB module and the second USB module from being powered off, and the other end is not powered off, affecting The subsequent communication of the first USB module and the second USB module occurs.
  • the second electronic device is a terminal device, and/or the first electronic device is a Type-C device.
  • a second electronic device having the function of implementing any of the methods provided by the second aspect.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • a first electronic device having the function of implementing any of the methods provided by the third aspect.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • a second electronic device in a sixth aspect, includes: a memory and a processor; the memory is configured to store a computer execution instruction, and the processor executes a computer-executed instruction stored in the memory to enable the second electronic device to implement Any of the methods provided by the two aspects.
  • a first electronic device in a seventh aspect, includes: a memory and a processor; the memory is configured to store a computer execution instruction, and the processor executes a computer-executed instruction stored in the memory to enable the first electronic device to implement Any of the three methods provided.
  • a device which may be in the form of a product of a chip, the device comprising a processor, a memory and a transceiver component, the transceiver component comprising an input and output circuit, the memory for storing a computer execution instruction, and the processor executing
  • the computer-executable instructions stored in the memory implement any of the methods provided by the second aspect or the third aspect.
  • a computer readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform any of the methods provided by the second aspect or the third aspect.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform any of the methods provided by the second aspect or the third aspect.
  • FIG. 1 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a button module on a first electronic device according to an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a first electronic device and a second electronic device according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of still another first electronic device and a second electronic device according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of still another first electronic device and a second electronic device according to an embodiment of the present disclosure
  • FIG. 6 is a flowchart of a method for reducing power consumption according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present disclosure.
  • the embodiment of the present application provides a first electronic device 10, as shown in FIG. 1, including a button module 101 and a first USB module 102 connected to the button module 101.
  • the button module 101 When the different buttons on the button module 101 are pressed, the button module 101 outputs
  • the first USB module 102 is configured to perform USB communication.
  • the first electronic device 10 may further include:
  • the first power transmission (PD) module 103 is connected to the button module 101 for outputting the signal output by the button module 101 when the first USB module 102 is in the power-off state and the button module 101 has a button operation.
  • the conversion to the PD signal is transmitted to the second electronic device such that the second electronic device processes the key operation, and the second electronic device is the electronic device connected to the first electronic device 10.
  • the first electronic device 10 may be a Type-C device. Of course, it may also be another electronic device having the above structure.
  • the second electronic device may be a terminal device.
  • the first electronic device 10 may be Other electronic devices connected.
  • a Type-C device can be a device that is connected to other electronic devices through a Type-C interface.
  • a Type-C device can be a device such as an audio or a headset.
  • the terminal device can be a mobile phone, a computer, an in-vehicle device, a wearable device, or the like.
  • the first electronic device 10 provided by the embodiment of the present application is exemplarily illustrated by taking the first electronic device 10 as an earphone as an example.
  • the different keys on the button module 101 can be mechanical buttons or touch screen buttons on the first electronic device 10.
  • the button module 101 can output different signals, and the signal can be An analog signal or a digital signal
  • the first USB module 102 processes the signal to obtain a key value, and then sends the key to the second electronic device, and the second electronic device can perform the operation corresponding to the key value according to the key value, thereby affecting the first electronic device. 10 output.
  • the first electronic device 10 is an earphone, referring to FIG.
  • buttons on the button module 101 may include “+”, “-”, and “ ⁇ ”, for example, the user listens to music through the earphone, and the button “+” It can be used to control the second electronic device to increase the volume, the button “-” can be used to control the second electronic device to reduce the volume, and the button “ ⁇ ” can be used to control the second electronic device to pause (or play) the music.
  • the first PD module 103 can monitor whether there is a key operation on the button module 101 when the first USB module 102 is in a power-off state, and send a PD signal to the second electronic device when the button operation is performed, and the PD signal can be an interrupt. signal.
  • the second electronic device and the first electronic device 10 can be connected through a Type-C interface.
  • the Type-C interface is a physical connection channel between the first electronic device 10 and the second electronic device.
  • the Type-C interface may include a Type-C female head and a Type-C male head, and the Type-C female head may be disposed in the second electronic device, and the Type-C male head may be set in The first electronic device 10; or the Type-C male can be disposed in the second electronic device, and the Type-C female can be disposed in the first electronic device 10.
  • the first USB module 102 is configured to perform USB communication. Specifically, the first USB module 102 can perform USB communication with the second USB module in the second electronic device.
  • the second electronic device may include Control processing module, second USB module and second PD module, control processing module is connected with second USB module and second PD module, Type-C female is connected with second PD module and second USB module, and second PD module
  • the first PD mode in the first electronic device 10 can be identified The PD signal transmitted by block 103.
  • the control processing module and the second USB module may also be integrated in a system ona chip (SOC), and the SOC is a control center of the second electronic device, and the second USB module can be controlled.
  • SOC system ona chip
  • the USB communication between the first USB module 102 identifies the key value transmitted by the first electronic device 10 and performs the operation corresponding to the key value, and can also control the first USB module 102 to power off or wake up the first USB module 102.
  • the first electronic device 10 may further include: an analog-to-digital conversion module 104 connected to the first USB module 102 for performing conversion between the analog signal and the digital signal.
  • an analog-to-digital conversion module 104 connected to the first USB module 102 for performing conversion between the analog signal and the digital signal.
  • the button module 101 can be directly connected to the first USB module 102 (see FIG. 3).
  • the button module 101 can output a digital signal, and the first USB module 102 can directly process The digital signal is transmitted to the second electronic device after the key value is obtained, so that the second electronic device processes the key operation; the button module 101 can also be connected to the first USB module 102 through the analog-to-digital conversion module 104 (see FIG. 5).
  • the button module 101 can output an analog signal, and the analog-to-digital conversion module 104 converts the analog signal into a digital signal and transmits the signal to the first USB module 102 for processing.
  • the first USB module 102 can process the number.
  • the signal is transmitted to the second electronic device after the key value is obtained, so that the second electronic device processes the key operation.
  • the analog to digital conversion module 104 and the first USB module 102 can be integrated.
  • the first electronic device 10 may further include: a playing module 105, connected to the analog-to-digital conversion module 104, for playing an audio signal output by the analog-to-digital conversion module 104; and an acquisition module 106, connected to the analog-to-digital conversion module 104, for collecting a sound signal and converting the sound signal to the analog-to-digital conversion module 104.
  • a playing module 105 connected to the analog-to-digital conversion module 104, for playing an audio signal output by the analog-to-digital conversion module 104
  • an acquisition module 106 connected to the analog-to-digital conversion module 104, for collecting a sound signal and converting the sound signal to the analog-to-digital conversion module 104.
  • the first USB module 102 can receive the USB signal sent by the second electronic device, convert the USB signal into an audio signal, and drive the playback module 105 to play. If the audio signal is a digital audio signal, the analog-to-digital conversion module 104 converts the digital audio. After the signal is converted into an analog audio signal, the playback module 105 is driven to play.
  • the playing module 105 can be an audio output device on the first electronic device 10.
  • the playing module 105 can be an earpiece.
  • the acquisition module 106 converts the sound signal into a digital audio signal or an analog audio signal.
  • the first USB module 102 can convert the audio signal output by the acquisition module 106 into a USB signal, and transmit the audio signal to the second electronic device through the USB protocol, and if the acquisition module 106 converts the collected sound signal, the output is output.
  • the signal is an analog audio signal
  • the analog-to-digital conversion module 104 converts the analog audio signal into a digital audio signal and transmits it to the first USB module 102.
  • the collection module 106 can be an audio input module on the first electronic device 10.
  • the collection module 106 can be a microphone.
  • the first PD module 103 can be connected to the first USB module 102 for waking up the first USB module 102 when the first USB module 102 is in the power-off state.
  • the first electronic device 10 provided by the embodiment of the present application can convert the signal output by the button module 101 into a PD through the first PD module 103 when the first USB module 102 is in the power-off state and the button module 101 has a button operation. Transmitting the signal to the second electronic device, so that the second electronic device processes the key operation. Since the second electronic device can still cause the second electronic device to handle the key operation when the first USB module 102 is in the power-off state, the first electronic device 10 is When there is no service between the second electronic devices, the USB modules in the first electronic device 10 and the second electronic device may be powered off, thereby reducing power consumption of the first electronic device 10 and the second electronic device.
  • the embodiment of the present application further provides a method for reducing power consumption, which is applied to a first electronic device and a second electronic device, where the first electronic device includes a first USB module, and the second electronic device includes a control processing module and a control processing module.
  • the schematic diagram of the composition of the first electronic device can be referred to FIG. 1, FIG. 3, FIG. 4 or FIG. 5.
  • the schematic diagram of the composition of the second electronic device can be seen in FIG. 3, FIG. 4 or FIG. Show that the method includes:
  • the control processing module determines that there is no service between the first electronic device.
  • the control processing module may determine that there is no service with the first electronic device; or, the control processing module may be based on the user.
  • the setting determines that there is no service between the first electronic device, for example, when the user sets the first electronic device from 1 am to 8 am, the control processing module can determine according to the setting at 1 am to There is no service between the first electronic device and the first electronic device during the time interval of 8:00; or, the control processing module may determine that the second electronic device is in a sleep state (ie, the second electronic device has power supply but no service data is transmitted) It is determined that there is no service with the first electronic device.
  • the control processing module may also determine that there is no service with the first electronic device by using other methods, and details are not described herein.
  • the control processing module controls the second USB module to send a power-off instruction to the first USB module in the first electronic device, where the power-off command is used to indicate that the first USB module is powered off.
  • the second USB module can send a power-off instruction to the first USB module through a USB link with the first USB module.
  • the first USB module receives a power-off command from the second USB module in the second electronic device, and is powered off according to the power-off command.
  • the control processing module controls the second USB module to be powered off.
  • Step 604 is performed after step 602, and the execution sequence of step 603 is in no particular order.
  • the control processing module determines and When there is no service between the first electronic device, the second USB module is controlled to send a power-off command to the first USB module, so that the first USB module is powered off, and the control processing module further controls the second USB module to be powered off, thereby reducing the number of The power consumption of the second electronic device and the first electronic device increases the endurance of the second electronic device and the first electronic device.
  • step 604 that is, after the first USB module and the second USB module are powered off, if the second electronic device needs to transmit data to the first electronic device, the following steps can be implemented:
  • the control processing module determines to transmit data to the first electronic device.
  • the control processing module may determine to transmit data to the first electronic device when the second electronic device has a need to transmit data to the first electronic device. Exemplarily, the control processing module may determine to transmit data to the first electronic device when the user makes a call; or the control processing module may determine to transmit data to the first electronic device when the application playing the song in the second electronic device plays the song Or, the control processing module determines to transmit data to the first electronic device when the key tone is to be output.
  • the control processing module starts the second USB module.
  • the second USB module wakes up the first USB module and establishes a USB link with the first USB module, the first USB module is woken up by the second USB module and establishes a USB link with the second USB module .
  • the second USB module transmits data to the first USB module via the USB link.
  • the first USB module receives the data sent by the second USB module through the USB link.
  • the first USB module can convert the data sent by the second USB module into an audio signal to drive the play module to play.
  • the second USB module can be activated and the first USB module can be woken up to ensure normal communication between the second electronic device and the first electronic device.
  • the first electronic device may further include a first PD module and a button module, the button module is connected to the first PD module and the first USB module, and the second electronic device may further include a second PD module connected to the control processing module, in step 604 After the first USB module and the second USB module are powered off, if the user needs to control the output of the first electronic device through the button module of the first electronic device, the following steps can be implemented:
  • the first PD module converts the signal output by the button module to obtain a PD signal.
  • the signal output by the button module can be an analog signal or a digital signal, and the PD signal can be an interrupt signal.
  • the first PD module transmits a PD signal to the second PD module in the second electronic device.
  • the second PD module receives the PD signal sent by the first PD module in the first electronic device.
  • the second PD module transmits a PD signal to the control processing module.
  • the control processing module processes the key operation after receiving the PD signal.
  • the first PD module can transmit the PD signal to the second PD module, so that the second electronic device can process the button operation, thereby ensuring the second electronic Normal communication between the device and the first electronic device.
  • the step 25) may include: the control processing module starts the second USB module after receiving the PD signal; and the second USB module wakes up the first USB module and establishes a relationship with the first USB module. a USB link; the second USB module acquires a key value of the key operation, and sends a key value of the key operation to the control processing module; and the control processing module performs the operation corresponding to the key value according to the key value of the key operation.
  • the key value of the button operation may be sent by the first USB module to the second USB module, and the key value of the button operation may be a value obtained by processing the signal output by the first USB module to the button module, and the output of the button module is different.
  • the signals can be processed to get different key values, and different key values correspond to different operations. Exemplarily, referring to FIG. 2, if the button "+”, the button "-”, and the button “ ⁇ ” are pressed, the key values obtained by the signal processing output by the button module are 1, 2, and 3, respectively, and 1, 2, and 3 correspond to The operations are to increase the volume, decrease the volume, and pause (or play) the music.
  • the first PD module in the first electronic device is still in a standby state after the first USB module is powered off, so as to monitor whether there is a button operation on the first electronic device, and when the button on the first electronic device is detected
  • the module has a signal output
  • the signal is converted to obtain a PD signal, and is transmitted to the control processing module in the second electronic device through the second PD module.
  • the second PD module will also monitor if a PD signal is sent.
  • the control processing module can wake up the first USB module and establish a link with the first USB module by using any one of the following manners:
  • the second USB module wakes up the first USB module and establishes a link with the first USB module.
  • the control processing module sends a wake-up command to the first PD module by using the second PD module, the first PD module wakes up the first USB module, and the second USB module establishes a link with the first USB module.
  • the method may further include: the first USB module sends an instruction response to the second USB module, where the command response is used to indicate to the second USB module that the first USB module successfully receives The power-off instruction, the second USB module receives the command response from the first USB module; and the second USB module determines, according to the command response, that the first USB module successfully receives the power-off command.
  • the first USB module can be powered off before sending a command response, or can be powered off after sending a command response.
  • the second USB module can be powered off after the first USB module successfully receives the power-off command, thereby preventing The first USB module and the second USB module are powered off at one end, and the other end is not powered off, which affects the subsequent communication between the first USB module and the second USB module.
  • the first electronic device may be a Type-C device, and of course, may also be other electronic devices having the foregoing functions; the second electronic device may be a terminal device, and of course, may also be connected to the first electronic device.
  • a Type-C device can be a device that is connected to other electronic devices through a Type-C interface.
  • a Type-C device can be a device such as an audio or a headset.
  • the terminal device can be a mobile phone, a computer, an in-vehicle device, a wearable device, and the like.
  • the second electronic device and the first electronic device may be connected by using a Type-C interface, where the Type-C interface is a physical connection channel between the first electronic device and the second electronic device. See FIG. 3 and FIG. 4 .
  • the Type-C interface may include a Type-C female and a Type-C male, the Type-C female may be placed in the second electronic device, and the Type-C male may be placed in the first electronic device.
  • control processing module and the second USB module may be integrated on one SOC.
  • the first electronic device and the second electronic device shown in FIG. 1, FIG. 3, FIG. 4 or FIG. 5 described above include hardware structures and/or software modules that perform functions based on the method shown in FIG. 6.
  • Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
  • the first USB module in the first electronic device shown in FIG. 1, FIG. 3, FIG. 4 or FIG. 5 above may be used to perform step 603 shown in FIG. 6, and/or in the embodiment of the present application.
  • the control processing module in the second electronic device shown in FIG. 3, FIG. 4 or FIG. 5 above may be used to perform the step 601 shown in FIG. 6, and/or the control in other processes described in the embodiments of the present application.
  • the action performed by the processing module; the second USB module in the second electronic device shown in FIG. 3, FIG. 4 or FIG. 5 above may be used to perform steps 602 and 604 shown in FIG. 6, and/or the embodiment of the present application
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device 70.
  • the electronic device may be the first electronic device or the second electronic device, where the first electronic device or the second electronic device is provided.
  • the actions performed by the module of the processing function may be performed by the processor 701.
  • the actions of the module having the transmitting or receiving function may be completed by the communication interface 702, and the electronic device 70 may further include the memory 703.
  • the processor 701 can be used to perform step 603 shown in FIG. 6, and/or other processes described in the embodiments of the present application. The action that the processor 701 can perform.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device 70.
  • the electronic device may be the first electronic device or the second electronic device, where the first electronic device or the second electronic device is provided.
  • the actions performed by the module of the processing function may be performed by the processor 701.
  • the actions of the module having the transmitting or receiving function may be completed by the communication interface 702, and the electronic device 70 may further include the memory 703.
  • the processor 701 can be used to perform steps 601 and 604 shown in FIG. 6, and/or in other processes described in the embodiments of the present application.
  • the actions that the processor 701 can perform; the communication interface 702 can be used to perform the steps 602 shown in FIG. 6, and/or the actions that the communication interface 702 can perform in other processes described in the embodiments of the present application.
  • processor 701, communication interface 702, and memory 703 can be coupled by communication bus 704.
  • the processor 701 can be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more programs for controlling the program of the present application. Execution of the integrated circuit.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • Communication bus 704 can include a path for communicating information between the components described above.
  • Communication interface 702 which can be any type of device, is used to communicate with other devices or communication networks.
  • the memory 703 may be a read-only memory (ROM) or a static information and an instruction thereof. His type of static storage device, random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or electrically erasable programmable read-only memory (electrically erasable programmable read-only memory) Only memory (abbreviated as EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), disks A storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of an instruction or data structure and that can be accessed by a computer, but is not limited thereto.
  • the memory can be stored independently and connected to the processor via a communication bus.
  • the memory can also be integrated with the processor.
  • the memory 703 is used to store application code for executing the solution of the present application, and is controlled by the processor 701 for execution.
  • the processor 701 is configured to execute application code stored in the memory 703 to implement the method described above.
  • the processor 701 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
  • electronic device 70 may include multiple processors, such as processor 701 and processor 708 in FIG. Each of these processors can be a single-CPU processor or a multi-core processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
  • the electronic device 70 may further include an output device 705 and an input device 706.
  • the embodiment of the present application further provides a device, which may be in the form of a product of a chip.
  • the device includes a processor, a memory, and a transceiver component.
  • the transceiver component includes an input and output circuit, and the memory is used to store a computer execution instruction, and the processor passes The above method is implemented by executing a computer execution instruction stored in the memory.
  • the embodiment of the present application also provides a computer readable storage medium, including instructions, when executed on a computer, causing a computer to execute the above method.
  • the embodiment of the present application also provides a computer program product comprising instructions that, when run on a computer, cause the computer to perform the above method.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • a software program it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)).
  • SSD Solid State Disk

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)
  • Power Sources (AREA)

Abstract

一种电子设备和降低功耗的方法及装置,涉及电子领域,用于降低手机的功耗,该电子设备包括:按键模块(101)和与按键模块(101)连接的第一USB模块(102),按压按键模块(101)上的不同按键时按键模块(101)输出不同的信号,第一USB模块(102)用于进行USB通信;第一PD模块(103),与按键模块(101)连接,用于在第一USB模块(102)处于下电状态、且按键模块(101)上有按键操作时,将按键模块(101)输出的信号转换为PD信号传输至第二电子设备,以使得第二电子设备处理按键操作,第二电子设备为与第一电子设备(10)连接的电子设备。

Description

一种电子设备和降低功耗的方法及装置 技术领域
本申请涉及电子领域,尤其涉及一种电子设备和降低功耗的方法及装置。
背景技术
为了实现手机的小型化和防水等目的,越来越多的手机厂商将传统的3.5mm(毫米)耳机接口替换为Type-C接口,Type-C耳机通过Type-C接口接入手机。Type-C耳机插入手机后,手机会为Type-C耳机供电,即使手机和Type-C耳机之间没有业务,手机中的通用串行总线(universal serial bus,简称USB)模块和耳机中的USB模块也需要保持在通信状态,增加了手机的功耗。
发明内容
本申请实施例提供了一种电子设备和降低功耗的方法及装置,用于降低手机的功耗。
为达到上述目的,本申请实施例提供如下技术方案:
第一方面,提供了一种第一电子设备,包括按键模块和与按键模块连接的第一USB模块,按压按键模块上的不同按键时按键模块输出不同的信号,第一USB模块用于进行USB通信,第一电子设备还包括:第一PD模块,与按键模块连接,用于在第一USB模块处于下电状态、且按键模块上有按键操作时,将按键模块输出的信号转换为PD信号传输至第二电子设备,以使得第二电子设备处理按键操作,第二电子设备为与第一电子设备连接的电子设备。第一方面提供的第一电子设备,在第一USB模块处于下电状态、且按键模块上有按键操作时,可以通过第一PD模块将按键模块输出的信号转换为PD信号传输至第二电子设备,以使得第二电子设备处理按键操作,由于在第一USB模块处于下电状态时仍然可以使得第二电子设备处理按键操作,因此,在第一电子设备与第二电子设备之间无业务时可以使得第一电子设备和第二电子设备中的USB模块下电,从而降低第一电子设备和第二电子设备的功耗。
在一种可能的设计中,第二电子设备与第一电子设备通过Type-C接口连接。
在一种可能的设计中,第一电子设备还包括:模数转换模块,与第一USB模块连接,用于进行模拟信号和数字信号之间的转换。
在一种可能的设计中,第一电子设备还包括:播放模块,与模数转换模块连接,用于播放模数转换模块输出的音频信号;采集模块,与模数转换模块连接,用于采集声音信号并将声音信号进行转换后输入至模数转换模块。
在一种可能的设计中,第一电子设备为Type-C设备,和/或,第二电子设备为终端设备。
第二方面,提供了一种降低功耗的方法,其特征在于,应用于第二电子设备,第二电子设备包括控制处理模块,与控制处理模块连接的第二USB模块,该方法包括:控制处理模块确定与第一电子设备之间无业务;控制处理模块控制第二USB模块向第一电子设备中的第一USB模块发送下电指令,下电指令用于指示第一USB模块下电;控制处理模块控制第二USB模块下电。由于第二电子设备和第一电子设备之间无业务时,第二USB模块和第一USB模块之间没有必要保持在通信状态,因此,第二方面提供的方法,控制处理模块在确定与第一电子设备之间无业务时,会控制第二USB模块向第一USB模块发送下电指令,使得第一USB模块下电,控制处理模块还 控制第二USB模块下电,从而降低了第二电子设备和第一电子设备的功耗,增加第二电子设备和第一电子设备的续航能力。
在一种可能的设计中,在控制处理模块控制第二USB模块下电之后,该方法还包括:控制处理模块确定向第一电子设备传输数据;控制处理模块启动第二USB模块;第二USB模块对第一USB模块进行唤醒并建立与第一USB模块之间的USB链路;第二USB模块通过USB链路向第一USB模块发送数据。该种可能的实现方式,第一USB模块和第二USB模块下电之后,在控制处理模块确定向第一电子设备传输数据时,可以启动第二USB模块并唤醒第一USB模块,从而保证第二电子设备和第一电子设备之间的正常通信。
在一种可能的设计中,第二电子设备还包括与控制处理模块连接的第二PD模块,在控制处理模块控制第二USB模块下电之后,该方法还包括:第二PD模块接收第一电子设备中的第一PD模块发送的PD信号,PD信号为第一PD模块在第一电子设备中的按键模块上有按键操作时,对按键模块输出的信号进行转换后得到的信号;第二PD模块向控制处理模块发送PD信号;控制处理模块在接收到PD信号后处理按键操作。该种可能的实现方式,第一USB模块和第二USB模块下电之后,在用户有按键操作时,第一PD模块可以通过向第二PD模块传输PD信号,使得第二电子设备可以处理按键操作,从而保证第二电子设备和第一电子设备之间的正常通信。
在一种可能的设计中,控制处理模块在接收到PD信号后处理按键操作,包括:控制处理模块在接收到PD信号后启动第二USB模块;第二USB模块对第一USB模块进行唤醒并建立与第一USB模块之间的USB链路;第二USB模块获取按键操作的键值,并向控制处理模块发送按键操作的键值;控制处理模块根据按键操作的键值执行键值对应的操作。
在一种可能的设计中,在控制处理模块控制第二USB模块下电之前,该方法还包括:第二USB模块从第一USB模块接收指令响应;第二USB模块根据指令响应确定第一USB模块成功接收到下电指令。该种可能的实现方式,第二USB模块可以在第一USB模块成功接收到下电指令后再下电,从而防止第一USB模块和第二USB模块一端下电,另一端未下电,影响第一USB模块和第二USB模块后续通信的情况出现。
在一种可能的设计中,第二电子设备为终端设备,和/或,第一电子设备为Type-C设备。
第三方面,提供了一种降低功耗的方法,其特征在于,应用于第一电子设备,第一电子设备包括第一USB模块,该方法包括:第一USB模块从第二电子设备中的第二USB模块接收下电指令;第一USB模块根据下电指令下电。由于第二电子设备和第一电子设备之间无业务时,第二USB模块和第一USB模块之间没有必要保持在通信状态,因此,第三方面提供的方法,控制处理模块在确定与第一电子设备之间无业务时,会控制第二USB模块向第一USB模块发送下电指令,使得第一USB模块下电,控制处理模块还控制第二USB模块下电,从而降低了第二电子设备和第一电子设备的功耗,增加第二电子设备和第一电子设备的续航能力。
在一种可能的设计中,在第一USB模块根据下电指令下电之后,该方法还包括:在第二电子设备需要向第一电子设备传输数据时,第一USB模块被第二USB模块唤醒并建立与第二USB模块之间的USB链路;第一USB模块通过USB链路接收第二USB模块发送的数据。该种可能的实现方式,第一USB模块和第二USB模块下电之后,在控制处理模块确定向第一电子设备传输数据时,可以启动第二USB模块并唤醒第一USB模块,从而保证第二电子设备和第一电子设备之间的正常通信。
在一种可能的设计中,第一电子设备还包括第一PD模块和按键模块,按键模块与第一PD模 块和第一USB模块连接,在第一USB模块根据下电指令下电之后,该方法还包括:在按键模块上有按键操作时,第一PD模块对按键模块输出的信号进行转换得到PD信号;第一PD模块向第二电子设备中的第二PD模块发送PD信号,用于第二电子设备处理按键操作。该种可能的实现方式,第一USB模块和第二USB模块下电之后,在用户有按键操作时,第一PD模块可以通过向第二PD模块传输PD信号,使得第二电子设备可以处理按键操作,从而保证第二电子设备和第一电子设备之间的正常通信。
在一种可能的设计中,在第一USB模块从第二电子设备中的第二USB模块接收下电指令之后,该方法还包括:第一USB模块向第二USB模块发送指令响应,指令响应用于向第二USB模块指示第一USB模块成功接收到下电指令。该种可能的实现方式,第二USB模块可以在第一USB模块成功接收到下电指令后再下电,从而防止第一USB模块和第二USB模块一端下电,另一端未下电,影响第一USB模块和第二USB模块后续通信的情况出现。
在一种可能的设计中,第二电子设备为终端设备,和/或,第一电子设备为Type-C设备。
第四方面,提供了一种第二电子设备,该第二电子设备具有实现第二方面提供的任意一种方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元。
第五方面,提供了一种第一电子设备,该第一电子设备具有实现第三方面提供的任意一种方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元。
第六方面,提供了一种第二电子设备,第二电子设备包括:存储器和处理器;存储器用于存储计算机执行指令,处理器执行存储器存储的计算机执行指令,以使第二电子设备实现第二方面提供的任意一种方法。
第七方面,提供了一种第一电子设备,第一电子设备包括:存储器和处理器;存储器用于存储计算机执行指令,处理器执行存储器存储的计算机执行指令,以使第一电子设备实现第三方面提供的任意一种方法。
第八方面,提供了一种装置,该装置可以以芯片的产品形态存在,该装置包括处理器、存储器和收发组件,收发组件包括输入输出电路,存储器用于存储计算机执行指令,处理器通过执行存储器中存储的计算机执行指令实现第二方面或第三方面提供的任意一种方法。
第九方面,提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行第二方面或第三方面提供的任意一种方法。
第十方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行第二方面或第三方面提供的任意一种方法。
第四方面至第十方面中任一种设计方式所带来的技术效果可参见第一方面至第三方面中不同设计方式所带来的技术效果,此处不再赘述。
附图说明
图1为本申请实施例提供的一种第一电子设备的组成示意图;
图2为本申请实施例提供的一种第一电子设备上的按键模块的示意图;
图3为本申请实施例提供的一种第一电子设备和第二电子设备的组成示意图;
图4为本申请实施例提供的又一种第一电子设备和第二电子设备的组成示意图;
图5为本申请实施例提供的再一种第一电子设备和第二电子设备的组成示意图;
图6为本申请实施例提供的一种降低功耗的方法的流程图;
图7为本申请实施例提供的一种电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请的描述中,“多个”是指两个或多于两个。
本申请实施例提供了一种第一电子设备10,如图1所示,包括按键模块101和与按键模块101连接的第一USB模块102,按压按键模块101上的不同按键时按键模块101输出不同的信号,第一USB模块102用于进行USB通信,参见图1,第一电子设备10还可以包括:
第一功率传输(power delivery,简称PD)模块103,与按键模块101连接,用于在第一USB模块102处于下电状态、且按键模块101上有按键操作时,将按键模块101输出的信号转换为PD信号传输至第二电子设备,以使得第二电子设备处理按键操作,第二电子设备为与第一电子设备10连接的电子设备。
可选的,第一电子设备10可以为Type-C设备,当然,还可以为具备上述结构的其他电子设备;第二电子设备可以为终端设备,当然,还可以为可以与第一电子设备10连接的其他电子设备。Type-C设备可以为通过Type-C接口与其他电子设备连接的设备,示例性的,Type-C设备可以为音响、耳机等设备。终端设备可以为手机、电脑、车载设备、可穿戴设备等。
本申请实施例中以第一电子设备10为耳机为例对本申请实施例提供的第一电子设备10作示例性说明。
具体的,按键模块101上的不同按键可以为第一电子设备10上的机械按键或触屏按键等,通过按压按键模块101上的不同按键可以使得按键模块101输出不同的信号,该信号可以为模拟信号或数字信号,第一USB模块102对该信号进行处理得到按键键值之后向第二电子设备发送,第二电子设备可以根据按键键值执行键值对应的操作,从而影响第一电子设备10的输出。示例性的,若第一电子设备10为耳机,参见图2,按键模块101上的按键可以包括“+”、“-”和“‖”,以用户通过耳机听音乐为例,按键“+”可以用于控制第二电子设备增加音量,按键“-”可以用于控制第二电子设备降低音量,按键“‖”可以用于控制第二电子设备暂停(或播放)音乐。
其中,第一PD模块103可以在第一USB模块102处于下电状态时监测按键模块101上是否有按键操作,在有按键操作时,向第二电子设备发送PD信号,PD信号可以为一个中断信号。
可选的,第二电子设备与第一电子设备10之间可以通过Type-C接口连接,该情况下,Type-C接口为第一电子设备10和第二电子设备之间的物理连接通道,参见图3、图4或图5,Type-C接口可以包括Type-C母头和Type-C公头,Type-C母头可以设置于第二电子设备中,Type-C公头可以设置于第一电子设备10中;或者Type-C公头可以设置于第二电子设备中,Type-C母头可以设置于第一电子设备10中。
第一USB模块102用于进行USB通信,具体的,第一USB模块102可以与第二电子设备中的第二USB模块进行USB通信,示例性的,参见图3,第二电子设备中可以包括控制处理模块、第二USB模块和第二PD模块,控制处理模块与第二USB模块和第二PD模块连接,Type-C母头与第二PD模块和第二USB模块连接,第二PD模块可以识别第一电子设备10中的第一PD模 块103传输的PD信号。
具体的,参见图4,控制处理模块和第二USB模块也可以集成在一个系统级芯片(system ona chip,简称SOC)中,SOC为第二电子设备的控制中枢,可以控制第二USB模块与第一USB模块102之间的USB通信,识别第一电子设备10传输的按键键值并执行键值对应的操作,还可以控制第一USB模块102下电或唤醒第一USB模块102。
可选的,参见图3或图5,第一电子设备10还可以包括:模数转换模块104,与第一USB模块102连接,用于进行模拟信号和数字信号之间的转换。
该情况下,按键模块101可以直接与第一USB模块102连接(参见图3),此时,按压按键模块101上的按键时,按键模块101可以输出数字信号,第一USB模块102可以直接处理该数字信号得到按键键值后传输给第二电子设备,以便第二电子设备处理按键操作;按键模块101也可以通过模数转换模块104与第一USB模块102连接(参见图5),此时,按压按键模块101上的按键时,按键模块101可以输出模拟信号,模数转换模块104将该模拟信号转换为数字信号后传输给第一USB模块102处理,第一USB模块102可以处理该数字信号得到按键键值后传输给第二电子设备,以便第二电子设备处理按键操作。
在实际实现时,参见图4,模数转换模块104和第一USB模块102可以集成在一起。
可选的,参见图3、图4或图5,第一电子设备10还可以包括:播放模块105,与模数转换模块104连接,用于播放模数转换模块104输出的音频信号;采集模块106,与模数转换模块104连接,用于采集声音信号并将声音信号进行转换后输入至模数转换模块104。
具体的,第一USB模块102能够接收第二电子设备发送的USB信号,将USB信号转换为音频信号驱动播放模块105播放,若该音频信号为数字音频信号,则模数转换模块104将数字音频信号转换为模拟音频信号后驱动播放模块105播放。
其中,播放模块105可以为第一电子设备10上的音频输出设备,示例性的,播放模块105可以为听筒。
采集模块106对声音信号进行转换后可以为数字音频信号也可以为模拟音频信号。
具体的,第一USB模块102能够将采集模块106输出的音频信号转换为USB信号,并通过USB协议将音频信号传输给第二电子设备,若采集模块106对采集到的声音信号进行转换后输出的信号为模拟音频信号,则模数转换模块104将模拟音频信号转换为数字音频信号后传输给第一USB模块102。
其中,采集模块106可以为第一电子设备10上的音频输入模块,示例性的,采集模块106可以为麦克风。
另外,参见图3、图4或图5,第一PD模块103可以与第一USB模块102连接,用于在第一USB模块102处于下电状态时唤醒第一USB模块102。
本申请实施例提供的第一电子设备10,在第一USB模块102处于下电状态、且按键模块101上有按键操作时,可以通过第一PD模块103将按键模块101输出的信号转换为PD信号传输至第二电子设备,以使得第二电子设备处理按键操作,由于在第一USB模块102处于下电状态时仍然可以使得第二电子设备处理按键操作,因此,在第一电子设备10与第二电子设备之间无业务时可以使得第一电子设备10和第二电子设备中的USB模块下电,从而降低第一电子设备10和第二电子设备的功耗。
本申请实施例还提供了一种降低功耗的方法,应用于第一电子设备和第二电子设备,第一电子设备包括第一USB模块,第二电子设备包括控制处理模块,与控制处理模块连接的第二USB模块,第一电子设备的组成示意图可以参见图1、图3、图4或图5,第二电子设备的组成示意图可以参见图3、图4或图5,如图6所示,该方法包括:
601、控制处理模块确定与第一电子设备之间无业务。
具体的,若控制处理模块与第一电子设备之间没有数据传输的状态保持了一定的时间段时,控制处理模块可以确定与第一电子设备之间无业务;或者,控制处理模块可以根据用户的设置确定与第一电子设备之间无业务,例如,用户设置在凌晨1点至早上8点这一时间段不使用第一电子设备时,控制处理模块可以根据该设置确定在凌晨1点至早上8点这一时间段内与第一电子设备之间无业务;或者,控制处理模块可以在确定第二电子设备处于休眠状态(即第二电子设备有供电但没有业务数据传输的状态)后确定与第一电子设备之间无业务。当然,控制处理模块还可以采用其他方法确定与第一电子设备之间无业务,在此不再详述。
602、控制处理模块控制第二USB模块向第一电子设备中的第一USB模块发送下电指令,下电指令用于指示第一USB模块下电。
参见图3、图4或图5,第二USB模块可以通过与第一USB模块之间的USB链路向第一USB模块发送下电指令。
603、第一USB模块从第二电子设备中的第二USB模块接收下电指令,并根据下电指令下电。
604、控制处理模块控制第二USB模块下电。
步骤604执行在步骤602之后即可,与步骤603的执行顺序不分先后。
由于第二电子设备和第一电子设备之间无业务时,第二USB模块和第一USB模块之间没有必要保持在通信状态,因此,本申请实施例提供的方法,控制处理模块在确定与第一电子设备之间无业务时,会控制第二USB模块向第一USB模块发送下电指令,使得第一USB模块下电,控制处理模块还控制第二USB模块下电,从而降低了第二电子设备和第一电子设备的功耗,增加第二电子设备和第一电子设备的续航能力。
在步骤604之后,即第一USB模块和第二USB模块均下电之后,若第二电子设备需要向第一电子设备传输数据,可以通过以下步骤实现:
11)控制处理模块确定向第一电子设备传输数据。
控制处理模块可以在第二电子设备有向第一电子设备传输数据的需求时,确定向第一电子设备传输数据。示例性的,控制处理模块可以在用户拨打电话时确定向第一电子设备传输数据;或者,控制处理模块可以在第二电子设备中的播放歌曲的应用播放歌曲时确定向第一电子设备传输数据;或者,控制处理模块确定要输出按键提示音时确定向第一电子设备传输数据。
12)控制处理模块启动第二USB模块。
13)第二USB模块对第一USB模块进行唤醒并建立与第一USB模块之间的USB链路,第一USB模块被第二USB模块唤醒并建立与第二USB模块之间的USB链路。
14)第二USB模块通过USB链路向第一USB模块发送数据。
15)第一USB模块通过USB链路接收第二USB模块发送的数据。
在步骤15)之后,参见图3、图4或图5,第一USB模块可以将第二USB模块发送的数据转换成音频信号驱动播放模块播放。
第一USB模块和第二USB模块下电之后,在控制处理模块确定向第一电子设备传输数据时, 可以启动第二USB模块并唤醒第一USB模块,从而保证第二电子设备和第一电子设备之间的正常通信。
第一电子设备还可以包括第一PD模块和按键模块,按键模块与第一PD模块和第一USB模块连接,第二电子设备还可以包括与控制处理模块连接的第二PD模块,在步骤604之后,即第一USB模块和第二USB模块均下电之后,若用户需要通过第一电子设备的按键模块控制第一电子设备的输出,可以通过以下步骤实现:
21)在按键模块上有按键操作时,第一PD模块对按键模块输出的信号进行转换得到PD信号。
按键模块输出的信号可以为模拟信号,也可以为数字信号,PD信号可以为一个中断信号。
22)第一PD模块向第二电子设备中的第二PD模块发送PD信号。
23)第二PD模块接收第一电子设备中的第一PD模块发送的PD信号。
24)第二PD模块向控制处理模块发送PD信号。
25)控制处理模块在接收到PD信号后处理按键操作。
第一USB模块和第二USB模块下电之后,在用户有按键操作时,第一PD模块可以通过向第二PD模块传输PD信号,使得第二电子设备可以处理按键操作,从而保证第二电子设备和第一电子设备之间的正常通信。
可选的,步骤25)在具体实现时可以包括:控制处理模块在接收到PD信号后启动第二USB模块;第二USB模块对第一USB模块进行唤醒并建立与第一USB模块之间的USB链路;第二USB模块获取按键操作的键值,并向控制处理模块发送按键操作的键值;控制处理模块根据按键操作的键值执行键值对应的操作。
其中,按键操作的键值可以为第一USB模块向第二USB模块发送的,按键操作的键值可以为第一USB模块对按键模块输出的信号进行处理后得到的值,按键模块输出的不同的信号可以处理得到不同的键值,不同的键值对应不同的操作。示例性的,参见图2,若按压按键“+”、按键“-”和按键“‖”,按键模块输出的信号处理得到的键值分别为1、2和3,则1、2和3对应的操作分别为增加音量、降低音量和暂停(或播放)音乐。
需要说明的是,第一电子设备中的第一PD模块在第一USB模块下电之后仍然处于待机状态,以便监测第一电子设备上是否有按键操作,当监测到第一电子设备上的按键模块有信号输出时,对该信号进行转换得到PD信号,通过第二PD模块向第二电子设备中的控制处理模块发送。同样的,第二PD模块也会监测是否有PD信号发送过来。
具体的,控制处理模块在接收到PD信号并启动第二USB模块之后,可以通过以下方式中的任意一种方式唤醒第一USB模块并建立与第一USB模块之间的链路:
方式一、第二USB模块对第一USB模块进行唤醒,并建立与第一USB模块之间的链路。
方式二、控制处理模块通过第二PD模块向第一PD模块发送唤醒指令,第一PD模块对第一USB模块进行唤醒,第二USB模块建立与第一USB模块之间的链路。
在第一USB模块接收下电指令之后步骤604之前,该方法还可以包括:第一USB模块向第二USB模块发送指令响应,指令响应用于向第二USB模块指示第一USB模块成功接收到下电指令,第二USB模块从第一USB模块接收指令响应;第二USB模块根据指令响应确定第一USB模块成功接收到下电指令。其中,第一USB模块可以在发送指令响应之前下电,也可以在发送指令响应之后下电。
需要说明的是,第二USB模块可以在第一USB模块成功接收到下电指令后再下电,从而防 止第一USB模块和第二USB模块一端下电,另一端未下电,影响第一USB模块和第二USB模块后续通信的情况出现。
可选的,第一电子设备可以为Type-C设备,当然,还可以为具备上述功能的其他电子设备;第二电子设备可以为终端设备,当然,还可以为可以与第一电子设备连接的其他电子设备。Type-C设备可以为通过Type-C接口与其他电子设备连接的设备,示例性的,Type-C设备可以为音响、耳机等设备。终端设备可以为手机、电脑、车载设备、可穿戴设备等设备。
可选的,第二电子设备与第一电子设备之间可以通过Type-C接口连接,Type-C接口为第一电子设备和第二电子设备之间的物理连接通道,参见图3、图4或图5,Type-C接口可以包括Type-C母头和Type-C公头,Type-C母头可以置于第二电子设备中,Type-C公头可以置于第一电子设备中。
可选的,参见图4或图5,控制处理模块和第二USB模块可以集成在一个SOC上。
上述图1、图3、图4或图5所示的第一电子设备和第二电子设备中包含了执行基于图6所示的方法中的功能的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
示例性的,上述图1、图3、图4或图5所示的第一电子设备中的第一USB模块可以用于执行图6中所示的步骤603,和/或本申请实施例中所描述的其他过程中的第一USB模块执行的动作。上述图3、图4或图5所示的第二电子设备中的控制处理模块可以用于执行图6中所示的步骤601,和/或本申请实施例中所描述的其他过程中的控制处理模块执行的动作;上述图3、图4或图5所示的第二电子设备中的第二USB模块可以用于执行图6中所示的步骤602和604,和/或本申请实施例中所描述的其他过程中的第二USB模块执行的动作。
参见图7,图7所示的为一种电子设备70的硬件结构示意图,该电子设备可以为上述第一电子设备或第二电子设备,其中,第一电子设备或第二电子设备中的具备处理功能的模块执行的动作可以由处理器701完成,具备发送或接收功能的模块的动作可以通过通信接口702完成,该电子设备70中还可以包括存储器703。示例性的,当图7所示的为第一电子设备的硬件架构示意图时,处理器701可以用于执行图6中所示的步骤603,和/或本申请实施例中所描述的其他过程中的处理器701可以执行的动作。当图7所示的为第二电子设备的硬件架构示意图时,处理器701可以用于执行图6中所示的步骤601和604,和/或本申请实施例中所描述的其他过程中的处理器701可以执行的动作;通信接口702可以用于执行图6中所示的步骤602,和/或本申请实施例中所描述的其他过程中的通信接口702可以执行的动作。
参见图7,处理器701、通信接口702和存储器703可以通过通信总线704连接。
处理器701可以是一个通用中央处理器(central processing unit,简称CPU),微处理器,特定应用集成电路(application-specific integrated circuit,简称ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。
通信总线704可包括一通路,在上述组件之间传送信息。
通信接口702,可以为任何收发器一类的装置,用于与其他设备或通信网络通信。
存储器703可以是只读存储器(read-only memory,简称ROM)或可存储静态信息和指令的其 他类型的静态存储设备,随机存取存储器(random access memory,简称RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,简称EEPROM)、只读光盘(compact disc read-only memory,简称CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信总线与处理器相连接。存储器也可以和处理器集成在一起。
其中,存储器703用于存储执行本申请方案的应用程序代码,并由处理器701来控制执行。处理器701用于执行存储器703中存储的应用程序代码,从而实现上文中描述的方法。
在具体实现中,作为一种实施例,处理器701可以包括一个或多个CPU,例如图7中的CPU0和CPU1。
在具体实现中,作为一种实施例,电子设备70可以包括多个处理器,例如图7中的处理器701和处理器708。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
在具体实现中,作为一种实施例,电子设备70还可以包括输出设备705和输入设备706。
本申请实施例还提供了一种装置,该装置可以以芯片的产品形态存在,该装置包括处理器、存储器和收发组件,收发组件包括输入输出电路,存储器用于存储计算机执行指令,处理器通过执行存储器中存储的计算机执行指令实现上述方法。
本申请实施例还提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述方法。
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,简称DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,简称SSD))等。
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同 的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (31)

  1. 一种第一电子设备,包括按键模块和与所述按键模块连接的第一通用串行总线USB模块,按压所述按键模块上的不同按键时所述按键模块输出不同的信号,所述第一USB模块用于USB通信,其特征在于,所述第一电子设备还包括:
    第一功率传输PD模块,与所述按键模块连接,用于在所述第一USB模块处于下电状态、且所述按键模块上有按键操作时,将所述按键模块输出的信号转换为PD信号传输至第二电子设备,以使得所述第二电子设备处理所述按键操作,所述第二电子设备为与所述第一电子设备连接的电子设备。
  2. 根据权利要求1所述的设备,其特征在于,所述第二电子设备与所述第一电子设备通过Type-C接口连接。
  3. 根据权利要求1或2所述的设备,其特征在于,所述第一电子设备还包括:
    模数转换模块,与所述第一USB模块连接,用于进行模拟信号和数字信号之间的转换。
  4. 根据权利要求3所述的设备,其特征在于,所述第一电子设备还包括:
    播放模块,与所述模数转换模块连接,用于播放所述模数转换模块输出的音频信号;
    采集模块,与所述模数转换模块连接,用于采集声音信号并将所述声音信号进行转换后输入至所述模数转换模块。
  5. 根据权利要求1-4任一项所述的设备,其特征在于,所述第一电子设备为Type-C设备,和/或,所述第二电子设备为终端设备。
  6. 一种降低功耗的方法,其特征在于,应用于第二电子设备,所述第二电子设备包括控制处理模块,与所述控制处理模块连接的第二通用串行总线USB模块,所述方法包括:
    所述控制处理模块确定与第一电子设备之间无业务;
    所述控制处理模块控制所述第二USB模块向所述第一电子设备中的第一USB模块发送下电指令,所述下电指令用于指示所述第一USB模块下电;
    所述控制处理模块控制所述第二USB模块下电。
  7. 根据权利要求6所述的方法,其特征在于,在所述控制处理模块控制所述第二USB模块下电之后,所述方法还包括:
    所述控制处理模块确定向所述第一电子设备传输数据;
    所述控制处理模块启动所述第二USB模块;
    所述第二USB模块对所述第一USB模块唤醒并建立与所述第一USB模块之间的USB链路;
    所述第二USB模块通过所述USB链路向所述第一USB模块发送数据。
  8. 根据权利要求6所述的方法,其特征在于,所述第二电子设备还包括与所述控制处理模块连接的第二功率传输PD模块,在所述控制处理模块控制所述第二USB模块下电之后,所述方法还包括:
    所述第二PD模块接收所述第一电子设备中的第一PD模块发送的PD信号,所述PD信号为所述第一PD模块在所述第一电子设备中的按键模块上有按键操作时,对所述按键模块输出的信号进行转换后得到的信号;
    所述第二PD模块向所述控制处理模块发送所述PD信号;
    所述控制处理模块在接收到所述PD信号后处理所述按键操作。
  9. 根据权利要求8所述的方法,其特征在于,所述控制处理模块在接收到所述PD信号后处 理所述按键操作,包括:
    所述控制处理模块在接收到所述PD信号后启动所述第二USB模块;
    所述第二USB模块对所述第一USB模块进行唤醒并建立与所述第一USB模块之间的USB链路;
    所述第二USB模块获取所述按键操作的键值,并向所述控制处理模块发送所述按键操作的键值;
    所述控制处理模块根据所述按键操作的键值执行所述键值对应的操作。
  10. 根据权利要求6-9任一项所述的方法,其特征在于,在所述控制处理模块控制所述第二USB模块下电之前,所述方法还包括:
    所述第二USB模块从所述第一USB模块接收指令响应;
    所述第二USB模块根据所述指令响应确定所述第一USB模块成功接收到所述下电指令。
  11. 根据权利要求6-10任一项所述的方法,其特征在于,所述第二电子设备为终端设备,和/或,所述第一电子设备为Type-C设备。
  12. 一种降低功耗的方法,其特征在于,应用于第一电子设备,所述第一电子设备包括第一通用串行总线USB模块,所述方法包括:
    所述第一USB模块从第二电子设备中的第二USB模块接收下电指令;
    所述第一USB模块根据所述下电指令下电。
  13. 根据权利要求12所述的方法,其特征在于,在所述第一USB模块根据所述下电指令下电之后,所述方法还包括:
    在所述第二电子设备需要向所述第一电子设备传输数据时,所述第一USB模块被所述第二USB模块唤醒并建立与所述第二USB模块之间的USB链路;
    所述第一USB模块通过所述USB链路接收所述第二USB模块发送的数据。
  14. 根据权利要求12所述的方法,其特征在于,所述第一电子设备还包括第一功率传输PD模块和按键模块,所述按键模块与所述第一PD模块和所述第一USB模块连接,在所述第一USB模块根据所述下电指令下电之后,所述方法还包括:
    在所述按键模块上有按键操作时,所述第一PD模块对所述按键模块输出的信号进行转换得到PD信号;
    所述第一PD模块向所述第二电子设备中的第二PD模块发送所述PD信号,用于所述第二电子设备处理所述按键操作。
  15. 根据权利要求12-14任一项所述的方法,其特征在于,在所述第一USB模块从第二电子设备中的第二USB模块接收下电指令之后,所述方法还包括:
    所述第一USB模块向所述第二USB模块发送指令响应,所述指令响应用于向所述第二USB模块指示所述第一USB模块成功接收到所述下电指令。
  16. 根据权利要求12-15任一项所述的方法,其特征在于,所述第二电子设备为终端设备,和/或,所述第一电子设备为Type-C设备。
  17. 一种第二电子设备,其特征在于,包括控制处理模块,与所述控制处理模块连接的第二通用串行总线USB模块;
    所述控制处理模块,用于确定与第一电子设备之间无业务;
    所述控制处理模块,还用于控制所述第二USB模块向所述第一电子设备中的第一USB模块 发送下电指令,所述下电指令用于指示所述第一USB模块下电;
    所述控制处理模块,还用于控制所述第二USB模块下电。
  18. 根据权利要求17所述的第二电子设备,其特征在于,
    所述控制处理模块,还用于确定向所述第一电子设备传输数据;
    所述控制处理模块,还用于启动所述第二USB模块;
    所述第二USB模块,用于对所述第一USB模块进行唤醒并建立与所述第一USB模块之间的USB链路;
    所述第二USB模块,还用于通过所述USB链路向所述第一USB模块发送数据。
  19. 根据权利要求17所述的第二电子设备,其特征在于,所述第二电子设备还包括与所述控制处理模块连接的第二功率传输PD模块;
    所述第二PD模块,用于接收所述第一电子设备中的第一PD模块发送的PD信号,所述PD信号为所述第一PD模块在所述第一电子设备中的按键模块上有按键操作时,对所述按键模块输出的信号进行转换后得到的信号;
    所述第二PD模块,还用于向所述控制处理模块发送所述PD信号;
    所述控制处理模块,还用于在接收到所述PD信号后处理所述按键操作。
  20. 根据权利要求19所述的第二电子设备,其特征在于,
    所述控制处理模块,具体用于在接收到所述PD信号后启动所述第二USB模块;
    所述第二USB模块,还用于对所述第一USB模块进行唤醒并建立与所述第一USB模块之间的USB链路;
    所述第二USB模块,还用于获取所述按键操作的键值,并向所述控制处理模块发送所述按键操作的键值;
    所述控制处理模块,具体用于根据所述按键操作的键值执行所述键值对应的操作。
  21. 根据权利要求17-20任一项所述的第二电子设备,其特征在于,
    所述第二USB模块,还用于从所述第一USB模块接收指令响应;
    所述第二USB模块,还用于根据所述指令响应确定所述第一USB模块成功接收到所述下电指令。
  22. 根据权利要求17-21任一项所述的第二电子设备,其特征在于,所述第二电子设备为终端设备,和/或,所述第一电子设备为Type-C设备。
  23. 一种第一电子设备,其特征在于,所述第一电子设备包括第一通用串行总线USB模块;
    所述第一USB模块,用于从第二电子设备中的第二USB模块接收下电指令;
    所述第一USB模块,还用于根据所述下电指令下电。
  24. 根据权利要求23所述的第一电子设备,其特征在于,
    在所述第二电子设备需要向所述第一电子设备传输数据时,所述第一USB模块,还用于被所述第二USB模块唤醒并建立与所述第二USB模块之间的USB链路;
    所述第一USB模块,还用于通过所述USB链路接收所述第二USB模块发送的数据。
  25. 根据权利要求23所述的第一电子设备,其特征在于,所述第一电子设备还包括第一功率传输PD模块和按键模块,所述按键模块与所述第一PD模块和所述第一USB模块连接;
    在所述按键模块上有按键操作时,所述第一PD模块,用于对所述按键模块输出的信号进行转换得到PD信号;
    所述第一PD模块,还用于向所述第二电子设备中的第二PD模块发送所述PD信号,用于所述第二电子设备处理所述按键操作。
  26. 根据权利要求23-25任一项所述的第一电子设备,其特征在于,
    所述第一USB模块,还用于向所述第二USB模块发送指令响应,所述指令响应用于向所述第二USB模块指示所述第一USB模块成功接收到所述下电指令。
  27. 根据权利要求23-26任一项所述的第一电子设备,其特征在于,所述第二电子设备为终端设备,和/或,所述第一电子设备为Type-C设备。
  28. 一种第二电子设备,其特征在于,所述第二电子设备包括:存储器和处理器;
    所述存储器用于存储计算机执行指令,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述第二电子设备实现如权利要求6-11中的任一项所述的方法。
  29. 一种第一电子设备,其特征在于,所述第一电子设备包括:存储器和处理器;
    所述存储器用于存储计算机执行指令,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述第一电子设备实现如权利要求12-16中的任一项所述的方法。
  30. 一种计算机可读存储介质,其特征在于,包括指令,当其在计算机上运行时,使得计算机执行如权利要求6-11中的任一项所述的方法。
  31. 一种计算机可读存储介质,其特征在于,包括指令,当其在计算机上运行时,使得计算机执行如权利要求12-16中的任一项所述的方法。
PCT/CN2017/104359 2017-09-29 2017-09-29 一种电子设备和降低功耗的方法及装置 WO2019061287A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US16/651,729 US11061464B2 (en) 2017-09-29 2017-09-29 Electronic device, method for reducing power consumption, and apparatus
EP17927400.6A EP3680783B1 (en) 2017-09-29 2017-09-29 Electronic apparatus and method and device for reducing power consumption
PCT/CN2017/104359 WO2019061287A1 (zh) 2017-09-29 2017-09-29 一种电子设备和降低功耗的方法及装置
CN201780081536.2A CN110168511B (zh) 2017-09-29 2017-09-29 一种电子设备和降低功耗的方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104359 WO2019061287A1 (zh) 2017-09-29 2017-09-29 一种电子设备和降低功耗的方法及装置

Publications (1)

Publication Number Publication Date
WO2019061287A1 true WO2019061287A1 (zh) 2019-04-04

Family

ID=65902214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/104359 WO2019061287A1 (zh) 2017-09-29 2017-09-29 一种电子设备和降低功耗的方法及装置

Country Status (4)

Country Link
US (1) US11061464B2 (zh)
EP (1) EP3680783B1 (zh)
CN (1) CN110168511B (zh)
WO (1) WO2019061287A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220414930A1 (en) * 2021-06-28 2022-12-29 Motional Ad Llc Geometric intrinsic camera calibration using diffractive optical element
US11636623B2 (en) 2021-06-28 2023-04-25 Motional Ad Llc Systems and methods for camera alignment using pre-distorted targets

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853970A (zh) * 2010-06-21 2010-10-06 华为终端有限公司 一种通过通用串行总线接口充电的方法和装置
CN105094263A (zh) * 2015-08-14 2015-11-25 浪潮软件集团有限公司 一种开关机联动控制的装置及系统
US20160034333A1 (en) * 2014-08-01 2016-02-04 Rohm Co., Ltd. Power supply device, controller thereof, method of controlling the same, and electronic device employing the same
CN106055507A (zh) * 2016-07-29 2016-10-26 珠海智融科技有限公司 一种usb pd通信的bmc信号发送装置
CN107148806A (zh) * 2014-10-28 2017-09-08 飞利浦灯具控股公司 用于通过使用电力协商协议而经由电力线控制负载设备的装置、方法和系统
CN206931736U (zh) * 2017-05-31 2018-01-26 珠海市魅族科技有限公司 Usb线缆、usb接口以及适配器

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3711100B2 (ja) * 2002-09-30 2005-10-26 株式会社東芝 再生装置、出力装置、及び消費電力制御方法
JP5039331B2 (ja) 2006-07-07 2012-10-03 キヤノン株式会社 情報処理装置、削除方法及びプログラム
CN101105710A (zh) 2006-07-12 2008-01-16 乐金电子(昆山)电脑有限公司 Usb设备控制装置及方法
US20080039072A1 (en) * 2006-08-11 2008-02-14 Bloebaum L Scott Mobile radio terminal with headset assembly having multi-function user input button and method
US7912501B2 (en) * 2007-01-05 2011-03-22 Apple Inc. Audio I/O headset plug and plug detection circuitry
KR101120020B1 (ko) * 2007-02-26 2012-03-28 삼성전자주식회사 휴대용 오디오 기기 제어 방법 및 장치
US8995689B2 (en) * 2008-01-14 2015-03-31 Apple Inc. Electronic device circuitry for communicating with accessories
GB2536309B (en) 2015-03-09 2017-08-02 Cirrus Logic Int Semiconductor Ltd Low power bidirectional bus
US9400546B1 (en) * 2015-06-19 2016-07-26 Cypress Semiconductor Corporation Low-power implementation of Type-C connector subsystem
KR102393364B1 (ko) * 2015-10-29 2022-05-03 삼성전자주식회사 오디오 신호 제어 방법 및 이를 지원하는 전자장치
WO2017143471A1 (en) 2016-02-22 2017-08-31 Hewlett-Packard Development Company, L.P. System events in universal serial bus (usb) power delivery devices
CN105912299A (zh) 2016-04-29 2016-08-31 乐视控股(北京)有限公司 控制耳机模式切换的方法、装置及电子设备
US20170373881A1 (en) * 2016-06-27 2017-12-28 Qualcomm Incorporated Systems and methods for controlling isochronous data streams
US10628172B2 (en) * 2016-06-27 2020-04-21 Qualcomm Incorporated Systems and methods for using distributed universal serial bus (USB) host drivers
US10331596B2 (en) * 2016-09-07 2019-06-25 Futurewei Technologies, Inc. USB type-C connector with a secondary port
US20180139528A1 (en) * 2016-11-17 2018-05-17 Chi-Cheng WEN Sensible Wired Earphones
US20180302507A1 (en) * 2017-04-12 2018-10-18 Private Giant Method and apparatus for easy switching between wired and wireless headset with convenient charging
CN107122037B (zh) 2017-04-21 2023-11-03 三明市脉源数字文化创意有限公司 用于降低Type-C接口功耗的方法及装置和系统
US10261558B2 (en) * 2017-04-24 2019-04-16 Hewlett-Packard Development Company, L.P. Module communications via power delivery buses
US10524039B2 (en) * 2018-05-15 2019-12-31 Google Llc Enhanced digital headsets
KR20200055512A (ko) * 2018-11-13 2020-05-21 삼성전자주식회사 제어 신호를 송수신하기 위한 전자 장치 및 방법

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853970A (zh) * 2010-06-21 2010-10-06 华为终端有限公司 一种通过通用串行总线接口充电的方法和装置
US20160034333A1 (en) * 2014-08-01 2016-02-04 Rohm Co., Ltd. Power supply device, controller thereof, method of controlling the same, and electronic device employing the same
CN107148806A (zh) * 2014-10-28 2017-09-08 飞利浦灯具控股公司 用于通过使用电力协商协议而经由电力线控制负载设备的装置、方法和系统
CN105094263A (zh) * 2015-08-14 2015-11-25 浪潮软件集团有限公司 一种开关机联动控制的装置及系统
CN106055507A (zh) * 2016-07-29 2016-10-26 珠海智融科技有限公司 一种usb pd通信的bmc信号发送装置
CN206931736U (zh) * 2017-05-31 2018-01-26 珠海市魅族科技有限公司 Usb线缆、usb接口以及适配器

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3680783A4 *

Also Published As

Publication number Publication date
CN110168511A (zh) 2019-08-23
EP3680783A1 (en) 2020-07-15
US11061464B2 (en) 2021-07-13
EP3680783B1 (en) 2023-03-08
EP3680783A4 (en) 2020-07-15
US20200257353A1 (en) 2020-08-13
CN110168511B (zh) 2021-02-09

Similar Documents

Publication Publication Date Title
EP3621068A1 (en) Portable smart voice interaction control device, method and system
US20190052961A1 (en) Electronic device and method for receiving audio signal by using communication configuration information of external electronic device
JP6742465B2 (ja) ブルートゥーススピーカーにおける連続ウェイクアップ遅延低減の方法、装置及びブルートゥーススピーカー
TWI338222B (en) Method and system for allowing a media player to transfer digital audio to an accessory
WO2018000134A1 (zh) 一种蓝牙连接的方法及终端
WO2020010579A1 (zh) 一种带具有语音交互功能耳机的智能手表
US8438408B2 (en) Control of accessory components by portable computing device
CN107770759B (zh) 蓝牙语音链路的建立方法、装置、存储介质及移动终端
CN110018976B (zh) Usb主设备响应usb从设备方法及相关设备
US10346334B2 (en) Mode switchable audio processor for digital audio
US20190146813A1 (en) Method for Controlling Application and Terminal Device
WO2019061287A1 (zh) 一种电子设备和降低功耗的方法及装置
TWI238605B (en) Method for transmitting and receiving blue-tooth data and its apparatus
WO2024082906A1 (zh) 信息获取方法、装置、蓝牙设备、终端设备及存储介质
US20240015496A1 (en) Wireless accessory advertisements
WO2018072338A1 (zh) 一种电量管理方法及终端设备
CN110876098B (zh) 音频处理方法和电子设备
WO2022199497A1 (zh) 一种协同唤醒第一电子设备的方法及第一电子设备
CN107529353B (zh) 一种基于移动终端的助听装置
TWI475557B (zh) 音訊處理裝置
WO2020097787A1 (zh) 一种音频资源释放的方法、装置及电子设备
KR101945174B1 (ko) Ptt 통신 서비스를 실행하기 위한 기록매체에 저장된 프로그램
WO2020113390A1 (zh) 一种闹钟播放的方法、装置及电子设备
WO2019084752A1 (zh) 一种语音调节耳机音量的方法及相关产品
WO2015151179A1 (ja) 無線通信システム、電子機器および無線接続方法

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: 17927400

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017927400

Country of ref document: EP

Effective date: 20200408