CN110135128A - A kind of document handling method and device - Google Patents

A kind of document handling method and device Download PDF

Info

Publication number
CN110135128A
CN110135128A CN201910431493.7A CN201910431493A CN110135128A CN 110135128 A CN110135128 A CN 110135128A CN 201910431493 A CN201910431493 A CN 201910431493A CN 110135128 A CN110135128 A CN 110135128A
Authority
CN
China
Prior art keywords
file
outgoing
processed
sent
information
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
CN201910431493.7A
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.)
Beijing Wondersoft Technology Co Ltd
Original Assignee
Beijing Wondersoft 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 Beijing Wondersoft Technology Co Ltd filed Critical Beijing Wondersoft Technology Co Ltd
Priority to CN201910431493.7A priority Critical patent/CN110135128A/en
Publication of CN110135128A publication Critical patent/CN110135128A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention provides a kind of document handling method and device, this document processing method includes: the file outgoing request for obtaining file to be sent, and the file destination information of file to be sent is carried in the file outgoing request;The file outgoing request is parsed, the file destination information carried in the file outgoing request is obtained;In scanning result according to the pre-stored data, the corresponding relationship of the file information and file outgoing control information determines the corresponding file destination outgoing control information of the file destination information;Information is controlled according to the file destination outgoing, the file to be sent is performed corresponding processing.The document handling method provided through the embodiment of the present invention can be improved the efficiency of response file outgoing request, and then improve user experience.

Description

A kind of document handling method and device
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of document handling method and device.
Background technique
With the continuous development of society, more and more enterprises need constantly to carry out with the enterprise of other upstream and downstream and cooperate, Preferably to be developed, therefore, the staff of enterprise is many times requiring to carry out with the staff of other enterprises Information communication, to carry out normal business contact etc..
The business carried out along with enterprise is more and more, and the file of many enterprises storages is also more diversified and multiple It is miscellaneous.Many files are secret, such as business secret by business sign;And some Documents Comparisons are important, can only be sent to specific visitor Family.This, which makes enterprise be monitored scanning to the file of outgoing, becomes particularly important, with prevent due to vital document is leaked to Enterprise brings loss.
However, the prior art is when being monitored outgoing document, usually to will the file of outgoing be scanned, with Judge whether the standard for meeting outgoing.Once the file of outgoing needs to be badly in need of to send, it is also necessary to scanning result ability outgoing is waited, Obviously current existing file monitor mode inefficiency.
Summary of the invention
In order to solve the above technical problems, invention shows a kind of document handling method and devices.
In a first aspect, invention shows a kind of document handling methods, which comprises
The file outgoing request of file to be sent is obtained, the target of file to be sent is carried in the file outgoing request The file information;
The file outgoing request is parsed, the file destination information carried in the file outgoing request is obtained;
In scanning result according to the pre-stored data, the corresponding relationship of the file information and file outgoing control information determines institute State the corresponding file destination outgoing control information of file destination information;
Information is controlled according to the file destination outgoing, the file to be sent is performed corresponding processing.
Preferably, before the file outgoing request for obtaining file to be sent, the method also includes:
Obtain keyword rule library;
File to be processed is scanned according to the keyword rule library, obtains the scanning knot of the file to be processed Fruit, and obtained scanning result is stored, the scanning result includes: the file information and file outgoing of the file to be processed The corresponding relationship of information is controlled, the file to be processed includes the file to be sent.
Preferably, file to be processed is scanned according to the keyword rule library described, is obtained described to be processed After the scanning result of file, the method also includes:
It monitors in the file to be processed with the presence or absence of the file to change;
If there is the file to change in the file to be processed, the file to change described in scanning, and update The scanning result of the file to be processed.
Preferably, the keyword rule library includes keyword;
It is described that file to be processed is scanned according to the keyword rule library, obtain the scanning of the file to be processed As a result, comprising:
File comprising the keyword is determined as file to be processed;
The file to be processed is scanned, the file information and file outgoing control letter of the file to be processed are obtained Breath;
By the file information of the file to be processed and the corresponding storage of file outgoing control information, the text to be processed is obtained The scanning result of part.
Preferably, the file outgoing controls information are as follows: outgoing or forbids outgoing after outgoing, encryption;
It is described that information is controlled according to the file destination outgoing, the file to be sent is performed corresponding processing, comprising:
When file destination outgoing control information is outgoing, the file to be sent is externally sent;
Alternatively, adding in outgoing after file destination outgoing control information is encryption to the file to be sent It is close, encryption file to be sent is obtained, and externally send the encryption file to be sent;
Alternatively, not sending the file to be sent externally when file destination outgoing control information is to forbid outgoing.
Preferably, after obtaining keyword rule library, the method also includes:
Monitor whether the keyword in the keyword rule library needs to update;
If the keyword in the keyword rule library needs to update, the keyword rule library is updated.
Second aspect, invention shows a kind of document handling apparatus, described device includes:
Outgoing request obtains module, for obtaining the file outgoing request of file to be sent, in the file outgoing request Carry the file destination information of file to be sent;
Outgoing request parsing module obtains carrying in the file outgoing request for parsing the file outgoing request File destination information;
Information determination module is controlled, in scanning result according to the pre-stored data, the file information and file outgoing to be controlled The corresponding relationship of information determines the corresponding file destination outgoing control information of the file destination information;
Document processing module carries out phase to the file to be sent for controlling information according to the file destination outgoing The processing answered.
Preferably, described device further include:
Rule base obtains module, for obtaining the file outgoing request that module obtains file to be sent in the outgoing request Before, keyword rule library is obtained;
File scan module, for being scanned according to the keyword rule library to file to be processed, obtain it is described to The scanning result of file is handled, and stores obtained scanning result, the scanning result includes: the text of the file to be processed The corresponding relationship of part information and file outgoing control information, the file to be processed include the file to be sent.
Preferably, described device further include:
File monitor module, for the file scan module according to the keyword rule library to file to be processed into Row scanning, after obtaining the scanning result of the file to be processed, monitoring, which whether there is in the file to be processed, changes File;
Scanning result update module becomes if existed for the file monitor module monitors into file to be processed Dynamic file, the file to change described in scanning, and update the scanning result of the file to be processed.
Preferably, the keyword rule library includes keyword;
The file scan module, is specifically used for:
File comprising the keyword is determined as file to be processed;
The file to be processed is scanned, the file information and file outgoing control letter of the file to be processed are obtained Breath;
By the file information of the file to be processed and the corresponding storage of file outgoing control information, the text to be processed is obtained The scanning result of part.
Preferably, the file outgoing controls information are as follows: outgoing or forbids outgoing after outgoing, encryption;
The document processing module, is specifically used for:
When file destination outgoing control information is outgoing, the file to be sent is externally sent;
Alternatively, adding in outgoing after file destination outgoing control information is encryption to the file to be sent It is close, encryption file to be sent is obtained, and externally send the encryption file to be sent;
Alternatively, not sending the file to be sent externally when file destination outgoing control information is to forbid outgoing.
Preferably, described device further include:
Keyword monitoring modular, for monitoring the pass in the keyword rule library after obtaining keyword rule library Whether key word, which needs, updates;
Rule base update module updates the pass if the keyword in the keyword rule library needs to update Key word rule base.
The third aspect, invention shows a kind of electronic equipment, including memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, which is characterized in that the processor realizes first aspect when executing described program The step of described document handling method.
Fourth aspect, invention shows a kind of computer readable storage medium, on the computer readable storage medium It is stored with computer program, document handling method described in first aspect is realized when the computer program is executed by processor Step.
Compared with prior art, the present invention includes the following advantages:
Document handling method and device provided in an embodiment of the present invention, this document processing method include: to obtain text to be sent The file outgoing request of part carries the file destination information of file to be sent in this document outgoing request;Resolution file outgoing Request, obtains the file destination information carried in file outgoing request;In scanning result according to the pre-stored data, the file information and File outgoing controls the corresponding relationship of information, determines the corresponding file destination outgoing control information of file destination information;According to mesh It marks file outgoing and controls information, file to be sent is performed corresponding processing.As it can be seen that the file provided through the embodiment of the present invention Processing method can directly acquire outside file destination after getting file outgoing request from pre-stored scanning result Hair control information, and be scanned without treating transmission file, so as to improve the efficiency of response file outgoing request, in turn Improve user experience.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of document handling method provided by the embodiment of the present invention;
Fig. 2 is the step flow chart of another kind document handling method provided by the embodiment of the present invention;
Fig. 3 is a kind of structural block diagram of document handling apparatus provided by the embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
In order to solve the technical issues of background technique is recorded, the embodiment of the invention provides a kind of document handling method and dresses It sets.
Document handling method provided by the present invention is illustrated first below.
It should be noted that the executing subject of data monitoring method provided by the present invention is electronic equipment, which is set Standby can be mobile phone, plate and computer etc., and the embodiment of the present invention is not specifically limited electronic equipment.
Embodiment one
Referring to Fig.1, a kind of step flow chart of document handling method of the invention is shown, can specifically include following step It is rapid:
S110 obtains the file outgoing request of file to be sent, the mesh of file to be sent is carried in file outgoing request Mark the file information.
Wherein, file to be sent can be any file in electronic equipment;The file destination information of file to be sent can To be the file path of file to be sent, the summary info of file to be sent, alternatively, the keyword message etc. of file to be sent. The embodiment of the present invention is not specifically limited the file destination information of file to be sent.
User can execute the operation of outgoing file to be sent when needing to be sent out file to be sent, at this point, electronics The available file outgoing request to file to be sent of equipment.For example, user can click the button of outgoing file to be sent, To the available file outgoing request to file to be sent of electronic equipment.
S120, resolution file outgoing request obtain the file destination information carried in file outgoing request.
In order to enable can accurately determine the file outgoing control information of file to be sent, electronic equipment in subsequent step It can parse the file outgoing request of file to be sent, to obtain the file destination information carried in file outgoing request, the mesh Mark the file information can be the file path of file to be sent, the summary info of file to be sent, alternatively, the pass of file to be sent Key word information etc..
S130, in scanning result according to the pre-stored data, the corresponding relationship of the file information and file outgoing control information, really The corresponding file destination outgoing of the file information that sets the goal controls information.
It should be noted that electronic equipment is before receiving file outgoing request, to may be to outgoing in electronic equipment The outgoing document sent is scanned, and obtains the file information and file outgoing control information of scanning file, and by each scanning Information is corresponding stores for the control of the file information of file and file outgoing, as scanning result.For example, electronic equipment can benefit With network idle time, the outgoing document that may be sent out is scanned in advance.
Wherein, file outgoing control information can be with are as follows: outgoing, outgoing after encryption, alternatively, forbidding outgoing.When file outgoing When control information is outgoing, illustrate to allow file outgoing;After file outgoing control information is encryption when outgoing, supporting paper adds After close, can just it be sent out;When file outgoing control information is to forbid outgoing, illustrate not allow file outgoing.
After the file destination information that electronic equipment carries in obtaining file outgoing request, according to the pre-stored data it can sweep It retouches in result, the corresponding relationship of the file information and file outgoing control information determines the corresponding file destination of file destination information Outgoing controls information.It is understood that file destination outgoing control information can be outgoing, outgoing after encryption, alternatively, forbidding Outgoing.
S140 controls information according to file destination outgoing, performs corresponding processing to file to be sent.
Seen from the above description, file destination outgoing control information can be with are as follows: outgoing or forbids outer after outgoing, encryption Hair.
In the first embodiment, when file destination outgoing control information is outgoing, according to file destination outgoing control Information processed performs corresponding processing file to be sent, may include steps of:
Externally send file to be sent.
In this embodiment, since file destination outgoing control information is outgoing, illustrate to allow file to be sent outside It sends, therefore, electronic equipment externally sends file to be sent.
In the second embodiment, in outgoing after file destination outgoing control information is encryption, according to file destination Outgoing controls information, performs corresponding processing, may include steps of to file to be sent:
File to be sent is encrypted, encryption file to be sent is obtained, and externally sends encryption file to be sent.
In this embodiment, since file destination outgoing control information is outgoing after encrypting, illustrate to need to be sent After file encryption, then it is sent out.Therefore, electronic equipment encrypts file to be sent, obtains encryption file to be sent, and Externally send encryption file to be sent.
Wherein, electronic equipment can be used preset password and encrypt to file to be sent.Alternatively, electronic equipment It can be sent out encryption prompt, user inputs password after viewing encryption prompt, in this way, electronic equipment utilizes user's input Password encrypts file to be sent.
In the third embodiment, when file destination outgoing control information is to forbid outgoing, according to outside file destination Hair control information, performs corresponding processing file to be sent, may include steps of:
File to be sent is not sent externally.
In this embodiment, since file destination outgoing control information is to forbid outgoing, illustrate not allow to be sent out File to be sent, therefore, electronic equipment do not send file to be sent externally.
Document handling method and device provided in an embodiment of the present invention, this document processing method include: to obtain text to be sent The file outgoing request of part carries the file destination information of file to be sent in this document outgoing request;Resolution file outgoing Request, obtains the file destination information carried in file outgoing request;In scanning result according to the pre-stored data, the file information and File outgoing controls the corresponding relationship of information, determines the corresponding file destination outgoing control information of file destination information;According to mesh It marks file outgoing and controls information, file to be sent is performed corresponding processing.As it can be seen that the file provided through the embodiment of the present invention Processing method can directly acquire outside file destination after getting file outgoing request from pre-stored scanning result Hair control information, and be scanned without treating transmission file, so as to improve the efficiency of response file outgoing request, in turn Improve user experience.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of document handling method of the invention is shown, can specifically include following step It is rapid:
S210 obtains keyword rule library.
In order to which pointedly the critical file in scanning electron equipment, electronic equipment can obtain keyword in subsequent step Rule base, wherein the keyword rule library can be administrative staff's setting of electronic equipment, can be in the keyword rule library Comprising multiple keywords, for example, it may be top-secret, the administrative staff such as secret want any keyword of setting, and the present invention is implemented The content in keyword rule library is not specifically limited in example.
For real-time update keyword rule library, in one embodiment, after obtaining keyword rule library, this article Part processing method can also include:
Whether the keyword in monitoring keyword rule library needs to update;
If the keyword in keyword rule library needs to update, trasaction key rule base.
In practical applications, since business variation etc. needs, it may be necessary to trasaction key rule base.For example, it is desired to In keyword rule library, keyword is added;Alternatively, deleting keyword.For real-time update keyword rule library, electronic equipment can Whether need to update with the keyword in real-time monitoring keyword rule library, if the keyword in keyword rule library needs more Newly, electronic equipment trasaction key rule base.Wherein, the process of electronic equipment trasaction key rule base may is that from key Keyword is deleted in word rule base, alternatively, adding keyword into keyword rule library.
S220 is scanned file to be processed according to keyword rule library, obtains the scanning result of file to be processed, and Obtained scanning result is stored, scanning result includes: the file information of file to be processed and pair of file outgoing control information It should be related to, file to be processed includes file to be sent.
As a kind of implementation of the embodiment of the present invention, file to be processed is scanned according to keyword rule library, The scanning result of file to be processed is obtained, may include:
File comprising keyword is determined as file to be processed;
File to be processed is scanned, the file information and file outgoing control information of file to be processed are obtained;
By the file information of file to be processed and the corresponding storage of file outgoing control information, the scanning of file to be processed is obtained As a result.
In this implementation, the filename or file content of file in electronic equipment can be determined, if including closing Keyword in key word rule base, if in the filename or file content of a file including the pass in keyword rule library Key word, then this document is determined as file to be processed;And file to be processed is scanned, obtain the file of file to be processed Information and file outgoing control information;The file information of file to be processed and file outgoing control information correspondence are stored, Obtain the scanning result of file to be processed.
Also, for real-time update scanning result, and the accuracy of file process is improved, in one embodiment, File to be processed is scanned according to keyword rule library, after obtaining the scanning result of file to be processed, the present invention is implemented Example provided by document handling method can also include:
It monitors in file to be processed with the presence or absence of the file to change;
If there is the file to change in file to be processed, the file to change is scanned, and update text to be processed The scanning result of part.
It is understood that illustrating that the file information of file to be processed has sent change if file to be processed changes Change, for example, the routing information of file to be processed, summary info or key word information may change, in order to guarantee to scan As a result the accuracy of the corresponding relationship of middle the file information and file outgoing control information, electronic equipment can monitor in real time to be processed With the presence or absence of the file to change in file, if there is the file for sending and changing in file to be processed, scanning changes File, and update the scanning result of file to be processed.
S230 obtains the file outgoing request of file to be sent, the mesh of file to be sent is carried in file outgoing request Mark the file information.
The step is referred to the detailed description of step 110, and details are not described herein.
S240, resolution file outgoing request obtain the file destination information carried in file outgoing request.
The step is referred to the detailed description of step 120, and details are not described herein.
S250, in scanning result according to the pre-stored data, the corresponding relationship of the file information and file outgoing control information, really The corresponding file destination outgoing of the file information that sets the goal controls information.
The step is referred to the detailed description of step 130, and details are not described herein.
S260 controls information according to file destination outgoing, performs corresponding processing to file to be sent.
The step is referred to the detailed description of step 140, and details are not described herein.
Document handling method and device provided in an embodiment of the present invention, this document processing method include: to obtain text to be sent The file outgoing request of part carries the file destination information of file to be sent in this document outgoing request;Resolution file outgoing Request, obtains the file destination information carried in file outgoing request;In scanning result according to the pre-stored data, the file information and File outgoing controls the corresponding relationship of information, determines the corresponding file destination outgoing control information of file destination information;According to mesh It marks file outgoing and controls information, file to be sent is performed corresponding processing.As it can be seen that the file provided through the embodiment of the present invention Processing method can directly acquire outside file destination after getting file outgoing request from pre-stored scanning result Hair control information, and be scanned without treating transmission file, so as to improve the efficiency of response file outgoing request, in turn Improve user experience.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because according to this hair Bright, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that, specification Described in embodiment belong to alternative embodiment, related movement is not necessarily essential to the invention.
Embodiment three
Referring to Fig. 3, show a kind of structural block diagram of document handling apparatus of the invention, the device can specifically include as Lower module:
Outgoing request obtains module 310, for obtaining the file outgoing request of file to be sent, the file outgoing request In carry the file destination information of file to be sent;
Outgoing request parsing module 320 obtains taking in the file outgoing request for parsing the file outgoing request The file destination information of band;
Information determination module 330 is controlled, is used in scanning result according to the pre-stored data, the file information and file outgoing control The corresponding relationship of information processed determines the corresponding file destination outgoing control information of the file destination information;
Document processing module 340 carries out the file to be sent for controlling information according to the file destination outgoing Corresponding processing.
Document handling method and device provided in an embodiment of the present invention, this document processing method include: to obtain text to be sent The file outgoing request of part carries the file destination information of file to be sent in this document outgoing request;Resolution file outgoing Request, obtains the file destination information carried in file outgoing request;In scanning result according to the pre-stored data, the file information and File outgoing controls the corresponding relationship of information, determines the corresponding file destination outgoing control information of file destination information;According to mesh It marks file outgoing and controls information, file to be sent is performed corresponding processing.As it can be seen that the file provided through the embodiment of the present invention Processing method can directly acquire outside file destination after getting file outgoing request from pre-stored scanning result Hair control information, and be scanned without treating transmission file, so as to improve the efficiency of response file outgoing request, in turn Improve user experience.
Preferably, described device further include:
Rule base obtains module, for obtaining the file outgoing request that module obtains file to be sent in the outgoing request Before, keyword rule library is obtained;
File scan module, for being scanned according to the keyword rule library to file to be processed, obtain it is described to The scanning result of file is handled, and stores obtained scanning result, the scanning result includes: the text of the file to be processed The corresponding relationship of part information and file outgoing control information, the file to be processed include the file to be sent.
Preferably, described device further include:
File monitor module, for the file scan module according to the keyword rule library to file to be processed into Row scanning, after obtaining the scanning result of the file to be processed, monitoring, which whether there is in the file to be processed, changes File;
Scanning result update module becomes if existed for the file monitor module monitors into file to be processed Dynamic file, the file to change described in scanning, and update the scanning result of the file to be processed.
Preferably, the keyword rule library includes keyword;
The file scan module, is specifically used for:
File comprising the keyword is determined as file to be processed;
The file to be processed is scanned, the file information and file outgoing control letter of the file to be processed are obtained Breath;
By the file information of the file to be processed and the corresponding storage of file outgoing control information, the text to be processed is obtained The scanning result of part.
Preferably, the file outgoing controls information are as follows: outgoing or forbids outgoing after outgoing, encryption;
The document processing module, is specifically used for:
When file destination outgoing control information is outgoing, the file to be sent is externally sent;
Alternatively, adding in outgoing after file destination outgoing control information is encryption to the file to be sent It is close, encryption file to be sent is obtained, and externally send the encryption file to be sent;
Alternatively, not sending the file to be sent externally when file destination outgoing control information is to forbid outgoing.
Preferably, described device further include:
Keyword monitoring modular, for monitoring the pass in the keyword rule library after obtaining keyword rule library Whether key word, which needs, updates;
Rule base update module updates the pass if the keyword in the keyword rule library needs to update Key word rule base.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Preferably, the embodiment of the invention also provides a kind of electronic equipment, including memory, processor and it is stored in storage On device and the computer program that can run on a processor, which is characterized in that the processor is realized when executing described program The step of document handling method described in the embodiment of face.
Document handling method and device provided in an embodiment of the present invention, this document processing method include: to obtain text to be sent The file outgoing request of part carries the file destination information of file to be sent in this document outgoing request;Resolution file outgoing Request, obtains the file destination information carried in file outgoing request;In scanning result according to the pre-stored data, the file information and File outgoing controls the corresponding relationship of information, determines the corresponding file destination outgoing control information of file destination information;According to mesh It marks file outgoing and controls information, file to be sent is performed corresponding processing.As it can be seen that the file provided through the embodiment of the present invention Processing method can directly acquire outside file destination after getting file outgoing request from pre-stored scanning result Hair control information, and be scanned without treating transmission file, so as to improve the efficiency of response file outgoing request, in turn Improve user experience.
Preferably, the embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storages It is stored with computer program on medium, is realized at file described in above example when the computer program is executed by processor The step of reason method.
Document handling method and device provided in an embodiment of the present invention, this document processing method include: to obtain text to be sent The file outgoing request of part carries the file destination information of file to be sent in this document outgoing request;Resolution file outgoing Request, obtains the file destination information carried in file outgoing request;In scanning result according to the pre-stored data, the file information and File outgoing controls the corresponding relationship of information, determines the corresponding file destination outgoing control information of file destination information;According to mesh It marks file outgoing and controls information, file to be sent is performed corresponding processing.As it can be seen that the file provided through the embodiment of the present invention Processing method can directly acquire outside file destination after getting file outgoing request from pre-stored scanning result Hair control information, and be scanned without treating transmission file, so as to improve the efficiency of response file outgoing request, in turn Improve user experience.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, apparatus or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the present invention, the flow chart of terminal device (system) and computer program product And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminal devices with A machine is generated, so that generating by the instruction that computer or the processor of other programmable data processing terminal devices execute For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram Device.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of document handling method provided by the present invention and a kind of document handling apparatus, detailed Jie has been carried out It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (14)

1. a kind of document handling method, which is characterized in that the described method includes:
The file outgoing request of file to be sent is obtained, the file destination of file to be sent is carried in the file outgoing request Information;
The file outgoing request is parsed, the file destination information carried in the file outgoing request is obtained;
In scanning result according to the pre-stored data, the corresponding relationship of the file information and file outgoing control information determines the mesh It marks the corresponding file destination outgoing of the file information and controls information;
Information is controlled according to the file destination outgoing, the file to be sent is performed corresponding processing.
2. the method according to claim 1, wherein the file outgoing request for obtaining file to be sent it Before, the method also includes:
Obtain keyword rule library;
File to be processed is scanned according to the keyword rule library, obtains the scanning result of the file to be processed, and Obtained scanning result is stored, the scanning result includes: the file information and the control of file outgoing of the file to be processed The corresponding relationship of information, the file to be processed include the file to be sent.
3. according to the method described in claim 2, it is characterized in that, it is described according to the keyword rule library to text to be processed Part is scanned, after obtaining the scanning result of the file to be processed, the method also includes:
It monitors in the file to be processed with the presence or absence of the file to change;
If there is the file to change in the file to be processed, the file to change described in scanning, and described in update The scanning result of file to be processed.
4. according to the method described in claim 2, it is characterized in that, the keyword rule library includes keyword;
It is described that file to be processed is scanned according to the keyword rule library, obtain the scanning knot of the file to be processed Fruit, comprising:
File comprising the keyword is determined as file to be processed;
The file to be processed is scanned, the file information and file outgoing control information of the file to be processed are obtained;
By the file information of the file to be processed and the corresponding storage of file outgoing control information, the file to be processed is obtained Scanning result.
5. method according to any one of claims 1 to 4, which is characterized in that the file outgoing controls information are as follows: outgoing, Outgoing or forbid outgoing after encryption;
It is described that information is controlled according to the file destination outgoing, the file to be sent is performed corresponding processing, comprising:
When file destination outgoing control information is outgoing, the file to be sent is externally sent;
Alternatively, encrypting, obtaining to the file to be sent in outgoing after file destination outgoing control information is encryption To encryption file to be sent, and externally send the encryption file to be sent;
Alternatively, not sending the file to be sent externally when file destination outgoing control information is to forbid outgoing.
6. according to the method described in claim 2, it is characterized in that, the method is also wrapped after obtaining keyword rule library It includes:
Monitor whether the keyword in the keyword rule library needs to update;
If the keyword in the keyword rule library needs to update, the keyword rule library is updated.
7. a kind of document handling apparatus, which is characterized in that described device includes:
Outgoing request obtains module and carries in the file outgoing request for obtaining the file outgoing request of file to be sent There is the file destination information of file to be sent;
Outgoing request parsing module obtains the mesh carried in the file outgoing request for parsing the file outgoing request Mark the file information;
Information determination module is controlled, in scanning result according to the pre-stored data, the file information and file outgoing to control information Corresponding relationship, determine the file destination information corresponding file destination outgoing control information;
Document processing module carries out the file to be sent corresponding for controlling information according to the file destination outgoing Processing.
8. device according to claim 7, which is characterized in that described device further include:
Rule base obtain module, for the outgoing request obtain module obtain file to be sent file outgoing request it Before, obtain keyword rule library;
File scan module obtains described to be processed for being scanned according to the keyword rule library to file to be processed The scanning result of file, and obtained scanning result is stored, the scanning result includes: the file letter of the file to be processed The corresponding relationship of breath and file outgoing control information, the file to be processed include the file to be sent.
9. device according to claim 8, which is characterized in that described device further include:
File monitor module, for being swept according to the keyword rule library to file to be processed in the file scan module It retouches, after obtaining the scanning result of the file to be processed, monitors in the file to be processed with the presence or absence of the text to change Part;
Scanning result update module changes if existed for the file monitor module monitors into file to be processed File, the file to change described in scanning, and update the scanning result of the file to be processed.
10. device according to claim 8, which is characterized in that the keyword rule library includes keyword;
The file scan module, is specifically used for:
File comprising the keyword is determined as file to be processed;
The file to be processed is scanned, the file information and file outgoing control information of the file to be processed are obtained;
By the file information of the file to be processed and the corresponding storage of file outgoing control information, the file to be processed is obtained Scanning result.
11. according to any device of claim 7~10, which is characterized in that the file outgoing controls information are as follows: outer Outgoing or forbid outgoing after hair, encryption;
The document processing module, is specifically used for:
When file destination outgoing control information is outgoing, the file to be sent is externally sent;
Alternatively, encrypting, obtaining to the file to be sent in outgoing after file destination outgoing control information is encryption To encryption file to be sent, and externally send the encryption file to be sent;
Alternatively, not sending the file to be sent externally when file destination outgoing control information is to forbid outgoing.
12. device according to claim 8, which is characterized in that described device further include:
Keyword monitoring modular, for monitoring the keyword in the keyword rule library after obtaining keyword rule library Whether need to update;
Rule base update module updates the keyword if the keyword in the keyword rule library needs to update Rule base.
13. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor realizes such as text described in any one of claims 1 to 6 when executing described program The step of part processing method.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes such as document handling method described in any one of claims 1 to 6 when the computer program is executed by processor The step of.
CN201910431493.7A 2019-05-22 2019-05-22 A kind of document handling method and device Pending CN110135128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910431493.7A CN110135128A (en) 2019-05-22 2019-05-22 A kind of document handling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910431493.7A CN110135128A (en) 2019-05-22 2019-05-22 A kind of document handling method and device

Publications (1)

Publication Number Publication Date
CN110135128A true CN110135128A (en) 2019-08-16

Family

ID=67572434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910431493.7A Pending CN110135128A (en) 2019-05-22 2019-05-22 A kind of document handling method and device

Country Status (1)

Country Link
CN (1) CN110135128A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090623A (en) * 2019-12-05 2020-05-01 深信服科技股份有限公司 Data auditing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968600A (en) * 2012-10-30 2013-03-13 国网电力科学研究院 Full life-cycle management method for sensitive data file based on fingerprint information implantation
CN104506545A (en) * 2014-12-30 2015-04-08 北京奇虎科技有限公司 Data leakage prevention method and data leakage prevention device
CN106446707A (en) * 2016-08-31 2017-02-22 北京明朝万达科技股份有限公司 Dynamic data leakage prevention system and method
CN108052833A (en) * 2017-12-11 2018-05-18 北京明朝万达科技股份有限公司 A kind of executable file anti-data-leakage scan method, system and gateway
CN108108633A (en) * 2017-12-20 2018-06-01 中国科学院深圳先进技术研究院 A kind of data file and its access method, device and equipment
CN109254868A (en) * 2018-08-29 2019-01-22 新华三信息安全技术有限公司 A kind of file test method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968600A (en) * 2012-10-30 2013-03-13 国网电力科学研究院 Full life-cycle management method for sensitive data file based on fingerprint information implantation
CN104506545A (en) * 2014-12-30 2015-04-08 北京奇虎科技有限公司 Data leakage prevention method and data leakage prevention device
CN106446707A (en) * 2016-08-31 2017-02-22 北京明朝万达科技股份有限公司 Dynamic data leakage prevention system and method
CN108052833A (en) * 2017-12-11 2018-05-18 北京明朝万达科技股份有限公司 A kind of executable file anti-data-leakage scan method, system and gateway
CN108108633A (en) * 2017-12-20 2018-06-01 中国科学院深圳先进技术研究院 A kind of data file and its access method, device and equipment
CN109254868A (en) * 2018-08-29 2019-01-22 新华三信息安全技术有限公司 A kind of file test method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090623A (en) * 2019-12-05 2020-05-01 深信服科技股份有限公司 Data auditing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107249004B (en) Identity authentication method, device and client
CN107888656B (en) Calling method and calling device of server-side interface
CN107920081B (en) Login authentication method and device
CN109743161B (en) Information encryption method, electronic device and computer readable medium
CN112055004A (en) Data processing method and system based on small program
CN113553572B (en) Resource information acquisition method, device, computer equipment and storage medium
KR101979267B1 (en) Encryption systems based on cloud storage and method thereof
CN115146285A (en) File encryption and decryption method and device
US11321471B2 (en) Encrypted storage of data
CN108418679B (en) Method and device for processing secret key under multiple data centers and electronic equipment
CN113422679A (en) Key generation method, device and system, encryption method, electronic device and computer-readable storage medium
CN113656713B (en) Network resource processing method, device and system
CN109120576B (en) Data sharing method and device, computer equipment and storage medium
CN110135128A (en) A kind of document handling method and device
CN111767550A (en) Data storage method and device
CN115423556A (en) Third-party page skipping method, device, equipment and storage medium
US11205194B2 (en) Reliable user service system and method
CN113626848A (en) Sample data generation method and device, electronic equipment and computer readable medium
CN114117488A (en) File management method, file uploading method, file decryption method and related equipment
CN113852624A (en) Data cross-network transmission method, device and computer medium thereof
CN113761566A (en) Data processing method and device
CN107357559A (en) The information control method and device of distal end execute server
CN112769565A (en) Method and device for upgrading cryptographic algorithm, computing equipment and medium
CN110765147A (en) Content updating method based on block chain encrypted storage, user node and medium
KR20200131688A (en) Apparatus and method for generating secret key, apparatus and method for genrating evaluation key

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: 20190816