CN107168855A - File copy monitoring method and device - Google Patents

File copy monitoring method and device Download PDF

Info

Publication number
CN107168855A
CN107168855A CN201710181666.5A CN201710181666A CN107168855A CN 107168855 A CN107168855 A CN 107168855A CN 201710181666 A CN201710181666 A CN 201710181666A CN 107168855 A CN107168855 A CN 107168855A
Authority
CN
China
Prior art keywords
copy
file
abnormal
failure
fileinfo
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
Application number
CN201710181666.5A
Other languages
Chinese (zh)
Inventor
张声联
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201710181666.5A priority Critical patent/CN107168855A/en
Publication of CN107168855A publication Critical patent/CN107168855A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine

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 is applicable to the technical field of computers, and provides a file copy monitoring method and a file copy monitoring device, wherein the method comprises the following steps: when a copy instruction is received, the monitoring terminal is connected with the preset monitoring terminal, the file to be copied is obtained, the file is copied, when the file copy abnormality is detected, the abnormality information and the copy failure file information are obtained, and the abnormality information and the copy failure file information are sent to the monitoring terminal, so that a user can receive the file copy abnormality information at any time and any place, the user experience of file copy is effectively improved, and the time consumed by re-copying in the abnormal state is reduced.

Description

The monitoring method and device of a kind of file copy
Technical field
The invention belongs to the monitoring method and device of field of computer technology, more particularly to a kind of file copy.
Background technology
File copy is a simply conventional operation on computer, is especially constantly increased in people's awareness of network security Qiang Hou, people can be backed up for more and more, increasing file.
However, when people are that larger file is backed up, can be potentially encountered copy error causes whole backup procedure The situation of interruption, if the subfile now in this larger file is more, user does not simply fail to immediately know that file copy Situation, and which the normal file copy failure of which file copy can not be also distinguished after copy goes wrong, generally will be again Start the whole big file of copy, this largely wastes the time of user, and have influence on the complete of work or task Into.
The content of the invention
It is an object of the invention to provide a kind of monitoring method of file copy and device, it is intended to solves due to prior art A kind of effective monitoring method of file copy can not be provided, user can not be timely anywhere or anytime when causing copied files larger The problem of whole copied files need to being copied when solving copy situation and abnormal copy again.
On the one hand, the invention provides a kind of monitoring method of file copy, methods described comprises the steps:
When receiving copy instruction, it is attached with default monitoring client, and obtain file to be copied;
The file is copied, when detecting the file copy exception, abnormal information is obtained and copy fails Fileinfo, the monitoring client is sent to by the abnormal information and copy failure fileinfo.
On the other hand, the invention provides a kind of supervising device of file copy, described device includes:
Link block is monitored, waits to copy for when receiving copy instruction, being attached, and obtaining with default monitoring client The file of shellfish;And
Abnormal monitoring module, for being copied to the file, when detecting the file copy exception, is obtained different Normal information and copy failure fileinfo, the monitoring client is sent to by the abnormal information and copy failure fileinfo.
The present invention is attached before copied files with default monitoring client, when detecting file copy exception, by this Secondary abnormal abnormal information and copy failure fileinfo are sent to monitoring client, so that user learns this time abnormal from monitoring client, Realize the monitoring to file copy so that user can receive the abnormal message of file copy whenever and wherever possible by monitoring client, So as to carry out corresponding operation according to abnormal information and copy failure fileinfo guiding user, it is effectively improved file and copies The Consumer's Experience of shellfish, copies the spent time again when reducing exception.
Brief description of the drawings
Fig. 1 is the implementation process figure of the monitoring method for the file copy that the embodiment of the present invention one is provided;
Fig. 2 is the implementation process figure of the monitoring method for the file copy that the embodiment of the present invention two is provided;
Fig. 3 is the structural representation of the supervising device for the file copy that the embodiment of the present invention three is provided;And
Fig. 4 is the structural representation of the supervising device for the file copy that the embodiment of the present invention four is provided.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples 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.
Implementing for the present invention is described in detail below in conjunction with specific embodiment:
Embodiment one:
Fig. 1 shows the implementation process of the monitoring method for the file copy that the embodiment of the present invention one is provided, for the ease of saying It is bright, the part related to the embodiment of the present invention is illustrate only, details are as follows:
In step S101, when receiving copy instruction, it is attached with default monitoring client, and obtain to be copied File.
The embodiment of the present invention is applied to the computing device for possessing file copy function, such as computer, mobile phone, it is also possible to In file copy application program or system.There is the computing device or system of file copy function to receive copying for user for these When shellfish instructs, it can be attached with default monitoring client, subsequently to monitor whole copy procedure.
Monitoring client is the user terminal being connected with the computing device, it is preferable that the monitoring client is mobile terminal, in order to text The real-time monitoring of part copy.
In step s 102, file is copied, when detecting file copy exception, obtains abnormal information and copy Failure fileinfo, monitoring client is sent to by abnormal information and copy failure fileinfo.
In embodiments of the present invention, can be by the exception got when detecting file copy exception in copy procedure Information and copy failure fileinfo are sent to monitoring client, wherein, abnormal information may include Exception Type and abnormal cause, copy Failure fileinfo may include the file name and file store path of copy failure file in file.
Preferably, in the copy procedure of file, the copy progress of file is obtained, and the copy progress is sent to monitoring End, so that user can inquire the copy progress of file at any time in monitoring client.
Preferably, in the copy procedure of file, it is marked to having copied successful file in file, so that in hair During raw copy exception, lookup does not have markd file, it becomes possible to obtains the file that failure is copied in file, effectively improves copy The search efficiency of failure file.
Preferably, monitoring client shows after abnormal information and fileinfo is received and exports these abnormal informations and text Part information, to remind user's copy exception occur and facilitate user to understand abnormal conditions.
In embodiments of the present invention, it is attached before file copy with default monitoring client, will in copy procedure Copy progress is sent to monitoring client, when copy occurs abnormal, and abnormal information and copy failure fileinfo are sent into monitoring End, it is achieved thereby that being monitored in monitoring client to file copy, is easy to user to recognize the situation of file copy whenever and wherever possible, Know that copy procedure occurs in time abnormal, copied again when being effectively improved the Consumer's Experience of file copy, reducing exception Time spent by shellfish.
Embodiment two:
Fig. 2 shows the implementation process of the monitoring method for the file copy that the embodiment of the present invention two is provided, and details are as follows:
In step s 201, when receiving copy instruction, it is attached with default monitoring client, and obtain to be copied File.
In embodiments of the present invention, in the copy instruction of the system that receives or user, current file copy end with it is pre- If monitoring client be attached, so that monitoring client monitors whole copy procedure during subsequent copies.Specifically, monitoring client is With carrying out the user terminal that the computing device of file copy is connected, it is preferable that the monitoring client is mobile terminal, in order to which file is copied The real-time monitoring of shellfish.
In step S202, file is copied, when detecting file copy exception, abnormal information and copy is obtained Failure fileinfo, monitoring client is sent to by abnormal information and copy failure fileinfo.
In embodiments of the present invention, can be by the exception got when detecting file copy exception in copy procedure Information and copy failure fileinfo are sent to monitoring client, wherein, abnormal information may include Exception Type and abnormal cause, copy Failure fileinfo may include the file name and file store path of copy failure file in file.
In step S203, when receiving copy continuation instruction, check whether abnormal cause solves.
In embodiments of the present invention, copy continues to instruct and can sent by user on the computing device for carrying out file copy, Also it can be sent by user in monitoring client, can be former to this abnormal exception when computing device, which receives the copy, to be continued to instruct Because being detected, determine whether the abnormal cause solves.
In step S204, when it is determined that abnormal cause has been solved, according to copy failure fileinfo, continue to copy text Part.
In embodiments of the present invention, copy failure fileinfo be in current all copied files because copy is abnormal and not into The fileinfo of the file of work(copy, wherein may include file name and file store path.Obtaining copy failure file After file name and file store path, these copy failure files can be copied in the path specified again again.
In step S205, when detecting file copy completion, the message for copying completion is sent to monitoring client, to carry User's copy of waking up terminates.
In embodiments of the present invention, after the completion of copy, the message of completion is sent to monitoring client, and carried out by monitoring client Display output, to remind user that copy terminates.
In embodiments of the present invention, it is attached before file copy with default monitoring client, when exception occurs for copy When, abnormal information and copy failure fileinfo are sent to monitoring client, and after the instruction that copy continues is received, it is individually right The file of copy failure is copied again, it is achieved thereby that being monitored in monitoring client to file copy, is easy to user at any time The situation of file copy is recognized everywhere, knows that copy procedure occurs in time abnormal, and the file that directly can fail to copy Again copied, without copying All Files again, when being effectively improved the Consumer's Experience of file copy, reducing abnormal Again the spent time is copied.
Can be with one of ordinary skill in the art will appreciate that realizing that all or part of step in above-described embodiment method is The hardware of correlation is instructed to complete by program, described program can be stored in a computer read/write memory medium, Described storage medium, such as ROM/RAM, disk, CD.
Embodiment three:
Fig. 3 shows the structure of the supervising device for the file copy that the embodiment of the present invention three is provided, for convenience of description, only The part related to the embodiment of the present invention is shown, including:
Link block 31 is monitored, is treated for when receiving copy instruction, being attached, and obtaining with default monitoring client The file of copy.
In embodiments of the present invention, when the copy that computing device or system with file copy function receive user refers to When making, it can be attached with default monitoring client, subsequently to monitor whole copy procedure.
Specifically, monitoring client is the user terminal that the computing device or system are connected, it is preferable that the monitoring client is mobile whole End, in order to the real-time monitoring of file copy.
Abnormal monitoring module 32, for being copied to file, when detecting file copy exception, obtains abnormal information With copy failure fileinfo, abnormal information and copy failure fileinfo are sent to monitoring client.
In embodiments of the present invention, can be by the exception got when detecting file copy exception in copy procedure Information and copy failure fileinfo are sent to monitoring client, wherein, abnormal information may include Exception Type and abnormal cause, copy Failure fileinfo may include the file name and file store path of copy failure file in file.
Preferably, in the copy procedure of file, it is marked to having copied successful file in file, so that in hair During raw copy exception, lookup does not have markd file, it becomes possible to obtains the file that failure is copied in file, effectively improves copy The search efficiency of failure file.
In embodiments of the present invention, it is attached before file copy with default monitoring client, when exception occurs for copy When, abnormal information and copy failure fileinfo are sent to monitoring client, it is achieved thereby that being carried out in monitoring client to file copy Monitoring, is easy to user to recognize the situation of file copy whenever and wherever possible, knows that copy procedure occurs in time abnormal, effectively carries The high Consumer's Experience of file copy, the spent time is copied again when reducing exception.
Example IV:
Fig. 4 shows the structure of the supervising device for the file copy that the embodiment of the present invention four is provided, and details are as follows:
Link block 41 is monitored, is treated for when receiving copy instruction, being attached, and obtaining with default monitoring client The file of copy.
In embodiments of the present invention, in the copy instruction of the system that receives or user, current file copy end can be with Default monitoring client is attached, so that monitoring client monitors whole copy procedure during subsequent copies.Specifically, monitoring client For with carrying out the user terminal that the computing device of file copy is connected, it is preferable that the monitoring client is mobile terminal, in order to file The real-time monitoring of copy.
Abnormal monitoring module 42, for being copied to file, when detecting file copy exception, obtains abnormal information With copy failure fileinfo, abnormal information and copy failure fileinfo are sent to monitoring client.
In embodiments of the present invention, can be by the exception got when detecting file copy exception in copy procedure Information and copy failure fileinfo are sent to monitoring client, wherein, abnormal information may include Exception Type and abnormal cause, copy Failure fileinfo may include the file name and file store path of copy failure file in file.
It is abnormal to solve determining module 43, when receiving copy continuation instruction, check whether abnormal cause solves.
In embodiments of the present invention, copy continues to instruct and can sent out by user on the computing device for currently carrying out file copy Go out, can also be sent by user in monitoring client, can be to this abnormal exception when computing device, which receives the copy, to be continued to instruct Reason is detected, determines whether the abnormal cause solves.
Module 44 is copied again, when it is determined that abnormal cause has been solved, according to copy failure fileinfo, continues to copy text Part.
In embodiments of the present invention, copy failure fileinfo be in current all copied files because copy is abnormal and not into The fileinfo of the file of work(copy, wherein may include file name and file store path.Obtaining copy failure file After file name and file store path, these copy failure files can be copied in the path specified again again.
Terminate prompting module 45, when detecting file copy completion, the message for copying completion is sent to monitoring client, with Remind user that copy terminates.
In embodiments of the present invention, after the completion of copy, the message of completion is sent to monitoring client, and carried out by monitoring client Display output, to remind user that copy terminates.
Preferably, abnormal monitoring module 42 also includes progress sending module 421, wherein:
Progress sending module 421, the copy progress for obtaining file, and copy progress is sent to monitoring client.
Preferably, the supervising device of file copy also includes abnormity prompt module, and the abnormity prompt module is used for monitoring client Receive after abnormal information and fileinfo, show and output abnormality information and copy failure fileinfo, to remind user to copy Shellfish is abnormal.
In embodiments of the present invention, in the copy procedure of file, the copy progress of file is obtained, and by the copy progress Monitoring client is sent to, so that user can inquire the copy progress of file at any time in monitoring client.
In embodiments of the present invention, it is attached before file copy with default monitoring client, will in copy procedure Copy progress is sent to monitoring client, when copy occurs abnormal, and abnormal information and copy failure fileinfo are sent into monitoring End, and after the instruction that copy continues is received, individually the file of copy failure is copied again, it is achieved thereby that in prison Control end is monitored to file copy, is easy to user to recognize the situation of file copy whenever and wherever possible, is known copied in time Cheng Fasheng is abnormal, and directly the file of copy failure can be copied again, without copying All Files again, effectively carries The high Consumer's Experience of file copy, the spent time is copied again when reducing exception.
In embodiments of the present invention, a kind of each module of the supervising device of file copy can be by corresponding hardware or software mould Block realizes that each module can be independent soft and hardware module, a soft and hardware module can also be integrated into, herein not to limit The system present invention.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.

Claims (10)

1. a kind of monitoring method of file copy, it is characterised in that methods described comprises the steps:
When receiving copy instruction, it is attached with default monitoring client, and obtain file to be copied;
The file is copied, when detecting the file copy exception, abnormal information and copy failure file is obtained Information, the monitoring client is sent to by the abnormal information and copy failure fileinfo.
2. the method as described in claim 1, it is characterised in that be sent to the abnormal information and copy failure fileinfo After the step of monitoring client, methods described also includes:
The monitoring client is received after the abnormal information and fileinfo, is shown and is exported the abnormal information and copy failure Fileinfo, to remind user that copy is abnormal, the abnormal information includes Exception Type and abnormal cause, the copy failure text Part information includes the file name and file store path of copy failure file in the file.
3. method as claimed in claim 2, it is characterised in that methods described also includes:
When receiving copy continuation instruction, check whether the abnormal cause solves;
When it is determined that the abnormal cause has been solved, according to the copy failure fileinfo, continue to copy the file.
4. the method as described in claim 1, it is characterised in that the step of being copied to the file, including:
The copy progress of the file is obtained, and the copy progress is sent to the monitoring client.
5. the method as described in claim 1, it is characterised in that methods described also includes:
When detecting the file copy completion, the message that the copy is completed is sent to the monitoring client, to remind User's copy is stated to terminate.
6. a kind of supervising device of file copy, it is characterised in that described device includes:
Link block is monitored, for when receiving copy instruction, being attached with default monitoring client, and obtain to be copied File;And
Abnormal monitoring module, for being copied to the file, when detecting the file copy exception, obtains abnormal letter Breath and copy failure fileinfo, the monitoring client is sent to by the abnormal information and copy failure fileinfo.
7. device as claimed in claim 6, it is characterised in that described device also includes:
Abnormity prompt module, is received after the abnormal information and fileinfo for the monitoring client, is shown and is exported described Abnormal information and copy failure fileinfo, to remind user that copy is abnormal, the abnormal information includes Exception Type and exception Reason, the copy failure fileinfo includes the file name and file store path of copy failure file in the file.
8. device as claimed in claim 7, it is characterised in that described device also includes:
It is abnormal to solve determining module, for when receiving copy continuation instruction, checking whether the abnormal cause solves;And
Module is copied again, for when it is determined that the abnormal cause has been solved, according to the copy failure fileinfo, continuing Copy the file.
9. device as claimed in claim 6, it is characterised in that the abnormal monitoring module includes:
Progress sending module, the copy progress for obtaining the file, and the copy progress is sent to the monitoring client.
10. device as claimed in claim 6, it is characterised in that described device also includes:
Terminate prompting module, for when detecting the file copy completion, the message that the copy is completed to be sent to institute Monitoring client is stated, to remind user's copy to terminate.
CN201710181666.5A 2017-03-24 2017-03-24 File copy monitoring method and device Pending CN107168855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710181666.5A CN107168855A (en) 2017-03-24 2017-03-24 File copy monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710181666.5A CN107168855A (en) 2017-03-24 2017-03-24 File copy monitoring method and device

Publications (1)

Publication Number Publication Date
CN107168855A true CN107168855A (en) 2017-09-15

Family

ID=59848915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710181666.5A Pending CN107168855A (en) 2017-03-24 2017-03-24 File copy monitoring method and device

Country Status (1)

Country Link
CN (1) CN107168855A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035833A (en) * 2020-08-21 2020-12-04 郑州信大捷安信息技术股份有限公司 File copy monitoring method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148841A (en) * 2010-02-05 2011-08-10 中国长城计算机深圳股份有限公司 Method for remotely monitoring multiple operating systems
US20130247189A1 (en) * 2008-06-27 2013-09-19 Lokesh Kumar System, method, and computer program product for reacting in response to a detection of an attempt to store a configuration file and an executable file on a removable device
CN103810076A (en) * 2012-11-15 2014-05-21 国家电网公司 Monitoring method and device for data reproduction
CN105759700A (en) * 2015-12-30 2016-07-13 中华电信股份有限公司 Mobile Energy Monitoring and Management System
CN106339277A (en) * 2016-08-18 2017-01-18 惠州Tcl移动通信有限公司 Method and system for realizing file breakpoint copying
CN106502808A (en) * 2016-10-28 2017-03-15 广东欧珀移动通信有限公司 A kind of method of copied files, device and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130247189A1 (en) * 2008-06-27 2013-09-19 Lokesh Kumar System, method, and computer program product for reacting in response to a detection of an attempt to store a configuration file and an executable file on a removable device
CN102148841A (en) * 2010-02-05 2011-08-10 中国长城计算机深圳股份有限公司 Method for remotely monitoring multiple operating systems
CN103810076A (en) * 2012-11-15 2014-05-21 国家电网公司 Monitoring method and device for data reproduction
CN105759700A (en) * 2015-12-30 2016-07-13 中华电信股份有限公司 Mobile Energy Monitoring and Management System
CN106339277A (en) * 2016-08-18 2017-01-18 惠州Tcl移动通信有限公司 Method and system for realizing file breakpoint copying
CN106502808A (en) * 2016-10-28 2017-03-15 广东欧珀移动通信有限公司 A kind of method of copied files, device and terminal

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ZZH_MY: "《文件复制软件评测:FastCopy、TeraCopy、ExtremeCopy、Supercopier》", 《HTTPS://BLOG.CSDN.NET/ZZH_MY/ARTICLE/DETAILS/47337675》 *
夏换: "《以数据为中心的智慧城市行业解决方案集锦》", 31 December 2016 *
宇智波鼬O天照O: "teracopy", 《HTTPS://BAIKE.BAIDU.COM/HISTORY/TERACOPY/3963068/107192582》 *
辽宁省通信学会: "《通信网络与信息技术 2016》", 31 August 2016 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035833A (en) * 2020-08-21 2020-12-04 郑州信大捷安信息技术股份有限公司 File copy monitoring method and system
CN112035833B (en) * 2020-08-21 2022-02-11 郑州信大捷安信息技术股份有限公司 File copy monitoring method and system

Similar Documents

Publication Publication Date Title
CN106708734B (en) Software anomaly detection method and device
CN110581852A (en) Efficient mimicry defense system and method
CN108872762B (en) Electronic equipment leakage detection method and device, electronic equipment and storage medium
CN107247647B (en) BBU working state detection method and system in memory system
CN104866418A (en) Automatic testing method and system
CN109597719A (en) A kind of monitoring method of multiple nucleus system, system, device and readable storage medium storing program for executing
EP3209005B1 (en) Task processing device, intelligent apparatus, task processing method and baseband processor
EP3128789B1 (en) Method, device and mobile terminal for reducing power consumption
CN104065526A (en) Server fault alarming method and device thereof
CN105739668A (en) Power management method and power management system of notebook computers
CN109308242A (en) A kind of dynamic monitoring and controlling method, device, equipment and storage medium
CN110370288B (en) Robot safety control method, device, equipment and storage medium
WO2020078355A1 (en) Device state monitoring method and apparatus
CN107168855A (en) File copy monitoring method and device
CN111918236B (en) Internet of things security sensor network searching method, device, equipment and storage medium
US20100077188A1 (en) Emergency file protection system for electronic devices
WO2021012741A1 (en) Abnormal front-end operation reminder method based on experience library and related device
CN105100125A (en) Sleep control method, sleep control device and sleep control system for virtual desktop
JP2004112271A (en) Remote monitoring system
CN112214094B (en) Method and equipment for coping with power supply jitter of hard disk
CN105320615B (en) Data storage method and data storage device
CN113849350A (en) Ring-shaped two-place three-center topology switching method, device, system and medium
CN112463744A (en) Distributed file storage method and device, electronic equipment and storage medium
CN114802665B (en) Acoustic release control method, acoustic release control device, releaser and computer storage medium
CN115460052B (en) Remote instruction processing method, device, computer equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170915