WO2019174090A1 - Screenshot file sharing control method, apparatus and device, and computer storage medium - Google Patents

Screenshot file sharing control method, apparatus and device, and computer storage medium Download PDF

Info

Publication number
WO2019174090A1
WO2019174090A1 PCT/CN2018/082706 CN2018082706W WO2019174090A1 WO 2019174090 A1 WO2019174090 A1 WO 2019174090A1 CN 2018082706 W CN2018082706 W CN 2018082706W WO 2019174090 A1 WO2019174090 A1 WO 2019174090A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
screen capture
information
preset
screen
Prior art date
Application number
PCT/CN2018/082706
Other languages
French (fr)
Chinese (zh)
Inventor
伍旭鸿
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019174090A1 publication Critical patent/WO2019174090A1/en

Links

Classifications

    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Definitions

  • the present application relates to the field of screen capture monitoring, and in particular, to a method, device, device and computer storage medium for controlling screen file sharing.
  • the existing screen capture files lack detection mechanism, and the screen capture files have sensitive information.
  • the sharing of existing files does not involve sensitive information monitoring in the personal field, which may easily lead to the leakage of sensitive personal information.
  • the present application provides a method, device, device and computer storage medium for controlling screen file sharing performed by a computer, which can reduce the leakage of personal sensitive information and ensure information security by identifying screen capture files.
  • the present application provides a method for controlling screen file sharing performed by a computer, and the method for controlling screen file sharing includes the following steps:
  • Receiving a file save request saving the file associated with the file save request to the local storage, generating corresponding attribute information, and establishing an association relationship between the file and the attribute information;
  • the screen capture file shares the risk warning.
  • the step of comparing the attribute information with the preset screen capture determination rule, and determining whether the file to be shared is a screen capture file includes:
  • the attribute information includes: a storage path and/or size data
  • the storage identifier corresponding to the storage path matches the path standard identifier in the preset screen capture determination rule and/or the size data matches the screen size in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
  • the step of comparing the attribute information with the preset screen capture determination rule, and determining whether the file to be shared is a screen capture file further includes:
  • the file to be shared is a screen capture file.
  • the method includes:
  • the screen capture file contains sensitive information, and the screen capture file is added with a sensitive label.
  • determining that the screen capture file contains sensitive information, and adding the sensitive label to the screen capture file includes:
  • the sensitive information in the screen capture file is blurred to obtain a transmission file
  • the sensitive information in the screen capture file is blurred, and the step of obtaining the transmission file includes:
  • the coordinate data of the sensitive information in the screen capture file is determined
  • the sensitive information of the corresponding coordinate position is blurred to obtain a transmission file.
  • the method includes:
  • the screen capture file sending permission setting prompt information is output, so that the user inputs the verification standard information of the screen file sending permission;
  • the authentication information is compared with the verification standard information. If the authentication information matches the verification standard information, it is determined that the user has the permission to send the screen capture file, and the screen capture file is sent.
  • the present application further provides a control device for screen file sharing, and the control device for sharing the screen file includes:
  • the save creation module is configured to receive a file save request, save the file associated with the file save request to the local storage, generate corresponding attribute information, and establish an association relationship between the file and the attribute information;
  • Receiving an obtaining module configured to receive a file sharing request, obtain a file to be shared in the file sharing instruction, and obtain attribute information according to the association relationship;
  • the comparison determination module is configured to compare the attribute information with the preset screen capture determination rule, and determine whether the file to be shared is a screen capture file;
  • the prompt module is displayed, and if the file to be shared is a screen capture file, the screen capture file sharing risk prompt is output.
  • control device for screen file sharing includes: a memory, a processor, and is stored on the memory and operable on the processor
  • the screenshot control file sharing control program where:
  • the present application further provides a computer storage medium
  • the computer storage medium stores a control program for screen capture file sharing, and the control program of the screen capture file sharing is executed by the processor to implement the steps of the control method of the screen capture file sharing as described above.
  • the method, device, device and computer storage medium for controlling screen capture file sharing receive a file save request by the terminal, save the file associated with the file save request to local storage, generate corresponding attribute information, and create a file and an attribute.
  • the rule is compared, and it is determined whether the file to be shared is a screen capture file; if the file to be shared is a screen capture file, the screen capture file sharing risk prompt is output.
  • the saved files are compared according to the preset screen capture determination rules, and the saved file is accurately identified as a screen capture file.
  • the terminal performs screen capture file display information detection, and implements a personal field screen capture. Sensitive information monitoring of documents reduces the leakage of sensitive personal information.
  • FIG. 1 is a schematic structural diagram of an apparatus of a hardware operating environment involved in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for controlling screen file sharing according to the present application
  • step S13 is a schematic flowchart of the refinement of step S13 of the control method for screen capture file sharing in FIG. 2;
  • FIG. 4 is a schematic flowchart of a second embodiment of a method for controlling screen file sharing according to the present application
  • FIG. 5 is a schematic flowchart of a third embodiment of a method for controlling screen file sharing according to the present application.
  • FIG. 6 is a schematic flowchart of a fourth embodiment of a method for controlling screen file sharing according to the present application.
  • FIG. 7 is a schematic diagram of functional modules of an embodiment of a control device for screen capture file sharing according to the present application.
  • the screen capture function of the terminal device also includes three types: a normal screen capture, which can intercept the entire screen; a free screen capture, which can be determined by the user to determine the screen capture range, that is, a free screen capture, which is suitable for users in terms of privacy and the like.
  • a normal screen capture which can intercept the entire screen
  • a free screen capture which can be determined by the user to determine the screen capture range, that is, a free screen capture, which is suitable for users in terms of privacy and the like.
  • a normal screen capture which can intercept the entire screen
  • a free screen capture which can be determined by the user to determine the screen capture range, that is, a free screen capture, which is suitable for users in terms of privacy and the like.
  • a normal screen capture Just want to intercept part of the content; long screen shot, users sometimes need not only cut out the content of a screen of the mobile phone, but also need to cut out the content of the interface, such as a conversation in the chat software is very long, more than one screen, need one time Cut out
  • the main solution of the embodiment of the present application is: when the operation instruction of the storage file is detected by the user, the file identification instruction is automatically triggered, the terminal receives the file sharing request, and obtains the file to be shared in the file sharing instruction according to the association relationship. Obtaining the attribute information; comparing the attribute information with the preset screen capture determination rule, and determining whether the file to be shared is a screen capture file; if the file to be shared is a screen capture file, outputting the screen capture file sharing risk prompt.
  • the terminal identifies the screen capture file to prevent the screen capture file sent by the user from containing sensitive information.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment involved in an embodiment of the present application.
  • the terminal in the embodiment of the present application may be a fixed terminal or a mobile terminal, wherein the fixed terminal is an "Internet of Things device", a smart air conditioner with networking function, a smart electric light, a smart power source, etc.; a mobile terminal, such as an AR with networking function /VR devices, smart speakers, self-driving cars, PCs, smart phones, tablets, e-book readers, portable computers and other terminal devices with display functions.
  • the fixed terminal is an "Internet of Things device", a smart air conditioner with networking function, a smart electric light, a smart power source, etc.
  • a mobile terminal such as an AR with networking function /VR devices, smart speakers, self-driving cars, PCs, smart phones, tablets, e-book readers, portable computers and other terminal devices with display functions.
  • 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.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the terminal may further include a camera, RF (Radio) Frequency, RF) circuit, sensor, audio circuit, WiFi module; input unit, display screen, touch screen; network interface optional in addition to wireless interface in addition to WiFi, Bluetooth, probe, 3G/4G/5G networked base station equipment, etc. .
  • sensors such as light sensors, motion sensors, and other sensors.
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the computer software product is stored in a storage medium (storage medium: also called computer storage medium, computer medium, readable medium, readable storage medium, computer readable storage medium or directly called medium, such as ROM).
  • storage medium also called computer storage medium, computer medium, readable medium, readable storage medium, computer readable storage medium or directly called medium, such as ROM).
  • /RAM, disk, CD-ROM including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the various embodiments of the present application as a
  • the memory 1005 of the computer storage medium may include an operating system, a network communication module, a user interface module, and a control application for screen file sharing.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client;
  • the processor 1001 may be used to call a control application for screen capture sharing stored in the memory 1005 and perform the steps in the control method for screen file sharing provided by the following embodiments.
  • the method for controlling screen file sharing includes:
  • Step S11 Receive a file save request, save the file associated with the file save request to local storage, generate corresponding attribute information, and establish an association relationship between the file and the attribute information.
  • the terminal receives the file save request, wherein the method for triggering the file save request is more, and the terminal may automatically trigger at the set time point, or the user manually triggers, for example, the user clicks the terminal virtual button “Save” button to trigger the file save request.
  • the terminal acquires the file associated with the file save request, and the terminal saves the file to the local storage, and generates attribute information of the file, including: file type, file size, file creation time, file modification.
  • the time, the file access time, the file storage path, and the like the terminal establishes an association relationship between the file and the corresponding attribute information, where the relationship between the file and the corresponding attribute information may be a one-to-one mapping relationship or a table. form.
  • Step S12 Receive a file sharing request, obtain the to-be-shared file in the file sharing instruction, and obtain the attribute information according to the association relationship.
  • the terminal receives the file sharing request, where the file sharing request refers to a request corresponding to the file selection performed before the user sends the file to the public platform or the file is sent to the receiving user end, and the terminal does not perform the file sending operation, wherein the file is triggered.
  • sharing requests may be that the terminal automatically triggers at the set time, or when the user operates based on the file, manually triggers the file file type identification instruction, and the file sharing request needs to be supplemented, which is before the file sending instruction. In one step, it can be understood that the user selects to send a file request.
  • the user clicks the virtual button of “add sharing information” on the terminal display interface to trigger a file sharing request, the terminal receives the file sharing request, and the terminal acquires the file in the sharing request.
  • the terminal acquires attribute information corresponding to the file according to the association relationship. Determine if the file is a screen capture file.
  • step S13 the attribute information is compared with the preset screen capture determination rule, and it is determined whether the file to be shared is a screen capture file.
  • the terminal compares the attribute information with the preset screen capture determination rule to determine whether the file to be shared is a screen capture file, wherein the preset screen capture determination rule refers to a determination rule set in advance according to the standard information of the screen capture file, for example, storage of a standard screen capture file.
  • the path includes storage path information such as screenshot. If the file attribute information includes storage path information such as screenshot, the terminal determines that the file to be shared is a screen capture file.
  • the terminal determines, according to the attribute information, whether the file is a different implementation manner of the screen capture file.
  • three implementation forms are specifically provided:
  • Method 1 according to the file storage path in the attribute information, including:
  • the terminal compares the file storage path in the attribute information with a preset path in the preset screen capture determination rule
  • the file storage path in the attribute information matches the preset path in the preset screenshot determination rule, it is determined that the file to be shared is a screen capture file.
  • the file is determined to be a screen capture file according to the storage path information of the file, that is, the terminal stores the file storage path in the attribute information and a preset path in the preset screen capture determination rule (the preset path is in advance).
  • the standard path information of the set screen capture file is compared; if the file storage path in the attribute information matches the preset path in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file, in this embodiment Under the condition that the user does not change the storage path, the screen capture file can be accurately identified to ensure the accuracy of the screen capture file identification.
  • Method 2 according to the file size information in the attribute information, including:
  • the file size data in the attribute information matches the preset size in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
  • the file size information in the attribute information is specifically described, that is, the file size data in the attribute information and the preset size in the preset screen capture determination rule (preset size: is the standard size of the screen capture file, The preset size of the normal screen capture is equal to the size of the terminal display screen, the width of the screenshot file of the long screen is the same as the width of the terminal display screen, and the preset size of the free screen capture is smaller than the size of the terminal display screen; if the file in the attribute information The size data is matched with the preset size in the preset screen capture determination rule, and the file to be shared is determined to be a screen capture file.
  • the screen capture file can be accurately identified according to the screen size and the file size of the terminal. The screen capture file is accurately identified when the user takes a normal screen shot.
  • Mode 3 according to the time information in the attribute information, including:
  • the file to be shared is a screen capture file.
  • the time information in the attribute information is specifically described, that is, the time when the terminal acquires the generation time in the attribute information and the current display time of the terminal display screen, and the time interval between the generation time and the current display time of the terminal display screen is obtained;
  • the generation time refers to the generation time of the screen capture file, that is, the time information displayed on the screen capture file can be identified, and the generation time of the screen capture file is obtained, for example, the user screen captures the terminal, and the terminal display time included in the screen capture file is the generation of the screen capture file.
  • the terminal sets the time interval in the attribute information and the preset time in the preset screen capture determination rule (preset time: is the interval between the preset file generation time and the display time on the terminal, and can be set to 1 second according to the specific situation. If the time interval matches the preset time in the preset screen capture determination rule, the file to be shared is determined to be a screen capture file. In this embodiment, the terminal generates the screen capture file and the current display screen of the terminal. Display the difference in time, determine whether the file is a screen capture file, and increase the screen capture file. The accuracy of the identification.
  • the implementation manner of determining the screen capture file according to the attribute information is specifically given in this embodiment, and each mode can be combined to accurately identify the screen capture file.
  • the terminal first reduces the current time of the application in the foreground.
  • the time to add the database image is less than 1 second; again, the image size is not larger than the screen size; finally, the image path keyword includes: ""screen Cap", "screenshot” or “screenshot” keywords; the specific implementation of the combination is not detailed.
  • Step S14 If the file to be shared is a screen capture file, output a screen capture file sharing risk prompt.
  • the terminal determines that the file to be shared is a screen capture file
  • the terminal displays an output screen capture file sharing risk prompt. For example, the terminal determines that the file shared by the user is a screen capture file, and the terminal displays a floating frame, and displays the file as a screen capture file in the floating box. Share the risk of whether to continue sharing, to remind users of the risk of screen file sharing.
  • the files to be saved in the present application are compared according to the set rules, and the saved file is accurately identified as a screen capture file.
  • the screenshot is sent according to the screen capture file sent by the user.
  • the file displays information detection, which realizes sensitive information monitoring of screen capture files in the personal field and reduces the leakage of sensitive personal information.
  • step S13 in the first embodiment is a refinement of step S13 in the first embodiment.
  • the storage of the file to be shared is a screen capture file according to the preset screen capture determination rule:
  • step S131 the attribute information is compared with a preset screen capture determination rule, where the attribute information includes: a storage path and/or size data.
  • the terminal includes attribute information (wherein the attribute information includes: a storage path and/or a size data, and further, the attribute information further includes a file type, a file size, a file creation time, a file modification time, a file access time, etc., The description will not be repeated here).
  • the preset screen capture determination rule is a determination rule preset according to the standard attribute information of the screen capture file, for example, the storage path in the preset screen capture determination rule.
  • the decision rule is that the path standard identifier of the screen capture file, or the path keyword is also included: "screenshot”, “screen_shot”, “screen-shot”, “screen Shot”, “screencapture”, “screen_capture”, “screen-capture”, “screen Capture”, “screencap”, “screen_cap”, “screen-cap”, “screen Cap”, “screenshot” or “screenshot” means that the terminal determines the rule according to the storage path in the preset screen capture decision rule.
  • step S132 if the storage identifier corresponding to the storage path matches the path standard identifier in the preset screen capture determination rule and/or the size data matches the screen size in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
  • the terminal determines that the storage identifier corresponding to the storage path matches the path standard identifier in the preset screen capture determination rule and/or the size data matches the screen size in the preset screen capture determination rule, for example, if the path of the screen capture file includes: “screen capture”
  • the terminal compares the "screen capture” with the path standard identifier of the screen capture file in the preset screen capture determination rule.
  • the path standard identifier of the screen capture file in the preset screen capture determination rule includes "screen capture”
  • the storage identifier corresponding to the storage path and The preset screen capture determination rule is matched; and/or the picture size in the size data attribute information is compared with the screen size of the terminal in the preset screen capture determination rule, if the picture size is the same as the screen size, that is, the size data and the preset screen capture determination rule If the screen size in the match is matched, it is determined that the file to be shared is a screen capture file.
  • the terminal specifically determines, according to the attribute information and the preset screen capture determination rule, that the file to be shared is a screen capture file, compared with the existing screen capture monitoring, the prior art determines when the screen capture instruction is triggered. It is a screen capture file and saved. In the latter stage, the screen capture file cannot be identified. In this implementation, the accuracy of the screen capture file identification is guaranteed.
  • the step of identifying the display information of the screen capture file includes:
  • Step S21 Receive an identification instruction triggered by the screen capture file, and identify the information category of the display information and the display information included in the screen capture file.
  • the terminal receives the identification instruction triggered by the screen capture file, and identifies the information category of the display information and the display information contained in the screen capture file. For example, the terminal determines to identify the screen capture file, and the screen capture file may include text, symbols or other identification information, and the terminal may include Determines whether the text, symbol, or other identifying information contained in the screen capture file belongs to the text category or to the image category.
  • Step S22 Acquire pre-set sensitive information of the information category in the preset sensitive information database, and compare the display information with the preset sensitive information.
  • the terminal acquires the preset sensitive information database (the preset sensitive information database includes sensitive text information, sensitive image identification information, etc., for example, the sensitive information can be set to the user's personal identification number, home address, etc.)
  • the sensitive information compares the display information with the preset sensitive information, that is, if the display information included in the screen capture file is text information, the terminal acquires the preset sensitive text in the preset sensitive information database, and the terminal includes the text in the screen capture file.
  • the information is compared with preset sensitive text in a preset sensitive information base.
  • step S23 if the display information matches the preset sensitive information, it is determined that the screen capture file contains sensitive information, and the screen capture file is added with a sensitive label.
  • the terminal includes the text information in the screen capture file and the preset sensitive text in the preset sensitive information database, and the terminal determines that the screen file contains the text information and the preset sensitive information database.
  • the preset sensitive text matching, or the icon information contained in the screen capture file and the preset sensitive icon in the preset sensitive information database are more than 95%, the terminal determines that the icon information is included and the preset sensitive information in the preset sensitive information database The icon matches, the terminal determines that the screen capture file contains sensitive information, and the terminal adds a sensitive label to the screen capture file to determine whether the screen capture file involves sensitive information according to the sensitive label.
  • the terminal identifies the display information in the screen capture file, and accurately identifies whether the screen capture file contains sensitive information, so as to monitor the transmission of the screen capture file according to the usage, and the user reminds the user that the page has sensitive information, in this embodiment.
  • the detailed identification of the screen capture file ensures the security of the screen capture file information.
  • the steps when the screen capture file is sent include:
  • Step S31 Receive a sending instruction triggered by the screen capture file, obtain a receiving account included in the sending instruction, and determine whether the screen capture file has a sensitive label.
  • the terminal receives the sending instruction triggered by the screen capture file. For example, when the user selects the shared screen capture file, the user clicks the “send” virtual button on the display screen, or the user voice verbal, triggers the terminal to send an instruction, and the terminal acquires the sending instruction to include Receive the account and determine if there is a sensitive tag in the screenshot file.
  • step S32 if the screen capture file has a sensitive label, the sensitive information in the screen capture file is blurred, and the transmission file is obtained.
  • the terminal determines that the screen capture file has a sensitive label
  • the terminal performs a blurring process on the sensitive information in the screen capture file, where the blurring process refers to the blurring of the screen capture file, and the purpose is to prevent sensitive information from being leaked, for example, Mosaic the user's name, or the user's face, to get the transfer file.
  • step S32 includes:
  • step a1 if the screen capture file contains a sensitive label, the coordinate data of the sensitive information in the screen capture file is determined.
  • step a2 the sensitive information of the corresponding coordinate position is blurred to obtain a transmission file.
  • the terminal determines that the screen capture file contains the sensitive label, and the terminal identifies the location information of the sensitive information in the screen capture file, and the terminal performs the blur at the location information of the screen capture file sensitive information to ensure that the overall screen capture file is not affected. Accurately process sensitive information on screen capture files.
  • Step S33 Send the transmission file to the receiving account corresponding client to prevent leakage of personal sensitive information.
  • the terminal sends the transmission file to the receiving account corresponding client, for example, the user sends a screen capture file to the corresponding message on the WeChat to prevent leakage of personal sensitive information.
  • the terminal sends the processed screenshot file to the user end, so that the leakage of the personal sensitive information is reduced, the user experience is improved, and the overall screen capture file is not affected.
  • the step of determining the screen capture file transmission includes:
  • step S41 if the display information does not match the preset sensitive information, the application to which the screen capture file belongs is determined, and the application to which the screen capture file belongs is used as the target application.
  • the terminal display information does not match the preset sensitive information, that is, the screen capture file does not have obvious sensitive information
  • the terminal further determines the application of the screen capture file, and uses the application of the screen capture file as the target application, and the terminal needs to determine the screen capture file.
  • the application may be determined according to the display identifier on the screen capture file, or may be determined according to the program run by the terminal when the screen capture file is generated. Specifically, the method for determining the application of the screen capture file does not constitute a limitation on the present application.
  • Step S42 Determine a sensitivity level of the target application according to the preset application level table, and determine whether the sensitivity level of the target application exceeds a preset threshold.
  • the terminal determines the sensitivity level of the target application according to the preset application level table (the preset application level table: refers to setting according to the application type, for example, the application sensitive level of the financial information such as Alipay is the highest level), and determines the sensitivity of the target application. Whether the level exceeds the preset threshold, the preset threshold is set according to specific conditions. For example, the user screen file is the Alipay transaction interface, the Alipay transaction interface contains data information, the terminal determines that the Alipay transaction interface has no sensitive label, and the terminal will use the Alipay preset application level. The table is traversed, and the sensitivity level of the Alipay is determined to be level 3, and the terminal compares the sensitivity level 3 with the preset threshold level 2.
  • the preset application level table refers to setting according to the application type, for example, the application sensitive level of the financial information such as Alipay is the highest level
  • the preset threshold is set according to specific conditions.
  • the user screen file is the Alipay transaction interface
  • the Alipay transaction interface contains data information
  • Step S43 If the sensitivity level of the target application exceeds a preset threshold, the screen capture file sending permission setting prompt information is output, so that the user inputs the verification standard information of the screen file sending permission.
  • the terminal If the target application sensitive level exceeds the preset threshold, that is, the target application is sensitive, the terminal outputs the screen capture file sending permission setting prompt information for the user to set the sending permission of the screen capture file, for example, the terminal displays “Please set the screen file to send the verification.
  • the information prompts the user to set the verification standard information of the permission permission of the user to send the authority, and the verification authority for the operation of the screen capture file is verified by the user later.
  • the sensitivity level of the target application does not exceed the preset threshold, the user's later operation is directly performed.
  • the user is prompted to set the verification standard information of the screen capture file, and when the user edits the screen capture file or other operations later, the user is verified to ensure the security of the screen capture file.
  • the terminal needs to perform the rights verification, that is,
  • Step S44 receiving a screen capture file sending instruction, and acquiring identity verification information in the screen capture file sending instruction.
  • the terminal receives the screen capture file sending instruction, the user triggers the screen capture file sending instruction on the terminal screen capture file, and the terminal acquires the identity verification information in the screen capture file sending instruction, and the identity verification information may be the user input verification information, for example, the screen capture file sending instruction includes Password verification information.
  • step S45 the identity verification information is compared with the verification standard information. If the identity verification information matches the verification standard information, it is determined that the user has the permission to send the screen capture file, and the screen capture file is sent.
  • the terminal compares the authentication information with the verification standard information. If the authentication information matches the verification standard information, the terminal determines that the user has the permission to send the screen capture file, and sends the screen capture file; if the identity verification information does not match the verification standard information, Then, it is determined that the user does not have the permission to send the screen capture file, does not send the screen capture file, locks the screen capture file, and prevents the user from editing the screen capture file.
  • the permission verification is performed on the sending of the partial screen capture file.
  • the terminal verifies whether the user has the transmission authority, and the terminal performs the transmission of the screen capture file to prevent the information leakage caused by the editing by others.
  • control device for screen file sharing includes:
  • the save creation module 10 is configured to receive a file save request, save the file associated with the file save request to the local storage, generate corresponding attribute information, and establish an association relationship between the file and the attribute information;
  • the receiving and obtaining module 20 is configured to receive a file sharing request, obtain a file to be shared in the file sharing instruction, and obtain attribute information according to the association relationship;
  • the comparison determination module 30 is configured to compare the attribute information with the preset screen capture determination rule, and determine whether the file to be shared is a screen capture file;
  • the prompting module 40 is configured to output a screenshot file sharing risk prompt if the file to be shared is a screen capture file.
  • the embodiment of the present application further provides a computer storage medium.
  • the computer storage medium stores a control program for screen capture file sharing, and the control program of the screen capture file sharing is executed by the processor to implement the operation in the control method of screen capture file sharing provided by the foregoing embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed is a screenshot file sharing control method, comprising the following steps: receiving a file storage request, storing a file associated with the file storage request to the local for storage, generating corresponding attribute information, and establishing association relationship between the file and the attribute information; receiving a file sharing request, obtaining a file to be shared in a file sharing instruction, and obtaining the attribute information according to the association relationship; comparing the attribute information with a preset screenshot determining rule, and determining whether the file to be shared is a screenshot file; and if the file to be shared is a screenshot file, outputting a screenshot file sharing risk prompt. Also disclosed are a screenshot file sharing control apparatus and device, and a computer storage medium.

Description

截屏文件分享的控制方法、装置、设备和计算机存储介质  Control method, device, device and computer storage medium for screen capture file sharing
本申请要求于2018年3月15日提交中国专利局、申请号为201810212956.6、发明名称为“截屏文件分享的控制方法、装置、设备和计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of the Chinese Patent Application filed on March 15, 2018, the Chinese Patent Office, Application No. 201101212956.6, and the invention entitled "Control Method, Apparatus, Device and Computer Storage Media for Screen Capture Sharing", the entire contents of which is incorporated herein by reference. It is incorporated in the application by reference.
技术领域Technical field
本申请涉及截屏监控领域,尤其涉及截屏文件分享的控制方法、装置、设备和计算机存储介质。The present application relates to the field of screen capture monitoring, and in particular, to a method, device, device and computer storage medium for controlling screen file sharing.
背景技术Background technique
随着网络信息的快速发展,信息爆炸式增长,人们作为信息的使用者和制造者有信息管理的权利和义务,截屏文件在信息传输中占有半壁江山,有效地对截屏文件进行管理具有不可忽视的作用。With the rapid development of network information and the explosive growth of information, people as information users and manufacturers have the right and obligation of information management. Screen capture files occupy half of the information transmission, and effective management of screen capture files cannot be ignored. effect.
现有的截屏文件缺乏检测机制,截屏文件存在敏感信息,现有文件的分享没有个人领域的敏感信息监测,容易造成个人敏感信息的泄露。The existing screen capture files lack detection mechanism, and the screen capture files have sensitive information. The sharing of existing files does not involve sensitive information monitoring in the personal field, which may easily lead to the leakage of sensitive personal information.
上述内容仅用于辅助理解本申请的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present application, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
本申请提供一种由计算机执行的控制截屏文件分享的方法、装置、设备和计算机存储介质,通过对截屏文件进行识别,以减少个人敏感信息的泄露,保障信息安全性。The present application provides a method, device, device and computer storage medium for controlling screen file sharing performed by a computer, which can reduce the leakage of personal sensitive information and ensure information security by identifying screen capture files.
本申请提供一种由计算机执行的控制截屏文件分享的方法,所述截屏文件分享的控制方法包括以下步骤:The present application provides a method for controlling screen file sharing performed by a computer, and the method for controlling screen file sharing includes the following steps:
接收文件保存请求,将文件保存请求关联的文件保存至本地存储,生成对应的属性信息,建立文件与属性信息之间的关联关系;Receiving a file save request, saving the file associated with the file save request to the local storage, generating corresponding attribute information, and establishing an association relationship between the file and the attribute information;
接收文件分享请求,获取文件分享指令中的待分享文件,根据所述关联关系获取的属性信息;Receiving a file sharing request, obtaining a to-be-shared file in the file sharing instruction, and acquiring attribute information according to the association relationship;
将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件;Comparing the attribute information with the preset screen capture determination rule, and determining whether the file to be shared is a screen capture file;
若待分享文件是截屏文件,则输出截屏文件分享风险提示。If the file to be shared is a screen capture file, the screen capture file shares the risk warning.
可选地,所述将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件的步骤包括:Optionally, the step of comparing the attribute information with the preset screen capture determination rule, and determining whether the file to be shared is a screen capture file includes:
将属性信息与预设截屏判定规则进行比对,其中,所述属性信息中包括:存储路径和/或尺寸数据;Comparing the attribute information with the preset screen capture determination rule, wherein the attribute information includes: a storage path and/or size data;
若存储路径对应的存储标识与预设截屏判定规则中的路径标准标识匹配和/或尺寸数据与预设截屏判定规则中的屏幕尺寸匹配,则判定所述待分享文件是截屏文件。If the storage identifier corresponding to the storage path matches the path standard identifier in the preset screen capture determination rule and/or the size data matches the screen size in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
可选地,所述将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件的步骤,还包括:Optionally, the step of comparing the attribute information with the preset screen capture determination rule, and determining whether the file to be shared is a screen capture file, further includes:
获取属性信息中的生成时间与终端显示屏当前显示时间,得到生成时间与终端显示屏当前显示时间的时间间隔;Obtaining the generation time in the attribute information and the current display time of the terminal display, and obtaining the time interval between the generation time and the current display time of the terminal display;
将属性信息中的时间间隔与预设截屏判定规则中的预设时间进行比对;Comparing the time interval in the attribute information with the preset time in the preset screen capture determination rule;
若时间间隔与预设截屏判定规则中的预设时间匹配,则判定所述待分享文件是截屏文件。If the time interval matches the preset time in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
可选地,所述若待分享文件是截屏文件,则输出截屏文件分享风险提示的步骤之后,包括:Optionally, if the file to be shared is a screen capture file, after the step of outputting the screen file sharing risk prompt, the method includes:
接收基于截屏文件触发的识别指令,识别截屏文件中包含的显示信息及其显示信息的信息类别;Receiving an identification instruction triggered by the screen capture file, identifying the information category of the display information and the display information contained in the screen capture file;
获取预置敏感信息库中所述信息类别的预设敏感信息,将显示信息与预设敏感信息进行比对;Obtaining preset sensitive information of the information category in the preset sensitive information database, and comparing the display information with the preset sensitive information;
若显示信息与预设敏感信息匹配,则判定截屏文件中包含敏感信息,将截屏文件添加敏感标签。If the displayed information matches the preset sensitive information, it is determined that the screen capture file contains sensitive information, and the screen capture file is added with a sensitive label.
可选地,所述若显示信息与预设敏感信息匹配,则判定截屏文件中包含敏感信息,将截屏文件添加敏感标签的步骤之后,包括:Optionally, if the display information is matched with the preset sensitive information, determining that the screen capture file contains sensitive information, and adding the sensitive label to the screen capture file includes:
接收基于截屏文件触发的发送指令,获取发送指令中包含的接收账户,并判断截屏文件中是否具有敏感标签;Receiving a sending instruction triggered by the screen capture file, obtaining a receiving account included in the sending instruction, and determining whether the screen capture file has a sensitive label;
若截屏文件中具有敏感标签,则对截屏文件中的敏感信息上进行虚化处理,得到传输文件;If the screen capture file has a sensitive label, the sensitive information in the screen capture file is blurred to obtain a transmission file;
将所述传输文件发送至接收账户对应客户端,以防止个人敏感信息的泄露。Sending the transmission file to the receiving account corresponding client to prevent leakage of personal sensitive information.
可选地,所述若截屏文件中具有敏感标签,则对截屏文件中的敏感信息上进行虚化处理,得到传输文件的步骤包括:Optionally, if the screen capture file has a sensitive label, the sensitive information in the screen capture file is blurred, and the step of obtaining the transmission file includes:
若截屏文件中包含敏感标签,则确定截屏文件中敏感信息所处坐标数据;If the screen capture file contains a sensitive label, the coordinate data of the sensitive information in the screen capture file is determined;
将所述对应坐标位置的敏感信息进行虚化,得到传输文件。The sensitive information of the corresponding coordinate position is blurred to obtain a transmission file.
可选地,所述获取预置敏感信息库中所述信息类别的预设敏感信息,将显示信息与预设敏感信息进行比对的步骤之后,包括:Optionally, after the step of acquiring the preset sensitive information of the information category in the preset sensitive information database and comparing the display information with the preset sensitive information, the method includes:
若显示信息与预设敏感信息不匹配,则确定截屏文件所属应用,将截屏文件所属应用作为目标应用;If the display information does not match the preset sensitive information, determine the application to which the screen capture file belongs, and apply the application to which the screen capture file belongs as the target application;
根据预设应用等级表确定目标应用的敏感级别,并判断目标应用的敏感级别是否超过预设阈值;Determining a sensitivity level of the target application according to the preset application level table, and determining whether the sensitivity level of the target application exceeds a preset threshold;
若目标应用的敏感级别超过预设阈值,则输出截屏文件发送权限设置提示信息,以供用户输入截屏文件发送权限的验证标准信息;If the sensitivity level of the target application exceeds a preset threshold, the screen capture file sending permission setting prompt information is output, so that the user inputs the verification standard information of the screen file sending permission;
接收截屏文件发送指令,获取截屏文件发送指令中的身份验证信息;Receiving a screen capture file sending instruction, and acquiring identity verification information in the screen capture file sending instruction;
将身份验证信息与验证标准信息进行比对,若身份验证信息与验证标准信息匹配,则判定用户具有截屏文件发送权限,并进行截屏文件的发送。The authentication information is compared with the verification standard information. If the authentication information matches the verification standard information, it is determined that the user has the permission to send the screen capture file, and the screen capture file is sent.
此外,为实现上述目的,本申请还提供一种截屏文件分享的控制装置,所述截屏文件分享的控制装置包括:In addition, in order to achieve the above object, the present application further provides a control device for screen file sharing, and the control device for sharing the screen file includes:
保存建立模块,设置为接收文件保存请求,将文件保存请求关联的文件保存至本地存储,生成对应的属性信息,建立文件与属性信息之间的关联关系;The save creation module is configured to receive a file save request, save the file associated with the file save request to the local storage, generate corresponding attribute information, and establish an association relationship between the file and the attribute information;
接收获取模块,设置为接收文件分享请求,获取文件分享指令中的待分享文件,根据所述关联关系获取的属性信息;Receiving an obtaining module, configured to receive a file sharing request, obtain a file to be shared in the file sharing instruction, and obtain attribute information according to the association relationship;
比对判定模块,设置为将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件;The comparison determination module is configured to compare the attribute information with the preset screen capture determination rule, and determine whether the file to be shared is a screen capture file;
显示提示模块,设置为若待分享文件是截屏文件,则输出截屏文件分享风险提示。The prompt module is displayed, and if the file to be shared is a screen capture file, the screen capture file sharing risk prompt is output.
此外,为实现上述目的,本申请还提供一种截屏文件分享的控制设备,所述截屏文件分享的控制设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的截屏文件分享的控制程序,其中:In addition, in order to achieve the above object, the present application further provides a control device for screen file sharing, where the control device for screen capture sharing includes: a memory, a processor, and is stored on the memory and operable on the processor The screenshot control file sharing control program, where:
所述截屏文件分享的控制程序被所述处理器执行时实现上述的截屏文件分享的控制方法的步骤。The step of controlling the screen capture file sharing method when the control program of the screen capture file is executed by the processor.
此外,为实现上述目的,本申请还提供一种计算机存储介质;In addition, to achieve the above object, the present application further provides a computer storage medium;
所述计算机存储介质上存储有截屏文件分享的控制程序,所述截屏文件分享的控制程序被处理器执行时实现如上述的截屏文件分享的控制方法的步骤。The computer storage medium stores a control program for screen capture file sharing, and the control program of the screen capture file sharing is executed by the processor to implement the steps of the control method of the screen capture file sharing as described above.
本申请实施例提出的截屏文件分享的控制方法、装置、设备和计算机存储介质,通过终端接收文件保存请求,将文件保存请求关联的文件保存至本地存储,生成对应的属性信息,建立文件与属性信息之间的关联关系;用户在终端行触发文件分享请求,终端接收文件分享请求,获取文件分享指令中的待分享文件,根据所述关联关系获取的属性信息;将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件;若待分享文件是截屏文件,则输出截屏文件分享风险提示。本申请中将保存的文件按预设截屏判定规则进行比对,准确识别保存的文件是否为截屏文件,在确定终端保存文件是截屏文件时,终端进行截屏文件显示信息检测,实现了个人领域截屏文件的敏感信息监测,减少个人敏感信息的泄露。The method, device, device and computer storage medium for controlling screen capture file sharing according to the embodiment of the present invention receive a file save request by the terminal, save the file associated with the file save request to local storage, generate corresponding attribute information, and create a file and an attribute. The association relationship between the information; the user triggers the file sharing request in the terminal line, the terminal receives the file sharing request, obtains the to-be-shared file in the file sharing instruction, and obtains the attribute information according to the association relationship; the attribute information and the preset screen capture are determined. The rule is compared, and it is determined whether the file to be shared is a screen capture file; if the file to be shared is a screen capture file, the screen capture file sharing risk prompt is output. In the present application, the saved files are compared according to the preset screen capture determination rules, and the saved file is accurately identified as a screen capture file. When it is determined that the terminal save file is a screen capture file, the terminal performs screen capture file display information detection, and implements a personal field screen capture. Sensitive information monitoring of documents reduces the leakage of sensitive personal information.
附图说明DRAWINGS
图1是本申请实施例方案涉及的硬件运行环境的装置结构示意图;1 is a schematic structural diagram of an apparatus of a hardware operating environment involved in an embodiment of the present application;
图2为本申请截屏文件分享的控制方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of a method for controlling screen file sharing according to the present application;
图3为图2中截屏文件分享的控制方法的步骤S13的细化流程示意图;3 is a schematic flowchart of the refinement of step S13 of the control method for screen capture file sharing in FIG. 2;
图4为本申请截屏文件分享的控制方法第二实施例的流程示意图;4 is a schematic flowchart of a second embodiment of a method for controlling screen file sharing according to the present application;
图5为本申请截屏文件分享的控制方法第三实施例的流程示意图;5 is a schematic flowchart of a third embodiment of a method for controlling screen file sharing according to the present application;
图6为本申请截屏文件分享的控制方法第四实施例的流程示意图;6 is a schematic flowchart of a fourth embodiment of a method for controlling screen file sharing according to the present application;
图7为本申请截屏文件分享的控制装置一实施例的功能模块示意图。FIG. 7 is a schematic diagram of functional modules of an embodiment of a control device for screen capture file sharing according to the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
现有技术中终端设备的截屏功能也包括三种:普通截屏,可以截取整个屏幕;自由截屏,可以由用户自主决定截屏范围即为自由截屏,这种方式适用于用户出于隐私等方面的考虑,只想截取部分内容的情况;长截屏,用户有时不仅需要截出手机一屏的内容,还需要截出超过界面的内容,如聊天软件中的一段对话非常长,超过一屏,需要一次性截出一张长图,这时需要用到长截屏功能,现有的终端在用户触发截屏指令时,终端将截屏文件保存至本地存储,用户基于存储的截屏文件进行编辑处理或者发送,在用户后期对截屏文件的编辑操作时,终端并不可以有针对性的对截屏文件进行检测,可能导致截屏文件中的敏感信息泄露等情况的发生。In the prior art, the screen capture function of the terminal device also includes three types: a normal screen capture, which can intercept the entire screen; a free screen capture, which can be determined by the user to determine the screen capture range, that is, a free screen capture, which is suitable for users in terms of privacy and the like. Just want to intercept part of the content; long screen shot, users sometimes need not only cut out the content of a screen of the mobile phone, but also need to cut out the content of the interface, such as a conversation in the chat software is very long, more than one screen, need one time Cut out a long picture, then you need to use the long screen function. When the user triggers the screen capture command, the terminal saves the screen capture file to the local storage. The user edits or sends the screen capture file based on the stored screen file. During the editing operation of the screen capture file, the terminal may not detect the screen capture file in a targeted manner, which may lead to the leakage of sensitive information in the screen capture file.
本申请实施例的主要解决方案是:在检测到用户对存储文件的操作指令时,自动触发文件的识别指令,终端接收文件分享请求,获取文件分享指令中的待分享文件,根据所述关联关系获取的属性信息;将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件;若待分享文件是截屏文件,则输出截屏文件分享风险提示。在用户触发文件编辑处理或者发送指令时,终端对截屏文件进行识别,以防止用户发送的截屏文件包含敏感信息。The main solution of the embodiment of the present application is: when the operation instruction of the storage file is detected by the user, the file identification instruction is automatically triggered, the terminal receives the file sharing request, and obtains the file to be shared in the file sharing instruction according to the association relationship. Obtaining the attribute information; comparing the attribute information with the preset screen capture determination rule, and determining whether the file to be shared is a screen capture file; if the file to be shared is a screen capture file, outputting the screen capture file sharing risk prompt. When the user triggers file editing processing or sends an instruction, the terminal identifies the screen capture file to prevent the screen capture file sent by the user from containing sensitive information.
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment involved in an embodiment of the present application.
本申请实施例终端可以固定终端,也可以是移动终端,其中,固定终端如“物联网设备”、带联网功能的智能空调、智能电灯、智能电源等等;移动终端,如带联网功能的AR/VR设备,智能音箱、自动驾驶汽车、PC,智能手机、平板电脑、电子书阅读器、便携计算机等具有显示功能的终端设备。The terminal in the embodiment of the present application may be a fixed terminal or a mobile terminal, wherein the fixed terminal is an "Internet of Things device", a smart air conditioner with networking function, a smart electric light, a smart power source, etc.; a mobile terminal, such as an AR with networking function /VR devices, smart speakers, self-driving cars, PCs, smart phones, tablets, e-book readers, portable computers and other terminal devices with display functions.
如图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. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块;输入单元,比显示屏,触摸屏;网络接口可选除无线接口中除WiFi外,蓝牙、探针、3G/4G/5G联网基站设备等等。其中,传感器比如光传感器、运动传感器以及其他传感器。Optionally, the terminal may further include a camera, RF (Radio) Frequency, RF) circuit, sensor, audio circuit, WiFi module; input unit, display screen, touch screen; network interface optional in addition to wireless interface in addition to WiFi, Bluetooth, probe, 3G/4G/5G networked base station equipment, etc. . Among them, sensors such as light sensors, motion sensors, and other sensors.
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
如图1所示,该计算机软件产品存储在一个存储介质(存储介质:又叫计算机存储介质、计算机介质、可读介质、可读存储介质、计算机可读存储介质或者直接叫介质等,如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及截屏文件分享的控制应用程序。As shown in FIG. 1, the computer software product is stored in a storage medium (storage medium: also called computer storage medium, computer medium, readable medium, readable storage medium, computer readable storage medium or directly called medium, such as ROM). /RAM, disk, CD-ROM, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the various embodiments of the present application as a The memory 1005 of the computer storage medium may include an operating system, a network communication module, a user interface module, and a control application for screen file sharing.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的截屏文件分享的控制应用程序,并执行用于以下实施例提供的截屏文件分享的控制方法中的步骤。In the terminal shown in FIG. 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client; and the processor 1001 may be used to call a control application for screen capture sharing stored in the memory 1005 and perform the steps in the control method for screen file sharing provided by the following embodiments.
参照图2,本申请截屏文件分享的控制方法的第一实施例中,所述截屏文件分享的控制方法包括: Referring to FIG. 2, in a first embodiment of the method for controlling screen file sharing, the method for controlling screen file sharing includes:
步骤S11,接收文件保存请求,将文件保存请求关联的文件保存至本地存储,生成对应的属性信息,建立文件与属性信息之间的关联关系。Step S11: Receive a file save request, save the file associated with the file save request to local storage, generate corresponding attribute information, and establish an association relationship between the file and the attribute information.
终端接收文件保存请求,其中,触发文件保存请求的方式较多,可以是终端在设定时间点是自动触发,或者是用户手动触发,例如,用户点击终端虚拟按键“保存”按钮触发文件保存请求,在终端接收到文件保存请求时,终端获取文件保存请求关联的文件,终端将文件保存至本地存储,并生成文件的属性信息,属性信息包括:文件类型、文件大小、文件创建时间、文件修改时间、文件访问时间、文件存储路径等,终端将文件与对应的属性信息之间建立关联关系,其中,文件与对应的属性信息之间的关联关系,可以是一一映射关系,也可以是表格形式。The terminal receives the file save request, wherein the method for triggering the file save request is more, and the terminal may automatically trigger at the set time point, or the user manually triggers, for example, the user clicks the terminal virtual button “Save” button to trigger the file save request. When the terminal receives the file save request, the terminal acquires the file associated with the file save request, and the terminal saves the file to the local storage, and generates attribute information of the file, including: file type, file size, file creation time, file modification. The time, the file access time, the file storage path, and the like, the terminal establishes an association relationship between the file and the corresponding attribute information, where the relationship between the file and the corresponding attribute information may be a one-to-one mapping relationship or a table. form.
步骤S12,接收文件分享请求,获取文件分享指令中的待分享文件,根据所述关联关系获取的属性信息。Step S12: Receive a file sharing request, obtain the to-be-shared file in the file sharing instruction, and obtain the attribute information according to the association relationship.
终端接收文件分享请求,文件分享请求是指用户将文件发送至公共平台或者文件发送至接收用户端之前,进行的文件选择对应的请求,此时终端并没有进行文件的发送操作,其中,触发文件分享请求的形式较多,可以是终端在设定时间点是自动触发,或者用户基于文件进行操作时,手动触发文件文件类型识别指令,需要补充说明的是文件分享请求,是文件发送指令的前一个步骤,可理解为用户选择发送文件请求,例如,用户在终端显示界面上点击“添加分享信息”的虚拟按键,触发文件分享请求,终端接收文件类分享请求,终端获取分享请求中的文件,终端根据关联关系获取文件对应的属性信息, 以确定文件是否为截屏文件。The terminal receives the file sharing request, where the file sharing request refers to a request corresponding to the file selection performed before the user sends the file to the public platform or the file is sent to the receiving user end, and the terminal does not perform the file sending operation, wherein the file is triggered. There are many forms of sharing requests, which may be that the terminal automatically triggers at the set time, or when the user operates based on the file, manually triggers the file file type identification instruction, and the file sharing request needs to be supplemented, which is before the file sending instruction. In one step, it can be understood that the user selects to send a file request. For example, the user clicks the virtual button of “add sharing information” on the terminal display interface to trigger a file sharing request, the terminal receives the file sharing request, and the terminal acquires the file in the sharing request. The terminal acquires attribute information corresponding to the file according to the association relationship. Determine if the file is a screen capture file.
步骤S13,将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件。In step S13, the attribute information is compared with the preset screen capture determination rule, and it is determined whether the file to be shared is a screen capture file.
终端将属性信息与预设截屏判定规则进行比对,判断待分享文件是否为截屏文件,其中,预设截屏判定规则是指预先根据截屏文件标准信息设置的判定规则,例如,标准截屏文件的存储路径中包含screenshot等存储路径信息,若文件属性信息中包含screenshot等存储路径信息,则终端判定待分享文件是截屏文件。The terminal compares the attribute information with the preset screen capture determination rule to determine whether the file to be shared is a screen capture file, wherein the preset screen capture determination rule refers to a determination rule set in advance according to the standard information of the screen capture file, for example, storage of a standard screen capture file. The path includes storage path information such as screenshot. If the file attribute information includes storage path information such as screenshot, the terminal determines that the file to be shared is a screen capture file.
可选地,终端根据属性信息确定文件的是否为截屏文件有不同的实现方式,本实施例中具体给出三种实现形式:Optionally, the terminal determines, according to the attribute information, whether the file is a different implementation manner of the screen capture file. In this embodiment, three implementation forms are specifically provided:
方式一,根据属性信息中的文件存储路径,包括:Method 1, according to the file storage path in the attribute information, including:
终端将属性信息中的文件存储路径与预设截屏判定规则中的预设路径进行比对;The terminal compares the file storage path in the attribute information with a preset path in the preset screen capture determination rule;
若属性信息中的文件存储路径与预设截屏判定规则中的预设路径匹配,则判定所述待分享文件是截屏文件。If the file storage path in the attribute information matches the preset path in the preset screenshot determination rule, it is determined that the file to be shared is a screen capture file.
在本实施例中具体说明了根据文件的存储路径信息,确定文件是否为截屏文件,即,终端将属性信息中的文件存储路径与预设截屏判定规则中的预设路径(预设路径是预先设置的截屏文件的标准路径信息)进行比对;若属性信息中的文件存储路径与预设截屏判定规则中的预设路径匹配,则判定所述待分享文件是截屏文件,在本实施例中用户不更改存储路径的条件下,可以准确识别截屏文件,保证截屏文件识别的准确性。Specifically, in the embodiment, the file is determined to be a screen capture file according to the storage path information of the file, that is, the terminal stores the file storage path in the attribute information and a preset path in the preset screen capture determination rule (the preset path is in advance The standard path information of the set screen capture file is compared; if the file storage path in the attribute information matches the preset path in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file, in this embodiment Under the condition that the user does not change the storage path, the screen capture file can be accurately identified to ensure the accuracy of the screen capture file identification.
方式二,根据属性信息中的文件尺寸信息,包括:Method 2, according to the file size information in the attribute information, including:
将属性信息中的文件尺寸数据与预设截屏判定规则中的预设尺寸进行比对;Comparing the file size data in the attribute information with the preset size in the preset screen capture determination rule;
若属性信息中的文件尺寸数据与预设截屏判定规则中的预设尺寸匹配,则判定所述待分享文件是截屏文件。If the file size data in the attribute information matches the preset size in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
在本实施例中具体说明了根据属性信息中的文件尺寸信息,即,将属性信息中的文件尺寸数据与预设截屏判定规则中的预设尺寸(预设尺寸:是截屏文件的标准尺寸,普通截屏的预设尺寸等于终端显示屏的尺寸,长截屏的截屏文件宽度与终端显示屏宽度尺寸相同,自由截屏的预设尺寸小于终端显示屏的尺寸)进行比对;若属性信息中的文件尺寸数据与预设截屏判定规则中的预设尺寸匹配,则判定所述待分享文件是截屏文件,在本实施例中普通截屏时,可以根据终端的显示屏尺寸和文件尺寸准确识别截屏文件,在用户普通截屏时,准确识别截屏文件。In the embodiment, the file size information in the attribute information is specifically described, that is, the file size data in the attribute information and the preset size in the preset screen capture determination rule (preset size: is the standard size of the screen capture file, The preset size of the normal screen capture is equal to the size of the terminal display screen, the width of the screenshot file of the long screen is the same as the width of the terminal display screen, and the preset size of the free screen capture is smaller than the size of the terminal display screen; if the file in the attribute information The size data is matched with the preset size in the preset screen capture determination rule, and the file to be shared is determined to be a screen capture file. In the embodiment, the screen capture file can be accurately identified according to the screen size and the file size of the terminal. The screen capture file is accurately identified when the user takes a normal screen shot.
方式三,根据属性信息中的时间信息,包括:Mode 3, according to the time information in the attribute information, including:
获取属性信息中的生成时间与终端显示屏当前显示时间,得到生成时间与终端显示屏当前显示时间的时间间隔;Obtaining the generation time in the attribute information and the current display time of the terminal display, and obtaining the time interval between the generation time and the current display time of the terminal display;
将属性信息中的时间间隔与预设截屏判定规则中的预设时间进行比对;Comparing the time interval in the attribute information with the preset time in the preset screen capture determination rule;
若时间间隔与预设截屏判定规则中的预设时间匹配,则判定所述待分享文件是截屏文件。If the time interval matches the preset time in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
在本实施例中具体说明了根据属性信息中的时间信息,即,终端获取属性信息中的生成时间与终端显示屏当前显示时间,得到生成时间与终端显示屏当前显示时间的时间间隔;其中,生成时间是指截屏文件的产生时间,即,可对截屏文件上显示的时间信息进行识别,得到截屏文件的生成时间,例如用户对终端截屏,截屏文件中包含的终端显示时间就是截屏文件的生成时间,终端将属性信息中的时间间隔与预设截屏判定规则中的预设时间(预设时间:是预先设置的文件生成时间与终端上显示时间的间隔,根据具体情况设置可设置为1秒)进行比对;若时间间隔与预设截屏判定规则中的预设时间匹配,则判定所述待分享文件是截屏文件,在本实施例中终端将截屏文件的生成时间与终端显示屏的当前显示时间的差值,确定文件是否为截屏文件提高截屏文件识别的准确性。In the embodiment, the time information in the attribute information is specifically described, that is, the time when the terminal acquires the generation time in the attribute information and the current display time of the terminal display screen, and the time interval between the generation time and the current display time of the terminal display screen is obtained; The generation time refers to the generation time of the screen capture file, that is, the time information displayed on the screen capture file can be identified, and the generation time of the screen capture file is obtained, for example, the user screen captures the terminal, and the terminal display time included in the screen capture file is the generation of the screen capture file. Time, the terminal sets the time interval in the attribute information and the preset time in the preset screen capture determination rule (preset time: is the interval between the preset file generation time and the display time on the terminal, and can be set to 1 second according to the specific situation. If the time interval matches the preset time in the preset screen capture determination rule, the file to be shared is determined to be a screen capture file. In this embodiment, the terminal generates the screen capture file and the current display screen of the terminal. Display the difference in time, determine whether the file is a screen capture file, and increase the screen capture file. The accuracy of the identification.
需要补充说明的是本实施例中具体给出了根据属性信息确定截屏文件的实现方式,每个方式中之间可以进行结合,以准确识别截屏文件,例如,终端首先将应用在前台当前时间减去数据库图片添加时间不超过1秒;再次,图片尺寸不大于屏幕尺寸;最后,图片路径关键字包括:""screen cap", "截屏"或者“截图”关键字;具体的各个实现方式结合不做详细介绍。It should be noted that the implementation manner of determining the screen capture file according to the attribute information is specifically given in this embodiment, and each mode can be combined to accurately identify the screen capture file. For example, the terminal first reduces the current time of the application in the foreground. The time to add the database image is less than 1 second; again, the image size is not larger than the screen size; finally, the image path keyword includes: ""screen Cap", "screenshot" or "screenshot" keywords; the specific implementation of the combination is not detailed.
步骤S14,若待分享文件是截屏文件,则输出截屏文件分享风险提示。Step S14: If the file to be shared is a screen capture file, output a screen capture file sharing risk prompt.
若终端确定待分享文件是截屏文件,则终端显示输出截屏文件分享风险提示,例如,终端确定用户分享的文件是截屏文件,终端显示悬浮框,并在悬浮框中显示“文件为截屏文件,文件分享存在风险是否继续分享”,以提示用户截屏文件分享的存在风险。If the terminal determines that the file to be shared is a screen capture file, the terminal displays an output screen capture file sharing risk prompt. For example, the terminal determines that the file shared by the user is a screen capture file, and the terminal displays a floating frame, and displays the file as a screen capture file in the floating box. Share the risk of whether to continue sharing, to remind users of the risk of screen file sharing.
在本实施例中本申请中将保存的文件按照设置的规则进行比对,准确识别保存的文件是否为截屏文件,在确定终端保存文件是截屏文件时,根据用户触发的截屏文件发送指令进行截屏文件显示信息检测,实现了个人领域截屏文件的敏感信息监测,减少个人敏感信息的泄露。In this embodiment, the files to be saved in the present application are compared according to the set rules, and the saved file is accurately identified as a screen capture file. When it is determined that the terminal save file is a screen capture file, the screenshot is sent according to the screen capture file sent by the user. The file displays information detection, which realizes sensitive information monitoring of screen capture files in the personal field and reduces the leakage of sensitive personal information.
参照图3,本申请第一实施例的基础上,进一步提出了本申请截屏文件分享的控制方法的本实施例,本实施例是第一实施例中的步骤S13的细化。Referring to FIG. 3, based on the first embodiment of the present application, the present embodiment of the method for controlling screen file sharing in the present application is further proposed. This embodiment is a refinement of step S13 in the first embodiment.
在本实施例中具体说明了根据预设截屏判定规则识别存储待分享文件是截屏文件的具体包括以下步骤:Specifically, the following steps are specifically described in the embodiment that the storage of the file to be shared is a screen capture file according to the preset screen capture determination rule:
步骤S131,将属性信息与预设截屏判定规则进行比对,其中,所述属性信息中包括:存储路径和/或尺寸数据。In step S131, the attribute information is compared with a preset screen capture determination rule, where the attribute information includes: a storage path and/or size data.
终端将属性信息(其中,所述属性信息中包括:存储路径和/或尺寸数据,此外,属性信息还包括文件类型、文件大小、文件创建时间、文件修改时间、文件访问时间等,上文以进行说明此处不再赘述)与预设截屏判定规则进行比对,其中,预设截屏判定规则是根据截屏文件的标准属性信息预先设置的判定规则,例如,预设截屏判定规则中的存储路径判定规则为,截屏文件的路径标准标识,或者又叫路径关键字包括:“screenshot”, "screen_shot", "screen-shot", "screen shot"、"screencapture"、"screen_capture"、"screen-capture"、"screen capture"、"screencap"、 "screen_cap"、"screen-cap"、 "screen cap"、"截图"或“截屏”则终端根据预设截屏判定规则中的存储路径判定规则。The terminal includes attribute information (wherein the attribute information includes: a storage path and/or a size data, and further, the attribute information further includes a file type, a file size, a file creation time, a file modification time, a file access time, etc., The description will not be repeated here). The preset screen capture determination rule is a determination rule preset according to the standard attribute information of the screen capture file, for example, the storage path in the preset screen capture determination rule. The decision rule is that the path standard identifier of the screen capture file, or the path keyword is also included: "screenshot", "screen_shot", "screen-shot", "screen Shot", "screencapture", "screen_capture", "screen-capture", "screen Capture", "screencap", "screen_cap", "screen-cap", "screen Cap", "screenshot" or "screenshot" means that the terminal determines the rule according to the storage path in the preset screen capture decision rule.
步骤S132,若存储路径对应的存储标识与预设截屏判定规则中的路径标准标识匹配和/或尺寸数据与预设截屏判定规则中的屏幕尺寸匹配,则判定所述待分享文件是截屏文件。In step S132, if the storage identifier corresponding to the storage path matches the path standard identifier in the preset screen capture determination rule and/or the size data matches the screen size in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
若终端确定存储路径对应的存储标识与预设截屏判定规则中的路径标准标识匹配和/或尺寸数据与预设截屏判定规则中的屏幕尺寸匹配,例如,若截屏文件的路径包含:“截屏”,终端将“截屏”与预设截屏判定规则中截屏文件的路径标准标识进行比对,若预设截屏判定规则中截屏文件的路径标准标识中包含“截屏”,则存储路径对应的存储标识与预设截屏判定规则匹配;和/或尺寸数据属性信息中的图片尺寸与预设截屏判定规则中的终端的屏幕尺寸进行比较,若图片尺寸与屏幕尺寸相同,即尺寸数据与预设截屏判定规则中的屏幕尺寸匹配,则判定所述待分享文件是截屏文件。If the terminal determines that the storage identifier corresponding to the storage path matches the path standard identifier in the preset screen capture determination rule and/or the size data matches the screen size in the preset screen capture determination rule, for example, if the path of the screen capture file includes: “screen capture” The terminal compares the "screen capture" with the path standard identifier of the screen capture file in the preset screen capture determination rule. If the path standard identifier of the screen capture file in the preset screen capture determination rule includes "screen capture", the storage identifier corresponding to the storage path and The preset screen capture determination rule is matched; and/or the picture size in the size data attribute information is compared with the screen size of the terminal in the preset screen capture determination rule, if the picture size is the same as the screen size, that is, the size data and the preset screen capture determination rule If the screen size in the match is matched, it is determined that the file to be shared is a screen capture file.
在本实施例中具体说明了终端根据属性信息与预设截屏判定规则进行比对判定待分享文件是截屏文件的步骤,与现有的截屏监测相比,现有技术中在触发截屏指令时确定是截屏文件并保存,后期并不能对截屏文件进行识别,本实施里中保证了截屏文件识别的准确性。In the embodiment, the terminal specifically determines, according to the attribute information and the preset screen capture determination rule, that the file to be shared is a screen capture file, compared with the existing screen capture monitoring, the prior art determines when the screen capture instruction is triggered. It is a screen capture file and saved. In the latter stage, the screen capture file cannot be identified. In this implementation, the accuracy of the screen capture file identification is guaranteed.
参照图4,本申请截屏文件分享的控制方法的第一实施例的基础上,进一步提出了本申请的第二实施例,在本实施例中说明了识别截屏文件的显示信息的步骤包括:Referring to FIG. 4, based on the first embodiment of the method for controlling the screen file sharing of the present application, a second embodiment of the present application is further provided. In the embodiment, the step of identifying the display information of the screen capture file includes:
步骤S21,接收基于截屏文件触发的识别指令,识别截屏文件中包含的显示信息及其显示信息的信息类别。Step S21: Receive an identification instruction triggered by the screen capture file, and identify the information category of the display information and the display information included in the screen capture file.
终端接收基于截屏文件触发的识别指令,识别截屏文件中包含的显示信息及其显示信息的信息类别,例如,终端确定对截屏文件进行识别,截屏文件中可能包含文字,符号或者其他标识信息,终端确定截屏文件中包含的文字,符号或者其他标识信息是属于文字类别还是属于图片类别。The terminal receives the identification instruction triggered by the screen capture file, and identifies the information category of the display information and the display information contained in the screen capture file. For example, the terminal determines to identify the screen capture file, and the screen capture file may include text, symbols or other identification information, and the terminal may include Determines whether the text, symbol, or other identifying information contained in the screen capture file belongs to the text category or to the image category.
步骤S22,获取预置敏感信息库中所述信息类别的预设敏感信息,将显示信息与预设敏感信息进行比对。Step S22: Acquire pre-set sensitive information of the information category in the preset sensitive information database, and compare the display information with the preset sensitive information.
终端获取预置敏感信息库(预置敏感信息库中包含有敏感文字信息、敏感图片标识信息等,例如,敏感信息可设置为用户个人身份证号码,家庭住址等)中信息类别对应的预设敏感信息,将显示信息与预设敏感信息进行比对,即,若截屏文件中包含的显示信息为文字信息,终端获取预置敏感信息库中的预设敏感文字,终端将截屏文件中包含文字信息与预置敏感信息库中的预设敏感文字进行比对。The terminal acquires the preset sensitive information database (the preset sensitive information database includes sensitive text information, sensitive image identification information, etc., for example, the sensitive information can be set to the user's personal identification number, home address, etc.) The sensitive information compares the display information with the preset sensitive information, that is, if the display information included in the screen capture file is text information, the terminal acquires the preset sensitive text in the preset sensitive information database, and the terminal includes the text in the screen capture file. The information is compared with preset sensitive text in a preset sensitive information base.
步骤S23,若显示信息与预设敏感信息匹配,则判定截屏文件中包含敏感信息,将截屏文件添加敏感标签。In step S23, if the display information matches the preset sensitive information, it is determined that the screen capture file contains sensitive information, and the screen capture file is added with a sensitive label.
若显示信息与预设敏感信息匹配,例如,终端将截屏文件中包含文字信息与预置敏感信息库中的预设敏感文字相同,终端则判定截屏文件中包含文字信息与预置敏感信息库中的预设敏感文字匹配,或者截屏文件中包含图标信息与预置敏感信息库中的预设敏感图标相似度高于95%,则终端判定包含图标信息与预置敏感信息库中的预设敏感图标匹配,终端确定截屏文件中包含敏感信息,终端将截屏文件添加敏感标签,以便根据敏感标签确定截屏文件的是否涉及敏感信息。If the display information matches the preset sensitive information, for example, the terminal includes the text information in the screen capture file and the preset sensitive text in the preset sensitive information database, and the terminal determines that the screen file contains the text information and the preset sensitive information database. The preset sensitive text matching, or the icon information contained in the screen capture file and the preset sensitive icon in the preset sensitive information database are more than 95%, the terminal determines that the icon information is included and the preset sensitive information in the preset sensitive information database The icon matches, the terminal determines that the screen capture file contains sensitive information, and the terminal adds a sensitive label to the screen capture file to determine whether the screen capture file involves sensitive information according to the sensitive label.
在本实施例中终端将截屏文件中的显示信息进行识别,准确识别截屏文件中是否包含敏感信息,以根据用进行截屏文件的发送监控,并用户提醒用户页面带有敏感信息,本实施例中详细识别的截屏文件,保证了截屏文件信息安全性。In this embodiment, the terminal identifies the display information in the screen capture file, and accurately identifies whether the screen capture file contains sensitive information, so as to monitor the transmission of the screen capture file according to the usage, and the user reminds the user that the page has sensitive information, in this embodiment. The detailed identification of the screen capture file ensures the security of the screen capture file information.
参照图5,本申请截屏文件分享的控制方法的第二实施例的基础上,进一步提出了本申请的第三实施例。Referring to FIG. 5, based on the second embodiment of the control method for screen capture file sharing of the present application, a third embodiment of the present application is further proposed.
在本实施例中具体说明了截屏文件中包含敏感信息时,截屏文件发送时的步骤包括:In the embodiment, when the screen capture file contains sensitive information, the steps when the screen capture file is sent include:
步骤S31,接收基于截屏文件触发的发送指令,获取发送指令中包含的接收账户,并判断截屏文件中是否具有敏感标签。Step S31: Receive a sending instruction triggered by the screen capture file, obtain a receiving account included in the sending instruction, and determine whether the screen capture file has a sensitive label.
终端接收基于截屏文件触发的发送指令,例如,用户选择完分享的截屏文件时,用户在显示屏上点击“发送”的虚拟按键,或者用户语音口头,触发终端发送指令,终端获取发送指令中包含的接收账户,并判断截屏文件中是否具有敏感标签。The terminal receives the sending instruction triggered by the screen capture file. For example, when the user selects the shared screen capture file, the user clicks the “send” virtual button on the display screen, or the user voice verbal, triggers the terminal to send an instruction, and the terminal acquires the sending instruction to include Receive the account and determine if there is a sensitive tag in the screenshot file.
步骤S32,若截屏文件中具有敏感标签,则对截屏文件中的敏感信息上进行虚化处理,得到传输文件。In step S32, if the screen capture file has a sensitive label, the sensitive information in the screen capture file is blurred, and the transmission file is obtained.
若终端确定截屏文件中具有敏感标签,则终端对截屏文件中的敏感信息上进行虚化处理,其中,虚化处理:是指截屏文件的模糊化,其目的是为了防止敏感信息泄露,例如,将用户的姓名,或者用户面部打马赛克,得到传输文件。If the terminal determines that the screen capture file has a sensitive label, the terminal performs a blurring process on the sensitive information in the screen capture file, where the blurring process refers to the blurring of the screen capture file, and the purpose is to prevent sensitive information from being leaked, for example, Mosaic the user's name, or the user's face, to get the transfer file.
可选地,步骤S32包括:Optionally, step S32 includes:
步骤a1,若所述截屏文件中包含敏感标签,则确定截屏文件中敏感信息所处坐标数据。In step a1, if the screen capture file contains a sensitive label, the coordinate data of the sensitive information in the screen capture file is determined.
步骤a2,将所述对应坐标位置的敏感信息进行虚化,得到传输文件。In step a2, the sensitive information of the corresponding coordinate position is blurred to obtain a transmission file.
在本实施例中终端确定截屏文件中包含敏感标签,终端识别截屏文件中的敏感信息所处的位置信息,终端在截屏文件敏感信息位置信息处进行虚化使得,保证截屏文件的整体不受影响,准确地对截屏文件上的敏感信息进行处理。In this embodiment, the terminal determines that the screen capture file contains the sensitive label, and the terminal identifies the location information of the sensitive information in the screen capture file, and the terminal performs the blur at the location information of the screen capture file sensitive information to ensure that the overall screen capture file is not affected. Accurately process sensitive information on screen capture files.
步骤S33,将所述传输文件发送至接收账户对应客户端,以防止个人敏感信息的泄露。Step S33: Send the transmission file to the receiving account corresponding client to prevent leakage of personal sensitive information.
终端将所述传输文件发送至接收账户对应客户端,例如,用户在微信上发截屏文件的至对于的,以防止个人敏感信息的泄露。The terminal sends the transmission file to the receiving account corresponding client, for example, the user sends a screen capture file to the corresponding message on the WeChat to prevent leakage of personal sensitive information.
在本实施例中终端将处理完成的截屏文件发送至用户端,使得减少个人敏感信息的泄露,提高了用户体验,在保证截屏文件整体不受影响。In this embodiment, the terminal sends the processed screenshot file to the user end, so that the leakage of the personal sensitive information is reduced, the user experience is improved, and the overall screen capture file is not affected.
进一步的,参照图6,本申请截屏文件分享的控制方法的第二实施例的基础上,进一步提出了本申请的第四实施例。Further, referring to FIG. 6, based on the second embodiment of the control method for screen capture file sharing of the present application, a fourth embodiment of the present application is further proposed.
在本实施例中具体说明了截屏文件中不包含敏感信息时,根据截屏文件的来源信息,确定截屏文件发送的步骤包括:In the embodiment, when the screen capture file does not contain sensitive information, according to the source information of the screen capture file, the step of determining the screen capture file transmission includes:
步骤S41,若显示信息与预设敏感信息不匹配,则确定截屏文件所属应用,将截屏文件所属应用作为目标应用。In step S41, if the display information does not match the preset sensitive information, the application to which the screen capture file belongs is determined, and the application to which the screen capture file belongs is used as the target application.
若终端显示信息与预设敏感信息不匹配,即,截屏文件中并不存在明显的敏感信息,终端进一步确定截屏文件所属应用,将截屏文件所属应用作为目标应用,需要说明的是终端确定截屏文件所属的应用可以是根据截屏文件上的显示标识确定,还可以是在截屏文件生成时,根据终端运行的程序进行确定,具体地,确定截屏文件所属应用的方法不构成对本申请的限定。If the terminal display information does not match the preset sensitive information, that is, the screen capture file does not have obvious sensitive information, and the terminal further determines the application of the screen capture file, and uses the application of the screen capture file as the target application, and the terminal needs to determine the screen capture file. The application may be determined according to the display identifier on the screen capture file, or may be determined according to the program run by the terminal when the screen capture file is generated. Specifically, the method for determining the application of the screen capture file does not constitute a limitation on the present application.
步骤S42,根据预设应用等级表确定目标应用的敏感级别,并判断目标应用的敏感级别是否超过预设阈值。Step S42: Determine a sensitivity level of the target application according to the preset application level table, and determine whether the sensitivity level of the target application exceeds a preset threshold.
终端根据预设应用等级表(预设应用等级表:是指根据应用类型设置的,例如,支付宝等涉及金融信息的应用敏感级别为最高级)确定目标应用的敏感级别,并判断目标应用的敏感级别是否超过预设阈值,预设阈值根据具体情况设置,例如,用户截屏文文件为支付宝交易界面,支付宝交易界面上包含数据信息,终端确定支付宝交易界面没有敏感标签,终端将支付宝预设应用等级表进行遍历,确定支付宝的敏感等级为3级,终端将敏感等级3级与预设阈值2级进行比较。The terminal determines the sensitivity level of the target application according to the preset application level table (the preset application level table: refers to setting according to the application type, for example, the application sensitive level of the financial information such as Alipay is the highest level), and determines the sensitivity of the target application. Whether the level exceeds the preset threshold, the preset threshold is set according to specific conditions. For example, the user screen file is the Alipay transaction interface, the Alipay transaction interface contains data information, the terminal determines that the Alipay transaction interface has no sensitive label, and the terminal will use the Alipay preset application level. The table is traversed, and the sensitivity level of the Alipay is determined to be level 3, and the terminal compares the sensitivity level 3 with the preset threshold level 2.
步骤S43,若目标应用的敏感级别超过预设阈值,则输出截屏文件发送权限设置提示信息,以供用户输入截屏文件发送权限的验证标准信息。Step S43: If the sensitivity level of the target application exceeds a preset threshold, the screen capture file sending permission setting prompt information is output, so that the user inputs the verification standard information of the screen file sending permission.
若目标应用的敏感级别超过预设阈值,即,目标应用较为敏感,终端输出截屏文件发送权限设置提示信息,以供用户设置截屏文件的发送权限,例如,终端显示“请设置截屏文件发送的验证信息”提示用户进行权限设置发送权限的验证标准信息,其中,验证标准信息时用户后期对截屏文件操作权限验证信息。If the target application sensitive level exceeds the preset threshold, that is, the target application is sensitive, the terminal outputs the screen capture file sending permission setting prompt information for the user to set the sending permission of the screen capture file, for example, the terminal displays “Please set the screen file to send the verification. The information prompts the user to set the verification standard information of the permission permission of the user to send the authority, and the verification authority for the operation of the screen capture file is verified by the user later.
若目标应用的敏感级别没有超过预设阈值,则直接进行用户后期操作。If the sensitivity level of the target application does not exceed the preset threshold, the user's later operation is directly performed.
在本实施里中根据截屏文件的来源,提示用户设置截屏文件的验证标准信息,在用户后期对截屏文件进行编辑处理发送或者其他操作时,对用户进行验证,保证截屏文件的安全性。In the implementation, according to the source of the screen capture file, the user is prompted to set the verification standard information of the screen capture file, and when the user edits the screen capture file or other operations later, the user is verified to ensure the security of the screen capture file.
具体地,针对截屏文件所属目标应用的敏感级别超过预设阈值的应用,在用户触发截屏文件发送指令,终端需要进行权限验证,即,Specifically, for the application that the sensitivity level of the target application to which the screen capture file belongs exceeds the preset threshold, when the user triggers the screen capture command, the terminal needs to perform the rights verification, that is,
步骤S44,接收截屏文件发送指令,获取截屏文件发送指令中的身份验证信息。Step S44, receiving a screen capture file sending instruction, and acquiring identity verification information in the screen capture file sending instruction.
终端接收截屏文件发送指令,用户在终端截屏文件上触发截屏文件发送指令,终端获取截屏文件发送指令中的身份验证信息,身份验证信息可以是用户输入的验证信息,例如,截屏文件发送指令中包含的密码验证信息。The terminal receives the screen capture file sending instruction, the user triggers the screen capture file sending instruction on the terminal screen capture file, and the terminal acquires the identity verification information in the screen capture file sending instruction, and the identity verification information may be the user input verification information, for example, the screen capture file sending instruction includes Password verification information.
步骤S45,将身份验证信息与验证标准信息进行比对,若身份验证信息与验证标准信息匹配,则判定用户具有截屏文件发送权限,并进行截屏文件的发送。In step S45, the identity verification information is compared with the verification standard information. If the identity verification information matches the verification standard information, it is determined that the user has the permission to send the screen capture file, and the screen capture file is sent.
终端将身份验证信息与验证标准信息进行比对,若身份验证信息与验证标准信息匹配,则判定用户具有截屏文件发送权限,并进行截屏文件的发送;若身份验证信息与验证标准信息不匹配,则判定用户不具有截屏文件发送权限,不进行截屏文件的发送,将截屏文件进行锁定,使的用户不能对截屏文件进行编辑等操作。The terminal compares the authentication information with the verification standard information. If the authentication information matches the verification standard information, the terminal determines that the user has the permission to send the screen capture file, and sends the screen capture file; if the identity verification information does not match the verification standard information, Then, it is determined that the user does not have the permission to send the screen capture file, does not send the screen capture file, locks the screen capture file, and prevents the user from editing the screen capture file.
在本实施例对部分截屏文件的发送设置权限验证,在用户进行截屏文件的发送时,终端验证用户是否具有发送权限,终端再进行截屏文件的发送,防止其他人编辑导致的信息泄露。In this embodiment, the permission verification is performed on the sending of the partial screen capture file. When the user sends the screen capture file, the terminal verifies whether the user has the transmission authority, and the terminal performs the transmission of the screen capture file to prevent the information leakage caused by the editing by others.
此外,参照图7,本申请实施例还提出一种截屏文件分享的控制装置,所述截屏文件分享的控制装置包括: In addition, referring to FIG. 7, the embodiment of the present application further provides a control device for screen file sharing, and the control device for sharing the screen file includes:
保存建立模块10,设置为接收文件保存请求,将文件保存请求关联的文件保存至本地存储,生成对应的属性信息,建立文件与属性信息之间的关联关系;The save creation module 10 is configured to receive a file save request, save the file associated with the file save request to the local storage, generate corresponding attribute information, and establish an association relationship between the file and the attribute information;
接收获取模块20,设置为接收文件分享请求,获取文件分享指令中的待分享文件,根据所述关联关系获取的属性信息;The receiving and obtaining module 20 is configured to receive a file sharing request, obtain a file to be shared in the file sharing instruction, and obtain attribute information according to the association relationship;
比对判定模块30,设置为将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件;The comparison determination module 30 is configured to compare the attribute information with the preset screen capture determination rule, and determine whether the file to be shared is a screen capture file;
显示提示模块40,设置为若待分享文件是截屏文件,则输出截屏文件分享风险提示。The prompting module 40 is configured to output a screenshot file sharing risk prompt if the file to be shared is a screen capture file.
其中,截屏文件分享的控制装置的各个功能模块实现的步骤可参照本申请截屏文件分享的控制方法的各个实施例,此处不再赘述。For the steps of implementing the function modules of the screen capture file sharing control device, reference may be made to various embodiments of the control method for sharing the screen capture file of the present application, and details are not described herein again.
此外,本申请实施例还提出一种计算机存储介质。In addition, the embodiment of the present application further provides a computer storage medium.
所述计算机存储介质上存储有截屏文件分享的控制程序,所述截屏文件分享的控制程序被处理器执行时实现上述实施例提供的截屏文件分享的控制方法中的操作。The computer storage medium stores a control program for screen capture file sharing, and the control program of the screen capture file sharing is executed by the processor to implement the operation in the control method of screen capture file sharing provided by the foregoing embodiment.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体/操作/对象与另一个实体/操作/对象区分开来,而不一定要求或者暗示这些实体/操作/对象之间存在任何这种实际的关系或者顺序;术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second, etc. are only used to distinguish one entity/operation/object from another entity/operation/object, without necessarily requiring or implying these There are any such actual relationships or sequences between entities/operations/objects; the terms "including", "comprising", or any other variant thereof are intended to encompass a non-exclusive inclusion, such that a process, method, An item or system includes not only those elements, but also other elements not explicitly listed, or elements that are inherent to such a process, method, article, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.

Claims (20)

  1. 一种由计算机执行的控制截屏文件分享的方法,其中,所述方法包括以下步骤: A method for controlling screen file sharing performed by a computer, wherein the method comprises the following steps:
    接收文件保存请求,将文件保存请求关联的文件保存至本地存储,生成对应的属性信息,建立文件与属性信息之间的关联关系;Receiving a file save request, saving the file associated with the file save request to the local storage, generating corresponding attribute information, and establishing an association relationship between the file and the attribute information;
    接收文件分享请求,获取文件分享指令中的待分享文件,根据所述关联关系获取的属性信息;Receiving a file sharing request, obtaining a to-be-shared file in the file sharing instruction, and acquiring attribute information according to the association relationship;
    将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件;Comparing the attribute information with the preset screen capture determination rule, and determining whether the file to be shared is a screen capture file;
    若待分享文件是截屏文件,则输出截屏文件分享风险提示。If the file to be shared is a screen capture file, the screen capture file shares the risk warning.
  2. 如权利要求1所述的截屏文件分享的控制方法,其中,所述将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件的步骤包括:The method for controlling screen capture file sharing according to claim 1, wherein the step of comparing the attribute information with the preset screen capture determination rule and determining whether the file to be shared is a screen capture file comprises:
    将属性信息与预设截屏判定规则进行比对,其中,所述属性信息中包括:存储路径和/或尺寸数据;Comparing the attribute information with the preset screen capture determination rule, wherein the attribute information includes: a storage path and/or size data;
    若存储路径对应的存储标识与预设截屏判定规则中的路径标准标识匹配和/或尺寸数据与预设截屏判定规则中的屏幕尺寸匹配,则判定所述待分享文件是截屏文件。If the storage identifier corresponding to the storage path matches the path standard identifier in the preset screen capture determination rule and/or the size data matches the screen size in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
  3. 如权利要求1所述的截屏文件分享的控制方法,其中,所述将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件的步骤,还包括:The method for controlling screen capture file sharing according to claim 1, wherein the step of comparing the attribute information with the preset screen capture determination rule and determining whether the file to be shared is a screen capture file further comprises:
    获取属性信息中的生成时间与终端显示屏当前显示时间,得到生成时间与终端显示屏当前显示时间的时间间隔;Obtaining the generation time in the attribute information and the current display time of the terminal display, and obtaining the time interval between the generation time and the current display time of the terminal display;
    将属性信息中的时间间隔与预设截屏判定规则中的预设时间进行比对;Comparing the time interval in the attribute information with the preset time in the preset screen capture determination rule;
    若时间间隔与预设截屏判定规则中的预设时间匹配,则判定所述待分享文件是截屏文件。If the time interval matches the preset time in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
  4. 如权利要求1所述的截屏文件分享的控制方法,其中,所述若待分享文件是截屏文件,则输出截屏文件分享风险提示的步骤之后,包括:The method for controlling screen file sharing according to claim 1, wherein if the file to be shared is a screen capture file, after the step of outputting the screen file sharing risk prompt, the method includes:
    接收基于截屏文件触发的识别指令,识别截屏文件中包含的显示信息及其显示信息的信息类别;Receiving an identification instruction triggered by the screen capture file, identifying the information category of the display information and the display information contained in the screen capture file;
    获取预置敏感信息库中所述信息类别的预设敏感信息,将显示信息与预设敏感信息进行比对;Obtaining preset sensitive information of the information category in the preset sensitive information database, and comparing the display information with the preset sensitive information;
    若显示信息与预设敏感信息匹配,则判定截屏文件中包含敏感信息,将截屏文件添加敏感标签。If the displayed information matches the preset sensitive information, it is determined that the screen capture file contains sensitive information, and the screen capture file is added with a sensitive label.
  5. 如权利要求4所述的截屏文件分享的控制方法,其中,所述若显示信息与预设敏感信息匹配,则判定截屏文件中包含敏感信息,将截屏文件添加敏感标签的步骤之后,包括:The method for controlling screen capture file sharing according to claim 4, wherein, if the display information matches the preset sensitive information, the step of determining that the screen capture file contains sensitive information and adding the sensitive label to the screen capture file comprises:
    接收基于截屏文件触发的发送指令,获取发送指令中包含的接收账户,并判断截屏文件中是否具有敏感标签;Receiving a sending instruction triggered by the screen capture file, obtaining a receiving account included in the sending instruction, and determining whether the screen capture file has a sensitive label;
    若截屏文件中具有敏感标签,则对截屏文件中的敏感信息上进行虚化处理,得到传输文件;If the screen capture file has a sensitive label, the sensitive information in the screen capture file is blurred to obtain a transmission file;
    将所述传输文件发送至接收账户对应客户端,以防止个人敏感信息的泄露。Sending the transmission file to the receiving account corresponding client to prevent leakage of personal sensitive information.
  6. 如权利要求5所述的截屏文件分享的控制方法,其中,所述若截屏文件中具有敏感标签,则对截屏文件中的敏感信息上进行虚化处理,得到传输文件的步骤包括:The method for controlling the screen capture file sharing according to claim 5, wherein if the screen capture file has a sensitive label, the sensitive information in the screen capture file is blurred, and the step of obtaining the transmission file includes:
    若截屏文件中包含敏感标签,则确定截屏文件中敏感信息所处坐标数据;If the screen capture file contains a sensitive label, the coordinate data of the sensitive information in the screen capture file is determined;
    将所述对应坐标位置的敏感信息进行虚化,得到传输文件。The sensitive information of the corresponding coordinate position is blurred to obtain a transmission file.
  7. 如权利要求4所述的截屏文件分享的控制方法,其中,所述获取预置敏感信息库中所述信息类别的预设敏感信息,将显示信息与预设敏感信息进行比对的步骤之后,包括:The method for controlling screen file sharing according to claim 4, wherein the step of acquiring the preset sensitive information of the information category in the preset sensitive information database and comparing the display information with the preset sensitive information is performed. include:
    若显示信息与预设敏感信息不匹配,则确定截屏文件所属应用,将截屏文件所属应用作为目标应用;If the display information does not match the preset sensitive information, determine the application to which the screen capture file belongs, and apply the application to which the screen capture file belongs as the target application;
    根据预设应用等级表确定目标应用的敏感级别,并判断目标应用的敏感级别是否超过预设阈值;Determining a sensitivity level of the target application according to the preset application level table, and determining whether the sensitivity level of the target application exceeds a preset threshold;
    若目标应用的敏感级别超过预设阈值,则输出截屏文件发送权限设置提示信息,以供用户输入截屏文件发送权限的验证标准信息;If the sensitivity level of the target application exceeds a preset threshold, the screen capture file sending permission setting prompt information is output, so that the user inputs the verification standard information of the screen file sending permission;
    接收截屏文件发送指令,获取截屏文件发送指令中的身份验证信息;Receiving a screen capture file sending instruction, and acquiring identity verification information in the screen capture file sending instruction;
    将身份验证信息与验证标准信息进行比对,若身份验证信息与验证标准信息匹配,则判定用户具有截屏文件发送权限,并进行截屏文件的发送。The authentication information is compared with the verification standard information. If the authentication information matches the verification standard information, it is determined that the user has the permission to send the screen capture file, and the screen capture file is sent.
  8. 一种截屏文件分享的控制装置,其中,所述截屏文件分享的控制装置包括:A control device for screen capture file sharing, wherein the control device for sharing the screen capture file comprises:
    保存建立模块,设置为接收文件保存请求,将文件保存请求关联的文件保存至本地存储,生成对应的属性信息,建立文件与属性信息之间的关联关系;The save creation module is configured to receive a file save request, save the file associated with the file save request to the local storage, generate corresponding attribute information, and establish an association relationship between the file and the attribute information;
    接收获取模块,设置为接收文件分享请求,获取文件分享指令中的待分享文件,根据所述关联关系获取的属性信息;Receiving an obtaining module, configured to receive a file sharing request, obtain a file to be shared in the file sharing instruction, and obtain attribute information according to the association relationship;
    比对判定模块,设置为将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件;The comparison determination module is configured to compare the attribute information with the preset screen capture determination rule, and determine whether the file to be shared is a screen capture file;
    显示提示模块,设置为若待分享文件是截屏文件,则输出截屏文件分享风险提示。The prompt module is displayed, and if the file to be shared is a screen capture file, the screen capture file sharing risk prompt is output.
  9. 如权利要求8所述的截屏文件分享的控制装置,其中,所述比对判定模块,设置为:The control device for screen capture sharing according to claim 8, wherein the comparison determination module is configured to:
    将属性信息与预设截屏判定规则进行比对,其中,所述属性信息中包括:存储路径和/或尺寸数据;Comparing the attribute information with the preset screen capture determination rule, wherein the attribute information includes: a storage path and/or size data;
    若存储路径对应的存储标识与预设截屏判定规则中的路径标准标识匹配和/或尺寸数据与预设截屏判定规则中的屏幕尺寸匹配,则判定所述待分享文件是截屏文件。If the storage identifier corresponding to the storage path matches the path standard identifier in the preset screen capture determination rule and/or the size data matches the screen size in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
  10. 如权利要求8所述的截屏文件分享的控制装置,其中,所述比对判定模块,还设置为:The control device for screen capture sharing according to claim 8, wherein the comparison determination module is further configured to:
    获取属性信息中的生成时间与终端显示屏当前显示时间,得到生成时间与终端显示屏当前显示时间的时间间隔;Obtaining the generation time in the attribute information and the current display time of the terminal display, and obtaining the time interval between the generation time and the current display time of the terminal display;
    将属性信息中的时间间隔与预设截屏判定规则中的预设时间进行比对;Comparing the time interval in the attribute information with the preset time in the preset screen capture determination rule;
    若时间间隔与预设截屏判定规则中的预设时间匹配,则判定所述待分享文件是截屏文件。If the time interval matches the preset time in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
  11. 一种截屏文件分享的控制设备,其中,所述截屏文件分享的控制设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的截屏文件分享的控制程序,其中:A control device for screen capture file sharing, wherein the control device for sharing the screen capture file comprises: a memory, a processor, and a control program for sharing the screen capture file stored on the memory and operable on the processor, wherein :
    所述截屏文件分享的控制程序被所述处理器执行时实现如下的步骤:The control program shared by the screen capture file is implemented by the processor to implement the following steps:
    接收文件保存请求,将文件保存请求关联的文件保存至本地存储,生成对应的属性信息,建立文件与属性信息之间的关联关系;Receiving a file save request, saving the file associated with the file save request to the local storage, generating corresponding attribute information, and establishing an association relationship between the file and the attribute information;
    接收文件分享请求,获取文件分享指令中的待分享文件,根据所述关联关系获取的属性信息;Receiving a file sharing request, obtaining a to-be-shared file in the file sharing instruction, and acquiring attribute information according to the association relationship;
    将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件;Comparing the attribute information with the preset screen capture determination rule, and determining whether the file to be shared is a screen capture file;
    若待分享文件是截屏文件,则输出截屏文件分享风险提示。If the file to be shared is a screen capture file, the screen capture file shares the risk warning.
  12. 如权利要求11所述的截屏文件分享的控制设备,其中,所述将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件的步骤包括:The control device for screen capture file sharing according to claim 11, wherein the step of comparing the attribute information with the preset screen capture determination rule and determining whether the file to be shared is a screen capture file comprises:
    将属性信息与预设截屏判定规则进行比对,其中,所述属性信息中包括:存储路径和/或尺寸数据;Comparing the attribute information with the preset screen capture determination rule, wherein the attribute information includes: a storage path and/or size data;
    若存储路径对应的存储标识与预设截屏判定规则中的路径标准标识匹配和/或尺寸数据与预设截屏判定规则中的屏幕尺寸匹配,则判定所述待分享文件是截屏文件。If the storage identifier corresponding to the storage path matches the path standard identifier in the preset screen capture determination rule and/or the size data matches the screen size in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
  13. 如权利要求11所述的截屏文件分享的控制设备,其中,所述将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件的步骤,还包括:The control device for screen capture file sharing according to claim 11, wherein the step of comparing the attribute information with the preset screen capture determination rule and determining whether the file to be shared is a screen capture file further comprises:
    获取属性信息中的生成时间与终端显示屏当前显示时间,得到生成时间与终端显示屏当前显示时间的时间间隔;Obtaining the generation time in the attribute information and the current display time of the terminal display, and obtaining the time interval between the generation time and the current display time of the terminal display;
    将属性信息中的时间间隔与预设截屏判定规则中的预设时间进行比对;Comparing the time interval in the attribute information with the preset time in the preset screen capture determination rule;
    若时间间隔与预设截屏判定规则中的预设时间匹配,则判定所述待分享文件是截屏文件。If the time interval matches the preset time in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
  14. 如权利要求11所述的截屏文件分享的控制设备,其中,所述若待分享文件是截屏文件,则输出截屏文件分享风险提示的步骤之后,包括:The control device for screen capture file sharing according to claim 11, wherein, if the file to be shared is a screen capture file, after the step of outputting the screen file sharing risk prompt, the method includes:
    接收基于截屏文件触发的识别指令,识别截屏文件中包含的显示信息及其显示信息的信息类别;Receiving an identification instruction triggered by the screen capture file, identifying the information category of the display information and the display information contained in the screen capture file;
    获取预置敏感信息库中所述信息类别的预设敏感信息,将显示信息与预设敏感信息进行比对;Obtaining preset sensitive information of the information category in the preset sensitive information database, and comparing the display information with the preset sensitive information;
    若显示信息与预设敏感信息匹配,则判定截屏文件中包含敏感信息,将截屏文件添加敏感标签。If the displayed information matches the preset sensitive information, it is determined that the screen capture file contains sensitive information, and the screen capture file is added with a sensitive label.
  15. 如权利要求14所述的截屏文件分享的控制设备,其中,所述若显示信息与预设敏感信息匹配,则判定截屏文件中包含敏感信息,将截屏文件添加敏感标签的步骤之后,包括:The control device for screen capture file sharing according to claim 14, wherein if the display information matches the preset sensitive information, the step of determining that the screen capture file contains sensitive information and adding the sensitive label to the screen capture file comprises:
    接收基于截屏文件触发的发送指令,获取发送指令中包含的接收账户,并判断截屏文件中是否具有敏感标签;Receiving a sending instruction triggered by the screen capture file, obtaining a receiving account included in the sending instruction, and determining whether the screen capture file has a sensitive label;
    若截屏文件中具有敏感标签,则对截屏文件中的敏感信息上进行虚化处理,得到传输文件;If the screen capture file has a sensitive label, the sensitive information in the screen capture file is blurred to obtain a transmission file;
    将所述传输文件发送至接收账户对应客户端,以防止个人敏感信息的泄露。Sending the transmission file to the receiving account corresponding client to prevent leakage of personal sensitive information.
  16. 如权利要求15所述的截屏文件分享的控制设备,其中,所述若截屏文件中具有敏感标签,则对截屏文件中的敏感信息上进行虚化处理,得到传输文件的步骤包括:The control device for screen capture file sharing according to claim 15, wherein if the screen capture file has a sensitive label, the sensitive information in the screen capture file is blurred, and the step of obtaining the transmission file includes:
    若截屏文件中包含敏感标签,则确定截屏文件中敏感信息所处坐标数据;If the screen capture file contains a sensitive label, the coordinate data of the sensitive information in the screen capture file is determined;
    将所述对应坐标位置的敏感信息进行虚化,得到传输文件。The sensitive information of the corresponding coordinate position is blurred to obtain a transmission file.
  17. 如权利要求14所述的截屏文件分享的控制设备,其中,所述获取预置敏感信息库中所述信息类别的预设敏感信息,将显示信息与预设敏感信息进行比对的步骤之后,包括:The control device for screen capture file sharing according to claim 14, wherein the step of acquiring the preset sensitive information of the information category in the preset sensitive information database and comparing the display information with the preset sensitive information is performed. include:
    若显示信息与预设敏感信息不匹配,则确定截屏文件所属应用,将截屏文件所属应用作为目标应用;If the display information does not match the preset sensitive information, determine the application to which the screen capture file belongs, and apply the application to which the screen capture file belongs as the target application;
    根据预设应用等级表确定目标应用的敏感级别,并判断目标应用的敏感级别是否超过预设阈值;Determining a sensitivity level of the target application according to the preset application level table, and determining whether the sensitivity level of the target application exceeds a preset threshold;
    若目标应用的敏感级别超过预设阈值,则输出截屏文件发送权限设置提示信息,以供用户输入截屏文件发送权限的验证标准信息;If the sensitivity level of the target application exceeds a preset threshold, the screen capture file sending permission setting prompt information is output, so that the user inputs the verification standard information of the screen file sending permission;
    接收截屏文件发送指令,获取截屏文件发送指令中的身份验证信息;Receiving a screen capture file sending instruction, and acquiring identity verification information in the screen capture file sending instruction;
    将身份验证信息与验证标准信息进行比对,若身份验证信息与验证标准信息匹配,则判定用户具有截屏文件发送权限,并进行截屏文件的发送。The authentication information is compared with the verification standard information. If the authentication information matches the verification standard information, it is determined that the user has the permission to send the screen capture file, and the screen capture file is sent.
  18. 一种计算机存储介质,其中,所述计算机存储介质上存储有截屏文件分享的控制程序,所述截屏文件分享的控制程序被处理器执行时实现如下的步骤:A computer storage medium, wherein the computer storage medium stores a control program for screen capture file sharing, and the control program for sharing the screen capture file is executed by the processor to implement the following steps:
    接收文件保存请求,将文件保存请求关联的文件保存至本地存储,生成对应的属性信息,建立文件与属性信息之间的关联关系;Receiving a file save request, saving the file associated with the file save request to the local storage, generating corresponding attribute information, and establishing an association relationship between the file and the attribute information;
    接收文件分享请求,获取文件分享指令中的待分享文件,根据所述关联关系获取的属性信息;Receiving a file sharing request, obtaining a to-be-shared file in the file sharing instruction, and acquiring attribute information according to the association relationship;
    将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件;Comparing the attribute information with the preset screen capture determination rule, and determining whether the file to be shared is a screen capture file;
    若待分享文件是截屏文件,则输出截屏文件分享风险提示。If the file to be shared is a screen capture file, the screen capture file shares the risk warning.
  19. 如权利要求18所述的计算机存储介质,其中,所述截屏文件分享的控制程序被处理器执行时实现将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件的步骤包括:The computer storage medium according to claim 18, wherein the control program for sharing the screen capture file is executed by the processor to compare the attribute information with the preset screen capture determination rule, and determine whether the file to be shared is a screen capture. The steps of the file include:
    将属性信息与预设截屏判定规则进行比对,其中,所述属性信息中包括:存储路径和/或尺寸数据;Comparing the attribute information with the preset screen capture determination rule, wherein the attribute information includes: a storage path and/or size data;
    若存储路径对应的存储标识与预设截屏判定规则中的路径标准标识匹配和/或尺寸数据与预设截屏判定规则中的屏幕尺寸匹配,则判定所述待分享文件是截屏文件。If the storage identifier corresponding to the storage path matches the path standard identifier in the preset screen capture determination rule and/or the size data matches the screen size in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
  20. 如权利要求18所述的计算机存储介质,其中,所述截屏文件分享的控制程序被处理器执行时实现将属性信息与预设截屏判定规则进行比对,并判断所述待分享文件是否为截屏文件的步骤,还包括:The computer storage medium according to claim 18, wherein the control program for sharing the screen capture file is executed by the processor to compare the attribute information with the preset screen capture determination rule, and determine whether the file to be shared is a screen capture. The steps of the file also include:
    获取属性信息中的生成时间与终端显示屏当前显示时间,得到生成时间与终端显示屏当前显示时间的时间间隔;Obtaining the generation time in the attribute information and the current display time of the terminal display, and obtaining the time interval between the generation time and the current display time of the terminal display;
    将属性信息中的时间间隔与预设截屏判定规则中的预设时间进行比对;Comparing the time interval in the attribute information with the preset time in the preset screen capture determination rule;
    若时间间隔与预设截屏判定规则中的预设时间匹配,则判定所述待分享文件是截屏文件。 If the time interval matches the preset time in the preset screen capture determination rule, it is determined that the file to be shared is a screen capture file.
PCT/CN2018/082706 2018-03-15 2018-04-11 Screenshot file sharing control method, apparatus and device, and computer storage medium WO2019174090A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810212956.6 2018-03-15
CN201810212956.6A CN108509533B (en) 2018-03-15 2018-03-15 Control method, device, equipment and the computer storage medium of screenshotss sharing files

Publications (1)

Publication Number Publication Date
WO2019174090A1 true WO2019174090A1 (en) 2019-09-19

Family

ID=63377139

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/082706 WO2019174090A1 (en) 2018-03-15 2018-04-11 Screenshot file sharing control method, apparatus and device, and computer storage medium

Country Status (2)

Country Link
CN (1) CN108509533B (en)
WO (1) WO2019174090A1 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388532B (en) * 2018-09-26 2022-10-28 Oppo广东移动通信有限公司 Test method, test device, electronic equipment and computer readable storage medium
CN109710576B (en) * 2018-12-29 2024-03-19 努比亚技术有限公司 File display method, terminal and storage medium
CN110222526B (en) * 2019-05-21 2024-04-26 平安科技(深圳)有限公司 Method and device for safely preventing outward sending
CN110363020B (en) * 2019-06-12 2023-07-04 平安科技(深圳)有限公司 Screen capturing monitoring method, device, computer equipment and storage medium
CN110287061B (en) * 2019-06-25 2023-05-16 重庆城市职业学院 Information maintenance system based on computer
CN110399748A (en) * 2019-07-23 2019-11-01 中国建设银行股份有限公司 A kind of screenshot method and device based on image recognition
CN110569295B (en) * 2019-08-02 2022-06-21 杭州安恒信息技术股份有限公司 Method for improving document early warning by positioning keywords
CN111079166B (en) * 2019-12-19 2020-11-03 深圳市图美电子技术有限公司 Safe network storage device capable of effectively preventing data leakage
CN111327516B (en) * 2020-01-20 2021-09-24 深圳传音控股股份有限公司 Information processing method, terminal and readable storage medium
CN111290675B (en) * 2020-03-02 2023-02-17 Oppo广东移动通信有限公司 Screenshot picture sharing method and device, terminal and storage medium
CN112100041A (en) * 2020-08-03 2020-12-18 联想(北京)有限公司 Processing method and device and electronic equipment
CN112464180A (en) * 2020-11-25 2021-03-09 平安信托有限责任公司 Page screenshot outgoing control method and system, electronic device and storage medium
CN112632644A (en) * 2020-12-18 2021-04-09 深圳市安络科技有限公司 Android system-based app screen capture prevention method, device and equipment
CN112764857A (en) * 2021-01-21 2021-05-07 维沃移动通信有限公司 Information processing method and device and electronic equipment
CN113094332A (en) * 2021-04-23 2021-07-09 北京天空卫士网络安全技术有限公司 File management method and device
CN113946386B (en) * 2021-12-20 2022-03-29 北京指掌易科技有限公司 Screen capture control method and device, computer equipment and storage medium
CN114518811A (en) * 2022-01-26 2022-05-20 维沃移动通信有限公司 Scroll screen-based information interaction method and device and electronic equipment
CN116738485B (en) * 2023-06-21 2023-12-05 江苏克胜集团股份有限公司 Security management system based on digital information transmission

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408686A (en) * 2014-10-31 2015-03-11 宇龙计算机通信科技(深圳)有限公司 Method, system and terminal for screen capturing
CN104407790A (en) * 2014-11-07 2015-03-11 深圳市中兴移动通信有限公司 Picture displaying method and system
CN106055996A (en) * 2016-05-18 2016-10-26 维沃移动通信有限公司 Method and mobile terminal for multimedia information sharing
US20170132742A1 (en) * 2015-11-10 2017-05-11 International Business Machines Corporation Context-based provision of screenshot modifications
CN106775625A (en) * 2016-11-15 2017-05-31 北京金山安全软件有限公司 Screenshot picture sharing method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408686A (en) * 2014-10-31 2015-03-11 宇龙计算机通信科技(深圳)有限公司 Method, system and terminal for screen capturing
CN104407790A (en) * 2014-11-07 2015-03-11 深圳市中兴移动通信有限公司 Picture displaying method and system
US20170132742A1 (en) * 2015-11-10 2017-05-11 International Business Machines Corporation Context-based provision of screenshot modifications
CN106055996A (en) * 2016-05-18 2016-10-26 维沃移动通信有限公司 Method and mobile terminal for multimedia information sharing
CN106775625A (en) * 2016-11-15 2017-05-31 北京金山安全软件有限公司 Screenshot picture sharing method and device and electronic equipment

Also Published As

Publication number Publication date
CN108509533B (en) 2019-08-16
CN108509533A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
WO2019174090A1 (en) Screenshot file sharing control method, apparatus and device, and computer storage medium
WO2020147383A1 (en) Process examination and approval method, device and system employing blockchain system, and non-volatile storage medium
WO2018018695A1 (en) Application freezing management method and device, and terminal
WO2016036115A1 (en) Electronic device and method for managing re-registration
WO2018233352A1 (en) Data transmission method, device, terminal and computer-readable storage medium
WO2019161598A1 (en) Method, apparatus and device for interacting instant messaging with mail, and storage medium
WO2016169390A1 (en) Application security protection method, terminal, and storage medium
WO2015108330A1 (en) Electronic device for controlling an external device using a number and method thereof
WO2018076865A1 (en) Data sharing method, device, storage medium, and electronic device
WO2015103954A1 (en) Information sharing method, information sharing apparatus, and electronic device
WO2016039582A1 (en) Method and apparatus for recognizing iris
WO2020062658A1 (en) Contract generation method and apparatus, and device and storage medium
WO2020253120A1 (en) Webpage registration method, system and device, and computer storage medium
WO2021003956A1 (en) Product information management method, apparatus and device, and storage medium
WO2018035929A1 (en) Method and apparatus for processing verification code
WO2020233060A1 (en) Event notification method and apparatus, event notification server, and storage medium
WO2020253131A1 (en) Bank card payment method, apparatus and device, and computer storage medium
WO2018053904A1 (en) Information processing method and terminal
WO2021027134A1 (en) Data storage method, apparatus and device and computer storage medium
WO2020155773A1 (en) Method of monitoring for suspicious text input, device, computer apparatus, and storage medium
WO2018076863A1 (en) Data storage method, apparatus, storage medium, server and system
EP3097743A1 (en) Electronic device for controlling an external device using a number and method thereof
WO2017016275A1 (en) Data processing method in on-line ticketing system, and on-line ticketing system
WO2012022215A1 (en) Interaction method, device, and system for interactive message on internet
WO2018079999A1 (en) Electronic device and method for operating the same

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (=EPO FORM 1205A DATED 22.12.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18909485

Country of ref document: EP

Kind code of ref document: A1