CN113692034B - Control method applied to electronic device, related electronic device and processor - Google Patents

Control method applied to electronic device, related electronic device and processor Download PDF

Info

Publication number
CN113692034B
CN113692034B CN202010420096.2A CN202010420096A CN113692034B CN 113692034 B CN113692034 B CN 113692034B CN 202010420096 A CN202010420096 A CN 202010420096A CN 113692034 B CN113692034 B CN 113692034B
Authority
CN
China
Prior art keywords
processor
wireless network
network module
packet
transmit
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
CN202010420096.2A
Other languages
Chinese (zh)
Other versions
CN113692034A (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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN202010420096.2A priority Critical patent/CN113692034B/en
Publication of CN113692034A publication Critical patent/CN113692034A/en
Application granted granted Critical
Publication of CN113692034B publication Critical patent/CN113692034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0287Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level changing the clock frequency of a controller in the equipment
    • H04W52/029Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level changing the clock frequency of a controller in the equipment reducing the clock frequency of the controller
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The application discloses a control method applied to an electronic device, and a related electronic device and a processor, wherein the electronic device comprises a processor and a wireless network module, and the control method comprises the following steps: generating a judgment result according to whether the wireless network module needs to transmit a packet; and when the judging result indicates that the wireless network module needs to transmit the packet, reducing the frequency of a clock signal used by the processor in the packet transmission process.

Description

Control method applied to electronic device, related electronic device and processor
Technical Field
The present invention relates to a control method of an electronic device, and more particularly, to a control method of an electronic device with a wireless network module.
Background
In current set top boxes (OTT boxes), a power adapter (adapter) is typically used to connect to the mains for power, however, some set top boxes are connected to the television via a universal serial bus (Universal Serial Bus, USB) connector for power due to the high cost of the power adapter. However, since most of the set-top boxes use a wireless network to send and receive data, the power consumed by the set-top boxes easily exceeds the current (the average current of USB 2.0 is about 500 mA) provided by the USB connector when the processor and the wireless network module are both high-power consumption components.
Disclosure of Invention
Therefore, an objective of the present invention is to provide a control method of an electronic device, which can avoid a processor and a wireless network module being in a high power consumption state at the same time, so as to solve the problems described in the prior art.
In an embodiment of the present invention, a control method applied to an electronic device is disclosed, wherein the electronic device includes a processor and a wireless network module, and the control method includes: generating a judgment result according to whether the wireless network module needs to transmit a packet; and when the judging result indicates that the wireless network module needs to transmit the packet, reducing the frequency of a clock signal used by the processor in the packet transmission process.
In another embodiment of the present invention, an electronic device is disclosed, which includes a processor and a wireless network module. In operation of the electronic device, the wireless network module is configured to wirelessly transmit at least one packet, and when the processor knows that the wireless network module is to wirelessly transmit, the processor reduces a frequency of a clock signal used during a process of transmitting a packet by the wireless network module.
In another embodiment of the present invention, a processor disposed in an electronic device is disclosed, wherein the processor is coupled to a wireless network module, and when the wireless network module needs to transmit a packet, the processor first reduces a frequency of a clock signal used, then sets a timer, and starts to inform the wireless network module to transmit the packet; and when the time set by the timer expires, the processor increases the frequency of the clock signal used.
Drawings
Fig. 1 is a schematic view of a television box according to an embodiment of the invention.
Fig. 2 is a flowchart of a control method applied to a television box according to an embodiment of the present invention.
Detailed Description
Fig. 1 is a schematic diagram of a television box 100 according to an embodiment of the invention. As shown in fig. 1, the tv box 100 includes a processor 110, a wireless network module 120, a power supply circuit 130, a high-resolution multimedia interface (High Definition Multimedia Interface, HDMI) connector 140 and a USB connector 150, wherein the processor 110 includes a control unit 112, a timer 114 and a wireless network driver (e.g. Wi-Fi driver) 116. In the present embodiment, the power supply circuit 130 in the tv box 100 receives the dc voltage from the tv 102 through the USB connector 150, and generates the supply voltage VDD to power the components inside the tv box 100 accordingly, i.e. the tv box 100 does not need to be connected to any external power adapter using the mains supply.
In the basic operation of the tv box 100, the processor 110 continuously receives an audio/video stream from the outside through the wireless network module 120, converts the received audio/video stream into an audio/video frequency number conforming to the HDMI specification, and transmits the audio/video frequency number to the tv 102 for playing through the HDMI connector 140. In addition, the television 110 itself may also need to transmit packets to external electronic devices through the wireless network module 120. In this embodiment, since the television box 100 is powered by the USB connector 150 with a low current, and the processor 110 and the wireless network module 120 are all very power-consuming components, in order to avoid that the current provided by the USB connector 150 is lower than the consumption of the television box 100, the processor 110 and the wireless network module 120 are not in a high-power consumption state at the same time by the control method of the present invention. Specifically, since the wireless network module 120 has higher power consumption when the packet is required to be transmitted/broadcast, the processor 110 may decrease the frequency of a clock signal CLK used during the packet transmission process of the wireless network module 120 and/or inform the power supply circuit 130 to decrease the voltage level of the provided supply voltage VDD, so as to avoid that the processor 110 and the wireless network module 120 are in a high power consumption state at the same time.
In detail, when the wireless network driver 116 in the processor 110 needs to transmit the packet through the wireless network module 120, the wireless network driver 116 notifies the control unit 112 to decrease the frequency of the clock signal CLK through the application programming interface (Application Programming Interface, API). In another embodiment, the control unit 112 can also inform the power supply circuit 130 to reduce the supply voltage VDD. After the frequency of the clock signal CLK decreases and/or the voltage level of the supply voltage VDD decreases, the control unit 112 sets a timer 114 to set a default time, and the wireless network driver 116 starts transmitting one or more packets to the external electronic device through the wireless network module 120, wherein the default time is used to represent the transmission time of the one or more packets. When the predetermined time set by the timer 114 expires, which means that the packet of the wireless network module 120 has been transmitted, the control unit 112 increases the frequency of the clock signal CLK (e.g. returns to the original frequency) and/or notifies the power supply circuit 130 to increase the voltage level of the supply voltage VDD (e.g. returns to the original voltage level).
Fig. 2 is a flowchart of a control method applied to the television box 100 according to an embodiment of the present invention, and referring to fig. 1 and 2, the flow of the control method is as follows.
Step S200: the flow starts.
Step S202: the processor 110 determines whether the wireless network module 120 needs to transmit the packet to generate a determination result, if the determination result indicates that there is a packet to be transmitted, the process proceeds to step S204; if no packet needs to be transmitted, the process stops at step S202.
Step S204: the frequency of the clock signal CLK used by the processor 110 is reduced and/or the supply voltage VDD of the processor 110 is reduced.
Step S206: determining whether the clock signal CLK has fallen to an appropriate frequency and/or the supply voltage VDD has fallen to an appropriate potential, if so, the process proceeds to step S210; if not, the flow returns to step S206.
Step S208: wait for a time, and return to step S206.
Step S210: a timer 114 is set.
Step S212: the wireless network module 120 starts packet transmission.
Step S214: judging whether the wireless network module 120 has other packets to transmit, if so, the flow proceeds to step S216; if not, the flow proceeds to step S218.
Step S216: the timer 114 is reset.
Step S218: judging whether the time set by the timer 114 is over, if so, the flow proceeds to step S222; if not, the flow proceeds to step S220.
Step S220: waiting for the time set by the timer 114 to expire.
Step S222: the frequency of the clock signal CLK used by the processor 110 is raised and/or the supply voltage VDD of the processor 110 is raised.
It should be noted that the television box 100 is illustrated in the embodiment shown in fig. 1 and 2, but this feature is not a limitation of the present invention. The control method of the present invention can be applied to other suitable electronic devices as long as the electronic device has a processor and a wireless network module, and the power supply received by the electronic device has a low current.
In the embodiment shown in fig. 1, the television box 100 uses the USB connector 150 to receive the dc voltage from the television 102, however, this feature is not a limitation of the present invention. The USB connector 150 may be replaced with other power connectors as long as the power received by the television set 100 has a lower amount of current, such as a lower specification power adapter.
Briefly summarized, in the control method of the present invention applied to the electronic device, by reducing the frequency of the clock signal used by the processor and/or reducing the voltage level of the supply voltage of the processor during the packet transmission, the processor and the wireless network module are prevented from being in a high-power state (i.e. having high current at the same time), so that the electronic device can use a power source with a lower current amount to reduce the manufacturing cost.
The foregoing description is only of the preferred embodiments of the invention, and all changes and modifications that come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.
[ Symbolic description ]
100 Television box
102 Television
110 Processor
112 Control unit
114 Timer
116 Wireless network driver
120 Wireless network module
130 Power supply circuit
140 HDMI connector
150:USB joint
CLK clock signal
VDD supply voltage
S200-S222 steps

Claims (9)

1. A control method applied to an electronic device is characterized in that the electronic device comprises a processor and a wireless network module, and the control method comprises the following steps: generating a judgment result according to whether the wireless network module needs to transmit a packet; and
When the judging result indicates that the wireless network module needs to transmit the packet, the frequency of a clock signal used by the processor is reduced in the process of transmitting the packet,
Wherein when the judging result indicates that the wireless network module needs to transmit the packet, the step of reducing the frequency of the clock signal used by the processor in the packet transmission process comprises the following steps:
when the judging result indicates that the wireless network module needs to transmit the packet, reducing the frequency of a clock signal used by the processor;
After the frequency of the clock signal used by the processor is reduced, a timer is set to set a preset time, and the wireless network module is controlled to transmit the packet, wherein the preset time indicates the transmission time of the packet;
before the time set by the timer expires, determining whether the wireless network module needs to transmit an additional packet, and resetting the timer in response to the wireless network module needing to transmit the additional packet; and
When the time set by the timer expires, the frequency of the clock signal used by the processor is increased.
2. The control method of claim 1, further comprising: when the judging result indicates that the wireless network module needs to transmit the packet, a supply voltage of the processor is reduced in the packet transmission process.
3. The control method of claim 1, wherein the electronic device is a set top box.
4. An electronic device, comprising:
A processor; and
A wireless network module configured to wirelessly transmit at least one packet;
When the processor knows that the wireless network module is about to carry out wireless transmission, the processor reduces the frequency of a clock signal used in the process of transmitting a packet by the wireless network module;
When the wireless network module needs to transmit the packet, the processor firstly reduces the frequency of the clock signal, then the processor sets a timer to set a preset time and informs the wireless network module to start transmitting the packet, wherein the preset time indicates the transmission time of the packet; and before the time set by the timer expires, the processor determining whether the wireless network module needs to transmit additional packets, and in response to the wireless network module needing to transmit the additional packets, the processor resetting the timer; and when the time set by the timer expires, the processor increases the frequency of the clock signal.
5. The electronic device of claim 4, further comprising: a power supply circuit for providing a supply voltage to the processor;
when the wireless network module transmits the packet, the processor informs the power supply circuit to reduce the potential of the supply voltage in the process of transmitting the packet transmission by the wireless network module.
6. The electronic device of claim 4 wherein the electronic device is a television box and the television box receives a supply voltage for powering the television box through a universal serial bus connector.
7. The processor is coupled to a wireless network module, and when the wireless network module needs to transmit a packet, the processor firstly reduces the frequency of a clock signal used, then sets a timer to set a preset time and informs the wireless network module to start transmitting the packet, wherein the preset time indicates the transmission time of the packet; before the expiration of the time set by the timer, the processor determines whether the wireless network module needs to transmit additional packets, and resets the timer in response to the wireless network module needing to transmit the additional packets; and when the time set by the timer expires, the processor increases the frequency of the clock signal used.
8. The processor of claim 7, wherein when the wireless network module needs to transmit the packet, the processor notifies a power supply circuit to reduce a voltage level of a supply voltage provided to the processor during the packet transmission.
9. The processor of claim 7 wherein the electronic device is a television box and the television box receives a supply voltage that powers the television box through a universal serial bus connector.
CN202010420096.2A 2020-05-18 2020-05-18 Control method applied to electronic device, related electronic device and processor Active CN113692034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010420096.2A CN113692034B (en) 2020-05-18 2020-05-18 Control method applied to electronic device, related electronic device and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010420096.2A CN113692034B (en) 2020-05-18 2020-05-18 Control method applied to electronic device, related electronic device and processor

Publications (2)

Publication Number Publication Date
CN113692034A CN113692034A (en) 2021-11-23
CN113692034B true CN113692034B (en) 2024-05-28

Family

ID=78575562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010420096.2A Active CN113692034B (en) 2020-05-18 2020-05-18 Control method applied to electronic device, related electronic device and processor

Country Status (1)

Country Link
CN (1) CN113692034B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510422A (en) * 2011-10-09 2012-06-20 惠州Tcl移动通信有限公司 Mobile terminal and method for regulating operating load thereof
CN105554525A (en) * 2016-02-19 2016-05-04 微鲸科技有限公司 Upgrade method and upgrade system for smart television or set top box
US9668277B2 (en) * 2013-03-13 2017-05-30 Qualcomm Incorporated Adaptive clock rate for high speed data communications
CN107407957A (en) * 2015-03-17 2017-11-28 索尼公司 Peak point current processor
CN108241425A (en) * 2016-12-23 2018-07-03 广达电脑股份有限公司 Electronic device, electronic system, and control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5568491B2 (en) * 2011-01-31 2014-08-06 ルネサスエレクトロニクス株式会社 Multiprocessor device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510422A (en) * 2011-10-09 2012-06-20 惠州Tcl移动通信有限公司 Mobile terminal and method for regulating operating load thereof
US9668277B2 (en) * 2013-03-13 2017-05-30 Qualcomm Incorporated Adaptive clock rate for high speed data communications
CN107407957A (en) * 2015-03-17 2017-11-28 索尼公司 Peak point current processor
CN105554525A (en) * 2016-02-19 2016-05-04 微鲸科技有限公司 Upgrade method and upgrade system for smart television or set top box
CN108241425A (en) * 2016-12-23 2018-07-03 广达电脑股份有限公司 Electronic device, electronic system, and control method

Also Published As

Publication number Publication date
CN113692034A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN102378048B (en) Television (TV) set top box and automatic standby method thereof
US20090271013A1 (en) Monitor socket, monitor system and control method thereof
JP2017174138A (en) Power supply device, power supply method, control circuit, ac adapter, and electronic apparatus
JP2009157840A (en) Electronic apparatus and method for power saving setting
US20120122348A1 (en) Connector and interface device
CN112671084A (en) USB device and operation method thereof
CN111030200B (en) Electronic device and power adjusting method thereof
CN113692034B (en) Control method applied to electronic device, related electronic device and processor
JP2020047381A (en) Connector device and transmission cable
US10231016B2 (en) Network cooperation-based low power type charged broadcasting set-top box and controlling method therefor
EP3911032A1 (en) Control method applied to electronic device and associated electronic device and processor
CN102055936A (en) Low power consumption standby set-top box and method
US20200393886A1 (en) Method for controlling a device and corresponding device, electronic assembly, system, computer readable program product and computer readable storage medium
JP2011019098A (en) Communication system
US11909145B2 (en) Detecting circuit and detecting method of external display device
US20170075853A1 (en) Universal serial bus device, electronic apparatus including the same, and control method thereof
CN103780953A (en) Multimedia signal transmission method and system
KR102160909B1 (en) Image processing apparatus and control method thereof
TWI619384B (en) Video transmitting device, video receiving device and associated mode switchign method
TW202207575A (en) Electronic device and power management method thereof
CN107844186B (en) Power supply system
TWI723595B (en) Power supply device
TW202224305A (en) Electronic device system and power delivery method
WO2023282081A1 (en) Communication adapter
CN118508371A (en) HDMI CEC leakage current protection circuit and 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