CN111639313B - File transfer method, device, terminal and computer-readable storage medium - Google Patents
File transfer method, device, terminal and computer-readable storage medium Download PDFInfo
- Publication number
- CN111639313B CN111639313B CN202010405175.6A CN202010405175A CN111639313B CN 111639313 B CN111639313 B CN 111639313B CN 202010405175 A CN202010405175 A CN 202010405175A CN 111639313 B CN111639313 B CN 111639313B
- Authority
- CN
- China
- Prior art keywords
- information
- target
- file
- target terminal
- watermark
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/16—Program or content traceability, e.g. by watermarking
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6209—Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
本发明公开了一种文件传输方法,包括:若检测到目标终端基于目标文件触发的传输指令,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息;将携带所述第一水印信息的所述目标文件发送至所述传输指令对应的接收终端。本发明还公开了一种文件传输装置、设备和计算机可读存储介质。本发明在进行目标文件的传输时,生成目标终端对应的水印信息,再将携带有水印信息的目标文件发送出去,若目标文件泄露,则可根据水印信息知晓是从哪里泄露的,实现目标文件的可追溯。
The present invention discloses a file transmission method, comprising: if a target terminal is detected based on a target file-triggered transmission instruction, acquiring target terminal information of the target terminal, and generating the first target file of the target terminal based on the target terminal information Watermark information; sending the target file carrying the first watermark information to a receiving terminal corresponding to the transmission instruction. The invention also discloses a file transmission device, equipment and computer-readable storage medium. When transmitting the target file, the present invention generates watermark information corresponding to the target terminal, and then sends out the target file carrying the watermark information. If the target file is leaked, it can be known from where the leak is based on the watermark information, and the target file is realized. traceable.
Description
技术领域technical field
本发明涉及数据传输技术领域,尤其涉及文件传输方法、装置、终端与计算机可读存储介质。The present invention relates to the technical field of data transmission, in particular to a file transmission method, device, terminal and computer-readable storage medium.
背景技术Background technique
随着信息数字化的快速发展,信息媒体的数字化为信息的存取提供了极大的便利性,同时也显著提高了信息表达的效率和准确性。越来越多的企业使用电子文件,而不再是纸质文件,但随之而来的副作用是这些数字形式的电子文件在流转过程中安全性得不到任何保障,很容易被内部员工泄密出去,并且泄密后很难追究是谁泄露的。With the rapid development of information digitization, the digitization of information media provides great convenience for information access, and also significantly improves the efficiency and accuracy of information expression. More and more enterprises use electronic documents instead of paper documents, but the side effect is that the security of these electronic documents in digital form cannot be guaranteed in the process of circulation, and it is easy to be leaked by internal employees Get out, and it's hard to trace who leaked it after it's leaked.
发明内容Contents of the invention
本发明的主要目的在于提出一种文件传输方法、装置、终端与计算机可读存储介质,旨在实现目标文件的可追溯。The main purpose of the present invention is to provide a file transmission method, device, terminal and computer-readable storage medium, aiming at realizing the traceability of target files.
为实现上述目的,本发明提供一种文件传输方法,所述文件传输方法包括如下步骤:To achieve the above object, the present invention provides a file transfer method, the file transfer method includes the following steps:
若检测到目标终端基于目标文件触发的传输指令,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息;If a transmission instruction triggered by the target terminal based on the target file is detected, acquiring target terminal information of the target terminal, and generating first watermark information of the target file based on the target terminal information;
将携带所述第一水印信息的所述目标文件发送至所述传输指令对应的接收终端。Sending the target file carrying the first watermark information to a receiving terminal corresponding to the transmission instruction.
优选地,所述第一水印信息包括隐性水印,所述若检测到目标终端基于目标文件触发的传输指令,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息的步骤包括:Preferably, the first watermark information includes an implicit watermark, and if the transmission instruction triggered by the target terminal based on the target file is detected, the target terminal information of the target terminal is obtained, and the target terminal information is generated based on the target terminal information. The steps of the first watermark information of the target file include:
若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件的页面类型;If the transmission instruction triggered by the target terminal based on the target file is detected, then determine the page type of the target file;
若所述页面类型为内容,则获取所述目标终端的目标终端信息,并生成所述目标终端信息对应的隐性水印;If the page type is content, acquiring target terminal information of the target terminal, and generating a hidden watermark corresponding to the target terminal information;
在所述内容对应的内容区域添加所述隐性水印。Add the implicit watermark to the content area corresponding to the content.
优选地,所述第一水印信息包括显性水印,所述若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件的页面类型的步骤之后,所述文件传输方法还包括:Preferably, the first watermark information includes an explicit watermark, and after the step of determining the page type of the target file if a transfer instruction triggered by the target terminal based on the target file is detected, the file transfer method further includes:
若所述页面类型为空白,则获取所述目标终端的目标终端信息,并生成所述目标终端信息对应的显性水印;If the page type is blank, acquiring target terminal information of the target terminal, and generating an explicit watermark corresponding to the target terminal information;
在所述空白对应的空白区域添加所述显性水印。Add the explicit watermark to the blank area corresponding to the blank.
优选地,所述若检测到目标终端基于目标文件触发的传输指令,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息的步骤包括:Preferably, the step of obtaining target terminal information of the target terminal and generating the first watermark information of the target file based on the target terminal information if the transmission instruction triggered by the target terminal based on the target file is detected includes:
若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件是否为原始创建文件;If the transmission instruction triggered by the target terminal based on the target file is detected, then determine whether the target file is an original created file;
若是,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息。If yes, acquire target terminal information of the target terminal, and generate first watermark information of the target file based on the target terminal information.
优选地,所述若是,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息的步骤包括:Preferably, if it is the case, the step of acquiring target terminal information of the target terminal, and generating the first watermark information of the target file based on the target terminal information includes:
若是,则获取所述目标终端的目标终端信息,以及所述传输指令对应的接收终端信息;If yes, acquiring target terminal information of the target terminal and receiving terminal information corresponding to the transmission instruction;
基于所述目标终端信息和所述接收终端信息,生成所述目标文件的第一水印信息。Based on the target terminal information and the receiving terminal information, generate first watermark information of the target file.
优选地,所述若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件是否为原始创建文件的步骤之后,所述文件传输方法还包括:Preferably, after the step of determining whether the target file is an originally created file if a transfer instruction triggered by the target terminal based on the target file is detected, the file transfer method further includes:
若否,则获取所述目标终端的目标终端信息,以及所述目标文件携带的第二水印信息,并基于所述目标终端信息、所述接收终端信息和所述第二水印信息,生成所述目标文件的第三水印信息;If not, acquire the target terminal information of the target terminal and the second watermark information carried by the target file, and generate the target terminal information, the receiving terminal information, and the second watermark information based on the target terminal information The third watermark information of the target file;
将携带所述第三水印信息的所述目标文件发送至所述传输指令对应的接收终端。Sending the target file carrying the third watermark information to a receiving terminal corresponding to the transmission instruction.
优选地,所述若否,则获取所述目标终端的目标终端信息,以及所述目标文件携带的第二水印信息,并基于所述目标终端信息、所述接收终端信息和所述第二水印信息,生成所述目标文件的第三水印信息的步骤包括:Preferably, if no, then acquire target terminal information of the target terminal and second watermark information carried by the target file, and based on the target terminal information, the receiving terminal information and the second watermark information, the step of generating the third watermark information of the target file includes:
若否,则获取所述目标终端的目标终端信息,以及所述目标文件携带的第二水印信息,并确定所述目标终端信息是否满足所述第二水印信息;If not, acquiring target terminal information of the target terminal and second watermark information carried by the target file, and determining whether the target terminal information satisfies the second watermark information;
若满足,则基于所述目标终端信息、所述接收终端信息和所述第二水印信息,生成所述目标文件的第三水印信息。If so, generating third watermark information of the target file based on the target terminal information, the receiving terminal information and the second watermark information.
此外,为实现上述目的,本发明还提供一种文件传输装置,所述文件传输装置包括:In addition, in order to achieve the above object, the present invention also provides a file transmission device, the file transmission device includes:
生成模块,用于若检测到目标终端基于目标文件触发的传输指令,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息;A generating module, configured to acquire target terminal information of the target terminal if it is detected that the target terminal triggers a transmission instruction based on the target file, and generate first watermark information of the target file based on the target terminal information;
发送模块,用于将携带所述第一水印信息的所述目标文件发送至所述传输指令对应的接收终端。A sending module, configured to send the target file carrying the first watermark information to a receiving terminal corresponding to the transmission instruction.
优选地,所述第一水印信息包括隐性水印,所述生成模块还用于:Preferably, the first watermark information includes an implicit watermark, and the generating module is further configured to:
若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件的页面类型;If the transmission instruction triggered by the target terminal based on the target file is detected, then determine the page type of the target file;
若所述页面类型为内容,则获取所述目标终端的目标终端信息,并生成所述目标终端信息对应的隐性水印;If the page type is content, acquiring target terminal information of the target terminal, and generating a hidden watermark corresponding to the target terminal information;
在所述内容对应的内容区域添加所述隐性水印。Add the implicit watermark to the content area corresponding to the content.
优选地,所述第一水印信息包括显性水印,所述生成模块还用于:Preferably, the first watermark information includes an explicit watermark, and the generating module is further configured to:
若所述页面类型为空白,则获取所述目标终端的目标终端信息,并生成所述目标终端信息对应的显性水印;If the page type is blank, acquiring target terminal information of the target terminal, and generating an explicit watermark corresponding to the target terminal information;
在所述空白对应的空白区域添加所述显性水印。Add the explicit watermark to the blank area corresponding to the blank.
优选地,所述生成模块还用于:Preferably, the generating module is also used for:
若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件是否为原始创建文件;If the transmission instruction triggered by the target terminal based on the target file is detected, then determine whether the target file is an original created file;
若是,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息。If yes, acquire target terminal information of the target terminal, and generate first watermark information of the target file based on the target terminal information.
优选地,所述生成模块还用于:Preferably, the generating module is also used for:
若是,则获取所述目标终端的目标终端信息,以及所述传输指令对应的接收终端信息;If yes, acquiring target terminal information of the target terminal and receiving terminal information corresponding to the transmission instruction;
基于所述目标终端信息和所述接收终端信息,生成所述目标文件的第一水印信息。Based on the target terminal information and the receiving terminal information, generate first watermark information of the target file.
优选地,所述生成模块还用于:Preferably, the generating module is also used for:
若否,则获取所述目标终端的目标终端信息,以及所述目标文件携带的第二水印信息,并基于所述目标终端信息、所述接收终端信息和所述第二水印信息,生成所述目标文件的第三水印信息;If not, acquire the target terminal information of the target terminal and the second watermark information carried by the target file, and generate the target terminal information, the receiving terminal information, and the second watermark information based on the target terminal information The third watermark information of the target file;
所述发送模块还用于:The sending module is also used for:
将携带所述第三水印信息的所述目标文件发送至所述传输指令对应的接收终端。Sending the target file carrying the third watermark information to a receiving terminal corresponding to the transmission instruction.
优选地,所述生成模块还用于:Preferably, the generating module is also used for:
若否,则获取所述目标终端的目标终端信息,以及所述目标文件携带的第二水印信息,并确定所述目标终端信息是否满足所述第二水印信息;If not, acquiring target terminal information of the target terminal and second watermark information carried by the target file, and determining whether the target terminal information satisfies the second watermark information;
若满足,则基于所述目标终端信息、所述接收终端信息和所述第二水印信息,生成所述目标文件的第三水印信息。If so, generating third watermark information of the target file based on the target terminal information, the receiving terminal information and the second watermark information.
此外,为实现上述目的,本发明还提供一种终端,所述终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的文件传输程序,所述文件传输程序被所述处理器执行时实现如上所述的文件传输方法的步骤。In addition, in order to achieve the above object, the present invention also provides a terminal, the terminal includes: a memory, a processor, and a file transfer program stored in the memory and operable on the processor, the file transfer program When executed by the processor, the steps of the above-mentioned file transmission method are realized.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有文件传输程序,所述文件传输程序被处理器执行时实现如上所述的文件传输方法的步骤。In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium, on which a file transfer program is stored, and when the file transfer program is executed by a processor, the above-mentioned file transfer is realized. method steps.
本发明提出的文件传输方法,若检测到目标终端基于目标文件触发的传输指令,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息;将携带所述第一水印信息的所述目标文件发送至所述传输指令对应的接收终端。本发明在进行目标文件的传输时,生成目标终端对应的水印信息,再将携带有水印信息的目标文件发送出去,若目标文件泄露,则可根据水印信息知晓是从哪里泄露的,实现目标文件的可追溯。In the file transfer method proposed by the present invention, if a transfer instruction triggered by the target terminal based on the target file is detected, target terminal information of the target terminal is obtained, and first watermark information of the target file is generated based on the target terminal information; Sending the target file carrying the first watermark information to a receiving terminal corresponding to the transmission instruction. When transmitting the target file, the present invention generates watermark information corresponding to the target terminal, and then sends the target file carrying the watermark information. If the target file is leaked, it can be known from where the leak is based on the watermark information, and the target file can be realized. traceable.
附图说明Description of drawings
图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图;Fig. 1 is a schematic diagram of the terminal structure of the hardware operating environment involved in the solution of the embodiment of the present invention;
图2为本发明文件传输方法第一实施例的流程示意图。FIG. 2 is a schematic flowchart of the first embodiment of the file transmission method of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in the solution of the embodiment of the present invention.
本发明实施例终端可以是移动终端,也可以是固定终端。The terminal in this embodiment of the present invention may be a mobile terminal or a fixed terminal.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1 , the terminal may include: a processor 1001 , such as a CPU, a network interface 1004 , a user interface 1003 , a memory 1005 , and a communication bus 1002 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作设备、网络通信模块、用户接口模块以及文件传输程序。As shown in FIG. 1 , the memory 1005 as a computer storage medium may include an operating device, a network communication module, a user interface module, and a file transfer program.
其中,操作设备是管理和控制终端与软件资源的程序,支持网络通信模块、用户接口模块、文件传输程序以及其他程序或软件的运行;网络通信模块用于管理和控制网络接口1002;用户接口模块用于管理和控制用户接口1003。Among them, the operating device is a program for managing and controlling terminals and software resources, and supports the operation of network communication modules, user interface modules, file transfer programs, and other programs or software; the network communication module is used to manage and control the network interface 1002; the user interface module Used to manage and control the user interface 1003 .
在图1所示的终端中,所述终端通过处理器1001调用存储器1005中存储的文件传输程序,并执行下述文件传输方法各个实施例中的操作。In the terminal shown in FIG. 1, the terminal invokes the file transfer program stored in the memory 1005 through the processor 1001, and executes operations in various embodiments of the file transfer method described below.
基于上述硬件结构,提出本发明文件传输方法实施例。Based on the above hardware structure, an embodiment of the file transmission method of the present invention is proposed.
参照图2,图2为本发明文件传输方法第一实施例的流程示意图,所述方法包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart of the first embodiment of the file transmission method of the present invention, the method includes:
步骤S10,若检测到目标终端基于目标文件触发的传输指令,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息;Step S10, if a transmission instruction triggered by the target terminal based on the target file is detected, then acquire target terminal information of the target terminal, and generate first watermark information of the target file based on the target terminal information;
步骤S20,将携带所述第一水印信息的所述目标文件发送至所述传输指令对应的接收终端。Step S20, sending the target file carrying the first watermark information to a receiving terminal corresponding to the transmission instruction.
本实施例文件传输方法运用于文件传输设备中,文件传输设备可为手机、平板电脑等移动终端,也可以是电脑等固定终端,为描述方便,文件传输设备以终端简述。在具体实施时,企业只需在内部终端,如电脑上,安装包含执行文件传输方法的程序,使得企业内部终端可实现文件传输方法,若员工通过终端将企业的目标文件发送出去,终端则会获取终端信息,并生成表明目标文件是从当前终端发送出去的水印信息,再将携带有水印信息的目标文件发送出去,使得接收终端接收到的目标文件还包含有水印信息,若是目标文件泄露,则可根据水印信息,查找到泄露者。The file transfer method of this embodiment is applied to a file transfer device. The file transfer device may be a mobile terminal such as a mobile phone or a tablet computer, or may be a fixed terminal such as a computer. For convenience of description, the file transfer device is briefly described as a terminal. In the specific implementation, the enterprise only needs to install the program including the file transfer method on the internal terminal, such as a computer, so that the internal terminal of the enterprise can realize the file transfer method. If the employee sends the target file of the enterprise through the terminal, the terminal will Obtain terminal information, generate watermark information indicating that the target file is sent from the current terminal, and then send the target file with watermark information, so that the target file received by the receiving terminal also contains watermark information. If the target file is leaked, Then the leaker can be found based on the watermark information.
以下将对各个步骤进行详细说明:Each step will be described in detail below:
步骤S10,若检测到目标终端基于目标文件触发的传输指令,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息。Step S10, if it is detected that the target terminal triggers a transmission instruction based on the target file, acquire target terminal information of the target terminal, and generate first watermark information of the target file based on the target terminal information.
在本实施例中,若检测目标终端基于目标文件触发的传输指令,也即当前有员工在目标终端上想将目标文件传输出去,则获取目标终端的目标终端信息,其中,目标终端信息包括目标终端对应员工的工号信息,以及目标终端的id信息,接着,基于目标终端信息,生成目标文件的第一水印信息,由于水印的生成方法较为成熟,在此不再详述,需要说明书的是,最终生成的第一水印信息包含有工号信息和id信息,以便后续可根据工号信息和id信息进行泄密追溯。In this embodiment, if the target terminal is detected based on the transfer command triggered by the target file, that is, there is currently an employee on the target terminal who wants to transfer the target file, then the target terminal information of the target terminal is obtained, wherein the target terminal information includes the target The terminal corresponds to the employee's job number information and the id information of the target terminal. Then, based on the target terminal information, the first watermark information of the target file is generated. Since the watermark generation method is relatively mature, it will not be described in detail here. What needs to be explained is , the finally generated first watermark information includes job number information and id information, so that leaking can be traced later according to the job number information and id information.
进一步地,在另一实施例中,第一水印信息包括隐性水印,因此,在另一实施例中,步骤S10包括:Further, in another embodiment, the first watermark information includes an implicit watermark, therefore, in another embodiment, step S10 includes:
步骤a1,若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件的页面类型;Step a1, if a transmission instruction triggered by the target terminal based on the target file is detected, then determine the page type of the target file;
在另一实施例中,若检测到目标终端基于目标文件触发的传输指令,则先确定目标文件的页面类型,需要说明的是,在另一实施例中,将目标文件的页面划分为内容区域和空白区域,内容区域可以为文字,也可以为图片等,因此,页面类型包括内容和空白。In another embodiment, if the transmission instruction triggered by the target terminal based on the target file is detected, the page type of the target file is first determined. It should be noted that, in another embodiment, the pages of the target file are divided into content areas and blank area, the content area can be text or pictures, etc. Therefore, the page type includes content and blank area.
步骤a2,若所述页面类型为内容,则获取所述目标终端的目标终端信息,并生成所述目标终端信息对应的隐性水印;Step a2, if the page type is content, obtaining target terminal information of the target terminal, and generating a hidden watermark corresponding to the target terminal information;
在另一实施例中,若确定目标文件的页面类型为内容,则获取目标终端的目标终端信息,并生成目标终端信息对应的隐性水印。可以理解的,由于在内容区域上显示了内容,如文字或者图片等,若是生成显性水印,则势必会影响目标文件的阅读效果,因此,在另一实施例中,针对内容区域,生成的是隐性水印。In another embodiment, if it is determined that the page type of the target file is content, the target terminal information of the target terminal is acquired, and a hidden watermark corresponding to the target terminal information is generated. It can be understood that since content is displayed on the content area, such as text or pictures, if an explicit watermark is generated, it will inevitably affect the reading effect of the target file. Therefore, in another embodiment, for the content area, the generated is an implicit watermark.
需要说明的是,隐性水印指的是正常肉眼或者正常角度无法观察到的水印,需要借助特殊观察工具,或者特殊角度才能看到的水印,其原理是视觉欺骗,如需要在终端的屏幕左侧,贴近屏幕才能看到的水印等。在另一实施例中,隐性水印也可以是一段隐藏编码,需要相应的解码程序才能让其显示出来,在此不做具体限定。It should be noted that the hidden watermark refers to the watermark that cannot be observed by the normal naked eye or from a normal angle. It needs special observation tools or a watermark that can be seen from a special angle. The principle is visual deception. side, the watermark that can only be seen close to the screen, etc. In another embodiment, the hidden watermark may also be a piece of hidden code, which requires a corresponding decoding program to display it, which is not specifically limited here.
步骤a3,在所述内容对应的内容区域添加所述隐性水印。Step a3, adding the hidden watermark in the content area corresponding to the content.
最后,在内容对应的内容区域添加隐性水印,由于是隐性水印,因此,具体的添加方式在此不做限定。Finally, a hidden watermark is added to the content area corresponding to the content. Since it is a hidden watermark, the specific adding method is not limited here.
需要说明的是,在添加隐性水印时,隐性水印与目标文件的内容,如文字,图片等,位于同一显示层,以防泄露人员通过去除显示层而将隐性水印去除。It should be noted that when adding a hidden watermark, the hidden watermark and the content of the target file, such as text, pictures, etc., are located in the same display layer, so as to prevent leakers from removing the hidden watermark by removing the display layer.
进一步地,在另一实施例中,第一水印信息包括显性水印,步骤a1之后,文件传输方法还包括:Further, in another embodiment, the first watermark information includes an explicit watermark, and after step a1, the file transfer method further includes:
步骤a4,若所述页面类型为空白,则获取所述目标终端的目标终端信息,并生成所述目标终端信息对应的显性水印;Step a4, if the page type is blank, acquiring target terminal information of the target terminal, and generating an explicit watermark corresponding to the target terminal information;
在另一实施例中,若确定目标文件的页面类型为空白,也即目标文件中页面的空白区域,则获取目标终端的目标终端信息,并生成目标终端信息对应的显性水印,显性水印与隐性水印的区别为一个正常可见,一个正常不可见。In another embodiment, if it is determined that the page type of the target file is blank, that is, the blank area of the page in the target file, the target terminal information of the target terminal is obtained, and an explicit watermark corresponding to the target terminal information is generated. The explicit watermark The difference from the hidden watermark is that one is normally visible and the other is normally invisible.
步骤a5,在所述空白对应的空白区域添加所述显性水印。Step a5, adding the explicit watermark in the blank area corresponding to the blank.
最后,在空白对应的空白区域添加显性水印,具体的添加方式可以嵌入的方式,将显性水印嵌入目标文件的空白区域,并且,显性水印与目标文件的内容,如文字,图片等,可位于同一显示层,也可位于不同显示层,本实施例优选位于同一显示层。Finally, add an explicit watermark to the blank area corresponding to the blank. The specific adding method can be embedded. Embed the explicit watermark into the blank area of the target file, and the explicit watermark and the content of the target file, such as text, pictures, etc., They can be located on the same display layer or on different display layers. In this embodiment, they are preferably located on the same display layer.
在另一实施例中,可同时添加隐性水印和显性水印,也即在目标文件的页面中,有内容的内容区域添加隐性水印,在空白的空白区域添加显性水印,这时的显性水印主要起到一个迷惑的作用,使得泄露人员专注于显性水印的去除,而忽略隐藏的隐性水印。In another embodiment, the implicit watermark and the explicit watermark can be added at the same time, that is, in the page of the target file, the implicit watermark is added to the content area with content, and the explicit watermark is added to the blank blank area. At this time The explicit watermark mainly plays a confusing role, making leakers focus on the removal of the explicit watermark, while ignoring the hidden implicit watermark.
步骤S20,将携带所述第一水印信息的所述目标文件发送至所述传输指令对应的接收终端。Step S20, sending the target file carrying the first watermark information to a receiving terminal corresponding to the transmission instruction.
在本实施例中,最后,将携带有第一水印信息的目标文件发送至传输指令对应的接收终端,其中,接收终端可以是与目标终端所属同一企业的终端,也可以是与目标终端所属不同企业的终端。若接收终端是与目标终端所属同一企业的终端,说明本次传输是内部传输,若接收终端是与目标终端所属不同企业的终端,说明本次传输存在当前员工将企业的目标文件外发的泄密风险,若是存在目标文件泄密的情况,则可获取目标文件,看其水印信息,即可知道是谁泄密的。In this embodiment, finally, the target file carrying the first watermark information is sent to the receiving terminal corresponding to the transmission instruction, wherein the receiving terminal may be a terminal belonging to the same enterprise as the target terminal, or may be a terminal belonging to a different company from the target terminal. Enterprise terminal. If the receiving terminal is a terminal belonging to the same company as the target terminal, it means that this transmission is an internal transmission; if the receiving terminal is a terminal belonging to a different company from the target terminal, it means that there is a leak in this transmission that the current employee sent the target file of the company Risk, if there is a leakage of the target file, you can obtain the target file and look at its watermark information to know who leaked the secret.
如当前存在泄密文件,则可查看其水印信息,确定是谁泄露的,如A将目标文件发送给了B,B又发给了C,C可能又发给了其他人,而泄密文件的水印信息表明是B,则确定是文件最初是B泄露的,C与B可能所属不同企业。If there is currently a leaked file, you can check its watermark information to determine who leaked it. For example, A sent the target file to B, B sent it to C, and C may send it to other people, and the watermark of the leaked file If the information indicates that it is B, it is determined that the document was originally leaked by B, and C and B may belong to different companies.
本实施例若检测到目标终端基于目标文件触发的传输指令,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息;将携带所述第一水印信息的所述目标文件发送至所述传输指令对应的接收终端。本发明在进行目标文件的传输时,生成目标终端对应的水印信息,再将携带有水印信息的目标文件发送出去,若目标文件泄露,则可根据水印信息知晓是从哪里泄露的,实现目标文件的可追溯。In this embodiment, if a transmission instruction triggered by the target terminal based on the target file is detected, the target terminal information of the target terminal is obtained, and the first watermark information of the target file is generated based on the target terminal information; The target file of a watermark information is sent to the receiving terminal corresponding to the transmission instruction. When transmitting the target file, the present invention generates watermark information corresponding to the target terminal, and then sends the target file carrying the watermark information. If the target file is leaked, it can be known from where the leak is based on the watermark information, and the target file can be realized. traceable.
进一步地,基于本发明文件传输方法第一实施例,提出本发明文件传输方法第二实施例。Further, based on the first embodiment of the file transmission method of the present invention, a second embodiment of the file transmission method of the present invention is proposed.
文件传输方法的第二实施例与文件传输方法的第一实施例的区别在于,步骤S10包括:The difference between the second embodiment of the file transfer method and the first embodiment of the file transfer method is that step S10 includes:
步骤b1,若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件是否为原始创建文件;Step b1, if it is detected that the target terminal triggers a transfer instruction based on the target file, then determine whether the target file is an original created file;
步骤b2,若是,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息。Step b2, if yes, acquire target terminal information of the target terminal, and generate first watermark information of the target file based on the target terminal information.
本实施例在生成水印的过程中,需要先确定目标文件是否为原始创建文件,从而选择不同的参数来生成水印信息,使得生成的水印信息可靠且可追溯。In the process of generating the watermark in this embodiment, it is first necessary to determine whether the target file is an original created file, so as to select different parameters to generate the watermark information, so that the generated watermark information is reliable and traceable.
以下将对各个步骤进行详细说明:Each step will be described in detail below:
步骤b1,若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件是否为原始创建文件。Step b1, if it is detected that the target terminal triggers a transfer instruction based on the target file, then determine whether the target file is an original created file.
在本实施例中,若检测到目标终端基于目标文件触发的传输指令,则先确定目标文件是否为原始创建文件,其中原始创建文件指的是由当前员工自己在目标终端编辑创建的文件,也即目标终端为目标文件的创建者,因此,可通过确定当前目标文件的创建者来确定目标文件是否为原始创建文件。具体的,若目标文件的创建者为目标终端,也即目标文件是员工在目标终端上创建的,则确定目标文件为原始创建文件;若目标文件的创建者不是目标终端,也即目标文件是目标终端接收其他终端发送或者转移过来的,则确定目标文件不是原始创建文件。In this embodiment, if the transmission instruction triggered by the target terminal based on the target file is detected, first determine whether the target file is an original created file, wherein the original created file refers to a file edited and created by the current employee himself on the target terminal, or That is, the target terminal is the creator of the target file. Therefore, by determining the creator of the current target file, it can be determined whether the target file is an originally created file. Specifically, if the creator of the target file is the target terminal, that is, the target file is created by an employee on the target terminal, then determine that the target file is the original created file; if the creator of the target file is not the target terminal, that is, the target file is If the target terminal receives files sent or transferred from other terminals, it is determined that the target file is not the original created file.
步骤b2,若是,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息。Step b2, if yes, acquire target terminal information of the target terminal, and generate first watermark information of the target file based on the target terminal information.
在本实施例中,若确定目标文件是原始创建文件,则获取目标终端的目标终端信息,并根据目标终端信息生成目标文件的第一水印信息,也即在确定目标文件是原始创建文件后,才选择目标终端的目标终端信息作为水印信息的生成参数;若目标文件不是原始创建文件,则选择其他信息作为水印信息的生成参数。In this embodiment, if it is determined that the target file is an originally created file, the target terminal information of the target terminal is obtained, and the first watermark information of the target file is generated according to the target terminal information, that is, after it is determined that the target file is an originally created file, The target terminal information of the target terminal is selected as the generation parameter of the watermark information; if the target file is not the original created file, other information is selected as the generation parameter of the watermark information.
进一步地,在另一实施例中,步骤b2包括:Further, in another embodiment, step b2 includes:
若是,则获取所述目标终端的目标终端信息,以及所述传输指令对应的接收终端信息;If yes, acquiring target terminal information of the target terminal and receiving terminal information corresponding to the transmission instruction;
在该步骤中,若确定目标文件是原始创建文件,则获取目标终端的目标终端信息,以及传输指令对应的接收终端信息,其中,在本实施例中,接收终端包括接收终端的id信息。In this step, if it is determined that the target file is an originally created file, the target terminal information of the target terminal and the receiving terminal information corresponding to the transmission instruction are obtained, wherein, in this embodiment, the receiving terminal includes the id information of the receiving terminal.
基于所述目标终端信息和所述接收终端信息,生成所述目标文件的第一水印信息。Based on the target terminal information and the receiving terminal information, generate first watermark information of the target file.
在该步骤中,根据目标终端信息和接收终端信息,生成目标文件的第一水印信息,也即第一水印信息的生成参数包括目标终端信息和接收终端信息,使得后续根据水印信息追究到是谁泄密之外,还可以知道第一泄密对象是谁,也即泄密给谁。In this step, the first watermark information of the target file is generated according to the target terminal information and the receiving terminal information, that is, the generation parameters of the first watermark information include the target terminal information and the receiving terminal information, so that who In addition to leaking secrets, you can also know who the first leaking object is, that is, to whom the secrets are leaked.
进一步地,在另一实施例中,步骤b1之后,文件传输方法还包括:Further, in another embodiment, after step b1, the file transfer method further includes:
步骤b3,若否,则获取所述目标终端的目标终端信息,以及所述目标文件携带的第二水印信息,并基于所述目标终端信息、所述接收终端信息和所述第二水印信息,生成所述目标文件的第三水印信息;Step b3, if not, acquiring the target terminal information of the target terminal and the second watermark information carried by the target file, and based on the target terminal information, the receiving terminal information and the second watermark information, generating third watermark information of the target file;
在另一实施例中,若确定目标文件不是原始创建文件,说明目标文件是其他终端发送或者转移过来的,此时的目标文件原则上带有水印信息,即其他终端在将目标文件发送给目标终端时,生成了第二水印信息,因此,需获取目标终端的目标终端信息,以及其携带的第二水印信息,从而根据目标终端信息、所述接收终端信息和第二水印信息,再生成一个表明是由目标终端发送出去的第三水印信息。In another embodiment, if it is determined that the target file is not an original created file, it means that the target file was sent or transferred by other terminals. terminal, the second watermark information is generated, therefore, it is necessary to obtain the target terminal information of the target terminal and the second watermark information carried by it, so as to generate a new watermark according to the target terminal information, the receiving terminal information and the second watermark information Indicates the third watermark information sent by the target terminal.
需要说明的是,若目标文件未携带第二水印信息,则无需生成第三水印信息,也即只要是在在企业的终端创建的文件,原则上在传输过程中,都会生成水印信息,若是企业外拷贝回来的文件,原则上不属于企业机密文件,因此,其本身也不会有水印信息,在传输过程中也不需要再生成水印。It should be noted that if the target file does not carry the second watermark information, there is no need to generate the third watermark information, that is, as long as the file is created on the terminal of the enterprise, in principle, the watermark information will be generated during the transmission process. If the enterprise In principle, the files copied from the outside world are not corporate confidential files, so they will not have watermark information themselves, and there is no need to generate watermarks during the transmission process.
步骤b4,将携带所述第三水印信息的所述目标文件发送至所述传输指令对应的接收终端。Step b4, sending the target file carrying the third watermark information to a receiving terminal corresponding to the transmission instruction.
在另一实施例中,最后将携带第三水印信息的目标文件发送至传输指令对应的接收终端,表明目标文件是由目标终端生成的,且由于第三水印信息的生成参数包括第二水印信息,因此可向上追溯目标终端是从哪里接收的。In another embodiment, finally, the target file carrying the third watermark information is sent to the receiving terminal corresponding to the transmission instruction, indicating that the target file is generated by the target terminal, and since the generation parameters of the third watermark information include the second watermark information , so it can be traced upwards from where the target terminal received it.
进一步地,在另一实施例中,步骤b3包括:Further, in another embodiment, step b3 includes:
若否,则获取所述目标终端的目标终端信息,以及所述目标文件携带的第二水印信息,并确定所述目标终端信息是否满足所述第二水印信息;If not, acquiring target terminal information of the target terminal and second watermark information carried by the target file, and determining whether the target terminal information satisfies the second watermark information;
在另一实施例中,若确定目标文件不是原始创建文件,说明目标文件是其他终端发送或者转移过来的,此时的目标文件原则上带有其他终端生成的水印信息,因此,获取目标终端的目标终端信息,以及目标文件携带的第二水印信息,并确定目标终端信息是否满足第二水印信息。In another embodiment, if it is determined that the target file is not an original created file, it means that the target file was sent or transferred by other terminals. At this time, the target file contains watermark information generated by other terminals in principle. Therefore, to obtain the target terminal's target terminal information, and the second watermark information carried by the target file, and determine whether the target terminal information satisfies the second watermark information.
需要说明的是,本实施例的第二水印信息是上一终端根据上一终端的终端信息,以及目标终端的目标终端信息生成的(上一终端为目标文件的创建者),也即,在上一次传输时,目标终端为接收终端。It should be noted that the second watermark information in this embodiment is generated by the previous terminal based on the terminal information of the previous terminal and the target terminal information of the target terminal (the previous terminal is the creator of the target file), that is, in At the time of the last transmission, the target terminal was the receiving terminal.
因此,可确定目标终端信息是否满足第二水印信息,也即A终端将目标文件发给B终端时,根据A终端和B终端的终端信息生成第二水印信息,B终端再将目标文件发送给C终端时,需要确定B终端的终端信息是否满足第二水印信息,其中,若第二水印信息包含目标终端信息,则确定目标终端信息满足第二水印信息。这是为了避免A终端将目标文件发给B终端时,B终端对应的员工在B终端拷贝目标文件,在D终端将目标文件发送给C终端,嫁祸给D终端发送的假象。Therefore, it can be determined whether the target terminal information satisfies the second watermark information, that is, when terminal A sends the target file to terminal B, the second watermark information is generated according to the terminal information of terminal A and terminal B, and terminal B then sends the target file to In the case of terminal C, it is necessary to determine whether the terminal information of terminal B satisfies the second watermark information, wherein, if the second watermark information includes target terminal information, it is determined that the target terminal information satisfies the second watermark information. This is to avoid the illusion that when terminal A sends the target file to terminal B, the corresponding employee of terminal B copies the target file on terminal B, sends the target file to terminal C on terminal D, and assigns the blame to terminal D for sending.
若满足,则基于所述目标终端信息、所述接收终端信息和所述第二水印信息,生成所述目标文件的第三水印信息。If so, generating third watermark information of the target file based on the target terminal information, the receiving terminal information and the second watermark information.
若满足,说明上一终端定向发送给了目标终端,目标终端有权将其发送给其他接收终端,因此,在传输时,基于目标终端信息、接收终端信息和第二水印信息,生成目标文件的第三水印信息。If it is satisfied, it means that the last terminal sent it to the target terminal, and the target terminal has the right to send it to other receiving terminals. Therefore, during transmission, based on the target terminal information, receiving terminal information and the second watermark information, the target file is generated. The third watermark information.
进一步地,若不满足,说明目标文件有可能是从其他终端拷贝过来的,则禁止目标文件发送。Further, if it is not satisfied, it means that the target file may be copied from other terminals, and the sending of the target file is prohibited.
进一步地,若不满足,说明文件有可能是从其他终端拷贝过来的,则开启目标终端的摄像头,获取当前操作者的脸部信息,并基于脸部信息,确定当前操作者的工号信息,基于工号信息、目标终端信息和接收终端信息,生成第三水印信息。Further, if it is not satisfied, it means that the file may be copied from other terminals, then turn on the camera of the target terminal, obtain the face information of the current operator, and determine the job number information of the current operator based on the face information, The third watermark information is generated based on the employee number information, the target terminal information and the receiving terminal information.
可以理解的,A终端将目标文件发给B终端,B终端设备故障,无法将其发送给C,此时B终端的员工是有可能借助其他设备发送的,但又要避免其他终端背锅,因此,此时可获取该员工的脸部信息,从而在企业信息库中确定该员工的工号信息,从而顺利生成第三水印信息。It is understandable that terminal A sends the target file to terminal B, but terminal B fails to send it to terminal C. At this time, the employees of terminal B may use other devices to send it, but it is necessary to avoid other terminals from being blamed. Therefore, at this time, the employee's face information can be obtained, so as to determine the employee's job number information in the enterprise information database, thereby successfully generating the third watermark information.
本实施例在生成水印的过程中,需要先确定目标文件是否为原始创建文件,从而选择不同的参数来生成水印信息,使得生成的水印信息可靠且可追溯。In the process of generating the watermark in this embodiment, it is first necessary to determine whether the target file is an original created file, so as to select different parameters to generate the watermark information, so that the generated watermark information is reliable and traceable.
本发明还提供一种文件传输装置。本发明文件传输装置包括:The invention also provides a file transmission device. The file transmission device of the present invention includes:
生成模块,用于若检测到目标终端基于目标文件触发的传输指令,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息;A generating module, configured to acquire target terminal information of the target terminal if it is detected that the target terminal triggers a transmission instruction based on the target file, and generate first watermark information of the target file based on the target terminal information;
发送模块,用于将携带所述第一水印信息的所述目标文件发送至所述传输指令对应的接收终端。A sending module, configured to send the target file carrying the first watermark information to a receiving terminal corresponding to the transmission instruction.
进一步地,所述第一水印信息包括隐性水印,所述生成模块还用于:Further, the first watermark information includes an implicit watermark, and the generating module is also used for:
若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件的页面类型;If the transmission instruction triggered by the target terminal based on the target file is detected, then determine the page type of the target file;
若所述页面类型为内容,则获取所述目标终端的目标终端信息,并生成所述目标终端信息对应的隐性水印;If the page type is content, acquiring target terminal information of the target terminal, and generating a hidden watermark corresponding to the target terminal information;
在所述内容对应的内容区域添加所述隐性水印。Add the implicit watermark to the content area corresponding to the content.
进一步地,所述第一水印信息包括显性水印,所述生成模块还用于:Further, the first watermark information includes an explicit watermark, and the generating module is also used for:
若所述页面类型为空白,则获取所述目标终端的目标终端信息,并生成所述目标终端信息对应的显性水印;If the page type is blank, acquiring target terminal information of the target terminal, and generating an explicit watermark corresponding to the target terminal information;
在所述空白对应的空白区域添加所述显性水印。Add the explicit watermark to the blank area corresponding to the blank.
进一步地,所述生成模块还用于:Further, the generating module is also used for:
若检测到目标终端基于目标文件触发的传输指令,则确定所述目标文件是否为原始创建文件;If the transmission instruction triggered by the target terminal based on the target file is detected, then determine whether the target file is an original created file;
若是,则获取所述目标终端的目标终端信息,并基于所述目标终端信息生成所述目标文件的第一水印信息。If yes, acquire target terminal information of the target terminal, and generate first watermark information of the target file based on the target terminal information.
进一步地,所述生成模块还用于:Further, the generating module is also used for:
若是,则获取所述目标终端的目标终端信息,以及所述传输指令对应的接收终端信息;If yes, acquiring target terminal information of the target terminal and receiving terminal information corresponding to the transmission instruction;
基于所述目标终端信息和所述接收终端信息,生成所述目标文件的第一水印信息。Based on the target terminal information and the receiving terminal information, generate first watermark information of the target file.
进一步地,所述生成模块还用于:Further, the generating module is also used for:
若否,则获取所述目标终端的目标终端信息,以及所述目标文件携带的第二水印信息,并基于所述目标终端信息、所述接收终端信息和所述第二水印信息,生成所述目标文件的第三水印信息;If not, acquire the target terminal information of the target terminal and the second watermark information carried by the target file, and generate the target terminal information, the receiving terminal information, and the second watermark information based on the target terminal information The third watermark information of the target file;
所述发送模块还用于:The sending module is also used for:
将携带所述第三水印信息的所述目标文件发送至所述传输指令对应的接收终端。Sending the target file carrying the third watermark information to a receiving terminal corresponding to the transmission instruction.
进一步地,所述生成模块还用于:Further, the generating module is also used for:
若否,则获取所述目标终端的目标终端信息,以及所述目标文件携带的第二水印信息,并确定所述目标终端信息是否满足所述第二水印信息;If not, acquiring target terminal information of the target terminal and second watermark information carried by the target file, and determining whether the target terminal information satisfies the second watermark information;
若满足,则基于所述目标终端信息、所述接收终端信息和所述第二水印信息,生成所述目标文件的第三水印信息。If so, generating third watermark information of the target file based on the target terminal information, the receiving terminal information and the second watermark information.
本发明还提供一种计算机可读存储介质。The present invention also provides a computer-readable storage medium.
本发明计算机可读存储介质上存储有文件传输程序,所述文件传输程序被处理器执行时实现如上所述的文件传输方法的步骤。A file transfer program is stored on the computer-readable storage medium of the present invention, and when the file transfer program is executed by a processor, the steps of the above-mentioned file transfer method are realized.
其中,在所述处理器上运行的文件传输程序被执行时所实现的方法可参照本发明文件传输方法各个实施例,此处不再赘述。Wherein, for the method implemented when the file transfer program running on the processor is executed, reference may be made to various embodiments of the file transfer method of the present invention, which will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, the terms "comprising", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article or apparatus comprising that element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , magnetic disk, optical disk), including several instructions to enable a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书与附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010405175.6A CN111639313B (en) | 2020-05-13 | 2020-05-13 | File transfer method, device, terminal and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010405175.6A CN111639313B (en) | 2020-05-13 | 2020-05-13 | File transfer method, device, terminal and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111639313A CN111639313A (en) | 2020-09-08 |
CN111639313B true CN111639313B (en) | 2023-08-11 |
Family
ID=72333216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010405175.6A Active CN111639313B (en) | 2020-05-13 | 2020-05-13 | File transfer method, device, terminal and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111639313B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116226800A (en) * | 2021-12-03 | 2023-06-06 | 中国移动通信有限公司研究院 | Watermark adding method, device, equipment and storage medium |
CN114461995A (en) * | 2021-12-27 | 2022-05-10 | 奇安信科技集团股份有限公司 | File transfer auditing method and device based on file watermark |
CN115987682B (en) * | 2023-02-02 | 2025-01-03 | 浙江网商银行股份有限公司 | Data processing method |
CN119004419B (en) * | 2024-10-22 | 2025-03-07 | 北京芯盾时代科技有限公司 | Watermark generation method, proxy device, electronic device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103379101A (en) * | 2012-04-20 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Watermark generation method, client side and server |
CN104023332A (en) * | 2014-06-25 | 2014-09-03 | 上海斐讯数据通信技术有限公司 | Electronic terminal and short message encrypting and decrypting method thereof |
CN104112201A (en) * | 2013-04-22 | 2014-10-22 | 中国银联股份有限公司 | Electronic bill data transmitting and receiving methods and apparatuses |
CN107423629A (en) * | 2017-04-12 | 2017-12-01 | 李晓妮 | A kind of anti-method and system divulged a secret with tracing of fileinfo output |
CN107743123A (en) * | 2017-09-30 | 2018-02-27 | 北京北信源软件股份有限公司 | A kind of screen watermark handling method and device |
CN108510426A (en) * | 2018-04-13 | 2018-09-07 | 平安普惠企业管理有限公司 | Information security processing method, device, equipment and computer storage media |
CN109784011A (en) * | 2018-12-24 | 2019-05-21 | 北京奇安信科技有限公司 | Watermark generation method and device |
CN111131654A (en) * | 2018-10-30 | 2020-05-08 | 浙江宇视科技有限公司 | A watermark embedding method, device and codec |
-
2020
- 2020-05-13 CN CN202010405175.6A patent/CN111639313B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103379101A (en) * | 2012-04-20 | 2013-10-30 | 腾讯科技(深圳)有限公司 | Watermark generation method, client side and server |
CN104112201A (en) * | 2013-04-22 | 2014-10-22 | 中国银联股份有限公司 | Electronic bill data transmitting and receiving methods and apparatuses |
CN104023332A (en) * | 2014-06-25 | 2014-09-03 | 上海斐讯数据通信技术有限公司 | Electronic terminal and short message encrypting and decrypting method thereof |
CN107423629A (en) * | 2017-04-12 | 2017-12-01 | 李晓妮 | A kind of anti-method and system divulged a secret with tracing of fileinfo output |
CN107743123A (en) * | 2017-09-30 | 2018-02-27 | 北京北信源软件股份有限公司 | A kind of screen watermark handling method and device |
CN108510426A (en) * | 2018-04-13 | 2018-09-07 | 平安普惠企业管理有限公司 | Information security processing method, device, equipment and computer storage media |
CN111131654A (en) * | 2018-10-30 | 2020-05-08 | 浙江宇视科技有限公司 | A watermark embedding method, device and codec |
CN109784011A (en) * | 2018-12-24 | 2019-05-21 | 北京奇安信科技有限公司 | Watermark generation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111639313A (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111639313B (en) | File transfer method, device, terminal and computer-readable storage medium | |
US10956652B2 (en) | Support for non-native file types in web application environment | |
CN110532811B (en) | PDF (Portable document Format) signature method and PDF signature system | |
CN109784922B (en) | Electronic contract signing method, electronic contract signing device, computer equipment and storage medium | |
US11640498B2 (en) | Method and system for selective document redaction | |
US11061991B2 (en) | Secure document sharing | |
US20070051798A1 (en) | Content management server, storage medium having content management program stored therein, and content management method | |
CN110674477A (en) | Document source tracing method and device based on electronic file security identification | |
US7711723B2 (en) | System and method for managing web applications | |
EP3792792B1 (en) | Tampering detection method for paper copy and apparatus and non-transitory computer-readable storage medium | |
EP3180714A1 (en) | Form filling method and related terminal | |
US20220269820A1 (en) | Artificial intelligence based data redaction of documents | |
JP2017033339A (en) | Service providing system, information processing apparatus, program, and service usage information creation method | |
CN106790172A (en) | A kind of file sharing method and server, client | |
CN104978537B (en) | The collocation method and device of a kind of document access authority | |
JP2007519076A (en) | Identity system for use in computing environments | |
JP5157505B2 (en) | Information processing apparatus, file editing method, file editing program, and recording medium | |
JP2014089680A (en) | Information processing unit, system, and information registration method | |
CN111783119B (en) | Form data security control method, form data security control device, electronic equipment and storage medium | |
US9218330B2 (en) | Method of inputting information into an electronic form | |
US8959344B2 (en) | Method and system for handling defined areas within an electronic document | |
CN115310059A (en) | A data security processing method and device | |
CN112100581B (en) | A code protection method, device, equipment and medium | |
AU2015204414A1 (en) | Document and object manipulation | |
CN113590564A (en) | Data storage method and device, electronic 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20241231 Granted publication date: 20230811 |
|
PP01 | Preservation of patent right |