CN104169876A - Play control method and system for player - Google Patents
Play control method and system for player Download PDFInfo
- Publication number
- CN104169876A CN104169876A CN201280001268.6A CN201280001268A CN104169876A CN 104169876 A CN104169876 A CN 104169876A CN 201280001268 A CN201280001268 A CN 201280001268A CN 104169876 A CN104169876 A CN 104169876A
- Authority
- CN
- China
- Prior art keywords
- player
- application program
- finger daemon
- primary application
- recovery file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1417—Boot up procedures
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
The invention belongs to the control method for playing back and system of aviation field, more particularly to a kind of player.
Aircraft is when carrying out ground maintenance; often power-off (the mainly switching of electric power system occurs; surface power supply is changed into from aircraft power itself) and boat after maintenance personal's misoperation cause the multimedia player of flight entertainment system to be interrupted when being run or being upgraded, cause multimedia player not run normally.Occur in this case, only going out to be repaired by the equipment returning equipment manufacturer that these can not normally be used, this mode is costly, and the time cycle is long at present.
The purpose of the embodiment of the present invention is the control method for playing back and system for providing a kind of player, can recover the normal operation of player in the case where player interrupts.
The embodiment of the present invention is achieved in that a kind of control method for playing back of player, the described method comprises the following steps:
After the operating system of the player completes to start, detect whether primary application program starts success by finger daemon;
When primary application program startup is failed, finger daemon recovers the primary application program online in the following manner:
The application recovery file that whether is stored with memory is searched by finger daemon;
When find have application recovery file in the memory when, the operation of application process in the player is terminated by finger daemon;
The application recovery file found is replaced by the primary application program of the player by finger daemon;And
The primary application program after the operating system and replacement of player is restarted by finger daemon.
The another object of the embodiment of the present invention is to provide a kind of broadcasting control system of player, and the system includes:
Starting module, in the os starting of player, starting the primary application program and finger daemon of the player;
Online recovery module, for when primary application program starts failed, finger daemon to recover primary application program online.The online recovery module includes:
Searching modul, for searching the application recovery file that whether is stored with memory by finger daemon;
Performing module, for when find have application recovery file in the memory when, the operation of application process in the player is terminated by finger daemon;
The performing module, is additionally operable to be replaced by the application recovery file found by finger daemon the primary application program of the player;And
The performing module, is additionally operable to restart the primary application program after the operating system and replacement of player by finger daemon.
In embodiments of the present invention, once main application system breaks down the control method for playing back and system of player after the os starting success of player, the primary application program of player can be recovered online, finger daemon can for example be started to detect whether the primary application program in player can normally start, and when starting failed, an application recovery file is obtained into player to substitute initial primary application program, when methods described and system are used for into flight entertainment system, player can be realized automatically when playing and interrupting restarts operation, reduce dismounting and the number of rewelding of airborne equipment, save airline operation cost and time.
Fig. 1 is the method flow diagram of the broadcasting control of player provided in an embodiment of the present invention.
Fig. 2 is the broadcasting control system function structure chart of player provided in an embodiment of the present invention.
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with drawings and Examples, the present invention will be described in further detail.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As one embodiment of the present of invention, Fig. 1 shows the control method for playing back flow chart of player provided in an embodiment of the present invention, and it specifically includes step and is:
Step S601, when the operating system and primary application program of player start, automatic start finger daemon.In present embodiment, player is the multimedia player of flight entertainment system, in other embodiment, player is alternatively different types of multimedia player, and certain finger daemon also can be automatic in the other times after operating system or primary application program start or artificially started.
Step S602, after the operating system of player completes to start, by detecting whether primary application program starts success with operating system startup simultaneously or the delayed finger daemon with os starting.If primary application program starts successfully, into step S607, primary application program is otherwise recovered by finger daemon online into step S603.
Step S603, in the present embodiment when aircraft is carrying out ground maintenance, may be due to power-off (the mainly switching of electric power system, surface power supply is changed into from aircraft power itself) and cause player can not restart primary application program after interrupting, or the improper player of aeronautical maintenance human users be interrupted when being applied or being upgraded after can not restart primary application program, when primary application program startup is failed, passes through finger daemon and search the application recovery file that whether is stored with memory.When not finding application recovery file, return to step S603.In the present embodiment, the memory is external memory, certainly, can also use the memories such as hard disk built-in in player.
Step S604, when having found application recovery file, the operation of application process in player is terminated by finger daemon.In present embodiment, the application program is all operating processes in the player in addition to the finger daemon.
The application recovery file found, the primary application program of player is replaced by by finger daemon by step S605.
Step S606, the primary application program after the operating system and replacement of player is restarted by finger daemon.
Step S607, when primary application program starts successfully, the operating system of player, main application system are all normally run.
Further, after step S604, method may also include:The primary application program for deleting the player by the finger daemon enters back into step S605.
Further, player may also include display, and when memory is external memory, after step S602, above method also includes:When primary application program startup is failed, show that primary application program starts failed information and/or prompting user inserts external memory to the information of player, prompting user's insertion external memory by display.In other embodiment, display can be also not provided with player, but instruction device is set, such as infrared lamp, when primary application program startup is failed, lights to point out user's primary application program to start failed information by instruction device.Further, when the memory is external memory, in step S603, when primary application program startup is failed, the specific method that the application recovery file that whether is stored with memory is searched by finger daemon is:Search whether that external memory inserts player by finger daemon;When lookup has external memory to insert player, search in external memory whether include the application recovery file by finger daemon.In step S604, the specific method for the primary application program that the application recovery file found is replaced by into the player by finger daemon is:The application recovery file in the external memory is copied by finger daemon, and the application recovery file of copy is replaced by the primary application program of the player.
One of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method can be by program to instruct the hardware of correlation to complete, described program can be stored in a computer read/write memory medium, described storage medium, such as ROM/RAM, disk, CD.
Fig. 2 is the function structure chart of broadcasting control system 100 of player provided in an embodiment of the present invention.In embodiments of the present invention, system 100 includes a starting module 21, a detection module 22 and online recovery module 26, wherein online recovery module 26 mainly includes searching modul 23 and performing module 24.
Wherein, starting module 21 is used for when the operating system and primary application program of player start, automatic start finger daemon, or also can start finger daemon in the other times after operating system or primary application program start.
Detection module 22 is used for after the operating system of player completes to start, and detects whether primary application program starts success by finger daemon.
Online recovery module 26 is used to, when primary application program starts failed, primary application program is recovered online by finger daemon.
Searching modul 23 is used to, when primary application program starts failed, the application recovery file that whether is stored with memory is searched by finger daemon.Performing module 24 is used for when searching modul 23 has found application recovery file, the operation of application process in player is terminated by finger daemon, be additionally operable to the application recovery file found is replaced by by finger daemon the primary application program of player, and for the primary application program after the operating system and replacement by finger daemon restarting player.In present embodiment, application recovery file is the file for including primary application program.Performing module 23 can be additionally used in after the operation of application process in terminating player, and primary application program initial in player is deleted by finger daemon.Further, player also includes display 10, online recovery module 26 also includes a display module 25, display module 25 is used for when memory is external memory and primary application program starts failed, show that primary application program starts failed information and/or prompting user inserts external memory to the information of player in display 10, remind the user that and external memory is inserted into player.
In the present embodiment, when memory is external memory, searching modul 23 can be specifically for having searched whether that an external memory inserts player by finger daemon, when having external memory insertion player, also search whether include application recovery file in the external memory by finger daemon.Performing module 23 is specifically additionally operable to when having found application recovery file, the operation of application process in player is terminated by finger daemon, and the application recovery file in external memory is copied by finger daemon, and the application recovery file of copy is replaced by the primary application program of player.
Pass through the control method for playing back and system of the player of the present invention, it is after the os starting success of player, detect whether the primary application program in player can normally start using finger daemon, and it is recovered online when starting failed, an application recovery file is for example obtained into player to substitute initial primary application program, so as to realize the recovery of the online primary application program of player, when method and system are used for after the player of flight entertainment system, player can be realized automatically restarts operation, reduce dismounting and the number of rewelding of airborne equipment, save airline operation cost and time.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, any modifications, equivalent substitutions and improvements made within the spirit and principles of the invention etc., should be included in the scope of the protection.
Claims (12)
- A kind of control method for playing back of player, it is characterised in that:Method comprises the following steps:After the operating system of the player completes to start, whether the primary application program for detecting the player by finger daemon starts success;When primary application program startup is failed, recover the primary application program online by finger daemon.
- The control method for playing back of player as claimed in claim 1, it is characterised in that:The specific method that the finger daemon recovers the primary application program online is:The application recovery file that whether is stored with memory is searched by finger daemon;When find have application recovery file in the memory when, the operation of application process in the player is terminated by finger daemon;The application recovery file found is replaced by the primary application program of the player by finger daemon;AndThe primary application program after the operating system and replacement of player is restarted by finger daemon.
- The control method for playing back of player as claimed in claim 2, it is characterised in that:In the step of terminating the operation of application process in the player by finger daemon, the application process is all operating processes in the player in addition to the finger daemon.
- The control method for playing back of player as claimed in claim 2, it is characterised in that:Terminated by finger daemon in the player after the operating procedure of application process, methods described is further comprising the steps of:The primary application program of the player is deleted by the finger daemon.
- The control method for playing back of player as any one of claim 2-4, it is characterised in that:The player also includes display, and the memory is external memory, and when primary application program startup is failed, methods described is further comprising the steps of:Show that the failed information of the primary application program startup and/or prompting user insert external memory to the information of player in the display.
- The control method for playing back of player as any one of claim 2-4, it is characterised in that:The memory is external memory, and the specific method that the application recovery file that whether is stored with memory is searched by finger daemon is:Search whether that external memory inserts the player by finger daemon;When lookup has the external memory to insert the player, search whether include the application recovery file in the external memory by finger daemon;The specific method for the primary application program that the application recovery file found is replaced by into the player by finger daemon is:The application recovery file in the external memory is copied by finger daemon, and the application recovery file of copy is replaced by the primary application program of the player.
- A kind of player is in broadcasting control system, it is characterised in that:The system includes:Detection module, for after the operating system of the player completes to start, whether the primary application program for detecting the player by finger daemon to start success;AndOnline recovery module, for when the primary application program starts failed, recovering the primary application program online by finger daemon.
- The broadcasting control system of player as claimed in claim 7, it is characterised in that:The online recovery module includes:Searching modul, for searching the application recovery file that whether is stored with memory by finger daemon;Performing module, for when find have application recovery file in the memory when, the operation of application process in the player is terminated by finger daemon;The performing module, is additionally operable to be replaced by the application recovery file found by finger daemon the primary application program of the player;AndThe performing module, is additionally operable to restart the primary application program after the operating system and replacement of player by finger daemon.
- The broadcasting control system of player as claimed in claim 8, it is characterised in that:Also include starting module, when starting for the operating system in the player and primary application program, start the finger daemon.
- The broadcasting control system of player as claimed in claim 8, it is characterised in that:The performing module is additionally operable to after the operation of application process in terminating the player, and the primary application program in the player is deleted by the finger daemon.
- The broadcasting control system of player as any one of claim 8-10, it is characterised in that:The player also includes display, and the online recovery module also includes:Display module, for when the memory is external memory and the primary application program starts failed, showing that the failed information of the primary application program startup and/or prompting user insert external memory to the information of player in the display.
- The broadcasting control system of player as any one of claim 8-10, it is characterised in that:The searching modul by the finger daemon specifically for when the memory is external memory and the primary application program starts failed, having searched whether that an external memory inserts the player;When lookup has the external memory to insert the player, search in the external memory whether include the application recovery file by the finger daemon;AndThe performing module copies the application recovery file in the external memory specifically for when having found the application recovery file by the finger daemon, and the application recovery file of copy is replaced by the primary application program of the 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 (2)
Publication Number | Publication Date |
---|---|
CN104169876A true CN104169876A (en) | 2014-11-26 |
CN104169876B CN104169876B (en) | 2018-11-23 |
Family
ID=50626305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201280001268.6A Active CN104169876B (en) | 2012-10-30 | 2012-10-30 | A kind of control method for playing back and system of player |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104169876B (en) |
WO (1) | WO2014067071A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105930175A (en) * | 2016-05-31 | 2016-09-07 | 京东方科技集团股份有限公司 | Method and device for closing application tool |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110609767B (en) * | 2019-09-17 | 2023-10-20 | 青岛海信移动通信技术有限公司 | Data recovery method and device for terminal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013376A (en) * | 2007-02-09 | 2007-08-08 | 无敌科技(西安)有限公司 | Multiple protection method of start-up program |
CN101493776A (en) * | 2009-02-18 | 2009-07-29 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and power-on method and system thereof |
CN101656627A (en) * | 2009-09-23 | 2010-02-24 | 福建星网锐捷网络有限公司 | Method and device for restoring main program and network equipment |
CN102053875A (en) * | 2009-10-29 | 2011-05-11 | 纬创资通股份有限公司 | Method for recovering basic input-output system (BIOS) of computer system and computer system |
CN102207881A (en) * | 2011-07-07 | 2011-10-05 | 电子科技大学 | Quick operation system start-up method based on Android |
CN102541682A (en) * | 2010-12-31 | 2012-07-04 | 上海讯垒网络科技有限公司 | Method for restoring abnormal programs in embedded system quickly and automatically |
CN102609290A (en) * | 2012-02-17 | 2012-07-25 | 青岛海信电器股份有限公司 | Software updating method for electronic product |
CN102681857A (en) * | 2011-03-07 | 2012-09-19 | 北京博创理想科技有限公司 | Method and device for realizing restoration and update of vehicle-mounted software system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009157632A (en) * | 2007-12-26 | 2009-07-16 | Toshiba Corp | Information processing unit |
-
2012
- 2012-10-30 CN CN201280001268.6A patent/CN104169876B/en active Active
- 2012-10-30 WO PCT/CN2012/083767 patent/WO2014067071A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013376A (en) * | 2007-02-09 | 2007-08-08 | 无敌科技(西安)有限公司 | Multiple protection method of start-up program |
CN101493776A (en) * | 2009-02-18 | 2009-07-29 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and power-on method and system thereof |
CN101656627A (en) * | 2009-09-23 | 2010-02-24 | 福建星网锐捷网络有限公司 | Method and device for restoring main program and network equipment |
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 |
CN102681857A (en) * | 2011-03-07 | 2012-09-19 | 北京博创理想科技有限公司 | Method and device for realizing restoration and update of vehicle-mounted software system |
CN102207881A (en) * | 2011-07-07 | 2011-10-05 | 电子科技大学 | Quick operation system start-up method based on Android |
CN102609290A (en) * | 2012-02-17 | 2012-07-25 | 青岛海信电器股份有限公司 | Software updating method for electronic product |
Non-Patent Citations (2)
Title |
---|
苗忠良: "《深入Android应用开发:核心技术解析与最佳实践》", 31 May 2012 * |
高磊: "《Android 应用开发精解》", 30 September 2012 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105930175A (en) * | 2016-05-31 | 2016-09-07 | 京东方科技集团股份有限公司 | Method and device for closing application tool |
Also Published As
Publication number | Publication date |
---|---|
WO2014067071A1 (en) | 2014-05-08 |
CN104169876B (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102567136B (en) | The backup of a kind of computer system, method of reducing, device and computer system | |
US7421552B2 (en) | Techniques for managing data within a data storage system utilizing a flash-based memory vault | |
CN100472464C (en) | Data back-up system and method and system load-bearing apparatus | |
US8600943B1 (en) | Porting replication relationships | |
CN100517246C (en) | Computer remote control method and system | |
CN101329632B (en) | Method and apparatus for starting CPU by BOOT | |
JP2006178616A (en) | Fault tolerant system, controller used thereform, operation method and operation program | |
US20040039960A1 (en) | Method and apparatus for automatic hibernation after a power failure | |
CN102439565B (en) | Method and device for starting recovery | |
US9594711B2 (en) | Systems and methods for achieving continuation of experience between components in a hybrid environment | |
US20090132779A1 (en) | Storage system and remote copy control method | |
JP5548753B2 (en) | Integrated PC and its power management method | |
US8131919B1 (en) | Techniques for controlling storage device use by performing a storage device location assessment operation based on a current storage device identifier | |
KR101260066B1 (en) | Computer system having serial and parallel interfaces | |
US20090006744A1 (en) | Automated intermittent data mirroring volumes | |
CN1992611B (en) | Mobile computing device and method for receiving data packet thereof | |
CN104461773A (en) | Backup deduplication method of virtual machine | |
CN104460925A (en) | Power management implementation method based on ShenWei platform | |
CN104169876A (en) | Play control method and system for player | |
US20060230216A1 (en) | Data processing system and method | |
CN105302735A (en) | Management method of hybrid storage unit and electronic apparatus having the hybrid storage unit | |
JP2002099390A (en) | Disk controller | |
CN105824650A (en) | Computer system, adaptive dormancy control module and control method for same | |
KR101941637B1 (en) | Mobile terminal and file system management method thereof | |
KR101871427B1 (en) | Universal Serial Bus memory device having data protection and recovery functions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190220 Address after: 518000 Guangzhou Nanshan Nantou Street Pass No. 2 Zhiheng Strategic Emerging Industrial Park, 1 Building and 1 Floor Patentee after: Shenzhen city many Nica avionics Co., Ltd. Address before: 518000 Guangdong Nanshan High-tech Industrial Park, 6 Third Floor, No. 2 Cool Information Port, Mengxi Road, Shenzhen Patentee before: Shenzhen Aviation Engineering Co., Ltd. |