WO2016179918A1 - 一种实现应用控制的方法及终端 - Google Patents

一种实现应用控制的方法及终端 Download PDF

Info

Publication number
WO2016179918A1
WO2016179918A1 PCT/CN2015/087247 CN2015087247W WO2016179918A1 WO 2016179918 A1 WO2016179918 A1 WO 2016179918A1 CN 2015087247 W CN2015087247 W CN 2015087247W WO 2016179918 A1 WO2016179918 A1 WO 2016179918A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
screen
video
audio
closing
Prior art date
Application number
PCT/CN2015/087247
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 中兴通讯股份有限公司
Publication of WO2016179918A1 publication Critical patent/WO2016179918A1/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

Definitions

  • This application relates to, but is not limited to, electronic control technology.
  • the control of the screen power consumption of the mobile terminal is mainly achieved by controlling the brightness of the screen; one method is: first, maintaining the normal brightness for the first time period, the screen is displayed as dark light; second, after maintaining the display for dark light for the second time period The screen is turned off; another method is to detect the brightness of the environment and adjust the brightness of the screen by the brightness; and another method is: when the preset power reaches a certain value, the terminal is triggered to lower the brightness of the screen.
  • the above method for controlling the brightness of the screen can reduce the power consumption of the screen to a certain extent, but how to further improve the use time of the mobile terminal is still a problem that the mobile terminal needs to overcome in daily applications, with the mobile terminal being This problem will become more and more important as the daily application increases.
  • This document provides a method and terminal for implementing application control, which can improve the usage time of the mobile terminal.
  • a method of implementing application control including:
  • the screen component is turned off according to the determined terminal without performing a terminal screen display.
  • the method further includes:
  • Sending a control prompt to the user whether to close the screen component determining that the terminal does not need to perform terminal screen display according to feedback of closing the screen component; determining that the terminal needs to perform a terminal screen according to feedback of not closing the screen component display.
  • turning off the screen component includes:
  • the screen component While keeping the hibernation lock wakelock process working, the screen component is closed by an instruction to close the screen.
  • the closing screen component includes: the terminal screen component parses the audio and video stream data stream, and closes the terminal according to a preset time stamp.
  • the video output channel of the audio and video stream data stream which in turn closes the screen of the terminal.
  • the closing screen component includes: parsing the audio and video stream data stream by the terminal, and parsing the audio and video stream data stream.
  • the output is played only through the HDMI interface, and the video output channel of the screen of the terminal is turned off, thereby closing the terminal screen.
  • the closing screen component includes: the terminal stops parsing the audio and video stream data stream, and the terminal does not The parsed audio and video stream data stream is outputted only through the Wi-Fi interface, and the video output channel of the screen of the terminal is turned off, thereby closing the terminal screen.
  • Wi-Fi wireless local area network
  • the method further includes:
  • the terminal When the terminal receives the unlocking instruction or the abnormal event, the terminal determines the location of the audio and video file according to the preset time stamp of the unlocking, and performs screen display on the acquired audio and video file.
  • a terminal for implementing application control comprising: a determining unit and a processing unit; wherein
  • the determining unit is configured to: when receiving an external command or detecting that the terminal is performing video delivery, determining that the terminal does not need to perform terminal screen display;
  • the processing unit is configured to: close the screen component according to the determined terminal without performing terminal screen display.
  • the terminal further includes a prompting unit, configured to send, to the user, a control prompt for closing the preset function component before determining that the terminal does not need to perform the terminal screen display;
  • the determining unit is configured to: determine that the terminal does not need to perform terminal screen display according to the feedback of closing the preset function component; determine that the terminal needs to be performed according to feedback of not closing the preset function component The terminal screen is displayed.
  • the processing unit is set to,
  • the terminal screen display is not required, and the screen component is closed by the instruction of closing the screen while keeping the sleep lock wakelock process working.
  • the processing unit is set to,
  • the terminal When the terminal performs audio and video display only on its own screen, according to the determined terminal, the terminal screen display is not required, and while the wakelock process is maintained, the audio and video stream data stream is parsed, and the above-mentioned time stamp is turned off according to a preset time stamp.
  • the video output channel of the audio and video stream data stream which in turn closes the screen of the terminal.
  • the processing unit is set to,
  • the terminal screen display is not required, while the wakelock process is maintained, the audio and video stream data stream is parsed, and the parsed audio and video stream data stream is only passed through the HDMI.
  • the interface performs output playback, and the video output channel of the screen of the terminal is turned off, thereby closing the terminal screen.
  • the processing unit is set to,
  • the terminal screen display is not required, and while the wakelock process is maintained, the analysis of the audio and video stream data stream is stopped, and the unresolved audio and video stream data is The stream is outputted only through the Wi-Fi interface, and the video output channel of the screen of the terminal is turned off, thereby closing the terminal screen.
  • the device further includes an unlocking unit, configured to: when receiving the unlocking instruction or the abnormal event, determine the audio and video file position according to the preset time stamp of the unlocking, and perform screen display on the acquired audio and video file.
  • an unlocking unit configured to: when receiving the unlocking instruction or the abnormal event, determine the audio and video file position according to the preset time stamp of the unlocking, and perform screen display on the acquired audio and video file.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the technical solution of the present application includes: receiving an external command or detecting that the terminal does not need to perform terminal screen display when performing video delivery; and determining that the terminal does not need to perform terminal screen display to close the screen component according to the determined terminal.
  • the method of the embodiment of the invention reduces the power consumption of the terminal and improves the working time of the terminal by receiving an external command or detecting that the terminal does not need to perform terminal screen display when performing video delivery, thereby reducing power consumption of the terminal.
  • FIG. 1 is a flowchart of a method for implementing application control according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of a terminal for implementing application control according to an embodiment of the present invention
  • FIG. 3 is a flow chart of a method according to a first embodiment of the present invention.
  • FIG. 4 is a flow chart of a method of a second embodiment of the present invention.
  • the inventor has found that when some applications of the mobile terminal are working, the screen display does not have meaning for the application itself; and according to the application control of the mobile terminal, the screen remains displayed while the applications are running; once the screen is closed The operation, the mobile terminal will be in a sleep state, that is, the working application will also be terminated due to the closing of the screen, thereby affecting the normal operation of the application.
  • FIG. 1 is a flowchart of a method for implementing application control according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
  • Step 100 After receiving an external command or detecting that the terminal is performing video delivery, determining that the terminal does not need to perform terminal screen display;
  • the method of the embodiment of the present invention may further include:
  • the method of the embodiment of the present invention can set the screen state identifier of the terminal in advance, and the corresponding assignment value of the assignment screen state identifier indicates that the terminal does not need to perform screen display; for example, the assignment does not need to display the screen to 1 to indicate that the terminal does not need to perform screen display; generally,
  • the screen state is identified as a default value or a value within a default value range, and the value can be set according to an empirical value according to a person skilled in the art.
  • Step 101 The screen component is turned off according to the determined terminal without performing terminal screen display.
  • This step to close the screen components includes:
  • the screen component While keeping the sleeplock process working, the screen component is closed by an instruction to turn off the screen.
  • the instruction to turn off the screen can be implemented by a preset screen control instruction, for example, setting a preset screen control instruction to a value of 1 means to turn off the screen component.
  • the closing screen component includes: the terminal screen component parses the audio and video stream data stream, and closes the video output channel of the audio and video stream data stream of the terminal according to a preset time stamp. Then close the screen of the terminal.
  • the screen off component includes: the terminal parses the audio and video stream data stream, and the parsed audio and video stream data stream is output and played only through the HDMI interface, and the terminal is closed. The video output channel of the screen, which in turn closes the terminal screen.
  • HDMI High Definition Multimedia Interface
  • the terminal uses the wireless LAN (Wi-Fi) method based on the IEEE 802.11b standard for video
  • Wi-Fi wireless LAN
  • the screen component is closed: the terminal stops parsing the audio and video stream data stream, and the unresolved audio and video stream data stream is output and played only through the Wi-Fi interface, and the video output channel of the screen of the terminal is closed, thereby closing the terminal. screen.
  • the position of the audio and video file is determined according to the preset time stamp of the unlocking, and the obtained audio and video file is displayed on the screen.
  • the method of the embodiment of the invention reduces the power consumption of the terminal and improves the working time of the terminal by receiving an external command or detecting that the terminal does not need to perform terminal screen display when performing video delivery, thereby reducing power consumption of the terminal.
  • FIG. 2 is a structural diagram of a terminal for implementing application control according to an embodiment of the present invention, as shown in FIG. 2, including at least
  • the determining unit 21 is configured to: when receiving an external command or detecting that the terminal is performing video delivery, determining that the terminal does not need to perform terminal screen display;
  • the processing unit 22 is configured to: close the screen component without performing terminal screen display according to the determined terminal.
  • the processing unit 22 is configured to
  • the terminal screen display is not required, and the screen component is closed by the instruction of closing the screen while keeping the wakelock process working.
  • processing unit 22 is configured to
  • the terminal When the terminal performs audio and video display only on its own screen, the terminal does not need to perform terminal screen display according to the determined terminal, and while the wakelock process is working, the audio and video stream data stream is parsed, and the audio and video is turned off according to the preset time stamp. Streaming the video output channel of the stream, which in turn closes the screen of the terminal.
  • the terminal screen display is not required, and while the wakelock process is maintained, the audio and video stream data stream is parsed, and the parsed audio and video stream data stream is only passed through the HDMI interface.
  • Output playback close the video output channel of the terminal's screen, and then close the terminal screen.
  • the terminal screen display is not required, and while the wakelock process is maintained, the analysis of the audio and video stream data stream is stopped, and the unresolved audio and video stream data stream is only Output playback through the Wi-Fi interface, close the video output channel of the terminal's screen, and then close the terminal screen.
  • the terminal of the embodiment of the present invention may further include a prompting unit 23, configured to: before determining that the terminal does not need to perform the terminal screen display, send a control prompt to the user whether to close the preset function component; the processing unit 22 is configured to: preset according to the shutdown
  • the feedback of the functional component determines that the terminal does not need to perform terminal screen display; according to the feedback of the function component that is not set to be closed, it is determined that the terminal needs to perform terminal screen display.
  • the apparatus of the embodiment of the present invention may further include an unlocking unit 24 configured to: when receiving an unlocking instruction or an abnormal event, determine an audio and video file position according to a preset time stamp of the unlocking, and perform screen display on the acquired audio and video file.
  • an unlocking unit 24 configured to: when receiving an unlocking instruction or an abnormal event, determine an audio and video file position according to a preset time stamp of the unlocking, and perform screen display on the acquired audio and video file.
  • FIG. 3 is a flowchart of a method according to a first embodiment of the present invention. As shown in FIG. 3, the method includes:
  • step 300 it is determined that the terminal does not need to perform terminal screen display.
  • whether the terminal needs the terminal screen display may be determined by whether a preset external command is received, including:
  • the external command can be An instruction generated by a predefined combination of keys or a custom sliding trajectory.
  • Determining that the terminal does not need to perform terminal screen display can also be determined by detecting the terminal through HDMI or Wi-Fi projection, including:
  • the value of Power_Save_Flag is set to 1, indeed The terminal does not need to display the terminal screen; when the terminal is not detected through HDMI or Wi-Fi, the Power_Save_Flag is set to 0 by default, and it is determined that the terminal needs to display the terminal screen.
  • Step 301 Turn off a preset function component for determining a terminal that does not need to perform terminal screen display.
  • the preset function component includes a screen component; and closing the preset function component includes: closing the screen component by stopping the screen instruction while keeping the wakelock process working; here, the instruction to close the screen is:
  • the set screen control instruction takes a value of 1 to indicate that the screen component is closed.
  • the wakelock process is kept working, except for the terminal screen component being closed, other components continue to work; that is, if the video is being served, other data transmissions and components work normally except that the screen component of the terminal itself is turned off, here, the screen When it is turned off, when the video is delivered, the terminal only screens through HDMI or Wi-Fi, and no video display is performed on the terminal.
  • the closing the screen component includes: the terminal screen component parses the audio and video stream data stream, and closes the terminal according to a preset time stamp (which may be 3S).
  • the video output channel of the terminal screen is a Vout channel; when the video output channel is turned off, the audio output channel of the terminal still maintains a normal working state for audio playback.
  • the screen off component includes: the terminal parses the audio and video stream data stream, and the parsed audio and video stream data stream is output and played only through the HDMI interface, and the video output channel of the terminal screen is closed. And then close the terminal screen; or,
  • the screen component When the terminal uses the Wi-Fi mode for video delivery, the screen component is closed: the terminal stops parsing the audio and video stream, and the unresolved audio and video stream is output only through the Wi-Fi interface, and the terminal is closed. The video output channel of the screen, which in turn closes the terminal screen.
  • the video output channel of the terminal screen is a Vout channel; when the video output channel is closed, the video output channel of the video and the terminal sharing the audio and video still maintains a normal working state, and the audio and video are performed. Delivery.
  • the audio and video output channel of the terminal refers to the output channel of the terminal for application control;
  • the video output channel of the device for sharing video and video is the video output channel of the device connected to the terminal through the wireless protocol (Wi-Fi Miracast) standard or HDMI standard of video sharing and obtained the audio and video sharing of the terminal, and the sound is transmitted with the terminal.
  • the device for video sharing for video delivery may be a television (TV) device, a mobile phone, a personal computer (PC), a tablet, or the like.
  • the terminal turns on the closed screen according to the received unlocking instruction. Including steps 302-303:
  • Step 302 The terminal receives the unlocking instruction, and sends a preset time stamp of the unlocking to the screen component according to the unlocking instruction.
  • the unlocked timestamp may be Time_wakeup.
  • Step 303 The terminal re-opens the video output channel of the terminal according to the unlocked timestamp, and acquires audio and video information synchronized with the delivered audio and video according to the unlocked timestamp.
  • the terminal video output channel is turned on, that is, the Vout channel that is turned off in step 301;
  • the audio and video information synchronized with the delivered audio and video refers to audio and video information synchronized with the video output channel of the device that the terminal performs audio and video sharing.
  • FIG. 4 is a flow chart of a method according to a second embodiment of the present invention. As shown in FIG. 4, the method includes:
  • Step 400 Send a control prompt to the user whether to close the preset function component, and determine whether the terminal does not need to perform the terminal screen display according to the feedback of the control prompt; including: according to the feedback of the control prompt, if the user feedback turns off the preset function component, The value of the assignment screen status indicator Power_Save_Flag is 1, and it is determined that the terminal does not need to display the terminal screen; if the user feedback does not close the preset function component, the assignment screen status identifier Power_Save_Flag is the default value of 0.
  • the terminal only performs audio and video display on its own screen, so it sends a control prompt to the user whether to close the preset function component, which is essentially whether to receive only the audio control prompt, and only receives the audio information according to the user feedback.
  • the information of the user feedback that only receives the audio can be fed back only the information of the audio through a pre-defined combination key or a customized sliding track feedback.
  • Step 401 Determine, when the terminal does not need to perform terminal screen display, send a preset timestamp to the terminal screen component, and perform related processing of turning off the screen according to the preset timestamp;
  • the preset timestamp may be Time_powersave;
  • the related processing for closing the screen includes: the terminal screen component parses the audio and video stream data stream, and closes the video output channel of the audio and video stream of the terminal according to the preset time stamp. (Vout channel), which in turn closes the screen of the terminal.
  • the terminal screen component of the embodiment stops parsing the audio and video stream, and the audio and video stream still passes the real-time transmission protocol.
  • RTP real-time transmission protocol
  • the terminal for sharing audio and video with the terminal decodes and plays the received audio and video stream data stream; when the terminal and the terminal share audio and video with the device in this embodiment
  • the terminal in this embodiment still needs to decode the audio and video stream data stream, but only sends the decoded audio and video data stream to the HDMI interface.
  • Step 402 The terminal closes the screen component by stopping the screen instruction while keeping the wakelock process working.
  • Step 403 The terminal turns on the closed screen according to the received unlocking instruction or abnormal event. That is, when the terminal receives the unlocking command or the abnormal event, the terminal sends a preset time stamp of the unlocking to the terminal; here, the timestamp of the unlocking may be Time_wakeup, determining the location of the audio and video file according to the unlocked timestamp Time_wakeup terminal, and acquiring the audio and video file. Display and delivery processing.
  • the abnormal event refers to an audio/video stream (the Wi-Fi connection) or a decoded audio/video stream (the HDMI connection) received by the device sharing audio and video with the terminal, and the audio and video sharing cannot be performed.
  • the information of the abnormal event is returned to the terminal through the Transmission Control Protocol (TCP) protocol or the HDMI protocol.
  • TCP Transmission Control Protocol
  • the terminal starts decoding the audio and video file from the position of the audio and video file, and if the terminal and the device sharing the audio and video with the terminal are connected by HDMI.
  • the terminal acquires audio and video information from the Time_wakeup time through the HDMI channel for playback display.
  • all or part of the steps of the above embodiments may also be implemented using an integrated circuit.
  • the steps may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps may be fabricated into a single integrated circuit module.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the screen component by receiving an external command or detecting that the terminal does not need to perform terminal screen display when performing video delivery, the screen component is turned off, the power consumption of the terminal is reduced, and the working time of the terminal is improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

一种实现应用控制的方法及终端,包括:接收到外部指令或检测到终端在进行视频投放时,确定终端无需进行终端屏幕显示(100);根据确定的终端无需进行终端屏幕显示关闭屏幕组件(101)。

Description

一种实现应用控制的方法及终端 技术领域
本申请涉及但不限于电子控制技术。
背景技术
随着移动终端设备的发展,移动终端的应用在日常生活中应用愈加广泛,时间也愈来愈长;为了延长移动终端的工作时长,技术人员进行了应用控制,避免无用的应用消耗过多的电量,例如、终端进行当前应用操作时,将其他应用至于后台或设置其进入休眠状态,从而降低应用不合理的电量消耗。
随着移动终端屏幕向大尺寸和高清的方向发展,屏幕功耗成为移动终端的主要功耗部分。对屏幕功耗进行有效控制,可以延长移动终端的工作时长。目前对移动终端的屏幕功耗进行控制主要通过控制屏幕的亮度实现;一种方法是:一、维持正常亮度第一时长后屏幕显示为暗光;二、在维持显示为暗光第二时长后关闭屏幕;另一种方法是:检测环境中的光亮程度,通过光亮程度进行屏幕亮度的调节;还有一种方法是:在预先设定的电量达到一定数值时,触发终端降低屏幕亮度等。
上述进行屏幕亮度的控制的方法,虽然可以在一定程度上降低屏幕的功耗,但是,如何进一步提高移动终端的使用时长,仍然是移动终端在日常应用中需要克服的问题,随着移动终端在日常应用的增加,这个问题将愈发重要。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本文提供一种实现应用控制的方法及终端,能够提高移动终端的使用时长。
一种实现应用控制的方法,包括:
接收到外部指令或检测到终端在进行视频投放时,确定终端无需进行终端屏幕显示;
根据确定的终端无需进行终端屏幕显示关闭屏幕组件。
可选地,在确定所述终端无需进行终端屏幕显示之前,该方法还包括:
向用户发送是否关闭所述屏幕组件的控制提示,根据关闭所述屏幕组件的反馈,确定所述终端无需进行终端屏幕显示;根据不关闭所述屏幕组件的反馈,确定所述终端需要进行终端屏幕显示。
可选地,关闭屏幕组件包括:
在保持休眠锁定wakelock进程工作的同时,通过关闭屏幕的指令关闭屏幕组件。
可选地,当终端仅在自身的屏幕进行音视频显示时,所述关闭屏幕组件包括:所述终端屏幕组件对音视频流数据流的解析,根据预先设置的时间戳,关闭所述终端的音视频流数据流的视频输出通道,进而关闭所述终端的屏幕。
可选地,当所述终端采用高清晰度多媒体接口HDMI方式进行所述视频投放时,所述关闭屏幕组件包括:所述终端对音视频流数据流的解析,将解析的音视频流数据流仅通过HDMI接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
可选地,当所述终端采用基于IEEE 802.11b标准的无线局域网Wi-Fi方式进行所述视频投放时,所述关闭屏幕组件包括:所述终端停止对音视频流数据流的解析,将未解析的音视频流数据流仅通过Wi-Fi接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
可选地,该方法还包括:
所述终端接收到解锁指令或异常事件时,根据预先设置的解锁的时间戳确定音视频文件位置,对获取音视频文件进行屏幕显示。
一种实现应用控制的终端,包括:确定单元和处理单元;其中,
确定单元,设置为:接收到外部指令或检测到终端在进行视频投放时,确定终端无需进行终端屏幕显示;
处理单元,设置为:根据确定的终端无需进行终端屏幕显示关闭屏幕组件。
可选地,该终端还包括提示单元,设置为:在确定所述终端无需进行终端屏幕显示之前,向用户发送是否关闭所述预先设置的功能组件的控制提示;
所述确定单元,是设置为:根据关闭所述预先设置的功能组件的反馈,确定所述终端无需进行终端屏幕显示;根据不关闭所述预先设置的功能组件的反馈,确定所述终端需要进行终端屏幕显示。
可选地,处理单元是设置为,
根据确定的终端无需进行终端屏幕显示,在保持休眠锁定wakelock进程工作的同时,通过关闭屏幕的指令关闭屏幕组件。
可选地,处理单元是设置为,
当终端仅在自身的屏幕进行音视频显示时,根据确定的终端无需进行终端屏幕显示,在保持wakelock进程工作的同时,对音视频流数据流的解析,根据预先设置的时间戳,关闭所述音视频流数据流的视频输出通道,进而关闭所述终端的屏幕。
可选地,处理单元是设置为,
当所述终端采用HDMI方式进行视频投放时,根据确定的终端无需进行终端屏幕显示,在保持wakelock进程工作的同时,对音视频流数据流的解析,将解析的音视频流数据流仅通过HDMI接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
可选地,处理单元是设置为,
当所述终端采用Wi-Fi方式进行视频投放时,根据确定的终端无需进行终端屏幕显示,在保持wakelock进程工作的同时,停止对音视频流数据流的解析,将未解析的音视频流数据流仅通过Wi-Fi接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
可选地,该装置还包括解锁单元,设置为:接收到解锁指令或异常事件时,根据预先设置的解锁的时间戳确定音视频文件位置,对获取音视频文件进行屏幕显示。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。
与相关技术相比,本申请技术方案包括:接收到外部指令或检测到终端在进行视频投放时,确定终端无需进行终端屏幕显示;根据确定的终端无需进行终端屏幕显示关闭屏幕组件。本发明实施例方法通过接收到外部指令或检测到终端在进行视频投放时确定无需进行终端屏幕显示,进行屏幕组件的关闭,降低了终端的功耗,提高了终端的工作时长。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例实现应用控制的方法的流程图;
图2为本发明实施例实现应用控制的终端的结构程图;
图3为本发明第一实施例的方法流程图;
图4是本发明第二实施例的方法流程图。
本发明的实施方式
下文中将结合附图对本发明的实施方式进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
发明人发现,移动终端的一些应用在工作时,屏幕显示对于应用本身而言,并不存在意义;而根据移动终端已有的应用控制,这些应用运行时,屏幕一直保持显示;一旦进行屏幕关闭的操作,移动终端将进行休眠状态,即正在工作的应用也会因为屏幕的关闭而终止,从而影响应用的正常工作。
图1为本发明实施例实现应用控制的方法的流程图,如图1所示,包括:
步骤100、接收到外部指令或检测到终端在进行视频投放时,确定终端无需进行终端屏幕显示;
在确定终端无需进行终端屏幕显示之前,本发明实施例方法还可包括:
向用户发送是否关闭屏幕组件的控制提示,根据关闭屏幕组件的反馈,确定终端无需进行终端屏幕显示;根据不关闭屏幕组件的反馈,确定终端需要进行终端屏幕显示。
本发明实施例方法可以通过预先设置终端的屏幕状态标识,通过赋值屏幕状态标识相应赋值表示终端无需进行屏幕显示;例如,赋值无需进行屏幕显示为1表示终端无需进行屏幕显示;一般的,还可以设置终端需进行屏幕显示时,屏幕状态标识为默认取值或默认取值范围内的数值,其取值可以根据本领域技术人员根据经验值进行设定。
步骤101、根据确定的终端无需进行终端屏幕显示关闭屏幕组件。
本步骤关闭屏幕组件包括:
在保持休眠锁定(wakelock)进程工作的同时,通过关闭屏幕的指令关闭屏幕组件。
关闭屏幕的指令可以通过预先设置的屏幕控制指令实现,例如设置预先设置的屏幕控制指令取值为1时表示关闭屏幕组件。
在保持wakelock进程工作的同时,
当终端仅在自身的屏幕进行音视频显示时,关闭屏幕组件包括:终端屏幕组件对音视频流数据流的解析,根据预先设置的时间戳,关闭终端的音视频流数据流的视频输出通道,进而关闭终端的屏幕。
当终端采用高清晰度多媒体接口(HDMI)方式进行视频投放时,关闭屏幕组件包括:终端对音视频流数据流的解析,将解析的音视频流数据流仅通过HDMI接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
当终端采用基于IEEE 802.11b标准的无线局域网(Wi-Fi)方式进行视频 投放时,关闭屏幕组件包括:终端停止对音视频流数据流的解析,将未解析的音视频流数据流仅通过Wi-Fi接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
本发明实施例方法还包括:
终端接收到解锁指令或异常事件时,根据预先设置的解锁的时间戳确定音视频文件位置,对获取音视频文件进行屏幕显示。
本发明实施例方法通过接收到外部指令或检测到终端在进行视频投放时确定无需进行终端屏幕显示,进行屏幕组件的关闭,降低了终端的功耗,提高了终端的工作时长。
图2为本发明实施例实现应用控制的终端的结构程图,如图2所示,至少包括
确定单元21和处理单元22;其中,
确定单元21,设置为:接收到外部指令或检测到终端在进行视频投放时,确定终端无需进行终端屏幕显示;
处理单元22,设置为:根据确定的终端无需进行终端屏幕显示关闭屏幕组件。
处理单元22是设置为,
根据确定的终端无需进行终端屏幕显示,在保持wakelock进程工作的同时,通过关闭屏幕的指令关闭屏幕组件。
可选的,处理单元22是设置为,
当终端仅在自身的屏幕进行音视频显示时,根据确定的终端无需进行终端屏幕显示,在保持wakelock进程工作的同时,对音视频流数据流的解析,根据预先设置的时间戳,关闭音视频流数据流的视频输出通道,进而关闭终端的屏幕。
当终端采用HDMI方式进行视频投放时,根据确定的终端无需进行终端屏幕显示,在保持wakelock进程工作的同时,对音视频流数据流的解析,将解析的音视频流数据流仅通过HDMI接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
当终端采用Wi-Fi方式进行视频投放时,根据确定的终端无需进行终端屏幕显示,在保持wakelock进程工作的同时,停止对音视频流数据流的解析,将未解析的音视频流数据流仅通过Wi-Fi接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
本发明实施例终端还可包括提示单元23,设置为:在确定终端无需进行终端屏幕显示之前,向用户发送是否关闭预先设置的功能组件的控制提示;处理单元22是设置为:根据关闭预先设置的功能组件的反馈,确定终端无需进行终端屏幕显示;根据不关闭预先设置的功能组件的反馈,确定终端需要进行终端屏幕显示。
本发明实施例装置还可包括解锁单元24,设置为:接收到解锁指令或异常事件时,根据预先设置的解锁的时间戳确定音视频文件位置,对获取音视频文件进行屏幕显示。
实施例1
图3是本发明第一实施例的方法流程图,如图3所示,包括:
步骤300,确定终端无需进行终端屏幕显示;本实施例中,终端无需进行终端屏幕显示通过预先设置的屏幕状态标识表示;例如、可以预先设置屏幕状态标识为Power_Save_Flag,赋值Power_Save_Flag=1时,确定终端无需进行终端屏幕显示;赋值Power_Save_Flag默认值为0时,终端需进行终端屏幕显示。
本实施例,终端是否需要终端屏幕显示可以通过是否接收到预先设置的外部指令确定,包括:
接收到预先设置的外部指令时,赋值Power_Save_Flag=1,确定无需进行终端屏幕显示;未接收到预先设置的外部指令时,赋值Power_Save_Flag默认为0,终端需要进行终端屏幕显示;这里,外部指令可以是由预先定义的组合键或自定义的滑动轨迹生成的指令。
确定终端无需进行终端屏幕显示还可以通过检测终端通过HDMI或Wi-Fi投屏进行确定,包括:
检测到终端通过HDMI或Wi-Fi投屏时,赋值Power_Save_Flag为1,确 定终端无需进行终端屏幕显示;未检测到终端通过HDMI或Wi-Fi投屏时,Power_Save_Flag默认设置为0,确定终端需要进行终端屏幕显示。
步骤301、对确定无需进行终端屏幕显示的终端,关闭预先设置的功能组件。
本实施例中,预先设置的功能组件包括屏幕组件;关闭预先设置的功能组件包括:在保持wakelock进程工作的同时,通过关闭屏幕的指令仅关闭屏幕组件;这里,关闭屏幕的指令为:通过预先设置的屏幕控制指令取值为1表示关闭屏幕组件的指令。
由于保持wakelock进程工作,除了终端屏幕组件被关闭以外,其他组件继续保持工作;即,如果在进行视频投放,则除了终端自身的屏幕组件被关闭外,其他数据传输和组件工作正常,这里,屏幕被关闭时,视频投放时,终端只通过HDMI或Wi-Fi进行投屏,在终端上不进行视频显示。
本实施例中,当终端仅在自身的屏幕进行音视频显示时,关闭屏幕组件包括:终端屏幕组件对音视频流数据流的解析,根据预先设置的时间戳(可以是3S),关闭终端的音视频流数据流的视频输出通道,进而关闭终端的屏幕;预先设置的时间戳可以是Time_powersave。
这里,终端屏幕的视频输出通道为Vout通道;在关闭视频输出通道时,终端的音频输出通道依旧保持正常的工作状态,进行音频播放。
当终端采用HDMI方式进行视频投放时,关闭屏幕组件包括:终端对音视频流数据流的解析,将解析的音视频流数据流仅通过HDMI接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕;或,
当终端采用Wi-Fi方式进行视频投放时,关闭屏幕组件包括:终端停止对音视频流数据流的解析,将未解析的音视频流数据流仅通过Wi-Fi接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
本实施例中,在进行视频投放时,终端屏幕的视频输出通道为Vout通道;在关闭视频输出通道时,视频和终端进行音视频共享的设备视频输出通道依旧保持正常的工作状态,进行音视频的投放。
终端的音视频输出通道是指进行应用控制的终端的输出通道;与终端进 行音视频共享进行视频投放的设备的视频输出通道为通过视频分享的无线协议(Wi-Fi Miracast)标准或HDMI标准与终端相连并获得终端音视频共享的设备的视频输出通道,与终端进行音视频共享进行视频投放的设备可以是电视机(TV)设备、手机、个人计算机(PC)、平板电脑等。
本实施例中,终端在关闭屏幕后,根据接收的解锁指令开启关闭的屏幕。包括步骤302~303:
步骤302、终端接收到解锁指令,根据解锁指令向屏幕组件发送预先设置的解锁的时间戳;这里,解锁的时间戳可以是Time_wakeup。
步骤303、根据解锁的时间戳,终端重新开启终端的视频输出通道,根据解锁的时间戳,获取与投放的音视频同步的音视频信息。这里,开启终端视频输出通道即步骤301中关闭的Vout通道;与投放的音视频同步的音视频信息是指与和终端进行音视频共享的设备的视频输出通道相同步的音视频信息。
实施例2
图4是本发明第二实施例的方法流程图,如图4所示,包括:
步骤400、向用户发送是否关闭预先设置的功能组件的控制提示,根据控制提示的反馈确定终端是否无需进行终端屏幕显示;包括:根据控制提示的反馈,如果用户反馈关闭预先设置的功能组件,可以赋值屏幕状态标识Power_Save_Flag取值为1,确定终端无需进行终端屏幕显示;如果用户反馈不关闭预先设置的功能组件,则赋值屏幕状态标识Power_Save_Flag为默认值0。
本实施例终端仅在自身的屏幕进行音视频显示,因此向用户发送是否关闭预先设置的功能组件的控制提示,其实质是是否只接收音频的控制提示,根据用户反馈的确定只接收音频的信息,赋值Power_Save_Flag=1,终端无需进行终端屏幕显示。这里,用户反馈的确定只接收音频的信息可以通过预先定义的组合键或自定义的滑动轨迹反馈只接收音频的信息。
步骤401、确定终端无需进行终端屏幕显示时,向终端屏幕组件发送预先设置的时间戳,根据预先设置的时间戳,进行关闭屏幕的相关处理;这 里,预先设置的时间戳可以是Time_powersave;进行关闭屏幕的相关处理包括:终端屏幕组件对音视频流数据流的解析,根据预先设置的时间戳,关闭终端的音视频流数据流的视频输出通道(Vout通道),进而关闭终端的屏幕。
当本实施例终端与和终端进行音视频共享的设备之间采用Wi-Fi方式连接时,本实施例终端屏幕组件停止对音视频流数据流的解析,而音视频数据流仍然通过实时传输协议(RTP)协议发送给和终端进行音视频共享的设备,和终端进行音视频共享的设备对接收的音视频流数据流进行解码播放;当本实施例终端与和终端进行音视频共享的设备之间采用HDMI方式连接时,本实施例终端仍然需要对音视频流数据流进行解码,但是仅向HDMI接口发送解码后的音视频数据流。
步骤402、终端在保持wakelock进程工作的同时,通过关闭屏幕的指令关闭屏幕组件。
步骤403、终端根据接收的解锁指令或异常事件,开启关闭的屏幕。即终端接收到解锁指令或异常事件时,向终端发送预先设置的解锁的时间戳;这里,解锁的时间戳可以是Time_wakeup,根据解锁的时间戳Time_wakeup终端确定音视频文件位置,对获取音视频文件进行显示及投放处理。这里,异常事件是指和终端进行音视频共享的设备接收到的音视频流数据流(Wi-Fi方式连接)或解码后的音视频流(HDMI方式连接)出现异常、无法进行音视频共享时,通过传输控制协议(TCP)协议或HDMI协议中向终端返回异常事件的信息。
如果终端与和终端进行音视频共享的设备通过Wi-Fi方式连接,终端从确定音视频文件位置开始对音视频文件进行解码播放,如果终端与和终端进行音视频共享的设备通过HDMI方式连接时,终端通过HDMI通道从Time_wakeup时刻起获取音视频信息进行播放显示。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这 些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例通过接收到外部指令或检测到终端在进行视频投放时确定无需进行终端屏幕显示,进行屏幕组件的关闭,降低了终端的功耗,提高了终端的工作时长。

Claims (15)

  1. 一种实现应用控制的方法,包括:
    接收到外部指令或检测到终端在进行视频投放时,确定终端无需进行终端屏幕显示;
    根据确定的终端无需进行终端屏幕显示关闭屏幕组件。
  2. 根据权利要求1所述的方法,其中,在确定所述终端无需进行终端屏幕显示之前,该方法还包括:
    向用户发送是否关闭所述屏幕组件的控制提示,根据关闭所述屏幕组件的反馈,确定所述终端无需进行终端屏幕显示;根据不关闭所述屏幕组件的反馈,确定所述终端需要进行终端屏幕显示。
  3. 根据权利要求1所述的方法,其中,所述关闭屏幕组件包括:
    在保持休眠锁定wakelock进程工作的同时,通过关闭屏幕的指令关闭屏幕组件。
  4. 根据权利要求3所述的方法,其中,
    当终端仅在自身的屏幕进行音视频显示时,所述关闭屏幕组件包括:所述终端屏幕组件对音视频流数据流的解析,根据预先设置的时间戳,关闭所述终端的音视频流数据流的视频输出通道,进而关闭所述终端的屏幕。
  5. 根据权利要求3所述的方法,其中,
    当所述终端采用高清晰度多媒体接口HDMI方式进行所述视频投放时,所述关闭屏幕组件包括:所述终端对音视频流数据流的解析,将解析的音视频流数据流仅通过HDMI接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
  6. 根据权利要求3所述的方法,其中,
    当所述终端采用基于IEEE 802.11b标准的无线局域网Wi-Fi方式进行所述视频投放时,所述关闭屏幕组件包括:所述终端停止对音视频流数据流的解析,将未解析的音视频流数据流仅通过Wi-Fi接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
  7. 根据权利要求1~6任一项所述的方法,还包括:
    所述终端接收到解锁指令或异常事件时,根据预先设置的解锁的时间戳确定音视频文件位置,对获取音视频文件进行屏幕显示。
  8. 一种实现应用控制的终端,包括:确定单元和处理单元;其中,
    确定单元,设置为:接收到外部指令或检测到终端在进行视频投放时,确定终端无需进行终端屏幕显示;
    处理单元,设置为:根据确定的终端无需进行终端屏幕显示关闭屏幕组件。
  9. 根据权利要求8所述的终端,还包括提示单元,设置为:在确定所述终端无需进行终端屏幕显示之前,向用户发送是否关闭所述预先设置的功能组件的控制提示;
    所述确定单元,是设置为:根据关闭所述预先设置的功能组件的反馈,确定所述终端无需进行终端屏幕显示;根据不关闭所述预先设置的功能组件的反馈,确定所述终端需要进行终端屏幕显示。
  10. 根据权利要求8所述的终端,其中,处理单元是设置为:
    根据确定的终端无需进行终端屏幕显示,在保持休眠锁定wakelock进程工作的同时,通过关闭屏幕的指令关闭屏幕组件。
  11. 根据权利要求10所述的终端,其中,所述处理单元是设置为:
    当终端仅在自身的屏幕进行音视频显示时,根据确定的终端无需进行终端屏幕显示,在保持wakelock进程工作的同时,对音视频流数据流的解析,根据预先设置的时间戳,关闭所述音视频流数据流的视频输出通道,进而关闭所述终端的屏幕。
  12. 根据权利要求10所述的终端,其中,所述处理单元是设置为:
    当所述终端采用HDMI方式进行视频投放时,根据确定的终端无需进行终端屏幕显示,在保持wakelock进程工作的同时,对音视频流数据流的解析,将解析的音视频流数据流仅通过HDMI接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
  13. 根据权利要求10所述的终端,其中,所述处理单元是设置为:
    当所述终端采用Wi-Fi方式进行视频投放时,根据确定的终端无需进行终端屏幕显示,在保持wakelock进程工作的同时,停止对音视频流数据流的解析,将未解析的音视频流数据流仅通过Wi-Fi接口进行输出播放,关闭终端的屏幕的视频输出通道,进而关闭终端屏幕。
  14. 根据权利要求8~13任一项所述的终端,还包括解锁单元,设置为:接收到解锁指令或异常事件时,根据预先设置的解锁的时间戳确定音视频文件位置,对获取音视频文件进行屏幕显示。
  15. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-7任一项的方法。
PCT/CN2015/087247 2015-05-13 2015-08-17 一种实现应用控制的方法及终端 WO2016179918A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510244067.4A CN106292988A (zh) 2015-05-13 2015-05-13 一种实现应用控制的方法及终端
CN201510244067.4 2015-05-13

Publications (1)

Publication Number Publication Date
WO2016179918A1 true WO2016179918A1 (zh) 2016-11-17

Family

ID=57247688

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/087247 WO2016179918A1 (zh) 2015-05-13 2015-08-17 一种实现应用控制的方法及终端

Country Status (2)

Country Link
CN (1) CN106292988A (zh)
WO (1) WO2016179918A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114889430A (zh) * 2022-06-02 2022-08-12 中国第一汽车股份有限公司 一种纯电动车娱乐主机系统的降低功耗方法、系统、电子设备、存储介质和汽车

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040810A (zh) * 2017-04-25 2017-08-11 宇龙计算机通信科技(深圳)有限公司 多媒体投射方法、终端及显示设备
CN107340848A (zh) * 2017-06-29 2017-11-10 上海友衷科技有限公司 一种信息显示方法及电子设备
CN107231489B (zh) * 2017-07-06 2020-08-21 钛马信息网络技术有限公司 一种终端及其投屏方法
CN107562174A (zh) * 2017-08-22 2018-01-09 维沃移动通信有限公司 一种屏幕控制方法及终端设备
CN108762471A (zh) * 2018-05-30 2018-11-06 维沃移动通信有限公司 一种显示控制方法及移动终端

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226458A (zh) * 2013-05-09 2013-07-31 上海斐讯数据通信技术有限公司 一种用于智能移动设备的多屏显示控制方法
CN103513747A (zh) * 2012-06-27 2014-01-15 国基电子(上海)有限公司 电子设备、智能信号传输系统及其省电控制方法
CN103699315A (zh) * 2013-12-06 2014-04-02 广东欧珀移动通信有限公司 集成游戏手柄的移动终端触摸屏控制方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101918040B1 (ko) * 2012-02-20 2019-01-29 삼성전자주식회사 스크린 미러링 방법 및 그 장치
CN103345312B (zh) * 2013-07-03 2016-01-13 张帆 以智能终端同时作为主机、鼠标和触摸板的系统及方法
CN103414894A (zh) * 2013-07-29 2013-11-27 上海凯统信息科技有限公司 一种无线实时传屏设备及方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513747A (zh) * 2012-06-27 2014-01-15 国基电子(上海)有限公司 电子设备、智能信号传输系统及其省电控制方法
CN103226458A (zh) * 2013-05-09 2013-07-31 上海斐讯数据通信技术有限公司 一种用于智能移动设备的多屏显示控制方法
CN103699315A (zh) * 2013-12-06 2014-04-02 广东欧珀移动通信有限公司 集成游戏手柄的移动终端触摸屏控制方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114889430A (zh) * 2022-06-02 2022-08-12 中国第一汽车股份有限公司 一种纯电动车娱乐主机系统的降低功耗方法、系统、电子设备、存储介质和汽车

Also Published As

Publication number Publication date
CN106292988A (zh) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2016179918A1 (zh) 一种实现应用控制的方法及终端
EP3195606B1 (en) Direct streaming for wireless display
US9860440B2 (en) Power saving control method and electronic device supporting the same
TWI502977B (zh) 影音播放裝置、影音處理裝置、系統以及方法
US10135898B2 (en) Method, terminal, and system for reproducing content
KR102154800B1 (ko) 전자 장치의 데이터 스트리밍 방법 및 그 전자 장치
WO2015096679A1 (zh) 一种同屏互动方法以及装置
CN110636370B (zh) 一种视频处理方法、装置、电子设备和可读介质
TW200814742A (en) Embedded appliance for multimedia capture
US10237318B2 (en) Electronic device and method for encoding image data thereof
WO2014048326A1 (zh) 显示方法及电子设备
US20070300271A1 (en) Dynamic triggering of media signal capture
US20150023648A1 (en) Method and apparatus for resource utilization in a source device for wireless display
EP3382527A1 (en) Method and apparatus for managing a shared storage system
US10264208B2 (en) Layered display content for wireless display
CN111742620A (zh) 根据效果类型和/或用户偏好重新开始动态灯光效果
KR102133012B1 (ko) 미디어 스트리밍 방법 및 그 전자 장치
CN103795973A (zh) 用于非实时操作系统中的音频/视频同步的抖动取消
US11545148B2 (en) Do not disturb functionality for voice responsive devices
US11314313B2 (en) Screen casting
US20210400334A1 (en) Method and apparatus for loop-playing video content
US9560105B2 (en) Server device and information processing method
WO2019000188A1 (zh) 系统消息传输方法及装置、系统消息接收方法及装置
JP6205886B2 (ja) 情報装置及び配信システム
US20190364342A1 (en) Information Processing Terminal, Information Processing Method And Program

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15891621

Country of ref document: EP

Kind code of ref document: A1