Disclosure of Invention
The invention provides an intelligent routing inspection alarm method, device, medium and electronic equipment for a dispatching recording system, overcomes the defects of the prior art, and can effectively solve the problems of time consumption, labor consumption and low efficiency of the existing manual routing inspection method for recording files of the dispatching recording system.
One of the technical schemes of the invention is realized by the following measures: an intelligent routing inspection alarm method for a dispatching recording system comprises the following steps:
setting inspection time;
polling the recording files of all the sites according to polling time, and outputting polling files describing all the sites, wherein the polling comprises determining the recording file backup state of the sites and counting the number and the size of the recording files of all the sites;
and sending the inspection file to the inspection personnel.
The following is further optimization or/and improvement of the technical scheme of the invention:
the above-mentioned patrol and examine all website recording files according to the time of patrolling and examining, the file of patrolling and examining of each website of output description includes:
judging whether the recording files of the site are completely backed up or not, and if not, carrying out special marking on the backup file loss;
counting the number and the size of the sound recording files of all the sites;
judging whether the number and the size of the sound recording files of the site meet a set threshold value, if not, carrying out special marking on the sound recording files which do not meet the set threshold value, and if so, marking the number and the size of the sound recording files of the site;
according to the special marks of the missing backup files and the special marks of the recording files, carrying out special marks on the corresponding sites;
and generating a polling file for describing polling results of the recording files of each site according to the quantity and size labels of the recording files of each site and the special labels of the sites.
The patrol file comprises the number of the sound recording files in each site, the maximum file, the minimum file, the average size of the files and special labels.
The communication mode for sending the inspection file to the inspection personnel comprises mail transmission communication and short message transmission communication.
The second technical scheme of the invention is realized by the following measures: the utility model provides an alarm device is patrolled and examined to dispatch recording system intelligence, includes:
the polling time setting unit is used for setting polling time;
the polling unit is used for polling the recording files of all the sites according to polling time and outputting polling files describing all the sites, wherein the polling comprises the steps of determining the recording file backup state of the sites and counting and determining the number and the size of the recording files of all the sites;
and the inspection result transmission unit is used for transmitting an inspection file to the inspection personnel.
The following is further optimization or/and improvement of the technical scheme of the invention:
the inspection execution unit comprises:
the first routing inspection execution module judges whether the recording files of the site are completely backed up or not, and if not, the backup files are specially marked for missing;
the second inspection execution module is used for counting the number and the size of the sound recording files of all the sites; judging whether the number and the size of the sound recording files of the site meet a set threshold value, if not, carrying out special marking on the sound recording files which do not meet the set threshold value, and if so, marking the number and the size of the sound recording files of the site;
the inspection result statistic module is used for carrying out special marking on the corresponding sites according to the special marking of the missing backup files and the special marking of the recording files; and generating a polling file for describing polling results of the recording files of each site according to the quantity and size labels of the recording files of each site and the special labels of the sites.
The invention realizes the timed automatic inspection of the recording files of each station without manual participation, can backup and determine the number and the size of the recording files of each station during inspection, and generates and sends the inspection files to inspection personnel.
Detailed Description
The present invention is not limited by the following examples, and specific embodiments may be determined according to the technical solutions and practical situations of the present invention.
The invention is further described with reference to the following examples and figures:
example 1: as shown in fig. 1, the present embodiment discloses an intelligent patrol alarm method for a dispatch recording system, which includes:
step S101, setting inspection time;
step S102, polling is conducted on the recording files of all the sites according to polling time, and polling files describing all the sites are output, wherein the polling comprises the steps of determining the recording file backup state of the sites and counting and determining the number and the size of the recording files of all the sites;
and step S103, sending the inspection file to the inspection personnel.
The embodiment of the invention discloses an intelligent routing inspection alarm method for a dispatching recording system, which realizes the timed automatic routing inspection of recording files of all stations, can backup and count whether the recording files of all stations are full, determine the number and the size of the recording files, and generate and send routing inspection files to routing inspection personnel during routing inspection.
Example 2: as shown in fig. 2, the embodiment discloses an intelligent patrol alarm method for a dispatch recording system, which includes:
step S201, setting inspection time; the polling time is set according to the actual situation;
step S202, judging whether the sound recording files of the site are completely backed up, and if not, carrying out special marking on the backup file loss;
step S203, counting the number and size of the sound recording files of all the sites; the statistics specifically comprises the steps of counting the number and the size of the sound recording files, counting the maximum sound recording file and the minimum sound recording file, and meanwhile, finishing the calculation of the average size of the sound recording files;
step S204, judging whether the number and the size of the sound recording files of the site meet the set threshold value, if not, carrying out special marking on the sound recording files which do not meet the set threshold value, and if so, marking the number and the size of the sound recording files of the site;
the set threshold comprises a number threshold, an average size threshold, a maximum threshold of the recording file, a minimum threshold of the recording file and the like, and the set threshold is compared with the counted information one by one to judge whether the threshold is met;
step S205, according to the special label of the missing backup file and the special label of the recording file, the corresponding site is specially labeled;
step S206, generating a patrol inspection file for describing the patrol inspection result of the recording files of each site according to the quantity and size labels of the recording files of each site and the special labels of the sites; the polling files comprise the number of the recording files in each site, the maximum file, the minimum file, the average size of the files and special labels (the special labels comprise sites with incomplete recording file backup and sites with the number and the size of the recording files not meeting the threshold value); the specially marked specific description information can be written at the beginning of the inspection file;
step S207, sending an inspection file to an inspector; the communication mode for sending the inspection file to the inspection personnel comprises mail transmission communication and short message transmission communication, namely the inspection file is sent to the inspection personnel through a mailbox, and meanwhile, the file content of the inspection file is sent to the inspection personnel through a short message, so that the output stability of the inspection file is improved, the inspection personnel can timely know abnormal sites of the recording file inspection and timely maintain the inspection file.
Example 3: as shown in fig. 3, the present embodiment discloses an intelligent patrol alarm device for a dispatch recording system, which includes:
the polling time setting unit is used for setting polling time;
the polling unit is used for polling the recording files of all the sites according to polling time and outputting polling files describing all the sites, wherein the polling comprises the steps of determining the recording file backup state of the sites and counting and determining the number and the size of the recording files of all the sites;
and the inspection result transmission unit is used for transmitting an inspection file to the inspection personnel.
Example 4: as shown in fig. 4, the present embodiment discloses an intelligent patrol alarm device for a dispatch recording system, which includes:
the polling time setting unit is used for setting polling time;
the first routing inspection execution module judges whether the recording files of the site are completely backed up or not, and if not, the backup files are specially marked for missing;
the second inspection execution module is used for counting the number and the size of the sound recording files of all the sites; judging whether the number and the size of the sound recording files of the site meet a set threshold value, if not, carrying out special marking on the sound recording files which do not meet the set threshold value, and if so, marking the number and the size of the sound recording files of the site;
the inspection result statistic module is used for carrying out special marking on the corresponding sites according to the special marking of the missing backup files and the special marking of the recording files; generating a polling file for describing polling results of the recording files of each site according to the quantity and size labels of the recording files of each site and the special labels of the sites;
and the inspection result transmission unit is used for transmitting an inspection file to the inspection personnel.
In this embodiment, the inspection unit is divided into a first inspection execution module, a first inspection execution module and an inspection result statistics module, wherein the first inspection execution module and the first inspection execution module respectively execute inspection operations, and the inspection result statistics module generates an inspection file according to an inspection result.
Embodiment 5 is a storage medium having stored thereon a computer program readable by a computer, the computer program configured to, when executed, perform a method for scheduling audio recording system smart patrol alerts.
The storage medium may include, but is not limited to: u disk, read-only memory, removable hard disk, magnetic or optical disk, etc. various media capable of storing computer programs.
Embodiment 6, the electronic device, including a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the method for scheduling and recording the intelligent patrol alarm of the system.
The electronic equipment further comprises transmission equipment and input and output equipment, wherein the transmission equipment and the input and output equipment are both connected with the processor.
The above technical features constitute the best embodiment of the present invention, which has strong adaptability and best implementation effect, and unnecessary technical features can be increased or decreased according to actual needs to meet the requirements of different situations.