CN104169876B - A kind of control method for playing back and system of player - Google Patents
A kind of control method for playing back and system of player Download PDFInfo
- Publication number
- CN104169876B CN104169876B CN201280001268.6A CN201280001268A CN104169876B CN 104169876 B CN104169876 B CN 104169876B CN 201280001268 A CN201280001268 A CN 201280001268A CN 104169876 B CN104169876 B CN 104169876B
- Authority
- CN
- China
- Prior art keywords
- player
- finger daemon
- application program
- 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.)
- Active
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
The present invention provides a kind of control method for playing back of player and system, method includes:After the operating system of player completes starting, detect whether primary application program starts success by finger daemon;When starting failed, primary application program is restored by finger daemon online, such as search in memory whether be stored with application recovery file by finger daemon;When having found application recovery file, the operation of application process in player is terminated by finger daemon;The application recovery file found is replaced by the primary application program of player by finger daemon;And the primary application program after the operating system and substitution of player is restarted by finger daemon.The control method for playing back and system of player of the invention, the automatic recovery of system can be realized when method and system are used for flight entertainment system when player interrupts, airline operation cost and time can be saved as the auxiliary maintaining means of airline flight crew.
Description
Technical field
The invention belongs to aviation field more particularly to the control method for playing back and system of a kind of player.
Background technique
When carrying out ground maintenance, will appear power-off often, (the mainly switching of power supply system is supplied aircraft by aircraft itself
Electricity becomes surface power supply) and boat after maintenance personal's misoperation cause the multimedia player of flight entertainment system transporting
It is interrupted when row or upgrading, multimedia player is caused to be unable to operate normally.Occur at present in this case, only by these nothings
The equipment returning equipment manufacturer of method normal use goes out to repair, and this mode is costly, long period.
Summary of the invention
The control method for playing back and system for being designed to provide a kind of player of the embodiment of the present invention, can be in player
Restore the normal operation of player in the case where disconnected operation.
The embodiments of the present invention are implemented as follows, and a kind of control method for playing back of player, the method includes following steps
Suddenly:
After the operating system of the player completes starting, detect whether primary application program starts by finger daemon
Function;
When primary application program starting is failed, finger daemon restores described main using journey online in the following manner
Sequence:
Search in memory whether be stored with application recovery file by finger daemon;
When finding has application recovery file in the memory, is terminated in the player and applied by finger daemon
The operation of process;
The application recovery file found is replaced by the primary application program of the player by finger daemon;And
Primary application program after restarting the operating system and substitution of player by finger daemon.
The another object of the embodiment of the present invention is to provide a kind of broadcasting control system of player, the system comprises
Have:
Starting module, in the os starting of player, starting the primary application program of the player and keeping
Shield process;
Online recovery module, for when primary application program starting is failed, finger daemon to restore primary application program online.
The online recovery module includes:
Searching module, for searching in memory whether be stored with application recovery file by finger daemon;
Execution module, for terminating institute by finger daemon when finding has application recovery file in the memory
State the operation of application process in player;
The execution module is also used to that the application recovery file found is replaced by described broadcast by finger daemon
Put the primary application program of device;And
The execution module, the master after being also used to restart the operating system and substitution of player by finger daemon answer
Use program.
In embodiments of the present invention, the control method for playing back of player and system are successful in the os starting of player
Once main application system breaks down afterwards, can restore the primary application program of player online, such as can start finger daemon
Whether the primary application program in detection player can normally start, and when starting failed, obtain an application recovery file
Initial primary application program is substituted into player, when the method and system are used for flight entertainment system, can broadcast
That realizes player when putting interruption automatically restarts operation, reduces dismounting and the number of rewelding of airborne equipment, saves Airline Operating
Seek cost and time.
Detailed description of the invention
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.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
As an embodiment of the present invention, Fig. 1 shows the broadcasting controlling party of player provided in an embodiment of the present invention
Method flow chart, specifically including step is:
Step S601 starts finger daemon in operating system and the primary application program starting of player automatically.This implementation
In mode, player is the multimedia player of flight entertainment system, and in other embodiments, player can also be different type
Multimedia player, certain finger daemon can also be automatic in the other times after operating system or primary application program starting
Or artificial starting.
Step S602, after the operating system of player completes starting, by starting or lagging simultaneously with operating system
Whether start success with the finger daemon detection primary application program of os starting.If primary application program starts successfully,
S607 is entered step, S603 is otherwise entered step by finger daemon and restores primary application program online.
Step S603 may be due to power-off (mainly power supply system when aircraft is when carrying out ground maintenance in the present embodiment
Switching, surface power supply is become from aircraft power itself) and cause player interrupt after can not restart primary application program, or
Person's aeronautical maintenance personnel's misoperation player can not restart primary application program after being interrupted when applying or upgrading,
When primary application program starting is failed, search in memory whether be stored with application recovery file by finger daemon.When not
When finding application recovery file, return step S603.In the present embodiment, the memory is external memory, certainly,
The memories such as hard disk built-in in player can also be used.
Step S604 terminates application process in player by finger daemon when having found application recovery file
Operation.In present embodiment, the application program is all running in addition to the finger daemon in the player
Process.
The application recovery file found is replaced by the primary application program of player by finger daemon by step S605.
Step S606, the primary application program after the operating system and substitution of player are restarted by finger daemon.
Step S607, when primary application program starts successfully, the operating system of player, main application system are all normally transported
Row.
Further, after step S604, method, which may also include, to be had:The player is deleted by the finger daemon
Primary application program enters back into step S605.
Further, player, which may also include, display, when memory is external memory, after step S602, with
Upper method further includes having:When primary application program starting is failed, the failed letter of primary application program starting is shown by display
Breath and/or prompt user are inserted into the information of external memory to player, and user is reminded to be inserted into external memory.Other embodiment party
In formula, it can also be not provided with display on player, but instruction device, such as infrared lamp are set, when primary application program starts not
When success, shone by instruction device to prompt user's primary application program to start failed information.Further, in the storage
When device is external memory, in step S603, when primary application program starting is failed, is searched and stored by finger daemon
The specific method that application recovery file whether is stored in device is:Search whether that external memory insertion is broadcast by finger daemon
Put device;Whether when lookup has external memory to be inserted into player, being searched in external memory by finger daemon includes
State application recovery file.In step S604, the application recovery file found is replaced by by the player by finger daemon
The specific method of primary application program be:The application recovery file in the external memory is copied by finger daemon, and will
The application recovery file of copy is replaced by the primary application program of the player.
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, the program can be stored in a computer readable storage medium,
The storage medium, such as ROM/RAM, disk, CD.
Fig. 2 is 100 function structure chart of broadcasting control system of player provided in an embodiment of the present invention.Implement in the present invention
In example, system 100 includes a starting module 21, a detection module 22 and online recovery module 26, wherein online recovery module
26 mainly include searching module 23 and execution module 24.
Wherein, starting module 21 is used in operating system and the primary application program starting of player, and automatic starting is guarded
Process, or finger daemon can also be started in the other times after operating system or primary application program starting.
Detection module 22 is used for after the operating system of player completes starting, detects primary application program by finger daemon
Whether starting is successful.
Online recovery module 26 is used to restore main application online by finger daemon when primary application program starting is failed
Program.
Whether searching module 23 is used to search in memory and deposit by finger daemon when primary application program starting is failed
Contain application recovery file.Execution module 24 be used for when searching module 23 has found application recovery file, by guard into
Journey terminates the operation of application process in player, is also used to be replaced by the application recovery file found by finger daemon and broadcast
The primary application program of device is put, and the main application after the operating system and substitution for restarting player by finger daemon
Program.In present embodiment, application recovery file is the file for including primary application program.Execution module 23 can also be used at end
Only in player after the operation of application process, primary application program initial in player is deleted by finger daemon.Further,
Player further includes having display 10, and online recovery module 26 further includes having a display module 25, and display module 25 is for depositing
When reservoir is external memory and failed primary application program starting, display primary application program starts failed information and/or mentions
Show that user is inserted into the information of external memory to player in display 10, reminds the user that and external memory is inserted into broadcasting
Device.
In the present embodiment, memory be external memory when, searching module 23 can be specifically used for by guard into
Journey has searched whether that an external memory is inserted into player, when having external memory to be inserted into player, is also looked by finger daemon
Whether look in the external memory includes application recovery file.Execution module 23, which is specifically also used to work as, has found application recovery
When file, the operation of application process in player is terminated by finger daemon, and external memory is copied by finger daemon
In application recovery file, and the application recovery file of copy is replaced by the primary application program of player.
The control method for playing back and system of player through the invention, in the os starting success of player
Afterwards, detect whether the primary application program in player can normally start using finger daemon, and start it is failed when pair
It is restored online, such as is obtained an application recovery file and substituted initial primary application program into player, thus real
The recovery of the existing online primary application program of player, when method and system being used for after the player of flight entertainment system, can from
It is dynamic realize player restart operation, reduce dismounting and the number of rewelding of airborne equipment, saving airline operation cost and when
Between.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (8)
1. a kind of control method for playing back of player, it is characterised in that:Method includes the following steps:
After the operating system of the player completes starting, it is by the primary application program that finger daemon detects the player
It is no to start successfully;
When primary application program starting is failed, restores the primary application program online by finger daemon, pass through instruction
Device shines to prompt user's primary application program to start failed information;
The specific method that the finger daemon restores the primary application program online is:
Search in memory whether be stored with application recovery file by finger daemon;The memory is external memory or broadcasts
Put device internal memory;
When finding has application recovery file in the memory, application process in the player is terminated by finger daemon
Operation, the primary application program of the player is deleted by the finger daemon;
The application recovery file found is replaced by the primary application program of the player by finger daemon;And pass through
The operating system and the primary application program after substitution that finger daemon restarts player;
Whether described searched by finger daemon is stored with the specific method of application recovery file in memory and is:
Search whether that external memory is inserted into the player by finger daemon;
When lookup has the external memory to be inserted into the player, being searched in the external memory by finger daemon is
No includes the application recovery file.
2. the control method for playing back of player as described in claim 1, it is characterised in that:By finger daemon terminate described in broadcast
In the step of putting the operation of application process in device, the application process is the institute in the player in addition to the finger daemon
There is running process.
3. such as the control method for playing back of player of any of claims 1-2, it is characterised in that:The player is also
Including display, the memory is external memory, when primary application program starting is failed, the method also includes
Following steps:Show that the primary application program starts failed information and/or prompt user and is inserted into external memory to broadcasting
The information of device is in the display.
4. such as the control method for playing back of player of any of claims 1-2, it is characterised in that:
The application recovery file that will be found by finger daemon is replaced by the primary application program of the player
Specific method is:
The application recovery file in the external memory is copied by finger daemon, and the application recovery file of copy is substituted
For the primary application program of the player.
5. a kind of broadcasting control system of player, it is characterised in that:The system comprises have:
Detection module, for detecting the player by finger daemon after the operating system of the player completes starting
Primary application program whether start success;And
Online recovery module, for restoring the master online by finger daemon when primary application program starting is failed
Application program is shone by instruction device to prompt user's primary application program to start failed information;
The online recovery module includes:
Searching module, for searching in memory whether be stored with application recovery file by finger daemon;The memory is
External memory or player internal memory;
Execution module, for when finding has application recovery file in the memory, by finger daemon terminate described in broadcast
The primary application program of the player is deleted in the operation for putting application process in device by the finger daemon;
The execution module is also used to that the application recovery file found is replaced by the player by finger daemon
Primary application program;And
The execution module, it is main using journey after being also used to restart the operating system and substitution of player by finger daemon
Sequence;
The searching module is specifically used for searching whether when primary application program starting is failed by the finger daemon
There is an external memory to be inserted into the player;When lookup has the external memory to be inserted into the player, by described
Whether it includes the application recovery file that finger daemon is searched in the external memory.
6. the broadcasting control system of player as claimed in claim 5, it is characterised in that:The execution module was also used at end
Only in the player after the operation of application process, the primary application program in the player is deleted by the finger daemon.
7. the broadcasting control system of the player as described in any one of claim 5-6, it is characterised in that:The player is also
It include display, the online recovery module further includes having:
Display module, for showing institute when the memory is external memory and primary application program starting is failed
It states primary application program and starts the information of failed information and/or prompt user insertion external memory to player in described aobvious
Show device.
8. the broadcasting control system of the player as described in any one of claim 5-6, it is characterised in that:
The execution module is specifically used for when having found the application recovery file, by described in finger daemon copy
Application recovery file in external memory, and the application recovery file of copy is replaced by the main using journey of the player
Sequence.
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 CN104169876A (en) | 2014-11-26 |
CN104169876B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105930175A (en) * | 2016-05-31 | 2016-09-07 | 京东方科技集团股份有限公司 | Method and device for closing application tool |
CN110609767B (en) * | 2019-09-17 | 2023-10-20 | 青岛海信移动通信技术有限公司 | Data recovery method and device for terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013376A (en) * | 2007-02-09 | 2007-08-08 | 无敌科技(西安)有限公司 | Multiple protection method of start-up program |
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 (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009157632A (en) * | 2007-12-26 | 2009-07-16 | Toshiba Corp | Information processing unit |
CN101493776B (en) * | 2009-02-18 | 2012-08-22 | 宇龙计算机通信科技(深圳)有限公司 | 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 |
CN102053875B (en) * | 2009-10-29 | 2013-03-27 | 纬创资通股份有限公司 | 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 |
CN102207881B (en) * | 2011-07-07 | 2014-01-22 | 电子科技大学 | Quick operation system start-up method based on Android |
-
2012
- 2012-10-30 WO PCT/CN2012/083767 patent/WO2014067071A1/en active Application Filing
- 2012-10-30 CN CN201280001268.6A patent/CN104169876B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013376A (en) * | 2007-02-09 | 2007-08-08 | 无敌科技(西安)有限公司 | Multiple protection method of start-up program |
CN102681857A (en) * | 2011-03-07 | 2012-09-19 | 北京博创理想科技有限公司 | Method and device for realizing restoration and update of vehicle-mounted software system |
CN102609290A (en) * | 2012-02-17 | 2012-07-25 | 青岛海信电器股份有限公司 | Software updating method for electronic product |
Also Published As
Publication number | Publication date |
---|---|
WO2014067071A1 (en) | 2014-05-08 |
CN104169876A (en) | 2014-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102567136B (en) | The backup of a kind of computer system, method of reducing, device and computer system | |
CN102819469B (en) | operating system recovery method and system | |
CN100517250C (en) | Apparatus and method for controlling RAID array rebuild | |
US9554187B2 (en) | Smart television system and turn-on and turn-off method thereof | |
US8131919B1 (en) | Techniques for controlling storage device use by performing a storage device location assessment operation based on a current storage device identifier | |
CN102163167A (en) | Method and device for rescuing system | |
EP1814032A3 (en) | Recovery for storage system | |
CN103927239A (en) | Method and device for restoring system of terminal equipment | |
EP2652599A1 (en) | System reset | |
CN103019767B (en) | A kind of method of system upgrade, device and airborne entertainment system | |
CN101909087A (en) | Snapshot-based application server remote boot method | |
CN104461773A (en) | Backup deduplication method of virtual machine | |
US20100037092A1 (en) | System and method for backup, reboot, and recovery | |
CN103049343B (en) | Operating system blue screen restoration methods and device | |
CN104169876B (en) | A kind of control method for playing back and system of player | |
US20190138386A1 (en) | Recovering log-structured filesystems from physical replicas | |
CN107533495A (en) | Technology for data backup and resume | |
CN102541682A (en) | Method for restoring abnormal programs in embedded system quickly and automatically | |
CN105404558A (en) | Method and device for processing events in multiple systems | |
CN101197709A (en) | Method and system for upgrading telecommunication apparatus | |
US8060709B1 (en) | Control of storage volumes in file archiving | |
CN109086085A (en) | A kind of os starting management method and device | |
CN104636082B (en) | The control method and device of disk array RAID | |
CN110703985B (en) | Data synchronization method and out-of-band management equipment | |
CN101788930A (en) | Engine display system recovery method and engine display system recovery device |
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 |
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. |
|
TR01 | Transfer of patent right |