WO2017107196A1 - Method and apparatus for hiding sensitive information in picture through pressure - Google Patents

Method and apparatus for hiding sensitive information in picture through pressure Download PDF

Info

Publication number
WO2017107196A1
WO2017107196A1 PCT/CN2015/098980 CN2015098980W WO2017107196A1 WO 2017107196 A1 WO2017107196 A1 WO 2017107196A1 CN 2015098980 W CN2015098980 W CN 2015098980W WO 2017107196 A1 WO2017107196 A1 WO 2017107196A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
information
touch screen
sensitive information
user
Prior art date
Application number
PCT/CN2015/098980
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 华为技术有限公司
Priority to PCT/CN2015/098980 priority Critical patent/WO2017107196A1/en
Priority to CN201580078118.9A priority patent/CN107430761A/en
Publication of WO2017107196A1 publication Critical patent/WO2017107196A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting

Definitions

  • the present invention relates to the field of terminals, and in particular, to a method and apparatus for hiding sensitive information in a picture by pressure.
  • the user adopts the image processing tool before the image is released, especially in the third-party image processing tool (application) to crop and blur the upcoming image. , graffiti, blur, and other post-image processing and storage, and then the user uses the current interactive application call already Stored processed images, which will make the user's operation very cumbersome and can not enjoy a good experience.
  • application third-party image processing tool
  • the embodiments of the present invention provide a method and apparatus for hiding sensitive information in a picture by pressure.
  • the user quickly hides the sensitive information in the to-be-published picture by using force touch, without having to edit and store the picture with the library tool in advance; protecting the user's privacy and bringing great convenience to the user.
  • the embodiment of the present invention provides a method for hiding sensitive information in a picture by pressure, the method includes: acquiring a picture to be published; detecting a touch screen sliding of the user on the picture to be released and pressure of sliding the touch screen And increasing the layer processing on the area where the to-be-published picture is being touched by the touch screen; wherein the area to be posted is being touched by the touch screen Sensitive information, the layer being used to make the sensitive information invisible.
  • sensitive information includes, but is not limited to, contact information, account information, password information, time information, location information, person identification information, or property information, and the like. Or the content that the user wants to change is sensitive information.
  • adding layers to areas where the published picture is being stressed and swept includes, but is not limited to, blurring, blurring, or mosaic processing.
  • the sensitive information in the image can be entered every time a picture is called. Line editing; then post the edited multiple images to be released.
  • the user can display a function icon in the picture editing interface to indicate that the picture is in the editing state of the added layer, if the user is When adding layers, editing is incorrect, such as overwriting non-sensitive information, or the added layer affects the aesthetics of the original image. Users can click the function icon to remove the previous step or remove all added layers.
  • the photo editing interface can also display another function icon to indicate the completion of the editing operation of adding layers. After the user completes the editing operation of adding a layer, by clicking on the other function icon mentioned above, it means that the current picture is edited and can be released at any time.
  • an embodiment of the present invention provides an intelligent terminal, where the intelligent terminal includes an acquiring module, a detecting module, and a picture processing module.
  • An acquisition module configured to: acquire a picture to be published; a detection module, configured to detect a touch screen sliding of the user to be released on the image to be released and a pressure value of the touch screen sliding; the image processing module is configured to perform the detection When the module detects that the pressure value is greater than the preset threshold, the layer is processed on the area where the to-be-published picture is being touched by the touch screen; wherein the area to be posted is being touched by the touch screen Sensitive information, the layer being used to make the sensitive information invisible.
  • the device further includes a receiving module and a publishing module, the receiving module is configured to receive a publishing picture instruction, where the publishing picture instruction is used to indicate that the publishing module is to be released after adding a layer The picture is published.
  • an embodiment of the present invention provides an intelligent terminal, where the terminal includes at least: a display screen, a processor, a memory, and a bus; and the display screen, the processor, and the memory are connected by using the bus connection.
  • the display is used to receive user operations
  • the memory stores programs and instructions
  • the processor calls programs and instructions in the memory for performing a method as described above in accordance with an operation of a user received by the display screen.
  • An embodiment of the present invention provides a method for hiding sensitive information in a picture by pressure.
  • the method includes: acquiring a picture to be published; detecting a touch screen sliding of the user on the picture to be released and a pressure value of the touch screen sliding; when the pressure value is greater than
  • the threshold is preset, the layer processing is performed on the area where the picture to be posted is being touched by the touch screen; wherein the area where the picture to be posted is being touched by the touch screen corresponds to sensitive information, and the layer is used to make the sensitive information not visible.
  • the method enables the user to quickly edit the image by re-pressing, hide the corresponding sensitive information, and protect the user's privacy while avoiding the cumbersome operation of using the third-party image editing application to edit and store the image in advance; Under the premise of protecting user privacy, it is possible to publish pictures more quickly and bring a good experience to users.
  • Figure 1 is a picture containing sensitive information
  • 2 is a scene of publishing a picture in a chat application group chat
  • FIG. 3 is a scenario for publishing a picture in a network application
  • FIG. 5 is a schematic diagram of a method for adding a pressure increasing layer according to an embodiment of the present invention.
  • FIG. 6 is an example of a method for hiding sensitive information in a picture according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of a function module of an intelligent terminal according to an embodiment of the present invention.
  • FIG. 8 is a hardware structural diagram of an intelligent terminal according to an embodiment of the present invention.
  • FIG. 2 is a scene of publishing a picture in a chat application group chat, such as WeChat, QQ, etc.
  • FIG. 3 is a scene for publishing a picture in a web application, such as Sina Weibo.
  • Users often post some pictures on these network platforms for the interaction between netizens.
  • network communication has information disclosure and extensive communication, not all users are well-known close friends for any user. Netizens are generally strangers with common interests; users are looking forward to themselves. I can share my life on the Internet platform, but when it comes to personal privacy information, almost all users are still spreading information. Be cautious.
  • the most common use of the user is the picture and the text, especially the picture can more intuitively represent the information, so if the picture also contains the privacy information, the user needs to hide the privacy information in the picture.
  • the user presses the touch screen sliding operation to trigger the adding layer operation on the sensitive information in the image, and ensures that the other information of the image is unchanged, and after adding the layer, the user can Publish the edited image directly through the app.
  • FIG. 4 illustrates a method for hiding sensitive information in a picture by pressure according to an embodiment of the present invention.
  • the method enables the user to filter information more flexibly and conveniently, and has convenient operation and improved user experience.
  • the method specifically includes steps 101 to 103.
  • Step 101 The interactive application acquires a picture to be published.
  • the interactive application referred to in the present invention is a broad concept, including all applications that can be used for users to post messages, such as QQ, Post Bar, WeChat, Weibo, Renren, Maopu, Yibai, Jingdong, Taobao, Mobile Banking. , mobile business hall, facebook, Twitter, instagram, and major community forums.
  • the user can enter the message publishing interface through some prior art operations.
  • the function setting of the interactive application when the user selects to publish the image, there are two image acquisition methods, one is to call the camera software provided by the smart terminal or a third party.
  • the camera software directly shoots, and the other is to call the image software of the smart terminal or the third-party library software to select the image that has been stored before in the smart terminal; once the image is called, the interactive application obtains the image to be published, and the image to be released Often in preview mode.
  • the smart terminals mentioned in this patent include, but are not limited to, terminal devices such as smart phones, tablet computers, wearable devices, and the like, and particularly mobile terminal devices.
  • Step 102 Detect a touch screen sliding of the user on the picture to be released and a pressure value of the touch screen sliding.
  • the smart terminal detects the position where the user touches the screen, and also detects the pressure value of touching the screen, which can be integrated through the pressure of the screen of the smart terminal.
  • Devices such as sensors are available.
  • Step 103 When the pressure value is greater than the preset threshold, the layer processing is performed on the area where the picture to be released is being touched by the touch screen; wherein the area where the picture to be released is being touched by the touch screen corresponds to sensitive information, and the added Layers are used to make sensitive information invisible.
  • the preset threshold value referred to in the present invention is larger than the pressure sensing value that can trigger the normal operation. For example, when the pressure applied by the user reaches F1, the user can only preview and select the picture to be published; and when the pressure applied by the user reaches F2, the additional layer operation of the picture to be posted can be triggered; wherein F2 is greater than F1, and F2 is
  • the preset threshold can be set by the smart terminal manufacturer or customized by the user.
  • the sensitive information referred to in the embodiment of the present invention is also a broad concept, and the sensitive information includes but is not limited to: contact information, account information, password information, time information, location information, person identity information, or property information. Or the content that the user wants to hide is sensitive information.
  • the user can also use the technical scheme of the present invention to perform the graffiti operation to change the original appearance of the picture, and the user can perform the graffiti according to his or her wishes and interests, and then the area where the original picture is changed can be performed in the area corresponding to the sensitive information.
  • Sensitive information is usually a part of a picture. Therefore, one of the advantages of the present invention is to increase the layer processing of the local information and increase the convenience of the operation, while keeping the theme of the picture unchanged.
  • Figure 5 is a schematic diagram of the method of adding pressure to increase the layer.
  • the preset threshold is 2N, assuming that the force applied by the user is F
  • F when F is less than or equal to 2N, no editing operation is triggered on the picture, as shown by the dotted line in FIG. 5; once F is greater than 2N, the pair is triggered.
  • the picture adds the operation of the layer, as shown by the solid black line in Figure 5.
  • solid dotted lines in the figure are not specifically limited, and are merely illustrative.
  • Adding layers to areas where the published image is being pressed and swiped includes, but is not limited to, blurring, blurring, or mosaic processing, as long as it is capable of making image sensitive information indistinguishable or completely invisible. It is within the scope of the present invention to be equivalently substituted with an added layer.
  • the pressure value when the pressure value is greater than the preset threshold, the pressure value applied by the user is larger, and the added layer makes the corresponding sensitive information less visible, for example, the position of the image after the touch of the screen is 5N.
  • the sharpness of the picture is lower than that of the picture position after the sliding of the 3N force.
  • the user can trigger the editing operation of the image to be published by touching the screen on the screen, that is, the image editing function that is included in the interactive application is triggered by the pressure, or the third-party software that is being invoked by the interactive application is triggered by the pressure.
  • Picture editing features It should be understood that the touch screen operation on the to-be-published picture mentioned in the present invention means that the touch screen is displayed on the display position in the current screen corresponding to the picture to be released, and the touch screen operation of the touch screen position can trigger the Identification and editing operations of the pictures to be published.
  • FIG. 6 is an example of a method for hiding sensitive information in a picture according to an embodiment of the present invention.
  • the user wants to post a train ticket information that he subscribes to in the circle of friends or on Weibo to express his or her travels to the netizens, or to express himself or not to grab a ticket, or to express himself to a new place to open a new one. Life...etc.; however, he wants to publish the object of the majority of netizens. Many people may not know what his name is, nor do he know that his identity is a student. Therefore, for the user, the name and identity are privacy. And student fares indicating student status may also reveal identity information.
  • the user initially obtains this picture by means of a screen capture (as shown in the left figure of Figure 6, without the ellipse mark), and is stored in the memory of the smart terminal.
  • the interactive application's own gallery application or third-party gallery application can be called to call the image.
  • the ellipse area shown in the left figure of FIG. 6 (specific location) Not limited, as long as the area corresponding to the sensitive information is equivalent)
  • the user can perform the heavy pressing operation in the two elliptical areas.
  • the heavy pressure will trigger the picture editing operation, and after triggering the picture editing operation, If the screen strength is greater than the preset threshold, the layer will be added to the area being swiped.
  • the user can press and slide on the screen position corresponding to the sensitive information to increase the layer.
  • the right picture in Fig. 6 is a possible effect picture, that is, sensitive information such as name, identity, and fare are covered.
  • the graphic labeling in the drawings in the embodiment of the present invention is merely a symbol, and does not limit the position of the touch screen and the size of the touch screen in actual operation, as long as the user uses the diversity of operations, as long as The function that can be equivalent to the function of the operation function of the present invention should belong to the technical solution to be protected by the present invention, and will not be described below.
  • the user can display a function icon on the picture editing interface, which is used to indicate that the picture is in the editing state of the added layer. If the user edits the layer incorrectly, such as overwriting non-sensitive information, or the added layer affects the aesthetics of the original image, the user can remove the previous step or remove all the added layers by clicking the function icon.
  • the specific settings are set by the smart terminal by default or by the user.
  • the photo editing interface can also display another function icon to indicate the completion of the editing operation of adding layers. After the user completes the editing operation of adding a layer, by clicking on the other function icon mentioned above, it means that the current picture is edited and can be released at any time.
  • An embodiment of the present invention provides a method for hiding sensitive information in a picture by pressure.
  • the method includes: acquiring a picture to be published; detecting a touch screen sliding of the user on the picture to be released and a pressure value of the touch screen sliding; when the pressure value is greater than
  • the threshold is preset, the layer processing is performed on the area where the picture to be posted is being touched by the touch screen; wherein the area where the picture to be posted is being touched by the touch screen corresponds to sensitive information, and the layer is used to make the sensitive information not visible.
  • the method enables the user to quickly edit the image by re-pressing, hide the corresponding sensitive information, and protect the user's privacy while avoiding the cumbersome operation of using the third-party image editing application to edit and store the image in advance; Under the premise of protecting user privacy, it is possible to publish pictures more quickly and bring a good experience to users.
  • FIG. 7 is a structural diagram of a function module of an intelligent terminal according to an embodiment of the present invention.
  • the smart terminal 400 may be an intelligent terminal such as a wearable device, a smart phone, or a tablet computer, especially a mobile intelligent terminal.
  • the smart terminal 400 includes an acquisition module 401 and detection Module 402, picture processing module 403.
  • the obtaining module 401 is configured to obtain a picture to be published.
  • the obtaining module may be implemented by using a built-in interactive application or a third-party interactive application in the mobile phone.
  • the detecting module 402 is configured to detect a touch screen sliding on the to-be-released image acquired by the acquiring module 401 and a pressure value of the touch screen sliding; wherein the detecting module 402 can be implemented by using a pressure sensor integrated in the mobile phone screen, and configured by the processor Call a certain program for specific analysis.
  • the image processing module 403 is configured to: when the detection module 402 detects that the pressure value is greater than the preset threshold, perform an additional layer processing on the area where the picture to be released is being slid by the touch screen; wherein the picture to be released is being slid by the touch screen
  • the area corresponds to sensitive information, and the layer is used to make the sensitive information invisible.
  • the image processing module 403 can be implemented by the processor by calling a certain program.
  • the specific implementation may be a picture editing application provided by the smart terminal itself, or may be The image editing application integrated in the current interactive application can also be a third-party image editing tool/application called.
  • the manner in which the picture processing module 403 adds a layer to the area where the picture is being pressed and pressed is included, but is not limited to performing blurring, blurring, or mosaic processing, as long as the image sensitive information can be made indistinguishable or completely invisible.
  • the image processing method can be equivalently replaced with the added layer, and is within the scope of the protection of the present invention.
  • the smart terminal 400 may further include a receiving module 404 and a publishing module 405, configured to receive a publishing picture instruction, where the publishing picture instruction is used to instruct the publishing module 405 to publish the to-be-published picture after adding the layer.
  • the obtaining module 401 acquires the to-be-published picture (without the ellipse mark) as shown in the left figure of FIG. 6 and displays it on the current screen; the detecting module 402 detects the user's touch screen on the user's picture to be posted. The sliding operation and the pressure value when the touch screen slides; when the detecting module detects that the pressure value of the user acting on the screen is greater than the preset threshold, the image processing module 403 is triggered to perform the image editing operation, and thereafter, as long as the detecting module 402 detects When the user's touch screen pressure is greater than the preset threshold, the layer operation is performed on the area where the user is sliding the touch screen. After the detection module detects the user's weight in the sensitive information area as shown in the left figure of FIG. 6, the right picture of FIG. 6 is a situation in which the picture processing module 403 processes the image to be published.
  • the embodiment of the present invention provides an intelligent terminal 400, which includes an obtaining module 401, a detecting module 402, and a picture processing module 403.
  • the terminal enables the user to quickly edit the image by the pressure-triggered picture processing module 403 detected by the detecting module 402, and hides the corresponding sensitive information to protect the user's privacy while avoiding the use of the third party.
  • the image editing application treats the tedious operation of pre-editing and re-storing the image; in the premise of protecting the privacy of the user, the image can be released more quickly, bringing a good experience to the user.
  • FIG. 8 is a hardware structural diagram of an intelligent terminal according to an embodiment of the present invention.
  • the smart terminal 500 includes at least one processor 501 (for example, a CPU), a memory 502, at least one network interface 503, and at least one communication bus 504.
  • the display 505, the pressure sensor 506, the processor 501, the memory 502, the network interface 503, the display 505, and the pressure sensor 506 are connected and communicated through the communication bus 504 to cooperate to complete various functions of the intelligent terminal.
  • the processor 501 is configured to execute executable instruction module 5021 stored in the memory 502, such as computer programs, instructions, and the like.
  • Pressure sensor 506 is used to sense pressure and can obtain a value for pressure, typically pressure sensor 506 is integrated with display 505.
  • the memory 502 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory, such as at least an eMMC (Embedded Multi Media Card) memory.
  • the communication connection between the network device and at least one other network element is implemented by at least one network interface 503 (which may be wired or wireless), and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
  • the executable instruction module 5021 stores functional programs that implement the methods of the present invention, including but not limited to the methods themselves corresponding to steps 101-103 above and methods that can be equivalently substituted.
  • the processor 501 in conjunction with the display 505 and the pressure sensor 506, collectively executes any of the above-described embodiments and equivalent methods by calling the programs and instructions in the executable instruction module 5021.
  • the content is based on the same concept as the method embodiment of the present invention.
  • the description in the method embodiment of the present invention and details are not described herein.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method for hiding sensitive information in a picture through pressure. The method comprises: acquiring a picture to be published (101); detecting touch screen sliding of a user on the picture to be published and a pressure value of the touch screen sliding (102); and when the pressure value is greater than a pre-set threshold value, performing processing of adding a pattern layer on a region where the picture to be published is being slid by means of screen touch (103), wherein there is corresponding sensitive information on the region where the picture to be published is being slid by means of screen touch, and the pattern layer is used for making the sensitive information invisible. The method enables a user, when invoking a picture, to rapidly edit the picture through great pressure, hide corresponding sensitive information and protect user privacy.

Description

一种通过压力隐藏图片中敏感信息的方法及装置Method and device for hiding sensitive information in pictures by pressure 技术领域Technical field
本发明涉及终端领域,具体涉及一种通过压力隐藏图片中敏感信息的方法及装置。The present invention relates to the field of terminals, and in particular, to a method and apparatus for hiding sensitive information in a picture by pressure.
背景技术Background technique
针对用户在智能终端中使用的信息交互类应用,如QQ、贴吧、微信、微博、猫扑、糗百、京东、淘宝、手机银行以及各大论坛等,为了方便说明,本申请文件中将上述一类的应用统称为交互应用,用户在使用交互应用时,经常会发布若干图片,常用的发布图片的方式有利用软件自身的调用功能直接进行拍摄、发布智能终端中已经存储了的图片,然而有时一些图片上含有一些与当前沟通主题无关却又偏隐私的敏感信息,比如姓名、时间、地点、身份信息、特殊人物、账号、密码、余额、联系方式等敏感信息,如图1所示,图1为一种含有敏感信息的图片。用户如果想传播这种图片经常需要对这些敏感内容进行“隐藏”,使其变得不可见;以避免一些隐私信息在互联网环境中泄露。For the information interaction applications used by users in smart terminals, such as QQ, Post Bar, WeChat, Weibo, Mop, Yibai, Jingdong, Taobao, Mobile Banking, and major forums, etc., for the convenience of explanation, the above documents will be A class of applications are collectively referred to as interactive applications. When users use interactive applications, they often publish a number of images. The commonly used methods for publishing images are to use the software's own calling function to directly capture and publish the images already stored in the smart terminal. Sometimes some images contain sensitive information that is not related to the current communication theme but is private, such as name, time, location, identity information, special characters, account number, password, balance, contact information, etc., as shown in Figure 1. Figure 1 shows a picture with sensitive information. Users who want to spread such images often need to "hide" these sensitive content to make it invisible; to avoid some private information leaking in the Internet environment.
目前,用户为了避免一些隐私信息在互联网环境中泄露,采用的方式是在图片发布之前,利用图片处理工具,特别是要在第三方图片处理工具(应用)中对即将发布的图片进行裁剪、模糊、涂鸦、虚化等后期图片处理后并存储,然后用户再使用当前的交互应用调用已经 存储的处理好的图片,这样会使得用户的操作十分繁琐,不能享受到很好的体验。At present, in order to avoid some private information leaking in the Internet environment, the user adopts the image processing tool before the image is released, especially in the third-party image processing tool (application) to crop and blur the upcoming image. , graffiti, blur, and other post-image processing and storage, and then the user uses the current interactive application call already Stored processed images, which will make the user's operation very cumbersome and can not enjoy a good experience.
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种通过压力隐藏图片中敏感信息的方法及装置。用户通过重压(force touch)快速地隐藏待发布图片中的敏感信息,无需事先用图库工具对图片进行编辑存储;保护用户隐私的同时,带给用户很大的便捷性。In view of this, the embodiments of the present invention provide a method and apparatus for hiding sensitive information in a picture by pressure. The user quickly hides the sensitive information in the to-be-published picture by using force touch, without having to edit and store the picture with the library tool in advance; protecting the user's privacy and bringing great convenience to the user.
第一方面,本发明实施例提供了一种通过压力隐藏图片中敏感信息的方法,该方法包括:获取待发布图片;检测用户在所述待发布图片上的触屏滑动以及触屏滑动的压力值;当所述压力值大于预设阈值时,在所述待发布图片正在被触屏滑动的区域上进行增加图层处理;其中,所述待发布图片正在被触屏滑动的区域上对应有敏感信息,所述图层用于使所述敏感信息不可见。In a first aspect, the embodiment of the present invention provides a method for hiding sensitive information in a picture by pressure, the method includes: acquiring a picture to be published; detecting a touch screen sliding of the user on the picture to be released and pressure of sliding the touch screen And increasing the layer processing on the area where the to-be-published picture is being touched by the touch screen; wherein the area to be posted is being touched by the touch screen Sensitive information, the layer being used to make the sensitive information invisible.
在一种可能的设计中,敏感信息包括但不仅限于:联系信息、账号信息、密码信息、时间信息、地点信息、人物身份信息、或财产信息等等。或者说用户想要改变的内容都属于敏感信息。In one possible design, sensitive information includes, but is not limited to, contact information, account information, password information, time information, location information, person identification information, or property information, and the like. Or the content that the user wants to change is sensitive information.
在一种可能的设计中,压力值大于预设阈值时,压力值越大,增加的图层使敏感信息的可见程度越差。In one possible design, when the pressure value is greater than the preset threshold, the greater the pressure value, the worse the visibility of the sensitive information is.
在一种可能的设计中,对待发布图片正在被重压滑动的区域增加图层包括但不仅限于进行模糊处理、虚化处理、或马赛克处理。In one possible design, adding layers to areas where the published picture is being stressed and swept includes, but is not limited to, blurring, blurring, or mosaic processing.
在一种可能的设计中,如果用户对当前图片编辑完成后,如果还要发布多张图片,则可以在每调用一张图片时对图片中的敏感信息进 行编辑;而后对编辑好的多张待发布图片一齐发布。In a possible design, if the user has to publish multiple images after the current image is edited, the sensitive information in the image can be entered every time a picture is called. Line editing; then post the edited multiple images to be released.
在一种可能的设计中,用户在首次重压触发了对图片的编辑操作后,就可以在图片编辑界面显示一个功能图标,用于指示该图片正在处于增加图层的编辑状态,如果用户在增加图层时编辑有误,如覆盖了非敏感信息,或者增加的图层影响了原图的美观程度,用户可以通过点击功能图标来撤去上一步操作或是撤去所有增加的图层。In a possible design, after the user presses the editing operation on the picture for the first time, the user can display a function icon in the picture editing interface to indicate that the picture is in the editing state of the added layer, if the user is When adding layers, editing is incorrect, such as overwriting non-sensitive information, or the added layer affects the aesthetics of the original image. Users can click the function icon to remove the previous step or remove all added layers.
在一种可能的设计中,图片编辑界面还可以显示另一个功能图标,用于指示完成增加图层的编辑操作。当用户完成增加图层的编辑操作后,只要点击上述另一个功能图标,就表示对当前图片编辑完毕,随时可以发布。In one possible design, the photo editing interface can also display another function icon to indicate the completion of the editing operation of adding layers. After the user completes the editing operation of adding a layer, by clicking on the other function icon mentioned above, it means that the current picture is edited and can be released at any time.
第二方面,本发明实施例提供了一种智能终端,智能终端包括获取模块、检测模块、图片处理模块。获取模块,用于获取待发布图片;检测模块,用于检测用户在所述获取模块获取的待发布图片上的触屏滑动以及触屏滑动的压力值;图片处理模块,用于当所述检测模块检测到所述压力值大于预设阈值时,在所述待发布图片正在被触屏滑动的区域上进行增加图层处理;其中,所述待发布图片正在被触屏滑动的区域上对应有敏感信息,所述图层用于使所述敏感信息不可见。In a second aspect, an embodiment of the present invention provides an intelligent terminal, where the intelligent terminal includes an acquiring module, a detecting module, and a picture processing module. An acquisition module, configured to: acquire a picture to be published; a detection module, configured to detect a touch screen sliding of the user to be released on the image to be released and a pressure value of the touch screen sliding; the image processing module is configured to perform the detection When the module detects that the pressure value is greater than the preset threshold, the layer is processed on the area where the to-be-published picture is being touched by the touch screen; wherein the area to be posted is being touched by the touch screen Sensitive information, the layer being used to make the sensitive information invisible.
在一种可能的设计中,所述装置还包括接收模块和发布模块,所述接收模块用于接收发布图片指令,所述发布图片指令用于指示所述发布模块对增加图层后的待发布图片进行发布。In a possible design, the device further includes a receiving module and a publishing module, the receiving module is configured to receive a publishing picture instruction, where the publishing picture instruction is used to indicate that the publishing module is to be released after adding a layer The picture is published.
第三方面,本发明实施例提供了一种智能终端,所述终端至少包括:显示屏、处理器、存储器和总线;所述显示屏、所述处理器、所述存储器通过所述总线连接通信;所述显示屏用于接收用户的操作, 所述存储器存储有程序和指令,所述处理器调用所述存储器中的程序和指令,根据所述显示屏接收到的用户的操作,用于执行用于实现如上所述方法。In a third aspect, an embodiment of the present invention provides an intelligent terminal, where the terminal includes at least: a display screen, a processor, a memory, and a bus; and the display screen, the processor, and the memory are connected by using the bus connection. The display is used to receive user operations, The memory stores programs and instructions, and the processor calls programs and instructions in the memory for performing a method as described above in accordance with an operation of a user received by the display screen.
本发明实施例提供了一种通过压力隐藏图片中敏感信息的方法,该方法包括:获取待发布图片;检测用户在待发布图片上的触屏滑动以及触屏滑动的压力值;当压力值大于预设阈值时,在待发布图片正在被触屏滑动的区域上进行增加图层处理;其中,待发布图片正在被触屏滑动的区域上对应有敏感信息,上述图层用于使敏感信息不可见。该方法使得用户在调用图片时,能够通过重压迅速对图片进行编辑,隐藏相应的敏感信息,保护用户隐私;同时避免了使用第三方图片编辑应用对待发布图片提前编辑再存储的繁琐操作;在保护用户隐私的前提下,能够更迅速地发布图片,给用户带来良好的体验。An embodiment of the present invention provides a method for hiding sensitive information in a picture by pressure. The method includes: acquiring a picture to be published; detecting a touch screen sliding of the user on the picture to be released and a pressure value of the touch screen sliding; when the pressure value is greater than When the threshold is preset, the layer processing is performed on the area where the picture to be posted is being touched by the touch screen; wherein the area where the picture to be posted is being touched by the touch screen corresponds to sensitive information, and the layer is used to make the sensitive information not visible. The method enables the user to quickly edit the image by re-pressing, hide the corresponding sensitive information, and protect the user's privacy while avoiding the cumbersome operation of using the third-party image editing application to edit and store the image in advance; Under the premise of protecting user privacy, it is possible to publish pictures more quickly and bring a good experience to users.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图1为一种含有敏感信息的图片;Figure 1 is a picture containing sensitive information;
图2为一种聊天应用群聊中发布图片的场景;2 is a scene of publishing a picture in a chat application group chat;
图3为一种网络应用中发布图片的场景; FIG. 3 is a scenario for publishing a picture in a network application;
图4为本发明实施例中一种通过压力隐藏图片中敏感信息的方法;4 is a method for hiding sensitive information in a picture by pressure according to an embodiment of the present invention;
图5为本发明实施例中一种重压增加图层的方法示意图;FIG. 5 is a schematic diagram of a method for adding a pressure increasing layer according to an embodiment of the present invention; FIG.
图6为本发明实施例的一种隐藏图片中敏感信息的方法示例;6 is an example of a method for hiding sensitive information in a picture according to an embodiment of the present invention;
图7为本发明实施例的一种智能终端功能模块结构图;FIG. 7 is a structural diagram of a function module of an intelligent terminal according to an embodiment of the present invention; FIG.
图8为本发明实施例的一种智能终端的硬件结构图。FIG. 8 is a hardware structural diagram of an intelligent terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围;此外,以下实施例中会有很多特征的细化和解释,为了避免出现过多的冗余,细化和解释适应于同原理下同样的特征。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention; in addition, the following embodiments have many features and Explain that in order to avoid excessive redundancy, the refinement and interpretation are adapted to the same features under the same principle.
请参阅图2图3,图2图3都是常见的图片发布场景。图2为一种聊天应用群聊中发布图片的场景,如微信、QQ等;图3为一种网络应用中发布图片的场景,如新浪微博等。用户常常会在这些网络平台上发布一些图片,供网友们的之间的交流互动。然而由于网络交流具有信息公开性且兼具交际广泛性,因此对于任何一个用户来说,并不是所有的网友都是熟知的亲密好友,网友一般都是有共同爱好的陌生人;用户很期待自己能在互联网这个平台上分享自己生活的点滴,但是当涉及到个人的隐私信息时,几乎所有的用户还是对信息的扩散 保持着慎重。对于网络交互类的应用,用户最常用的就是图片和文字,尤其是图片更能直观地表现信息,因此图片中如果还包含隐私信息时用户就需要对图片中的隐私信息进行隐藏处理。本发明在用户使用应用调用待发布图片的过程中,通过重压触屏滑动操作,触发对图片中敏感信息的增添图层操作,而保证图片的其他信息不变,增添图层后,便可以通过应用直接将编辑好的图片发布出去。Please refer to FIG. 2 and FIG. 3, and FIG. 2 and FIG. 3 are common image publishing scenarios. FIG. 2 is a scene of publishing a picture in a chat application group chat, such as WeChat, QQ, etc.; FIG. 3 is a scene for publishing a picture in a web application, such as Sina Weibo. Users often post some pictures on these network platforms for the interaction between netizens. However, because network communication has information disclosure and extensive communication, not all users are well-known close friends for any user. Netizens are generally strangers with common interests; users are looking forward to themselves. I can share my life on the Internet platform, but when it comes to personal privacy information, almost all users are still spreading information. Be cautious. For the application of the network interaction class, the most common use of the user is the picture and the text, especially the picture can more intuitively represent the information, so if the picture also contains the privacy information, the user needs to hide the privacy information in the picture. In the process of the user using the application to call the image to be published, the user presses the touch screen sliding operation to trigger the adding layer operation on the sensitive information in the image, and ensures that the other information of the image is unchanged, and after adding the layer, the user can Publish the edited image directly through the app.
请参阅图4,图4为本发明实施例中一种通过压力隐藏图片中敏感信息的方法,该方法使得用户对于信息的筛选更加灵活自如,操作方便,提升了用户体验。该方法具体包括步骤101至103。Referring to FIG. 4, FIG. 4 illustrates a method for hiding sensitive information in a picture by pressure according to an embodiment of the present invention. The method enables the user to filter information more flexibly and conveniently, and has convenient operation and improved user experience. The method specifically includes steps 101 to 103.
步骤101:交互应用获取待发布图片。Step 101: The interactive application acquires a picture to be published.
本发明中所指的交互应用,是一个广义的概念,它包括一切可以供用户发布消息的应用,例如QQ、贴吧、微信、微博、人人、猫扑、糗百、京东、淘宝、手机银行、移动营业厅、facebook、推特、instagram、以及各大社区论坛等。用户可以通过一些现有技术的操作进入消息发布界面,根据交互应用的功能设置,用户选择发布图片时,会有两种图片获取方式,一种是调用智能终端自带的拍照软件或是第三方拍照软件直接拍摄,另一种是调用智能终端自带的图库软件或是第三方图库软件选择智能终端中之前就已经存储的图片;一旦调用图片,交互应用就获取到了待发布图片,待发布图片往往处于预览模式。其中,本专利中所提到的智能终端包括但不限于智能手机、平板电脑、穿戴式设备等终端设备,特别是移动终端设备。The interactive application referred to in the present invention is a broad concept, including all applications that can be used for users to post messages, such as QQ, Post Bar, WeChat, Weibo, Renren, Maopu, Yibai, Jingdong, Taobao, Mobile Banking. , mobile business hall, facebook, Twitter, instagram, and major community forums. The user can enter the message publishing interface through some prior art operations. According to the function setting of the interactive application, when the user selects to publish the image, there are two image acquisition methods, one is to call the camera software provided by the smart terminal or a third party. The camera software directly shoots, and the other is to call the image software of the smart terminal or the third-party library software to select the image that has been stored before in the smart terminal; once the image is called, the interactive application obtains the image to be published, and the image to be released Often in preview mode. The smart terminals mentioned in this patent include, but are not limited to, terminal devices such as smart phones, tablet computers, wearable devices, and the like, and particularly mobile terminal devices.
步骤102:检测用户在待发布图片上的触屏滑动以及触屏滑动的压力值。 Step 102: Detect a touch screen sliding of the user on the picture to be released and a pressure value of the touch screen sliding.
其中,当用户在待发布图片上进行触屏操作时,智能终端就会检测到用户触碰屏幕的位置,也会检测到触碰屏幕的压力值,这些可以通过智能终端的屏幕中集成的压力传感器等器件来获取。Wherein, when the user performs a touch screen operation on the picture to be released, the smart terminal detects the position where the user touches the screen, and also detects the pressure value of touching the screen, which can be integrated through the pressure of the screen of the smart terminal. Devices such as sensors are available.
步骤103:当压力值大于预设阈值时,在待发布图片正在被触屏滑动的区域上进行增加图层处理;其中,待发布图片正在被触屏滑动的区域上对应有敏感信息,增加的图层用于使敏感信息不可见。Step 103: When the pressure value is greater than the preset threshold, the layer processing is performed on the area where the picture to be released is being touched by the touch screen; wherein the area where the picture to be released is being touched by the touch screen corresponds to sensitive information, and the added Layers are used to make sensitive information invisible.
这是本发明的创新点之一,通过重压的方式来触发对图片增加图层。现有技术中并不区分重压与普通力度的触碰操作,本发明中所指的预设阈值比能触发普通操作的压力感应值要大。例如用户施予的压力达到F1时,用户只能实现对待发布图片的预览和选择;而用户施予的压力达到F2时,可以触发对待发布图片的增加图层操作;其中F2大于F1,F2为预设阈值,可以由智能终端厂商出厂设定也可以由用户自定义。This is one of the innovations of the present invention, which triggers the addition of layers to the picture by means of a heavy press. In the prior art, the touch operation of the heavy pressure and the normal force is not distinguished, and the preset threshold value referred to in the present invention is larger than the pressure sensing value that can trigger the normal operation. For example, when the pressure applied by the user reaches F1, the user can only preview and select the picture to be published; and when the pressure applied by the user reaches F2, the additional layer operation of the picture to be posted can be triggered; wherein F2 is greater than F1, and F2 is The preset threshold can be set by the smart terminal manufacturer or customized by the user.
本发明实施例中所指的敏感信息也是一个广义的概念,敏感信息包括但不仅限于:联系信息、账号信息、密码信息、时间信息、地点信息、人物身份信息、或财产信息等等。或者说用户想要隐藏的内容都属于敏感信息。从更广义的层面上来说,用户还可以使用本发明中技术方案进行涂鸦操作,以改变图片的原貌,用户按照自己意愿、兴趣进行涂鸦进而改变图片原状的区域都可以与敏感信息对应的区域进行等同。敏感信息通常是一张图片的局部,因此本发明的好处之一在于保持一张图片的主题思想没变的前提下,只对局部信息进行增加图层处理,增加操作的便捷性。The sensitive information referred to in the embodiment of the present invention is also a broad concept, and the sensitive information includes but is not limited to: contact information, account information, password information, time information, location information, person identity information, or property information. Or the content that the user wants to hide is sensitive information. On a more general level, the user can also use the technical scheme of the present invention to perform the graffiti operation to change the original appearance of the picture, and the user can perform the graffiti according to his or her wishes and interests, and then the area where the original picture is changed can be performed in the area corresponding to the sensitive information. Equivalent. Sensitive information is usually a part of a picture. Therefore, one of the advantages of the present invention is to increase the layer processing of the local information and increase the convenience of the operation, while keeping the theme of the picture unchanged.
用户具体操作如图5所示,图5为一种重压增加图层的方法示意 图。例如:预设阈值为2N,假设用户所施加的力为F,则当F小于等于2N时,对图片不会触发任何编辑操作,如图5中虚线所示;一旦F大于2N,则触发对图片增加图层的操作,如图5中黑色实线所示。作为补充说明,增加图层的方式有很多种,图中的实线虚线并非具体限定,仅仅是示意性的说明。对待发布图片正在被重压滑动的区域增加图层包括但不仅限于进行模糊处理、虚化处理、或马赛克处理,只要是能够使图片敏感信息变得无法分辨或完全不可见的图片处理方式都是可以与增加图层进行等同替换的,属于本发明保护的范围内。The specific operation of the user is shown in Figure 5. Figure 5 is a schematic diagram of the method of adding pressure to increase the layer. Figure. For example, if the preset threshold is 2N, assuming that the force applied by the user is F, when F is less than or equal to 2N, no editing operation is triggered on the picture, as shown by the dotted line in FIG. 5; once F is greater than 2N, the pair is triggered. The picture adds the operation of the layer, as shown by the solid black line in Figure 5. As a supplementary explanation, there are many ways to add a layer, and solid dotted lines in the figure are not specifically limited, and are merely illustrative. Adding layers to areas where the published image is being pressed and swiped includes, but is not limited to, blurring, blurring, or mosaic processing, as long as it is capable of making image sensitive information indistinguishable or completely invisible. It is within the scope of the present invention to be equivalently substituted with an added layer.
在具体实现过程中,压力值大于预设阈值时,用户施加的压力值越大,所增加的图层使对应的敏感信息的可见程度越差,例如5N的力所触屏滑动后的图片位置的清晰度要比3N的力所触屏滑动后的图片位置的清晰度要更低。In a specific implementation process, when the pressure value is greater than the preset threshold, the pressure value applied by the user is larger, and the added layer makes the corresponding sensitive information less visible, for example, the position of the image after the touch of the screen is 5N. The sharpness of the picture is lower than that of the picture position after the sliding of the 3N force.
此外,用户通过在屏幕上触屏进而触发对待发布图片的编辑操作,即可以是通过重压触发交互应用中自带的图片编辑功能,也可以是通过重压触发交互应用正在调用的第三方软件的图片编辑功能。应理解,本发明中所提到的在待发布图片上进行触屏操作,是指在待发布图片对应当前屏幕中的显示位置上触屏,且该触屏位置的触屏操作能够触发对该待发布图片的识别和编辑操作。In addition, the user can trigger the editing operation of the image to be published by touching the screen on the screen, that is, the image editing function that is included in the interactive application is triggered by the pressure, or the third-party software that is being invoked by the interactive application is triggered by the pressure. Picture editing features. It should be understood that the touch screen operation on the to-be-published picture mentioned in the present invention means that the touch screen is displayed on the display position in the current screen corresponding to the picture to be released, and the touch screen operation of the touch screen position can trigger the Identification and editing operations of the pictures to be published.
由于用户操作场景的不同,因此上述技术方案的实现方式也是多种多样的,下文将以具体示例的方式对上述方法进行详细说明,对于任何可以进行等同和替换的技术方案以及应用场景,都应属于本发明的保护范围内。 The implementation of the foregoing technical solution is also various due to the difference of the user operation scenarios. The foregoing method will be described in detail in a specific example manner, and any technical solution and application scenario that can be equivalent and replaced should be It is within the scope of protection of the present invention.
示例:Example:
请参阅图6,图6为本发明实施例的一种隐藏图片中敏感信息的方法示例。用户想在朋友圈或者微博上发布一张自己订阅的火车票信息,以向网友表达自己安排的出行,或者表达自己好不容易抢了一张票,或者表达自己要去新的地方开启新的生活……等等;然而他想发布的对象是广大网友,很多人可能并不知道他叫什么名字,也不知道他的身份是一个学生,因此对于该用户而言,姓名和身份都是隐私,而且表明学生身份的学生票价也有可能透漏身份信息。用户起初是通过截屏的方式来获得到这张图片(如图6左图所示,不含椭圆标记),并存储在智能终端的存储器中。用户通过交互应用想要发布这张图片时,可以调用交互应用自身的图库应用或者第三方图库应用来调用该图片,由于该图存在敏感信息,如图6左图所示的椭圆区域(具体位置不予以限定,只要是敏感信息对应的区域都是可以等同的),此时用户可以在这两个椭圆区域进行重压操作,重压会触发图片编辑操作,并触发图片编辑操作后,只要触屏力度大于预设阈值,则正在被滑动的区域上就会增加图层。用户可以在敏感信息对应的屏幕位置进行重压滑动,以增加图层,图6右图为一种可能的效果图,即姓名、身份、票价等敏感信息都被覆盖掉了。Please refer to FIG. 6. FIG. 6 is an example of a method for hiding sensitive information in a picture according to an embodiment of the present invention. The user wants to post a train ticket information that he subscribes to in the circle of friends or on Weibo to express his or her travels to the netizens, or to express himself or not to grab a ticket, or to express himself to a new place to open a new one. Life...etc.; however, he wants to publish the object of the majority of netizens. Many people may not know what his name is, nor do he know that his identity is a student. Therefore, for the user, the name and identity are privacy. And student fares indicating student status may also reveal identity information. The user initially obtains this picture by means of a screen capture (as shown in the left figure of Figure 6, without the ellipse mark), and is stored in the memory of the smart terminal. When the user wants to publish the image through the interactive application, the interactive application's own gallery application or third-party gallery application can be called to call the image. Since the image has sensitive information, the ellipse area shown in the left figure of FIG. 6 (specific location) Not limited, as long as the area corresponding to the sensitive information is equivalent), the user can perform the heavy pressing operation in the two elliptical areas. The heavy pressure will trigger the picture editing operation, and after triggering the picture editing operation, If the screen strength is greater than the preset threshold, the layer will be added to the area being swiped. The user can press and slide on the screen position corresponding to the sensitive information to increase the layer. The right picture in Fig. 6 is a possible effect picture, that is, sensitive information such as name, identity, and fare are covered.
作为补充说明的是,本发明实施例中附图中的图形标注仅仅是一种象征,并不限定实际操作中的触屏位置、触屏范围的大小,由于用户使用操作的多样性,只要能够起到的功能与本发明操作功能效果可以等同的都应属于本发明要保护的技术方案,以下不再赘述。As a supplementary description, the graphic labeling in the drawings in the embodiment of the present invention is merely a symbol, and does not limit the position of the touch screen and the size of the touch screen in actual operation, as long as the user uses the diversity of operations, as long as The function that can be equivalent to the function of the operation function of the present invention should belong to the technical solution to be protected by the present invention, and will not be described below.
在本发明实施例的具体实现过程中,如果用户对当前图片编辑完 成后,如果还要发布多张图片,则可以在每调用一张图片时对图片中的敏感信息进行编辑;而后对编辑好的多张待发布图片一齐发布。In the specific implementation process of the embodiment of the present invention, if the user finishes editing the current picture After the completion, if you want to publish multiple images, you can edit the sensitive information in the image every time you call an image; then publish the edited multiple images to be published.
在本发明实施例的具体实现过程中,用户在首次重压触发了对图片的编辑操作后,就可以在图片编辑界面显示一个功能图标,用于指示该图片正在处于增加图层的编辑状态,如果用户在增加图层时编辑有误,如覆盖了非敏感信息,或者增加的图层影响了原图的美观程度,用户可以通过点击功能图标来撤去上一步操作或是撤去所有增加的图层,具体的设定由智能终端默认设置或由用户自定义。另外,图片编辑界面还可以显示另一个功能图标,用于指示完成增加图层的编辑操作。当用户完成增加图层的编辑操作后,只要点击上述另一个功能图标,就表示对当前图片编辑完毕,随时可以发布。In the specific implementation process of the embodiment of the present invention, after the user presses the editing operation on the picture for the first time, the user can display a function icon on the picture editing interface, which is used to indicate that the picture is in the editing state of the added layer. If the user edits the layer incorrectly, such as overwriting non-sensitive information, or the added layer affects the aesthetics of the original image, the user can remove the previous step or remove all the added layers by clicking the function icon. The specific settings are set by the smart terminal by default or by the user. In addition, the photo editing interface can also display another function icon to indicate the completion of the editing operation of adding layers. After the user completes the editing operation of adding a layer, by clicking on the other function icon mentioned above, it means that the current picture is edited and can be released at any time.
本发明实施例提供了一种通过压力隐藏图片中敏感信息的方法,该方法包括:获取待发布图片;检测用户在待发布图片上的触屏滑动以及触屏滑动的压力值;当压力值大于预设阈值时,在待发布图片正在被触屏滑动的区域上进行增加图层处理;其中,待发布图片正在被触屏滑动的区域上对应有敏感信息,上述图层用于使敏感信息不可见。该方法使得用户在调用图片时,能够通过重压迅速对图片进行编辑,隐藏相应的敏感信息,保护用户隐私;同时避免了使用第三方图片编辑应用对待发布图片提前编辑再存储的繁琐操作;在保护用户隐私的前提下,能够更迅速地发布图片,给用户带来良好的体验。An embodiment of the present invention provides a method for hiding sensitive information in a picture by pressure. The method includes: acquiring a picture to be published; detecting a touch screen sliding of the user on the picture to be released and a pressure value of the touch screen sliding; when the pressure value is greater than When the threshold is preset, the layer processing is performed on the area where the picture to be posted is being touched by the touch screen; wherein the area where the picture to be posted is being touched by the touch screen corresponds to sensitive information, and the layer is used to make the sensitive information not visible. The method enables the user to quickly edit the image by re-pressing, hide the corresponding sensitive information, and protect the user's privacy while avoiding the cumbersome operation of using the third-party image editing application to edit and store the image in advance; Under the premise of protecting user privacy, it is possible to publish pictures more quickly and bring a good experience to users.
请参阅图7,图7为本发明实施例的一种智能终端功能模块结构图,该智能终端400可以是穿戴式设备、智能手机、平板电脑等智能终端,尤其是移动智能终端。智能终端400包括获取模块401、检测 模块402、图片处理模块403。Referring to FIG. 7, FIG. 7 is a structural diagram of a function module of an intelligent terminal according to an embodiment of the present invention. The smart terminal 400 may be an intelligent terminal such as a wearable device, a smart phone, or a tablet computer, especially a mobile intelligent terminal. The smart terminal 400 includes an acquisition module 401 and detection Module 402, picture processing module 403.
获取模块401,用于获取待发布图片;其中获取模块可以通过手机中的内置交互应用或是第三方交互应用来实现。The obtaining module 401 is configured to obtain a picture to be published. The obtaining module may be implemented by using a built-in interactive application or a third-party interactive application in the mobile phone.
检测模块402,用于检测用户在获取模块401获取的待发布图片上的触屏滑动以及触屏滑动的压力值;其中检测模块402可以通过手机屏幕中集成的压力传感器来实现,并由处理器调用一定的程序进行具体分析。The detecting module 402 is configured to detect a touch screen sliding on the to-be-released image acquired by the acquiring module 401 and a pressure value of the touch screen sliding; wherein the detecting module 402 can be implemented by using a pressure sensor integrated in the mobile phone screen, and configured by the processor Call a certain program for specific analysis.
图片处理模块403,用于当检测模块402检测到压力值大于预设阈值时,在待发布图片正在被触屏滑动的区域上进行增加图层处理;其中,待发布图片正在被触屏滑动的区域上对应有敏感信息,图层用于使敏感信息不可见;图片处理模块403可以由处理器调用一定的程序来实现,具体实现中可以是智能终端自身自带的图片编辑应用,也可以是当前交互应用中集成的图片编辑应用,还可以是调用的第三方图片编辑工具/应用。图片处理模块403对待发布图片正在被重压滑动的区域增加图层的方式包括但不仅限于进行模糊处理、虚化处理、或马赛克处理,只要是能够使图片敏感信息变得无法分辨或完全不可见的图片处理方式都是可以与增加图层进行等同替换的,属于本发明保护的范围内。The image processing module 403 is configured to: when the detection module 402 detects that the pressure value is greater than the preset threshold, perform an additional layer processing on the area where the picture to be released is being slid by the touch screen; wherein the picture to be released is being slid by the touch screen The area corresponds to sensitive information, and the layer is used to make the sensitive information invisible. The image processing module 403 can be implemented by the processor by calling a certain program. The specific implementation may be a picture editing application provided by the smart terminal itself, or may be The image editing application integrated in the current interactive application can also be a third-party image editing tool/application called. The manner in which the picture processing module 403 adds a layer to the area where the picture is being pressed and pressed is included, but is not limited to performing blurring, blurring, or mosaic processing, as long as the image sensitive information can be made indistinguishable or completely invisible. The image processing method can be equivalently replaced with the added layer, and is within the scope of the protection of the present invention.
智能终端400还可以包括接收模块404和发布模块405,用于接收发布图片指令,该发布图片指令用于指示发布模块405对增加图层后的待发布图片进行发布。The smart terminal 400 may further include a receiving module 404 and a publishing module 405, configured to receive a publishing picture instruction, where the publishing picture instruction is used to instruct the publishing module 405 to publish the to-be-published picture after adding the layer.
其中,与上述方法实施例中对应的同等概念在此不再赘述,本领域技术人员不加创造性就能进行的等同替换都应属于本发明的保护 范围之内,不受到方法和装置的区别和约束。The equivalent concepts in the foregoing method embodiments are not described herein again, and equivalent replacements that can be performed by those skilled in the art without any inventiveness should belong to the protection of the present invention. Within the scope, there is no difference or constraint between methods and devices.
如上述示例,获取模块401获取如图6左图所示的待发布图片(不含椭圆标记),并在当前屏幕上显示;检测模块402检测到用户在用户在该待发布图片上的触屏滑动操作以及触屏滑动时的压力值;当检测模块检测到用户作用在屏幕上的压力值大于预设阈值时,就会触发图片处理模块403进行图片编辑操作,此后,只要检测模块402检测到用户的触屏压力大于预设阈值时,对用户正在触屏滑动的区域进行增加图层操作。检测模块检测到用户在如图6左图所示敏感信息区域的重压后,图6右图为图片处理模块403对待发布图片的处理效果的一种情形。As in the above example, the obtaining module 401 acquires the to-be-published picture (without the ellipse mark) as shown in the left figure of FIG. 6 and displays it on the current screen; the detecting module 402 detects the user's touch screen on the user's picture to be posted. The sliding operation and the pressure value when the touch screen slides; when the detecting module detects that the pressure value of the user acting on the screen is greater than the preset threshold, the image processing module 403 is triggered to perform the image editing operation, and thereafter, as long as the detecting module 402 detects When the user's touch screen pressure is greater than the preset threshold, the layer operation is performed on the area where the user is sliding the touch screen. After the detection module detects the user's weight in the sensitive information area as shown in the left figure of FIG. 6, the right picture of FIG. 6 is a situation in which the picture processing module 403 processes the image to be published.
本发明实施例提供了一种智能终端400,该智能终端包括获取模块401、检测模块402、图片处理模块403。该终端使得用户在通过获取模块401获取图片时,能够通过检测模块402检测到的重压触发图片处理模块403迅速对图片进行编辑,隐藏相应的敏感信息,保护用户隐私;同时避免了使用第三方图片编辑应用对待发布图片提前编辑再存储的繁琐操作;在保护用户隐私的前提下,能够更迅速地发布图片,给用户带来良好的体验。The embodiment of the present invention provides an intelligent terminal 400, which includes an obtaining module 401, a detecting module 402, and a picture processing module 403. The terminal enables the user to quickly edit the image by the pressure-triggered picture processing module 403 detected by the detecting module 402, and hides the corresponding sensitive information to protect the user's privacy while avoiding the use of the third party. The image editing application treats the tedious operation of pre-editing and re-storing the image; in the premise of protecting the privacy of the user, the image can be released more quickly, bringing a good experience to the user.
请参阅图8,图8为本发明实施例的一种智能终端的硬件结构图,智能终端500包括至少一个处理器501(例如CPU),存储器502,至少一个网络接口503,至少一个通信总线504、显示器505、压力传感器506;处理器501、存储器502、网络接口503、显示器505、压力传感器506通过通信总线504连接通信,以协作完成智能终端的各项功能。 Please refer to FIG. 8. FIG. 8 is a hardware structural diagram of an intelligent terminal according to an embodiment of the present invention. The smart terminal 500 includes at least one processor 501 (for example, a CPU), a memory 502, at least one network interface 503, and at least one communication bus 504. The display 505, the pressure sensor 506, the processor 501, the memory 502, the network interface 503, the display 505, and the pressure sensor 506 are connected and communicated through the communication bus 504 to cooperate to complete various functions of the intelligent terminal.
其中,处理器501用于执行存储器502中存储的可执行指令模块5021,例如计算机程序、指令等数据。压力传感器506用于感知压力并可以获取压力的值,通常压力传感器506与显示器505集成在一起。存储器502可能包含高速随机存取存储器(RAM:Random Access Memory),也可能还包括非易失性存储器(non-volatile memory),例如至少eMMC(Embedded Multi Media Card,嵌入式多媒体卡)存储器。通过至少一个网络接口503(可以是有线或者无线)实现该网络设备与至少一个其他网元之间的通信连接,可以使用互联网,广域网、本地网、城域网等。The processor 501 is configured to execute executable instruction module 5021 stored in the memory 502, such as computer programs, instructions, and the like. Pressure sensor 506 is used to sense pressure and can obtain a value for pressure, typically pressure sensor 506 is integrated with display 505. The memory 502 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory, such as at least an eMMC (Embedded Multi Media Card) memory. The communication connection between the network device and at least one other network element is implemented by at least one network interface 503 (which may be wired or wireless), and may use an Internet, a wide area network, a local network, a metropolitan area network, or the like.
可执行指令模块5021存储了实现本发明方法的功能程序,包括但不仅限于上述步骤101-103对应的方法本身以及可以进行等同替换的方法。如此一来,处理器501通过调用可执行指令模块5021中的程序和指令,结合显示器505、压力传感器506共同执行上述实施例中的任一方法和等同方法。The executable instruction module 5021 stores functional programs that implement the methods of the present invention, including but not limited to the methods themselves corresponding to steps 101-103 above and methods that can be equivalently substituted. As such, the processor 501, in conjunction with the display 505 and the pressure sensor 506, collectively executes any of the above-described embodiments and equivalent methods by calling the programs and instructions in the executable instruction module 5021.
需要说明的是,对于前述的各方法实施例,为了简单描述,有时表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须限定的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, it is sometimes expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence, because Invented, certain steps may be performed in other orders or simultaneously. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily limited by the invention.
本发明的说明书和权利要求书及附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况 下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention are used to distinguish similar objects and are not necessarily used for description. Specific order or order. It should be understood that the data used in this way is appropriate The embodiments may be interchanged so that the embodiments of the invention described herein can be implemented, for example, in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
上述装置和系统内的各模块之间的信息交互、执行过程等内容,由于与本发明方法实施例基于同一构思,具体内容可参见本发明方法实施例中的叙述,对此不再赘述。For the information exchange, the execution process, and the like between the above-mentioned devices and the modules in the system, the content is based on the same concept as the method embodiment of the present invention. For details, refer to the description in the method embodiment of the present invention, and details are not described herein.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,上述的存储介质可为磁碟、光盘、只读存储记忆体(ROM:Read-Only Memory)或随机存储记忆体(RAM:Random Access Memory)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the above program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The principles and embodiments of the present invention have been described herein with reference to specific examples. The foregoing description of the embodiments are merely for the purpose of understanding the method of the present invention and the concept thereof. Also, those skilled in the art in accordance with the present invention The present invention is not limited by the scope of the present invention.

Claims (9)

  1. 一种通过压力隐藏图片中敏感信息的方法,其特征在于,所述方法包括:A method for hiding sensitive information in a picture by pressure, the method comprising:
    获取待发布图片;Get the image to be published;
    检测用户在所述待发布图片上的触屏滑动以及触屏滑动的压力值;Detecting a touch screen sliding of the user on the to-be-published picture and a pressure value of the touch screen sliding;
    当所述压力值大于预设阈值时,在所述待发布图片正在被触屏滑动的区域上进行增加图层处理;其中,所述待发布图片正在被触屏滑动的区域上对应有敏感信息,所述图层用于使所述敏感信息不可见;所述敏感信息包括:联系信息、账号信息、密码信息、时间信息、地点信息、人物身份信息、或财产信息。When the pressure value is greater than the preset threshold, the layer processing is performed on the area where the to-be-published picture is being touched by the touch screen; wherein the area where the picture to be posted is being touched by the touch screen corresponds to sensitive information. The layer is configured to make the sensitive information invisible; the sensitive information includes: contact information, account information, password information, time information, location information, person identity information, or property information.
  2. 如权利要求1所述方法,其特征在于,所述压力值大于预设阈值时,所述压力值越大,所述图层使所述敏感信息的可见程度越差。The method of claim 1 wherein when the pressure value is greater than a predetermined threshold, the greater the pressure value, the worse the visibility of the sensitive information by the layer.
  3. 如权利要求1或2所述方法,其特征在于,在所述待发布图片正在被触屏滑动的区域上增加图层后,所述方法还包括:The method of claim 1 or 2, wherein after the layer is added to the area where the picture to be posted is being touched by the touch screen, the method further includes:
    接收发布图片指令,所述发布图片指令用于指示对增加图层后的待发布图片进行发布。Receiving a release picture instruction, where the publishing picture instruction is used to indicate that the picture to be released after the layer is added is published.
  4. 如权利要求1-3任一项所述方法,其特征在于,在所述待发布图片正在被触屏滑动的区域上进行增加图层处理包括:对所述待发布图片正在被触屏滑动的区域进行模糊处理、虚化处理、或马赛克处理。The method according to any one of claims 1-3, wherein the adding layer processing on the area where the picture to be posted is being touched by the touch screen comprises: sliding the picture to be released being touched by the touch screen The area is subjected to blurring, blurring, or mosaic processing.
  5. 一种筛选对象的装置,其特征在于,所述装置包括:A device for screening an object, characterized in that the device comprises:
    获取模块,用于获取待发布图片; An obtaining module, configured to obtain a picture to be published;
    检测模块,用于检测用户在所述获取模块获取的待发布图片上的触屏滑动以及触屏滑动的压力值;a detecting module, configured to detect a touch screen sliding of the user to be released on the image to be released and a pressure value of the touch screen sliding;
    图片处理模块,用于当所述检测模块检测到所述压力值大于预设阈值时,在所述待发布图片正在被触屏滑动的区域上进行增加图层处理;其中,所述待发布图片正在被触屏滑动的区域上对应有敏感信息,所述图层用于使所述敏感信息不可见;所述敏感信息包括:联系信息、账号信息、密码信息、时间信息、地点信息、人物身份信息、或财产信息。a picture processing module, configured to: when the detection module detects that the pressure value is greater than a preset threshold, perform an additional layer processing on an area where the to-be-published picture is being touched by the touch screen; wherein the picture to be released is The area being scanned by the touch screen corresponds to sensitive information, and the layer is used to make the sensitive information invisible; the sensitive information includes: contact information, account information, password information, time information, location information, and person identity. Information, or property information.
  6. 如权利要求5所述装置,其特征在于,所述检测模块检测到所述压力值大于预设阈值时,所述压力值越大,所述图片处理模块所增加的图层使所述敏感信息的可见程度越差。The device according to claim 5, wherein when the detecting module detects that the pressure value is greater than a preset threshold, the pressure value is larger, and the layer added by the image processing module makes the sensitive information The worse the visibility.
  7. 如权利要求5或6所述装置,其特征在于,所述装置还包括接收模块和发布模块,所述接收模块用于接收发布图片指令,所述发布图片指令用于指示所述发布模块对增加图层后的待发布图片进行发布。The device according to claim 5 or 6, wherein the device further comprises a receiving module and a publishing module, the receiving module is configured to receive a publishing picture instruction, and the publishing picture instruction is used to indicate that the publishing module adds The image to be published after the layer is released.
  8. 如权利要求5-7任一项所述装置,其特征在于,所述图片处理模块具体用于:对所述待发布图片正在被触屏滑动的区域进行模糊处理、虚化处理、或马赛克处理。The device according to any one of claims 5-7, wherein the image processing module is configured to: perform blur processing, blur processing, or mosaic processing on an area where the picture to be released is being touched by the touch screen; .
  9. 一种智能终端,其特征在于,所述终端至少包括:显示屏、处理器、存储器和总线;所述显示屏、所述处理器、所述存储器通过所述总线连接通信;所述显示屏用于接收用户的操作,所述存储器存储有程序和指令,所述处理器调用所述存储器中的程序和指令,根据 所述显示屏接收到的用户的操作,用于执行用于实现如权利要求1-4任一项所述方法。 An intelligent terminal, the terminal includes at least: a display screen, a processor, a memory, and a bus; the display screen, the processor, and the memory are connected by the bus connection; Receiving a user's operation, the memory stores programs and instructions, and the processor calls programs and instructions in the memory according to The operation of the user received by the display screen for performing the method of any of claims 1-4.
PCT/CN2015/098980 2015-12-25 2015-12-25 Method and apparatus for hiding sensitive information in picture through pressure WO2017107196A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/098980 WO2017107196A1 (en) 2015-12-25 2015-12-25 Method and apparatus for hiding sensitive information in picture through pressure
CN201580078118.9A CN107430761A (en) 2015-12-25 2015-12-25 A kind of method and device that sensitive information in picture is hidden by pressure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/098980 WO2017107196A1 (en) 2015-12-25 2015-12-25 Method and apparatus for hiding sensitive information in picture through pressure

Publications (1)

Publication Number Publication Date
WO2017107196A1 true WO2017107196A1 (en) 2017-06-29

Family

ID=59088804

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/098980 WO2017107196A1 (en) 2015-12-25 2015-12-25 Method and apparatus for hiding sensitive information in picture through pressure

Country Status (2)

Country Link
CN (1) CN107430761A (en)
WO (1) WO2017107196A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109598138A (en) * 2018-11-15 2019-04-09 阿里巴巴集团控股有限公司 The method and device that whether sensitive information identification, cover and perception are checked in picture

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112119419A (en) * 2018-05-23 2020-12-22 飞力凯网路股份有限公司 Information processing apparatus, information processing method, and computer program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324898A (en) * 2012-03-19 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method for encrypting/decrypting display content in touch screen, and communication terminal
CN103700191A (en) * 2012-09-27 2014-04-02 东芝泰格有限公司 Display device for user and control method thereof
CN104299186A (en) * 2014-09-30 2015-01-21 珠海市君天电子科技有限公司 Method and device for conducting mosaic processing on picture
CN104766352A (en) * 2015-03-18 2015-07-08 深圳市金立通信设备有限公司 Picture processing method
CN105159528A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Picture content display method and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942469A (en) * 2014-04-14 2014-07-23 小米科技有限责任公司 Picture processing method, device and terminal
CN104021350B (en) * 2014-05-13 2016-07-06 小米科技有限责任公司 Privacy information hidden method and device
CN104123112B (en) * 2014-07-29 2018-12-14 联想(北京)有限公司 A kind of image processing method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324898A (en) * 2012-03-19 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method for encrypting/decrypting display content in touch screen, and communication terminal
CN103700191A (en) * 2012-09-27 2014-04-02 东芝泰格有限公司 Display device for user and control method thereof
CN104299186A (en) * 2014-09-30 2015-01-21 珠海市君天电子科技有限公司 Method and device for conducting mosaic processing on picture
CN104766352A (en) * 2015-03-18 2015-07-08 深圳市金立通信设备有限公司 Picture processing method
CN105159528A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Picture content display method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109598138A (en) * 2018-11-15 2019-04-09 阿里巴巴集团控股有限公司 The method and device that whether sensitive information identification, cover and perception are checked in picture

Also Published As

Publication number Publication date
CN107430761A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
US11256398B2 (en) Systems and methods for providing responses to and drawings for media content
KR102293770B1 (en) Customized user-controlled media overlays
AU2018201119A1 (en) Integrating co-browsing with other forms of information sharing
CN105453612B (en) Message service providing apparatus and method of providing content via the same
US20130120602A1 (en) Taking Photos With Multiple Cameras
CA2955621A1 (en) Rich notifications
KR101774914B1 (en) Systems and methods for multiple photo feed stories
CN105745612B (en) For showing the readjustment size technology of content
US20150347824A1 (en) Name bubble handling
WO2019242542A1 (en) Screenshot processing method and device
WO2017140242A1 (en) Information processing method and client
CN112215924A (en) Picture comment processing method and device, electronic equipment and storage medium
WO2017113076A1 (en) Method and device for setting burn-after-reading message by means of force touch
WO2022135476A1 (en) Screenshot method and apparatus, and electronic device
WO2017107196A1 (en) Method and apparatus for hiding sensitive information in picture through pressure
CN106708354B (en) Instant messaging method and client
US11112938B2 (en) Method and apparatus for filtering object by using pressure
CN106775249B (en) Method for setting communication shortcut and electronic equipment
CN105204718B (en) Information processing method and electronic equipment
KR101320473B1 (en) Method for setting up security level of information and communication device
CN112187628B (en) Method and device for processing identification picture
US20180211027A1 (en) Password setting method and device
KR101634431B1 (en) Content provision method of objects and the apparatus using the method
CN113986078A (en) Information issuing method and device, electronic equipment and storage medium
CN113794943A (en) Video cover setting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15911193

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15911193

Country of ref document: EP

Kind code of ref document: A1