WO2014067071A1 - Play control method and system for player - Google Patents

Play control method and system for player Download PDF

Info

Publication number
WO2014067071A1
WO2014067071A1 PCT/CN2012/083767 CN2012083767W WO2014067071A1 WO 2014067071 A1 WO2014067071 A1 WO 2014067071A1 CN 2012083767 W CN2012083767 W CN 2012083767W WO 2014067071 A1 WO2014067071 A1 WO 2014067071A1
Authority
WO
WIPO (PCT)
Prior art keywords
player
application
daemon
main application
memory
Prior art date
Application number
PCT/CN2012/083767
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 深圳市多尼卡电子技术有限公司
Priority to PCT/CN2012/083767 priority Critical patent/WO2014067071A1/en
Priority to CN201280001268.6A priority patent/CN104169876B/en
Publication of WO2014067071A1 publication Critical patent/WO2014067071A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures

Definitions

  • the invention belongs to the field of aviation, and in particular relates to a playback control method and system for a player.
  • An object of the embodiments of the present invention is to provide a playback control method and system for a player, which can resume normal operation of the player when the player is interrupted.
  • a playback control method for a player includes the following steps:
  • the daemon restores the main application online in the following manner:
  • Another object of the embodiments of the present invention is to provide a playback control system for a player, the system including:
  • a startup module configured to start a main application and a daemon of the player when the operating system of the player is started
  • the online recovery module is used to restore the main application online when the main application is not successfully started.
  • the online recovery module includes:
  • a search module for searching, by the daemon, whether an application recovery file is stored in the memory
  • An execution module configured to terminate the operation of the application process in the player by using a daemon process when an application recovery file is found in the memory
  • the execution module is further configured to replace the found application recovery file by the daemon process with the main application of the player;
  • the execution module is further configured to restart the operating system of the player and the replaced main application by the daemon process.
  • the playback control method and system of the player can restore the main application of the player online after the main operating system fails after the operating system of the player is successfully started, for example, the daemon can be started to detect the player.
  • the main application in the normal startup can be started, and when the startup is unsuccessful, an application recovery file is acquired into the player instead of the initial main application, and the method and system can be played when used in the onboard entertainment system. Automatically realize the restart operation of the player during the interruption, reduce the number of disassembly and repair of the on-board equipment, and save the operating cost and time of the airline.
  • FIG. 1 is a flowchart of a method for playing control of a player according to an embodiment of the present invention.
  • FIG. 2 is a structural diagram of a module of a playback control system of a player according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a playback control method of a player according to an embodiment of the present invention, which specifically includes the following steps:
  • step S601 the daemon process is automatically started when the operating system of the player and the main application are started.
  • the player is a multimedia player of the in-flight entertainment system.
  • the player may also be a different type of multimedia player.
  • the daemon may also be in other time after the operating system or the main application is started. Automatic or manual startup.
  • Step S602 after the operating system of the player is started, detecting whether the main application is successfully started by a daemon that starts at the same time as the operating system or lags with the operating system. If the main application is successfully started, the process proceeds to step S607, otherwise, the process proceeds to step S603 to restore the main application online through the daemon process.
  • Step S603 in the embodiment, when the aircraft is performing ground maintenance, the main application may not be restarted after the player is interrupted due to power failure (mainly switching of the power supply system and being powered by the aircraft itself), or The air maintenance personnel can't restart the main application after the application is interrupted during the application or upgrade.
  • the daemon finds whether the application recovery file is stored in the memory. When the application recovery file is not found, it returns to step S603.
  • the memory is an external memory, and of course, a memory such as a hard disk built in the player may be used.
  • Step S604 when the application recovery file is found, the running of the application process in the player is terminated by the daemon process.
  • the application is all running processes in the player except the daemon.
  • step S605 the found application recovery file is replaced by the daemon process as the main application of the player.
  • Step S606 restarting the operating system of the player and the replaced main application by the daemon process.
  • Step S607 when the main application is successfully started, the operating system and the main application system of the player are all running normally.
  • step S604 the method may further include: deleting the main application of the player by the daemon process, and then proceeding to step S605.
  • the player may further include a display.
  • the method further includes: when the main application is not successfully started, displaying, by the display, that the main application starts unsuccessful information and/or The user is prompted to insert information from the external memory to the player to remind the user to insert the external memory.
  • the display may not be provided on the player, but a pointing device, such as an infrared light, may be provided.
  • the main application is unsuccessful, the user is prompted to start the unsuccessful information by lighting the pointing device.
  • step S603 when the memory is an external memory, in step S603, when the main application startup is unsuccessful, the specific method for searching whether the application recovery file is stored in the memory by the daemon is: searching through the daemon There is an external memory inserted into the player; when it is found that the external memory is inserted into the player, the daemon searches for whether the application recovery file is included in the external memory.
  • step S604 the specific method of replacing the found application recovery file with the main application of the player by the daemon process is: copying the application recovery file in the external storage by the daemon process, and restoring the copied application. The file is replaced by the main application of the player.
  • FIG. 2 is a block diagram of a playback control system 100 of a player according to an embodiment of the present invention.
  • the system 100 includes a startup module 21, a detection module 22, and an online recovery module 26.
  • the online recovery module 26 mainly includes a lookup module 23 and an execution module 24.
  • the startup module 21 is configured to automatically start the daemon process when the operating system of the player and the main application are started, or start the daemon process at other times after the operating system or the main application is started.
  • the detecting module 22 is configured to detect, by the daemon process, whether the main application is successfully started after the operating system of the player is completed.
  • the online recovery module 26 is configured to restore the main application online through the daemon process when the main application startup is unsuccessful.
  • the lookup module 23 is configured to find, by the daemon process, whether an application recovery file is stored in the memory when the main application startup is unsuccessful.
  • the execution module 24 is configured to terminate the running of the application process in the player by the daemon process when the search module 23 finds the application recovery file, and is also used to replace the found application recovery file with the main application of the player by the daemon process. And the operating system and the alternate main application used to restart the player through the daemon.
  • the application recovery file is a file including the main application.
  • the execution module 23 can also be used to delete the initial main application in the player through the daemon process after terminating the running of the application process in the player.
  • the player further includes a display 10
  • the online recovery module 26 further includes a display module 25, the display module 25 is configured to display the main application startup unsuccessful information when the memory is external memory and the main application startup is unsuccessful. And/or prompting the user to insert information from the external memory to the player to the display 10, thereby alerting the user to insert the external memory into the player.
  • the searching module 23 can be specifically configured to use the daemon to find whether an external memory is inserted into the player.
  • the daemon also searches for the outside. Whether the application recovery file is included in the memory.
  • the execution module 23 is further configured to: when the application recovery file is found, terminate the running of the application process in the player through the daemon, and copy the application recovery file in the external memory through the daemon, and replace the copied application recovery file. The main application for the player.
  • the daemon process is used to detect whether the main application in the player can be started normally, and when the startup is unsuccessful, it is performed.
  • Online recovery for example, to obtain an application recovery file to the player instead of the initial main application, thereby realizing the recovery of the player's online main application, and automatically implementing the method and system for the player of the in-flight entertainment system
  • the restart operation of the player reduces the number of disassembly and repair of the onboard equipment and saves the operating cost and time of the airline.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

Provided are a play control method and system for a player. The method comprises: after the operating system of a player completes startup, detecting whether a primary application program starts successfully by means of a daemon process; when the startup is not successful, recovering the primary application program online by means of the daemon process, for example, searching whether an application recovery file is stored in a storage device by means of the daemon process; when an application recovery file is found, terminating the operation of an application process in the player by means of the daemon process; replacing the found application recovery file with the primary application program of the player by means of the daemon process; and restarting the operating system and the replaced primary application program of the player by means of the daemon process. In the play control method and system for a player of the present invention, when being used for an entertainment system on a plane, the method and system can realize system self-recovery when the player breaks down, which can act as an assisting maintenance means for airline crew, thus saving operating costs and time for an airline.

Description

一种播放器的播放控制方法及系统  Playback control method and system for player 技术领域Technical field
本发明属于航空领域,尤其涉及一种播放器的播放控制方法及系统。The invention belongs to the field of aviation, and in particular relates to a playback control method and system for a player.
背景技术Background technique
飞机在进行地面维护时,时常会出现断电(主要是供电系统的切换,由飞机自身供电变为地面供电)以及航后维修人员操作不当导致机上娱乐系统的多媒体播放器在进行运行或升级时被中断,导致多媒体播放器无法正常运行。目前出现这种情况下,只有将这些无法正常使用的设备返回设备制造商出进行维修,这种方式费用高,时间周期长。When the aircraft is performing ground maintenance, there will always be power outages (mainly the switching of the power supply system, the power supply from the aircraft itself to the ground), and the improper operation of the after-sales maintenance personnel, causing the multimedia player of the in-flight entertainment system to operate or upgrade. Interrupted, causing the multimedia player to not function properly. In this case, only those devices that cannot be used normally are returned to the device manufacturer for repair, which is costly and has a long time period.
技术问题technical problem
本发明实施例的目的在于提供一种播放器的播放控制方法及系统,可在播放器中断运行的情况下恢复播放器的正常运行。An object of the embodiments of the present invention is to provide a playback control method and system for a player, which can resume normal operation of the player when the player is interrupted.
技术解决方案Technical solution
本发明实施例是这样实现的,一种播放器的播放控制方法,所述方法包括以下步骤:The embodiment of the present invention is implemented as follows. A playback control method for a player includes the following steps:
在所述播放器的操作系统完成启动后,通过守护进程检测主应用程序是否启动成功;After the operating system of the player is started, detecting whether the main application is successfully started by the daemon process;
当所述主应用程序启动未成功时,守护进程通过以下方式在线恢复所述主应用程序:When the main application startup is unsuccessful, the daemon restores the main application online in the following manner:
通过守护进程查找存储器中是否存储有应用恢复文件;Finding whether the application recovery file is stored in the memory through the daemon process;
当查找到所述存储器中有应用恢复文件时,通过守护进程终止所述播放器中应用进程的运行;When it is found that there is an application recovery file in the memory, the running of the application process in the player is terminated by the daemon process;
通过守护进程将查找到的所述应用恢复文件替代为所述播放器的主应用程序;及Substituting the found application recovery file by the daemon process with the main application of the player; and
通过守护进程重新启动播放器的操作系统和替代后的主应用程序。Restart the player's operating system and the alternate main application through the daemon.
本发明实施例的另一目的在于提供一种播放器的播放控制系统,所述系统包括有:Another object of the embodiments of the present invention is to provide a playback control system for a player, the system including:
启动模块,用于在播放器的操作系统启动时,启动所述播放器的主应用程序及守护进程;a startup module, configured to start a main application and a daemon of the player when the operating system of the player is started;
在线恢复模块,用于当主应用程序启动未成功时,守护进程在线恢复主应用程序。所述在线恢复模块包括有:The online recovery module is used to restore the main application online when the main application is not successfully started. The online recovery module includes:
查找模块,用于通过守护进程查找存储器中是否存储有应用恢复文件;a search module for searching, by the daemon, whether an application recovery file is stored in the memory;
执行模块,用于当查找到所述存储器中有应用恢复文件时,通过守护进程终止所述播放器中应用进程的运行;An execution module, configured to terminate the operation of the application process in the player by using a daemon process when an application recovery file is found in the memory;
所述执行模块,还用于通过守护进程将查找到的所述应用恢复文件替代为所述播放器的主应用程序;及The execution module is further configured to replace the found application recovery file by the daemon process with the main application of the player; and
所述执行模块,还用于通过守护进程重新启动播放器的操作系统和替代后的主应用程序。The execution module is further configured to restart the operating system of the player and the replaced main application by the daemon process.
有益效果Beneficial effect
在本发明实施例中,播放器的播放控制方法及系统在播放器的操作系统启动成功后一旦主应用系统出现故障,能够在线恢复播放器的主应用程序,例如可启动守护进程来检测播放器中的主应用程序是否可以正常启动,并在启动未成功时,获取一应用恢复文件至播放器中来替代初始的主应用程序,将所述方法及系统用于机上娱乐系统时,能够在播放中断时自动实现播放机的重启运行,减少机载设备的拆装和返修次数,节约航空公司运营成本和时间。In the embodiment of the present invention, the playback control method and system of the player can restore the main application of the player online after the main operating system fails after the operating system of the player is successfully started, for example, the daemon can be started to detect the player. Whether the main application in the normal startup can be started, and when the startup is unsuccessful, an application recovery file is acquired into the player instead of the initial main application, and the method and system can be played when used in the onboard entertainment system. Automatically realize the restart operation of the player during the interruption, reduce the number of disassembly and repair of the on-board equipment, and save the operating cost and time of the airline.
附图说明DRAWINGS
图1是本发明实施例提供的播放器的播放控制的方法流程图。FIG. 1 is a flowchart of a method for playing control of a player according to an embodiment of the present invention.
图2是本发明实施例提供的播放器的播放控制系统模块结构图。2 is a structural diagram of a module of a playback control system of a player according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
作为本发明的一个实施例,图1示出了本发明实施例提供的播放器的播放控制方法流程图,其具体包括步骤为: As an embodiment of the present invention, FIG. 1 is a flowchart of a playback control method of a player according to an embodiment of the present invention, which specifically includes the following steps:
步骤S601,在播放器的操作系统和主应用程序启动时,自动启动守护进程。本实施方式中,播放器为机上娱乐系统的多媒体播放器,其他实施方式中,播放器也可为不同类型的多媒体播放器,当然守护进程也可在操作系统或主应用程序启动以后的其他时间内自动或者人为启动。In step S601, the daemon process is automatically started when the operating system of the player and the main application are started. In this embodiment, the player is a multimedia player of the in-flight entertainment system. In other embodiments, the player may also be a different type of multimedia player. Of course, the daemon may also be in other time after the operating system or the main application is started. Automatic or manual startup.
步骤S602,在播放器的操作系统完成启动后,通过与操作系统同时启动或者滞后与操作系统启动的守护进程检测主应用程序是否启动成功。如果主应用程序启动成功,则进入步骤S607,否则进入步骤S603通过守护进程在线恢复主应用程序。Step S602, after the operating system of the player is started, detecting whether the main application is successfully started by a daemon that starts at the same time as the operating system or lags with the operating system. If the main application is successfully started, the process proceeds to step S607, otherwise, the process proceeds to step S603 to restore the main application online through the daemon process.
步骤S603,本实施例中当飞机在进行地面维护时,可能由于断电(主要是供电系统的切换,由飞机自身供电变为地面供电)而导致播放器中断后无法重新启动主应用程序,或者航空维修人员操作不当播放器在进行应用或升级时被中断后无法重新启动主应用程序,当主应用程序启动未成功时,通过守护进程查找存储器中是否存储有应用恢复文件。当未查找到应用恢复文件时,返回步骤S603。在本实施方式中,所述存储器为外置存储器,当然,也可采用播放器中内置的硬盘等存储器。Step S603, in the embodiment, when the aircraft is performing ground maintenance, the main application may not be restarted after the player is interrupted due to power failure (mainly switching of the power supply system and being powered by the aircraft itself), or The air maintenance personnel can't restart the main application after the application is interrupted during the application or upgrade. When the main application starts unsuccessfully, the daemon finds whether the application recovery file is stored in the memory. When the application recovery file is not found, it returns to step S603. In the present embodiment, the memory is an external memory, and of course, a memory such as a hard disk built in the player may be used.
步骤S604,当查找到有应用恢复文件时,通过守护进程终止播放器中应用进程的运行。本实施方式中,所述应用程序为所述播放器中除所述守护进程以外的所有运行中的进程。Step S604, when the application recovery file is found, the running of the application process in the player is terminated by the daemon process. In this embodiment, the application is all running processes in the player except the daemon.
步骤S605,通过守护进程将查找到的应用恢复文件替代为播放器的主应用程序。In step S605, the found application recovery file is replaced by the daemon process as the main application of the player.
步骤S606,通过守护进程重新启动播放器的操作系统和替代后的主应用程序。Step S606, restarting the operating system of the player and the replaced main application by the daemon process.
步骤S607,当主应用程序启动成功时,播放器的操作系统、主应用系统都正常运行。Step S607, when the main application is successfully started, the operating system and the main application system of the player are all running normally.
进一步地,在步骤S604后,方法还可包括有:通过所述守护进程删除所述播放器的主应用程序再进入步骤S605。Further, after step S604, the method may further include: deleting the main application of the player by the daemon process, and then proceeding to step S605.
进一步地,播放器还可包括有显示器,存储器为外置存储器时,在步骤S602后,以上方法还包括有:当主应用程序启动未成功时,通过显示器显示主应用程序启动未成功信息和/或提示用户插入外置存储器至播放器的信息,提醒用户插入外置存储器。其他实施方式中,播放器上也可不设置显示器,而是设置指示装置,如红外灯等,当主应用程序启动未成功时,通过指示装置发光来提示用户主应用程序启动未成功信息。进一步地,在所述存储器为外置存储器时,步骤S603中,当所述主应用程序启动未成功时,通过守护进程查找存储器中是否存储有应用恢复文件的具体方法为:通过守护进程查找是否有外置存储器插入播放器;当查找有外置存储器插入播放器时,通过守护进程查找外置存储器中是否包括有所述应用恢复文件。步骤S604中,通过守护进程将查找到的应用恢复文件替代为所述播放器的主应用程序的具体方法为:通过守护进程拷贝所述外置存储器中的应用恢复文件,并将拷贝的应用恢复文件替代为所述播放器的主应用程序。Further, the player may further include a display. When the memory is an external memory, after the step S602, the method further includes: when the main application is not successfully started, displaying, by the display, that the main application starts unsuccessful information and/or The user is prompted to insert information from the external memory to the player to remind the user to insert the external memory. In other embodiments, the display may not be provided on the player, but a pointing device, such as an infrared light, may be provided. When the main application is unsuccessful, the user is prompted to start the unsuccessful information by lighting the pointing device. Further, when the memory is an external memory, in step S603, when the main application startup is unsuccessful, the specific method for searching whether the application recovery file is stored in the memory by the daemon is: searching through the daemon There is an external memory inserted into the player; when it is found that the external memory is inserted into the player, the daemon searches for whether the application recovery file is included in the external memory. In step S604, the specific method of replacing the found application recovery file with the main application of the player by the daemon process is: copying the application recovery file in the external storage by the daemon process, and restoring the copied application. The file is replaced by the main application of the player.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。One of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments may be completed by a program instructing related hardware, and the program may be stored in a computer readable storage medium, the storage. Media, such as ROM/RAM, disk, CD, etc.
图2是本发明实施例提供的播放器的播放控制系统100模块结构图。在本发明实施例中,系统100包括有一启动模块21、一检测模块22和在线恢复模块26,其中在线恢复模块26主要包括查找模块23和执行模块24。FIG. 2 is a block diagram of a playback control system 100 of a player according to an embodiment of the present invention. In the embodiment of the present invention, the system 100 includes a startup module 21, a detection module 22, and an online recovery module 26. The online recovery module 26 mainly includes a lookup module 23 and an execution module 24.
其中,启动模块21用于在播放器的操作系统和主应用程序启动时,自动启动守护进程,或者也可在操作系统或主应用程序启动以后的其他时间内启动守护进程。The startup module 21 is configured to automatically start the daemon process when the operating system of the player and the main application are started, or start the daemon process at other times after the operating system or the main application is started.
检测模块22用于在播放器的操作系统完成启动后,通过守护进程检测主应用程序是否启动成功。The detecting module 22 is configured to detect, by the daemon process, whether the main application is successfully started after the operating system of the player is completed.
在线恢复模块26用于当主应用程序启动未成功时,通过守护进程在线恢复主应用程序。The online recovery module 26 is configured to restore the main application online through the daemon process when the main application startup is unsuccessful.
查找模块23用于当主应用程序启动未成功时,通过守护进程查找存储器中是否存储有应用恢复文件。执行模块24用于当查找模块23查找到有应用恢复文件时,通过守护进程终止播放器中应用进程的运行,还用于通过守护进程将查找到的应用恢复文件替代为播放器的主应用程序,以及用于通过守护进程重新启动播放器的操作系统和替代后的主应用程序。本实施方式中,应用恢复文件为包括有主应用程序的文件。执行模块23还可用于在终止播放器中应用进程的运行后,通过守护进程删除播放器中初始的主应用程序。进一步地,播放器还包括有显示器10,在线恢复模块26还包括有一显示模块25,显示模块25用于在存储器为外置存储器及主应用程序启动未成功时,显示主应用程序启动未成功信息和/或提示用户插入外置存储器至播放器的信息于显示器10,从而提醒用户将外置存储器插入播放器。The lookup module 23 is configured to find, by the daemon process, whether an application recovery file is stored in the memory when the main application startup is unsuccessful. The execution module 24 is configured to terminate the running of the application process in the player by the daemon process when the search module 23 finds the application recovery file, and is also used to replace the found application recovery file with the main application of the player by the daemon process. And the operating system and the alternate main application used to restart the player through the daemon. In this embodiment, the application recovery file is a file including the main application. The execution module 23 can also be used to delete the initial main application in the player through the daemon process after terminating the running of the application process in the player. Further, the player further includes a display 10, the online recovery module 26 further includes a display module 25, the display module 25 is configured to display the main application startup unsuccessful information when the memory is external memory and the main application startup is unsuccessful. And/or prompting the user to insert information from the external memory to the player to the display 10, thereby alerting the user to insert the external memory into the player.
在本实施方式中,在存储器为外置存储器时,查找模块23可具体用于通过守护进程查找是否有一外置存储器插入播放器,有外置存储器插入播放器时,还通过守护进程查找该外置存储器中是否包括有应用恢复文件。执行模块23具体还用于当查找到有应用恢复文件时,通过守护进程终止播放器中应用进程的运行,以及通过守护进程拷贝外置存储器中的应用恢复文件,并将拷贝的应用恢复文件替代为播放器的主应用程序。In this embodiment, when the memory is an external memory, the searching module 23 can be specifically configured to use the daemon to find whether an external memory is inserted into the player. When the external memory is inserted into the player, the daemon also searches for the outside. Whether the application recovery file is included in the memory. The execution module 23 is further configured to: when the application recovery file is found, terminate the running of the application process in the player through the daemon, and copy the application recovery file in the external memory through the daemon, and replace the copied application recovery file. The main application for the player.
通过本发明的播放器的播放控制方法及系统,其在播放器的操作系统启动成功后,利用守护进程来检测播放器中的主应用程序是否可以正常启动,并在启动未成功时对其进行在线恢复,例如获取一应用恢复文件至播放器中来替代初始的主应用程序,从而实现播放器在线主应用程序的恢复,将方法及系统用于机上娱乐系统的播放器后时,能够自动实现播放机的重启运行,减少机载设备的拆装和返修次数,节约航空公司运营成本和时间。Through the playback control method and system of the player of the present invention, after the operating system of the player is successfully started, the daemon process is used to detect whether the main application in the player can be started normally, and when the startup is unsuccessful, it is performed. Online recovery, for example, to obtain an application recovery file to the player instead of the initial main application, thereby realizing the recovery of the player's online main application, and automatically implementing the method and system for the player of the in-flight entertainment system The restart operation of the player reduces the number of disassembly and repair of the onboard equipment and saves the operating cost and time of the airline.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.

Claims (12)

  1. 一种播放器的播放控制方法,其特征在于:方法包括以下步骤:A playback control method for a player, characterized in that the method comprises the following steps:
    在所述播放器的操作系统完成启动后,通过守护进程检测所述播放器的主应用程序是否启动成功;After the operating system of the player finishes booting, detecting, by the daemon, whether the main application of the player is successfully started;
    当所述主应用程序启动未成功时,通过守护进程在线恢复所述主应用程序。When the main application launch is unsuccessful, the main application is restored online by the daemon.
  2. 如权利要求1所述的播放器的播放控制方法,其特征在于:所述守护进程在线恢复所述主应用程序的具体方法为:The playback control method of the player according to claim 1, wherein the specific method for the daemon to restore the main application online is:
    通过守护进程查找存储器中是否存储有应用恢复文件;Finding whether the application recovery file is stored in the memory through the daemon process;
    当查找到所述存储器中有应用恢复文件时,通过守护进程终止所述播放器中应用进程的运行;When it is found that there is an application recovery file in the memory, the running of the application process in the player is terminated by the daemon process;
    通过守护进程将查找到的所述应用恢复文件替代为所述播放器的主应用程序;及Substituting the found application recovery file by the daemon process with the main application of the player; and
    通过守护进程重新启动播放器的操作系统和替代后的主应用程序。Restart the player's operating system and the alternate main application through the daemon.
  3. 如权利要求2所述的播放器的播放控制方法,其特征在于:通过守护进程终止所述播放器中应用进程的运行的步骤中,所述应用进程为所述播放器中除所述守护进程以外的所有运行中的进程。The playback control method of the player according to claim 2, wherein in the step of terminating the operation of the application process in the player by the daemon, the application process is the player except the daemon All running processes except .
  4. 如权利要求2所述的播放器的播放控制方法,其特征在于:在通过守护进程终止所述播放器中应用进程的运行步骤后,所述方法还包括以下步骤:通过所述守护进程删除所述播放器的主应用程序。The playback control method for a player according to claim 2, wherein after the step of operating the application process in the player is terminated by the daemon, the method further comprises the step of deleting the The main application of the player.
  5. 如权利要求2-4中任一项所述的播放器的播放控制方法,其特征在于:所述播放器还包括显示器,所述存储器为外置存储器,当所述主应用程序启动未成功时,所述方法还包括以下步骤:显示所述主应用程序启动未成功的信息和/或提示用户插入外置存储器至播放器的信息于所述显示器。The playback control method for a player according to any one of claims 2 to 4, wherein the player further comprises a display, and the memory is an external memory, when the main application is unsuccessfully started The method further includes the steps of: displaying the primary application launching unsuccessful information and/or prompting the user to insert information of the external memory to the player to the display.
  6. 如权利要求2-4中任一项所述的播放器的播放控制方法,其特征在于:所述存储器为外置存储器,通过守护进程查找存储器中是否存储有应用恢复文件的具体方法为:The playback control method of the player according to any one of claims 2 to 4, wherein the memory is an external memory, and the specific method for searching for whether the application recovery file is stored in the memory by the daemon process is:
    通过守护进程查找是否有外置存储器插入所述播放器;Finding through the daemon whether there is external memory inserted into the player;
    当查找有所述外置存储器插入所述播放器时,通过守护进程查找所述外置存储器中是否包括有所述应用恢复文件;When it is found that the external memory is inserted into the player, the daemon process is used to find whether the application recovery file is included in the external memory;
    通过守护进程将查找到的所述应用恢复文件替代为所述播放器的主应用程序的具体方法为:The specific method of replacing the found application recovery file by the daemon with the player's main application is:
    通过守护进程拷贝所述外置存储器中的应用恢复文件,并将拷贝的应用恢复文件替代为所述播放器的主应用程序。The application recovery file in the external storage is copied by the daemon process, and the copied application recovery file is replaced with the main application of the player.
  7. 一种播放器在播放控制系统,其特征在于:所述系统包括有:A player in a playback control system, characterized in that the system comprises:
    检测模块,用于在所述播放器的操作系统完成启动后,通过守护进程检测所述播放器的主应用程序是否启动成功;及a detecting module, configured to detect, by the daemon process, whether the main application of the player is successfully started after the operating system of the player is started; and
    在线恢复模块,用于当所述主应用程序启动未成功时,通过守护进程在线恢复所述主应用程序。An online recovery module, configured to restore the main application online through a daemon process when the main application startup is unsuccessful.
  8. 如权利要求7所述的播放器的播放控制系统,其特征在于:所述在线恢复模块包括:The playback control system of the player of claim 7, wherein the online recovery module comprises:
    查找模块,用于通过守护进程查找存储器中是否存储有应用恢复文件;a search module for searching, by the daemon, whether an application recovery file is stored in the memory;
    执行模块,用于当查找到所述存储器中有应用恢复文件时,通过守护进程终止所述播放器中应用进程的运行;An execution module, configured to terminate the operation of the application process in the player by using a daemon process when an application recovery file is found in the memory;
    所述执行模块,还用于通过守护进程将查找到的所述应用恢复文件替代为所述播放器的主应用程序;及The execution module is further configured to replace the found application recovery file by the daemon process with the main application of the player; and
    所述执行模块,还用于通过守护进程重新启动播放器的操作系统和替代后的主应用程序。The execution module is further configured to restart the operating system of the player and the replaced main application by the daemon process.
  9. 如权利要求8所述的播放器的播放控制系统,其特征在于:还包括启动模块,用于在所述播放器的操作系统和主应用程序启动时,启动所述守护进程。A playback control system for a player according to claim 8, further comprising an activation module for initiating said daemon process when said player operating system and main application are launched.
  10. 如权利要求8所述的播放器的播放控制系统,其特征在于:所述执行模块还用于在终止所述播放器中应用进程的运行后,通过所述守护进程删除所述播放器中的主应用程序。The playback control system of the player according to claim 8, wherein the execution module is further configured to delete the player in the player by the daemon process after terminating the running of the application process in the player The main application.
  11. 如权利要求8-10中任一项所述的播放器的播放控制系统,其特征在于:所述播放器还包括有显示器,所述在线恢复模块还包括有:The playback control system of the player according to any one of claims 8 to 10, wherein the player further comprises a display, and the online recovery module further comprises:
    显示模块,用于当所述存储器为外置存储器及所述主应用程序启动未成功时,显示所述主应用程序启动未成功的信息和/或提示用户插入外置存储器至播放器的信息于所述显示器。a display module, configured to: when the memory is an external memory and the main application startup is unsuccessful, display the information that the main application starts unsuccessful and/or prompt the user to insert the external memory into the player. The display.
  12. 如权利要求8-10中任一项所述的播放器的播放控制系统,其特征在于: A playback control system for a player according to any one of claims 8 to 10, wherein:
    所述查找模块具体用于在所述存储器为外置存储器及所述主应用程序启动未成功时,通过所述守护进程查找是否有一外置存储器插入所述播放器;当查找有所述外置存储器插入所述播放器时,通过所述守护进程查找所述外置存储器中是否包括有所述应用恢复文件;及The searching module is specifically configured to: when the memory is an external memory and the host application is unsuccessful, find, by the daemon, whether an external memory is inserted into the player; when the external device is found When the memory is inserted into the player, the daemon process is used to find whether the application recovery file is included in the external memory; and
    所述执行模块具体用于当查找到有所述应用恢复文件时,通过所述守护进程拷贝所述外置存储器中的应用恢复文件,并将拷贝的应用恢复文件替代为所述播放器的主应用程序。The execution module is specifically configured to: when the application recovery file is found, copy the application recovery file in the external storage by using the daemon process, and replace the copied application recovery file with the main player of the player. application.
PCT/CN2012/083767 2012-10-30 2012-10-30 Play control method and system for player WO2014067071A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/083767 WO2014067071A1 (en) 2012-10-30 2012-10-30 Play control method and system for player
CN201280001268.6A CN104169876B (en) 2012-10-30 2012-10-30 A kind of control method for playing back and system of player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/083767 WO2014067071A1 (en) 2012-10-30 2012-10-30 Play control method and system for player

Publications (1)

Publication Number Publication Date
WO2014067071A1 true WO2014067071A1 (en) 2014-05-08

Family

ID=50626305

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/083767 WO2014067071A1 (en) 2012-10-30 2012-10-30 Play control method and system for player

Country Status (2)

Country Link
CN (1) CN104169876B (en)
WO (1) WO2014067071A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10489192B2 (en) 2016-05-31 2019-11-26 Boe Technology Group Co., Ltd. Method and controlling apparatus for automatically terminating an application of an electronic apparatus based on audio volume level being adjusted lower than a threshold audio volume level by a user
CN110609767A (en) * 2019-09-17 2019-12-24 青岛海信移动通信技术股份有限公司 Data recovery method and device for terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090172467A1 (en) * 2007-12-26 2009-07-02 Kabushiki Kaisha Toshiba Information processing apparatus
CN101493776A (en) * 2009-02-18 2009-07-29 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and power-on method and system thereof
CN102053875A (en) * 2009-10-29 2011-05-11 纬创资通股份有限公司 Method for recovering basic input-output system (BIOS) of computer system and computer system
CN102541682A (en) * 2010-12-31 2012-07-04 上海讯垒网络科技有限公司 Method for restoring abnormal programs in embedded system quickly and automatically

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461106C (en) * 2007-02-09 2009-02-11 无敌科技(西安)有限公司 Multiple protection method of start-up program
CN101656627A (en) * 2009-09-23 2010-02-24 福建星网锐捷网络有限公司 Method and device for restoring main program and network equipment
CN102681857B (en) * 2011-03-07 2016-08-31 北京博创理想科技有限公司 A kind of realize vehicle-mounted software system reparation or the method for upgrading, device
CN102207881B (en) * 2011-07-07 2014-01-22 电子科技大学 Quick operation system start-up method based on Android
CN102609290B (en) * 2012-02-17 2016-06-15 青岛海信电器股份有限公司 The method for upgrading software of electronic product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090172467A1 (en) * 2007-12-26 2009-07-02 Kabushiki Kaisha Toshiba Information processing apparatus
CN101493776A (en) * 2009-02-18 2009-07-29 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and power-on method and system thereof
CN102053875A (en) * 2009-10-29 2011-05-11 纬创资通股份有限公司 Method for recovering basic input-output system (BIOS) of computer system and computer system
CN102541682A (en) * 2010-12-31 2012-07-04 上海讯垒网络科技有限公司 Method for restoring abnormal programs in embedded system quickly and automatically

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10489192B2 (en) 2016-05-31 2019-11-26 Boe Technology Group Co., Ltd. Method and controlling apparatus for automatically terminating an application of an electronic apparatus based on audio volume level being adjusted lower than a threshold audio volume level by a user
CN110609767A (en) * 2019-09-17 2019-12-24 青岛海信移动通信技术股份有限公司 Data recovery method and device for terminal

Also Published As

Publication number Publication date
CN104169876B (en) 2018-11-23
CN104169876A (en) 2014-11-26

Similar Documents

Publication Publication Date Title
US8352720B2 (en) Method for changing booting configuration and computer system capable of booting OS
US8914671B2 (en) Multiple hyperswap replication sessions
US20080010496A1 (en) System and Method to Create and Manage Multiple Virtualized Remote Mirroring Session Consistency Groups
JP2006178616A (en) Fault tolerant system, controller used thereform, operation method and operation program
CN100472464C (en) Data back-up system and method and system load-bearing apparatus
US20120191908A1 (en) Storage writes in a mirrored virtual machine system
US20090132779A1 (en) Storage system and remote copy control method
TWI453592B (en) Methods and systems for recovering a computer system using a storage area network
JP2007065984A (en) Storage control device and discrete type storage device
CN101449246B (en) Apparatus and method for cluster recovery
JP2010257096A (en) Backup method for storage system
US10719244B2 (en) Multi-mode data replication for data loss risk reduction
WO2011136607A2 (en) System and method for backup and recovery for a semiconductor storage device
CN102163167A (en) Method and device for rescuing system
US20090228646A1 (en) Maintaining Write Cache and Parity Update Footprint Coherency in Multiple Storage Adaptor Configuration
WO2014067071A1 (en) Play control method and system for player
CN101909087A (en) Snapshot-based application server remote boot method
US7000142B2 (en) Mirrored extensions to a multiple disk storage system
JPH11353266A (en) Computer system and its state control method
CN100409197C (en) Method and aim server for increasing filesystem availability via block replication
TW200937288A (en) Update method of basic input output system and update module thereof and computer system
US20070124613A1 (en) Information processing apparatus and system control method
CN101197709A (en) Method and system for upgrading telecommunication apparatus
CN106484807A (en) Build the method and system of autonomous controlled data storehouse dual-active or many aggregated structures living
KR101941637B1 (en) Mobile terminal and file system management method thereof

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 07/07/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 12887640

Country of ref document: EP

Kind code of ref document: A1