WO2016086663A1 - Method and apparatus for switching applications, and intelligent set top box device - Google Patents

Method and apparatus for switching applications, and intelligent set top box device Download PDF

Info

Publication number
WO2016086663A1
WO2016086663A1 PCT/CN2015/083687 CN2015083687W WO2016086663A1 WO 2016086663 A1 WO2016086663 A1 WO 2016086663A1 CN 2015083687 W CN2015083687 W CN 2015083687W WO 2016086663 A1 WO2016086663 A1 WO 2016086663A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
switching
message
receiving
saving
Prior art date
Application number
PCT/CN2015/083687
Other languages
French (fr)
Chinese (zh)
Inventor
马振涛
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016086663A1 publication Critical patent/WO2016086663A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]

Definitions

  • the present invention relates to the field of communications, and in particular to an application switching processing method, apparatus, and smart set top box device.
  • smart homes are increasingly becoming part of urban life.
  • smart set-top box equipment is an indispensable part of smart home.
  • Android, IOS, etc. can run a variety of applications in smart set-top box devices, and the switching between games, entertainment, web pages, video and other applications is also essential.
  • Video playback has become an essential application for smart set-top boxes. Without switching between applications without affecting the pre-switching video playback environment, the set-top box will be smarter and provide a better user experience.
  • the user has used the video player and returns to the player for video playback from other applications, there are usually three common practices as follows: First, when the video player is re-entered, whether it is playing or not.
  • the method of restarting the player is used to make the application stay on the first page; secondly, when the video player is restarted, if the application is switched during playback, the media player is set to pause. Status, and display the pause icon, then the user needs to continue to click to enter the previous video playback, or enter the application home page; third, when re-entering the player, the application provides a historical playback menu for selection, select a video and start playing from the beginning Or play from a bookmark point.
  • the advantage of the three options is that the application is simple to display and handle, and easy to implement.
  • the disadvantage is that the continuity of the video cannot be guaranteed during the switching, and the user needs to perform multiple clicks of the player to play from the time point of the exit. Therefore, if the number of human-computer interactions can be reduced and fast recovery playback can be achieved, the ease of application experience can be improved, and the product can be made more intelligent.
  • the embodiment of the present invention provides an application switching processing method and apparatus, so as to at least solve the related art, when switching from one application to another, and switching back to the previous application, the continuity of the previous application cannot be effectively guaranteed, and The user's multiple interactions affect the user experience.
  • an application switching processing method including: saving an application scenario of the first application in a case of switching from a first application to a second application; When the application is switched back to the first application, the first application is restored according to the saved application scenario.
  • the method further includes: triggering, by the at least one of: An application switches to the second application: the first timer that is started is up; the predetermined open push information is received; the first key switch message of the predetermined remote controller is received; and the first key switch message of the predetermined remote controller is received Analog message.
  • the method further includes: at least: First, triggering the second application to switch back to the first application: the activated second timer expires; detecting the closing operation of the second application; receiving the predetermined closing push information; receiving the predetermined remote control The first button switching message of the device; receiving an analog message of the first button switching message of the predetermined remote controller.
  • switching from the first application to the second application is triggered by issuing a trigger message by a predetermined application, and/or triggering switching back to the first application by the second application.
  • saving the application scenario of the first application includes: media information played on the video and/or environment information of the video playing in a case where the first application is video playback Saving; and/or saving the environment information of the first application if the first application is no video playback.
  • an application switching processing apparatus including: a saving module, configured to save an application scenario of the first application when the first application is switched to the second application; And a recovery module, configured to restore the first application according to the saved application scenario, when the second application is switched back to the first application.
  • the device further includes: a first triggering module, configured to trigger switching from the first application to the second application by at least one of: starting a first timer to arrive; receiving a reservation Opening the push information; receiving the first button switching message of the predetermined remote controller; receiving the analog message of the first button switching message of the predetermined remote controller.
  • a first triggering module configured to trigger switching from the first application to the second application by at least one of: starting a first timer to arrive; receiving a reservation Opening the push information; receiving the first button switching message of the predetermined remote controller; receiving the analog message of the first button switching message of the predetermined remote controller.
  • the device further includes: a second triggering module, configured to trigger switching back to the first application by the second application by at least one of: starting a second timer to expire; detecting a pair a closing operation of the second application; receiving a predetermined closing push message; receiving a first button switching message of the predetermined remote controller; receiving an analog message of the first button switching message of the predetermined remote controller.
  • a second triggering module configured to trigger switching back to the first application by the second application by at least one of: starting a second timer to expire; detecting a pair a closing operation of the second application; receiving a predetermined closing push message; receiving a first button switching message of the predetermined remote controller; receiving an analog message of the first button switching message of the predetermined remote controller.
  • the saving module of the device is further configured to save the media information of the video playing and/or the environment information of the video playing in a case where the first application is a video playing; and/ Or, if the first application is no video playback, save the environment information of the first application.
  • an intelligent set top box device comprising the apparatus of any of the above.
  • the application scenario of the first application is saved; and when the second application is switched back to the first application, Saving the application scenario, restoring the first application, and solving the related art, after switching from one application to another, when switching back to the previous application, the user needs to interact multiple times to return to the pre-switching state of the application.
  • the problem that affects the user experience is achieved, and when the user switches back to the previous application, the usage environment of the previous application can be seamlessly restored, and the continuity of the user's use is ensured.
  • FIG. 1 is a flowchart of an application switching processing method according to an embodiment of the present invention.
  • FIG. 2 is a block diagram showing the structure of an application switching processing apparatus according to an embodiment of the present invention.
  • FIG. 3 is a block diagram 1 of a preferred structure of an application switching processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 2 of a preferred structure of an application switching processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a smart set top box device according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of scene saving according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a sequence of scene saving according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of scene recovery according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a scenario recovery process according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of an application switching processing method according to an embodiment of the present invention. As shown in FIG. 1, the flow includes the following steps:
  • Step S102 In the case that the first application is switched to the second application, save the application scenario of the first application;
  • Step S104 In the case that the second application is switched back to the first application, the first application is restored according to the saved application scenario.
  • the previous application can be seamlessly connected, which not only effectively solves the related art, but also switches from one application to another after the application is switched.
  • the user needs to interact multiple times to return to the pre-switching state of the application, which affects the user experience, and thus can restore the previous application environment seamlessly when the user switches back to the previous application. To ensure the continuity of the user's use.
  • the switching from the first application to the second application may be triggered by at least one of the following manners:
  • the first timer that is started is received;
  • the predetermined open push information is received, for example, the open push information of the DLNA protocol or other protocol;
  • the first key switch message of the predetermined remote controller is received; and the predetermined remote controller is received.
  • a button to switch the analog message of the message is received.
  • the method of switching back to the first application by the second application may be triggered by at least one of the following manners before the step of restoring the first application is performed according to the saved application scenario:
  • the activated second timer expires; the closing operation for the second application is detected; the predetermined closing push information is received; the first button switching message of the predetermined remote controller is received; and the first button switching message of the predetermined remote controller is received Analog message.
  • the triggering message may be sent by the predetermined application, for example, by a predetermined browser or an Android package package (Android Package) or other application that issues a trigger message to trigger the switch from the first application to the first application.
  • the second application, and/or the trigger is switched back to the first application by the second application.
  • the media information of the video playing and/or the environment information of the video playing is saved when the first application is a video playing; and/or, the first application is no.
  • the environment information of the first application is saved.
  • the media information of the video is played. It may be the attribute information of the media played by the video, and the environment information of the video playing may be some external control information for playing the video.
  • an application switching processing device is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 2 is a block diagram showing the structure of an application switching processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a saving module 22 and a recovery module 24. The apparatus will be described below.
  • the saving module 22 is configured to save the application scenario of the first application when the first application is switched to the second application; the recovery module 24 is connected to the saving module 22, and is configured to switch back to the first application by the second application. In the case of an application, the first application is restored according to the saved application scenario.
  • FIG. 3 is a block diagram of a preferred structure of an application switching processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a first triggering module 32 in addition to all the modules shown in FIG. The first trigger module 32 is described.
  • the first triggering module 32 is connected to the saving module 22, and is configured to trigger switching from the first application to the second application by at least one of the following: the first timer that is started is up to the time; and the predetermined open push information is received; Receiving a first button switching message of the predetermined remote controller; receiving an analog message of the first button switching message of the predetermined remote controller.
  • FIG. 4 is a block diagram of a preferred structure of an application switching processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes a second triggering module 42 in addition to all the modules shown in FIG. The second trigger module 42 is described.
  • the second triggering module 42 is connected to the foregoing saving module 22 and the recovery module 24, and is configured to trigger switching from the second application back to the first application by at least one of the following: the second timer that is started is up to the time; The closing operation of the application; receiving the predetermined closing push information; receiving the first button switching message of the predetermined remote controller; and receiving the analog message of the first button switching message of the predetermined remote controller.
  • the saving module 22 is further configured to save the media information of the video playing and/or the environment information of the video playing in the case that the first application is a video playing; and/or, in the first application, In the case of video playback, the environment information of the first application is saved.
  • FIG. 5 is a structural block diagram of a smart set top box device according to an embodiment of the present invention. As shown in FIG. 5, the smart set top box device 50 includes the application switching processing device 52 of any of the above.
  • a method for scene protection is provided. By protecting the use scenario of the video player, when the application is switched back to the application, the environment of the application can be seamlessly restored. This method can be applied not only to scene protection of video but also to scene protection in other fields.
  • a method for switching a video player on a smart set top box device is used as an example, and the scene protection mode is used to prevent the user from performing multiple human-computer interaction operations when entering the video player. Continue watching the video directly from the last time point of view to enhance the user experience.
  • the scene protection device of the video player may include the following parts: a display control module, an activation control module, a protection module, and a video player module.
  • a display control module may display the display control module
  • an activation control module may control the operation of the video player
  • a protection module may control the protection of the video player.
  • a video player module may include the following parts: a display control module, an activation control module, a protection module, and a video player module.
  • the display control module (EPAGE) is set to a user interface that the user can directly see and operate. This part is set as a display page, which can be designed to be controlled by a class template containing various texts, pictures, and processing units such as a progress bar.
  • the activation control module (EBW) is set to determine what conditions are met, triggers the scene save and restore message, activates the component (set to connect the channel that displays the page module and the protection module); this part can be controlled with a custom browser
  • the scene protection module (EMC) is set to perform scene protection and recovery, and is used to save and restore the control commands issued by the active component; this part is the main control logic; the video player module (EVOD), setting In order to receive the video broadcast control command, the video is played, that is, it is set to receive the broadcast control command, and various playes are performed on the video, such as pause, fast forward and rewind, play, stop, volume control, and the like.
  • FIG. 6 is a schematic diagram of saving a scene according to an embodiment of the present invention.
  • the program mainly includes: after the activation control device determines that the condition is satisfied, the save instruction is issued; the protection device receives the instruction, and performs corresponding scene save processing, and simultaneously sends a broadcast control instruction to the video player device; and the video player device receives the broadcast control command, And the video processing, while adjusting the application display of the display control device.
  • FIG. 7 is a schematic diagram of a scene saving sequence according to an embodiment of the present invention. As shown in FIG. 7, the scene saving process includes the following steps:
  • the EMC receives the scene save event and starts the scene save process
  • EVOD receives the video stop playing event and stops the video playing
  • EMC releases the occupied resources and sends a release resource event
  • the EVOD After receiving the release event, the EVOD releases the occupied codec and other resources;
  • FIG. 8 is a schematic diagram of scene restoration according to an embodiment of the present invention.
  • the recovery operation mainly includes: after the activation control device determines that the condition is satisfied, a recovery instruction is issued; the protection device receives the instruction, and performs corresponding scene recovery processing, and simultaneously issues a broadcast control instruction to the video player device; and the video player device receives the broadcast control instruction. And process the video while adjusting the application display of the display control device.
  • FIG. 9 is a schematic diagram of a scenario recovery process according to an embodiment of the present invention. As shown in FIG. 9, the process includes the following steps:
  • the EMC receives the scenario recovery event and starts the scenario recovery process.
  • EPAGE adjusts the display content according to the attributes passed by the EBW
  • EVOD After receiving the application resource incident, EVOD applies for resources such as codecs;
  • EMC resumes player information and sends a video play command
  • the EMC sends a status change message to the EBW according to the playback response event
  • EPAGE adjusts the display content according to the attributes passed by EBW
  • the continuous playback of the video and the user participation operation can be well solved, so that the video player application pays more attention to the user experience, improves the intelligence of the set top box, and achieves a better user experience.
  • the user After watching the video for a long time, the user needs to switch the application to relieve the fatigue, the user can subscribe to the start time and the end time of the game time. After the specified time, the set top box automatically switches the application for the user to play entertainment, when the game time is over. , you can continue to watch the previous video. Video games are both correct. With this technology, video scene information can be protected at any time, and uninterrupted recovery provides a better user experience.
  • Application scenario embodiment 2 advertising or small video push
  • Application scenario embodiment 3 multi-screen interaction
  • modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Disclosed are a method and apparatus for switching applications, and an intelligent set top box device. The method comprises: in the case of switching from a first application to a second application, saving an application scenario of the first application; and in the case of switching from the second application to the first application, recovering the first application according to the saved application scenario. The problem in the related art that after switching from one application to another, when switching back the previous application, the pre-switching state of the application can be returned to with a plurality of times of user interactions, thus affecting the user experience is solved, thereby achieving the effects that the usage environment of the previous application can be seamlessly recovered when the user switches to the previous application, and the usage continuity of the user is ensured.

Description

应用切换处理方法、装置及智能机顶盒设备Application switching processing method, device and intelligent set top box device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种应用切换处理方法、装置及智能机顶盒设备。The present invention relates to the field of communications, and in particular to an application switching processing method, apparatus, and smart set top box device.
背景技术Background technique
随着人们生活水平的提高,智能家居越来越成为都市生活的一部分。其中,智能机顶盒设备是智能家居不可缺少的部分。As people's living standards improve, smart homes are increasingly becoming part of urban life. Among them, smart set-top box equipment is an indispensable part of smart home.
基于Android、IOS等的可运行在智能机顶盒设备中的应用程序众多,游戏、娱乐、网页、视频等应用间的互相切换操作也就必不可少。视频播放已经成为智能机顶盒必备的应用,不用应用间的切换而不影响切换前视频播放环境,则会使机顶盒更加智能并为用户提供更好的用户体验。目前,当用户使用过视频播放器后,从其他应用再次回到该播放器进行视频播放时,通常有如下的三种通用做法:一是当再次进入该视频播放器时,不论是否是在播放时切换了应用程序,都用重新启动该播放器的方法,使应用停留在首页;二是当再启动该视频播放器时,如果是在播放时切换了应用,则使媒体播放器设置为暂停状态,并显示暂停图标,然后用户需要继续点击,才能进入之前的视频播放,或者进入应用首页;三是在重新进入该播放器时,应用提供历史播放菜单供选择,选择某视频后开始从头播放或从书签点播放。三种方案的优点是应用程序展示和处理简单,容易实现。缺点是在切换中,视频的连续性不能被保证,都需要用户再进行多次点击播放器才可能从退出的时间点进行播放。因此,如果能够减少人机交互的次数,实现快速恢复播放,就可以提高应用的便易性体验,也可使产品的更加智能。Android, IOS, etc. can run a variety of applications in smart set-top box devices, and the switching between games, entertainment, web pages, video and other applications is also essential. Video playback has become an essential application for smart set-top boxes. Without switching between applications without affecting the pre-switching video playback environment, the set-top box will be smarter and provide a better user experience. At present, when the user has used the video player and returns to the player for video playback from other applications, there are usually three common practices as follows: First, when the video player is re-entered, whether it is playing or not. When switching the application, the method of restarting the player is used to make the application stay on the first page; secondly, when the video player is restarted, if the application is switched during playback, the media player is set to pause. Status, and display the pause icon, then the user needs to continue to click to enter the previous video playback, or enter the application home page; third, when re-entering the player, the application provides a historical playback menu for selection, select a video and start playing from the beginning Or play from a bookmark point. The advantage of the three options is that the application is simple to display and handle, and easy to implement. The disadvantage is that the continuity of the video cannot be guaranteed during the switching, and the user needs to perform multiple clicks of the player to play from the time point of the exit. Therefore, if the number of human-computer interactions can be reduced and fast recovery playback can be achieved, the ease of application experience can be improved, and the product can be made more intelligent.
因此,在相关技术中,由一个应用切换到另一个应用后,切换回之前的应用时,不能有效保证之前应用的连续性,而且需要用户的多次交互,影响用户体验。Therefore, in the related art, after switching from one application to another, when switching back to the previous application, the continuity of the previous application cannot be effectively guaranteed, and multiple interactions of the user are required, which affects the user experience.
发明内容Summary of the invention
本发明实施例提供了一种应用切换处理方法及装置,以至少解决相关技术中,由一个应用切换到另一个应用后,切换回之前的应用时,不能有效保证之前应用的连续性,而且需要用户的多次交互,影响用户体验的问题。 The embodiment of the present invention provides an application switching processing method and apparatus, so as to at least solve the related art, when switching from one application to another, and switching back to the previous application, the continuity of the previous application cannot be effectively guaranteed, and The user's multiple interactions affect the user experience.
根据本发明实施例的一个方面,提供了一种应用切换处理方法,包括:在由第一应用切换到第二应用的情况下,保存所述第一应用的应用场景;在由所述第二应用切换回所述第一应用的情况下,依据保存的所述应用场景,恢复所述第一应用。According to an aspect of the embodiments of the present invention, an application switching processing method is provided, including: saving an application scenario of the first application in a case of switching from a first application to a second application; When the application is switched back to the first application, the first application is restored according to the saved application scenario.
可选地,在执行在由第一应用切换到第二应用的情况下,保存所述第一应用的所述应用场景的步骤之前,还包括:通过以下方式至少之一,触发由所述第一应用切换到所述第二应用:启动的第一定时器到时;接收到预定的打开推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。Optionally, before the step of saving the application scenario of the first application in the case that the first application is switched to the second application, the method further includes: triggering, by the at least one of: An application switches to the second application: the first timer that is started is up; the predetermined open push information is received; the first key switch message of the predetermined remote controller is received; and the first key switch message of the predetermined remote controller is received Analog message.
可选地,在执行在由所述第二应用切换回所述第一应用的情况下,依据保存的所述应用场景,恢复所述第一应用的步骤之前,还包括:通过以下方式至少之一,触发由所述第二应用切换回所述第一应用:启动的第二定时器到时;检测到对所述第二应用的关闭操作;接收到预定的关闭推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。Optionally, before the step of restoring the first application according to the saved application scenario, in the case that the second application is switched back to the first application, the method further includes: at least: First, triggering the second application to switch back to the first application: the activated second timer expires; detecting the closing operation of the second application; receiving the predetermined closing push information; receiving the predetermined remote control The first button switching message of the device; receiving an analog message of the first button switching message of the predetermined remote controller.
可选地,通过由预定应用发出触发消息的方式来触发由所述第一应用切换到所述第二应用,和/或触发由所述第二应用切换回所述第一应用。Optionally, switching from the first application to the second application is triggered by issuing a trigger message by a predetermined application, and/or triggering switching back to the first application by the second application.
可选地,对所述第一应用的所述应用场景进行保存包括:在所述第一应用为视频播放的情况下,对所述视频播放的媒体信息和/或所述视频播放的环境信息进行保存;和/或,在所述第一应用为无视频播放的情况下,对所述第一应用的环境信息进行保存。Optionally, saving the application scenario of the first application includes: media information played on the video and/or environment information of the video playing in a case where the first application is video playback Saving; and/or saving the environment information of the first application if the first application is no video playback.
根据本发明实施例的另一方面,提供了一种应用切换处理装置,包括:保存模块,设置为在由第一应用切换到第二应用的情况下,保存所述第一应用的应用场景;恢复模块,设置为在由所述第二应用切换回所述第一应用的情况下,依据保存的所述应用场景,恢复所述第一应用。According to another aspect of the present invention, an application switching processing apparatus is provided, including: a saving module, configured to save an application scenario of the first application when the first application is switched to the second application; And a recovery module, configured to restore the first application according to the saved application scenario, when the second application is switched back to the first application.
可选地,该装置还包括:第一触发模块,设置为通过以下方式至少之一,触发由所述第一应用切换到所述第二应用:启动的第一定时器到时;接收到预定的打开推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。Optionally, the device further includes: a first triggering module, configured to trigger switching from the first application to the second application by at least one of: starting a first timer to arrive; receiving a reservation Opening the push information; receiving the first button switching message of the predetermined remote controller; receiving the analog message of the first button switching message of the predetermined remote controller.
可选地,该装置还包括:第二触发模块,设置为通过以下方式至少之一,触发由所述第二应用切换回所述第一应用:启动的第二定时器到时;检测到对所述第二应用的关闭操作;接收到预定的关闭推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。 Optionally, the device further includes: a second triggering module, configured to trigger switching back to the first application by the second application by at least one of: starting a second timer to expire; detecting a pair a closing operation of the second application; receiving a predetermined closing push message; receiving a first button switching message of the predetermined remote controller; receiving an analog message of the first button switching message of the predetermined remote controller.
可选地,该装置所述保存模块,还设置为在所述第一应用为视频播放的情况下,对所述视频播放的媒体信息和/或所述视频播放的环境信息进行保存;和/或,在所述第一应用为无视频播放的情况下,对所述第一应用的环境信息进行保存。Optionally, the saving module of the device is further configured to save the media information of the video playing and/or the environment information of the video playing in a case where the first application is a video playing; and/ Or, if the first application is no video playback, save the environment information of the first application.
根据本发明实施例的还一方面,提供了一种智能机顶盒设备,包括上述任一项所述的装置。According to still another aspect of the embodiments of the present invention, there is provided an intelligent set top box device comprising the apparatus of any of the above.
通过本发明实施例,采用在由第一应用切换到第二应用的情况下,保存所述第一应用的应用场景;在由所述第二应用切换回所述第一应用的情况下,依据保存的所述应用场景,恢复所述第一应用,解决了相关技术中,由一个应用切换到另一个应用后,切换回之前的应用时,需要用户多次交互才能返回到应用的切换前状态,影响用户体验的问题,进而达到了在用户切换回之前的应用时,可以无缝地恢复之前应用的使用环境,保证用户的使用连续性的效果。According to the embodiment of the present invention, in the case that the first application is switched to the second application, the application scenario of the first application is saved; and when the second application is switched back to the first application, Saving the application scenario, restoring the first application, and solving the related art, after switching from one application to another, when switching back to the previous application, the user needs to interact multiple times to return to the pre-switching state of the application. The problem that affects the user experience is achieved, and when the user switches back to the previous application, the usage environment of the previous application can be seamlessly restored, and the continuity of the user's use is ensured.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的应用切换处理方法的流程图;1 is a flowchart of an application switching processing method according to an embodiment of the present invention;
图2是根据本发明实施例的应用切换处理装置的结构框图;2 is a block diagram showing the structure of an application switching processing apparatus according to an embodiment of the present invention;
图3是根据本发明实施例的应用切换处理装置的优选结构框图一;3 is a block diagram 1 of a preferred structure of an application switching processing apparatus according to an embodiment of the present invention;
图4是根据本发明实施例的应用切换处理装置的优选结构框图二;4 is a block diagram 2 of a preferred structure of an application switching processing apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的智能机顶盒设备的结构框图;FIG. 5 is a structural block diagram of a smart set top box device according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的场景保存示意图;FIG. 6 is a schematic diagram of scene saving according to an embodiment of the present invention; FIG.
图7是根据本发明实施例的场景保存时序示意图;FIG. 7 is a schematic diagram of a sequence of scene saving according to an embodiment of the present invention; FIG.
图8是根据本发明实施例的场景恢复示意图;FIG. 8 is a schematic diagram of scene recovery according to an embodiment of the present invention; FIG.
图9是根据本发明实施例的场景恢复流程示意图。 FIG. 9 is a schematic diagram of a scenario recovery process according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种应用切换处理方法,图1是根据本发明实施例的应用切换处理方法的流程图,如图1所示,该流程包括如下步骤:In this embodiment, an application switching processing method is provided. FIG. 1 is a flowchart of an application switching processing method according to an embodiment of the present invention. As shown in FIG. 1, the flow includes the following steps:
步骤S102,在由第一应用切换到第二应用的情况下,保存第一应用的应用场景;Step S102: In the case that the first application is switched to the second application, save the application scenario of the first application;
步骤S104,在由第二应用切换回第一应用的情况下,依据保存的应用场景,恢复第一应用。Step S104: In the case that the second application is switched back to the first application, the first application is restored according to the saved application scenario.
通过上述步骤,通过对切换之前应用场景的保存,使得在切换回该之前的应用时,可以无缝地接续之前的应用,不仅有效地解决了相关技术中,由一个应用切换到另一个应用后,切换回之前的应用时,需要用户多次交互才能返回到应用的切换前状态,影响用户体验的问题,进而达到了在用户切换回之前的应用时,可以无缝地恢复之前应用的使用环境,保证用户的使用连续性的效果。Through the above steps, by saving the application scenario before the switching, when switching back to the previous application, the previous application can be seamlessly connected, which not only effectively solves the related art, but also switches from one application to another after the application is switched. When switching back to the previous application, the user needs to interact multiple times to return to the pre-switching state of the application, which affects the user experience, and thus can restore the previous application environment seamlessly when the user switches back to the previous application. To ensure the continuity of the user's use.
可选地,在执行在由第一应用切换到第二应用的情况下,保存第一应用的应用场景的步骤之前,可以通过以下方式至少之一,触发由第一应用切换到第二应用:启动的第一定时器到时;接收到预定的打开推送信息,例如,可以是DLNA协议或其他协议的打开推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。在执行在由第二应用切换回第一应用的情况下,依据保存的应用场景,恢复第一应用的步骤之前,也可以通过以下方式至少之一,触发由第二应用切换回第一应用:启动的第二定时器到时;检测到对第二应用的关闭操作;接收到预定的关闭推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。Optionally, before the step of saving the application scenario of the first application in the case that the application is switched to the second application by using the first application, the switching from the first application to the second application may be triggered by at least one of the following manners: The first timer that is started is received; the predetermined open push information is received, for example, the open push information of the DLNA protocol or other protocol; the first key switch message of the predetermined remote controller is received; and the predetermined remote controller is received. A button to switch the analog message of the message. The method of switching back to the first application by the second application may be triggered by at least one of the following manners before the step of restoring the first application is performed according to the saved application scenario: The activated second timer expires; the closing operation for the second application is detected; the predetermined closing push information is received; the first button switching message of the predetermined remote controller is received; and the first button switching message of the predetermined remote controller is received Analog message.
需要说明的是,可以通过由预定应用发出触发消息的方式,例如,可以由预定浏览器或安卓安装包APK(Android Package)的方式或其他发出触发消息的应用来触发由第一应用切换到第二应用,和/或触发由第二应用切换回第一应用。It should be noted that the triggering message may be sent by the predetermined application, for example, by a predetermined browser or an Android package package (Android Package) or other application that issues a trigger message to trigger the switch from the first application to the first application. The second application, and/or the trigger is switched back to the first application by the second application.
在对第一应用的应用场景进行保存时,在第一应用为视频播放的情况下,对视频播放的媒体信息和/或视频播放的环境信息进行保存;和/或,在第一应用为无视频播放的情况下,对第一应用的环境信息进行保存。需要说明的是,该视频播放的媒体信息 可以是视频播放的媒体的本身属性信息,而该视频播放的环境信息则可以是播放该视频的一些外在控制信息。When the application scenario of the first application is saved, the media information of the video playing and/or the environment information of the video playing is saved when the first application is a video playing; and/or, the first application is no. In the case of video playback, the environment information of the first application is saved. It should be noted that the media information of the video is played. It may be the attribute information of the media played by the video, and the environment information of the video playing may be some external control information for playing the video.
在本实施例中还提供了一种应用切换处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, an application switching processing device is also provided, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的应用切换处理装置的结构框图,如图2所示,该装置包括保存模块22和恢复模块24,下面对该装置进行说明。2 is a block diagram showing the structure of an application switching processing apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes a saving module 22 and a recovery module 24. The apparatus will be described below.
保存模块22,设置为在由第一应用切换到第二应用的情况下,保存第一应用的应用场景;恢复模块24,连接至上述保存模块22,设置为在由第二应用切换回第一应用的情况下,依据保存的应用场景,恢复第一应用。The saving module 22 is configured to save the application scenario of the first application when the first application is switched to the second application; the recovery module 24 is connected to the saving module 22, and is configured to switch back to the first application by the second application. In the case of an application, the first application is restored according to the saved application scenario.
图3是根据本发明实施例的应用切换处理装置的优选结构框图一,如图3所示,该装置除包括图2所示的所有模块外,还包括第一触发模块32,下面对该第一触发模块32进行说明。3 is a block diagram of a preferred structure of an application switching processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the apparatus includes a first triggering module 32 in addition to all the modules shown in FIG. The first trigger module 32 is described.
第一触发模块32,连接至上述保存模块22,设置为通过以下方式至少之一,触发由第一应用切换到第二应用:启动的第一定时器到时;接收到预定的打开推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。The first triggering module 32 is connected to the saving module 22, and is configured to trigger switching from the first application to the second application by at least one of the following: the first timer that is started is up to the time; and the predetermined open push information is received; Receiving a first button switching message of the predetermined remote controller; receiving an analog message of the first button switching message of the predetermined remote controller.
图4是根据本发明实施例的应用切换处理装置的优选结构框图二,如图4所示,该装置除包括图2所示的所有模块外,还包括第二触发模块42,下面对该第二触发模块42进行说明。4 is a block diagram of a preferred structure of an application switching processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes a second triggering module 42 in addition to all the modules shown in FIG. The second trigger module 42 is described.
第二触发模块42,连接至上述保存模块22和恢复模块24,设置为通过以下方式至少之一,触发由第二应用切换回第一应用:启动的第二定时器到时;检测到对第二应用的关闭操作;接收到预定的关闭推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。The second triggering module 42 is connected to the foregoing saving module 22 and the recovery module 24, and is configured to trigger switching from the second application back to the first application by at least one of the following: the second timer that is started is up to the time; The closing operation of the application; receiving the predetermined closing push information; receiving the first button switching message of the predetermined remote controller; and receiving the analog message of the first button switching message of the predetermined remote controller.
可选地,上述保存模块22,还设置为在第一应用为视频播放的情况下,对视频播放的媒体信息和/或视频播放的环境信息进行保存;和/或,在第一应用为无视频播放的情况下,对第一应用的环境信息进行保存。 Optionally, the saving module 22 is further configured to save the media information of the video playing and/or the environment information of the video playing in the case that the first application is a video playing; and/or, in the first application, In the case of video playback, the environment information of the first application is saved.
图5是根据本发明实施例的智能机顶盒设备的结构框图,如图5所示,该智能机顶盒设备50包括上述任一项的应用切换处理装置52。FIG. 5 is a structural block diagram of a smart set top box device according to an embodiment of the present invention. As shown in FIG. 5, the smart set top box device 50 includes the application switching processing device 52 of any of the above.
针对相关技术中,由一个应用切换到另一个应用后,切换回之前的应用时,不能有效保证之前应用的连续性,而且需要用户的多次交互,影响用户体验的问题,在本实施例中,提供了一种场景保护的方法,通过对视频播放器的使用场景进行保护,当在切换回该应用时,可以无缝的恢复该应用的使用环境。该方法不仅可以应用于视频的场景保护,也可应用与其他领域的场景保护。For the related art, after switching from one application to another, when switching back to the previous application, the continuity of the previous application cannot be effectively ensured, and multiple interactions of the user are required, which affects the user experience. In this embodiment, A method for scene protection is provided. By protecting the use scenario of the video player, when the application is switched back to the application, the environment of the application can be seamlessly restored. This method can be applied not only to scene protection of video but also to scene protection in other fields.
在本实施例中,以一种在智能机顶盒设备上切换视频播放器的方法为例,通过使用场景保护的方式,以使用户在进入视频播放器时,不在需要进行多次人机交互操作,直接从上次观看时间点继续观看视频,以提升用户体验。In this embodiment, a method for switching a video player on a smart set top box device is used as an example, and the scene protection mode is used to prevent the user from performing multiple human-computer interaction operations when entering the video player. Continue watching the video directly from the last time point of view to enhance the user experience.
此种做法的优点是:(1)将场景保护操作放在客户端实现,对服务器端透明。在不增加服务器负载的情况下,提高用户体验;(2)场景保护提供了直接对内存信息的恢复,从而不必下发更多的指令,即可快速恢复播放;(3)场景恢复是通过终端的自动控制完成的,减少人机交互,提升用户体验。The advantages of this approach are: (1) Put the scene protection operation on the client side and transparent to the server side. Improve user experience without increasing server load; (2) Scene protection provides direct recovery of memory information, so that you can quickly resume playback without having to issue more instructions; (3) Scene recovery is through the terminal The automatic control is completed, reducing human-computer interaction and improving the user experience.
该视频播放器的场景保护装置可以包括以下几个部分:展示控制模块;激活控制模块;保护模块;视频播放器模块。下面对上述装置的结构分别进行说明。The scene protection device of the video player may include the following parts: a display control module, an activation control module, a protection module, and a video player module. The structure of the above device will be separately described below.
展示控制模块(EPAGE),设置为用户可以直接看到和操作的用户界面,此部分设置为展示页面,可设计为采用包含各种文字、图片以及处理单元如进度条等信息的类模版进行控制;激活控制模块(EBW),设置为判断满足怎样的条件,会触发场景保存和恢复消息,激活组件(设置为连接展示页面模块与保护模块的通道);此部分可采用定制的浏览器进行控制;场景保护模块(EMC),设置为进行场景保护和恢复,用来对激活组件下发的控制命令,进行保存恢复响应;此部分是是主要的控制逻辑;视频播放器模块(EVOD),设置为接收视频播控指令,进行视频播放,即设置为接收播控命令,对视频进行各种播放,如暂停、快进快退、播放、停止、音量控制等。The display control module (EPAGE) is set to a user interface that the user can directly see and operate. This part is set as a display page, which can be designed to be controlled by a class template containing various texts, pictures, and processing units such as a progress bar. The activation control module (EBW) is set to determine what conditions are met, triggers the scene save and restore message, activates the component (set to connect the channel that displays the page module and the protection module); this part can be controlled with a custom browser The scene protection module (EMC) is set to perform scene protection and recovery, and is used to save and restore the control commands issued by the active component; this part is the main control logic; the video player module (EVOD), setting In order to receive the video broadcast control command, the video is played, that is, it is set to receive the broadcast control command, and various playes are performed on the video, such as pause, fast forward and rewind, play, stop, volume control, and the like.
基于上述结构装置,对场景保护的方案进行说明,该方案的处理可以概括为如下两个过程:Based on the above-mentioned structural device, the scheme of scene protection is described, and the processing of the scheme can be summarized as the following two processes:
1、场景保存阶段1. Scene preservation stage
图6是根据本发明实施例的场景保存示意图,如图6所示,当用户从视频播放器应用切换到其他应用时,需要对视频播放器的媒体信息和环境信息进行保存;保存过 程主要包括:激活控制装置判断满足条件后,发出保存指令;保护装置接收指令,并进行相应的场景保存处理,同时向视频播放器装置发出的播控指令;视频播放器装置接收播控指令,并进行视频的处理,同时调整展示控制装置的应用展示。FIG. 6 is a schematic diagram of saving a scene according to an embodiment of the present invention. As shown in FIG. 6 , when a user switches from a video player application to another application, media information and environment information of the video player need to be saved; The program mainly includes: after the activation control device determines that the condition is satisfied, the save instruction is issued; the protection device receives the instruction, and performs corresponding scene save processing, and simultaneously sends a broadcast control instruction to the video player device; and the video player device receives the broadcast control command, And the video processing, while adjusting the application display of the display control device.
下面对场景保存的流程进行说明。图7是根据本发明实施例的场景保存时序示意图,如图7所示,该场景保存流程包括如下步骤:The following describes the process of saving the scene. FIG. 7 is a schematic diagram of a scene saving sequence according to an embodiment of the present invention. As shown in FIG. 7, the scene saving process includes the following steps:
(1)用户退出应用,激活场景保存流程;(1) The user exits the application and activates the scene saving process;
(2)EBW隐藏至后台,并发出场景保存事件;(2) The EBW is hidden to the background and issues a scene save event;
(3)EMC收到场景保存事件,启动场景保存流程;(3) The EMC receives the scene save event and starts the scene save process;
(4)应用环境保存;(4) Application environment preservation;
(5)保存播放器信息,发送停止视频播放事件;(5) Save the player information and send a stop video playback event;
(6)EVOD收到视频停止播放事件,停止视频播放;(6) EVOD receives the video stop playing event and stops the video playing;
(7)EMC释放占用资源并发送释放资源事件;(7) EMC releases the occupied resources and sends a release resource event;
(8)EVOD收到释放事件后,释放占用的编解码器等资源;(8) After receiving the release event, the EVOD releases the occupied codec and other resources;
(9)场景保存功能结束。(9) The scene save function ends.
2、场景恢复阶段2. Scene recovery stage
图8是根据本发明实施例的场景恢复示意图,如图8所示,当用户再次点击该视频播放器应用观看时,需要对之前保存的视频播放器和环境进行场景恢复操作。恢复操作主要包括:激活控制装置判断满足条件后,发出恢复指令;保护装置接收指令,并进行相应的场景恢复处理,同时向视频播放器装置发出的播控指令;视频播放器装置接收播控指令,并进行视频的处理,同时调整展示控制装置的应用展示。FIG. 8 is a schematic diagram of scene restoration according to an embodiment of the present invention. As shown in FIG. 8 , when the user clicks on the video player application for viewing, the scene recovery operation needs to be performed on the previously saved video player and environment. The recovery operation mainly includes: after the activation control device determines that the condition is satisfied, a recovery instruction is issued; the protection device receives the instruction, and performs corresponding scene recovery processing, and simultaneously issues a broadcast control instruction to the video player device; and the video player device receives the broadcast control instruction. And process the video while adjusting the application display of the display control device.
下面对场景的恢复流程进行说明。图9是根据本发明实施例的场景恢复流程示意图,如图9所示,该流程包括如下步骤:The following describes the recovery process of the scenario. FIG. 9 is a schematic diagram of a scenario recovery process according to an embodiment of the present invention. As shown in FIG. 9, the process includes the following steps:
(1)用户进入应用,激活场景恢复流程;(1) The user enters the application and activates the scene recovery process;
(2)EBW被拉回前台,并发出场景恢复事件;(2) The EBW is pulled back to the front desk and issues a scene recovery event;
(3)EMC收到场景恢复事件,启动场景恢复流程; (3) The EMC receives the scenario recovery event and starts the scenario recovery process.
(4)应用环境恢复;根据环境属性信息,向EBW和EVOD发送环境恢复消息,使其根据属性信息恢复其播放环境;(4) Application environment recovery; according to the environment attribute information, sending an environment recovery message to the EBW and the EVOD to restore the playing environment according to the attribute information;
(5)EPAGE根据EBW传递的属性,调整显示内容;(5) EPAGE adjusts the display content according to the attributes passed by the EBW;
(6)EMC申请资源并发送申请资源事件;(6) EMC applies for resources and sends an application resource event;
(7)EVOD收到申请资源事件后,申请编解码器等资源;(7) After receiving the application resource incident, EVOD applies for resources such as codecs;
(8)EMC恢复播放器信息,发送视频播放命令;(8) EMC resumes player information and sends a video play command;
(9)EVOD收到视频播放命令,开始视频播放;(9) EVOD receives the video play command and starts video playback;
(10)EMC根据播放响应事件,向EBW发送状态变更消息;(10) The EMC sends a status change message to the EBW according to the playback response event;
(11)EPAGE根据EBW传递的属性,调整显示内容;(11) EPAGE adjusts the display content according to the attributes passed by EBW;
(12)场景恢复功能结束(12) End of scene recovery function
通过两个过程的处理,可以很好的解决视频的连续播放和用户参与操作多等问题,使得视频播放器应用更加注重用户体验,提高机顶盒的智能性,达到更好的用户体验。Through the processing of the two processes, the continuous playback of the video and the user participation operation can be well solved, so that the video player application pays more attention to the user experience, improves the intelligence of the set top box, and achieves a better user experience.
下面对本发明实施例的应用场景进行举例说明。The application scenario of the embodiment of the present invention is described below.
应用场景实施例一:游戏Application scenario embodiment 1: game
在长时间观看视频后,用户需要切换应用,缓解疲劳时,用户可以订阅游戏时间的起始时间和终止时间,在到达指定时间后,机顶盒自动切换应用,供用户游戏娱乐,当游戏时间结束后,可以继续观看前视频。视频游戏两不误。使用本技术,可以随时保护视频场景信息,无间断的恢复,提供更好的用户体验。After watching the video for a long time, the user needs to switch the application to relieve the fatigue, the user can subscribe to the start time and the end time of the game time. After the specified time, the set top box automatically switches the application for the user to play entertainment, when the game time is over. , you can continue to watch the previous video. Video games are both correct. With this technology, video scene information can be protected at any time, and uninterrupted recovery provides a better user experience.
应用场景实施例二:广告或小视频的推送Application scenario embodiment 2: advertising or small video push
在播放某视频时,有广告或其他小视频的推送。不必关心某视频的时间点,有需要就可以播放。使用本技术,可以随时保护视频场景信息,并在广告结束时,无间断的恢复,提供更好的用户体验。There is an ad or other small video push when playing a video. You don't have to care about the point in time of a video, you can play it if you need it. With this technology, video scene information can be protected at any time, and at the end of the advertisement, uninterrupted recovery, providing a better user experience.
应用场景实施例三:多屏互动Application scenario embodiment 3: multi-screen interaction
随着终端种类的不断增多,如手机、pad等终端的播放功能也不断增大。多个终端的视频互动可以提供很好的用户体验。在机顶盒观看某视频时,由其他终端打断其 播放的场景也越来越多,比如需要观看某条重要的新闻时,需要立即观看。这种场景,可以使用本申请提供的技术解决原视频连续性观看的问题,可以达到更好的用户体验。As the types of terminals continue to increase, the playback functions of terminals such as mobile phones and pads are also increasing. Video interactions across multiple endpoints provide a great user experience. When watching a video in a set-top box, it is interrupted by other terminals. There are more and more scenes to play, such as when you need to watch an important news, you need to watch it immediately. In this scenario, the technology provided by the present application can be used to solve the problem of the original video continuity viewing, and a better user experience can be achieved.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,通过上述实施例及优选实施方式,解决了相关技术中,由一个应用切换到另一个应用后,切换回之前的应用时,需要用户多次交互才能返回到应用的切换前状态,影响用户体验的问题,进而达到了在用户切换回之前的应用时,可以无缝地恢复之前应用的使用环境,保证用户的使用连续性的效果。 As described above, with the above-mentioned embodiments and the preferred embodiments, in the related art, after switching from one application to another, when the application is switched back to the previous application, the user needs to interact multiple times to return to the pre-switching state of the application. The problem that affects the user experience, and then achieves the effect that the user's use environment can be seamlessly restored when the user switches back to the previous application.

Claims (10)

  1. 一种应用切换处理方法,包括:An application switching processing method includes:
    在由第一应用切换到第二应用的情况下,保存所述第一应用的应用场景;Saving the application scenario of the first application in the case that the first application is switched to the second application;
    在由所述第二应用切换回所述第一应用的情况下,依据保存的所述应用场景,恢复所述第一应用。In the case that the second application is switched back to the first application, the first application is restored according to the saved application scenario.
  2. 根据权利要求1所述的方法,其中,在执行在由第一应用切换到第二应用的情况下,保存所述第一应用的所述应用场景的步骤之前,还包括:The method of claim 1, wherein before the step of saving the application scenario of the first application in the case of switching from the first application to the second application, the method further comprises:
    通过以下方式至少之一,触发由所述第一应用切换到所述第二应用:启动的第一定时器到时;接收到预定的打开推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。Switching to the second application by the first application by at least one of the following: the first timer that is started up to the time; receiving the predetermined open push information; receiving the first key switch message of the predetermined remote controller Receiving an analog message of the first key switch message of the predetermined remote controller.
  3. 根据权利要求1所述的方法,其中,在执行在由所述第二应用切换回所述第一应用的情况下,依据保存的所述应用场景,恢复所述第一应用的步骤之前,还包括:The method according to claim 1, wherein, in the case of switching back to the first application by the second application, before the step of restoring the first application according to the saved application scenario, include:
    通过以下方式至少之一,触发由所述第二应用切换回所述第一应用:启动的第二定时器到时;检测到对所述第二应用的关闭操作;接收到预定的关闭推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。Switching back to the first application by the second application by at least one of: initiating a second timer to expire; detecting a shutdown operation on the second application; receiving predetermined off push information Receiving a first button switching message of the predetermined remote controller; receiving an analog message of the first button switching message of the predetermined remote controller.
  4. 根据权利要求2或3所述的方法,其中,通过由预定应用发出触发消息的方式来触发由所述第一应用切换到所述第二应用,和/或触发由所述第二应用切换回所述第一应用。The method according to claim 2 or 3, wherein switching from the first application to the second application is triggered by issuing a trigger message by a predetermined application, and/or triggering switching back by the second application The first application.
  5. 根据权利要求1所述的方法,其中,对所述第一应用的所述应用场景进行保存包括:The method of claim 1, wherein saving the application scenario of the first application comprises:
    在所述第一应用为视频播放的情况下,对所述视频播放的媒体信息和/或所述视频播放的环境信息进行保存;和/或,在所述第一应用为无视频播放的情况下,对所述第一应用的环境信息进行保存。And saving, in the case that the first application is video playback, media information of the video playing and/or environment information of the video playing; and/or, when the first application is no video playing And saving environment information of the first application.
  6. 一种应用切换处理装置,包括: An application switching processing device includes:
    保存模块,设置为在由第一应用切换到第二应用的情况下,保存所述第一应用的应用场景;a saving module, configured to save an application scenario of the first application when the first application is switched to the second application;
    恢复模块,设置为在由所述第二应用切换回所述第一应用的情况下,依据保存的所述应用场景,恢复所述第一应用。And a recovery module, configured to restore the first application according to the saved application scenario, when the second application is switched back to the first application.
  7. 根据权利要求6所述的装置,其中,还包括:The apparatus of claim 6 further comprising:
    第一触发模块,设置为通过以下方式至少之一,触发由所述第一应用切换到所述第二应用:启动的第一定时器到时;接收到预定的打开推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。The first triggering module is configured to trigger switching from the first application to the second application by at least one of: starting a first timer to arrive; receiving predetermined open push information; receiving a predetermined remote control The first button switching message of the device; receiving an analog message of the first button switching message of the predetermined remote controller.
  8. 根据权利要求6所述的装置,其中,还包括:The apparatus of claim 6 further comprising:
    第二触发模块,设置为通过以下方式至少之一,触发由所述第二应用切换回所述第一应用:启动的第二定时器到时;检测到对所述第二应用的关闭操作;接收到预定的关闭推送信息;接收到预定遥控器的第一按键切换消息;接收到预定遥控器的第一按键切换消息的模拟消息。The second triggering module is configured to trigger switching back to the first application by the second application by at least one of: starting a second timer to expire; detecting a closing operation of the second application; Receiving the predetermined closing push information; receiving the first button switching message of the predetermined remote controller; receiving the analog message of the first button switching message of the predetermined remote controller.
  9. 根据权利要求6所述的装置,其中,所述保存模块,还设置为在所述第一应用为视频播放的情况下,对所述视频播放的媒体信息和/或所述视频播放的环境信息进行保存;和/或,在所述第一应用为无视频播放的情况下,对所述第一应用的环境信息进行保存。The device according to claim 6, wherein the saving module is further configured to: media information played on the video and/or environment information of the video playing in a case where the first application is video playing Saving; and/or saving the environment information of the first application if the first application is no video playback.
  10. 一种智能机顶盒设备,包括权利要求6至9中任一项所述的装置。 An intelligent set top box apparatus comprising the apparatus of any one of claims 6 to 9.
PCT/CN2015/083687 2014-12-02 2015-07-09 Method and apparatus for switching applications, and intelligent set top box device WO2016086663A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410723538.5 2014-12-02
CN201410723538.5A CN105721919A (en) 2014-12-02 2014-12-02 Application switching processing method, application switching processing device and smart set-top box equipment

Publications (1)

Publication Number Publication Date
WO2016086663A1 true WO2016086663A1 (en) 2016-06-09

Family

ID=56090942

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/083687 WO2016086663A1 (en) 2014-12-02 2015-07-09 Method and apparatus for switching applications, and intelligent set top box device

Country Status (2)

Country Link
CN (1) CN105721919A (en)
WO (1) WO2016086663A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501110A (en) * 2022-04-13 2022-05-13 海看网络科技(山东)股份有限公司 Solution for playing ghost when HOME key exits in IPTV

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228335A (en) * 2016-12-21 2018-06-29 阿里巴巴集团控股有限公司 A kind of software running method, device, system and electronic equipment
CN107562526A (en) * 2017-08-25 2018-01-09 深圳市沃特沃德股份有限公司 Intelligent terminal opens the method and device of application program
CN109857308B (en) * 2019-01-10 2020-12-22 珠海天燕科技有限公司 Method and device for operating application
CN112199183A (en) * 2020-11-02 2021-01-08 Tcl通讯(宁波)有限公司 Method and device for controlling application scene data, storage medium and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1270450A (en) * 1999-04-13 2000-10-18 摩托罗拉公司 Switching between electronic equipments in use
CN101882092A (en) * 2010-05-11 2010-11-10 中兴通讯股份有限公司 Management method and device for application program
CN102622270A (en) * 2011-01-26 2012-08-01 腾讯科技(深圳)有限公司 Switching management method and terminal for application programs
CN103227946A (en) * 2013-04-09 2013-07-31 海信集团有限公司 Method for television scene switching and television

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101978957B1 (en) * 2012-05-09 2019-05-16 엘지전자 주식회사 Display apparatus and method of executing and installing application thereof
CN103731457B (en) * 2012-10-15 2019-02-26 中兴通讯股份有限公司 A kind of method for processing business and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1270450A (en) * 1999-04-13 2000-10-18 摩托罗拉公司 Switching between electronic equipments in use
CN101882092A (en) * 2010-05-11 2010-11-10 中兴通讯股份有限公司 Management method and device for application program
CN102622270A (en) * 2011-01-26 2012-08-01 腾讯科技(深圳)有限公司 Switching management method and terminal for application programs
CN103227946A (en) * 2013-04-09 2013-07-31 海信集团有限公司 Method for television scene switching and television

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501110A (en) * 2022-04-13 2022-05-13 海看网络科技(山东)股份有限公司 Solution for playing ghost when HOME key exits in IPTV

Also Published As

Publication number Publication date
CN105721919A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
US10796726B2 (en) Video recording method and apparatus for mobile terminal
WO2016086663A1 (en) Method and apparatus for switching applications, and intelligent set top box device
WO2017173793A1 (en) Method and apparatus for screen projection of video
US20200396498A1 (en) Method and device for video previewing, electronic equipment, and computer-readable storage medium
WO2017088392A1 (en) Video playing method and device
US10375438B2 (en) Method for content projection and mobile terminal
US20190318766A1 (en) Method, Device, and System of Synchronously Playing Media File
WO2017185611A1 (en) Interface displaying method and device of smart terminal
US20170324998A1 (en) Method for playing video, client, and computer storage medium
WO2014101418A1 (en) Video preview display method and terminal device
CN104581320A (en) Method, device and terminal for switching play modes
WO2021196617A1 (en) Voice interaction method and apparatus, electronic device and storage medium
CN111432260A (en) Method, device and equipment for synchronizing multiple paths of video pictures and storage medium
WO2023061159A1 (en) Video playing method and apparatus, and terminal, storage medium and program product
CN104994427A (en) Method and system for configuring and managing self-start-up of smart television desktop
CN104202652A (en) Television set top box and playback control method thereof
CN108196772A (en) Demonstration exchange method, mobile terminal and the mobile terminal exhibition booth of a kind of mobile terminal
WO2017185604A1 (en) Interface displaying method and device of smart terminal
WO2017113855A1 (en) Application program interaction method and terminal
CN109669765B (en) Application switching method and device
WO2014134906A1 (en) Method and apparatus for broadcasting network video iptv-based
CN104038829B (en) A kind of application switching method and device, electronic equipment
CN113038210B (en) Double-screen synchronous playing method of video file and display equipment
WO2017181595A1 (en) Method and device for video display
CN112055259A (en) Advertisement filtering method, intelligent terminal and storage medium

Legal Events

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

Ref document number: 15864840

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

Country of ref document: EP

Kind code of ref document: A1