CN109976951A - A kind of self checking method and device of cinema management system - Google Patents
A kind of self checking method and device of cinema management system Download PDFInfo
- Publication number
- CN109976951A CN109976951A CN201910277321.9A CN201910277321A CN109976951A CN 109976951 A CN109976951 A CN 109976951A CN 201910277321 A CN201910277321 A CN 201910277321A CN 109976951 A CN109976951 A CN 109976951A
- Authority
- CN
- China
- Prior art keywords
- management system
- cinema management
- disk
- detection unit
- subelement
- 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.)
- Pending
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/1438—Restarting or rejuvenating
-
- 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/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of self checking method of cinema management system and devices, this method comprises: S1: whether the system disk for detecting cinema management system is normal, if so, executing S2, executes S2 after otherwise repairing to system disk;S2: whether the system application for detecting cinema management system can operate normally, if so, executing S3, execute S3 after otherwise repairing to system application;S3: whether the database for detecting cinema management system is normal, if so, executing S4, executes S4 after otherwise repairing to database;S4: current database is backed up.Invention increases system backup and repair functions during closing a business, and improve the stability during TMS projection;Automatic classification backup and reparation, make wisdom show more wisdom.
Description
Technical field
The present invention relates to field of computer technology, in particular to the self checking method and device of a kind of cinema management system.
Background technique
As wisdom projection is run in most movie theatres, if occurring application or systematic problem in operational process,
Backup and reparation that personnel in advance participate in system or application are generally required, especially arises a problem that, repairs in showing period
Certain time is needed again, it is possible to influence the wisdom reflection of movie theatre, and as wisdom shows universal, cinema management system
TMS becomes to become increasingly complex, and needs to save configuration and there are many data, if irregularly carrying out system carries out health monitoring, TMS can
Energy performance decline, causes failure in projection.
Summary of the invention
The embodiment of the invention provides a kind of self checking method of cinema management system and devices, are capable of the operation of self-test TMS
Property, self-test TMS application, self-test disk, to utmostly reduce the failure of projection stage appearance.
In a first aspect, the embodiment of the invention provides a kind of self checking methods of cinema management system, this method comprises:
S1: whether the system disk for detecting cinema management system normal, if so, execute S2, otherwise to system disk into
Row executes S2 after repairing;
S2: whether the system application for detecting cinema management system can operate normally, if so, S3 is executed, otherwise to being
System application executes S3 after repairing;
S3: whether the database for detecting cinema management system is normal, if so, executing S4, otherwise repairs to database
S4 is executed after multiple;
S4: current database is backed up.
Preferably, the process repaired in S1 to system disk includes:
The notice of system disk exception is sent to administrator;
It detects whether the connection in the presence of mobile device corresponding to system disk, connects if it exists, then issue whether to back up and be
The prompt of system hard disk;
When receiving the instruction of standby system hard disk, the data in system disk are copied in mobile device;
Using mobile device as new system disk.
Preferably, mobile device is consistent with the storage size of system disk.
Preferably, include: to the process of system application reparation in S2
Restart cinema management system, whether detection system application can operate normally, if so, executing S3, otherwise restart
The operating system of cinema management system executes S3 after reinstalling cinema management system.
Preferably, the process repaired in S3 to database includes:
Obtain the database backed up away from current time the last time;
Restart cinema management system and loads the database of acquisition.
Second aspect, the embodiment of the invention provides a kind of self-checking unit of cinema management system, which includes: first
Detection unit, second detection unit, third detection unit and data backup unit, wherein
The first detection unit, whether the system disk for detecting cinema management system is normal, if so, triggering institute
Second detection unit is stated, the second detection unit is triggered after otherwise repairing to system disk;
Whether the second detection unit, the system application for detecting cinema management system can operate normally, if so,
The third detection unit is then triggered, triggers the third detection unit after otherwise repairing to system application;
The third detection unit, whether the database for detecting cinema management system is normal, if so, described in triggering
Data backup unit triggers the data backup unit after otherwise repairing to database;
The data backup unit, for being backed up to current database.
Preferably, the first detection unit includes abnormity prompt subelement, replacement prompting subelement, data replicon list
Member and hard disk replacement subelement, wherein
The abnormity prompt subelement, for sending the notice of system disk exception to administrator;
Subelement is reminded in the replacement, for detecting whether in the presence of the connection of mobile device corresponding to system disk, if depositing
Connecting, then issue whether the prompt of standby system hard disk;
The data replicate subelement, for when receiving the instruction of standby system hard disk, by the number in system disk
According to copying in mobile device;
The hard disk replacement subelement, for using mobile device as new system disk.
Preferably, mobile device is consistent with the storage size of system disk.
Preferably, the second detection unit includes: and, for restarting cinema management system, detects using subelement is repaired
Whether system application can operate normally, if so, triggering the third detection unit, otherwise restart the behaviour of cinema management system
Make system, triggers the third detection unit after reinstalling cinema management system.
Preferably, the third detection unit includes: data acquisition subelement and restarts load subelement, wherein
The data acquisition subelement, for obtaining the database away from the backup of current time the last time;
It is described to restart load subelement, for restarting cinema management system and loading the database of acquisition.
Compared with prior art, the present invention at least have the utility model has the advantages that
Invention increases system backup and repair functions during closing a business, and improve the stability during TMS projection;
Automatic classification backup and reparation of the present invention, make wisdom show more wisdom.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow diagram of the self checking method of cinema management system provided by one embodiment of the present invention;
Fig. 2 is a kind of structural block diagram of the self-checking unit of cinema management system provided by one embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment of the invention provides a kind of self checking method of cinema management system, this method may include
Following steps:
S1: whether the system disk for detecting cinema management system normal, if so, execute S2, otherwise to system disk into
Row executes S2 after repairing;
S2: whether the system application for detecting cinema management system can operate normally, if so, S3 is executed, otherwise to being
System application executes S3 after repairing;
S3: whether the database for detecting cinema management system is normal, if so, executing S4, otherwise repairs to database
S4 is executed after multiple;
S4: current database is backed up.
In this hair one embodiment, the process repaired in S1 to system disk includes:
The notice of system disk exception is sent to administrator;
It detects whether the connection in the presence of mobile device corresponding to system disk, connects if it exists, then issue whether to back up and be
The prompt of system hard disk;
When receiving the instruction of standby system hard disk, the data in system disk are copied in mobile device;
Using mobile device as new system disk.
In an embodiment of the invention, mobile device is consistent with the storage size of system disk.
In an embodiment of the invention, include: to the process of system application reparation in S2
Restart cinema management system, whether detection system application can operate normally, if so, executing S3, otherwise restart
The operating system of cinema management system executes S3 after reinstalling cinema management system.
In an embodiment of the invention, the process repaired in S3 to database includes:
Obtain the database backed up away from current time the last time;
Restart cinema management system and loads the database of acquisition.
In order to better understand technical solution of the present invention, the embodiment of the invention provides one kind film city close a business with
The self checking method of cinema management system TMS afterwards, this method comprises:
TMS is determining all playing tasks and transformation task completion, and start self detection pattern: 1) TMS first can be detected
System disk, testing hard disk bad track, the read or write speed of hard disk are many if there is bad track of hard disk number or bad track of hard disk can not
Reparation may influence to use or the read or write speed of hard disk is already below setting critical value, and TMS can notify to manage in a manner of mail
Reason person replaces hard disk, and when TMS system detection a to mobile device is inserted into TMS system, and disk size and TMS itself are hard
Disk size is the same, and TMS system can prompt whether back up entire hard disk, if pressing determination, system answers the content of itself hard disk
It makes in mobile device, can prompt user that mobile hard disk is replaced itself hard disk after duplication, starting next time will be with new hard
Disk startup;If 2) hard disk is normal, normal use can continue to, TMS system will check whether application program can normally transport
Row, calls test program, otherwise confirmation application program restarts entire TMS system using normal, restarts TMS if also not all right
Operating system.Operating system is restarted, for TMS system CPU utilization rate still on critical value, TMS system can close all answer
With, main application is left behind, all TMS system configurations and data item are then backed up, starts progress TMS system and reinstalls, and by
The system configuration and data item of backup are into TMS system.3) the case where there is no problem for confirmation TMS system, TMS system can be regular
By the configuration and critical data item of TMS, the FTP for backup database is uploaded to, abnormal damage occurs when there is database,
When can not opening, TMS system can download the database of the last upload from ftp server, and restart TMS system
Loading of databases.4) situation normal in the above TMS System self-test, TMS system can close all applications, only retain main application,
And be in standby, it opens for business previous hour to second day film city, open system application one by one is switched to operating mode.
As shown in Fig. 2, the device includes: the embodiment of the invention provides a kind of self-checking unit of cinema management system
One detection unit, second detection unit, third detection unit and data backup unit, wherein
The first detection unit, whether the system disk for detecting cinema management system is normal, if so, triggering institute
Second detection unit is stated, the second detection unit is triggered after otherwise repairing to system disk;
Whether the second detection unit, the system application for detecting cinema management system can operate normally, if so,
The third detection unit is then triggered, triggers the third detection unit after otherwise repairing to system application;
The third detection unit, whether the database for detecting cinema management system is normal, if so, described in triggering
Data backup unit triggers the data backup unit after otherwise repairing to database;
The data backup unit, for being backed up to current database.
In an embodiment of the invention, the first detection unit includes abnormity prompt subelement, replacement prompting son list
Member, data duplication subelement and hard disk replacement subelement, wherein
The abnormity prompt subelement, for sending the notice of system disk exception to administrator;
Subelement is reminded in the replacement, for detecting whether in the presence of the connection of mobile device corresponding to system disk, if depositing
Connecting, then issue whether the prompt of standby system hard disk;
The data replicate subelement, for when receiving the instruction of standby system hard disk, by the number in system disk
According to copying in mobile device;
The hard disk replacement subelement, for using mobile device as new system disk.
In an embodiment of the invention, mobile device is consistent with the storage size of system disk.
In an embodiment of the invention, the second detection unit includes: using reparation subelement, for restarting movie theatre
Whether management system, detection system application can operate normally, if so, triggering the third detection unit, otherwise restart shadow
The operating system of institute's management system triggers the third detection unit after reinstalling cinema management system.
In an embodiment of the invention, the third detection unit include: data acquisition subelement and restart load son
Unit, wherein
The data acquisition subelement, for obtaining the database away from the backup of current time the last time;
It is described to restart load subelement, for restarting cinema management system and loading the database of acquisition.
The contents such as the information exchange between each unit, implementation procedure in above-mentioned apparatus, due to implementing with the method for the present invention
Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity
Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation
Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non-
It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements,
It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment
Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged
Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention,
Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.
Claims (10)
1. a kind of self checking method of cinema management system, which is characterized in that this method comprises:
S1: whether the system disk for detecting cinema management system is normal, if so, executing S2, otherwise repairs to system disk
S2 is executed after multiple;
S2: whether the system application for detecting cinema management system can operate normally, if so, executing S3, otherwise answer system
With executing S3 after reparation;
S3: whether the database for detecting cinema management system is normal, if so, S4 is executed, after otherwise repairing to database
Execute S4;
S4: current database is backed up.
2. the self checking method of cinema management system according to claim 1, which is characterized in that repaired in S1 to system disk
Multiple process includes:
The notice of system disk exception is sent to administrator;
It detects whether the connection in the presence of mobile device corresponding to system disk, connects if it exists, then issue whether standby system is hard
The prompt of disk;
When receiving the instruction of standby system hard disk, the data in system disk are copied in mobile device;
Using mobile device as new system disk.
3. the self checking method of cinema management system according to claim 2, which is characterized in that mobile device and system disk
Storage size is consistent.
4. the self checking method of cinema management system according to claim 1, which is characterized in that repaired in S2 to system application
Process includes:
Restart cinema management system, whether detection system application can operate normally, if so, executing S3, otherwise restart movie theatre
The operating system of management system executes S3 after reinstalling cinema management system.
5. the self checking method of cinema management system according to claim 1, which is characterized in that repaired in S3 to database
Process include:
Obtain the database backed up away from current time the last time;
Restart cinema management system and loads the database of acquisition.
6. a kind of self-checking unit of cinema management system, which is characterized in that the device includes: first detection unit, the second detection
Unit, third detection unit and data backup unit, wherein
The first detection unit, whether the system disk for detecting cinema management system is normal, if so, triggering described the
Two detection units trigger the second detection unit after otherwise repairing to system disk;
The second detection unit, whether the system application for detecting cinema management system can operate normally, if so, touching
It sends out third detection unit described, triggers the third detection unit after otherwise repairing to system application;
The third detection unit, whether the database for detecting cinema management system is normal, if so, triggering the data
Backup units trigger the data backup unit after otherwise repairing to database;
The data backup unit, for being backed up to current database.
7. the self-checking unit of cinema management system according to claim 6, which is characterized in that the first detection unit includes
Abnormity prompt subelement, replacement remind subelement, data duplication subelement and hard disk replacement subelement, wherein
The abnormity prompt subelement, for sending the notice of system disk exception to administrator;
Subelement is reminded in the replacement, for detecting whether connecting if it exists in the presence of the connection of mobile device corresponding to system disk
Connect, then issue whether the prompt of standby system hard disk;
The data replicate subelement, for when receiving the instruction of standby system hard disk, the data in system disk to be answered
It makes in mobile device;
The hard disk replacement subelement, for using mobile device as new system disk.
8. the self-checking unit of cinema management system according to claim 7, which is characterized in that mobile device and system disk
Storage size is consistent.
9. the self-checking unit of cinema management system according to claim 6, which is characterized in that the second detection unit packet
Include: subelement is repaired in application, and for restarting cinema management system, whether detection system application can be operated normally, if so, touching
It sends out third detection unit described, otherwise restarts the operating system of cinema management system, triggered after reinstalling cinema management system
The third detection unit.
10. the self-checking unit of cinema management system according to claim 6, which is characterized in that the third detection unit packet
It includes: data acquisition subelement and restarting load subelement, wherein the data acquisition subelement, for obtaining away from current time
The database of the last time backup;
It is described to restart load subelement, for restarting cinema management system and loading the database of acquisition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910277321.9A CN109976951A (en) | 2019-04-08 | 2019-04-08 | A kind of self checking method and device of cinema management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910277321.9A CN109976951A (en) | 2019-04-08 | 2019-04-08 | A kind of self checking method and device of cinema management system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109976951A true CN109976951A (en) | 2019-07-05 |
Family
ID=67083475
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910277321.9A Pending CN109976951A (en) | 2019-04-08 | 2019-04-08 | A kind of self checking method and device of cinema management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109976951A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145983A (en) * | 2007-08-07 | 2008-03-19 | 中兴通讯股份有限公司 | A self-diagnosis and self-discovery subsystem and method of network management system |
KR20140137566A (en) * | 2013-05-23 | 2014-12-03 | (주)시네마케이 | Franchising cinema management system having multiple cinema platform and method of showing a first-run film using the system |
-
2019
- 2019-04-08 CN CN201910277321.9A patent/CN109976951A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101145983A (en) * | 2007-08-07 | 2008-03-19 | 中兴通讯股份有限公司 | A self-diagnosis and self-discovery subsystem and method of network management system |
KR20140137566A (en) * | 2013-05-23 | 2014-12-03 | (주)시네마케이 | Franchising cinema management system having multiple cinema platform and method of showing a first-run film using the system |
Non-Patent Citations (2)
Title |
---|
姚世军: "《 Oracle数据库原理与应用》", 30 April 2010, 中国铁道出版社 * |
范力军等: ""符合DCI规范的电影放映服务器及其关键技术研究"", 《现代电影技术》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7200626B1 (en) | System and method for verification of a quiesced database copy | |
US8775394B2 (en) | Transactional failover of data sets | |
CN101789002B (en) | Database compatibility test device and method for server | |
US7340638B2 (en) | Operating system update and boot failure recovery | |
US6785838B2 (en) | Method and apparatus for recovering from failure of a mirrored boot device | |
CN103679390B (en) | The background test method and device of configuration system | |
GB2299693A (en) | Client/server systems | |
CN102541704B (en) | Testing method for RAID (redundant array of independent disk) cards | |
CN102200944B (en) | Test environment cloning method and system for enterprise resource planning (ERP) system | |
WO2017220013A1 (en) | Service processing method and apparatus, and storage medium | |
CN108647118B (en) | Storage cluster-based copy exception recovery method and device and computer equipment | |
CN101441589A (en) | Detection method of substrate management controller and server thereof | |
CN104615511A (en) | Host batch recovery processing method and device based on double centers | |
CN102043634B (en) | Embedded system and embedded software upgrading method | |
CN108733567A (en) | The monitoring method and system of software resource leak case | |
CN110291505A (en) | Reduce the recovery time of application | |
CN108804257A (en) | SOT state of termination detection method, device, terminal and storage medium | |
CN105938445B (en) | Data back up method and device | |
CN104598328A (en) | File system repair method, device and system | |
CN110502386A (en) | The on-line fault diagnosis method and apparatus of hard disk | |
CN109976951A (en) | A kind of self checking method and device of cinema management system | |
CN117573306A (en) | Batch task scheduling system, method, device, computer equipment and storage medium | |
CN117851099A (en) | Fault processing method of k8s cluster, computing equipment and cluster | |
CN109408282A (en) | Application Backup restoration methods, equipment and computer readable storage medium | |
CN105653718A (en) | Method for ensuring database data consistency after snapshot in storage disk snapshot environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |
|
RJ01 | Rejection of invention patent application after publication |